@wscsports/blaze-web-sdk 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/publish/index.js CHANGED
@@ -1 +1 @@
1
- !function(a,b){'object'==typeof exports&&'object'==typeof module?module['exports']=b():'function'==typeof define&&define['amd']?define([],b):'object'==typeof exports?exports['BlazeSDK']=b():a['BlazeSDK']=b();}(window,()=>((()=>{var a={0xad8:(a0,a1,a2)=>{'use strict';a2['r'](a1),a2['d'](a1,{'default':()=>aV});var a3={'update':null,'begin':null,'loopBegin':null,'changeBegin':null,'change':null,'changeComplete':null,'loopComplete':null,'complete':null,'loop':0x1,'direction':'normal','autoplay':!0x0,'timelineOffset':0x0},a4={'duration':0x3e8,'delay':0x0,'endDelay':0x0,'easing':'easeOutElastic(1,\x20.5)','round':0x0},a5=['translateX','translateY','translateZ','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','scaleZ','skew','skewX','skewY','perspective','matrix','matrix3d'],a6={'CSS':{},'springs':{}};function a7(aW,aX,aY){return Math['min'](Math['max'](aW,aX),aY);}function a8(aW,aX){return aW['indexOf'](aX)>-0x1;}function a9(aW,aX){return aW['apply'](null,aX);}var aa={'arr':function(aW){return Array['isArray'](aW);},'obj':function(aW){return a8(Object['prototype']['toString']['call'](aW),'Object');},'pth':function(aW){return aa['obj'](aW)&&aW['hasOwnProperty']('totalLength');},'svg':function(aW){return aW instanceof SVGElement;},'inp':function(aW){return aW instanceof HTMLInputElement;},'dom':function(aW){return aW['nodeType']||aa['svg'](aW);},'str':function(aW){return'string'==typeof aW;},'fnc':function(aW){return'function'==typeof aW;},'und':function(aW){return void 0x0===aW;},'nil':function(aW){return aa['und'](aW)||null===aW;},'hex':function(aW){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i['test'](aW);},'rgb':function(aW){return/^rgb/['test'](aW);},'hsl':function(aW){return/^hsl/['test'](aW);},'col':function(aW){return aa['hex'](aW)||aa['rgb'](aW)||aa['hsl'](aW);},'key':function(aW){return!a3['hasOwnProperty'](aW)&&!a4['hasOwnProperty'](aW)&&'targets'!==aW&&'keyframes'!==aW;}};function ab(aW){var aX=/\(([^)]+)\)/['exec'](aW);return aX?aX[0x1]['split'](',')['map'](function(aY){return parseFloat(aY);}):[];}function ac(aW,aX){var aY=ab(aW),aZ=a7(aa['und'](aY[0x0])?0x1:aY[0x0],0.1,0x64),b0=a7(aa['und'](aY[0x1])?0x64:aY[0x1],0.1,0x64),b1=a7(aa['und'](aY[0x2])?0xa:aY[0x2],0.1,0x64),b2=a7(aa['und'](aY[0x3])?0x0:aY[0x3],0.1,0x64),b3=Math['sqrt'](b0/aZ),b4=b1/(0x2*Math['sqrt'](b0*aZ)),b5=b4<0x1?b3*Math['sqrt'](0x1-b4*b4):0x0,b6=b4<0x1?(b4*b3-b2)/b5:-b2+b3;function b7(b8){var b9=aX?aX*b8/0x3e8:b8;return b9=b4<0x1?Math['exp'](-b9*b4*b3)*(0x1*Math['cos'](b5*b9)+b6*Math['sin'](b5*b9)):(0x1+b6*b9)*Math['exp'](-b9*b3),0x0===b8||0x1===b8?b8:0x1-b9;}return aX?b7:function(){var b8=a6['springs'][aW];if(b8)return b8;for(var b9=0x1/0x6,ba=0x0,bb=0x0;;)if(0x1===b7(ba+=b9)){if(++bb>=0x10)break;}else bb=0x0;var bc=ba*b9*0x3e8;return a6['springs'][aW]=bc,bc;};}function ad(aW){return void 0x0===aW&&(aW=0xa),function(aX){return Math['ceil'](a7(aX,0.000001,0x1)*aW)*(0x1/aW);};}var ae,af,ag=(function(){var aW=0.1;function aX(b2,b3){return 0x1-0x3*b3+0x3*b2;}function aY(b2,b3){return 0x3*b3-0x6*b2;}function aZ(b2){return 0x3*b2;}function b0(b2,b3,b4){return((aX(b3,b4)*b2+aY(b3,b4))*b2+aZ(b3))*b2;}function b1(b2,b3,b4){return 0x3*aX(b3,b4)*b2*b2+0x2*aY(b3,b4)*b2+aZ(b3);}return function(b2,b3,b4,b5){if(0x0<=b2&&b2<=0x1&&0x0<=b4&&b4<=0x1){var b6=new Float32Array(0xb);if(b2!==b3||b4!==b5){for(var b7=0x0;b7<0xb;++b7)b6[b7]=b0(b7*aW,b2,b4);}return function(b8){return b2===b3&&b4===b5||0x0===b8||0x1===b8?b8:b0(function(b9){for(var ba=0x0,bb=0x1;0xa!==bb&&b6[bb]<=b9;++bb)ba+=aW;--bb;var bc=ba+(b9-b6[bb])/(b6[bb+0x1]-b6[bb])*aW,bd=b1(bc,b2,b4);return bd>=0.001?function(be,bf,bg,bh){for(var bi=0x0;bi<0x4;++bi){var bj=b1(bf,bg,bh);if(0x0===bj)return bf;bf-=(b0(bf,bg,bh)-be)/bj;}return bf;}(b9,bc,b2,b4):0x0===bd?bc:function(be,bf,bg,bh,bi){var bj,bk,bl=0x0;do{(bj=b0(bk=bf+(bg-bf)/0x2,bh,bi)-be)>0x0?bg=bk:bf=bk;}while(Math['abs'](bj)>1e-7&&++bl<0xa);return bk;}(b9,ba,ba+aW,b2,b4);}(b8),b3,b5);};}};}()),ah=(ae={'linear':function(){return function(aW){return aW;};}},af={'Sine':function(){return function(aW){return 0x1-Math['cos'](aW*Math['PI']/0x2);};},'Circ':function(){return function(aW){return 0x1-Math['sqrt'](0x1-aW*aW);};},'Back':function(){return function(aW){return aW*aW*(0x3*aW-0x2);};},'Bounce':function(){return function(aW){for(var aX,aY=0x4;aW<((aX=Math['pow'](0x2,--aY))-0x1)/0xb;);return 0x1/Math['pow'](0x4,0x3-aY)-7.5625*Math['pow']((0x3*aX-0x2)/0x16-aW,0x2);};},'Elastic':function(aW,aX){void 0x0===aW&&(aW=0x1),void 0x0===aX&&(aX=0.5);var aY=a7(aW,0x1,0xa),aZ=a7(aX,0.1,0x2);return function(b0){return 0x0===b0||0x1===b0?b0:-aY*Math['pow'](0x2,0xa*(b0-0x1))*Math['sin']((b0-0x1-aZ/(0x2*Math['PI'])*Math['asin'](0x1/aY))*(0x2*Math['PI'])/aZ);};}},['Quad','Cubic','Quart','Quint','Expo']['forEach'](function(aW,aX){af[aW]=function(){return function(aY){return Math['pow'](aY,aX+0x2);};};}),Object['keys'](af)['forEach'](function(aW){var aX=af[aW];ae['easeIn'+aW]=aX,ae['easeOut'+aW]=function(aY,aZ){return function(b0){return 0x1-aX(aY,aZ)(0x1-b0);};},ae['easeInOut'+aW]=function(aY,aZ){return function(b0){return b0<0.5?aX(aY,aZ)(0x2*b0)/0x2:0x1-aX(aY,aZ)(-0x2*b0+0x2)/0x2;};},ae['easeOutIn'+aW]=function(aY,aZ){return function(b0){return b0<0.5?(0x1-aX(aY,aZ)(0x1-0x2*b0))/0x2:(aX(aY,aZ)(0x2*b0-0x1)+0x1)/0x2;};};}),ae);function ai(aW,aX){if(aa['fnc'](aW))return aW;var aY=aW['split']('(')[0x0],aZ=ah[aY],b0=ab(aW);switch(aY){case'spring':return ac(aW,aX);case'cubicBezier':return a9(ag,b0);case'steps':return a9(ad,b0);default:return a9(aZ,b0);}}function aj(aW){try{return document['querySelectorAll'](aW);}catch(aX){return;}}function ak(aW,aX){for(var aY=aW['length'],aZ=arguments['length']>=0x2?arguments[0x1]:void 0x0,b0=[],b1=0x0;b1<aY;b1++)if(b1 in aW){var b2=aW[b1];aX['call'](aZ,b2,b1,aW)&&b0['push'](b2);}return b0;}function al(aW){return aW['reduce'](function(aX,aY){return aX['concat'](aa['arr'](aY)?al(aY):aY);},[]);}function am(aW){return aa['arr'](aW)?aW:(aa['str'](aW)&&(aW=aj(aW)||aW),aW instanceof NodeList||aW instanceof HTMLCollection?[]['slice']['call'](aW):[aW]);}function an(aW,aX){return aW['some'](function(aY){return aY===aX;});}function ao(aW){var aX={};for(var aY in aW)aX[aY]=aW[aY];return aX;}function ap(aW,aX){var aY=ao(aW);for(var aZ in aW)aY[aZ]=aX['hasOwnProperty'](aZ)?aX[aZ]:aW[aZ];return aY;}function aq(aW,aX){var aY=ao(aW);for(var aZ in aX)aY[aZ]=aa['und'](aW[aZ])?aX[aZ]:aW[aZ];return aY;}function ar(aW){var aX=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/['exec'](aW);if(aX)return aX[0x1];}function as(aW,aX){return aa['fnc'](aW)?aW(aX['target'],aX['id'],aX['total']):aW;}function at(aW,aX){return aW['getAttribute'](aX);}function au(aW,aX,aY){if(an([aY,'deg','rad','turn'],ar(aX)))return aX;var aZ=a6['CSS'][aX+aY];if(!aa['und'](aZ))return aZ;var b0=document['createElement'](aW['tagName']),b1=aW['parentNode']&&aW['parentNode']!==document?aW['parentNode']:document['body'];b1['appendChild'](b0),b0['style']['position']='absolute',b0['style']['width']=0x64+aY;var b2=0x64/b0['offsetWidth'];b1['removeChild'](b0);var b3=b2*parseFloat(aX);return a6['CSS'][aX+aY]=b3,b3;}function av(aW,aX,aY){if(aX in aW['style']){var aZ=aX['replace'](/([a-z])([A-Z])/g,'$1-$2')['toLowerCase'](),b0=aW['style'][aX]||getComputedStyle(aW)['getPropertyValue'](aZ)||'0';return aY?au(aW,b0,aY):b0;}}function aw(aW,aX){return aa['dom'](aW)&&!aa['inp'](aW)&&(!aa['nil'](at(aW,aX))||aa['svg'](aW)&&aW[aX])?'attribute':aa['dom'](aW)&&an(a5,aX)?'transform':aa['dom'](aW)&&'transform'!==aX&&av(aW,aX)?'css':null!=aW[aX]?'object':void 0x0;}function ax(aW){if(aa['dom'](aW)){for(var aX,aY=aW['style']['transform']||'',aZ=/(\w+)\(([^)]*)\)/g,b0=new Map();aX=aZ['exec'](aY);)b0['set'](aX[0x1],aX[0x2]);return b0;}}function ay(aW,aX,aY,aZ){switch(aw(aW,aX)){case'transform':return function(b0,b1,b2,b3){var b4=a8(b1,'scale')?0x1:0x0+function(b6){return a8(b6,'translate')||'perspective'===b6?'px':a8(b6,'rotate')||a8(b6,'skew')?'deg':void 0x0;}(b1),b5=ax(b0)['get'](b1)||b4;return b2&&(b2['transforms']['list']['set'](b1,b5),b2['transforms']['last']=b1),b3?au(b0,b5,b3):b5;}(aW,aX,aZ,aY);case'css':return av(aW,aX,aY);case'attribute':return at(aW,aX);default:return aW[aX]||0x0;}}function az(aW,aX){var aY=/^(\*=|\+=|-=)/['exec'](aW);if(!aY)return aW;var aZ=ar(aW)||0x0,b0=parseFloat(aX),b1=parseFloat(aW['replace'](aY[0x0],''));switch(aY[0x0][0x0]){case'+':return b0+b1+aZ;case'-':return b0-b1+aZ;case'*':return b0*b1+aZ;}}function aA(aW,aX){if(aa['col'](aW))return function(b0){return aa['rgb'](b0)?(b2=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g['exec'](b1=b0))?'rgba('+b2[0x1]+',1)':b1:aa['hex'](b0)?function(b3){var b4=b3['replace'](/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b6,b7,b8,b9){return b7+b7+b8+b8+b9+b9;}),b5=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](b4);return'rgba('+parseInt(b5[0x1],0x10)+','+parseInt(b5[0x2],0x10)+','+parseInt(b5[0x3],0x10)+',1)';}(b0):aa['hsl'](b0)?function(b3){var b4,b5,b6,b7=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g['exec'](b3)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g['exec'](b3),b8=parseInt(b7[0x1],0xa)/0x168,b9=parseInt(b7[0x2],0xa)/0x64,ba=parseInt(b7[0x3],0xa)/0x64,bb=b7[0x4]||0x1;function bc(bf,bg,bh){return bh<0x0&&(bh+=0x1),bh>0x1&&(bh-=0x1),bh<0x1/0x6?bf+0x6*(bg-bf)*bh:bh<0.5?bg:bh<0x2/0x3?bf+(bg-bf)*(0x2/0x3-bh)*0x6:bf;}if(0x0==b9)b4=b5=b6=ba;else{var bd=ba<0.5?ba*(0x1+b9):ba+b9-ba*b9,be=0x2*ba-bd;b4=bc(be,bd,b8+0x1/0x3),b5=bc(be,bd,b8),b6=bc(be,bd,b8-0x1/0x3);}return'rgba('+0xff*b4+','+0xff*b5+','+0xff*b6+','+bb+')';}(b0):void 0x0;var b1,b2;}(aW);if(/\s/g['test'](aW))return aW;var aY=ar(aW),aZ=aY?aW['substr'](0x0,aW['length']-aY['length']):aW;return aX?aZ+aX:aZ;}function aB(aW,aX){return Math['sqrt'](Math['pow'](aX['x']-aW['x'],0x2)+Math['pow'](aX['y']-aW['y'],0x2));}function aC(aW){for(var aX,aY=aW['points'],aZ=0x0,b0=0x0;b0<aY['numberOfItems'];b0++){var b1=aY['getItem'](b0);b0>0x0&&(aZ+=aB(aX,b1)),aX=b1;}return aZ;}function aD(aW){if(aW['getTotalLength'])return aW['getTotalLength']();switch(aW['tagName']['toLowerCase']()){case'circle':return function(aX){return 0x2*Math['PI']*at(aX,'r');}(aW);case'rect':return function(aX){return 0x2*at(aX,'width')+0x2*at(aX,'height');}(aW);case'line':return function(aX){return aB({'x':at(aX,'x1'),'y':at(aX,'y1')},{'x':at(aX,'x2'),'y':at(aX,'y2')});}(aW);case'polyline':return aC(aW);case'polygon':return function(aX){var aY=aX['points'];return aC(aX)+aB(aY['getItem'](aY['numberOfItems']-0x1),aY['getItem'](0x0));}(aW);}}function aE(aW,aX){var aY=aX||{},aZ=aY['el']||function(b5){for(var b6=b5['parentNode'];aa['svg'](b6)&&aa['svg'](b6['parentNode']);)b6=b6['parentNode'];return b6;}(aW),b0=aZ['getBoundingClientRect'](),b1=at(aZ,'viewBox'),b2=b0['width'],b3=b0['height'],b4=aY['viewBox']||(b1?b1['split']('\x20'):[0x0,0x0,b2,b3]);return{'el':aZ,'viewBox':b4,'x':b4[0x0]/0x1,'y':b4[0x1]/0x1,'w':b2,'h':b3,'vW':b4[0x2],'vH':b4[0x3]};}function aF(aW,aX,aY){function aZ(b6){void 0x0===b6&&(b6=0x0);var b7=aX+b6>=0x1?aX+b6:0x0;return aW['el']['getPointAtLength'](b7);}var b0=aE(aW['el'],aW['svg']),b1=aZ(),b2=aZ(-0x1),b3=aZ(0x1),b4=aY?0x1:b0['w']/b0['vW'],b5=aY?0x1:b0['h']/b0['vH'];switch(aW['property']){case'x':return(b1['x']-b0['x'])*b4;case'y':return(b1['y']-b0['y'])*b5;case'angle':return 0xb4*Math['atan2'](b3['y']-b2['y'],b3['x']-b2['x'])/Math['PI'];}}function aG(aW,aX){var aY=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,aZ=aA(aa['pth'](aW)?aW['totalLength']:aW,aX)+'';return{'original':aZ,'numbers':aZ['match'](aY)?aZ['match'](aY)['map'](Number):[0x0],'strings':aa['str'](aW)||aX?aZ['split'](aY):[]};}function aH(aW){return ak(aW?al(aa['arr'](aW)?aW['map'](am):am(aW)):[],function(aX,aY,aZ){return aZ['indexOf'](aX)===aY;});}function aI(aW){var aX=aH(aW);return aX['map'](function(aY,aZ){return{'target':aY,'id':aZ,'total':aX['length'],'transforms':{'list':ax(aY)}};});}function aJ(aW,aX){var aY=ao(aX);if(/^spring/['test'](aY['easing'])&&(aY['duration']=ac(aY['easing'])),aa['arr'](aW)){var aZ=aW['length'];0x2!==aZ||aa['obj'](aW[0x0])?aa['fnc'](aX['duration'])||(aY['duration']=aX['duration']/aZ):aW={'value':aW};}var b0=aa['arr'](aW)?aW:[aW];return b0['map'](function(b1,b2){var b3=aa['obj'](b1)&&!aa['pth'](b1)?b1:{'value':b1};return aa['und'](b3['delay'])&&(b3['delay']=b2?0x0:aX['delay']),aa['und'](b3['endDelay'])&&(b3['endDelay']=b2===b0['length']-0x1?aX['endDelay']:0x0),b3;})['map'](function(b1){return aq(b1,aY);});}var aK={'css':function(aW,aX,aY){return aW['style'][aX]=aY;},'attribute':function(aW,aX,aY){return aW['setAttribute'](aX,aY);},'object':function(aW,aX,aY){return aW[aX]=aY;},'transform':function(aW,aX,aY,aZ,b0){if(aZ['list']['set'](aX,aY),aX===aZ['last']||b0){var b1='';aZ['list']['forEach'](function(b2,b3){b1+=b3+'('+b2+')\x20';}),aW['style']['transform']=b1;}}};function aL(aW,aX){aI(aW)['forEach'](function(aY){for(var aZ in aX){var b0=as(aX[aZ],aY),b1=aY['target'],b2=ar(b0),b3=ay(b1,aZ,b2,aY),b4=az(aA(b0,b2||ar(b3)),b3),b5=aw(b1,aZ);aK[b5](b1,aZ,b4,aY['transforms'],!0x0);}});}function aM(aW,aX){return ak(al(aW['map'](function(aY){return aX['map'](function(aZ){return function(b0,b1){var b2=aw(b0['target'],b1['name']);if(b2){var b3=function(b5,b6){var b7;return b5['tweens']['map'](function(b8){var b9=function(bi,bj){var bk={};for(var bl in bi){var bm=as(bi[bl],bj);aa['arr'](bm)&&0x1===(bm=bm['map'](function(bn){return as(bn,bj);}))['length']&&(bm=bm[0x0]),bk[bl]=bm;}return bk['duration']=parseFloat(bk['duration']),bk['delay']=parseFloat(bk['delay']),bk;}(b8,b6),ba=b9['value'],bb=aa['arr'](ba)?ba[0x1]:ba,bc=ar(bb),bd=ay(b6['target'],b5['name'],bc,b6),be=b7?b7['to']['original']:bd,bf=aa['arr'](ba)?ba[0x0]:be,bg=ar(bf)||ar(bd),bh=bc||bg;return aa['und'](bb)&&(bb=be),b9['from']=aG(bf,bh),b9['to']=aG(az(bb,bf),bh),b9['start']=b7?b7['end']:0x0,b9['end']=b9['start']+b9['delay']+b9['duration']+b9['endDelay'],b9['easing']=ai(b9['easing'],b9['duration']),b9['isPath']=aa['pth'](ba),b9['isPathTargetInsideSVG']=b9['isPath']&&aa['svg'](b6['target']),b9['isColor']=aa['col'](b9['from']['original']),b9['isColor']&&(b9['round']=0x1),b7=b9,b9;});}(b1,b0),b4=b3[b3['length']-0x1];return{'type':b2,'property':b1['name'],'animatable':b0,'tweens':b3,'duration':b4['end'],'delay':b3[0x0]['delay'],'endDelay':b4['endDelay']};}}(aY,aZ);});})),function(aY){return!aa['und'](aY);});}function aN(aW,aX){var aY=aW['length'],aZ=function(b1){return b1['timelineOffset']?b1['timelineOffset']:0x0;},b0={};return b0['duration']=aY?Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration'];})):aX['duration'],b0['delay']=aY?Math['min']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['delay'];})):aX['delay'],b0['endDelay']=aY?b0['duration']-Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration']-b1['endDelay'];})):aX['endDelay'],b0;}var aO=0x0,aP=[],aQ=(function(){var aW;function aX(aY){for(var aZ=aP['length'],b0=0x0;b0<aZ;){var b1=aP[b0];b1['paused']?(aP['splice'](b0,0x1),aZ--):(b1['tick'](aY),b0++);}aW=b0>0x0?requestAnimationFrame(aX):void 0x0;}return'undefined'!=typeof document&&document['addEventListener']('visibilitychange',function(){aS['suspendWhenDocumentHidden']&&(aR()?aW=cancelAnimationFrame(aW):(aP['forEach'](function(aY){return aY['_onDocumentVisibility']();}),aQ()));}),function(){aW||aR()&&aS['suspendWhenDocumentHidden']||!(aP['length']>0x0)||(aW=requestAnimationFrame(aX));};}());function aR(){return!!document&&document['hidden'];}function aS(aW){void 0x0===aW&&(aW={});var aX,aY=0x0,aZ=0x0,b0=0x0,b1=0x0,b2=null;function b3(bc){var bd=window['Promise']&&new Promise(function(be){return b2=be;});return bc['finished']=bd,bd;}var b4=function(bc){var bd=ap(a3,bc),be=ap(a4,bc),bf=function(bk,bl){var bm=[],bn=bl['keyframes'];for(var bo in(bn&&(bl=aq(function(bp){for(var bq=ak(al(bp['map'](function(bu){return Object['keys'](bu);})),function(bu){return aa['key'](bu);})['reduce'](function(bu,bv){return bu['indexOf'](bv)<0x0&&bu['push'](bv),bu;},[]),br={},bs=function(bu){var bv=bq[bu];br[bv]=bp['map'](function(bw){var bx={};for(var by in bw)aa['key'](by)?by==bv&&(bx['value']=bw[by]):bx[by]=bw[by];return bx;});},bt=0x0;bt<bq['length'];bt++)bs(bt);return br;}(bn),bl)),bl))aa['key'](bo)&&bm['push']({'name':bo,'tweens':aJ(bl[bo],bk)});return bm;}(be,bc),bg=aI(bc['targets']),bh=aM(bg,bf),bi=aN(bh,be),bj=aO;return aO++,aq(bd,{'id':bj,'children':[],'animatables':bg,'animations':bh,'duration':bi['duration'],'delay':bi['delay'],'endDelay':bi['endDelay']});}(aW);function b5(){var bc=b4['direction'];'alternate'!==bc&&(b4['direction']='normal'!==bc?'normal':'reverse'),b4['reversed']=!b4['reversed'],aX['forEach'](function(bd){return bd['reversed']=b4['reversed'];});}function b6(bc){return b4['reversed']?b4['duration']-bc:bc;}function b7(){aY=0x0,aZ=b6(b4['currentTime'])*(0x1/aS['speed']);}function b8(bc,bd){bd&&bd['seek'](bc-bd['timelineOffset']);}function b9(bc){for(var bd=0x0,be=b4['animations'],bf=be['length'];bd<bf;){var bg=be[bd],bh=bg['animatable'],bi=bg['tweens'],bj=bi['length']-0x1,bk=bi[bj];bj&&(bk=ak(bi,function(bA){return bc<bA['end'];})[0x0]||bk);for(var bl=a7(bc-bk['start']-bk['delay'],0x0,bk['duration'])/bk['duration'],bm=isNaN(bl)?0x1:bk['easing'](bl),bn=bk['to']['strings'],bo=bk['round'],bp=[],bq=bk['to']['numbers']['length'],br=void 0x0,bs=0x0;bs<bq;bs++){var bt=void 0x0,bu=bk['to']['numbers'][bs],bv=bk['from']['numbers'][bs]||0x0;bt=bk['isPath']?aF(bk['value'],bm*bu,bk['isPathTargetInsideSVG']):bv+bm*(bu-bv),bo&&(bk['isColor']&&bs>0x2||(bt=Math['round'](bt*bo)/bo)),bp['push'](bt);}var bw=bn['length'];if(bw){br=bn[0x0];for(var bx=0x0;bx<bw;bx++){bn[bx];var by=bn[bx+0x1],bz=bp[bx];isNaN(bz)||(br+=by?bz+by:bz+'\x20');}}else br=bp[0x0];aK[bg['type']](bh['target'],bg['property'],br,bh['transforms']),bg['currentValue']=br,bd++;}}function ba(bc){b4[bc]&&!b4['passThrough']&&b4[bc](b4);}function bb(bc){var bd=b4['duration'],be=b4['delay'],bf=bd-b4['endDelay'],bg=b6(bc);b4['progress']=a7(bg/bd*0x64,0x0,0x64),b4['reversePlayback']=bg<b4['currentTime'],aX&&function(bh){if(b4['reversePlayback']){for(var bi=b1;bi--;)b8(bh,aX[bi]);}else{for(var bj=0x0;bj<b1;bj++)b8(bh,aX[bj]);}}(bg),!b4['began']&&b4['currentTime']>0x0&&(b4['began']=!0x0,ba('begin')),!b4['loopBegan']&&b4['currentTime']>0x0&&(b4['loopBegan']=!0x0,ba('loopBegin')),bg<=be&&0x0!==b4['currentTime']&&b9(0x0),(bg>=bf&&b4['currentTime']!==bd||!bd)&&b9(bd),bg>be&&bg<bf?(b4['changeBegan']||(b4['changeBegan']=!0x0,b4['changeCompleted']=!0x1,ba('changeBegin')),ba('change'),b9(bg)):b4['changeBegan']&&(b4['changeCompleted']=!0x0,b4['changeBegan']=!0x1,ba('changeComplete')),b4['currentTime']=a7(bg,0x0,bd),b4['began']&&ba('update'),bc>=bd&&(aZ=0x0,b4['remaining']&&!0x0!==b4['remaining']&&b4['remaining']--,b4['remaining']?(aY=b0,ba('loopComplete'),b4['loopBegan']=!0x1,'alternate'===b4['direction']&&b5()):(b4['paused']=!0x0,b4['completed']||(b4['completed']=!0x0,ba('loopComplete'),ba('complete'),!b4['passThrough']&&'Promise'in window&&(b2(),b3(b4)))));}return b3(b4),b4['reset']=function(){var bc=b4['direction'];b4['passThrough']=!0x1,b4['currentTime']=0x0,b4['progress']=0x0,b4['paused']=!0x0,b4['began']=!0x1,b4['loopBegan']=!0x1,b4['changeBegan']=!0x1,b4['completed']=!0x1,b4['changeCompleted']=!0x1,b4['reversePlayback']=!0x1,b4['reversed']='reverse'===bc,b4['remaining']=b4['loop'],aX=b4['children'];for(var bd=b1=aX['length'];bd--;)b4['children'][bd]['reset']();(b4['reversed']&&!0x0!==b4['loop']||'alternate'===bc&&0x1===b4['loop'])&&b4['remaining']++,b9(b4['reversed']?b4['duration']:0x0);},b4['_onDocumentVisibility']=b7,b4['set']=function(bc,bd){return aL(bc,bd),b4;},b4['tick']=function(bc){b0=bc,aY||(aY=b0),bb((b0+(aZ-aY))*aS['speed']);},b4['seek']=function(bc){bb(b6(bc));},b4['pause']=function(){b4['paused']=!0x0,b7();},b4['play']=function(){b4['paused']&&(b4['completed']&&b4['reset'](),b4['paused']=!0x1,aP['push'](b4),b7(),aQ());},b4['reverse']=function(){b5(),b4['completed']=!b4['reversed'],b7();},b4['restart']=function(){b4['reset'](),b4['play']();},b4['remove']=function(bc){aU(aH(bc),b4);},b4['reset'](),b4['autoplay']&&b4['play'](),b4;}function aT(aW,aX){for(var aY=aX['length'];aY--;)an(aW,aX[aY]['animatable']['target'])&&aX['splice'](aY,0x1);}function aU(aW,aX){var aY=aX['animations'],aZ=aX['children'];aT(aW,aY);for(var b0=aZ['length'];b0--;){var b1=aZ[b0],b2=b1['animations'];aT(aW,b2),b2['length']||b1['children']['length']||aZ['splice'](b0,0x1);}aY['length']||aZ['length']||aX['pause']();}aS['version']='3.2.1',aS['speed']=0x1,aS['suspendWhenDocumentHidden']=!0x0,aS['running']=aP,aS['remove']=function(aW){for(var aX=aH(aW),aY=aP['length'];aY--;)aU(aX,aP[aY]);},aS['get']=ay,aS['set']=aL,aS['convertPx']=au,aS['path']=function(aW,aX){var aY=aa['str'](aW)?aj(aW)[0x0]:aW,aZ=aX||0x64;return function(b0){return{'property':b0,'el':aY,'svg':aE(aY),'totalLength':aD(aY)*(aZ/0x64)};};},aS['setDashoffset']=function(aW){var aX=aD(aW);return aW['setAttribute']('stroke-dasharray',aX),aX;},aS['stagger']=function(aW,aX){void 0x0===aX&&(aX={});var aY=aX['direction']||'normal',aZ=aX['easing']?ai(aX['easing']):null,b0=aX['grid'],b1=aX['axis'],b2=aX['from']||0x0,b3='first'===b2,b4='center'===b2,b5='last'===b2,b6=aa['arr'](aW),b7=b6?parseFloat(aW[0x0]):parseFloat(aW),b8=b6?parseFloat(aW[0x1]):0x0,b9=ar(b6?aW[0x1]:aW)||0x0,ba=aX['start']||0x0+(b6?b7:0x0),bb=[],bc=0x0;return function(bd,be,bf){if(b3&&(b2=0x0),b4&&(b2=(bf-0x1)/0x2),b5&&(b2=bf-0x1),!bb['length']){for(var bg=0x0;bg<bf;bg++){if(b0){var bh=b4?(b0[0x0]-0x1)/0x2:b2%b0[0x0],bi=b4?(b0[0x1]-0x1)/0x2:Math['floor'](b2/b0[0x0]),bj=bh-bg%b0[0x0],bk=bi-Math['floor'](bg/b0[0x0]),bl=Math['sqrt'](bj*bj+bk*bk);'x'===b1&&(bl=-bj),'y'===b1&&(bl=-bk),bb['push'](bl);}else bb['push'](Math['abs'](b2-bg));bc=Math['max']['apply'](Math,bb);}aZ&&(bb=bb['map'](function(bm){return aZ(bm/bc)*bc;})),'reverse'===aY&&(bb=bb['map'](function(bm){return b1?bm<0x0?-0x1*bm:-bm:Math['abs'](bc-bm);}));}return ba+(b6?(b8-b7)/bc:b7)*(Math['round'](0x64*bb[be])/0x64)+b9;};},aS['timeline']=function(aW){void 0x0===aW&&(aW={});var aX=aS(aW);return aX['duration']=0x0,aX['add']=function(aY,aZ){var b0=aP['indexOf'](aX),b1=aX['children'];function b2(b8){b8['passThrough']=!0x0;}b0>-0x1&&aP['splice'](b0,0x1);for(var b3=0x0;b3<b1['length'];b3++)b2(b1[b3]);var b4=aq(aY,ap(a4,aW));b4['targets']=b4['targets']||aW['targets'];var b5=aX['duration'];b4['autoplay']=!0x1,b4['direction']=aX['direction'],b4['timelineOffset']=aa['und'](aZ)?b5:az(aZ,b5),b2(aX),aX['seek'](b4['timelineOffset']);var b6=aS(b4);b2(b6),b1['push'](b6);var b7=aN(b1,aW);return aX['delay']=b7['delay'],aX['endDelay']=b7['endDelay'],aX['duration']=b7['duration'],aX['seek'](0x0),aX['reset'](),aX['autoplay']&&aX['play'](),aX;},aX;},aS['easing']=ai,aS['penner']=ah,aS['random']=function(aW,aX){return Math['floor'](Math['random']()*(aX-aW+0x1))+aW;};const aV=aS;},0x25e1:(d,f,g)=>{var h,j=void 0x0!==g['g']?g['g']:'undefined'!=typeof window?window:{},k=g(0x21e);'undefined'!=typeof document?h=document:(h=j['__GLOBAL_DOCUMENT_CACHE@4'])||(h=j['__GLOBAL_DOCUMENT_CACHE@4']=k),d['exports']=h;},0x2670:(d,f,g)=>{var h;h='undefined'!=typeof window?window:void 0x0!==g['g']?g['g']:'undefined'!=typeof self?self:{},d['exports']=h;},0x1c00:(d,f,g)=>{var h;!function(a0,a1,a2,a3){'use strict';var a4,a5=['','webkit','Moz','MS','ms','o'],a6=a1['createElement']('div'),a7=Math['round'],a8=Math['abs'],a9=Date['now'];function aa(br,bs,bu){return setTimeout(ah(br,bu),bs);}function ab(br,bs,bu){return!!Array['isArray'](br)&&(ac(br,bu[bs],bu),!0x0);}function ac(br,bs,bu){var bv;if(br){if(br['forEach'])br['forEach'](bs,bu);else{if(br['length']!==a3){for(bv=0x0;bv<br['length'];)bs['call'](bu,br[bv],bv,br),bv++;}else{for(bv in br)br['hasOwnProperty'](bv)&&bs['call'](bu,br[bv],bv,br);}}}}function ad(br,bs,bu){var bv='DEPRECATED\x20METHOD:\x20'+bs+'\x0a'+bu+'\x20AT\x20\x0a';return function(){var bw=new Error('get-stack-trace'),bx=bw&&bw['stack']?bw['stack']['replace'](/^[^\(]+?[\n$]/gm,'')['replace'](/^\s+at\s+/gm,'')['replace'](/^Object.<anonymous>\s*\(/gm,'{anonymous}()@'):'Unknown\x20Stack\x20Trace',by=a0['console']&&(a0['console']['warn']||a0['console']['log']);return by&&by['call'](a0['console'],bv,bx),br['apply'](this,arguments);};}a4='function'!=typeof Object['assign']?function(br){if(br===a3||null===br)throw new TypeError('Cannot\x20convert\x20undefined\x20or\x20null\x20to\x20object');for(var bs=Object(br),bu=0x1;bu<arguments['length'];bu++){var bv=arguments[bu];if(bv!==a3&&null!==bv){for(var bw in bv)bv['hasOwnProperty'](bw)&&(bs[bw]=bv[bw]);}}return bs;}:Object['assign'];var ae=ad(function(br,bs,bu){for(var bv=Object['keys'](bs),bw=0x0;bw<bv['length'];)(!bu||bu&&br[bv[bw]]===a3)&&(br[bv[bw]]=bs[bv[bw]]),bw++;return br;},'extend','Use\x20`assign`.'),af=ad(function(br,bs){return ae(br,bs,!0x0);},'merge','Use\x20`assign`.');function ag(br,bs,bu){var bv,bw=bs['prototype'];(bv=br['prototype']=Object['create'](bw))['constructor']=br,bv['_super']=bw,bu&&a4(bv,bu);}function ah(br,bs){return function(){return br['apply'](bs,arguments);};}function ai(br,bs){return'function'==typeof br?br['apply'](bs&&bs[0x0]||a3,bs):br;}function aj(br,bs){return br===a3?bs:br;}function ak(br,bs,bu){ac(ao(bs),function(bv){br['addEventListener'](bv,bu,!0x1);});}function al(br,bs,bu){ac(ao(bs),function(bv){br['removeEventListener'](bv,bu,!0x1);});}function am(br,bs){for(;br;){if(br==bs)return!0x0;br=br['parentNode'];}return!0x1;}function an(br,bs){return br['indexOf'](bs)>-0x1;}function ao(br){return br['trim']()['split'](/\s+/g);}function ap(br,bs,bu){if(br['indexOf']&&!bu)return br['indexOf'](bs);for(var bv=0x0;bv<br['length'];){if(bu&&br[bv][bu]==bs||!bu&&br[bv]===bs)return bv;bv++;}return-0x1;}function aq(br){return Array['prototype']['slice']['call'](br,0x0);}function ar(br,bs,bu){for(var bv=[],bw=[],bx=0x0;bx<br['length'];){var by=bs?br[bx][bs]:br[bx];ap(bw,by)<0x0&&bv['push'](br[bx]),bw[bx]=by,bx++;}return bu&&(bv=bs?bv['sort'](function(bz,bA){return bz[bs]>bA[bs];}):bv['sort']()),bv;}function as(br,bs){for(var bu,bv,bw=bs[0x0]['toUpperCase']()+bs['slice'](0x1),bx=0x0;bx<a5['length'];){if((bv=(bu=a5[bx])?bu+bw:bs)in br)return bv;bx++;}return a3;}var au=0x1;function av(br){var bs=br['ownerDocument']||br;return bs['defaultView']||bs['parentWindow']||a0;}var aw='ontouchstart'in a0,ax=as(a0,'PointerEvent')!==a3,ay=aw&&/mobile|tablet|ip(ad|hone|od)|android/i['test'](navigator['userAgent']),az='touch',aA='mouse',aB=['x','y'],aC=['clientX','clientY'];function aD(br,bs){var bu=this;this['manager']=br,this['callback']=bs,this['element']=br['element'],this['target']=br['options']['inputTarget'],this['domHandler']=function(bv){ai(br['options']['enable'],[br])&&bu['handler'](bv);},this['init']();}function aE(br,bs,bu){var bv=bu['pointers']['length'],bw=bu['changedPointers']['length'],bx=0x1&bs&&bv-bw==0x0,by=0xc&bs&&bv-bw==0x0;bu['isFirst']=!!bx,bu['isFinal']=!!by,bx&&(br['session']={}),bu['eventType']=bs,function(bz,bA){var bB=bz['session'],bC=bA['pointers'],bD=bC['length'];bB['firstInput']||(bB['firstInput']=aF(bA)),bD>0x1&&!bB['firstMultiple']?bB['firstMultiple']=aF(bA):0x1===bD&&(bB['firstMultiple']=!0x1);var bE=bB['firstInput'],bF=bB['firstMultiple'],bG=bF?bF['center']:bE['center'],bH=bA['center']=aG(bC);bA['timeStamp']=a9(),bA['deltaTime']=bA['timeStamp']-bE['timeStamp'],bA['angle']=aK(bG,bH),bA['distance']=aJ(bG,bH),function(bM,bN){var bO=bN['center'],bP=bM['offsetDelta']||{},bQ=bM['prevDelta']||{},bR=bM['prevInput']||{};0x1!==bN['eventType']&&0x4!==bR['eventType']||(bQ=bM['prevDelta']={'x':bR['deltaX']||0x0,'y':bR['deltaY']||0x0},bP=bM['offsetDelta']={'x':bO['x'],'y':bO['y']}),bN['deltaX']=bQ['x']+(bO['x']-bP['x']),bN['deltaY']=bQ['y']+(bO['y']-bP['y']);}(bB,bA),bA['offsetDirection']=aI(bA['deltaX'],bA['deltaY']);var bI,bJ,bK=aH(bA['deltaTime'],bA['deltaX'],bA['deltaY']);bA['overallVelocityX']=bK['x'],bA['overallVelocityY']=bK['y'],bA['overallVelocity']=a8(bK['x'])>a8(bK['y'])?bK['x']:bK['y'],bA['scale']=bF?(bI=bF['pointers'],aJ((bJ=bC)[0x0],bJ[0x1],aC)/aJ(bI[0x0],bI[0x1],aC)):0x1,bA['rotation']=bF?function(bM,bN){return aK(bN[0x1],bN[0x0],aC)+aK(bM[0x1],bM[0x0],aC);}(bF['pointers'],bC):0x0,bA['maxPointers']=bB['prevInput']?bA['pointers']['length']>bB['prevInput']['maxPointers']?bA['pointers']['length']:bB['prevInput']['maxPointers']:bA['pointers']['length'],function(bM,bN){var bO,bP,bQ,bR,bS=bM['lastInterval']||bN,bT=bN['timeStamp']-bS['timeStamp'];if(0x8!=bN['eventType']&&(bT>0x19||bS['velocity']===a3)){var bU=bN['deltaX']-bS['deltaX'],bV=bN['deltaY']-bS['deltaY'],bW=aH(bT,bU,bV);bP=bW['x'],bQ=bW['y'],bO=a8(bW['x'])>a8(bW['y'])?bW['x']:bW['y'],bR=aI(bU,bV),bM['lastInterval']=bN;}else bO=bS['velocity'],bP=bS['velocityX'],bQ=bS['velocityY'],bR=bS['direction'];bN['velocity']=bO,bN['velocityX']=bP,bN['velocityY']=bQ,bN['direction']=bR;}(bB,bA);var bL=bz['element'];am(bA['srcEvent']['target'],bL)&&(bL=bA['srcEvent']['target']),bA['target']=bL;}(br,bu),br['emit']('hammer.input',bu),br['recognize'](bu),br['session']['prevInput']=bu;}function aF(br){for(var bs=[],bu=0x0;bu<br['pointers']['length'];)bs[bu]={'clientX':a7(br['pointers'][bu]['clientX']),'clientY':a7(br['pointers'][bu]['clientY'])},bu++;return{'timeStamp':a9(),'pointers':bs,'center':aG(bs),'deltaX':br['deltaX'],'deltaY':br['deltaY']};}function aG(br){var bs=br['length'];if(0x1===bs)return{'x':a7(br[0x0]['clientX']),'y':a7(br[0x0]['clientY'])};for(var bu=0x0,bv=0x0,bw=0x0;bw<bs;)bu+=br[bw]['clientX'],bv+=br[bw]['clientY'],bw++;return{'x':a7(bu/bs),'y':a7(bv/bs)};}function aH(br,bs,bu){return{'x':bs/br||0x0,'y':bu/br||0x0};}function aI(br,bs){return br===bs?0x1:a8(br)>=a8(bs)?br<0x0?0x2:0x4:bs<0x0?0x8:0x10;}function aJ(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return Math['sqrt'](bv*bv+bw*bw);}function aK(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return 0xb4*Math['atan2'](bw,bv)/Math['PI'];}aD['prototype']={'handler':function(){},'init':function(){this['evEl']&&ak(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&ak(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&ak(av(this['element']),this['evWin'],this['domHandler']);},'destroy':function(){this['evEl']&&al(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&al(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&al(av(this['element']),this['evWin'],this['domHandler']);}};var aL={'mousedown':0x1,'mousemove':0x2,'mouseup':0x4};function aM(){this['evEl']='mousedown',this['evWin']='mousemove\x20mouseup',this['pressed']=!0x1,aD['apply'](this,arguments);}ag(aM,aD,{'handler':function(br){var bs=aL[br['type']];0x1&bs&&0x0===br['button']&&(this['pressed']=!0x0),0x2&bs&&0x1!==br['which']&&(bs=0x4),this['pressed']&&(0x4&bs&&(this['pressed']=!0x1),this['callback'](this['manager'],bs,{'pointers':[br],'changedPointers':[br],'pointerType':aA,'srcEvent':br}));}});var aN={'pointerdown':0x1,'pointermove':0x2,'pointerup':0x4,'pointercancel':0x8,'pointerout':0x8},aO={0x2:az,0x3:'pen',0x4:aA,0x5:'kinect'},aP='pointerdown',aQ='pointermove\x20pointerup\x20pointercancel';function aR(){this['evEl']=aP,this['evWin']=aQ,aD['apply'](this,arguments),this['store']=this['manager']['session']['pointerEvents']=[];}a0['MSPointerEvent']&&!a0['PointerEvent']&&(aP='MSPointerDown',aQ='MSPointerMove\x20MSPointerUp\x20MSPointerCancel'),ag(aR,aD,{'handler':function(br){var bs=this['store'],bu=!0x1,bv=br['type']['toLowerCase']()['replace']('ms',''),bw=aN[bv],bx=aO[br['pointerType']]||br['pointerType'],by=bx==az,bz=ap(bs,br['pointerId'],'pointerId');0x1&bw&&(0x0===br['button']||by)?bz<0x0&&(bs['push'](br),bz=bs['length']-0x1):0xc&bw&&(bu=!0x0),bz<0x0||(bs[bz]=br,this['callback'](this['manager'],bw,{'pointers':bs,'changedPointers':[br],'pointerType':bx,'srcEvent':br}),bu&&bs['splice'](bz,0x1));}});var aS={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aT(){this['evTarget']='touchstart',this['evWin']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['started']=!0x1,aD['apply'](this,arguments);}function aU(br,bs){var bu=aq(br['touches']),bv=aq(br['changedTouches']);return 0xc&bs&&(bu=ar(bu['concat'](bv),'identifier',!0x0)),[bu,bv];}ag(aT,aD,{'handler':function(br){var bs=aS[br['type']];if(0x1===bs&&(this['started']=!0x0),this['started']){var bu=aU['call'](this,br,bs);0xc&bs&&bu[0x0]['length']-bu[0x1]['length']==0x0&&(this['started']=!0x1),this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}});var aV={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aW(){this['evTarget']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['targetIds']={},aD['apply'](this,arguments);}function aX(br,bs){var bu=aq(br['touches']),bv=this['targetIds'];if(0x3&bs&&0x1===bu['length'])return bv[bu[0x0]['identifier']]=!0x0,[bu,bu];var bw,bx,by=aq(br['changedTouches']),bz=[],bA=this['target'];if(bx=bu['filter'](function(bB){return am(bB['target'],bA);}),0x1===bs){for(bw=0x0;bw<bx['length'];)bv[bx[bw]['identifier']]=!0x0,bw++;}for(bw=0x0;bw<by['length'];)bv[by[bw]['identifier']]&&bz['push'](by[bw]),0xc&bs&&delete bv[by[bw]['identifier']],bw++;return bz['length']?[ar(bx['concat'](bz),'identifier',!0x0),bz]:void 0x0;}function aY(){aD['apply'](this,arguments);var br=ah(this['handler'],this);this['touch']=new aW(this['manager'],br),this['mouse']=new aM(this['manager'],br),this['primaryTouch']=null,this['lastTouches']=[];}function aZ(br,bs){0x1&br?(this['primaryTouch']=bs['changedPointers'][0x0]['identifier'],b0['call'](this,bs)):0xc&br&&b0['call'](this,bs);}function b0(br){var bs=br['changedPointers'][0x0];if(bs['identifier']===this['primaryTouch']){var bu={'x':bs['clientX'],'y':bs['clientY']};this['lastTouches']['push'](bu);var bv=this['lastTouches'];setTimeout(function(){var bw=bv['indexOf'](bu);bw>-0x1&&bv['splice'](bw,0x1);},0x9c4);}}function b1(br){for(var bs=br['srcEvent']['clientX'],bu=br['srcEvent']['clientY'],bv=0x0;bv<this['lastTouches']['length'];bv++){var bw=this['lastTouches'][bv],bx=Math['abs'](bs-bw['x']),by=Math['abs'](bu-bw['y']);if(bx<=0x19&&by<=0x19)return!0x0;}return!0x1;}ag(aW,aD,{'handler':function(br){var bs=aV[br['type']],bu=aX['call'](this,br,bs);bu&&this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}),ag(aY,aD,{'handler':function(br,bs,bu){var bv=bu['pointerType']==az,bw=bu['pointerType']==aA;if(!(bw&&bu['sourceCapabilities']&&bu['sourceCapabilities']['firesTouchEvents'])){if(bv)aZ['call'](this,bs,bu);else{if(bw&&b1['call'](this,bu))return;}this['callback'](br,bs,bu);}},'destroy':function(){this['touch']['destroy'](),this['mouse']['destroy']();}});var b2=as(a6['style'],'touchAction'),b3=b2!==a3,b4='compute',b5='auto',b6='manipulation',b7='none',b8='pan-x',b9='pan-y',ba=(function(){if(!b3)return!0x1;var br={},bs=a0['CSS']&&a0['CSS']['supports'];return['auto','manipulation','pan-y','pan-x','pan-x\x20pan-y','none']['forEach'](function(bu){br[bu]=!bs||a0['CSS']['supports']('touch-action',bu);}),br;}());function bb(br,bs){this['manager']=br,this['set'](bs);}bb['prototype']={'set':function(br){br==b4&&(br=this['compute']()),b3&&this['manager']['element']['style']&&ba[br]&&(this['manager']['element']['style'][b2]=br),this['actions']=br['toLowerCase']()['trim']();},'update':function(){this['set'](this['manager']['options']['touchAction']);},'compute':function(){var br=[];return ac(this['manager']['recognizers'],function(bs){ai(bs['options']['enable'],[bs])&&(br=br['concat'](bs['getTouchAction']()));}),function(bs){if(an(bs,b7))return b7;var bu=an(bs,b8),bv=an(bs,b9);return bu&&bv?b7:bu||bv?bu?b8:b9:an(bs,b6)?b6:b5;}(br['join']('\x20'));},'preventDefaults':function(br){var bs=br['srcEvent'],bu=br['offsetDirection'];if(this['manager']['session']['prevented'])bs['preventDefault']();else{var bv=this['actions'],bw=an(bv,b7)&&!ba[b7],bx=an(bv,b9)&&!ba[b9],by=an(bv,b8)&&!ba[b8];if(bw){var bz=0x1===br['pointers']['length'],bA=br['distance']<0x2,bB=br['deltaTime']<0xfa;if(bz&&bA&&bB)return;}if(!by||!bx)return bw||bx&&0x6&bu||by&&0x18&bu?this['preventSrc'](bs):void 0x0;}},'preventSrc':function(br){this['manager']['session']['prevented']=!0x0,br['preventDefault']();}};var bc=0x20;function bd(br){this['options']=a4({},this['defaults'],br||{}),this['id']=au++,this['manager']=null,this['options']['enable']=aj(this['options']['enable'],!0x0),this['state']=0x1,this['simultaneous']={},this['requireFail']=[];}function be(br){return 0x10&br?'cancel':0x8&br?'end':0x4&br?'move':0x2&br?'start':'';}function bf(br){return 0x10==br?'down':0x8==br?'up':0x2==br?'left':0x4==br?'right':'';}function bg(br,bs){var bu=bs['manager'];return bu?bu['get'](br):br;}function bh(){bd['apply'](this,arguments);}function bi(){bh['apply'](this,arguments),this['pX']=null,this['pY']=null;}function bj(){bh['apply'](this,arguments);}function bk(){bd['apply'](this,arguments),this['_timer']=null,this['_input']=null;}function bl(){bh['apply'](this,arguments);}function bm(){bh['apply'](this,arguments);}function bn(){bd['apply'](this,arguments),this['pTime']=!0x1,this['pCenter']=!0x1,this['_timer']=null,this['_input']=null,this['count']=0x0;}function bo(br,bs){return(bs=bs||{})['recognizers']=aj(bs['recognizers'],bo['defaults']['preset']),new bp(br,bs);}function bp(br,bs){this['options']=a4({},bo['defaults'],bs||{}),this['options']['inputTarget']=this['options']['inputTarget']||br,this['handlers']={},this['session']={},this['recognizers']=[],this['oldCssProps']={},this['element']=br,this['input']=new(this['options']['inputClass']||(ax?aR:ay?aW:aw?aY:aM))(this,aE),this['touchAction']=new bb(this,this['options']['touchAction']),bq(this,!0x0),ac(this['options']['recognizers'],function(bu){var bv=this['add'](new bu[0x0](bu[0x1]));bu[0x2]&&bv['recognizeWith'](bu[0x2]),bu[0x3]&&bv['requireFailure'](bu[0x3]);},this);}function bq(br,bs){var bu,bv=br['element'];bv['style']&&(ac(br['options']['cssProps'],function(bw,bx){bu=as(bv['style'],bx),bs?(br['oldCssProps'][bu]=bv['style'][bu],bv['style'][bu]=bw):bv['style'][bu]=br['oldCssProps'][bu]||'';}),bs||(br['oldCssProps']={}));}bd['prototype']={'defaults':{},'set':function(br){return a4(this['options'],br),this['manager']&&this['manager']['touchAction']['update'](),this;},'recognizeWith':function(br){if(ab(br,'recognizeWith',this))return this;var bs=this['simultaneous'];return bs[(br=bg(br,this))['id']]||(bs[br['id']]=br,br['recognizeWith'](this)),this;},'dropRecognizeWith':function(br){return ab(br,'dropRecognizeWith',this)||(br=bg(br,this),delete this['simultaneous'][br['id']]),this;},'requireFailure':function(br){if(ab(br,'requireFailure',this))return this;var bs=this['requireFail'];return-0x1===ap(bs,br=bg(br,this))&&(bs['push'](br),br['requireFailure'](this)),this;},'dropRequireFailure':function(br){if(ab(br,'dropRequireFailure',this))return this;br=bg(br,this);var bs=ap(this['requireFail'],br);return bs>-0x1&&this['requireFail']['splice'](bs,0x1),this;},'hasRequireFailures':function(){return this['requireFail']['length']>0x0;},'canRecognizeWith':function(br){return!!this['simultaneous'][br['id']];},'emit':function(br){var bs=this,bu=this['state'];function bv(bw){bs['manager']['emit'](bw,br);}bu<0x8&&bv(bs['options']['event']+be(bu)),bv(bs['options']['event']),br['additionalEvent']&&bv(br['additionalEvent']),bu>=0x8&&bv(bs['options']['event']+be(bu));},'tryEmit':function(br){if(this['canEmit']())return this['emit'](br);this['state']=bc;},'canEmit':function(){for(var br=0x0;br<this['requireFail']['length'];){if(!(0x21&this['requireFail'][br]['state']))return!0x1;br++;}return!0x0;},'recognize':function(br){var bs=a4({},br);if(!ai(this['options']['enable'],[this,bs]))return this['reset'](),void(this['state']=bc);0x38&this['state']&&(this['state']=0x1),this['state']=this['process'](bs),0x1e&this['state']&&this['tryEmit'](bs);},'process':function(br){},'getTouchAction':function(){},'reset':function(){}},ag(bh,bd,{'defaults':{'pointers':0x1},'attrTest':function(br){var bs=this['options']['pointers'];return 0x0===bs||br['pointers']['length']===bs;},'process':function(br){var bs=this['state'],bu=br['eventType'],bv=0x6&bs,bw=this['attrTest'](br);return bv&&(0x8&bu||!bw)?0x10|bs:bv||bw?0x4&bu?0x8|bs:0x2&bs?0x4|bs:0x2:bc;}}),ag(bi,bh,{'defaults':{'event':'pan','threshold':0xa,'pointers':0x1,'direction':0x1e},'getTouchAction':function(){var br=this['options']['direction'],bs=[];return 0x6&br&&bs['push'](b9),0x18&br&&bs['push'](b8),bs;},'directionTest':function(br){var bs=this['options'],bu=!0x0,bv=br['distance'],bw=br['direction'],bx=br['deltaX'],by=br['deltaY'];return bw&bs['direction']||(0x6&bs['direction']?(bw=0x0===bx?0x1:bx<0x0?0x2:0x4,bu=bx!=this['pX'],bv=Math['abs'](br['deltaX'])):(bw=0x0===by?0x1:by<0x0?0x8:0x10,bu=by!=this['pY'],bv=Math['abs'](br['deltaY']))),br['direction']=bw,bu&&bv>bs['threshold']&&bw&bs['direction'];},'attrTest':function(br){return bh['prototype']['attrTest']['call'](this,br)&&(0x2&this['state']||!(0x2&this['state'])&&this['directionTest'](br));},'emit':function(br){this['pX']=br['deltaX'],this['pY']=br['deltaY'];var bs=bf(br['direction']);bs&&(br['additionalEvent']=this['options']['event']+bs),this['_super']['emit']['call'](this,br);}}),ag(bj,bh,{'defaults':{'event':'pinch','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['scale']-0x1)>this['options']['threshold']||0x2&this['state']);},'emit':function(br){if(0x1!==br['scale']){var bs=br['scale']<0x1?'in':'out';br['additionalEvent']=this['options']['event']+bs;}this['_super']['emit']['call'](this,br);}}),ag(bk,bd,{'defaults':{'event':'press','pointers':0x1,'time':0xfb,'threshold':0x9},'getTouchAction':function(){return[b5];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']>bs['time'];if(this['_input']=br,!bv||!bu||0xc&br['eventType']&&!bw)this['reset']();else{if(0x1&br['eventType'])this['reset'](),this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['time'],this);else{if(0x4&br['eventType'])return 0x8;}}return bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(br){0x8===this['state']&&(br&&0x4&br['eventType']?this['manager']['emit'](this['options']['event']+'up',br):(this['_input']['timeStamp']=a9(),this['manager']['emit'](this['options']['event'],this['_input'])));}}),ag(bl,bh,{'defaults':{'event':'rotate','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['rotation'])>this['options']['threshold']||0x2&this['state']);}}),ag(bm,bh,{'defaults':{'event':'swipe','threshold':0xa,'velocity':0.3,'direction':0x1e,'pointers':0x1},'getTouchAction':function(){return bi['prototype']['getTouchAction']['call'](this);},'attrTest':function(br){var bs,bu=this['options']['direction'];return 0x1e&bu?bs=br['overallVelocity']:0x6&bu?bs=br['overallVelocityX']:0x18&bu&&(bs=br['overallVelocityY']),this['_super']['attrTest']['call'](this,br)&&bu&br['offsetDirection']&&br['distance']>this['options']['threshold']&&br['maxPointers']==this['options']['pointers']&&a8(bs)>this['options']['velocity']&&0x4&br['eventType'];},'emit':function(br){var bs=bf(br['offsetDirection']);bs&&this['manager']['emit'](this['options']['event']+bs,br),this['manager']['emit'](this['options']['event'],br);}}),ag(bn,bd,{'defaults':{'event':'tap','pointers':0x1,'taps':0x1,'interval':0x12c,'time':0xfa,'threshold':0x9,'posThreshold':0xa},'getTouchAction':function(){return[b6];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']<bs['time'];if(this['reset'](),0x1&br['eventType']&&0x0===this['count'])return this['failTimeout']();if(bv&&bw&&bu){if(0x4!=br['eventType'])return this['failTimeout']();var bx=!this['pTime']||br['timeStamp']-this['pTime']<bs['interval'],by=!this['pCenter']||aJ(this['pCenter'],br['center'])<bs['posThreshold'];if(this['pTime']=br['timeStamp'],this['pCenter']=br['center'],by&&bx?this['count']+=0x1:this['count']=0x1,this['_input']=br,0x0==this['count']%bs['taps'])return this['hasRequireFailures']()?(this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['interval'],this),0x2):0x8;}return bc;},'failTimeout':function(){return this['_timer']=aa(function(){this['state']=bc;},this['options']['interval'],this),bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(){0x8==this['state']&&(this['_input']['tapCount']=this['count'],this['manager']['emit'](this['options']['event'],this['_input']));}}),bo['VERSION']='2.0.7',bo['defaults']={'domEvents':!0x1,'touchAction':b4,'enable':!0x0,'inputTarget':null,'inputClass':null,'preset':[[bl,{'enable':!0x1}],[bj,{'enable':!0x1},['rotate']],[bm,{'direction':0x6}],[bi,{'direction':0x6},['swipe']],[bn],[bn,{'event':'doubletap','taps':0x2},['tap']],[bk]],'cssProps':{'userSelect':'none','touchSelect':'none','touchCallout':'none','contentZooming':'none','userDrag':'none','tapHighlightColor':'rgba(0,0,0,0)'}},bp['prototype']={'set':function(br){return a4(this['options'],br),br['touchAction']&&this['touchAction']['update'](),br['inputTarget']&&(this['input']['destroy'](),this['input']['target']=br['inputTarget'],this['input']['init']()),this;},'stop':function(br){this['session']['stopped']=br?0x2:0x1;},'recognize':function(br){var bs=this['session'];if(!bs['stopped']){var bu;this['touchAction']['preventDefaults'](br);var bv=this['recognizers'],bw=bs['curRecognizer'];(!bw||bw&&0x8&bw['state'])&&(bw=bs['curRecognizer']=null);for(var bx=0x0;bx<bv['length'];)bu=bv[bx],0x2===bs['stopped']||bw&&bu!=bw&&!bu['canRecognizeWith'](bw)?bu['reset']():bu['recognize'](br),!bw&&0xe&bu['state']&&(bw=bs['curRecognizer']=bu),bx++;}},'get':function(br){if(br instanceof bd)return br;for(var bs=this['recognizers'],bu=0x0;bu<bs['length'];bu++)if(bs[bu]['options']['event']==br)return bs[bu];return null;},'add':function(br){if(ab(br,'add',this))return this;var bs=this['get'](br['options']['event']);return bs&&this['remove'](bs),this['recognizers']['push'](br),br['manager']=this,this['touchAction']['update'](),br;},'remove':function(br){if(ab(br,'remove',this))return this;if(br=this['get'](br)){var bs=this['recognizers'],bu=ap(bs,br);-0x1!==bu&&(bs['splice'](bu,0x1),this['touchAction']['update']());}return this;},'on':function(br,bs){if(br!==a3&&bs!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bu[bv]=bu[bv]||[],bu[bv]['push'](bs);}),this;}},'off':function(br,bs){if(br!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bs?bu[bv]&&bu[bv]['splice'](ap(bu[bv],bs),0x1):delete bu[bv];}),this;}},'emit':function(br,bs){this['options']['domEvents']&&function(bw,bx){var by=a1['createEvent']('Event');by['initEvent'](bw,!0x0,!0x0),by['gesture']=bx,bx['target']['dispatchEvent'](by);}(br,bs);var bu=this['handlers'][br]&&this['handlers'][br]['slice']();if(bu&&bu['length']){bs['type']=br,bs['preventDefault']=function(){bs['srcEvent']['preventDefault']();};for(var bv=0x0;bv<bu['length'];)bu[bv](bs),bv++;}},'destroy':function(){this['element']&&bq(this,!0x1),this['handlers']={},this['session']={},this['input']['destroy'](),this['element']=null;}},a4(bo,{'INPUT_START':0x1,'INPUT_MOVE':0x2,'INPUT_END':0x4,'INPUT_CANCEL':0x8,'STATE_POSSIBLE':0x1,'STATE_BEGAN':0x2,'STATE_CHANGED':0x4,'STATE_ENDED':0x8,'STATE_RECOGNIZED':0x8,'STATE_CANCELLED':0x10,'STATE_FAILED':bc,'DIRECTION_NONE':0x1,'DIRECTION_LEFT':0x2,'DIRECTION_RIGHT':0x4,'DIRECTION_UP':0x8,'DIRECTION_DOWN':0x10,'DIRECTION_HORIZONTAL':0x6,'DIRECTION_VERTICAL':0x18,'DIRECTION_ALL':0x1e,'Manager':bp,'Input':aD,'TouchAction':bb,'TouchInput':aW,'MouseInput':aM,'PointerEventInput':aR,'TouchMouseInput':aY,'SingleTouchInput':aT,'Recognizer':bd,'AttrRecognizer':bh,'Tap':bn,'Pan':bi,'Swipe':bm,'Pinch':bj,'Rotate':bl,'Press':bk,'on':ak,'off':al,'each':ac,'merge':af,'extend':ae,'assign':a4,'inherit':ag,'bindFn':ah,'prefixed':as}),(void 0x0!==a0?a0:'undefined'!=typeof self?self:{})['Hammer']=bo,(h=function(){return bo;}['call'](f,g,f,d))===a3||(d['exports']=h);}(window,document);},0x1407:()=>{!(function(){'use strict';if('object'==typeof window){if('IntersectionObserver'in window&&'IntersectionObserverEntry'in window&&'intersectionRatio'in window['IntersectionObserverEntry']['prototype'])'isIntersecting'in window['IntersectionObserverEntry']['prototype']||Object['defineProperty'](window['IntersectionObserverEntry']['prototype'],'isIntersecting',{'get':function(){return this['intersectionRatio']>0x0;}});else{var f=(function(){for(var F=window['document'],G=q(F);G;)G=q(F=G['ownerDocument']);return F;}()),j=[],k=null,m=null;w['prototype']['THROTTLE_TIMEOUT']=0x64,w['prototype']['POLL_INTERVAL']=null,w['prototype']['USE_MUTATION_OBSERVER']=!0x0,w['_setupCrossOriginUpdater']=function(){return k||(k=function(F,G){m=F&&G?B(F,G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0},j['forEach'](function(H){H['_checkForIntersections']();});}),k;},w['_resetCrossOriginUpdater']=function(){k=null,m=null;},w['prototype']['observe']=function(F){if(!this['_observationTargets']['some'](function(G){return G['element']==F;})){if(!F||0x1!=F['nodeType'])throw new Error('target\x20must\x20be\x20an\x20Element');this['_registerInstance'](),this['_observationTargets']['push']({'element':F,'entry':null}),this['_monitorIntersections'](F['ownerDocument']),this['_checkForIntersections']();}},w['prototype']['unobserve']=function(F){this['_observationTargets']=this['_observationTargets']['filter'](function(G){return G['element']!=F;}),this['_unmonitorIntersections'](F['ownerDocument']),0x0==this['_observationTargets']['length']&&this['_unregisterInstance']();},w['prototype']['disconnect']=function(){this['_observationTargets']=[],this['_unmonitorAllIntersections'](),this['_unregisterInstance']();},w['prototype']['takeRecords']=function(){var F=this['_queuedEntries']['slice']();return this['_queuedEntries']=[],F;},w['prototype']['_initThresholds']=function(F){var G=F||[0x0];return Array['isArray'](G)||(G=[G]),G['sort']()['filter'](function(H,I,J){if('number'!=typeof H||isNaN(H)||H<0x0||H>0x1)throw new Error('threshold\x20must\x20be\x20a\x20number\x20between\x200\x20and\x201\x20inclusively');return H!==J[I-0x1];});},w['prototype']['_parseRootMargin']=function(F){var G=(F||'0px')['split'](/\s+/)['map'](function(H){var I=/^(-?\d*\.?\d+)(px|%)$/['exec'](H);if(!I)throw new Error('rootMargin\x20must\x20be\x20specified\x20in\x20pixels\x20or\x20percent');return{'value':parseFloat(I[0x1]),'unit':I[0x2]};});return G[0x1]=G[0x1]||G[0x0],G[0x2]=G[0x2]||G[0x0],G[0x3]=G[0x3]||G[0x1],G;},w['prototype']['_monitorIntersections']=function(F){var G=F['defaultView'];if(G&&-0x1==this['_monitoringDocuments']['indexOf'](F)){var H=this['_checkForIntersections'],I=null,J=null;this['POLL_INTERVAL']?I=G['setInterval'](H,this['POLL_INTERVAL']):(x(G,'resize',H,!0x0),x(F,'scroll',H,!0x0),this['USE_MUTATION_OBSERVER']&&'MutationObserver'in G&&(J=new G['MutationObserver'](H))['observe'](F,{'attributes':!0x0,'childList':!0x0,'characterData':!0x0,'subtree':!0x0})),this['_monitoringDocuments']['push'](F),this['_monitoringUnsubscribes']['push'](function(){var M=F['defaultView'];M&&(I&&M['clearInterval'](I),y(M,'resize',H,!0x0)),y(F,'scroll',H,!0x0),J&&J['disconnect']();});var K=this['root']&&(this['root']['ownerDocument']||this['root'])||f;if(F!=K){var L=q(F);L&&this['_monitorIntersections'](L['ownerDocument']);}}},w['prototype']['_unmonitorIntersections']=function(F){var G=this['_monitoringDocuments']['indexOf'](F);if(-0x1!=G){var H=this['root']&&(this['root']['ownerDocument']||this['root'])||f,I=this['_observationTargets']['some'](function(L){var M=L['element']['ownerDocument'];if(M==F)return!0x0;for(;M&&M!=H;){var N=q(M);if((M=N&&N['ownerDocument'])==F)return!0x0;}return!0x1;});if(!I){var J=this['_monitoringUnsubscribes'][G];if(this['_monitoringDocuments']['splice'](G,0x1),this['_monitoringUnsubscribes']['splice'](G,0x1),J(),F!=H){var K=q(F);K&&this['_unmonitorIntersections'](K['ownerDocument']);}}}},w['prototype']['_unmonitorAllIntersections']=function(){var F=this['_monitoringUnsubscribes']['slice'](0x0);this['_monitoringDocuments']['length']=0x0,this['_monitoringUnsubscribes']['length']=0x0;for(var G=0x0;G<F['length'];G++)F[G]();},w['prototype']['_checkForIntersections']=function(){if(this['root']||!k||m){var F=this['_rootIsInDom'](),G=F?this['_getRootRect']():{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};this['_observationTargets']['forEach'](function(H){var I=H['element'],J=z(I),K=this['_rootContainsTarget'](I),L=H['entry'],M=F&&K&&this['_computeTargetAndRootIntersection'](I,J,G),N=null;this['_rootContainsTarget'](I)?k&&!this['root']||(N=G):N={'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};var O=H['entry']=new v({'time':window['performance']&&performance['now']&&performance['now'](),'target':I,'boundingClientRect':J,'rootBounds':N,'intersectionRect':M});L?F&&K?this['_hasCrossedThreshold'](L,O)&&this['_queuedEntries']['push'](O):L&&L['isIntersecting']&&this['_queuedEntries']['push'](O):this['_queuedEntries']['push'](O);},this),this['_queuedEntries']['length']&&this['_callback'](this['takeRecords'](),this);}},w['prototype']['_computeTargetAndRootIntersection']=function(F,G,H){if('none'!=window['getComputedStyle'](F)['display']){for(var J,K,L,N,O,P,Q,R,T=G,U=D(F),V=!0x1;!V&&U;){var W=null,X=0x1==U['nodeType']?window['getComputedStyle'](U):{};if('none'==X['display'])return null;if(U==this['root']||0x9==U['nodeType']){if(V=!0x0,U==this['root']||U==f)k&&!this['root']?!m||0x0==m['width']&&0x0==m['height']?(U=null,W=null,T=null):W=m:W=H;else{var Y=D(U),Z=Y&&z(Y),a0=Y&&this['_computeTargetAndRootIntersection'](Y,Z,H);Z&&a0?(U=Y,W=B(Z,a0)):(U=null,T=null);}}else{var a1=U['ownerDocument'];U!=a1['body']&&U!=a1['documentElement']&&'visible'!=X['overflow']&&(W=z(U));}if(W&&(J=W,K=T,void 0x0,void 0x0,void 0x0,void 0x0,void 0x0,void 0x0,L=Math['max'](J['top'],K['top']),N=Math['min'](J['bottom'],K['bottom']),O=Math['max'](J['left'],K['left']),R=N-L,T=(Q=(P=Math['min'](J['right'],K['right']))-O)>=0x0&&R>=0x0&&{'top':L,'bottom':N,'left':O,'right':P,'width':Q,'height':R}||null),!T)break;U=U&&D(U);}return T;}},w['prototype']['_getRootRect']=function(){var F;if(this['root']&&!E(this['root']))F=z(this['root']);else{var G=E(this['root'])?this['root']:f,H=G['documentElement'],I=G['body'];F={'top':0x0,'left':0x0,'right':H['clientWidth']||I['clientWidth'],'width':H['clientWidth']||I['clientWidth'],'bottom':H['clientHeight']||I['clientHeight'],'height':H['clientHeight']||I['clientHeight']};}return this['_expandRectByRootMargin'](F);},w['prototype']['_expandRectByRootMargin']=function(F){var G=this['_rootMarginValues']['map'](function(I,J){return'px'==I['unit']?I['value']:I['value']*(J%0x2?F['width']:F['height'])/0x64;}),H={'top':F['top']-G[0x0],'right':F['right']+G[0x1],'bottom':F['bottom']+G[0x2],'left':F['left']-G[0x3]};return H['width']=H['right']-H['left'],H['height']=H['bottom']-H['top'],H;},w['prototype']['_hasCrossedThreshold']=function(F,G){var H=F&&F['isIntersecting']?F['intersectionRatio']||0x0:-0x1,I=G['isIntersecting']?G['intersectionRatio']||0x0:-0x1;if(H!==I)for(var J=0x0;J<this['thresholds']['length'];J++){var K=this['thresholds'][J];if(K==H||K==I||K<H!=K<I)return!0x0;}},w['prototype']['_rootIsInDom']=function(){return!this['root']||C(f,this['root']);},w['prototype']['_rootContainsTarget']=function(F){var G=this['root']&&(this['root']['ownerDocument']||this['root'])||f;return C(G,F)&&(!this['root']||G==F['ownerDocument']);},w['prototype']['_registerInstance']=function(){j['indexOf'](this)<0x0&&j['push'](this);},w['prototype']['_unregisterInstance']=function(){var F=j['indexOf'](this);-0x1!=F&&j['splice'](F,0x1);},window['IntersectionObserver']=w,window['IntersectionObserverEntry']=v;}}function q(F){try{return F['defaultView']&&F['defaultView']['frameElement']||null;}catch(G){return null;}}function v(F){this['time']=F['time'],this['target']=F['target'],this['rootBounds']=A(F['rootBounds']),this['boundingClientRect']=A(F['boundingClientRect']),this['intersectionRect']=A(F['intersectionRect']||{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0}),this['isIntersecting']=!!F['intersectionRect'];var G=this['boundingClientRect'],H=G['width']*G['height'],I=this['intersectionRect'],J=I['width']*I['height'];this['intersectionRatio']=H?Number((J/H)['toFixed'](0x4)):this['isIntersecting']?0x1:0x0;}function w(F,G){var H,I,J,K=G||{};if('function'!=typeof F)throw new Error('callback\x20must\x20be\x20a\x20function');if(K['root']&&0x1!=K['root']['nodeType']&&0x9!=K['root']['nodeType'])throw new Error('root\x20must\x20be\x20a\x20Document\x20or\x20Element');this['_checkForIntersections']=(H=this['_checkForIntersections']['bind'](this),I=this['THROTTLE_TIMEOUT'],J=null,function(){J||(J=setTimeout(function(){H(),J=null;},I));}),this['_callback']=F,this['_observationTargets']=[],this['_queuedEntries']=[],this['_rootMarginValues']=this['_parseRootMargin'](K['rootMargin']),this['thresholds']=this['_initThresholds'](K['threshold']),this['root']=K['root']||null,this['rootMargin']=this['_rootMarginValues']['map'](function(L){return L['value']+L['unit'];})['join']('\x20'),this['_monitoringDocuments']=[],this['_monitoringUnsubscribes']=[];}function x(F,G,H,I){'function'==typeof F['addEventListener']?F['addEventListener'](G,H,I||!0x1):'function'==typeof F['attachEvent']&&F['attachEvent']('on'+G,H);}function y(F,G,H,I){'function'==typeof F['removeEventListener']?F['removeEventListener'](G,H,I||!0x1):'function'==typeof F['detachEvent']&&F['detachEvent']('on'+G,H);}function z(F){var G;try{G=F['getBoundingClientRect']();}catch(H){}return G?(G['width']&&G['height']||(G={'top':G['top'],'right':G['right'],'bottom':G['bottom'],'left':G['left'],'width':G['right']-G['left'],'height':G['bottom']-G['top']}),G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};}function A(F){return!F||'x'in F?F:{'top':F['top'],'y':F['top'],'bottom':F['bottom'],'left':F['left'],'x':F['left'],'right':F['right'],'width':F['width'],'height':F['height']};}function B(F,G){var H=G['top']-F['top'],I=G['left']-F['left'];return{'top':H,'left':I,'height':G['height'],'width':G['width'],'bottom':H+G['height'],'right':I+G['width']};}function C(F,G){for(var H=G;H;){if(H==F)return!0x0;H=D(H);}return!0x1;}function D(F){var G=F['parentNode'];return 0x9==F['nodeType']&&F!=f?q(F):(G&&G['assignedSlot']&&(G=G['assignedSlot']['parentNode']),G&&0xb==G['nodeType']&&G['host']?G['host']:G);}function E(F){return F&&0x9===F['nodeType'];}}());},0x1023:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});},j=this&&this['__rest']||function(m,p){var q={};for(var u in m)Object['prototype']['hasOwnProperty']['call'](m,u)&&p['indexOf'](u)<0x0&&(q[u]=m[u]);if(null!=m&&'function'==typeof Object['getOwnPropertySymbols']){var v=0x0;for(u=Object['getOwnPropertySymbols'](m);v<u['length'];v++)p['indexOf'](u[v])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](m,u[v])&&(q[u[v]]=m[u[v]]);}return q;};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['API']=void 0x0;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:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'GET'})},v));}['post'](m,p){const q=null!=p?p:{},{init:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'POST'})},v));}['put'](m,p){const q=null!=p?p:{},{init:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'PUT'})},v));}['request'](m,p){return h(this,void 0x0,void 0x0,function*(){var q,u,v;const w=null!==(q=null==p?void 0x0:p['init'])&&void 0x0!==q?q:{},{headers:x}=w,y=j(w,['headers']),z=Object['assign']({'headers':Object['assign'](Object['assign'](Object['assign']({},(null==p?void 0x0:p['auth'])&&{'Authorization':'Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===u?void 0x0:u['accessToken'])}),{'Content-Type':'application/json','Accept':'application/json'}),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};}});}};},0x66b:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1023),f);},0x17e9:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionEvent']=f['ImaAdEvent']=f['AdEvent']=f['WidgetEvent']=f['MomentEvent']=f['StoryEvent']=f['AnalyticsEvent']=f['ReferringEventInfo']=f['Category']=void 0x0,function(m){m['Story']='story',m['Moment']='moment',m['Widget']='widget',m['Ad']='ad',m['Interaction']='interaction';}(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['AdEvent']=class{},f['ImaAdEvent']=class{},f['InteractionEvent']=class{};},0x13a5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseWidget']=void 0x0;class g extends HTMLElement{constructor(){super(),this['_animationDuration']=0x12c;}['getAttribute'](h){var j;const k=null===(j=super['getAttribute'](h))||void 0x0===j?void 0x0:j['toLocaleLowerCase']();return'true'===k||'false'===k?JSON['parse'](k):super['getAttribute'](h);}['setStyle'](h){for(const j in h){let k=j['replace'](/[A-Z]/g,l=>'-'+l['toLowerCase']());this['style']['setProperty'](k,h[j]);}}['setAttributes'](h){Object['entries'](h)['forEach'](([j,k])=>{this['setAttribute'](j,k);});}['removeElement'](){this['parentNode']&&this['parentNode']['removeChild'](this);}}f['BaseWidget']=g;},0x227f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDataSourceValidations']=f['BlazeDataSourceFactory']=f['BlazeInternalError']=void 0x0,f['BlazeInternalError']={'LabelExpressionMustNotBeEmpty':'labelExpressionMustNotBeEmpty','InvalidNumberOfMaxItems':'invalidNumberOfMaxItems','IdsMustNotBeEmpty':'idsMustNotBeEmpty','MissingLabelsProperty':'missingLabelsProperty','IdsMustNotHaveSpaces':'idsMustNotHaveSpaces'},f['BlazeDataSourceFactory']=class{static['createLabelsDataSource'](h){const {labels:j,labelsPriority:k,orderType:l,maxItems:m}=h;try{g['validateFormat']({'type':'labels','labels':j,'labelsPriority':k,'orderType':l,'maxItems':m});}catch(p){}finally{return{'type':'labels','labels':j,'labelsPriority':k,'orderType':l,'maxItems':m};}}static['createIdsDataSource'](h){const {ids:j,orderType:k}=h;try{g['validateFormat']({'type':'ids','ids':j,'orderType':k});}catch(l){}finally{return{'type':'ids','ids':j,'orderType':k};}}};class g{static['validateFormat'](h){var j;switch(h['type']){case'labels':if(!h['labels'])throw new Error(f['BlazeInternalError']['MissingLabelsProperty']);if(!(null===(j=h['labels'])||void 0x0===j?void 0x0:j['toString']()['trim']()['length']))throw new Error(f['BlazeInternalError']['LabelExpressionMustNotBeEmpty']);if(void 0x0!==h['maxItems']&&h['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case'ids':if(!h['ids']||!h['ids']['length'])throw new Error(f['BlazeInternalError']['IdsMustNotBeEmpty']);if(h['ids']['some'](k=>/\s/['test'](k)))throw new Error(f['BlazeInternalError']['IdsMustNotHaveSpaces']);}}}f['BlazeDataSourceValidations']=g;},0x1e68:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['debounce']=void 0x0,f['debounce']=function(g,h){let j=null;return function(...k){j&&clearTimeout(j),j=setTimeout(()=>{g(...k);},h);};};},0xb62:function(d,f,g){'use strict';var h=this&&this['__importDefault']||function(l){return l&&l['__esModule']?l:{'default':l};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['deviceDetector']=f['Platform']=void 0x0;const j=h(g(0x1c40));f['Platform']={'Console':'console','Mobile':'mobile','Tablet':'tablet','SmartTV':'smarttv','Wearable':'wearable','Embedded':'embedded','Desktop':'desktop'};class k{constructor(){this['orientationChangeEvent']=new Event('screenOrientationChange'),this['parser']=new j['default'](navigator['userAgent']),this['OS']=this['detectOS'](),this['platform']=this['detectPlatform'](),this['browser']=this['detectBrowser'](),this['screenOrientation']=this['getScreenOrientation'](),this['resizeListener']=this['handleResize']['bind'](this),window['addEventListener']('resize',this['resizeListener']);}['removeResizeListener'](){window['removeEventListener']('resize',this['resizeListener']);}static['getInstance'](){return k['instance']||(k['instance']=new k()),k['instance'];}['detectOS'](){return this['parser']['getOS']()['name'];}['detectBrowser'](){return this['parser']['getBrowser']()['name'];}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'],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'];this['screenOrientation']=this['getScreenOrientation'](),l!==this['screenOrientation']&&window['dispatchEvent'](this['orientationChangeEvent']);}['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;}}f['deviceDetector']=k['getInstance']();},0xfcf:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventsListener']=void 0x0,f['EventsListener']=class{constructor(){this['listeners']=[];}['add'](g,h,j){this['listeners']['find'](k=>k['node']==document&&k['type']==g)||(this['listeners']['push']({'node':document,'type':g,'callback':h}),document['addEventListener'](g,h,j));}['addAttached'](g,h,j,k){this['listeners']['find'](l=>l['node']==g&&l['type']==h)||(this['listeners']['push']({'node':g,'type':h,'callback':j}),g['addEventListener'](h,j,k));}['removeAll'](){for(const g of this['listeners'])try{g['node']['removeEventListener'](g['type'],g['callback']);}catch(h){}this['listeners']=[];}};},0x1133:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x17e9),f),j(g(0x13a5),f),j(g(0x1e68),f),j(g(0xb62),f),j(g(0xfcf),f),j(g(0x1bdd),f),j(g(0x255d),f),j(g(0x614),f),j(g(0x1723),f),j(g(0x156e),f),j(g(0x227f),f);},0x1bdd:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetLabel']=void 0x0;class g{constructor(h){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;},0x255d:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongPressHandler']=void 0x0,f['LongPressHandler']=class{constructor(g){this['options']=g,this['startPress']=()=>{this['pressTimer']=setTimeout(()=>{this['isDuringPress']=!0x0,this['options']['onStart']();},0xc8);},this['endPress']=h=>{clearTimeout(this['pressTimer']),this['isDuringPress']&&(this['options']['onEnd'](),this['isDuringPress']=!0x1,h['preventDefault']());},this['isDuringPress']=!0x1,this['isAttached']=!0x1;}['attach'](g){this['isAttached']||(g['addEventListener']('touchstart',this['startPress']),g['addEventListener']('touchend',this['endPress']),g['addEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x0);}['detach'](g){this['isAttached']&&(g['removeEventListener']('touchstart',this['startPress']),g['removeEventListener']('touchend',this['endPress']),g['removeEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x1);}};},0x614:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Singleton']=void 0x0,f['Singleton']=function(){return class{constructor(){}static['getInstance'](){return this['_instance']||(this['_instance']=new this()),this['_instance'];}};};},0x1723:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['throttle']=void 0x0;const j=g(0x2432);f['throttle']=function(k,l){let m=!0x1;return function(p){return h(this,void 0x0,void 0x0,function*(){m||(k(p),m=!0x0,yield(0x0,j['delay'])(l),m=!0x1);});};};},0x156e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['URLManager']=f['URL_PARAMS']=void 0x0;const j=g(0x1932),k=g(0x11c1),l=g(0x2432);f['URL_PARAMS']={'SESSION_ID':'wsc_session_id','USER_ID':'wsc_user_id','EXCLUDE_CONTENT_ID':'wsc_exclude_content_id'};class m{static['resetLocationAfterContentClose'](){const p=this['getHashMatch'](),q=this['getHash']();if(p){if(q)location['hash']=q;else{const u=''+location['origin']+location['pathname']+location['search'];history['replaceState']({},document['title'],''+u);}}}static['resetLocation'](){if(!k['ConfigService']['shouldModifyUrlWithStoryId'])return;const p=''+location['origin']+location['pathname']+location['search'];history['replaceState']({},document['title'],''+p);}static['updateLocationContentHash'](p){const {contentType:q='',contentId:u='',isAd:v=!0x1}=p;if('SingleStory'===k['VideoPlayerService']['playReference'])return;if(!k['ConfigService']['shouldModifyUrlWithStoryId'])return;if(v)return;this['isUpdateLocationByScript']=!0x0;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 0x0:x['length'])>0x1?x+'&blaze/'+q+'/'+u:'blaze/'+q+'/'+u),this['isUpdateLocationByScript']=!0x1;}static['getHashMatch'](){return l['RegexStoryHash']['test'](document['location']['hash'])||l['RegexMomentHash']['test'](document['location']['hash']);}static['getHash'](){return document['location']['hash']['replace'](l['RegexStoryHash'],'')['replace'](l['RegexMomentHash'],'');}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']({},'',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['location']['href']['split']('?')[0x0]+'?'+p['toString']());}static['navigateTo'](p){return h(this,void 0x0,void 0x0,function*(){if('AUTO_ADVANCE'===p){const q=new URLSearchParams({[f['URL_PARAMS']['SESSION_ID']]:k['UserService']['sessionId'],[f['URL_PARAMS']['USER_ID']]:k['UserService']['userId'],[f['URL_PARAMS']['EXCLUDE_CONTENT_ID']]:k['VideoPlayerService']['currentlyPlayedContentId']});if(!k['ConfigService']['autoAdvanceUrl'])return;const u=new URL(k['ConfigService']['autoAdvanceUrl']);u['search']=q['toString']();const v=u['toString']();this['updateCurrentUrlWithParams'](q),this['navigateToLink'](v);}});}}f['URLManager']=m,m['isUpdateLocationByScript']=!0x1,m['isBackWasCalled']=!0x1,m['isAutoAdvancingEnabled']=!0x1;},0x443:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeAlert']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['titleContainer']=document['createElement']('div'),this['textContainer']=document['createElement']('div');}static get['observedAttributes'](){return['alert-title','alert-text'];}['connectedCallback'](){this['className']='blaze-alert';}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'alert-title':this['titleContainer']['innerHTML']=m,this['appendChild'](this['titleContainer']);break;case'alert-text':this['textContainer']['innerHTML']=m,this['appendChild'](this['textContainer']);}}['setAttribute'](k,l){super['setAttribute'](k,l);}}f['BlazeAlert']=j;},0x89b:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeButton']=void 0x0;const h=g(0x1133),j=g(0x11c1),k=g(0x2432);class l extends h['BaseWidget']{get['refElement'](){var m;return null!==(m=this['shadowRoot'])&&void 0x0!==m?m:this;}constructor(){super(),j['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['buttonElement']=document['createElement']('button');}['connectedCallback'](){(0x0,k['mergeStyles'])(this['buttonElement'],{'cursor':'pointer','color':'inherit','border':'none','padding':'0','display':'block','outline':'inherit','height':this['height']||'24px','width':this['width']||'24px','margin':'auto'}),this['style']['cursor']='pointer',this['refElement']['append'](this['buttonElement']);}['disconnectedCallback'](){}['attributeChangedCallback'](m,p,q){switch(m){case'disabled':this['setIsDisabled']('true'===q);break;case'blaze-btn-hidden':this['setIsHidden']('true'===q);break;case'blaze-btn-visible':this['setIsVisible']('true'===q);break;case'height':this['setHeight'](q);break;case'width':this['setWidth'](q);break;case'icon-color':this['buttonElement']['style']['background']=q;break;case'order':this['style']['order']=q;}}get['height'](){return this['getAttribute']('height');}get['width'](){return this['getAttribute']('width');}['setIconUrl'](m){(0x0,k['mergeStyles'])(this['buttonElement'],{'-webkit-mask-image':'url(\x27'+m+'\x27)','mask-image':'url(\x27'+m+'\x27)','-webkit-mask-repeat':'no-repeat','mask-repeat':'no-repeat','-webkit-mask-size':'contain','mask-size':'contain','-webkit-mask-position':'center','mask-position':'center','background-image':'none'});}['setIsHidden'](m){this['style']['display']=m?'none':'block';}['setIsVisible'](m){this['style']['visibility']=m?'hidden':'visible';}['setIsDisabled'](m){m?(this['buttonElement']['setAttribute']('disabled',''),(0x0,k['mergeStyles'])(this['buttonElement'],{'opacity':'0.5','cursor':'initial'}),this['style']['cursor']='initial',this['style']['pointerEvents']='none'):(this['buttonElement']['removeAttribute']('disabled'),(0x0,k['mergeStyles'])(this['buttonElement'],{'opacity':'1','cursor':'pointer'}),this['style']['cursor']='pointer',this['style']['pointerEvents']='auto');}['setHeight'](m){this['buttonElement']['style']['height']=m;}['setWidth'](m){this['buttonElement']['style']['width']=m;}}f['BlazeButton']=l,l['observedAttributes']=['disabled','blaze-btn-hidden','blaze-btn-visible','height','width','icon-color','order'];},0x10da:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCtaButton']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x115),q=h(0xdf6),u=h(0x2432);class v extends j['BaseWidget']{constructor(){super(),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=m['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=m['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=m['WidgetsFactory']['create']('blaze-div'),(0x0,u['mergeStyles'])(this,{'display':'none','width':'100%','cursor':'pointer','outline':'inherit'}),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','border':'1px\x20solid\x20#fff','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'](w,x,y){switch(w){case'hidden-btn':this['style']['display']='true'===y?'none':'flex';break;case'width':this['setWidth'](y);break;case'margin':this['setMargin'](y);break;case'text':this['setCtaText'](y);break;case'href':this['anchorButtonElement']['href']=y;break;case'icon-url':this['iconButtonElement']['setIconUrl'](y);break;case'icon-size':this['iconButtonElement']['setAttribute']('height',y),this['iconButtonElement']['setAttribute']('width',y);break;case'icon-color':this['iconButtonElement']['setAttribute']('icon-color',y);break;case'display-icon':this['iconButtonElement']['style']['display']='true'===y?'flex':'none';break;case'arrow-icon-display':this['iconArrowElement']['style']['display']='true'===y?'flex':'none';break;case'arrow-icon-color':this['iconArrowElement']['setAttribute']('icon-color',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']=!0x0);}['animateButton'](w){this['animateElement'](this['anchorButtonElement'],w,0x2,3.5*k['ONE_SECOND'],0x1);}['animateIcon'](w){this['animateElement'](this['iconArrowElement'],w,0x3,k['ONE_SECOND'],0x3);}['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);}['setCtaText'](w){this['ctaTextElement']['innerText']=w;}['setWidth'](w){this['anchorButtonElement']['style']['width']=w;}['setMargin'](w){this['anchorButtonElement']['style']['margin']=w;}['setAnchorButtonStyles'](w){(0x0,u['mergeStyles'])(this['anchorButtonElement'],w);}['setCtaTextStyle'](w){(0x0,u['mergeStyles'])(this['ctaTextElement'],w);}['setCtaIconStyles'](w){(0x0,u['mergeStyles'])(this['iconButtonElement'],w);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](w=>clearTimeout(w)),this['animationTimeouts']=[];}}g['BlazeCtaButton']=v,v['observedAttributes']=['hidden-btn','height','width','margin','text','href','icon-url','icon-size','icon-color','arrow-icon-display','arrow-icon-color','display-icon'];},0x1457:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22c1),f),j(g(0x89b),f),j(g(0x10da),f);},0x22c1:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeShareButton']=void 0x0;const h=g(0x1133),j=g(0x22d9),k=g(0x115);class l extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','button-type'];}get['size'](){return this['getAttribute']('size');}set['size'](m){this['setAttribute']('size',m);}set['type'](m){this['setAttribute']('button-type',m);}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}['connectedCallback'](){this['onClick']&&this['addEventListener']('click',this['onClick']['bind'](this)),this['setStyle']({'display':'flex','gap':'.3rem','flexDirection':'column','alignItems':'center','maxWidth':'3.5rem'});}['disconnectedCallback'](){this['onClick']&&this['removeEventListener']('click',this['onClick']['bind'](this));}['attributeChangedCallback'](m,p,q){switch(m){case'size':this['onSizeChange'](this['getAttribute'](m));break;case'button-type':this['onTypeChange'](this['getAttribute'](m));}}['onSizeChange'](m='medium'){this['style']['fontSize']=this['fontSize'];}['onTypeChange'](m){'copy-link'===m&&this['createButton']('Copy\x20Link',k['IconLink']);}['createButton'](m,p){const q=j['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','backgroundColor':'#b1b1b1'});const u=j['WidgetsFactory']['create']('blaze-div');u['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 v=j['WidgetsFactory']['create']('blaze-typography');v['text']=m,v['setStyle']({'textAlign':'center'}),q['append'](u),this['append'](q),this['append'](v);}}f['BlazeShareButton']=l;},0x21bf:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeChip']=void 0x0;const h=g(0x1133),j=g(0x132a);class k extends h['BaseWidget']{constructor(){super();}['connectedCallback'](){this['style']['position']='absolute',this['style']['backgroundColor']='',this['style']['justifySelf']='center',this['style']['borderColor']=j['Colors']['White'],this['style']['borderStyle']='solid',this['style']['lineHeight']='1',this['innerText']='';}}f['BlazeChip']=k;},0x596:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDiv']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}}f['BlazeDiv']=j;},0x25e0:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});},j=this&&this['__importDefault']||function(u){return u&&u['__esModule']?u:{'default':u};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDrawer']=void 0x0;const k=j(g(0xad8)),m=g(0x1133),p=g(0x22d9);class q extends m['BaseWidget']{constructor(){super(),this['isOpen']=!0x1,this['backdropContainer']=p['WidgetsFactory']['create']('blaze-div'),this['drawerContainer']=p['WidgetsFactory']['create']('blaze-div');}get['drawerContainerHeight'](){var u,v;return(null===(u=this['drawerOptions'])||void 0x0===u?void 0x0:u['height'])||(null===(v=this['drawerComponent'])||void 0x0===v?void 0x0:v['style']['height'])||'1rem';}static get['observedAttributes'](){return['open','background-color','border-color','border-radius'];}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['drawerContainer']);}['disconnectedCallback'](){}['attributeChangedCallback'](u,v,w){switch(u){case'open':this['onOpenChange'](this['getAttribute'](u));break;case'background-color':this['drawerContainer']['setStyle']({'backgroundColor':w});break;case'border-color':this['drawerContainer']['setStyle']({'border':'1px\x20solid\x20'+w});break;case'border-radius':this['drawerContainer']['setStyle']({'borderRadius':w});}}['onOpenChange'](u){return h(this,void 0x0,void 0x0,function*(){u?(this['backdropContainer']['setStyle']({'display':'block'}),this['drawerContainer']['setStyle']({'display':'block'}),yield this['animateDrawer'](!0x0,this['drawerOptions'])):(yield this['animateDrawer'](!0x1,this['drawerOptions']),this['backdropContainer']['setStyle']({'display':'none'}),this['drawerContainer']['setStyle']({'display':'none'}));});}['setAttribute'](u,v){super['setAttribute'](u,v);}['onBackdropClick'](){this['close']();}['init'](u){const {component:v}=u;this['drawerOptions']=u,this['drawerComponent']=v,this['drawerContainer']['append'](v),this['buildBackdrop'](),this['buildModal']();}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#000','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':'1','borderRadius':'desktop'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){this['drawerContainer']['id']='blaze-modal',this['drawerContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#FFF','bottom':'-'+this['drawerContainerHeight'],'left':'0','right':'0','borderTopRightRadius':'.5rem','borderTopLeftRadius':'.5rem','height':this['drawerContainerHeight'],'zIndex':'5'});}['open'](){return h(this,void 0x0,void 0x0,function*(){var u;this['setAttribute']('open','true'),null===(u=this['onOpen'])||void 0x0===u||u['call'](this);});}['close'](){return h(this,void 0x0,void 0x0,function*(){var u;this['setAttribute']('open','false'),null===(u=this['onClose'])||void 0x0===u||u['call'](this);});}['animateDrawer'](u,v){return h(this,void 0x0,void 0x0,function*(){if(v)return new Promise(w=>{const x=this['querySelector']('#blaze-modal');if(!x)return;let y={'targets':x,'duration':0xc8,'easing':'easeInQuad','complete':()=>w()};if(v){switch(v['anchor']){case'top':case'right':case'left':break;case'bottom':y=Object['assign'](Object['assign']({},y),{'bottom':u?'0':'-'+this['drawerContainerHeight']});}(0x0,k['default'])(y);}});});}}f['BlazeDrawer']=q;},0x21e0:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeImage']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['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');}['load'](k){this['thumbnailElement']['src']=k,this['append'](this['thumbnailElement']);}['setHeight'](k){this['thumbnailElement']['style']['height']=k;}['setRatio'](k){this['style']['aspectRatio']=k;}['setBorderRadius'](k){this['style']['borderRadius']=k;}['setAccessibility'](k){this['thumbnailElement']['alt']=k,this['thumbnailElement']['ariaLabel']=k;}}f['BlazeImage']=j;},0x1699:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x443),f),j(g(0x1457),f),j(g(0x21bf),f),j(g(0x596),f),j(g(0x25e0),f),j(g(0x21e0),f),j(g(0xc5e),f),j(g(0x239a),f),j(g(0x1a00),f);},0xc5e:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeLoader']=void 0x0;const h=g(0x164);class j extends HTMLElement{constructor(){super();const k=this['attachShadow']({'mode':'open'}),l=document['createElement']('style');l['textContent']='\x0a\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20',k['appendChild'](l);}['connectedCallback'](){var k;(0x0,h['mergeStyles'])(this,{'display':'block','border':'solid\x203px\x20#fff','borderRadius':'50%','borderRightColor':'transparent','borderBottomColor':'transparent','transition':'transform\x201s\x20linear'}),null===(k=this['animate'])||void 0x0===k||k['call'](this,[{'transform':'rotate(0)'},{'transform':'rotate(360deg)'}],{'duration':0x3e8,'iterations':Number['POSITIVE_INFINITY'],'easing':'linear'});}}f['BlazeLoader']=j;},0x239a:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetItemSkeleton']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(k,l,m,p){super(),this['width']=l,this['thumbnailHeight']=m,this['labelHeight']=p,this['style']['width']=l+'px',this['layoutStyle']=k;}['connectedCallback'](){var k;if(this['shadowRoot'])return;const l=this['attachShadow']({'mode':'open'}),m=document['createElement']('style');m['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x20/*\x20Ensure\x20the\x20skeleton\x20stays\x20within\x20the\x20element\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+(null===(k=this['layoutStyle'])||void 0x0===k?void 0x0:k['borderRadius'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+this['thumbnailHeight']+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+(this['labelHeight']-(0x0===this['layoutStyle']['labelStyle']['gap']?0x4:this['layoutStyle']['labelStyle']['gap']))+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20loading\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20-100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',l['appendChild'](m);const p=document['createElement']('div');p['classList']['add']('thumbnail-loader');const q=document['createElement']('div');this['layoutStyle']['labelStyle']['isVisible']&&q['classList']['add']('label-loader'),l['appendChild'](p),this['layoutStyle']['labelStyle']['isVisible']&&l['appendChild'](q);}}f['BlazeWidgetItemSkeleton']=j,customElements['get']('blaze-widget-item-skeleton')||customElements['define']('blaze-widget-item-skeleton',j);},0x1a00:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTypography']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','text'];}get['size'](){return this['getAttribute']('size');}set['size'](k){this['setAttribute']('size',k);}get['text'](){return this['getAttribute']('size');}set['text'](k){this['setAttribute']('text',k);}['connectedCallback'](){}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'size':this['onSizeChange'](m);break;case'text':this['onTextChange'](m);}}['onSizeChange'](k){this['setStyle']({'fontSize':this['fontSize']});}['onTextChange'](k){this['innerHTML']=k;}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}}f['BlazeTypography']=j;},0x6a3:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['IMA_RATIOS']=void 0x0,f['IMA_RATIOS']={'general':'1x1','horizontal':'640x480','vertical':'1080x1920'};},0x7b9:(j,k)=>{'use strict';var q,x,z,A,B,D;Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['exposedFieldsByAction']=k['MomentToAdActionMapper']=k['StoryToAdActionMapper']=k['InteractionAction']=k['ImaAdAction']=k['AdAction']=k['WidgetAction']=k['MomentAction']=k['StoryAction']=void 0x0,function(Y){Y['Start']='story_start',Y['Exit']='story_exit',Y['PageStart']='story_page_start',Y['PageExit']='story_page_exit',Y['CtaClick']='cta_click',Y['Audio']='audio',Y['ShareClick']='share_click',Y['ShareSelect']='share_select',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play',Y['Expand']='expand',Y['Minimize']='minimize',Y['ClosedCaptionsOff']='cc_off',Y['ClosedCaptionsOn']='cc_on';}(q||(k['StoryAction']=q={})),function(Y){Y['MomentsPlaylistStart']='moments_playlist_start',Y['MomentsPlaylistExit']='moments_playlist_exit',Y['MomentStart']='moment_start',Y['MomentExit']='moment_exit',Y['CtaClick']='cta_click',Y['Like']='like',Y['Unlike']='unlike',Y['Audio']='audio',Y['ShareClick']='share_click',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play',Y['ClosedCaptionsOff']='cc_off',Y['ClosedCaptionsOn']='cc_on';}(x||(k['MomentAction']=x={})),function(Y){Y['Load']='widget_load',Y['Visible']='widget_visible',Y['Click']='widget_click';}(z||(k['WidgetAction']=z={})),function(Y){Y['View']='ad_view',Y['Exit']='ad_exit',Y['Click']='ad_click',Y['BannerView']='banner_ad_view',Y['BannerLoad']='banner_ad_load',Y['BannerClick']='banner_ad_click';}(A||(k['AdAction']=A={})),function(Y){Y['ALL_ADS_COMPLETED']='ima_all_ads_completed',Y['CLICK']='ima_ad_clicked',Y['COMPLETED']='ima_ad_completed',Y['LOADED']='ima_ad_loaded',Y['PAUSED']='ima_ad_paused',Y['RESUMED']='ima_ad_resumed',Y['SKIPPED']='ima_ad_skipped',Y['STARTED']='ima_ad_started',Y['FIRST_QUARTILE']='ima_ad_first_quartile',Y['MIDPOINT']='ima_ad_midpoint',Y['THIRD_QUARTILE']='ima_ad_third_quartile';}(B||(k['ImaAdAction']=B={})),function(Y){Y['VIEW']='interaction_view',Y['ANSWER']='interaction_answer',Y['AUDIO']='audio',Y['ShareClick']='share_click',Y['ShareSelect']='share_select',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play';}(D||(k['InteractionAction']=D={}));const E='labels_expression',F='story_id',G='story_title',H='audio_state',J='player_type',K='content_type',L='playback_action_method',N='cc_state',O='skip_config',P=['timestamp_utc','timestamp_user_tz','sdk_version','sdk_type','event_category','event_action','event_type','generated_user_id','external_user_id','content_extra_info'],Q=['origin_widget_id','origin_widget_name','origin_widget_type','origin_placement_id','origin_placement_name'],R=['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'],T=['content_id',K,'content_name'],U=['story_session_id',F,G,'story_page_id','story_page_index','story_page_count','story_page_duration'],V=['moments_session_id','moment_id','moment_title','moment_index','loop_number','moment_duration'],W=['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',L,O],X=[E,H,J,N];k['StoryToAdActionMapper']={[q['PageStart']]:A['View'],[q['PageExit']]:A['Exit'],[q['CtaClick']]:A['Click']},k['MomentToAdActionMapper']={[x['MomentStart']]:A['View'],[x['MomentExit']]:A['Exit'],[x['CtaClick']]:A['Click']},k['exposedFieldsByAction']={[q['Start']]:[...P,...Q,...U,...X,'story_start_trigger'],[q['Exit']]:[...P,...Q,...U,...X,'story_exit_trigger','content_duration_viewed'],[q['PageStart']]:[...P,...Q,...U,...X],[q['PageExit']]:[...P,...Q,...U,...X,'story_page_navigation_type','story_page_navigation_direction','story_page_duration_viewed_percent'],[q['CtaClick']]:[...P,...Q,...U,...X],[q['Audio']]:[...P,...Q,...U,...X],[q['ShareClick']]:[...P,...Q,...U,...X],[q['ShareSelect']]:[...P,...Q,...U,...X],[q['ShareSuccess']]:[...P,...Q,...U,...X],[q['PlaybackPause']]:[...P,...Q,...U,...X,L],[q['PlaybackPlay']]:[...P,...Q,...U,...X,L],[q['ClosedCaptionsOff']]:[...P,...Q,...U,...X],[q['ClosedCaptionsOn']]:[...P,...Q,...U,...X],[x['MomentsPlaylistStart']]:[...P,...Q,...V,...X,'moment_start_trigger'],[x['MomentsPlaylistExit']]:[...P,...Q,...V,...X,'moment_exit_trigger'],[x['MomentStart']]:[...P,...Q,...V,...X],[x['MomentExit']]:[...P,...Q,...V,...X,'moment_navigation_type','moment_navigation_direction','moment_duration_viewed_percent'],[x['Like']]:[...P,...Q,...V,...X],[x['Unlike']]:[...P,...Q,...V,...X],['$'+x['CtaClick']]:[...P,...Q,...V,...X],['$'+x['Audio']]:[...P,...Q,...V,...X],['$'+x['ShareClick']]:[...P,...Q,...V,...X],['$'+x['ShareSuccess']]:[...P,...Q,...V,...X],['$'+x['PlaybackPause']]:[...P,...Q,...V,...X,L],['$'+x['PlaybackPlay']]:[...P,...Q,...V,...X,L],['$'+x['ClosedCaptionsOn']]:[...P,...Q,...V,...X,N],['$'+x['ClosedCaptionsOff']]:[...P,...Q,...V,...X,N],[z['Load']]:[...P,...R,E,J],[z['Visible']]:[...P,...R,E,J],[z['Click']]:[...P,...R,...T,J,E],[A['View']]:[...P,...Q,...W,L,H,F,G,O,K,J],[A['Exit']]:[...P,...Q,...W,L,H,F,G,O,K,J]};},0x2152:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['TRANSPARENT']=void 0x0,f['TRANSPARENT']='transparent';},0x3c1:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ASPECT_RATIO_4_3_STRING']=f['ASPECT_RATIO_9_16_STRING']=f['ASPECT_RATIO_16_9_STRING']=f['ASPECT_RATIO_4_3']=f['ASPECT_RATIO_9_16']=f['ASPECT_RATIO_16_9']=f['DESKTOP_PADDING_BOTTOM']=f['TABLET_PADDING_BOTTOM']=void 0x0,f['TABLET_PADDING_BOTTOM']='15px',f['DESKTOP_PADDING_BOTTOM']='40px',f['ASPECT_RATIO_16_9']=0x10/0x9,f['ASPECT_RATIO_9_16']=0x9/0x10,f['ASPECT_RATIO_4_3']=0x4/0x3,f['ASPECT_RATIO_16_9_STRING']='16\x20/\x209',f['ASPECT_RATIO_9_16_STRING']='9\x20/\x2016',f['ASPECT_RATIO_4_3_STRING']='4\x20/\x203';},0x1932:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(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);},0x24f0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CountryCodes']=void 0x0,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'];},0x1054:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MIN_PADDING_BOTTOM']=f['DEFAULT_CTA_HEIGHT']=void 0x0,f['DEFAULT_CTA_HEIGHT']=0x28,f['MIN_PADDING_BOTTOM']=0xa;},0x23b6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FAIL_TO_LOAD_TIMEOUT_MS']=f['ONE_AND_HALF_SECOND']=f['ONE_SECOND']=void 0x0,f['ONE_SECOND']=0x3e8,f['ONE_AND_HALF_SECOND']=0x5dc,f['FAIL_TO_LOAD_TIMEOUT_MS']=0xbb8;},0x1c93:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Database']=void 0x0;const j=g(0x11c1);f['Database']=class{constructor(k){this['options']=k;}['init'](k){return h(this,void 0x0,void 0x0,function*(){try{this['dbInstance']=yield new Promise((l,m)=>{const p=indexedDB['open'](this['options']['databaseName'],this['options']['version']);p['addEventListener']('success',()=>h(this,void 0x0,void 0x0,function*(){l(p['result']),yield new Promise(q=>{setTimeout(()=>h(this,void 0x0,void 0x0,function*(){var r;yield null===(r=k['onOpen'])||void 0x0===r?void 0x0:r['call'](k,p['result']),q();}),0x96);});})),p['addEventListener']('upgradeneeded',q=>h(this,void 0x0,void 0x0,function*(){var r;l(p['result']),yield null===(r=k['onUpgradeNeeded'])||void 0x0===r?void 0x0:r['call'](k,p['result']);})),p['addEventListener']('error',q=>h(this,void 0x0,void 0x0,function*(){var r;m(q),yield null===(r=k['onError'])||void 0x0===r?void 0x0:r['call'](k,q);}));});}catch(l){}});}['createTransaction'](k,l){var m,p;try{return null===(p=null===(m=this['dbInstance'])||void 0x0===m?void 0x0:m['transaction'])||void 0x0===p?void 0x0:p['call'](m,[k],l)['objectStore'](k);}catch(q){}}['get'](k,l){return h(this,void 0x0,void 0x0,function*(){try{const m=this['createTransaction'](k,'readonly');if(!m)throw new Error('Transaction\x20not\x20created.');const p=m['get'](l);return yield new Promise(q=>{p['onerror']=()=>{q({'data':{},'error':new Error('Failed\x20get')});},p['onsuccess']=()=>{q({'data':p['result']});};});}catch(q){return yield this['clearAndRecreateDatabase'](),{'data':{},'error':q};}});}['update'](k,l){return h(this,void 0x0,void 0x0,function*(){try{const m={},p=yield this['createTransaction'](k,'readwrite');if(!p)throw new Error('Transaction\x20not\x20created.');const q=p['put'](l);return yield new Promise(r=>{q['onerror']=()=>{r(Object['assign'](Object['assign']({},m),{'error':new Error('Failed\x20update')}));},q['onsuccess']=()=>{const s=q['result'];r(Object['assign'](Object['assign']({},m),{'data':s}));};});}catch(r){return yield this['clearAndRecreateDatabase'](),{'data':{},'error':r};}});}['clearAndRecreateDatabase'](){return h(this,void 0x0,void 0x0,function*(){var k;null===(k=this['dbInstance'])||void 0x0===k||k['close'](),indexedDB['deleteDatabase'](this['options']['databaseName'])['onsuccess']=()=>{j['DatabaseService']['init']();};});}};},0xe1c:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c93),f);},0x2ab:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xb8a:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1725:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25e6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x2ab),f),j(g(0xb8a),f),j(g(0x1725),f),j(g(0x93),f),j(g(0x2006),f),j(g(0x6de),f),j(g(0x1d49),f),j(g(0x19d6),f),j(g(0x2fb),f),j(g(0x12fa),f),j(g(0xab7),f);},0x93:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['INTERACTION_ANALYTICS']=f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']=void 0x0,f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']={'correctAnswerFeedback':[0x0,0x64,0x32,0x32,0x0,0xff,0x0,0xff],'wrongAnswerFeedback':[0x0,0xc8,0x32,0xc8,0x0,0xc8,0x0,0xc8],'selectionFeedback':[0x0,0x50,0x0,0xc8]},f['INTERACTION_ANALYTICS']='INTERACTION_ANALYTICS';},0x2006:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x6de:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d49:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x19d6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2fb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x12fa:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xab7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x969:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorCode']=void 0x0,function(h){h[h['FailedToFindContainerId']=0x1]='FailedToFindContainerId',h[h['FailedContainerIdHasWidgetAlready']=0x2]='FailedContainerIdHasWidgetAlready',h[h['FailedLoadingAppConfigurations']=0x3]='FailedLoadingAppConfigurations',h[h['FailedLoadingStories']=0x64]='FailedLoadingStories',h[h['FailedEnrichStories']=0x65]='FailedEnrichStories',h[h['FailedToHaveLabels']=0x67]='FailedToHaveLabels',h[h['FailedLoadingMoments']=0x6e]='FailedLoadingMoments',h[h['FailedEnrichMoments']=0x6f]='FailedEnrichMoments',h[h['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={}));},0x9ca:(d,f)=>{'use strict';var g,h;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InternalEvent']=f['Delegation']=void 0x0,function(j){j['onEventTriggered']='blaze-event-triggered',j['onErrorThrown']='blaze-error-event',j['onPlayerDidAppear']='blaze-player-did-appear',j['onPlayerDismissed']='blaze-player-dismissed',j['onGetAds']='blaze-get-ads',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['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['BANNER_ANALYTICS']='banner_analytics';}(h||(f['InternalEvent']=h={}));},0x1e19:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HttpStatus']=void 0x0,f['HttpStatus']={'Ok':0xc8,'Created':0xc9,'NoContent':0xcc,'BadRequest':0x190,'Unauthorized':0x191,'Forbidden':0x193,'NotFound':0x194,'InternalServerError':0x1f4};},0x26ed:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x969),f),j(g(0x9ca),f),j(g(0x1e19),f);},0x21b0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsFactory']=void 0x0,f['WidgetsFactory']=class{static['create'](g,h){return document['createElement'](g,h);}static['define'](g,h,j){customElements['get'](g)||customElements['define'](g,h,j);}static['whenDefined'](g){return customElements['whenDefined'](g);}};},0x22d9:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21b0),f),j(g(0x1c8c),f);},0x1c8c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayerViewFactory']=void 0x0;const j=g(0x1133),k=g(0x26ed),l=g(0x11c1),m=g(0x23a6);f['PlayerViewFactory']=class{static['create'](p,q){return h(this,void 0x0,void 0x0,function*(){var v,w,x;if(!p)return;const z=document['getElementsByTagName']('blaze-sdk')[0x0];if(!z)return;let A;'labels'===p['type']?'string'==typeof p['labels']?A=p['labels']:Array['isArray'](p['labels'])?A=p['labels']['join'](','):p['labels']instanceof j['BlazeWidgetLabel']&&(A=p['labels']['toString']()):'ids'===p['type']&&(A=null===(v=p['ids'])||void 0x0===v?void 0x0:v['join'](','));const B=yield l['StoryService']['fetchContent'](p);if(!(null===(w=null==B?void 0x0:B['result'])||void 0x0===w?void 0x0:w['length']))throw l['EventService']['dispatch'](z,k['Delegation']['onErrorThrown'],{'id':A,'errorCode':k['ErrorCode']['FailedLoadingStories']}),new Error('Failed\x20to\x20load\x20stories');l['ConfigService']['excludeContentId']&&(B['result']=B['result']['filter'](F=>{var G;return!(null===(G=l['ConfigService']['excludeContentId'])||void 0x0===G?void 0x0:G['includes'](F['id']));}));const C=new m['BlazeWidgetStoryModal'](document['createElement']('div'),q),D='blaze-story-modal-'+Math['random']()['toString'](0x24);C['id']=D,C['playerLayout']=q;let E=[];try{E=yield l['StoryService']['enrichStories'](null==B?void 0x0:B['result']);}catch(F){l['EventService']['dispatch'](z,k['Delegation']['onErrorThrown'],{'id':A,'errorCode':k['ErrorCode']['FailedEnrichStories']}),E=null==B?void 0x0:B['result'];}E['sort']((G,H)=>{const I=G['pages']['every'](K=>K['hasViewed']),J=H['pages']['every'](K=>K['hasViewed']);return I&&!J?0x1:!I&&J?-0x1:0x0;}),C['setModalContent'](E,0x0,null==B?void 0x0:B['defaultAdsInfo']),C['player']['contentList']['forEach'](G=>h(this,void 0x0,void 0x0,function*(){G['startTrigger']='UI\x20Button',G['resetStoryLocationIndexToLastUnseen']();})),C['seek'](null!==(x=E[0x0]['id'])&&void 0x0!==x?x:''),z['appendChild'](C),C['open'](),C['onClose']=()=>{C['remove']();};});}};},0x2033:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x430),f);},0x430:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isWidgetTheme']=void 0x0,f['isWidgetTheme']=function(g){return'object'==typeof g&&null!==g&&'layoutStyle'in g&&'playerStyle'in g;};},0x115:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x636),f);},0x636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['closedCaptionsOffIconSvg']=f['closedCaptionsOnIconSvg']=f['newPageIcon']=f['arrowUpMomentIconSvg']=f['arrowDownMomentIconSvg']=f['fullscreenIconSvg']=f['externalLinkIconSvg']=f['arrowUpCtaIconSvg']=f['pauseResumeIconSvg']=f['playResumeIconSvg']=f['restartIconSvg']=f['prevPageIconSvg']=f['nextPageIconSvg']=f['prevStoryIconSvg']=f['nextStoryIconSvg']=f['closeIconSvg']=f['shareIconSvg']=f['muteIconSvg']=f['unmuteIconSvg']=f['pauseIconSvg']=f['playIconSvg']=f['IconGlobe']=f['IconLink']=f['ShareIconSvg']=f['likeIconSvg']=f['unlikeIconSvg']=void 0x0,f['unlikeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyOCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMDMgMjVMMTIuMDY3IDIzLjI2NjdDOS44MjI1NSAyMS4yNDQ1IDcuOTY2OTkgMTkuNSA2LjUwMDMzIDE4LjAzMzRDNS4wMzM2NiAxNi41NjY3IDMuODY2OTkgMTUuMjUgMy4wMDAzMyAxNC4wODM0QzIuMTMzNjYgMTIuOTE2NyAxLjUyODEgMTEuODQ0NSAxLjE4MzY2IDEwLjg2NjdDMC44MzkyMTQgOS44ODg5MSAwLjY2Njk5MiA4Ljg4ODkxIDAuNjY2OTkyIDcuODY2NjlDMC42NjY5OTIgNS43Nzc4IDEuMzY2OTkgNC4wMzMzNiAyLjc2Njk5IDIuNjMzMzZDNC4xNjY5OSAxLjIzMzM2IDUuOTExNDQgMC41MzMzNTYgOC4wMDAzMyAwLjUzMzM1NkM5LjE1NTg4IDAuNTMzMzU2IDEwLjI1NTkgMC43Nzc4IDExLjMwMDMgMS4yNjY2OUMxMi4zNDQ4IDEuNzU1NTggMTMuMjQ0OCAyLjQ0NDQ3IDE0LjAwMDMgMy4zMzMzNkMxNC43NTU5IDIuNDQ0NDcgMTUuNjU1OSAxLjc1NTU4IDE2LjcwMDMgMS4yNjY2OUMxNy43NDQ4IDAuNzc3OCAxOC44NDQ4IDAuNTMzMzU2IDIwLjAwMDMgMC41MzMzNTZDMjIuMDg5MiAwLjUzMzM1NiAyMy44MzM3IDEuMjMzMzYgMjUuMjMzNyAyLjYzMzM2QzI2LjYzMzcgNC4wMzMzNiAyNy4zMzM3IDUuNzc3OCAyNy4zMzM3IDcuODY2NjlDMjcuMzMzNyA4Ljg4ODkxIDI3LjE2MTQgOS44ODg5MSAyNi44MTcgMTAuODY2N0MyNi40NzI1IDExLjg0NDUgMjUuODY3IDEyLjkxNjcgMjUuMDAwMyAxNC4wODM0QzI0LjEzMzcgMTUuMjUgMjIuOTY3IDE2LjU2NjcgMjEuNTAwMyAxOC4wMzM0QzIwLjAzMzcgMTkuNSAxOC4xNzgxIDIxLjI0NDUgMTUuOTMzNyAyMy4yNjY3TDE0LjAwMDMgMjVaTTE0LjAwMDMgMjEuNEMxNi4xMzM3IDE5LjQ4ODkgMTcuODg5MiAxNy44NSAxOS4yNjcgMTYuNDgzNEMyMC42NDQ4IDE1LjExNjcgMjEuNzMzNyAxMy45Mjc4IDIyLjUzMzcgMTIuOTE2N0MyMy4zMzM3IDExLjkwNTYgMjMuODg5MiAxMS4wMDU2IDI0LjIwMDMgMTAuMjE2N0MyNC41MTE0IDkuNDI3OCAyNC42NjcgOC42NDQ0NyAyNC42NjcgNy44NjY2OUMyNC42NjcgNi41MzMzNiAyNC4yMjI1IDUuNDIyMjQgMjMuMzMzNyA0LjUzMzM2QzIyLjQ0NDggMy42NDQ0NyAyMS4zMzM3IDMuMjAwMDIgMjAuMDAwMyAzLjIwMDAyQzE4Ljk1NTkgMy4yMDAwMiAxNy45ODkyIDMuNDk0NDcgMTcuMTAwMyA0LjA4MzM2QzE2LjIxMTQgNC42NzIyNSAxNS42MDAzIDUuNDIyMjQgMTUuMjY3IDYuMzMzMzZIMTIuNzMzN0MxMi40MDAzIDUuNDIyMjQgMTEuNzg5MiA0LjY3MjI1IDEwLjkwMDMgNC4wODMzNkMxMC4wMTE0IDMuNDk0NDcgOS4wNDQ3NyAzLjIwMDAyIDguMDAwMzMgMy4yMDAwMkM2LjY2Njk5IDMuMjAwMDIgNS41NTU4OCAzLjY0NDQ3IDQuNjY2OTkgNC41MzMzNkMzLjc3ODEgNS40MjIyNCAzLjMzMzY2IDYuNTMzMzYgMy4zMzM2NiA3Ljg2NjY5QzMuMzMzNjYgOC42NDQ0NyAzLjQ4OTIxIDkuNDI3OCAzLjgwMDMzIDEwLjIxNjdDNC4xMTE0NCAxMS4wMDU2IDQuNjY2OTkgMTEuOTA1NiA1LjQ2Njk5IDEyLjkxNjdDNi4yNjY5OSAxMy45Mjc4IDcuMzU1ODggMTUuMTE2NyA4LjczMzY2IDE2LjQ4MzRDMTAuMTExNCAxNy44NSAxMS44NjcgMTkuNDg4OSAxNC4wMDAzIDIxLjRaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['likeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDE4Ljk5OTlMOC41NSAxNy42OTk5QzYuODY2NjcgMTYuMTgzMiA1LjQ3NSAxNC44NzQ5IDQuMzc1IDEzLjc3NDlDMy4yNzUgMTIuNjc0OSAyLjQgMTEuNjg3NCAxLjc1IDEwLjgxMjRDMS4xIDkuOTM3NCAwLjY0NTgzMyA5LjEzMzI0IDAuMzg3NSA4LjM5OTlDMC4xMjkxNjcgNy42NjY1NyAwIDYuOTE2NTcgMCA2LjE0OTlDMCA0LjU4MzI0IDAuNTI1IDMuMjc0OSAxLjU3NSAyLjIyNDlDMi42MjUgMS4xNzQ5IDMuOTMzMzMgMC42NDk5MDIgNS41IDAuNjQ5OTAyQzYuMzY2NjcgMC42NDk5MDIgNy4xOTE2NyAwLjgzMzIzNiA3Ljk3NSAxLjE5OTlDOC43NTgzMyAxLjU2NjU3IDkuNDMzMzMgMi4wODMyNCAxMCAyLjc0OTlDMTAuNTY2NyAyLjA4MzI0IDExLjI0MTcgMS41NjY1NyAxMi4wMjUgMS4xOTk5QzEyLjgwODMgMC44MzMyMzYgMTMuNjMzMyAwLjY0OTkwMiAxNC41IDAuNjQ5OTAyQzE2LjA2NjcgMC42NDk5MDIgMTcuMzc1IDEuMTc0OSAxOC40MjUgMi4yMjQ5QzE5LjQ3NSAzLjI3NDkgMjAgNC41ODMyNCAyMCA2LjE0OTlDMjAgNi45MTY1NyAxOS44NzA4IDcuNjY2NTcgMTkuNjEyNSA4LjM5OTlDMTkuMzU0MiA5LjEzMzI0IDE4LjkgOS45Mzc0IDE4LjI1IDEwLjgxMjRDMTcuNiAxMS42ODc0IDE2LjcyNSAxMi42NzQ5IDE1LjYyNSAxMy43NzQ5QzE0LjUyNSAxNC44NzQ5IDEzLjEzMzMgMTYuMTgzMiAxMS40NSAxNy42OTk5TDEwIDE4Ljk5OTlaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['ShareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi45NDczIDIzLjM3NDhDMTMuMSAyMy43NTI2IDEzLjQ2NjggMjQgMTMuODc0NCAyNEgxNC4zNzE5QzE0Ljc4OTYgMjQgMTUuMTYzMyAyMy43NDAzIDE1LjMwOSAyMy4zNDg4TDIzLjIzNzUgMi4wNDg1QzIzLjUzNjIgMS4yNDYwNCAyMi43NTM5IDAuNDYzNzg1IDIxLjk1MTUgMC43NjI0OEwwLjY1MTE2IDguNjkwOTNDMC4yNTk2NjUgOC44MzY2NSAwIDkuMjEwMzcgMCA5LjYyODExVjEwLjEyNTZDMCAxMC41MzMyIDAuMjQ3MzQ5IDEwLjkgMC42MjUyMTEgMTEuMDUyN0w5LjQgMTQuNkwxMi45NDczIDIzLjM3NDhaTTE4LjM1MTggNy41MzM4OUwxNC4wNjY3IDE5LjA2NjZMMTIuMDAzNSAxMy44ODIyTDE4LjM1MTggNy41MzM4OVpNMTYuNDY2MyA1LjY0ODEyTDEwLjExNzkgMTEuOTk2NUw0LjkzMzMzIDkuOTMzMzFMMTYuNDY2MyA1LjY0ODEyWiIgZmlsbD0iI0YwRjBGMCIvPgo8L3N2Zz4K',f['IconLink']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2210\x22\x20viewBox=\x220\x200\x2020\x2010\x22\x20fill=\x22none\x22><path\x20d=\x22M9\x2010H5C3.61667\x2010\x202.4375\x209.5125\x201.4625\x208.5375C0.4875\x207.5625\x200\x206.38333\x200\x205C0\x203.61667\x200.4875\x202.4375\x201.4625\x201.4625C2.4375\x200.4875\x203.61667\x200\x205\x200H9V2H5C4.16667\x202\x203.45833\x202.29167\x202.875\x202.875C2.29167\x203.45833\x202\x204.16667\x202\x205C2\x205.83333\x202.29167\x206.54167\x202.875\x207.125C3.45833\x207.70833\x204.16667\x208\x205\x208H9V10ZM6\x206V4H14V6H6ZM11\x2010V8H15C15.8333\x208\x2016.5417\x207.70833\x2017.125\x207.125C17.7083\x206.54167\x2018\x205.83333\x2018\x205C18\x204.16667\x2017.7083\x203.45833\x2017.125\x202.875C16.5417\x202.29167\x2015.8333\x202\x2015\x202H11V0H15C16.3833\x200\x2017.5625\x200.4875\x2018.5375\x201.4625C19.5125\x202.4375\x2020\x203.61667\x2020\x205C20\x206.38333\x2019.5125\x207.5625\x2018.5375\x208.5375C17.5625\x209.5125\x2016.3833\x2010\x2015\x2010H11Z\x22\x20fill=\x22white\x22\x20fill-opacity=\x220.92\x22/></svg>',f['IconGlobe']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20fill=\x22none\x22><path\x20d=\x22M10\x2020C8.61667\x2020\x207.31667\x2019.7375\x206.1\x2019.2125C4.88333\x2018.6875\x203.825\x2017.975\x202.925\x2017.075C2.025\x2016.175\x201.3125\x2015.1167\x200.7875\x2013.9C0.2625\x2012.6833\x200\x2011.3833\x200\x2010C0\x208.61667\x200.2625\x207.31667\x200.7875\x206.1C1.3125\x204.88333\x202.025\x203.825\x202.925\x202.925C3.825\x202.025\x204.88333\x201.3125\x206.1\x200.7875C7.31667\x200.2625\x208.61667\x200\x2010\x200C11.3833\x200\x2012.6833\x200.2625\x2013.9\x200.7875C15.1167\x201.3125\x2016.175\x202.025\x2017.075\x202.925C17.975\x203.825\x2018.6875\x204.88333\x2019.2125\x206.1C19.7375\x207.31667\x2020\x208.61667\x2020\x2010C20\x2011.3833\x2019.7375\x2012.6833\x2019.2125\x2013.9C18.6875\x2015.1167\x2017.975\x2016.175\x2017.075\x2017.075C16.175\x2017.975\x2015.1167\x2018.6875\x2013.9\x2019.2125C12.6833\x2019.7375\x2011.3833\x2020\x2010\x2020ZM9\x2017.95V16C8.45\x2016\x207.97917\x2015.8042\x207.5875\x2015.4125C7.19583\x2015.0208\x207\x2014.55\x207\x2014V13L2.2\x208.2C2.15\x208.5\x202.10417\x208.8\x202.0625\x209.1C2.02083\x209.4\x202\x209.7\x202\x2010C2\x2012.0167\x202.6625\x2013.7833\x203.9875\x2015.3C5.3125\x2016.8167\x206.98333\x2017.7\x209\x2017.95ZM15.9\x2015.4C16.2333\x2015.0333\x2016.5333\x2014.6375\x2016.8\x2014.2125C17.0667\x2013.7875\x2017.2875\x2013.3458\x2017.4625\x2012.8875C17.6375\x2012.4292\x2017.7708\x2011.9583\x2017.8625\x2011.475C17.9542\x2010.9917\x2018\x2010.5\x2018\x2010C18\x208.36667\x2017.5458\x206.875\x2016.6375\x205.525C15.7292\x204.175\x2014.5167\x203.2\x2013\x202.6V3C13\x203.55\x2012.8042\x204.02083\x2012.4125\x204.4125C12.0208\x204.80417\x2011.55\x205\x2011\x205H9V7C9\x207.28333\x208.90417\x207.52083\x208.7125\x207.7125C8.52083\x207.90417\x208.28333\x208\x208\x208H6V10H12C12.2833\x2010\x2012.5208\x2010.0958\x2012.7125\x2010.2875C12.9042\x2010.4792\x2013\x2010.7167\x2013\x2011V14H14C14.4333\x2014\x2014.825\x2014.1292\x2015.175\x2014.3875C15.525\x2014.6458\x2015.7667\x2014.9833\x2015.9\x2015.4Z\x22\x20fill=\x22%23131313\x22/></svg>',f['playIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3dfIGhvbGxvdyI+CjxtYXNrIGlkPSJtYXNrMF8yMTA2Xzk5NCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTA2Xzk5NCkiPgo8cGF0aCBpZD0icGxheV9hcnJvdyIgZD0iTTggMTlWNUwxOSAxMkw4IDE5Wk0xMCAxNS4zNUwxNS4yNSAxMkwxMCA4LjY1VjE1LjM1WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['pauseIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBhdXNlIj4KPG1hc2sgaWQ9Im1hc2swXzIxMTdfMiIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTE3XzIpIj4KPHBhdGggaWQ9InBhdXNlXzIiIGQ9Ik0xNCAxOVY1SDE3VjE5SDE0Wk03IDE5VjVIMTBWMTlIN1oiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['unmuteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV91cF8yIj4KPG1hc2sgaWQ9Im1hc2swXzIxMDZfOTg3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIxMDZfOTg3KSI+CjxwYXRoIGlkPSJ2b2x1bWVfdXAiIGQ9Ik0xNCAyMC43MjVWMTguNjc1QzE1LjUgMTguMjQxNiAxNi43MDgzIDE3LjQwODMgMTcuNjI1IDE2LjE3NUMxOC41NDE3IDE0Ljk0MTYgMTkgMTMuNTQxNiAxOSAxMS45NzVDMTkgMTAuNDA4MyAxOC41NDE3IDkuMDA4MzEgMTcuNjI1IDcuNzc0OThDMTYuNzA4MyA2LjU0MTY0IDE1LjUgNS43MDgzMSAxNCA1LjI3NDk4VjMuMjI0OThDMTYuMDY2NyAzLjY5MTY0IDE3Ljc1IDQuNzM3NDggMTkuMDUgNi4zNjI0OEMyMC4zNSA3Ljk4NzQ4IDIxIDkuODU4MzEgMjEgMTEuOTc1QzIxIDE0LjA5MTYgMjAuMzUgMTUuOTYyNSAxOS4wNSAxNy41ODc1QzE3Ljc1IDE5LjIxMjUgMTYuMDY2NyAyMC4yNTgzIDE0IDIwLjcyNVpNMyAxNVY4Ljk5OTk4SDdMMTIgMy45OTk5OFYyMEw3IDE1SDNaTTE0IDE2VjcuOTQ5OThDMTQuNzgzMyA4LjMxNjY0IDE1LjM5NTggOC44NjY2NCAxNS44Mzc1IDkuNTk5OThDMTYuMjc5MiAxMC4zMzMzIDE2LjUgMTEuMTMzMyAxNi41IDEyQzE2LjUgMTIuODUgMTYuMjc5MiAxMy42Mzc1IDE1LjgzNzUgMTQuMzYyNUMxNS4zOTU4IDE1LjA4NzUgMTQuNzgzMyAxNS42MzMzIDE0IDE2Wk0xMCA4Ljg0OTk4TDcuODUgMTFINVYxM0g3Ljg1TDEwIDE1LjE1VjguODQ5OThaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['muteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV9tdXRlIj4KPHBhdGggaWQ9InZvbHVtZV9vZmYiIGQ9Ik0xOS44IDIyLjZMMTYuNzc1IDE5LjU3NTFDMTYuMzU4NCAxOS44NDE3IDE1LjkxNjcgMjAuMDcwOSAxNS40NSAyMC4yNjI2QzE0Ljk4MzQgMjAuNDU0MiAxNC41IDIwLjYwODQgMTQgMjAuNzI1VjE4LjY3NUMxNC4yMzM0IDE4LjU5MTcgMTQuNDYyNSAxOC41MDg0IDE0LjY4NzUgMTguNDI1QzE0LjkxMjUgMTguMzQxNyAxNS4xMjUgMTguMjQxNyAxNS4zMjUgMTguMTI1MUwxMiAxNC44VjIwTDcuMDAwMDIgMTVIMy4wMDAwMlY5LjAwMDA1SDYuMjAwMDJMMS40MDAwMiA0LjIwMDA1TDIuODAwMDIgMi44MDAwNUwyMS4yIDIxLjIwMDFMMTkuOCAyMi42Wk0xOS42IDE2LjhMMTguMTUgMTUuMzVDMTguNDMzNCAxNC44MzM0IDE4LjY0NTkgMTQuMjkxNyAxOC43ODc1IDEzLjcyNUMxOC45MjkyIDEzLjE1ODQgMTkgMTIuNTc1MSAxOSAxMS45NzVDMTkgMTAuNDA4NCAxOC41NDE3IDkuMDA4MzggMTcuNjI1IDcuNzc1MDVDMTYuNzA4NCA2LjU0MTcyIDE1LjUgNS43MDgzOCAxNCA1LjI3NTA1VjMuMjI1MDVDMTYuMDY2NyAzLjY5MTcyIDE3Ljc1IDQuNzM3NTUgMTkuMDUgNi4zNjI1NUMyMC4zNSA3Ljk4NzU1IDIxIDkuODU4MzggMjEgMTEuOTc1QzIxIDEyLjg1ODQgMjAuODc5MiAxMy43MDg0IDIwLjYzNzUgMTQuNTI1MUMyMC4zOTU5IDE1LjM0MTcgMjAuMDUgMTYuMSAxOS42IDE2LjhaTTE2LjI1IDEzLjQ1TDE0IDExLjJWNy45NTAwNUMxNC43ODM0IDguMzE2NzIgMTUuMzk1OSA4Ljg2NjcyIDE1LjgzNzUgOS42MDAwNUMxNi4yNzkyIDEwLjMzMzQgMTYuNSAxMS4xMzM0IDE2LjUgMTJDMTYuNSAxMi4yNSAxNi40NzkyIDEyLjQ5NTkgMTYuNDM3NSAxMi43Mzc1QzE2LjM5NTkgMTIuOTc5MiAxNi4zMzM0IDEzLjIxNjcgMTYuMjUgMTMuNDVaTTEyIDkuMjAwMDVMOS40MDAwMyA2LjYwMDA1TDEyIDQuMDAwMDVWOS4yMDAwNVpNMTAgMTUuMTUwMVYxMi44TDguMjAwMDMgMTFINS4wMDAwMlYxM0g3Ljg1MDAzTDEwIDE1LjE1MDFaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['shareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNoYXJlIj4KPHBhdGggaWQ9IlVuaW9uIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjY0NzMgMjAuMzc0OEMxMi44IDIwLjc1MjcgMTMuMTY2OCAyMSAxMy41NzQ0IDIxSDEzLjYwNTJDMTQuMDIyOSAyMSAxNC4zOTY3IDIwLjc0MDQgMTQuNTQyNCAyMC4zNDg5TDIwLjIzNzUgNS4wNDg1NkMyMC41MzYyIDQuMjQ2MSAxOS43NTM5IDMuNDYzODUgMTguOTUxNSAzLjc2MjU0TDMuNjUxMTYgOS40NTc2NkMzLjI1OTY2IDkuNjAzMzggMyA5Ljk3NzEgMyAxMC4zOTQ4VjEwLjQyNTdDMyAxMC44MzMyIDMuMjQ3MzUgMTEuMiAzLjYyNTIxIDExLjM1MjhMMTAuMDUgMTMuOTVMMTIuNjQ3MyAyMC4zNzQ4Wk0xNi43NjM4IDguNjUwNDdMMTMuNTUgMTcuM0wxMi4wMDI2IDEzLjQxMTdMMTYuNzYzOCA4LjY1MDQ3Wk0xNS4zNDk3IDcuMjM2MTRMMTAuNTg4NCAxMS45OTc1TDYuNyAxMC40NUwxNS4zNDk3IDcuMjM2MTRaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNsb3NlIj4KPG1hc2sgaWQ9Im1hc2swXzIwODlfNjUxOCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMDg5XzY1MTgpIj4KPHBhdGggaWQ9ImNsb3NlXzIiIGQ9Ik05LjYgMjguNUw3LjUgMjYuNEwxNS45IDE4TDcuNSA5LjZMOS42IDcuNUwxOCAxNS45TDI2LjQgNy41TDI4LjUgOS42TDIwLjEgMThMMjguNSAyNi40TDI2LjQgMjguNUwxOCAyMC4xTDkuNiAyOC41WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['nextStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfbmV4dCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyMzYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjM2KSI+CjxwYXRoIGlkPSJza2lwX25leHRfMiIgZD0iTTIyIDI0VjhIMjQuNjY2NlYyNEgyMlpNNy4zMzMzMSAyNFY4TDE5LjMzMzMgMTZMNy4zMzMzMSAyNFpNOS45OTk5OCAxOUwxNC41MzMzIDE2TDkuOTk5OTggMTNWMTlaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['prevStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfcHJldmlvdXMiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjM4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzIzOCkiPgo8cGF0aCBpZD0ic2tpcF9wcmV2aW91c18yIiBkPSJNNy4zMzMzMyAyNFY4SDkuOTk5OTlWMjRINy4zMzMzM1pNMjQuNjY2NyAyNEwxMi42NjY3IDE2TDI0LjY2NjcgOFYyNFpNMjIgMTlWMTNMMTcuNDY2NyAxNkwyMiAxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['nextPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fcmlnaHQiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjc3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzI3NykiPgo8cGF0aCBpZD0iY2hldnJvbl9yaWdodF8yIiBkPSJNMTAuOTY2NiAyMUw5LjMzMzMxIDE5LjM2NjdMMTQuNyAxNEw5LjMzMzMxIDguNjMzMzNMMTAuOTY2NiA3TDE3Ljk2NjYgMTRMMTAuOTY2NiAyMVoiIGZpbGw9IiMxMzEzMTMiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['prevPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fbGVmdCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyNDAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjQwKSI+CjxwYXRoIGlkPSJjaGV2cm9uX2xlZnRfMiIgZD0iTTE2LjMzMzMgMjFMOS4zMzMzMyAxNEwxNi4zMzMzIDdMMTcuOTY2NyA4LjYzMzMzTDEyLjYgMTRMMTcuOTY2NyAxOS4zNjY3TDE2LjMzMzMgMjFaIiBmaWxsPSIjMTMxMzEzIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['restartIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzVfNDg5ODEiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNV80ODk4MSkiPgo8cGF0aCBkPSJNMTYgMjRDMTMuNzY2NyAyNCAxMS44NzUgMjMuMjI1IDEwLjMyNSAyMS42NzVDOC43NzUgMjAuMTI1IDggMTguMjMzMyA4IDE2QzggMTMuNzY2NyA4Ljc3NSAxMS44NzUgMTAuMzI1IDEwLjMyNUMxMS44NzUgOC43NzUgMTMuNzY2NyA4IDE2IDhDMTcuMTUgOCAxOC4yNSA4LjIzNzUgMTkuMyA4LjcxMjVDMjAuMzUgOS4xODc1IDIxLjI1IDkuODY2NjcgMjIgMTAuNzVWOEgyNFYxNUgxN1YxM0gyMS4yQzIwLjY2NjcgMTIuMDY2NyAxOS45Mzc1IDExLjMzMzMgMTkuMDEyNSAxMC44QzE4LjA4NzUgMTAuMjY2NyAxNy4wODMzIDEwIDE2IDEwQzE0LjMzMzMgMTAgMTIuOTE2NyAxMC41ODMzIDExLjc1IDExLjc1QzEwLjU4MzMgMTIuOTE2NyAxMCAxNC4zMzMzIDEwIDE2QzEwIDE3LjY2NjcgMTAuNTgzMyAxOS4wODMzIDExLjc1IDIwLjI1QzEyLjkxNjcgMjEuNDE2NyAxNC4zMzMzIDIyIDE2IDIyQzE3LjI4MzMgMjIgMTguNDQxNyAyMS42MzMzIDE5LjQ3NSAyMC45QzIwLjUwODMgMjAuMTY2NyAyMS4yMzMzIDE5LjIgMjEuNjUgMThIMjMuNzVDMjMuMjgzMyAxOS43NjY3IDIyLjMzMzMgMjEuMjA4MyAyMC45IDIyLjMyNUMxOS40NjY3IDIzLjQ0MTcgMTcuODMzMyAyNCAxNiAyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['playResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwbGF5X2Fycm93XzIiIGQ9Ik0xOCAzNlYxMkwzNiAyNEwxOCAzNloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['pauseResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwYXVzZSIgZD0iTTI3IDM2VjEySDMzVjM2SDI3Wk0xNSAzNlYxMkgyMVYzNkgxNVoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['arrowUpCtaIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCA4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMTggNy43LTAuNy0wLjItNy4zLTQtNy4zIDRjLTAuNyAwLjQtMS42IDAuMi0yLTAuNi0wLjQtMC43LTAuMS0xLjYgMC42LTJsOC00LjRhMiAyIDAgMCAxIDEuNSAwbDggNC40YzAuNyAwLjQgMSAxLjMgMC42IDItMC40IDAuNS0wLjkgMC44LTEuNCAwLjh6Ii8+Cjwvc3ZnPgo=',f['externalLinkIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY3Jvc3NvcmlnaW49ImFub255bW91cyI+CjxwYXRoIGQ9Im0xMiAwYzYuNiAwIDEyIDUuNCAxMiAxMnMtNS40IDEyLTEyIDEyLTEyLTUuNC0xMi0xMiA1LjQtMTIgMTItMTJ6IiBmaWxsLW9wYWNpdHk9Ii4xIi8+CjxwYXRoIGQ9Im0xMy44IDE0LjYgMC4yIDAuNS0wLjIgMC41LTEuNSAxLjRjLTAuNyAwLjctMS43IDEuMS0yLjcgMS4xYTQgNCAwIDAgMS0yLjctMS4xIDMuOSAzLjkgMCAwIDEtMS4xLTIuNyA0IDQgMCAwIDEgMS4xLTIuN2wxLjUtMS41IDAuNS0wLjEgMC41IDAuMiAwLjIgMC41LTAuMiAwLjUtMS41IDEuNWMtMC41IDAuNS0wLjcgMS4xLTAuNyAxLjdzMC4zIDEuMyAwLjcgMS43YzAuNSAwLjUgMS4xIDAuNyAxLjcgMC43czEuMy0wLjMgMS43LTAuN2wxLjUtMS41YzAuMy0wLjMgMC43LTAuMyAxIDB6bTMuMi03LjZhMy45IDMuOSAwIDAgMC0yLjctMS4xIDQgNCAwIDAgMC0yLjcgMS4xbC0xLjUgMS41LTAuMSAwLjQgMC4yIDAuNSAwLjUgMC4yIDAuNS0wLjIgMS41LTEuNWMwLjUtMC41IDEuMS0wLjcgMS43LTAuN3MxLjMgMC4zIDEuNyAwLjdjMC41IDAuNSAwLjcgMS4xIDAuNyAxLjdzLTAuMyAxLjMtMC43IDEuN2wtMS41IDEuNS0wLjIgMC41IDAuMiAwLjUgMC41IDAuMiAwLjUtMC4yIDEuNS0xLjVjMC43LTAuNyAxLjEtMS43IDEuMS0yLjctMC4xLTEtMC41LTEuOS0xLjItMi42em0tNy45IDcuMiAwLjIgMC41IDAuNSAwLjIgMC41LTAuMiA0LjUtNC41IDAuMi0wLjUtMC4yLTAuNWMtMC4zLTAuMi0wLjgtMC4yLTEgMC4xbC00LjUgNC41eiIvPgo8L3N2Zz4K',f['fullscreenIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzkxNTFfNTE4OSIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85MTUxXzUxODkpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVYxNUg1VjE5SDlWMjFINVpNMTUgMjFWMTlIMTlWMTVIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFIMTVaTTMgOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0g5VjVINVY5SDNaTTE5IDlWNUgxNVYzSDE5QzE5LjU1IDMgMjAuMDIwOCAzLjE5NTgzIDIwLjQxMjUgMy41ODc1QzIwLjgwNDIgMy45NzkxNyAyMSA0LjQ1IDIxIDVWOUgxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L3N2Zz4K',f['arrowDownMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',f['arrowUpMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgdHJhbnNmb3JtPSJzY2FsZSgxIC0xKSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',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';},0x1fdc:function(j,q,z){'use strict';var B=this&&this['__awaiter']||function(ae,af,ag,ah){return new(ag||(ag=Promise))(function(ai,aj){function ak(an){try{am(ah['next'](an));}catch(ao){aj(ao);}}function al(an){try{am(ah['throw'](an));}catch(ao){aj(ao);}}function am(an){var ao;an['done']?ai(an['value']):(ao=an['value'],ao instanceof ag?ao:new ag(function(ap){ap(ao);}))['then'](ak,al);}am((ah=ah['apply'](ae,af||[]))['next']());});};Object['defineProperty'](q,'__esModule',{'value':!0x0}),q['setAbTestParams']=q['playStories']=q['playStory']=q['setImaHandler']=q['setGoogleCustomNativeAdsHandler']=q['resumeCurrentPlayer']=q['pauseCurrentPlayer']=q['DataSourceBuilder']=q['LabelBuilder']=q['Delegations']=q['addDelegateListener']=q['Theme']=q['WidgetEmbeddedStory']=q['WidgetGridView']=q['WidgetRowView']=q['Initialize']=q['setExternalUserId']=q['setGeoLocation']=q['setDoNotTrack']=void 0x0;const F=z(0x26ed),G=z(0x2033),H=z(0x11c1),J=z(0x132a),K=z(0x2432),L=z(0x23a6),O=z(0x1133),Q=z(0x22d9);Q['WidgetsFactory']['define']('blaze-sdk',L['BlazeWidgetSDK']);const R={'environment':'prod','sendAnalytics':!0x0,'doNotTrack':!0x1,'externalUserId':'','geoLocation':'','runInShadowDom':!0x0,'shouldModifyUrlWithStoryId':!0x0,'shouldDismissPlayer':!0x1,'shouldCreateUser':!0x0,'prefetchingPolicy':'default','shouldAllowHorizontalStories':!0x1,'layoutDirection':'LTR','shouldAllowClosedCaptions':!0x1};function U(ae){H['ConfigService']['doNotTrack']=ae;}function V(ae){H['ConfigService']['geoLocation']=(0x0,K['isValidCountryCode'])(ae)?ae:'';}function W(ae){return B(this,void 0x0,void 0x0,function*(){H['ConfigService']['externalUserId']=ae,yield H['UserService']['refreshUserToken']();});}function X(ae,af={}){const ag=(0x0,K['mergeDeep'])({},R,af,{'apiKey':ae});return new Promise(ah=>{document['querySelector']('#blaze-sdk')||Q['WidgetsFactory']['whenDefined']('blaze-sdk')['then'](()=>{const {environment:ai,sendAnalytics:aj,previewMomentUrl:ak,previewUrl:al,doNotTrack:am,externalUserId:an,geoLocation:ao,runInShadowDom:ap,shouldModifyUrlWithStoryId:aq,shouldDismissPlayer:ar,playerStyleCustomization:as,shouldCreateUser:at,prefetchingPolicy:au,shouldAllowHorizontalStories:av,shouldAutoAdvance:aw,layoutDirection:ax,shouldAllowClosedCaptions:ay}=ag,az=document['createElement']('blaze-sdk');az['setAttribute']('api-key',ae),'boolean'==typeof at&&az['setAttribute']('should-create-user',at['toString']()),'boolean'==typeof ay&&az['setAttribute']('should-allow-closed-captions',ay['toString']()),ax&&az['setAttribute']('layout-direction',ax),ai&&az['setAttribute']('environment',ai),'boolean'==typeof aj&&az['setAttribute']('send-analytics',aj['toString']()),'boolean'==typeof ap&&az['setAttribute']('run-in-shadow-dom',ap['toString']()),'boolean'==typeof aq&&az['setAttribute']('modifiy-url-with-story-id',aq['toString']()),al&&az['setAttribute']('preview-url',al),ak&&az['setAttribute']('preview-moment-url',ak),am&&az['setAttribute']('do-not-track',am['toString']()),av&&az['setAttribute']('should-allow-horizontal-stories',av['toString']()),an&&az['setAttribute']('external-user-id',an),ao&&az['setAttribute']('geo-location',(0x0,K['isValidCountryCode'])(ao)?ao:''),as&&az['setPlayerStyleCustomization'](as),ar&&az['setAttribute']('should-dismiss-player',ar['toString']()),aw&&az['setAttribute']('should-auto-advance',aw['toString']()),au&&az['setAttribute']('prefetching-policy',au);const aA=document['querySelector']('body');aA?(null==aA||aA['appendChild'](az),ah()):document['addEventListener']('DOMContentLoaded',()=>{const aB=document['querySelector']('body');null==aB||aB['appendChild'](az),ah();});});});}function Y(ae,af,ag,ah){var ai,aj,ak;const {orderType:al,storyIds:am,contentIds:an,maxItemsCount:ao,maxDisplayItemsCount:ap,labels:aq,theme:ar,delegates:as,labelsPriority:at,perItemStyleOverrides:au,shouldOrderWidgetByReadStatus:av,contentType:aw='story',dataSource:ax}=ag,ay=document['createElement'](ae),az=document['querySelector']('#'+af),aA=null==az?void 0x0:az['querySelector'](ae);if(as&&ay['setDelegations'](as),az){if(aA)H['EventService']['dispatch'](document['body'],F['Delegation']['onErrorThrown'],{'errorCode':F['ErrorCode']['FailedContainerIdHasWidgetAlready']});else{ay['setId'](af),aw&&ay['setAttribute']('content-type',aw),ar?'string'==typeof ar&&aw?'moment'===aw?ay['setTheme'](J['ThemeFactory']['create'](ar,'moment')):'story'===aw&&ay['setTheme'](J['ThemeFactory']['create'](ar,'story')):(0x0,G['isWidgetTheme'])(ar)&&ay['setTheme'](ar):ay['setTheme'](ah),au&&ay['updateOverrideStyles'](au),ao?ay['setMaxItemsSize'](ao):(null==ax?void 0x0:ax['maxItems'])&&ay['setMaxItemsSize'](ax['maxItems']),ap&&ay['setMaxItemsDisplaySize'](ap),al?ay['setAttribute']('order-type',al):(null==ax?void 0x0:ax['orderType'])&&ay['setAttribute']('order-type',ax['orderType']);const aB=Boolean(null==av||av)['toString']();ay['setAttribute']('should-order-widget-by-read-status',aB),at?ay['setLabelsPriority'](at):(null==ax?void 0x0:ax['labelsPriority'])&&ay['setLabelsPriority'](ax['labelsPriority']),aq?ay['setLabels'](aq):'labels'===(null==ax?void 0x0:ax['type'])&&(null==ax?void 0x0:ax['labels'])&&ay['setLabels'](ax['labels']),(null==am?void 0x0:am['length'])?ay['setAttribute']('story-ids',am['join'](',')):'ids'===(null==ax?void 0x0:ax['type'])&&(null===(ai=null==ax?void 0x0:ax['ids'])||void 0x0===ai?void 0x0:ai['length'])&&ay['setAttribute']('story-ids',ax['ids']['join'](',')),(null==an?void 0x0:an['length'])?ay['setAttribute']('content-ids',an['join'](',')):'ids'===(null==ax?void 0x0:ax['type'])&&(null===(aj=null==ax?void 0x0:ax['ids'])||void 0x0===aj?void 0x0:aj['length'])&&ay['setAttribute']('content-ids',ax['ids']['join'](',')),aq||(null==am?void 0x0:am['length'])||(null==an?void 0x0:an['length'])||(null===(ak=null==ax?void 0x0:ax['ids'])||void 0x0===ak?void 0x0:ak['length'])||null==ax||ax['labels'];const aC=document['querySelector']('#'+af);null==aC||aC['appendChild'](ay);}}else H['EventService']['dispatch'](document['body'],F['Delegation']['onErrorThrown'],{'errorCode':F['ErrorCode']['FailedToFindContainerId']});return ay;}function Z(ae,af){let ag;if('moment'===af['contentType'])ag=J['ThemeFactory']['create']('row-circle','moment');else{if('story'!==af['contentType']&&af['contentType'])throw new Error('Invalid\x20content\x20type');ag=J['ThemeFactory']['create']('row-circle','story');}return Y('blaze-widget-layout',ae,af,ag);}function a0(ae,af){let ag;if('moment'===af['contentType'])ag=J['ThemeFactory']['create']('grid-2-columns','moment');else{if('story'!==af['contentType']&&af['contentType'])throw new Error('Invalid\x20content\x20type');ag=J['ThemeFactory']['create']('grid-2-columns','story');}return Y('blaze-widget-layout',ae,af,ag);}function a1(ae,af){return Y('blaze-widget-embedded-story',ae,af,J['ThemeFactory']['create']('grid-2-columns'));}function a2(ae,af='story'){if('moment'===af)return J['ThemeFactory']['create'](ae,'moment');if('story'!==af&&af)throw new Error('Invalid\x20content\x20type');return J['ThemeFactory']['create'](ae,'story');}function a3(ae,af,ag){document['addEventListener'](ae,af,ag);}function a4(){return{'singleLabel':ae=>O['BlazeWidgetLabel']['singleLabel'](ae),'mustInclude':(...ae)=>O['BlazeWidgetLabel']['mustInclude'](...ae),'atLeastOneOf':(...ae)=>O['BlazeWidgetLabel']['atLeastOneOf'](...ae)};}function a5(){return{'labels':ae=>O['BlazeDataSourceFactory']['createLabelsDataSource'](ae),'ids':ae=>O['BlazeDataSourceFactory']['createIdsDataSource'](ae)};}function a6(ae){var af;const ag=null===(af=document['getElementsByTagName']('blaze-sdk'))||void 0x0===af?void 0x0:af[0x0];ag&&H['VideoPlayerService']['isPlaying']===ae&&ag instanceof L['BlazeWidgetSDK']&&ag['modal']['playToggleCurrentStory']();}function a7(){a6(!0x0);}function a8(){a6(!0x1);}function a9(ae){H['ConfigService']['googleCustomNativeAdHandler']=ae;}function aa(ae){H['ConfigService']['imaAdHandler']=ae;}function ab(ae,af){return B(this,void 0x0,void 0x0,function*(){try{const ag=O['BlazeDataSourceFactory']['createIdsDataSource']({'ids':[ae]});yield Q['PlayerViewFactory']['create'](ag,af||J['Presets']['DefaultStoryStyle']);}catch(ah){}});}function ac(ae,af){return B(this,void 0x0,void 0x0,function*(){try{O['BlazeDataSourceValidations']['validateFormat'](ae),yield Q['PlayerViewFactory']['create'](ae,af||J['Presets']['DefaultStoryStyle']);}catch(ag){}});}function ad(ae){H['UserService']['_abTest']=ae;}q['setDoNotTrack']=U,q['setGeoLocation']=V,q['setExternalUserId']=W,q['Initialize']=X,q['WidgetRowView']=Z,q['WidgetGridView']=a0,q['WidgetEmbeddedStory']=a1,q['Theme']=a2,q['addDelegateListener']=a3,q['Delegations']=F['Delegation'],q['LabelBuilder']=a4,q['DataSourceBuilder']=a5,q['pauseCurrentPlayer']=a7,q['resumeCurrentPlayer']=a8,q['setGoogleCustomNativeAdsHandler']=a9,q['setImaHandler']=aa,q['playStory']=ab,q['playStories']=ac,q['setAbTestParams']=ad,q['default']={'Initialize':X,'WidgetGridView':a0,'WidgetRowView':Z,'WidgetEmbeddedStory':a1,'Theme':a2,'addDelegateListener':a3,'setDoNotTrack':U,'setGeoLocation':V,'LabelBuilder':a4,'DataSourceBuilder':a5,'Delegations':F['Delegation'],'setGoogleCustomNativeAdsHandler':a9,'setImaHandler':aa,'pauseCurrentPlayer':a7,'resumeCurrentPlayer':a8,'setExternalUserId':W,'playStory':ab,'playStories':ac,'setAbTestParams':ad};},0x21d:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AdService']=void 0x0;const j=g(0x1133),k=g(0x23a6),l={'method':'HEAD','mode':'no-cors'};class m extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['canRunAds']=!0x1;}['init'](){return h(this,void 0x0,void 0x0,function*(){try{yield fetch('https://securepubads.g.doubleclick.net/pagead/ppub_config',l),yield fetch('https://imasdk.googleapis.com/js/sdkloader/ima3.js',l),this['canRunAds']=!0x0;}catch(p){this['canRunAds']=!0x1;}});}['pushAdsBetweenStories'](p,q,u,v,w,x,y='Full\x20Screen'){var z;if(!this['canRunAds'])return;if(v<=w||'EveryXStories'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['adsLocationType'])||v>=u['length']-0x1)return;const A=v-w,B=p['configuration']['adLocationsIndexes'][0x0];if('Web'===p['type']&&p['path']){if((A+0x1)%B!=0x0)return;const C='ad-between-stories-'+q['length'],D=new k['BlazeWidgetStory'](x,y),E={'description':'','isLive':!0x1,'pages':[{'id':C+'-page','type':'Ad','duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'createTime':new Date()['toLocaleString'](),'adPath':p['path']}],'isAd':!0x0,'id':C,'title':'','updateTime':'','createTime':'','thumbnails':[],'hasViewed':!0x1};D['setData'](E),q['push'](D);}else{if('IMA'===p['type']&&p['tag']){if(A%B!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['imaUrl']=p['tag'],q[v]['adContext']=p['context'];}}}['pushAdsBetweenMoments'](p,q,u,v,w){var x,y,z;if(!this['canRunAds'])return;const A=null!==(y=null===(x=null==p?void 0x0:p['configuration'])||void 0x0===x?void 0x0:x['adLocationsIndexes'][0x0])&&void 0x0!==y?y:0x1;if('Moment'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['type'])||A>0x1&&v<=w||v>=u['length']-0x1)return;const B=v-w;if('Web'===p['type']&&p['path']){if((B+0x1)%A!=0x0)return;const C='ad-between-moments-'+q['length'],D=new k['BlazeWidgetMoment']();return D['setData']({'id':C,'type':'Ad','adPath':p['path'],'duration':'5','thumbnails':[],'likes':0x0,'baseLayer':{'type':'Video','content':{'renditions':[]}},'poster':{'rendition':{'url':'','aspectRatio':'Vertical'},'type':'Image'},'cta':{'type':'Web','url':'','text':'','backgroundColor':'','textColor':'','enhancements':null},'momentIndexInPlaylist':0x0,'title':'','updateTime':'','createTime':'','hasViewed':!0x1,'isAd':!0x0}),q['push'](D),D;}if('IMA'===p['type']&&p['tag']){if(0x0===B)return;if(B%A!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['imaUrl']=p['tag'],q[v]['adContext']=p['context'];}}}f['AdService']=m['getInstance']();},0x1ef4:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AnalyticsService']=void 0x0;const p=j(0x1c40),q=j(0x11c1),u=m(j(0x208a)),v=j(0x1133),w=j(0x1932),x=j(0x164);class y extends(0x0,v['Singleton'])(){constructor(){super(...arguments),this['events']=[];}['init'](){return k(this,void 0x0,void 0x0,function*(){const z=new p['UAParser'](navigator['userAgent']);this['uaParsed']=z['getResult'](),q['ConfigService']['sendAnalytics']&&setInterval(()=>{this['sendAnalyticsData']();},w['ONE_SECOND']);});}['sendAnalyticsData'](){return k(this,void 0x0,void 0x0,function*(){if(q['UserService']['userId']){if(q['UserService']['sessionId']&&this['events']['length'])try{const z=this['events']['map'](A=>{var B,C,D,E,F;return A['user']['generated_user_id']=q['ConfigService']['doNotTrack']?'do_not_track':q['UserService']['userId'],A['user']['external_user_id']=null!==(B=q['ConfigService']['externalUserId'])&&void 0x0!==B?B:'',A['user']['ab_test_id']=null!==(D=null===(C=q['UserService']['abTest'])||void 0x0===C?void 0x0:C['id'])&&void 0x0!==D?D:'',A['user']['ab_test_variant']=null!==(F=null===(E=q['UserService']['abTest'])||void 0x0===E?void 0x0:E['variant'])&&void 0x0!==F?F:'',A['session_id']=q['UserService']['sessionId'],A['widget']&&(A['widget']['page_view_id']=q['UserService']['sessionId']),A;});this['events']=[],yield this['bulkEvent'](z);}catch(A){}}else q['UserService']['assignUserId']();});}['bulkEvent'](z){return k(this,void 0x0,void 0x0,function*(){return z['forEach'](A=>{var B;let C=null!==(B=A['event_action'])&&void 0x0!==B?B:'Unknown\x20Action';const D='moment'===A['event_category']&&A['moment'],E=['cta_click','audio','cc_off','cc_on','share_click','share_success','playback_pause','playback_play']['includes'](C);let F=!0x1;D&&E&&(C='$'+C,F=!0x0);const G=w['exposedFieldsByAction'][C];F&&(C=C['substring'](0x1));const H={},I=(0x0,x['flattenObject'])(A);if(G){for(const J of G)I['hasOwnProperty'](J)&&(H[J]=I[J]);}q['EventService']['dispatchAnaltyicsEvents'](C,H);}),q['ApiService']['sendAnaltyicsEvents'](z);});}['pushStoryEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Story'],z['toString'](),A,B,C));}['pushMomentEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Moment'],z['toString'](),A,B,C));}['pushAdEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Ad'],z['toString'](),A,B,C));}['pushImaAdEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Ad'],z['toString'](),A,B,C));}['pushInteractionEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Interaction'],z['toString'](),A,B,C));}['pushWidgetEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Widget'],z['toString'](),A,B,C));}['setupEvent'](z,B,D,E=void 0x0,F=void 0x0){var G,H,J,K,L,N,O,P,Q,R,T,U,V,W;const X=new v['AnalyticsEvent']();if(X[z]=D,X['timestamp_utc']=(0x0,x['formatUTCDate'])(new Date()),X['timestamp_user_tz']=(0x0,x['formatDate'])(new Date()),X['sdk_type']='web',X['sdk_version']=u['default']['version'],X['sdk_id']='web',X['event_action']=B,X['user']['locale']=null===navigator||void 0x0===navigator?void 0x0:navigator['language'],X['tech']['user_agent']=null===navigator||void 0x0===navigator?void 0x0:navigator['userAgent'],X['session_id']=q['UserService']['sessionId'],X['page']['page_url']=null===location||void 0x0===location?void 0x0:location['href'],this['uaParsed']){X['tech']['browser']=null===(G=this['uaParsed']['browser'])||void 0x0===G?void 0x0:G['name'],X['tech']['browser_version']=null===(H=this['uaParsed']['browser'])||void 0x0===H?void 0x0:H['version'],X['tech']['os']=null===(J=this['uaParsed']['os'])||void 0x0===J?void 0x0:J['name'],X['tech']['os_version']=null===(K=this['uaParsed']['os'])||void 0x0===K?void 0x0:K['version'],X['tech']['device_model']=null===(L=this['uaParsed']['device'])||void 0x0===L?void 0x0:L['model'],X['tech']['device_brand']=null===(N=this['uaParsed']['device'])||void 0x0===N?void 0x0:N['vendor'];const a0={'mobile':'Phone','tablet':'Tablet','undefined':'Desktop'}[null===(O=this['uaParsed']['device'])||void 0x0===O?void 0x0:O['type']]||(null===(P=this['uaParsed']['device'])||void 0x0===P?void 0x0:P['type']);X['tech']['device_type']=a0;}X['tech']['screen_resolution']=(null===(Q=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===Q?void 0x0:Q['availWidth'])+'x'+(null===(R=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===R?void 0x0:R['availHeight']),X['tech']['screen_color']=null===(U=null===(T=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===T?void 0x0:T['colorDepth'])||void 0x0===U?void 0x0:U['toString']();const Y=(null===window||void 0x0===window?void 0x0:window['innerWidth'])||document['documentElement']['clientWidth']||document['body']['clientWidth'],Z=(null===window||void 0x0===window?void 0x0:window['innerHeight'])||document['documentElement']['clientHeight']||document['body']['clientHeight'];if(X['tech']['browser_size']=Y+'x'+Z,(null===(V=navigator['connection'])||void 0x0===V?void 0x0:V['effectiveType'])&&(X['tech']['connection_type']=null===(W=navigator['connection'])||void 0x0===W?void 0x0:W['effectiveType']),F&&(X['referring']=F),E&&(X['event_label']=E,X['referring']['labels_expression']=E),X['event_category']=z['toString'](),z==v['Category']['Widget']&&X['widget']){X['widget']['page_view_id']=q['UserService']['sessionId'],X['widget']['page_size']=X['tech']['browser_size'];const a1=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),a2=-0x1!==a1?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,a1):null===window||void 0x0===window?void 0x0:window['location']['href'];X['widget']['page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](a2)?'Homepage':'Category/Article';}return X;}}g['AnalyticsService']=y['getInstance']();},0xd34:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ApiService']=void 0x0;const j=g(0x11c1),k=g(0x66b),m=g(0x1133),p='UserManagement';class q extends(0x0,m['Singleton'])(){constructor(){super(...arguments),this['api']={};}['init'](){return h(this,void 0x0,void 0x0,function*(){this['api']=new k['API']({'baseUrl':j['ConfigService']['apiUrl'],'analyticsBaseUrl':j['ConfigService']['analyticsApiUrl']});});}['setAdsOnStories'](u,v){var w;return'EveryXStories'===(null===(w=null==v?void 0x0:v['configuration'])||void 0x0===w?void 0x0:w['adsLocationType'])?u:j['AdService']['canRunAds']?u['map'](x=>{var y,z,A;const B=null!==(y=null==v?void 0x0:v['configuration'])&&void 0x0!==y?y:null===(z=x['adInfo'])||void 0x0===z?void 0x0:z['configuration'],C=null!==(A=x['adInfo'])&&void 0x0!==A?A:v,D='Web'===(null==C?void 0x0:C['type'])&&Boolean(null==C?void 0x0:C['path']),E='IMA'===(null==C?void 0x0:C['type'])&&Boolean(null==C?void 0x0:C['tag']),F=null==B?void 0x0:B['adLocationsIndexes']['sort']((G,H)=>G-H);if(D){const G=x['pages']['length'];let H=0x0;null==F||F['forEach'](I=>{G>I&&(x['pages']['splice'](I+H,0x0,{'id':'ad-'+x['id']+'-'+I,'duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'type':'Ad','createTime':new Date()['toLocaleString'](),'adPath':C['path']}),H++);});}else E&&(null==F||F['forEach'](I=>{const J=x['pages']['at'](I);'Content'===(null==J?void 0x0:J['type'])&&(J['imaUrl']=C['tag'],J['adContext']=C['context'],J['shouldShowImaAd']=!0x0);}));return x;}):u;}['getStoriesByIds'](u,v){return h(this,void 0x0,void 0x0,function*(){var w,x,y;const z=Object['assign']({'clientPlatform':'Web','ids':u['join'](',')},v&&{'orderType':v}),A=yield this['api']['get']('stories/ids',{'urlSearchParams':z});return Object['assign'](Object['assign']({},A),{'result':this['setAdsOnStories'](null!==(x=null===(w=A['data'])||void 0x0===w?void 0x0:w['result'])&&void 0x0!==x?x:[],null===(y=A['data'])||void 0x0===y?void 0x0:y['defaultAdsInfo'])});});}['getStoriesByLabels'](u,v,w,x){return h(this,void 0x0,void 0x0,function*(){var y,z,A;const B=Object['assign'](Object['assign'](Object['assign'](Object['assign']({'labelsFilterExpression':u,'clientPlatform':'Web'},v&&{'orderType':v}),w&&{'maxItems':w}),x&&{'labelsPriority':x}),j['ConfigService']['geoLocation']&&{'geo':j['ConfigService']['geoLocation']}),C=yield this['api']['get']('stories',{'urlSearchParams':B});return Object['assign'](Object['assign']({},C),{'result':this['setAdsOnStories'](null!==(z=null===(y=C['data'])||void 0x0===y?void 0x0:y['result'])&&void 0x0!==z?z:[],null===(A=C['data'])||void 0x0===A?void 0x0:A['defaultAdsInfo'])});});}['getMomentByIds'](u,v){return h(this,void 0x0,void 0x0,function*(){const w=Object['assign']({'clientPlatform':'Web','ids':u},v&&{'orderType':v}),x=yield this['api']['get']('moments/ids',{'urlSearchParams':w});return Object['assign']({},x);});}['getMomentsByLabels'](u,v,w){return h(this,void 0x0,void 0x0,function*(){const x=Object['assign'](Object['assign']({'labelsFilterExpression':u,'orderType':v,'clientPlatform':'Web'},w&&{'maxItems':w}),j['ConfigService']['geoLocation']&&{'geo':j['ConfigService']['geoLocation']});return yield this['api']['get']('moments',{'urlSearchParams':x});});}['updateMomentLikeStatus'](u){return h(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Moments/like',{'urlSearchParams':u,'auth':!0x0});});}['getStaticStories'](){return h(this,void 0x0,void 0x0,function*(){var u;for(let v=0x1;v<=0x3;v++){const w=null===(u=null===document||void 0x0===document?void 0x0:document['getElementById']('wsc-response'))||void 0x0===u?void 0x0:u['textContent'];if(!w)return null;try{const x=JSON['parse'](w),y=this['setAdsOnStories']([x]);return y['length']>0x0?y[0x0]:null;}catch(z){if(!(v<0x3))return null;yield new Promise(A=>setTimeout(A,0x1f4));}}return null;});}['preview'](u){return h(this,arguments,void 0x0,function*(v,w=!0x0){const x={'publishedOnly':w,'clientPlatform':'Web'},y=j['ConfigService']['previewUrl']['replace']('{storyId}',v);return yield this['api']['get']('',{'baseUrl':y,'urlSearchParams':x,'init':{'credentials':'include'}});});}['preivewMoment'](u){return h(this,arguments,void 0x0,function*(v,w=!0x0){var x;const y={'publishedOnly':w,'clientPlatform':'Web'},z=null===(x=j['ConfigService']['previewMomentsUrl'])||void 0x0===x?void 0x0:x['replace']('{momentId}',v);return z?yield this['api']['get']('',{'baseUrl':z,'urlSearchParams':y,'init':{'credentials':'include'}}):{'error':new Error('No\x20moment\x20preview\x20url'),'data':null};});}['sendAnaltyicsEvents'](u){return h(this,void 0x0,void 0x0,function*(){let v='events';j['ConfigService']['doNotTrack']&&(v+='_do_not_track');const w=j['ConfigService']['analyticsApiUrl']+'/'+v,x={'api_key':j['ConfigService']['apiKey']?j['ConfigService']['apiKey']:''};return yield this['api']['post']('',{'urlSearchParams':x,'baseUrl':w,'init':{'body':JSON['stringify'](u)}});});}['sendInteractionResponse'](u){return h(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Interactions/Response/'+u['interactionType']+'/'+u['interactionId'],{'init':{'body':JSON['stringify'](u['responseId'])},'auth':!0x0});});}['getUserToken'](u){return this['api']['post'](p,{'init':{'body':JSON['stringify'](u)},'urlSearchParams':{'clientPlatform':'Web'}});}['refreshUserToken'](u){return this['api']['put'](p,{'urlSearchParams':{'clientPlatform':'Web'},'init':{'body':JSON['stringify'](u)}});}['getAppConfigurations'](){return this['api']['get']('AppConfigurations',{'urlSearchParams':{'clientPlatform':'Web'}});}}f['ApiService']=q['getInstance']();},0x1e1c:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AppConfigurationService']=void 0x0;const k=h(0x1133),m=h(0x26ed),p=h(0x2432),q=h(0xd34),u=h(0x18a4);class v extends(0x0,k['Singleton'])(){constructor(){super();}get['appConfigurations'](){return this['_appConfigurations'];}['init'](){return j(this,void 0x0,void 0x0,function*(){let w=0x3,x=!0x1;for(;w>0x0&&!x;){const y=yield q['ApiService']['getAppConfigurations']();if(y['error']){w--,yield(0x0,p['delay'])(0xc8);continue;}x=!0x0;const z=y['data'];this['_appConfigurations']=z;}if(!x)throw u['EventService']['dispatch'](document['body'],m['Delegation']['onErrorThrown'],{'errorCode':m['ErrorCode']['FailedLoadingAppConfigurations']}),new Error('Error\x20in\x20getAppConfigurations');});}}g['AppConfigurationService']=v['getInstance']();},0x1f9e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConfigService']=void 0x0;const j=g(0x1133);class k extends(0x0,j['Singleton'])(){constructor(){super(),this['_sendAnaltyics']=!0x0,this['_doNotTrack']=!0x1,this['_staticContent']=!0x1,this['_runInShadowDom']=!0x0,this['_shouldModifyUrlWithStoryId']=!0x0,this['_shouldDismissPlayer']=!0x1,this['_shouldAutoAdvance']=!0x1,this['_shouldCreateUser']=!0x0,this['_shouldAllowHorizontalStories']=!0x1,this['_urls']={'prod':'https://blazesdk-prod-cdn.clipro.tv','uat':'https://blazesdk-uat-cdn.clipro.tv'},this['_apiPath']={'prod':'api/blazesdk/v1.3','uat':'api/blazesdk/v1.3'},this['_analyticsUrls']={'prod':'https://blaze-audit.clipro.tv/api/eventaudit/v1','uat':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1'};}['init'](l){return h(this,void 0x0,void 0x0,function*(){const {apiKey:q,environment:w,sendAnalytics:x,previewMomentUrl:z,previewUrl:A,doNotTrack:B,externalUserId:C,geoLocation:D,staticContent:E,runInShadowDom:F,shouldModifyUrlWithStoryId:G,shouldDismissPlayer:H,shouldCreateUser:I,prefetchingPolicy:J,shouldAllowHorizontalStories:K,shouldAutoAdvance:L,autoAdvanceUrl:M,layoutDirection:N,shouldAllowClosedCaptions:O}=l;this['environment']=w||'prod',this['prefetchingPolicy']=J||'default',this['_apiKey']=q,this['_analyticsApiUrl']=this['_analyticsUrls'][this['environment']],this['_previewUrl']=A,this['_previewMomentUrl']=z,this['_externalUserId']=C||'',this['_geoLocation']=D||'',this['_prefetchingPolicy']=J,this['_autoAdvanceUrl']=M||'',this['_layoutDirection']=N,this['_shouldAllowClosedCaptions']=O,!0x0===E&&(this['_staticContent']=!0x0),!0x0===B&&(this['_doNotTrack']=!0x0),!0x0===K&&(this['_shouldAllowHorizontalStories']=!0x0),!0x1===x&&(this['_sendAnaltyics']=!0x1),!0x1===F&&(this['_runInShadowDom']=!0x1),!0x1===G&&(this['_shouldModifyUrlWithStoryId']=!0x1),!0x0===H&&(this['_shouldDismissPlayer']=!0x0),!0x0===L&&(this['_shouldAutoAdvance']=!0x0),!0x1===I&&(this['_shouldCreateUser']=!0x1);});}get['environment'](){if(!this['_environment'])throw new Error('Environment\x20not\x20set');return this['_environment'];}set['environment'](l){this['_environment']=l;const m=this['_urls'][l],p=this['_apiPath'][l];this['_apiUrl']=m+'/'+p,this['_analyticsApiUrl']=this['_analyticsUrls'][l];}get['sendAnalytics'](){return this['_sendAnaltyics'];}get['shouldCreateUser'](){return this['_shouldCreateUser'];}get['analyticsApiUrl'](){return this['_analyticsUrls'][this['environment']];}get['externalUserId'](){return this['_externalUserId']?this['_externalUserId']:null;}set['externalUserId'](l){this['_externalUserId']=l;}get['doNotTrack'](){return this['_doNotTrack'];}set['doNotTrack'](l){this['_doNotTrack']=l;}get['shouldAllowHorizontalStories'](){return this['_shouldAllowHorizontalStories'];}set['shouldAllowHorizontalStories'](l){this['_shouldAllowHorizontalStories']=l;}get['geoLocation'](){return this['_geoLocation'];}set['geoLocation'](l){this['_geoLocation']=l;}get['staticContent'](){return this['_staticContent'];}set['staticContent'](l){this['_staticContent']=l;}get['apiUrl'](){if(!this['_apiUrl'])throw new Error('API\x20url\x20not\x20set');return this['_apiUrl'];}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'](l){this['_playerStyleCustomization']=l;}get['shouldModifyUrlWithStoryId'](){return this['_shouldModifyUrlWithStoryId'];}get['shouldDismissPlayer'](){return this['_shouldDismissPlayer'];}get['shouldAutoAdvance'](){return this['_shouldAutoAdvance'];}get['autoAdvanceUrl'](){return this['_autoAdvanceUrl'];}get['googleCustomNativeAdHandler'](){return this['_googleCustomNativeAdHandler'];}set['googleCustomNativeAdHandler'](l){this['_googleCustomNativeAdHandler']=l;}get['imaAdHandler'](){return this['_imaAdHandler'];}set['imaAdHandler'](l){this['_imaAdHandler']=l;}get['prefetchingPolicy'](){if(!this['_prefetchingPolicy'])throw new Error('Prefetching\x20policy\x20not\x20set');return this['_prefetchingPolicy'];}set['prefetchingPolicy'](l){this['_prefetchingPolicy']=l;}get['excludeContentId'](){return this['_excludeContentId'];}set['excludeContentId'](l){this['_excludeContentId']=l;}get['layoutDirection'](){return this['_layoutDirection'];}set['layoutDirection'](l){this['_layoutDirection']=l;}get['shouldAllowClosedCaptions'](){return this['_shouldAllowClosedCaptions'];}}f['ConfigService']=k['getInstance']();},0x3e5:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['DatabaseService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0xe1c),u='moments',v='interactions',w='user',x='stories';class y extends(0x0,p['Singleton'])(){constructor(){super(...arguments),this['database']={};}['init'](){return k(this,void 0x0,void 0x0,function*(){try{this['database']=new q['Database']({'databaseName':'blaze-store','version':0x2}),yield this['database']['init']({'onOpen':this['onOpen'],'onError':this['onError'],'onUpgradeNeeded':this['onUpgradeNeeded']});}catch(z){}});}['onOpen'](){return k(this,void 0x0,void 0x0,function*(){m['EventBusService']['publish']('BlazeDatabaseServiceOpen');});}['onError'](z){return k(this,void 0x0,void 0x0,function*(){});}['onUpgradeNeeded'](z){return k(this,void 0x0,void 0x0,function*(){yield new Promise(A=>{z['createObjectStore'](w,{'keyPath':'id'}),z['createObjectStore'](u,{'keyPath':'id'}),z['createObjectStore'](x,{'keyPath':'id'})['createIndex']('story_index','storyId'),z['createObjectStore'](v,{'keyPath':'id'}),A();});});}['getUserId'](){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](w,'user_id');}catch(z){throw z;}});}['updateUserId'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](w,{'id':'user_id','value':z});}catch(A){throw A;}});}['getPageViewed'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](x,z);}catch(A){throw A;}});}['updatePageViewed'](z,A){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](x,{'id':z,'storyId':A});}catch(B){throw B;}});}['isPageViewed'](z){return k(this,void 0x0,void 0x0,function*(){try{const {data:A,error:B}=yield this['getPageViewed'](z);return!B&&A;}catch(C){return!0x1;}});}['enrichStories'](z){return k(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const A of z)for(const B of A['pages'])if(B['hasViewed']=Boolean(yield this['isPageViewed'](B['id'])),'Content'===B['type']&&B['interaction'])try{const C=yield this['getInteraction'](B['interaction']['id']);(null==C?void 0x0:C['data'])&&(yield this['updateInteraction']({'id':B['interaction']['id'],'initData':B['interaction']['initData'],'userResponse':C['data']['userResponse']}));}catch(D){}return z;});}['updateInteraction'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](v,z);}catch(A){throw A;}});}['getInteraction'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](v,z);}catch(A){return null;}});}['updateLike'](z,A){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](u,{'id':z,'liked':A,'viewed':!0x0});}catch(B){return null;}});}['getLike'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](u,z);}catch(A){return null;}});}['updateViewedMoment'](z){return k(this,void 0x0,void 0x0,function*(){var A,B;try{const C=yield this['getLike'](z),D={'id':z,'viewed':!0x0,'liked':null!==(B=null===(A=null==C?void 0x0:C['data'])||void 0x0===A?void 0x0:A['liked'])&&void 0x0!==B&&B};return yield this['database']['update'](u,D);}catch(E){throw null;}});}['getViewedMoment'](z){return k(this,void 0x0,void 0x0,function*(){try{const {data:A}=yield this['database']['get'](u,z);return!!A;}catch(B){return!0x1;}});}['enrichMoments'](z){return k(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const A of z)A['hasViewed']=yield this['getViewedMoment'](A['id']);return z;});}}g['DatabaseService']=y['getInstance']();},0xd3e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorService']=void 0x0;const j=g(0x1133);class k extends(0x0,j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){});}}f['ErrorService']=k['getInstance']();},0x9f3:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventBusService']=void 0x0;const h=g(0x1133);class j extends(0x0,h['Singleton'])(){constructor(){super(...arguments),this['subscribers']={};}['init'](){this['subscribers']={};}['publish'](k,l){const m=this['subscribers'][k];void 0x0!==m&&Object['keys'](m)['forEach'](p=>m[p](l));}['subscribe'](k,l){const m=this['getNextId']();return this['subscribers'][k]||(this['subscribers'][k]={}),this['subscribers'][k][m]=l,{'unsubscribed':()=>{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']();},0x18a4:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventService']=void 0x0;const j=g(0x1133),k=g(0x26ed);class l extends(0x0,j['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){this['rootElement']=document['querySelector']('blaze-sdk');});}['dispatch'](m,p,q={}){var u;const v=new CustomEvent(p['toString'](),{'bubbles':!0x0,'detail':q,'cancelable':!0x0});return null===(u=m['dispatchEvent'])||void 0x0===u||u['call'](m,v),{'mainEvent':v};}['dispatchAnaltyicsEvents'](m,p){var q,u;const v=new CustomEvent(k['Delegation']['onEventTriggered'],{'bubbles':!0x0,'detail':{'eventType':m,'eventData':p},'cancelable':!0x0});return null===(u=null===(q=this['rootElement'])||void 0x0===q?void 0x0:q['dispatchEvent'])||void 0x0===u||u['call'](q,v),{'mainEvent':v};}}f['EventService']=l['getInstance']();},0x11c1:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21d),f),j(g(0x1ef4),f),j(g(0xd34),f),j(g(0x1e1c),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(0x331),f),j(g(0x1737),f),j(g(0x1d1c),f),j(g(0x26ff),f),j(g(0x26bd),f),j(g(0x1cf8),f),j(g(0x1cad),f);},0x128c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateInteraction'](m){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateInteraction'](m);}catch(p){}});}['getInteraction'](m){return h(this,void 0x0,void 0x0,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']();},0xfe7:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateLike'](m,p){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateLike'](p,m),yield j['ApiService']['updateMomentLikeStatus']({'momentId':p,'setLiked':m});}catch(q){}});}['isLiked'](m){return h(this,void 0x0,void 0x0,function*(){try{const p=yield j['DatabaseService']['getLike'](m);return!(!p||!p['data'])&&p['data']['liked'];}catch(q){return!0x1;}});}}f['LikeService']=l['getInstance']();},0x1868:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerService']=void 0x0;const j=g(0x1133);var k;!function(m){m['INFO']='info',m['WARN']='warn',m['ERROR']='error';}(k||(k={}));class l extends(0x0,j['Singleton'])(){constructor(){super(),this['isEnabled']=!0x1,this['logStack']=[];}['init'](){return h(this,void 0x0,void 0x0,function*(){const m=window['location']['search'],p=new URLSearchParams(m);this['isEnabled']='true'===p['get']('wsc_debug');});}['getCurrentTime'](){const m=new Date();return m['getHours']()['toString']()['padStart'](0x2,'0')+':'+m['getMinutes']()['toString']()['padStart'](0x2,'0')+':'+m['getSeconds']()['toString']()['padStart'](0x2,'0')+'.'+m['getMilliseconds']()['toString']()['padStart'](0x3,'0');}['logToConsole']({message:m,level:p=k['INFO'],metadata:q={}}){this['getCurrentTime'](),this['logStack']['push']({'message':m,'level':p,'metadata':q});}['log']({message:m,level:p=k['INFO'],metadata:q={}}){this['isEnabled']&&this['logToConsole']({'message':m,'level':p,'metadata':q});}['info'](m,p){this['log']({'message':m,'level':k['INFO'],'metadata':p});}['warn'](m,p){this['log']({'message':m,'level':k['WARN'],'metadata':p});}['error'](m,p){this['log']({'message':m,'level':k['ERROR'],'metadata':p});}['printLogsToScreen'](){this['logStack']['forEach'](m=>{});}}f['LoggerService']=l['getInstance']();},0x1cf8:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w}=m;let x,y;if('ids'===p&&u)({data:x,error:y}=yield j['ApiService']['getMomentByIds'](u,v));else{if('labels'===p&&q){const z=Array['isArray'](q)?q['join'](','):q['toString']();({data:x,error:y}=yield j['ApiService']['getMomentsByLabels'](z,v,w));}}return null==x||x['result']['map'](A=>{A['type']='Content';}),x||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['updateMomentReadStatusById'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['updateViewedMoment'](m);});}['encrichMoment'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['enrichMoments'](m);});}}f['MomentService']=l['getInstance']();},0x331:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StartupService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](m){return h(this,void 0x0,void 0x0,function*(){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'](),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']();});}}f['StartupService']=l['getInstance']();},0x1cad:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w}=m;let x,y;if('ids'===p&&u)({data:x,error:y}=yield j['ApiService']['getStoriesByIds'](u,v));else{if('labels'===p&&q){const z=Array['isArray'](q)?q['join'](','):q['toString']();({data:x,error:y}=yield j['ApiService']['getStoriesByLabels'](z,v,w));}}return x||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichStories'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield j['DatabaseService']['enrichStories'](m);}catch(p){throw p;}});}}f['StoryService']=l['getInstance']();},0x1737:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['UserService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0x26ed),v=j(0x2432),w='wsc_ias_',x='accessToken',y='refreshToken',z='userId';class A extends(0x0,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 0x0,void 0x0,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']=(0x0,v['getRandomId'])());}['assignUserId'](){return k(this,void 0x0,void 0x0,function*(){this['_userId']=yield this['getUserId']();});}['onBlazeDatabaseServiceOpen'](){return k(this,void 0x0,void 0x0,function*(){try{yield this['assignUserId'](),this['ensureSessionId']();}catch(B){}});}['getUserId'](){return k(this,void 0x0,void 0x0,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 0x0,void 0x0,function*(){try{const B=(yield m['DatabaseService']['getUserId']())['data'];return B?B['value']:null;}catch(C){return null;}});}['handleMissingUserId'](){return k(this,void 0x0,void 0x0,function*(){return new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['USER_ID'])||(0x0,v['getRandomId'])();});}['makeSureCurrentExternalUserTokenExists'](){return k(this,void 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage'](),C=this['getStorageItem']('externalId'),D=m['ConfigService']['externalUserId'];B&&C===D||(yield this['getAndStoreNewUserToken']());});}['getAndStoreNewUserToken'](){return k(this,void 0x0,void 0x0,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 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage']();let C=!0x1;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=!0x0):(yield(0x0,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+B;C?localStorage['setItem'](D,C):localStorage['removeItem'](D);}['getStorageItem'](B){return localStorage['getItem'](w+B);}}g['UserService']=A['getInstance']();},0x1d1c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoCacheService']=void 0x0;const j=g(0x1133),k=g(0x23b6),l=g(0x11c1);class m extends(0x0,j['Singleton'])(){constructor(){super(),this['cache']={},this['cacheName']='blaze-video-cache',this['downloadControllers']=new Map(),this['cacheList']=new Map(),this['cacheInitialized']=!0x1,this['sizeLimit']=0x15e00000;}['init'](){return h(this,void 0x0,void 0x0,function*(){this['retryCacheInitialization'](0x3);});}['retryCacheInitialization'](p){return h(this,void 0x0,void 0x0,function*(){for(;p>0x0;)try{return this['cache']=yield caches['open'](this['cacheName']),yield this['clearAllCache'](),this['cacheInitialized']=!0x0,void this['checkCacheSize']();}catch(q){--p>0x0&&(yield new Promise(u=>setTimeout(u,k['ONE_SECOND'])));}});}['checkCacheSize'](){return h(this,void 0x0,void 0x0,function*(){if('storage'in navigator&&'estimate'in navigator['storage'])try{const {usage:p,quota:q}=yield navigator['storage']['estimate']();if(p&&q&&p/0x100000>this['sizeLimit']){let u='',v=new Date();this['cacheList']['forEach']((w,x)=>{w<v&&(v=w,u=x);}),this['deleteCacheVideoByUrl'](u);}}catch(w){}});}['isVideoDownloading'](p){return this['downloadControllers']['has'](p);}['isInitialized'](){return this['cacheInitialized'];}['fetchAndCache'](p){return h(this,void 0x0,void 0x0,function*(){try{const {abort:q,ready:u,signal:v}=yield function(y,z){return h(this,void 0x0,void 0x0,function*(){const A=new AbortController(),B=A['signal'],C=()=>A['abort']();try{return{'abort':C,'ready':yield fetch(y,Object['assign'](Object['assign']({},z),{'signal':B})),'signal':B};}catch(D){throw D;}});}(p,{'mode':'no-cors','priority':'high'});this['downloadControllers']['set'](p,{'abort':q,'ready':u,'signal':v});const w=yield u;if(v['aborted'])return w;const x=w['clone']();return yield this['cacheResponse'](p,x),x;}catch(y){l['LoggerService']['error']('VideoCacheService\x20-\x20fetchAndCache\x20-\x20failed\x20to\x20init\x20cache\x20-\x20'+y);}finally{this['downloadControllers']['delete'](p);}});}['cacheResponse'](p,q){return h(this,void 0x0,void 0x0,function*(){try{this['cacheList']['set'](p,new Date()),yield this['cache']['put'](p,q);}catch(u){l['LoggerService']['error']('VideoCacheService\x20-\x20cacheResponse\x20-\x20failed\x20to\x20cache\x20repsonse\x20-\x20'+u);}finally{this['checkCacheSize']();}});}['addCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return(yield this['cache']['match'](p))||(yield this['fetchAndCache'](p));});}['isVideoCached'](p){return h(this,void 0x0,void 0x0,function*(){return!!(yield this['cache']['match'](p));});}['abortDownload'](p){return h(this,void 0x0,void 0x0,function*(){const q=this['downloadControllers']['get'](p);q&&(q['abort'](),this['downloadControllers']['delete'](p));});}['deleteCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return yield this['cache']['delete'](p)['then'](()=>!0x0)['catch'](q=>(l['LoggerService']['error']('VideoCacheService\x20-\x20deleteCacheVideoByUrl\x20-\x20failed\x20to\x20delete\x20video\x20from\x20cache\x20-\x20'+q),!0x1));});}['clearAllCache'](){return h(this,void 0x0,void 0x0,function*(){try{const p=(yield this['cache']['keys']())['map'](q=>this['deleteCacheVideoByUrl'](q['url']));yield Promise['all'](p);}catch(q){l['LoggerService']['error']('VideoCacheService\x20-\x20clearAllCache\x20-\x20failed\x20to\x20clear\x20cache\x20-\x20'+q);}});}['downloadAndCacheVideo'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['downloadControllers']['has'](p)||(yield this['addCacheVideoByUrl'](p)));});}['deleteVideoFromCache'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['abortDownload'](p),(yield this['isVideoCached'](p))&&(yield this['deleteCacheVideoByUrl'](p)));});}}f['VideoCacheService']=m['getInstance']();},0x26ff:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super(),this['_isMuted']=!0x0,this['_isPlaying']=!0x0,this['_isNavigating']=!0x1,this['_isModalOpen']=!0x1,this['_isSeekBarDragging']=!0x1,this['_isClosedCaptioningEnabled']=!0x1,this['_currentPlayedContentId']='',this['muteStateBeforeAd']='no-ad',this['_playReference']='Widget',this['updateExcludeContentIdFromURL']();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}get['isMuted'](){return this['_isMuted'];}set['isMuted'](m){this['_isMuted']=m;}['updateExcludeContentIdFromURL'](){const m=new URLSearchParams(window['location']['search'])['get'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']);m&&(j['ConfigService']['excludeContentId']=m,k['URLManager']['removeStringParamsFromCurrentUrl'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']));}get['currentlyPlayedContentId'](){return this['_currentPlayedContentId'];}set['currentlyPlayedContentId'](m){this['_currentPlayedContentId']=m;}get['isPlaying'](){return this['_isPlaying'];}set['isPlaying'](m){this['_isPlaying']=m;}get['isNavigating'](){return this['_isNavigating'];}set['isNavigating'](m){this['_isNavigating']=m;}get['playReference'](){return this['_playReference'];}set['playReference'](m){this['_playReference']=m;}get['isModalOpen'](){return this['_isModalOpen'];}set['isModalOpen'](m){this['_isModalOpen']=m;}get['isSeekBarDragging'](){return this['_isSeekBarDragging'];}set['isSeekBarDragging'](m){this['_isSeekBarDragging']=m;}get['isClosedCaptioningEnabled'](){return this['_isClosedCaptioningEnabled'];}set['isClosedCaptioningEnabled'](m){this['_isClosedCaptioningEnabled']=m;}}f['VideoPlayerService']=l['getInstance']();},0x26bd:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsService']=void 0x0;const j=g(0x1133),k=g(0x1699),m=g(0x22d9),p=g(0x23a6);class q extends(0x0,j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){m['WidgetsFactory']['define']('blaze-widget-ad',p['BlazeWidgetAd']),m['WidgetsFactory']['define']('blaze-widget-embedded-story',p['BlazeWidgetEmbeddedStory']),m['WidgetsFactory']['define']('blaze-widget-modal',p['BlazeWidgetModal']),m['WidgetsFactory']['define']('blaze-widget-item',p['BlazeWidgetItem']),m['WidgetsFactory']['define']('blaze-widget-layout',p['BlazeWidgetLayout']),m['WidgetsFactory']['define']('blaze-widget-story',p['BlazeWidgetStory']),m['WidgetsFactory']['define']('blaze-widget-story-player',p['BlazeWidgetStoryPlayer']),m['WidgetsFactory']['define']('blaze-widget-story-modal',p['BlazeWidgetStoryModal']),m['WidgetsFactory']['define']('blaze-widget-moment',p['BlazeWidgetMoment']),m['WidgetsFactory']['define']('blaze-widget-moment-player',p['BlazeWidgetMomentPlayer']),m['WidgetsFactory']['define']('blaze-widget-moment-modal',p['BlazeWidgetMomentModal']),m['WidgetsFactory']['define']('blaze-widget-moment-seek-bar',p['BlazeWidgetMomentSeekBar']),m['WidgetsFactory']['define']('blaze-widget-video',p['BlazeWidgetVideo']),m['WidgetsFactory']['define']('blaze-widget-share-modal',p['BlazeWidgetShareModal']),m['WidgetsFactory']['define']('blaze-widget-cta-modal',p['BlazeWidgetCtaModal']),m['WidgetsFactory']['define']('blaze-widget-interaction',p['BlazeWidgetInteraction']),m['WidgetsFactory']['define']('blaze-widget-banner-ad',p['BlazeWidgetBannerAd']),m['WidgetsFactory']['define']('blaze-widget-captions',p['BlazeWidgetCaptions']),m['WidgetsFactory']['define']('blaze-loader',k['BlazeLoader']),m['WidgetsFactory']['define']('blaze-chip',k['BlazeChip']),m['WidgetsFactory']['define']('blaze-image',k['BlazeImage']),m['WidgetsFactory']['define']('blaze-alert',k['BlazeAlert']),m['WidgetsFactory']['define']('blaze-modal',k['BlazeDrawer']),m['WidgetsFactory']['define']('blaze-div',k['BlazeDiv']),m['WidgetsFactory']['define']('blaze-share-button',k['BlazeShareButton']),m['WidgetsFactory']['define']('blaze-button',k['BlazeButton']),m['WidgetsFactory']['define']('blaze-button-cta',k['BlazeCtaButton']),m['WidgetsFactory']['define']('blaze-typography',k['BlazeTypography']);});}}f['WidgetsService']=q['getInstance']();},0x132a:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c8f),f),j(g(0x173),f),j(g(0x1636),f);},0x1c8f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Presets']=void 0x0;const h=g(0x1932),j=g(0x115),k=g(0x1636);class l{}f['Presets']=l,l['widgetFont']='\x27WSC\x20Open\x20Sans\x27',l['playerFont']='\x27WSC\x20Open\x20Sans\x27',l['iconDefaultStyle']={'isVisible':!0x1,'url':j['externalLinkIconSvg'],'size':'24px','color':'inherit'},l['CtaButtonStyle']={'color':'','backgroundColor':'','borderRadius':'8px','padding':'0','border':'','fontSize':'16px','font':l['playerFont'],'fontWeight':'700','textTransform':'uppercase','isAnimated':!0x1,'isDisplayCtaModal':!0x0,'width':'100%','height':'40px','position':'CENTER','icon':l['iconDefaultStyle']},l['StatusLiveStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusLiveUnreadStyle']={'backgroundColor':k['Colors']['LiveChip'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['LiveChip'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusReadStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'','isVisible':!0x0,'padding':'3px\x209px'},l['StatusUnreadStyle']={'backgroundColor':k['Colors']['Accent'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['Accent'],'text':'NEW','isVisible':!0x0,'padding':'3px\x209px'},l['BadgeStyle']={'backgroundColor':'','backgroundImage':'','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'50%','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':'','padding':'0','text':'','isVisible':!0x1,'width':0x18,'height':0x18},l['LabelStyle']={'isVisible':!0x0,'gap':0x8,'width':'auto','color':k['Colors']['LightPrimary'],'padding':'0px','position':'outsideBottom','height':'20px','font':l['widgetFont'],'fontSize':'14px','fontWeight':'bold'},l['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':!0x1},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':!0x1}),'statusIndicatorPosition':'outsideBottom','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','horizontalItemsSpacing':0xc,'verticalItemsSpacing':0xc}),l['RowRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1}),l['RowHorizontalRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['Default']=Object['assign']({},l['RowCircle']),l['DefaultStoryStyle']={'titleVisible':!0x0,'titleFont':l['playerFont'],'titleFontSize':'12px','titleFontSizeEmbedded':'11px','titleColor':k['Colors']['LightPrimary'],'publishedDateVisible':!0x0,'publishedDateFont':l['playerFont'],'publishedDateFontSize':'12px','publishedDateFontSizeEmbedded':'11px','publishedDateColor':k['Colors']['TimeColor'],'statusLiveStyle':l['StatusLiveUnreadStyle'],'ctaButton':l['CtaButtonStyle'],'iconsPosition':'VERTICAL','iconsButtonPadding':'5px','iconsButtonSize':'28px','iconsButtonEmbeddedSize':'20px','iconsButton':[{'value':'MUTE_UNMUTE','isEmbeddedVisible':!0x0,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'PLAY_PAUSE','isEmbeddedVisible':!0x0,'embeddedSize':'20px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'SHARE','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'EXIT_PLAYER','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'FULLSCREEN','isEmbeddedVisible':!0x0,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CLOSED_CAPTIONS','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'}],'iconsButtonNavigation':[{'value':'NEXT_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'PREV_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'NEXT_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'},{'value':'PREV_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'}],'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE','PLAY_PAUSE','SHARE','CLOSED_CAPTIONS'],'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['fullscreenIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'exitMobileTablet':j['closeIconSvg'],'exitDesktop':j['closeIconSvg'],'navigation':{'nextPage':j['nextPageIconSvg'],'prevPage':j['prevPageIconSvg'],'nextStory':j['nextStoryIconSvg'],'prevStory':j['prevStoryIconSvg']}}},l['DefaultMomentStyle']={'headingText':{'font':l['playerFont'],'textSizeMobile':'16px','textSizeTablet':'17px','textSizeDesktop':'18px','textColor':'#F0F0F0','isVisible':!0x1,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'600'},'bodyText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'400'},'likeText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':k['Colors']['White'],'fontWeight':'700','textTransform':'none','isVisible':!0x0,'lineHeight':'1'},'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'exit':j['closeIconSvg'],'unlike':j['unlikeIconSvg'],'like':j['likeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'nextMoment':j['arrowUpMomentIconSvg'],'prevMoment':j['arrowDownMomentIconSvg']}},'buttons':{'mute_unmute':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'share':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'like_unlike':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'closed_captions':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}}},'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE'],'contentBoxHorizontalSpacing':'15px','seekBar':{'isVisible':!0x0,'bottomSpacing':'20px','horizontalSpacing':'15px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'3px','cornerRadius':'5px','thumbColor':'','thumbSize':'0px'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'5px','cornerRadius':'5px','thumbColor':k['Colors']['White'],'thumbSize':'15px'}},'ctaButton':{'cornerRadius':'8px','textSize':'16px','font':l['playerFont'],'height':'40px','layoutPositioning':'CTA_BELLOW_BOTTOM_BUTTONS_BOX','horizontalAlignment':'FULL_AVAILABLE_WIDTH','fontWeight':'700','icon':{'position':'START','color':k['Colors']['Black'],'url':j['externalLinkIconSvg'],'size':'24px','isVisible':!0x1}}};},0x1636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Colors']=void 0x0,f['Colors']={'DarkPrimary':'#0D0F14','DarkSecondary':'#232935','DarkTertiary':'#929CB3','LightPrimary':'#F8F9FB','LightSeconday':'#DFE1E4','Accent':'#5AA3FF','LiveChip':'#FF364E','ReadGray':'#9C9C9C','TimeColor':'#B6B7B8','White':'#FFFFFF','Black':'#000000','Gray':'#B6B7B8','Yellow':'#FFD325'};},0x173:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isMomentPlayerStyle']=f['isStoryPlayerStyle']=f['ThemeFactory']=void 0x0;const h=g(0x2432),j=g(0x1c8f);f['ThemeFactory']=class{static['create'](k='default',l='story'){switch('moment'===l||'story'===l||(l='story'),k){case'grid-2-columns':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2Column'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-3-columns':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3Column'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-3-columns-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3ColumnHorizontal'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-2-columns-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2ColumnHorizontal'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-circle':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowCircle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-rectangle':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowRectangle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-rectangle-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowHorizontalRectangle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);default:return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Default'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);}}},f['isStoryPlayerStyle']=function(k){return'object'==typeof k&&null!==k&&'titleVisible'in k&&'titleFont'in k&&'titleFontSize'in k&&'titleFontSizeEmbedded'in k&&'titleColor'in k&&'publishedDateVisible'in k&&'publishedDateFont'in k&&'publishedDateFontSize'in k&&'publishedDateFontSizeEmbedded'in k&&'publishedDateColor'in k&&'statusLiveStyle'in k&&'ctaButton'in k&&'iconsPosition'in k&&'iconsButton'in k&&'iconsButtonSize'in k&&'iconsButtonEmbeddedSize'in k&&'iconsButtonNavigation'in k&&'iconsButtonPadding'in k&&'iconsButtonOrder'in k&&'contentOrder'in k&&'icons'in k;},f['isMomentPlayerStyle']=function(k){return'object'==typeof k&&null!==k&&'headingText'in k&&'bodyText'in k&&'likeText'in k&&'buttons'in k&&'icons'in k&&'iconsButtonOrder'in k;};},0xa1c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['animationCssMapper']=void 0x0,f['animationCssMapper']={'Growing':'grow','Shrinking':'shrink','BottomToTop':'bottomToTop'};},0x12c4:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AttributeParser']=void 0x0,f['AttributeParser']=function(g){return class extends g{['getIntAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseInt(k)),isNaN(l)?j:l;}['getFloatAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseFloat(k)),isNaN(l)?j:l;}['getStringAttribute'](h,j){return this['getAttribute'](h)||j;}['getBooleanAttribute'](h,j){const k=this['getAttribute'](h);return k?'true'==k:j;}};};},0x188:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['positionMap']=f['ButtonNavigation']=void 0x0,function(h){h[h['PREV_STORY']=0x0]='PREV_STORY',h[h['NEXT_STORY']=0x1]='NEXT_STORY',h[h['PREV_PAGE']=0x2]='PREV_PAGE',h[h['NEXT_PAGE']=0x3]='NEXT_PAGE';}(g||(f['ButtonNavigation']=g={})),f['positionMap']={'LEFT':'flex-start','CENTER':'center','RIGHT':'flex-end'};},0x1be7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xac5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25da:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x140f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25a9:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x4e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x549:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1e6b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xdf6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x12c4),f),j(g(0x188),f),j(g(0xac5),f),j(g(0x140f),f),j(g(0x25a9),f),j(g(0x4e),f),j(g(0x549),f),j(g(0x3ad),f),j(g(0x27c),f),j(g(0x22ae),f),j(g(0x1f6e),f),j(g(0xe72),f),j(g(0x1f89),f),j(g(0x1441),f),j(g(0x1ffb),f),j(g(0x2499),f),j(g(0x1d6e),f),j(g(0x2631),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);},0x3ad:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x27c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x22ae:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xe72:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayTypeArray']=void 0x0,f['PlayTypeArray']=['Widget','Share','SingleStory','AutoAdvance'];},0x1f89:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x879:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1093:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1441:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1ffb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2499:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['thumbnailMapping']=void 0x0,f['thumbnailMapping']=function(g){return{'SQUARE_ICON':'SquareIcon','VERTICAL_TWO_BY_THREE':'VerticalTwoByThree','CUSTOM':'MainThumbnail'}[g];};},0xde2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2631:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x247c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x106d:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculateChipSize']=f['getMaxChipSize']=f['createChip']=f['getChipSize']=void 0x0;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']);}f['getChipSize']=k,f['createChip']=l,f['getMaxChipSize']=m,f['calculateChipSize']=function(p,q,u){const {isOutside:v}=(0x0,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};};},0x11e2:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['delay']=void 0x0,f['delay']=function(h){return g(this,void 0x0,void 0x0,function*(){return new Promise(j=>setTimeout(()=>{j();},h));});};},0x2071:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidCountryCode']=void 0x0;const h=g(0x1932);f['isValidCountryCode']=function(j){return h['CountryCodes']['includes'](j);};},0x1c14:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['GuardNullOrEmpty']=void 0x0,f['GuardNullOrEmpty']=function(g,h){if(!h)throw new Error(g+'\x20cannot\x20be\x20empty');};},0x164:(f,g)=>{'use strict';function h(x){return x&&'object'==typeof x&&!Array['isArray'](x);}function j(x,...y){if(!y['length'])return x;const z=y['shift']();if(h(x)&&h(z)){for(const A in z)void 0x0!==z[A]&&(Array['isArray'](z[A])?x[A]=k(x[A]||[],z[A]):h(z[A])?(x[A]||Object['assign'](x,{[A]:{}}),j(x[A],z[A])):Object['assign'](x,{[A]:z[A]}));}return j(x,...y);}function k(x,y){const z=x['every'](B=>'string'==typeof B),A=y['every'](B=>'string'==typeof B);if(z&&A)return[...y];{const B=[...x];return y['forEach'](C=>{const D=B['findIndex'](E=>E['value']===C['value']);-0x1===D?B['push'](C):B[D]=j(B[D],C);}),B;}}function m(x){return x['toString']()['padStart'](0x2,'0');}Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['formatLikes']=g['getNestedValue']=g['updateStyle']=g['removeDuplicates']=g['getChangedProperties']=g['applyPlayerStyleChanges']=g['sortByHasViewed']=g['isReadByLastUnIgnoredPageStatus']=g['getMaxValue']=g['mergeStyles']=g['flattenObject']=g['setId']=g['isEmpty']=g['getRandomId']=g['checkAspectRatios']=g['calculatePercentage']=g['formatUTCDate']=g['formatDate']=g['cloneDeep']=g['mergeArrays']=g['mergeDeep']=g['isObject']=g['convertCssUnitToNumber']=g['pixelsToNumber']=g['isCssPropertySupported']=g['formatDuration']=void 0x0,g['formatDuration']=function(x){if(!x||isNaN(x['getTime']()))return'';const y=new Date(),z=Math['abs'](y['getTime']()-x['getTime']()),A=0x36ee80,B=0x5265c00,C=Math['floor'](z/B),D=Math['floor'](z%B/A),E=Math['floor'](z%A/0xea60);if(C>0x1e){const F=Math['floor'](C/30.436875);return F>=0xc?'1y+':F+'mo';}return C>0x0?C+'d':D>0x0?D+'h':E>=0x2?E+'m':'Now';},g['isCssPropertySupported']=function(x){return x in document['body']['style'];},g['pixelsToNumber']=function(x){return parseInt(x['replace']('px',''));},g['convertCssUnitToNumber']=function(x){if('number'==typeof x)return x;if(x['endsWith']('px'))return parseFloat(x);if(x['endsWith']('rem')){const y=parseFloat(getComputedStyle(document['documentElement'])['fontSize']);return parseFloat(x)*y;}if(x['endsWith']('em')){const z=parseFloat(getComputedStyle(document['body'])['fontSize']);return parseFloat(x)*z;}throw new Error('Unsupported\x20CSS\x20unit:\x20'+x);},g['isObject']=h,g['mergeDeep']=j,g['mergeArrays']=k,g['cloneDeep']=function x(y){if(Array['isArray'](y))return y['map'](z=>x(z));if(h(y)){const z={};for(const A in y)Object['prototype']['hasOwnProperty']['call'](y,A)&&(z[A]=x(y[A]));return z;}return y;},g['formatDate']=function(y){return[y['getFullYear'](),m(y['getMonth']()+0x1),m(y['getDate']())]['join']('-')+'\x20'+[m(y['getHours']()),m(y['getMinutes']()),m(y['getSeconds']())]['join'](':');},g['formatUTCDate']=function(y){return[y['getUTCFullYear'](),m(y['getUTCMonth']()+0x1),m(y['getUTCDate']())]['join']('-')+'\x20'+[m(y['getUTCHours']()),m(y['getUTCMinutes']()),m(y['getUTCSeconds']())]['join'](':');},g['calculatePercentage']=function(y,z){return Math['floor'](y/0x64*z['clientHeight'])+'px';},g['checkAspectRatios']=function(y){const z=[{'ratio':'16/9','decimalValue':0x10/0x9},{'ratio':'9/16','decimalValue':0x9/0x10},{'ratio':'2/3','decimalValue':0x2/0x3}];for(const A of z)if(Math['abs'](y-A['decimalValue'])<0.01)return A['ratio'];return'Custom\x20Ratio';},g['getRandomId']=function(){const y=new Uint8Array(0x4);return crypto['getRandomValues'](y),y['join']('-');},g['isEmpty']=function(y){for(let z in y)if(y['hasOwnProperty'](z)&&Array['isArray'](y[z])&&y[z]['length']>0x0)return!0x1;return!0x0;};let p=0x0;function q(y,z,A,B,C=''){for(let D of Object['keys'](y)){let E=C?C+'.'+D:D;Array['isArray'](y[D])&&Array['isArray'](z[D])?y[D]['length']!==z[D]['length']?B[A]['push'](E):y[D]['forEach']((F,G)=>{'object'==typeof F&&null!==F?Object['keys'](F)['forEach'](H=>{F[H]!==z[D][G][H]&&B[A]['push'](E+'['+G+'].'+H);}):F!==z[D][G]&&B[A]['push'](E+'['+G+']');}):'object'==typeof y[D]&&null!==y[D]&&null!==z[D]?q(y[D],z[D],A,B,E):y[D]!==z[D]&&B[A]['push'](E);}}function u(y,z){const A=new Set(z);return y['filter'](B=>!A['has'](B));}function v(y,z,A){let [B,...C]=z;if(/\[\d+\]/['test'](B)){const [D,E]=B['split'](/[\[\]]/)['filter'](Boolean);0x0===C['length']?y[D][parseInt(E)]=A:v(y[D][parseInt(E)],C,A);}else 0x0===C['length']?y[B]=A:v(y[B],C,A);}function w(y,z){return z['reduce']((A,B)=>{if(/\[\d+\]/['test'](B)){const [C,D]=B['split'](/[\[\]]/)['filter'](Boolean);return A[C][parseInt(D)];}return A[B];},y);}g['setId']=function(y,z='blaze',A=''){y['id']||(y['id']=function(B,C){return p+=0x1,B+'-'+p['toString']()+(C?'-'+C:'');}(z,A));},g['flattenObject']=function y(z){let A={};for(const B in z)if(z['hasOwnProperty'](B)){if('object'!=typeof z[B]||Array['isArray'](z[B]))A[B]=z[B];else{const C=y(z[B]);A=Object['assign'](Object['assign']({},A),C);}}return A;},g['mergeStyles']=function(z,A){return Object['assign'](z['style'],A);},g['getMaxValue']=function(z,A){const B=parseInt(z['replace']('px',''),0xa),C=parseInt(A['replace']('px',''),0xa);return isNaN(B)||C>B?A:z;},g['isReadByLastUnIgnoredPageStatus']=function(z){if(z['pages']['every'](A=>A['ignoreReadStatusForStory']&&A['hasViewed']))return!0x0;for(const A of z['pages']['slice']()['reverse']()){if(A['ignoreReadStatusForStory']&&!A['hasViewed'])return!0x1;if(!A['ignoreReadStatusForStory'])return A['hasViewed'];}return!0x1;},g['sortByHasViewed']=function(z,A){const B=z['hasViewed']?0x1:0x2;return(A['hasViewed']?0x1:0x2)-B;},g['applyPlayerStyleChanges']=function(z,A,B,C){q(z,A,'GLOBAL',C),C['GLOBAL']=u(C['GLOBAL'],C['LOCAL']),C['GLOBAL']['forEach'](D=>{const E=D['split']('.');let F=w(A,E);v(B,E,F);});},g['getChangedProperties']=q,g['removeDuplicates']=u,g['updateStyle']=v,g['getNestedValue']=w,g['formatLikes']=function(z){return z>=0x186a0?'100K':z>=0x3e8?(Math['floor'](z/0x64)/0xa)['toFixed'](0x1)['replace'](/\.0$/,'')+'K':z['toString']();};},0x2432:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x106d),f),j(g(0x11e2),f),j(g(0x2071),f),j(g(0x1c14),f),j(g(0x164),f),j(g(0x24f6),f),j(g(0x1729),f),j(g(0xc40),f);},0xc40:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculatePosition']=void 0x0,f['calculatePosition']=function(g){return{'isOutside':g['startsWith']('outside'),'isInside':g['startsWith']('inside'),'isTop':g['includes']('Top'),'isMiddle':g['includes']('Middle'),'isBottom':g['includes']('Bottom'),'isLeft':g['includes']('Left'),'isRight':g['includes']('Right')};};},0x24f6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['RegexMomentHash']=f['RegexStoryHash']=void 0x0,f['RegexStoryHash']=/\/?[&|?|#](blaze\/story\/[^?|&|#]*)/,f['RegexMomentHash']=/\/?[&|?|#](blaze\/moment\/[^?|&|#]*)/;},0x1729:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Stopwatch']=void 0x0,f['Stopwatch']=class{constructor(){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['startTime']=Date['now']());}['pause'](){this['isRunning']&&(this['isRunning']=!0x1,this['extraTime']+=Date['now']()-this['startTime']);}['durationMS'](){return this['isRunning']?Date['now']()-this['startTime']+this['extraTime']:this['extraTime'];}['reset'](){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}};},0x2120:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetAd']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),u=j(0x26ed),v=j(0x22d9),w=j(0x11c1),x=j(0x132a);class y extends m['BlazeWidgetVideoBase']{constructor(z){super(),this['contentParent']=z,this['isCurrentlyDisplay']=!0x1,this['isAdFailed']=!0x1,this['isPlaying']=!0x1,this['adContainer']=v['WidgetsFactory']['create']('blaze-div'),this['placeholderContainer']=v['WidgetsFactory']['create']('blaze-div'),this['googletag']=window['googletag']||{'cmd':[]},this['boundMessageEvent']=this['handleMessageEvent']['bind'](this),this['ctaModal']=v['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['initStyles']();}['connectedCallback'](){this['append'](this['ctaModal']),this['render']();}['disconnectedCallback'](){}['render'](){}['handleMessageEvent'](z){switch(z['data']){case'BLAZE_CTA_CLICK':this['contentParent']instanceof m['BlazeWidgetStory']?this['contentParent']['event'](q['StoryAction']['CtaClick'],{'gesture_type':'CTA\x20Click'}):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['event'](q['MomentAction']['CtaClick'],{'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(u['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}}get['currentTime'](){return 0x0;}set['currentTime'](z){}get['duration'](){return 0x0;}get['progress'](){return 0x0;}set['muted'](z){this['changeAdMutedState'](z);}['getAdIframeRef'](){return document['querySelector']('iframe[id*=\x22'+this['data']['adPath']+'\x22]');}['changeAdMutedState'](z){if(!this['data'])return;const A=this['getAdIframeRef']();(null==A?void 0x0:A['contentWindow'])&&(z?A['contentWindow']['postMessage']('BLAZE_AD_MUTED','*'):A['contentWindow']['postMessage']('BLAZE_AD_UNMUTED','*'));}['setData'](z){this['data']=z;let A='moment';this['contentParent']instanceof m['BlazeWidgetStory']&&(A=this['contentParent']['mode']['split']('\x20')['join']('-')),this['adContainer']['id']=z['id']+'-'+A,this['appendChild'](this['adContainer']);}['startEnter'](){return k(this,void 0x0,void 0x0,function*(){(yield this['isAdContainerConnectedToDOM']())&&(this['isCurrentlyDisplay']||(window['addEventListener']('message',this['boundMessageEvent']),this['placeholderContainer']['style']['display']='flex',this['style']['display']='block',this['style']['height']='100%',this['isCurrentlyDisplay']=!0x0,this['contentParent']['adjustContentView'](),this['googletag']['cmd']['push'](()=>{var z,A;this['googletag']['destroySlots']();const B=this['data']['adPath'],C=E=>{var F;if(E['slot']['getSlotElementId']()===this['adContainer']['id']){if(clearTimeout(this['failToLoadTimeout']),this['failToLoadTimeout']=void 0x0,E['isEmpty'])this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(F=this['onFail'])||void 0x0===F||F['call'](this)));else{this['placeholderContainer']['style']['display']='none',this['isAdFailed']=!0x1,this['contentParent']instanceof m['BlazeWidgetStory']?this['contentParent']['event'](q['StoryAction']['PageStart'],{}):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['event'](q['MomentAction']['MomentStart'],{});const G=this['getAdIframeRef'](),H=null==G?void 0x0:G['contentWindow'],I=null==H?void 0x0:H['document']['body'];I&&(I['style']['direction']=w['ConfigService']['layoutDirection']);}this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',C);}};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',C),this['failToLoadTimeout']=setTimeout(()=>{var E;this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(E=this['onFail'])||void 0x0===E||E['call'](this)));},q['FAIL_TO_LOAD_TIMEOUT_MS']),this['googletag']['pubads']()['display'](B,['fluid',[0x1,0x1]],this['adContainer']['id']);const D=this['googletag']['pubads']()['getSlots']()['find'](E=>E['getSlotElementId']()===this['adContainer']['id']);if(D){const E=(null===(A=null===(z=w['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===z?void 0x0:z['provideAdExtraParams'])||void 0x0===A?void 0x0:A['call'](z,{'path':B}))||{};Object['entries'](E)['forEach'](([F,G])=>{D['setTargeting'](F,G);});}this['googletag']['enableServices'](),this['googletag']['pubads']()['refresh']();})));});}['endExit'](){this['destroyAd']();}['play'](){var z;this['isPlaying']=!0x0,this['isAdFailed']&&(null===(z=this['onFail'])||void 0x0===z||z['call'](this));try{const A=this['getAdIframeRef'](),B=null==A?void 0x0:A['contentWindow'],C=null==B?void 0x0:B['document']['body'],D=null==C?void 0x0:C['getElementsByTagName']('video'),E=null==D?void 0x0:D[0x0];E&&'function'==typeof E['play']&&E['getAttribute']('src')&&E['play']();}catch(F){}}get['paused'](){return!0x1;}['pause'](){this['isCurrentlyDisplay']=!0x1,this['isPlaying']=!0x1;try{const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['getElementsByTagName']('video'),D=null==C?void 0x0:C[0x0];D&&'function'==typeof D['pause']&&D['getAttribute']('src')&&D['pause']();}catch(E){}}['removeLoader'](){}['loadPoster'](){}['hide'](){this['placeholderContainer']['style']['display']='none',this['changeAdMutedState'](!0x0),this['style']['display']='none',this['isCurrentlyDisplay']=!0x1;}['display'](z){return k(this,void 0x0,void 0x0,function*(){this['onFail']=z;});}['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 z=document['createElement']('blaze-loader');this['placeholderContainer']['appendChild'](z),this['appendChild'](this['placeholderContainer']);}['isAdContainerConnectedToDOM'](){return new Promise(z=>{var A;(null===(A=this['contentParent']['querySelector']('#'+this['adContainer']['id']))||void 0x0===A?void 0x0:A['isConnected'])?z(!0x0):new MutationObserver((B,C)=>{for(let D of B)if('childList'===D['type']){const E=this['contentParent']['querySelector']('#'+this['adContainer']['id']);E&&E['isConnected']&&(C['disconnect'](),z(!0x0));}})['observe'](document['body'],{'childList':!0x0,'subtree':!0x0});});}['destroyAd'](){this['googletag']['cmd']['push'](()=>{this['googletag']['destroySlots']();}),window['removeEventListener']('message',this['boundMessageEvent']);}['handleCtaSwipeUp'](){const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['querySelectorAll']('a.cta'),D=null==C?void 0x0:C[0x0];if(!D)return;this['contentParent']instanceof m['BlazeWidgetStory']&&this['contentParent']['event'](q['StoryAction']['CtaClick'],{'gesture_type':'Swipe\x20Up'});const E=D['href'],F=D['style']['color']||x['Colors']['Black'],G=D['style']['backgroundColor']||x['Colors']['White'];this['ctaModal']['setAttributes']({'border-color':'#fff','background-color':G,'text-color':F,'icon-color':F,'progress-bar-color':F,'cta-url':E}),this['ctaModal']['open'](),setTimeout(()=>{p['deviceDetector']['isIOSMobileTabletSafari']()?window['location']['href']=D['href']:window['open'](D['href'],'_blank'),this['ctaModal']['close']();},0x2*q['ONE_SECOND']);}}g['BlazeWidgetAd']=y;},0x2151:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetBannerAd']=void 0x0;const h=g(0x1932),j=g(0x26ed),k=g(0x11c1),l=g(0x2432);class m extends HTMLElement{constructor(){super(...arguments),this['adContainer']=document['createElement']('div');}get['googletag'](){return window['googletag']||{'cmd':[]};}['connectedCallback'](){this['setInitialStyles'](),this['setAdContainer']();}['show'](p){k['AdService']['canRunAds']&&p&&this['googletag']['cmd']['push'](()=>{this['googletag']['destroySlots']();const q=p['adUnitId'],u=v=>{v['slot']['getSlotElementId']()===this['adContainer']['id']&&(v['isEmpty']||(this['style']['display']='block',this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerLoad'],'adUnitId':q}),this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerView'],'adUnitId':q})),this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',u));};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',u),this['googletag']['pubads']()['setCentering'](!0x0),this['googletag']['pubads']()['display'](q,[[0x140,0x32]],this['adContainer']['id']),this['googletag']['enableServices'](),this['googletag']['pubads']()['refresh']();});}['setInitialStyles'](){(0x0,l['mergeStyles'])(this,{'width':'100%','height':'50px','display':'none','overflow':'hidden'});}['setAdContainer'](){this['adContainer']['id']='ad-banner-'+Date['now'](),this['appendChild'](this['adContainer']);}['raiseAnalyticsEventToParent'](p){this['dispatchEvent'](new CustomEvent(j['InternalEvent']['BANNER_ANALYTICS'],{'bubbles':!0x0,'detail':p}));}}f['BlazeWidgetBannerAd']=m;},0x23a6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x15a2),f),j(g(0x8c0),f),j(g(0x2120),f),j(g(0x2151),f),j(g(0x215f),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);},0xab4:(f,j,k)=>{'use strict';Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetMomentModal']=void 0x0;const m=k(0x1133),q=k(0x1932),v=k(0x26ed),w=k(0x22d9),x=k(0x11c1),y=k(0x2432),z=k(0x33),A=k(0x14c),B=k(0x1f70),C=k(0x1098);let D=window['innerWidth'];class E extends A['BlazeWidgetModal']{constructor(F,G){super('moment'),this['parentWidget']=F,this['playerLayout']=G,this['data']=[],this['playlistSessionId']='',this['navigationButtonsContainerElement']=w['WidgetsFactory']['create']('blaze-div'),this['navigationButtonsContainerElement']['setStyle']({'display':'flex','position':'absolute','right':'36px','flexDirection':'column','justifyContent':'center','alignItems':'normal','height':'100%','gap':'16px'}),'desktop'===m['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'===m['deviceDetector']['platform']&&(this['addEventListener'](C['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']('screenOrientationChange',this['boundOnResizeEventDelay']),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),'desktop'===m['deviceDetector']['platform']&&(this['removeEventListener'](C['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['removeEventListener']('keydown',this['boundOnKeyDown']));}['setTheme'](F){this['player']['playerContentList']['forEach'](G=>{G instanceof B['BlazeWidgetMoment']&&G['setTheme'](F);}),this['playerLayout']=F;}['onNavigationChange'](F){var G,H;if('mobile'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform'])return;const {detail:{prevContentButton:I,nextContentButton:J}}=F;null===(G=this['prevContentButtonElement'])||void 0x0===G||G['setAttribute']('blaze-btn-visible',!0x1===I?'true':'false'),null===(H=this['nextContentButtonElement'])||void 0x0===H||H['setAttribute']('blaze-btn-visible',!0x1===J?'true':'false');}['navigateContent'](F){x['VideoPlayerService']['isNavigating']||(this['player']['contentList'][this['player']['index']]['isActive']=!0x1,this['player']['changeContent'](F));}['createNavigationButton'](F){const G=w['WidgetsFactory']['create']('blaze-button');G['classList']['add']('desktop-button'),G['setStyle']({'display':'inline-flex','zIndex':'9999','padding':'24px','borderRadius':'50%','backgroundColor':'#18181899'});const {nextMoment:H,prevMoment:I}=this['playerLayout']['icons']['navigation'],J='NEXT'===F?H:I;return G['setIconUrl'](J),G['setAttribute']('width','24px'),G['setAttribute']('height','24px'),G['setAttribute']('icon-color','#F0F0F0'),G['addEventListener']('click',()=>this['handleClickNavigation'](F)),this['navigationButtonsContainerElement']['append'](G),G;}['handleClickNavigation'](F){x['VideoPlayerService']['isNavigating']||this['player']['isContentDirectionInPlayerListValid'](F)&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Skip',this['navigateContent'](F));}['setModalContent'](F,G,H){this['data']=F;const I=[];for(let J=0x0;J<F['length'];J++){const K=w['WidgetsFactory']['create']('blaze-widget-moment');K['setPlayerStyle'](this['playerLayout']),K['setData'](F[J]),K['setModal'](this),I['push'](K);const L=x['AdService']['pushAdsBetweenMoments'](H,I,F,J,G);L&&L['setModal'](this);}this['player']['setContent'](I);}['onKeyDown'](F){this['isOpen']&&'Escape'==F['key']&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Escape\x20Button',this['close']());}['close'](){var F,G;if(!this['isOpen'])return;const H=this['player']['playerContentList'][this['player']['index']];H['event'](q['MomentAction']['MomentExit'],{}),H['event'](q['MomentAction']['MomentsPlaylistExit'],{}),x['EventService']['dispatch'](this,v['Delegation']['onPlayerDismissed']),this['parentWidget']&&(x['EventService']['dispatch'](this['parentWidget'],v['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),H['data']['hasViewed']=!0x0,this['parentWidget']instanceof z['BlazeWidgetLayout']&&this['parentWidget']['widgetItems']['forEach'](I=>{I['content']['id']===H['data']['id']&&(I['setChipStyle'](),I['render']());})),this['playlistSessionId']='',null===(F=this['player'])||void 0x0===F||F['playerContentList']['forEach'](I=>{I['unload']();}),super['close'](),null===(G=this['onClose'])||void 0x0===G||G['call'](this);}['open'](){var F,G,H;this['isOpen']||x['EventService']['dispatch'](this,v['Delegation']['onPlayerDidAppear']),this['playlistSessionId']=(0x0,y['getRandomId'])(),null===(G=null===(F=this['player'])||void 0x0===F?void 0x0:F['playerContentList'][this['player']['index']])||void 0x0===G||G['load']('direct'),this['player']['prefetchPosters'](),(0x0,y['delay'])(q['ONE_SECOND'])['then'](()=>{this['player']['preloadAdjacentContent']('NEXT'),this['player']['preloadAdjacentContent']('PREV');}),super['open'](),null===(H=this['onOpen'])||void 0x0===H||H['call'](this);}['play'](){}['setExitButtonDisplay'](){'desktop'===m['deviceDetector']['platform']&&(this['exitButtonWrapperElement']['style']['display']='block');}['render'](){var F;this['setExitButtonDisplay'](),null===(F=this['player'])||void 0x0===F||F['render']();}['onResize'](){super['onResize'](),D!==window['innerWidth']&&(D=window['innerWidth']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},q['ONE_SECOND']/0x2);}}j['BlazeWidgetMomentModal']=E;},0x1098:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentPlayer']=g['UPDATE_NAVIGATION_BUTTONS_EVENT']=g['MUTE_UNMUTE_EVENT']=void 0x0;const p=m(j(0xad8)),q=j(0x23a6),u=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x132a);g['MUTE_UNMUTE_EVENT']='muteButtonClicked',g['UPDATE_NAVIGATION_BUTTONS_EVENT']='updateNavigationButtons';class y extends q['WidgetAbstractPlayer']{constructor(){super(),this['isWheelEventHandling']=!0x1,this['boundHandleMuteClicked']=this['handleMuteClicked']['bind'](this),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'](),document['removeEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupEventListeners'](){this['setupHammer'](Hammer['DIRECTION_VERTICAL']),this['listeners']['add']('wheel',(0x0,u['debounce'])(this['handleWheel']['bind'](this),0x0)),this['listeners']['add']('keydown',(0x0,u['debounce'])(this['onKeyDown']['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 z=this['isContentDirectionInPlayerListValid']('PREV'),A=this['isContentDirectionInPlayerListValid']('NEXT');this['dispatchEvent'](new CustomEvent(g['UPDATE_NAVIGATION_BUTTONS_EVENT'],{'bubbles':!0x0,'detail':{'nextContentButton':A,'prevContentButton':z}}));}['adjustContainerStyle'](){const z=this['getBoundingClientRect']()['height'];let A,B,C=0x28,D=0.004;'mobile'===u['deviceDetector']['platform']?(this['style']['background']=x['Colors']['Black'],D=0x1-0x2*D,C=0x0,A=0x0,B=z):(A=z*D+C/0x2,B=z*(0x1-0x2*D)-0x2*C);const E='repeat(10,\x20'+B+'px)';this['container']['setStyle']({'gap':C+'px','marginTop':A+'px','gridTemplateRows':E});}['adjustPlayerContentStyle'](){'mobile'===u['deviceDetector']['platform']&&this['playerContentList']['forEach'](z=>{z['style']['width']=this['clientWidth']+'px';});}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':x['Colors']['Black']});}['attributeChangedCallback'](z,A,B){}['handleMoveSwipe'](z){var A,B,C,D;if(w['VideoPlayerService']['isSeekBarDragging'])return;const E=this['playerContentList']['findIndex'](F=>{var G;return F['id']===(null===(G=this['playerContentList'][this['index']])||void 0x0===G?void 0x0:G['id']);});if(E>-0x1){const F=z['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['height'])/0.85)*0x3e8;switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:null===(A=this['currentNextAnimation'])||void 0x0===A||A['seek'](F);break;case Hammer['DIRECTION_DOWN']:null===(B=this['currentPrevAnimation'])||void 0x0===B||B['seek'](F);break;default:null===(C=this['currentNextAnimation'])||void 0x0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](0x0);}}}['handleEndSwipe'](z){const A=this['playerContentList'][this['index']+0x1],B=this['playerContentList'][this['index']-0x1];switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:if(!A)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,A,this['currentNextAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==A?void 0x0:A['data']['id'],'isAd':null==A?void 0x0:A['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if(!B)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,B,this['currentPrevAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==B?void 0x0:B['data']['id'],'isAd':null==B?void 0x0:B['data']['isAd']});break;default:this['reverseAnimation'](z);}}['handlePrevDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2-0x1)===this['index']){const z=this['playerContentList'][0x0]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A-0x1];if(!B)return;const C=this['playerContentList'][this['playerContentList']['length']-0x1];this['releaseMomentFromMemory'](C),this['updateItemData'](C,B),this['container']['insertBefore'](C,this['container']['firstChild']),this['playerContentList']['pop'](),this['playerContentList']['unshift'](C),this['index']+=0x1;}}['handleNextDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2+0x1)===this['index']){const z=this['playerContentList'][this['playerContentList']['length']-0x1]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A+0x1];if(!B)return;const C=this['playerContentList'][0x0];this['releaseMomentFromMemory'](C),this['updateItemData'](C,B),this['container']['insertBefore'](C,null),this['playerContentList']['shift'](),this['playerContentList']['push'](C),this['index']-=0x1;}}['releaseMomentFromMemory'](z){const A=z['video'];A instanceof q['BlazeWidgetVideo']&&A['resetVideoState']();}['updateItemData'](z,A){var B;z['updateData']({'data':A['data'],'shouldShowImaAdOnStart':A['shouldShowImaAdOnStart'],'imaUrl':A['imaUrl']});const C=(null===(B=z['refContentModal'])||void 0x0===B?void 0x0:B['parentWidget'])['widgetItems']['filter'](D=>D['content']['id']===A['data']['id'])[0x0];C&&z['setWidgetItemParent'](C),z['refContentModal']=A['refContentModal'],z['playerStyle']=A['playerStyle'];}['createAnimation'](z,A,B){var C,D;return p['default']['timeline']({'complete':()=>{var E,F,G;null===(E=z['video'])||void 0x0===E||E['endExit'](),null===(G=null===(F=this['playerContentList']['at'](B))||void 0x0===F?void 0x0:F['video'])||void 0x0===G||G['startEnter'](),this['handleAnimationCompletion'](z,A);},'changeBegin':()=>{this['handleAnimationStart'](z,A);},'easing':'easeInOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateY':-this['playerContentList'][this['index']]['offsetTop'],'duration':0x0},{'translateY':null!==(D=-(null===(C=this['playerContentList'][B])||void 0x0===C?void 0x0:C['offsetTop']))&&void 0x0!==D?D:-this['playerContentList'][this['index']]['offsetTop'],'duration':0x1c2}]});}['handleAnimationStart'](z,A){var B,C,D;(null===(B=z['shareModal'])||void 0x0===B?void 0x0:B['isOpen'])&&(null===(C=z['shareModal'])||void 0x0===C||C['close']()),null===(D=this['onContentChange'])||void 0x0===D||D['call'](this,A);}['handleAnimationCompletion'](z,A){return k(this,void 0x0,void 0x0,function*(){z['navigationType']='Manual',z['navigationDirection']='NEXT'===A?'Forwards':'Backwards',z['isActive']=!0x1,z['pause'](),this['index']+='NEXT'===A?0x1:-0x1,z['event'](v['MomentAction']['MomentExit'],{}),yield this['handleAnimationEnd'](A),yield this['prefetchPosters'](),yield this['preloadAdjacentContent'](A);});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isPlaying']=!0x0;const z=this['playerContentList'][this['index']];z&&(yield z['load']('direct'),z['play'](),this['playerContentList']['forEach'](A=>{var B;A['data']['id']!==z['data']['id']&&(A['isActive']=!0x1,null===(B=A['seekBar'])||void 0x0===B||B['setAttribute']('is-active','false'),A['removeResumeButtonFromScreen']());}),z['isActive']=!0x0,this['isNavigationBlocked']=!0x1,w['VideoPlayerService']['isNavigating']=!0x1,w['VideoPlayerService']['isPlaying']=!0x0);});}['setContent'](z){for(const A of this['playerContentList'])A['remove']();this['playerContentList']=[],this['contentList']=[...z];}['preloadAdjacentContent'](z){return k(this,void 0x0,void 0x0,function*(){const A=[this['index']-0x1,this['index']+0x1]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']),B=[this['index']-0x2,this['index']+0x2]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']);A['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();})),setTimeout(()=>{B['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();}));},v['ONE_SECOND']),setTimeout(()=>k(this,void 0x0,void 0x0,function*(){var C,D,E,F,G,H,I,J,K,L;const M=this['playerContentList'][0x0],N=this['playerContentList'][this['playerContentList']['length']-0x1],O=this['contentList']['findIndex'](Q=>Q['data']['id']===N['data']['id']),P=this['contentList']['findIndex'](Q=>Q['data']['id']===M['data']['id']);if(O+0x1<this['contentList']['length']&&'PREV'===z){const Q=null===(G=null===(F=null===(E=null===(D=null===(C=this['contentList'][O+0x1]['data'])||void 0x0===C?void 0x0:C['baseLayer'])||void 0x0===D?void 0x0:D['content'])||void 0x0===E?void 0x0:E['renditions'])||void 0x0===F?void 0x0:F[0x0])||void 0x0===G?void 0x0:G['url'];yield w['VideoCacheService']['deleteVideoFromCache'](Q);}if(P-0x1>=0x0&&'NEXT'===z){const R=null===(L=null===(K=null===(J=null===(I=null===(H=this['contentList'][O-0x1]['data'])||void 0x0===H?void 0x0:H['baseLayer'])||void 0x0===I?void 0x0:I['content'])||void 0x0===J?void 0x0:J['renditions'])||void 0x0===K?void 0x0:K[0x0])||void 0x0===L?void 0x0:L['url'];yield w['VideoCacheService']['deleteVideoFromCache'](R);}}),v['ONE_SECOND']);});}['prefetchPosters'](){return k(this,void 0x0,void 0x0,function*(){var z,A,B,C;this['playerContentList']['forEach'](E=>{var F;return null===(F=E['video'])||void 0x0===F?void 0x0:F['loadPoster']();});const D=this['contentList']['findIndex'](E=>E['data']['id']===this['playerContentList'][this['index']]['data']['id']);for(let E=D+0x1;E<=D+0x3;E++){if(!this['contentList'][E])return;const F=null===(C=null===(B=null===(A=null===(z=this['contentList'][E])||void 0x0===z?void 0x0:z['data'])||void 0x0===A?void 0x0:A['poster'])||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'];F&&(yield fetch(F,{'priority':'high','cache':'force-cache'})['then'](()=>{})['catch'](()=>{}));}});}['play'](){const z=this['playerContentList'][this['index']];z['event'](v['MomentAction']['MomentsPlaylistStart'],{}),z['play'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':z['data']['id'],'isAd':z['data']['isAd']}),this['updateNavigationButtons']();}['pause'](){this['playerContentList'][this['index']]['pause']();}['onAnimationEnd'](){this['resetAnimation']();for(const z of this['playerContentList'])z['resetPosition']();w['VideoPlayerService']['isPlaying']=!0x0,this['play']();}['handleWheel'](z){var A;if(Math['abs'](z['deltaY'])<=0xf)return;if(this['isNavigationBlocked']||this['isWheelEventHandling'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;this['isWheelEventHandling']=!0x0;const B=z['deltaY']>0x0?'NEXT':'PREV';this['isContentDirectionInPlayerListValid'](B)?(this['isNavigationBlocked']=!0x0,this['changeContent'](B),setTimeout(()=>{this['isWheelEventHandling']=!0x1;},v['ONE_SECOND'])):this['isWheelEventHandling']=!0x1;}['onKeyDown'](z){var A;if(this['isNavigationBlocked'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;let B=null;switch(z['code']){case'ArrowUp':case'Up':case'PageUp':B='PREV';break;case'ArrowDown':case'Down':case'PageDown':B='NEXT';break;case'Space':return void this['playerContentList'][this['index']]['handlePlayPauseButtonClick']();}this['isContentDirectionInPlayerListValid'](B)&&B&&this['changeContent'](B);}['changeContent'](z){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isNavigating']=!0x0;const A=this['animateContent'](z);A&&(A['play'](),A['finished']['then'](()=>{var B;this['updateNavigationButtons'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null===(B=this['playerContentList'][this['index']])||void 0x0===B?void 0x0:B['data']['id'],'isAd':this['playerContentList'][this['index']]['data']['isAd']});}));}['handleMuteClicked'](){this['playerContentList']['forEach'](z=>z['updatePlayerButtonIcons']()),this['playerContentList']['forEach'](z=>z['onMuteUnmuteChange']());}['loadContentBatch'](){}['resetStyles'](){}['render'](){this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}}g['BlazeWidgetMomentPlayer']=y;},0x1345:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentSeekBar']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0x2432),u={'isActive':'is-active'};class v extends HTMLElement{constructor(w,x){super(),this['video']=w,this['seekBarStyle']=x,this['playbackParts']=[],this['isProgressBarPaused']=!0x1,this['isActive']=!0x1,this['isInit']=!0x1,this['animationFrameId']=null,this['lastProgress']=0x0,this['progressBarContainer']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=m['WidgetsFactory']['create']('blaze-div'),this['isMouseIn']=!0x1,this['progress']=m['WidgetsFactory']['create']('blaze-div'),this['listeners']=new j['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']('progress');}static get['observedAttributes'](){return Object['values'](u);}['attributeChangedCallback'](w,x,y){var z,A;w===u['isActive']&&(this['isActive']='true'===y['toLowerCase'](),this['isActive']?this['setupProgressUpdate']():this['stopProgressUpdate'](),null===(A=null===(z=this['playbackParts'])||void 0x0===z?void 0x0:z['forEach'])||void 0x0===A||A['call'](z,B=>B['style']['width']='0%'));}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const w=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(w)&&(this['seekBarStyle']['playingState']['height']='3px');const x=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(x)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['initialize'](),this['styleProgressContainer']();}}['addTransitionStyle'](){const w=document['createElement']('style');w['textContent']='\x0a\x20\x20\x20\x20\x20\x20.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'](w);}['onContentPaused'](){this['applyPauseSeekBarStyle']();}['onContentResumed'](w=!0x1){w?this['applyPlayingSeekBarStyle']():setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']);}['disconnectedCallback'](){this['stopProgressUpdate']();}['initialize'](){this['setupEventListeners'](),this['render']();}['setVideo'](w){this['video']=w,this['stopProgressUpdate'](),this['setupProgressUpdate'](),this['reset']();}['setupProgressUpdate'](){var w;const x=()=>{var y,z,A;this['playbackParts']['forEach'](D=>D['style']['width']='0%');let B=this['video']['progress'];Number['isNaN'](B)?B=this['lastProgress']:this['lastProgress']=B;const C=null===(z=null===(y=this['playbackParts'])||void 0x0===y?void 0x0:y['at'])||void 0x0===z?void 0x0:z['call'](y,0x0);C&&(C['style']['width']=0x64*B+'%'),this['animationFrameId']=null===(A=window['requestAnimationFrame'])||void 0x0===A?void 0x0:A['call'](window,x);};this['animationFrameId']=null===(w=window['requestAnimationFrame'])||void 0x0===w?void 0x0:w['call'](window,x);}['stopProgressUpdate'](){var w;null!==this['animationFrameId']&&(null===(w=window['cancelAnimationFrame'])||void 0x0===w||w['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 w;this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x0,null===(w=this['onPause'])||void 0x0===w||w['call'](this),this['applyPauseSeekBarStyle']());}['handleOnEndDrag'](){var w;this['isActive']&&p['VideoPlayerService']['isSeekBarDragging']&&this['isConnected']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x1,null===(w=this['onResume'])||void 0x0===w||w['call'](this),setTimeout(()=>{p['VideoPlayerService']['isSeekBarDragging']||this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']));}['handleOnClick'](w){if(!this['isActive']||p['VideoPlayerService']['isSeekBarDragging'])return;let x;if(w instanceof MouseEvent)x=w['clientX'];else{if(!(w['touches']&&w['touches']['length']>0x0))return;x=w['touches'][0x0]['clientX'];}this['handleSeek'](x,!0x0);}['onMouseMove'](w){this['handleSeek'](w['clientX'],0x1===w['buttons']);}['onTouchMove'](w){w['touches']['length']>0x0&&(this['handleSeek'](w['touches'][0x0]['clientX'],!0x0),w['preventDefault'](),w['stopImmediatePropagation']());}['handleOnMouseOut'](){this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']||(this['isMouseIn']=!0x1,setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND'])));}['handleOnMouseIn'](){this['isActive']&&(this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']());}['applyPlayingSeekBarStyle'](){this['video']['paused']&&!p['VideoPlayerService']['isPlaying']||this['isProgressBarPaused']&&(this['isMouseIn']||(this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x1,this['updateProgressBarStyles']()));}['applyPauseSeekBarStyle'](){this['isProgressBarPaused']||(this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x0,this['updateProgressBarStyles']());}['reset'](){this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']();}['handleSeek'](w,x){if(!x)return;const y=this['getBoundingClientRect']();let z=(w-y['left'])/y['width'];'RTL'===p['ConfigService']['layoutDirection']&&(z=0x1-z);const A=Math['min'](Math['max'](z,0x0),0x1);this['video']['currentTime']=this['video']['duration']*A;}['styleProgressContainer'](){const w=parseFloat(this['seekBarStyle']['playingState']['height']),x=parseFloat(this['seekBarStyle']['pausedState']['height']),y=Math['max'](w,x);(0x0,q['mergeStyles'])(this,{'height':y+'px','padding':'20px\x20'+this['seekBarStyle']['horizontalSpacing']+'\x20'+this['seekBarStyle']['bottomSpacing']+'\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']['cornerRadius']:this['seekBarStyle']['playingState']['cornerRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['backgroundColor']:this['seekBarStyle']['playingState']['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['cornerRadius']:this['seekBarStyle']['playingState']['cornerRadius'],'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'](){}}g['BlazeWidgetMomentSeekBar']=v;},0x1f70:function(j,k,q){'use strict';var w=this&&this['__awaiter']||function(O,P,Q,R){return new(Q||(Q=Promise))(function(S,T){function U(X){try{W(R['next'](X));}catch(Y){T(Y);}}function V(X){try{W(R['throw'](X));}catch(Y){T(Y);}}function W(X){var Y;X['done']?S(X['value']):(Y=X['value'],Y instanceof Q?Y:new Q(function(Z){Z(Y);}))['then'](U,V);}W((R=R['apply'](O,P||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeWidgetMoment']=void 0x0;const x=q(0x23a6),z=q(0x1133),A=q(0x1699),B=q(0x1932),C=q(0x26ed),D=q(0x22d9),E=q(0x11c1),F=q(0x132a),G=q(0x164),H=q(0x636),I=q(0xb58),J=q(0x416),K='(rgba(0,\x200,\x200,\x200.8),\x20transparent)',L='(top,\x20transparent,\x20transparent,\x20transparent,\x20rgba(0,\x200,\x200,\x201))',M='linear-gradient(180deg,\x20transparent,\x20#000\x200%,\x20#000\x2095%,\x20transparent\x20100%)';class N extends I['BlazeWidgetContent']{constructor(O){super(),this['playerStyle']=O,this['modal']={},this['seekBar']=D['WidgetsFactory']['create']('blaze-widget-moment-seek-bar'),this['data']={},this['type']='moment',this['momentIndex']=0x0,this['loopNumber']=0x0,this['isLiked']=!0x1,this['topContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContentContainer']=D['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaAndContent']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaContentButtons']=D['WidgetsFactory']['create']('blaze-div'),this['shadowBottomElement']=D['WidgetsFactory']['create']('blaze-div'),this['shadowTopElement']=D['WidgetsFactory']['create']('blaze-div'),this['topButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['likeWrapperElement']=D['WidgetsFactory']['create']('blaze-div'),this['likeCountElement']=D['WidgetsFactory']['create']('blaze-div'),this['closeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['muteButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['likeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['shareButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['playPauseButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['headBodyContainer']=D['WidgetsFactory']['create']('blaze-div'),this['headElement']=D['WidgetsFactory']['create']('blaze-div'),this['bodyElement']=D['WidgetsFactory']['create']('blaze-div'),this['ctaButtonElement']=new A['BlazeCtaButton'](),this['isInit']=!0x1,this['isActive']=!0x1,this['isMomentPausedByPlayPauseButton']=!0x1,this['shouldShowImaAdOnStart']=!0x1,this['imaUrl']='',this['elementsToHideOnImaAds']=[],this['elementsToHideOnCustomAds']=[];}['setPlayerStyle'](O){this['playerStyle']=O;}['connectedCallback'](){this['isInit']||(this['isInit']=!0x0,this['initializeElements'](),this['initializeStyles'](),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['ctaButtonElement']['addEventListener']('click',O=>this['boundOnCtaClicked'](O)),super['connectedCallback'](),this['render']());}['disconnectedCallback'](){this['listeners']['removeAll'](),this['ctaButtonElement']['removeEventListener']('click',this['boundOnCtaClicked']),super['disconnectedCallback']();}['setTheme'](O){this['playerStyle']=O,this['render']();}['initializeStyles'](){this['playerStyle']&&(this['styleMainContainer'](),this['styleShadowElements'](),this['styleButtonsContainer'](),this['styleTopContainer'](),this['styleBottomContainer'](),this['styleBottomContentContainer'](),this['styleHeadBodyContainer']());}['styleMainContainer'](){(0x0,G['mergeStyles'])(this,{'display':'grid','width':'auto','height':'100%','aspectRatio':B['ASPECT_RATIO_9_16']['toString'](),'margin':'auto','maxHeight':'100%','background':F['Colors']['Black']}),(0x0,G['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'+K,'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'+K,this['shadowTopElement']['style']['background']='-webkit-linear-gradient'+K;}['styleShadowBottomElement'](){this['shadowBottomElement']['setStyle']({'background':'linear-gradient'+L,'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'+L,this['shadowBottomElement']['style']['background']='-webkit-linear-gradient'+L;}['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 O='desktop'===z['deviceDetector']['platform'];this['bottomButtonsContainer']['setStyle']({'display':'flex','gap':O?'32px':'16px','position':O?'absolute':'unset','bottom':O?'0px':'unset','right':O?'-80px':'unset','flexDirection':'column'});}['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'](O,P,Q){if(!this['playerStyle'])return;let R,S;if('HEADING_CONTENT'===Q?R=F['Presets']['DefaultMomentStyle']['headingText']:'BODY_CONTENT'===Q&&(R=F['Presets']['DefaultMomentStyle']['bodyText']),!R||!P)throw new Error('Default\x20Text\x20style\x20and\x20custom\x20style\x20not\x20found');switch(z['deviceDetector']['platform']){case'desktop':S=P['textSizeDesktop']||R['textSizeDesktop'];break;case'tablet':S=P['textSizeTablet']||R['textSizeTablet'];break;default:S=P['textSizeMobile']||R['textSizeMobile'];}O['setStyle']({'display':P['isVisible']?'-webkit-box':'none','fontSize':S,'fontFamily':P['font'],'fontWeight':P['fontWeight'],'color':P['textColor']||R['textColor'],'textTransform':P['textTransform'],'lineHeight':P['lineHeight'],'overflow':'hidden','textOverflow':'ellipsis','WebkitBoxOrient':'vertical','WebkitLineClamp':'2','lineClamp':'2','boxOrient':'vertical','width':'desktop'===z['deviceDetector']['platform']?'75%':'100%'});}['applyLikeStyle'](){var O,Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac;if(!this['playerStyle'])return;let ad,ae,af,ag,ah;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':ad=null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['like_unlike']['desktop']['padding'],ae=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['like_unlike']['desktop']['borderRadius'],af=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['like_unlike']['desktop']['backgroundColor'],ag=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['likeText']['font'],ah=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['likeText']['textSizeDesktop'];break;case'tablet':ad=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['like_unlike']['tablet']['padding'],ae=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['like_unlike']['tablet']['borderRadius'],af=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['like_unlike']['tablet']['backgroundColor'],ag=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['likeText']['font'],ah=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['likeText']['textSizeTablet'];break;case'mobile':ad=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['buttons']['like_unlike']['mobile']['padding'],ae=null===(a2=this['playerStyle'])||void 0x0===a2?void 0x0:a2['buttons']['like_unlike']['mobile']['borderRadius'],af=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['buttons']['like_unlike']['mobile']['backgroundColor'],ag=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['likeText']['font'],ah=null===(a5=this['playerStyle'])||void 0x0===a5?void 0x0:a5['likeText']['textSizeMobile'];break;default:ad=null===(a6=this['playerStyle'])||void 0x0===a6?void 0x0:a6['buttons']['like_unlike']['mobile']['padding'],ae=null===(a7=this['playerStyle'])||void 0x0===a7?void 0x0:a7['buttons']['like_unlike']['mobile']['borderRadius'],af=null===(a8=this['playerStyle'])||void 0x0===a8?void 0x0:a8['buttons']['like_unlike']['mobile']['backgroundColor'],ag=null===(a9=this['playerStyle'])||void 0x0===a9?void 0x0:a9['likeText']['font'],ah=null===(aa=this['playerStyle'])||void 0x0===aa?void 0x0:aa['likeText']['textSizeMobile'];}this['likeButtonElement']['setStyle']({'padding':null!=ad?ad:'10px','borderRadius':null!=ae?ae:'50%','backgroundColor':null!=af?af:'#18181899'});const ai=null===(ab=this['playerStyle'])||void 0x0===ab?void 0x0:ab['likeText']['textColor'],aj=null===(ac=this['playerStyle'])||void 0x0===ac?void 0x0:ac['likeText']['fontWeight'];this['likeCountElement']['setStyle']({'fontSize':null!=ah?ah:'14px','color':null!=ai?ai:F['Colors']['White'],'fontWeight':null!=aj?aj:'normal','fontFamily':null!=ag?ag:F['Presets']['playerFont']}),this['likeButtonElement']['setIconUrl'](this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike']);}['applyShareStyle'](){var O,P,Q,R,S,T,U,V,W,X,Y,Z;if(!this['playerStyle'])return;let a0,a1,a2,a3;switch(z['deviceDetector']['platform']){case'desktop':a0=null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['share']['desktop']['padding'],a1=null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['buttons']['share']['desktop']['borderRadius'],a2=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['share']['desktop']['backgroundColor'],a3=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['share']['desktop']['color'];break;case'tablet':a0=null===(S=this['playerStyle'])||void 0x0===S?void 0x0:S['buttons']['share']['tablet']['padding'],a1=null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['buttons']['share']['tablet']['borderRadius'],a2=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['share']['tablet']['backgroundColor'],a3=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['buttons']['share']['tablet']['color'];break;case'mobile':a0=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['share']['mobile']['padding'],a1=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['share']['mobile']['borderRadius'],a2=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['share']['mobile']['backgroundColor'],a3=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['share']['mobile']['color'];}this['shareButtonElement']['setStyle']({'padding':null!=a0?a0:'10px','borderRadius':null!=a1?a1:'50%','backgroundColor':null!=a2?a2:'#18181899'}),a3&&this['shareButtonElement']['setAttribute']('icon-color',a3),'desktop'===z['deviceDetector']['platform']&&this['shareButtonElement']['classList']['add']('desktop-button'),this['shareButtonElement']['setIconUrl'](this['playerStyle']['icons']['share']);}['applyCtaButtonStyles'](){var O;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['ctaButton']))throw new Error('CTA\x20button\x20style\x20not\x20found');const {ctaButton:P,contentBoxHorizontalSpacing:Q}=this['playerStyle'];this['setAnchorButtonStyles'](P),this['setIconAttributes'](P),this['setLayoutPositioning'](P),this['setCtaButtonAlignment'](P),this['setLayoutSpacing'](P,Q);}['setAnchorButtonStyles'](O){this['ctaButtonElement']['setAnchorButtonStyles']({'fontFamily':O['font'],'fontWeight':O['fontWeight'],'borderRadius':O['cornerRadius'],'fontSize':O['textSize']});}['setIconAttributes'](O){O['icon']['isVisible']?(this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('icon-color',O['icon']['color']),this['ctaButtonElement']['setAttribute']('icon-url',O['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',O['icon']['size']),this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('display-icon','true')):this['ctaButtonElement']['setAttribute']('display-icon','false');}['setLayoutPositioning'](O){var P,Q,R;'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===O['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===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['contentBoxHorizontalSpacing'])}),this['ctaButtonElement']['style']['padding']='0px\x20'+(null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['contentBoxHorizontalSpacing'])):'CTA_BELLOW_BOTTOM_BUTTONS_BOX'===O['layoutPositioning']&&(this['bottomContentContainer']['style']['margin']='0px\x20'+(null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['contentBoxHorizontalSpacing']));}['setCtaButtonAlignment'](O){this['ctaButtonElement']['setStyle']({'height':O['height'],'alignSelf':{'START':'flex-start','CENTER':'center','FULL_AVAILABLE_WIDTH':'center','END':'flex-end'}[O['horizontalAlignment']]}),this['ctaButtonElement']['setCtaTextStyle']({'width':'100%'});}['setLayoutSpacing'](O,P){const Q='FULL_AVAILABLE_WIDTH'===O['horizontalAlignment'],R='mobile'===z['deviceDetector']['platform']?'50%':'33.4%';if('CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===O['layoutPositioning'])this['ctaButtonElement']['style']['width']=Q?'100%':R,this['ctaButtonElement']['style']['padding']='0';else{if('CTA_BELLOW_BOTTOM_BUTTONS_BOX'===O['layoutPositioning']){const S=Q?'calc(100%\x20-\x20'+0x2*(0x0,G['convertCssUnitToNumber'])(P)+'px)':R;this['ctaButtonElement']['style']['width']=S,this['ctaButtonElement']['style']['margin']='0px\x20'+P;}}}['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'](O,P){const {iconUrl:Q,width:R,height:S,color:T,padding:U,borderRadius:V,backgroundColor:W,onClick:X}=O;P['setIconUrl'](Q),P['setAttribute']('height',R),P['setAttribute']('width',S),T&&P['setAttribute']('icon-color',T);const Y={'padding':U,'borderRadius':V,'backgroundColor':W};Object['entries'](Y)['forEach'](([Z,a0])=>{a0&&P['setStyle']({[Z]:a0});}),X&&P['addEventListener']('click',X);}['configureShareModal'](){this['shareModal']=D['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['shareModal']['onClick']=this['onShareModalButtonClick']['bind'](this),this['container']['append'](this['shareModal']);}['configureButtons'](){return w(this,void 0x0,void 0x0,function*(){var O,P;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']))return;const Q=this['playerStyle']['buttons'],R=this['playerStyle']['icons'];let S,T,U,V,W;switch(z['deviceDetector']['platform']){case'mobile':default:S=Q['mute_unmute']['mobile'],T=Q['exit']['mobile'],U=Q['share']['mobile'],V=Q['like_unlike']['mobile'],W=Q['closed_captions']['mobile'];break;case'tablet':S=Q['mute_unmute']['tablet'],T=Q['exit']['tablet'],U=Q['share']['tablet'],V=Q['like_unlike']['tablet'],W=Q['closed_captions']['tablet'];break;case'desktop':S=Q['mute_unmute']['desktop'],T=Q['exit']['desktop'],U=Q['share']['desktop'],V=Q['like_unlike']['desktop'],W=Q['closed_captions']['desktop'];}if(T&&T['isVisible']&&(this['createButtonElement']({'iconUrl':R['exit'],'onClick':this['handleOnClose']['bind'](this),'width':T['width'],'height':T['height'],'color':T['color'],'padding':T['padding'],'borderRadius':T['borderRadius'],'backgroundColor':T['backgroundColor']},this['closeButtonElement']),this['elementsToHideOnCustomAds']['push'](this['closeButtonElement'])),S&&S['isVisible']){const X=E['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];this['createButtonElement']({'iconUrl':X,'onClick':this['handleOnMuteUnmuteToggle']['bind'](this),'width':S['width'],'height':S['height'],'color':S['color'],'padding':S['padding'],'borderRadius':S['borderRadius'],'backgroundColor':S['backgroundColor']},this['muteButtonElement']),'desktop'===z['deviceDetector']['platform']&&this['muteButtonElement']['classList']['add']('mute-unmute-button'),this['elementsToHideOnImaAds']['push'](this['topButtonsContainer']);}if(this['playerStyle']['iconsButtonOrder']['forEach']((Y,Z)=>{switch(Y){case'MUTE_UNMUTE':S['isVisible']&&(this['muteButtonElement']['style']['order']=Z['toString'](),this['topButtonsContainer']['append'](this['muteButtonElement']));break;case'EXIT_PLAYER':(null==T?void 0x0:T['isVisible'])&&(this['closeButtonElement']['style']['order']=Z['toString'](),this['topButtonsContainer']['append'](this['closeButtonElement']));}}),V&&V['isVisible']){this['isLiked']=yield E['LikeService']['isLiked'](this['data']['id']);const Y=this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike'];this['createButtonElement']({'iconUrl':Y,'onClick':this['handleOnLikeClick']['bind'](this),'width':V['width'],'height':V['height'],'color':V['color'],'padding':V['padding'],'borderRadius':V['borderRadius'],'backgroundColor':V['backgroundColor']},this['likeButtonElement']),this['likeWrapperElement']['append'](this['likeButtonElement'],this['likeCountElement']),this['bottomButtonsContainer']['append'](this['likeWrapperElement']);}U&&U['isVisible']&&(this['createButtonElement']({'iconUrl':this['playerStyle']['icons']['share'],'onClick':this['handleOnShareClick']['bind'](this),'width':U['width'],'height':U['height'],'color':U['color'],'padding':U['padding'],'borderRadius':U['borderRadius'],'backgroundColor':U['backgroundColor']},this['shareButtonElement']),this['bottomButtonsContainer']['append'](this['shareButtonElement'])),W&&W['isVisible']&&E['ConfigService']['shouldAllowClosedCaptions']?(this['createButtonElement']({'iconUrl':'','onClick':this['handleOnClosedCaptionClick']['bind'](this),'width':W['width'],'height':W['height'],'color':W['color'],'padding':W['padding'],'borderRadius':W['borderRadius'],'backgroundColor':W['backgroundColor']},this['closedCaptionButtonElement']),this['updateCaptions'](),'desktop'===z['deviceDetector']['platform']&&this['closedCaptionButtonElement']['classList']['add']('desktop-button'),this['bottomButtonsContainer']['append'](this['closedCaptionButtonElement'])):null===(P=this['video'])||void 0x0===P||P['setAttribute']('is-captions-visible','false');});}['appendButtonsContainer'](){this['container']['append'](this['topButtonsContainer']);}['handleMobileSpecificFeatures'](){this['createPlayPauseButton']();}['configureContentBody'](){this['bodyElement']['onclick']=this['onContentClick']['bind'](this),this['bodyElement']['onscroll']=()=>{const O=this['bodyElement']['scrollTop'],P=this['bodyElement']['scrollHeight'],Q=this['bodyElement']['clientHeight'];0x0===O?this['bodyElement']['setStyle']({'maskImage':M}):O+Q>=P?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 O;switch(this['bottomContainer']['innerHTML']='',null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['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 O;if('Ad'===this['data']['type'])return;const P=null===(O=this['video'])||void 0x0===O?void 0x0:O['paused'];this['playPauseButtonElement']['setIconUrl'](P?'':H['playResumeIconSvg']),this['isMomentPausedByPlayPauseButton']=!P,this['playToggle']();}['setModal'](O){this['modal']=O;}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){this['isActive']&&this['isConnected']&&this['video']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&(this['playPauseButtonElement']['setIconUrl'](H['playResumeIconSvg']),this['video']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),this['event'](B['MomentAction']['MomentExit'],{})));}['onFocus'](){var O;if(!this['isActive']||!this['isConnected']||!this['video'])return;const P='Ad'===(null===(O=this['video']['data'])||void 0x0===O?void 0x0:O['type']);if((this['video']['paused']||P)&&this['resumeAfterfocus']){this['resumeAfterfocus']=!0x1;const Q='iOS'===z['deviceDetector']['OS'],R='Mobile\x20Safari'===z['deviceDetector']['browser'],S='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],T=Q&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(!P&&(Q||R||T||S))return void this['playPauseButtonElement']['setIconUrl'](H['playResumeIconSvg']);this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['onContentClick'](){'2'===this['bodyElement']['style']['webkitLineClamp']?this['expandBodyText']('10'):this['collapseBodyText']('2');}['expandBodyText'](O){const P=this['bodyElement']['clientHeight'];this['bodyElement']['style']['webkitLineClamp']=O;const Q=this['bodyElement']['clientHeight'];this['bodyElement']['scrollHeight']>this['bodyElement']['clientHeight']&&(this['bodyElement']['style']['overflow']='auto',this['bodyElement']['setStyle']({'maskImage':M})),P<Q&&this['bottomContainer']['setStyle']({'backgroundImage':'linear-gradient(0deg,\x20rgb(0\x200\x200)\x200%,\x20rgb(0\x200\x200\x20/\x200%)\x20100%)'});}['collapseBodyText'](O){this['bodyElement']['style']['webkitLineClamp']=O,this['bodyElement']['style']['overflow']='hidden',this['bodyElement']['setStyle']({'backgroundImage':''}),this['bottomContainer']['setStyle']({'backgroundImage':''});}['onMuteUnmuteChange'](){this['video']&&(this['video']['muted']=E['VideoPlayerService']['isMuted']);}['updatePlayerButtonIcons'](){var O,P;this['video']&&this['playerStyle']&&(this['muteButtonElement']['setIconUrl'](E['VideoPlayerService']['isMuted']?null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['mute']:null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unmute']),this['closeButtonElement']['setIconUrl'](this['playerStyle']['icons']['exit']),this['updateCaptions']());}['handleOnClosedCaptionClick'](){this['toggleCaptionsVisibility']();}['toggleCaptionsVisibility'](){var O,P,Q;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['closed_captions'])||!this['video'])return;E['VideoPlayerService']['isClosedCaptioningEnabled']=!E['VideoPlayerService']['isClosedCaptioningEnabled'];const R=E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'];null===(P=this['closedCaptionButtonElement'])||void 0x0===P||P['setIconUrl'](R),null===(Q=this['video'])||void 0x0===Q||Q['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false'),this['modal']['player']['playerContentList']['forEach'](S=>{S['updateCaptions']();}),this['event'](E['VideoPlayerService']['isClosedCaptioningEnabled']?B['MomentAction']['ClosedCaptionsOn']:B['MomentAction']['ClosedCaptionsOff'],{});}['handleOnShareClick'](){return w(this,void 0x0,void 0x0,function*(){var O;if(!this['isActive'])return;let P;this['event'](B['MomentAction']['ShareClick'],{}),this['pause'](),P=location['href']['includes']('blaze/moment')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/moment/'+this['data']['id']:location['href']+'#blaze/moment/'+this['data']['id'];const Q='Mac\x20OS'===z['deviceDetector']['OS']&&'Chrome'===z['deviceDetector']['browser'];(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])&&!Q?navigator['share']({'text':this['data']['title'],'url':P})['then'](()=>{this['event'](B['MomentAction']['ShareSuccess'],{});})['catch'](()=>{})['finally'](()=>{this['resume']();}):null===(O=this['shareModal'])||void 0x0===O||O['open'](P);});}['onShareModalButtonClick'](O){return w(this,void 0x0,void 0x0,function*(){try{yield navigator['clipboard']['readText']()['then'](P=>{document['location']['href'];});}catch(P){}});}['loadMoments'](){return w(this,void 0x0,void 0x0,function*(){});}['load'](){return w(this,arguments,void 0x0,function*(O='cache'){var P;yield null===(P=this['video'])||void 0x0===P?void 0x0:P['load'](O);});}['unload'](){return w(this,void 0x0,void 0x0,function*(){var O;yield null===(O=this['video'])||void 0x0===O?void 0x0:O['unload']();});}['playToggle'](){this['isActive']&&this['video']&&(this['event'](this['video']['paused']?B['MomentAction']['PlaybackPlay']:B['MomentAction']['PlaybackPause'],{'playback_action_method':'Click'}),this['video']['paused']?this['resume']():this['pause']());}['updateCaptions'](){var O,P,Q,R,S;if(this['playerStyle']){if((null!==(O=this['data']['closedCaptions'])&&void 0x0!==O?O:[])['length']){this['closedCaptionButtonElement']['setAttribute']('disabled','false');const T=E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'];null===(R=this['closedCaptionButtonElement'])||void 0x0===R||R['setIconUrl'](T),null===(S=this['video'])||void 0x0===S||S['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false');}else this['closedCaptionButtonElement']['setAttribute']('disabled','true'),null===(P=this['closedCaptionButtonElement'])||void 0x0===P||P['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),null===(Q=this['video'])||void 0x0===Q||Q['setAttribute']('is-captions-visible','false');}}['handleOnMuteUnmuteToggle'](){if(!this['isActive'])return;const O=!E['VideoPlayerService']['isMuted'];E['VideoPlayerService']['isMuted']=O,this['event'](B['MomentAction']['Audio'],{}),this['video']&&(this['video']['muted']=E['VideoPlayerService']['isMuted']),document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']));}['setData'](O){var P,Q;O&&(this['data']=O,this['updateContent']({'title':O['title'],'description':(null==O?void 0x0:O['description'])||'','subtitle':(null==O?void 0x0:O['subtitle'])||''}),this['updateCta'](this['data']['cta']),this['updateLikeCount'](this['data']['likes']),this['momentIndex']=O['momentIndexInPlaylist'],this['originalVideoRef']||(this['originalVideoRef']=new J['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']({'id':this['data']['id'],'type':'Ad','duration':0x0,'hasViewed':!0x1,'ignoreReadStatusForStory':!0x1,'createTime':new Date()['toLocaleString'](),'adPath':null!==(P=this['data']['adPath'])&&void 0x0!==P?P:''}),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===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['seekBar'])||F['Presets']['DefaultMomentStyle']['seekBar']),this['bottomContainer']['prepend'](this['seekBar'])),this['seekBar']['onResume']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['isMomentPausedByPlayPauseButton']&&this['event'](B['MomentAction']['PlaybackPlay'],{}),this['resume']();}),0x64),this['seekBar']['onPause']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['pause']();}),0x64),this['adjustContentView'](),this['render']());}['updateData'](O){return w(this,void 0x0,void 0x0,function*(){var P,Q,R;const {data:S,shouldShowImaAdOnStart:T,imaUrl:U}=O;this['isLiked']=!0x1,this['playerStyle']&&this['likeButtonElement']['setIconUrl'](null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unlike']),null===(Q=this['video'])||void 0x0===Q||Q['remove'](),this['setData'](S),this['data']=S,this['shouldShowImaAdOnStart']=T,this['imaUrl']=U,null===(R=this['video'])||void 0x0===R||R['setData'](S),this['video']&&this['seekBar']['setVideo'](this['video']),this['pause']();});}['updateContent'](O){if(this['playerStyle']){switch(this['playerStyle']['headingText']['contentSource']){case'TITLE':this['headElement']['innerHTML']=O['title'];break;case'SUBTITLE':this['headElement']['innerHTML']=O['subtitle'];}switch(this['playerStyle']['bodyText']['contentSource']){case'TITLE':this['bodyElement']['innerHTML']=O['title'];break;case'SUBTITLE':this['bodyElement']['innerHTML']=O['subtitle'];break;case'DESCRIPTION':this['bodyElement']['innerHTML']=O['description'];}}}['updateLikeCount'](O){return w(this,void 0x0,void 0x0,function*(){var P,Q;const {id:R,likes:S}=this['data'];this['isLiked']=yield E['LikeService']['isLiked'](R);let T=null!=O?O:S;if(T=this['isLiked']?T+0x1:T,this['likeCountElement']){const U=this['isLiked']?null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['like']:null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['unlike'];U&&this['likeButtonElement']['setIconUrl'](U),this['likeCountElement']['innerText']=(0x0,G['formatLikes'])(T),this['likeCountElement']['style']['display']=0x0===T?'none':'flex';}});}['updateCta'](O){O&&O['url']&&O['text']&&O['backgroundColor']&&O['textColor']?(this['ctaButtonElement']['setAttribute']('href',O['url']),this['ctaButtonElement']['setAttribute']('text',O['text']),this['ctaButtonElement']['setAnchorButtonStyles']({'color':O['textColor'],'background':O['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'](O){var P,Q,R,S,T,U,V;return this['event'](B['MomentAction']['CtaClick'],{}),(null===(Q=null===(P=this['refContentModal'])||void 0x0===P?void 0x0:P['parentWidget'])||void 0x0===Q?void 0x0:Q['id'])&&E['EventService']['dispatch'](null===(R=this['refContentModal'])||void 0x0===R?void 0x0:R['parentWidget'],C['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(T=null===(S=this['refContentModal'])||void 0x0===S?void 0x0:S['parentWidget'])||void 0x0===T?void 0x0:T['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),null===(U=this['shareModal'])||void 0x0===U||U['close'](),this['exitTrigger']='CTA\x20Click',this['event'](B['MomentAction']['MomentExit'],{}),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),(null===(V=this['video'])||void 0x0===V?void 0x0:V['paused'])||(this['resumeAfterfocus']=!0x0,this['pause']()),!0x0;}['play'](){var O;this['isConnected']&&(this['sessionId']=(0x0,G['getRandomId'])(),this['video']&&(this['video']['shouldShowImaAd']=this['shouldShowImaAdOnStart'],'Content'===(null===(O=this['video']['data'])||void 0x0===O?void 0x0:O['type'])&&(this['event'](B['MomentAction']['MomentStart'],{}),this['video']['data']['imaUrl']=this['imaUrl'],this['video']['data']['adContext']=this['adContext']),this['adjustContentView'](),this['updatePlayerButtonIcons'](),this['video']['muted']=E['VideoPlayerService']['isMuted'],this['video']['display'](()=>{this['modal']['handleClickNavigation']('NEXT');}),this['video']['play'](),E['VideoPlayerService']['isPlaying']=!0x0,this['isActive']=!0x0,this['seekBar']['setAttribute']('is-active','true'),this['seekBar']['onContentResumed'](!0x0),E['MomentService']['updateMomentReadStatusById'](this['data']['id']),this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()));}['handleOnClose'](){this['pause'](),this['modal']['close']();}['handleOnLikeClick'](){var O,P;this['isLiked']=!this['isLiked'],this['event'](this['isLiked']?B['MomentAction']['Like']:B['MomentAction']['Unlike'],{}),E['LikeService']['updateLike'](this['isLiked'],this['data']['id']);const Q=this['isLiked']?null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['like']:null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unlike'];Q&&this['likeButtonElement']['setIconUrl'](Q),this['updateLikeCount']();}['pause'](){var O;null===(O=this['video'])||void 0x0===O||O['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['isActive']&&this['seekBar']['onContentPaused']();}['resume'](){var O;this['video']&&('Content'!==this['data']['type']||(null===(O=this['video'])||void 0x0===O?void 0x0:O['paused']))&&(this['video']['play'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['removeResumeButtonFromScreen'](),this['seekBar']['onContentResumed'](!0x1));}['removeResumeButtonFromScreen'](){this['playPauseButtonElement']['setIconUrl'](''),this['isMomentPausedByPlayPauseButton']=!0x1;}['resetPosition'](){this['video']&&this['video']['currentTime']>=0.2&&(this['video']['currentTime']=0x0);}['restartVideo'](){this['video']&&(this['resetPosition'](),this['video']['muted']=E['VideoPlayerService']['isMuted'],E['VideoPlayerService']['isPlaying']&&this['video']['play'](),this['loopNumber']++);}['adjustContentView'](){var O,P,Q,R,S,T,U,V;return(null===(O=this['video'])||void 0x0===O?void 0x0:O['shouldShowImaAd'])?(this['elementsToHideOnImaAds']['forEach'](W=>{W&&(W['style']['visibility']='hidden');}),null===(P=this['modal']['nextContentButtonElement'])||void 0x0===P||P['setAttribute']('disabled','true'),null===(Q=this['modal']['prevContentButtonElement'])||void 0x0===Q||Q['setAttribute']('disabled','true'),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']=W===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):'Ad'===(null===(S=null===(R=this['video'])||void 0x0===R?void 0x0:R['data'])||void 0x0===S?void 0x0:S['type'])?(this['elementsToHideOnCustomAds']['forEach'](W=>{W&&(W['style']['visibility']='hidden');}),'no-ad'===E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['muteStateBeforeAd']=E['VideoPlayerService']['isMuted']?'mute':'unmute'),'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['isMuted']=!0x0,this['updatePlayerButtonIcons']()),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']=W===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):([...this['elementsToHideOnCustomAds'],...this['elementsToHideOnImaAds']]['forEach'](W=>{W&&(W['style']['visibility']='visible');}),null===(T=this['video'])||void 0x0===T||T['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false'),null===(U=this['modal']['nextContentButtonElement'])||void 0x0===U||U['setAttribute']('disabled','false'),null===(V=this['modal']['prevContentButtonElement'])||void 0x0===V||V['setAttribute']('disabled','false'),'no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['isMuted']='mute'===E['VideoPlayerService']['muteStateBeforeAd'],E['VideoPlayerService']['muteStateBeforeAd']='no-ad',document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']))),this['topButtonsContainer']['style']['marginTop']='5px',void this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']='flex';}));}['event'](O,P){return w(this,arguments,void 0x0,function*(Q,R,S=void 0x0){var T,U,V,W,X;try{const Y=this['getRefferingObject']();if('Content'===this['data']['type']){switch(R['moment_id']=this['data']['id'],R['moment_title']=this['data']['title'],R['moment_index']=this['momentIndex'],R['audio_state']=E['VideoPlayerService']['isMuted']?'Mute':'Unmute',R['cc_state']=E['VideoPlayerService']['isClosedCaptioningEnabled']?'On':'Off',R['loop_number']=this['loopNumber']['toString'](),R['moments_session_id']=this['modal']['playlistSessionId'],(null===(T=this['video'])||void 0x0===T?void 0x0:T['duration'])?R['moment_duration']=this['video']['duration']:R['moment_duration']=yield this['video']['getVideoDuration'](),'true'===(null===(U=E['AppConfigurationService']['appConfigurations'])||void 0x0===U?void 0x0:U['configurations']['analyticsAddEntitiesInfo'])&&(R['content_extra_info']=JSON['stringify'](this['data']['entities'])),Q){case B['MomentAction']['MomentsPlaylistStart']:R['moment_start_trigger']=this['startTrigger'];break;case B['MomentAction']['MomentsPlaylistExit']:R['moment_exit_trigger']=this['exitTrigger'];break;case B['MomentAction']['MomentExit']:R['moment_navigation_type']=this['navigationType'],R['moment_navigation_direction']=this['navigationDirection'],R['moment_duration_viewed_percent']=Number((0x64*((null===(V=this['video'])||void 0x0===V?void 0x0:V['progress'])||0x0))['toFixed'](0x3));}E['AnalyticsService']['pushMomentEvent'](Q,R,S,Y);}else{if('Ad'===this['data']['type']){let Z;const a0=new z['AdEvent']();if(Q!==B['MomentAction']['MomentStart']&&Q!==B['MomentAction']['MomentExit']&&Q!==B['MomentAction']['CtaClick'])return;Z=B['MomentToAdActionMapper'][Q],Z===B['AdAction']['View']?a0['ad_start_trigger']=this['startTrigger']:Z===B['AdAction']['Exit']&&(a0['ad_exit_trigger']=this['exitTrigger']),a0['ad_server']='google_ad_manager',a0['ad_insertion_logic']='MOMENT',a0['ad_path']=null!==(W=this['data']['adPath'])&&void 0x0!==W?W:'','true'===(null===(X=E['AppConfigurationService']['appConfigurations'])||void 0x0===X?void 0x0:X['configurations']['analyticsAddEntitiesInfo'])&&(a0['content_extra_info']=JSON['stringify'](this['data']['entities'])),E['AnalyticsService']['pushAdEvent'](Z,a0,S,Y);}}}catch(a1){}});}['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']=N;},0x5ee:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryModal']=void 0x0;const k=j(0x23a6),m=j(0x1133),p=j(0x1932),q=j(0x26ed),u=j(0x11c1),v=j(0x2432),w=j(0x14c);let x=window['innerWidth'];class y extends w['BlazeWidgetModal']{constructor(z,A){super('story'),this['parentWidget']=z,this['playerLayout']=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']('screenOrientationChange',this['boundOnResizeEventDelay']),window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload']),(0x0,v['mergeStyles'])(this,{'display':'none','boxSizing':'border-box'}),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),window['removeEventListener']('screenOrientationChange',this['boundOnResizeEventDelay']),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload']);}['onBeforeUnload'](){if(m['deviceDetector']['isDesktop'])return this['isOpen']&&this['dispatchExitStoryEvents'](),null;}['setTheme'](z){this['player']['playerContentList']['forEach'](A=>{A instanceof k['BlazeWidgetStory']&&A['setTheme'](z);}),this['playerLayout']=z;}['updateModalContent'](){this['currentState']&&this['player']['updateContentConfig'](this['currentState']['stories']);}['setModalContent'](z,A,B){this['currentState']={'stories':z,'indexOfContentInWidget':A,'defaultAdsInfo':B};const C=[];for(let D=0x0;D<z['length'];D++){const E=new k['BlazeWidgetStory'](this['playerLayout'],'Full\x20Screen');E['setData'](z[D]),C['push'](E),u['AdService']['pushAdsBetweenStories'](B,C,z,D,A,this['playerLayout']);}this['player']['setContent'](C);}['onKeyDown'](z){if(this['isOpen']&&'Escape'==z['key']){const A=this['player']['playerContentList'][this['player']['index']];if(A['currentPage']['isAd'])return;A['exitTrigger']='Escape\x20Button',A['navigationType']='',A['navigationDirection']='',A['close'](),this['close']();}}['close'](){var z,A,B,C;if(!this['isOpen'])return;if('SingleStory'===u['VideoPlayerService']['playReference']&&!u['ConfigService']['shouldDismissPlayer'])return;this['dispatchPlayerEvents'](),super['close'](),null===(z=this['player'])||void 0x0===z||z['playerContentList']['forEach'](E=>{E['unload'](),E instanceof k['BlazeWidgetStory']&&(E['currentPage']['pause'](),E['pages']['forEach'](F=>{F['paused']||F['pause']();}));});const D=this['player']['playerContentList'][this['player']['index']];null===(A=null==D?void 0x0:D['currentPage'])||void 0x0===A||A['startExit'](),null===(B=null==D?void 0x0:D['currentPage'])||void 0x0===B||B['endExit'](),null===(C=this['onClose'])||void 0x0===C||C['call'](this,{'storyId':D['data']['id'],'pageIndex':D['pageIndex']});}['dispatchExitStoryEvents'](){var z,A,B;const C=this['player']['playerContentList'][this['player']['index']];C['event'](p['StoryAction']['PageExit'],{}),C['event'](p['StoryAction']['Exit'],{}),u['AnalyticsService']['sendAnalyticsData'](),null===(z=C['pause'])||void 0x0===z||z['call'](C),null===(B=null===(A=C['widgetParentItem'])||void 0x0===A?void 0x0:A['updateWidget'])||void 0x0===B||B['call'](A),C['updateWidgetStatusReadUnread']();}['dispatchPlayerEvents'](){u['EventService']['dispatch'](this,q['Delegation']['onStoryPlayerDismissed']),u['EventService']['dispatch'](this,q['Delegation']['onPlayerDismissed']),this['parentWidget']&&(u['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),u['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetStoryPlayerDismissed'],{'widgetId':this['parentWidget']['id']}));}['open'](z){var A;super['open'](z);const B=new CustomEvent('onPlayerReady',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](B),null===(A=this['onOpen'])||void 0x0===A||A['call'](this),u['EventService']['dispatch'](this,q['Delegation']['onStoryPlayerDidAppear']),u['EventService']['dispatch'](this,q['Delegation']['onPlayerDidAppear']);}['play'](){}['render'](){if('desktop'===m['deviceDetector']['platform']){const z=this['player']['playerContentList'][this['player']['index']],A=this['shouldShowExitButton']({'shouldDismissPlayer':u['ConfigService']['shouldDismissPlayer'],'playReference':u['VideoPlayerService']['playReference'],'customButtonVisibility':null==z?void 0x0:z['isButtonVisible']('EXIT_PLAYER')});this['exitButtonWrapperElement']['style']['display']=A?'block':'none';}}['shouldShowExitButton'](z){return!!z['shouldDismissPlayer']||!['SingleStory','AutoAdvance']['includes'](z['playReference'])&&(void 0x0===z['customButtonVisibility']||z['customButtonVisibility']);}['playToggleCurrentStory'](){this['player']['playToggleCurrentStory']();}['onResize'](){super['onResize'](),x!==window['innerWidth']&&(x=window['innerWidth'],this['render']());}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},p['ONE_SECOND']/0x2);}}g['BlazeWidgetStoryModal']=y;},0x1d16:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryPlayer']=void 0x0;const q=m(j(0xad8)),v=j(0x23a6),w=j(0x1133),x=j(0x1932),y=j(0x11c1),z=j(0x132a),A=j(0x2432),B=j(0x8c0);class C extends B['WidgetAbstractPlayer']{constructor(){super(),this['boundOnKeyDown']=(0x0,w['throttle'])(this['onKeyDown']['bind'](this),x['ONE_SECOND']/0x4);}['connectedCallback'](){this['isBlazeWidgetStory'](this['playerContentList'])&&(this['append'](this['srcBackground']),this['append'](this['destBackground'])),this['append'](this['playerFullscreenOverlay']),this['append'](this['container']),this['applyStyles'](),this['muteVideoOnIOSOrMacTablet'](),this['setupEventListeners'](),this['render']();}['disconnectedCallback'](){this['listeners']['removeAll'](),null===window||void 0x0===window||window['removeEventListener']('focus',this['onFocus']),this['cleanupHammer']();}['setupEventListeners'](){this['listeners']['add']('keydown',this['boundOnKeyDown']),null===window||void 0x0===window||window['addEventListener']('focus',this['onFocus']['bind'](this)),this['setupHammer'](Hammer['DIRECTION_HORIZONTAL']);}['applyStyles'](){(0x0,A['mergeStyles'])(this,{'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':z['Colors']['Black'],'boxSizing':'border-box'}),this['container']['setStyle']({'display':'grid','position':'relative','height':'100%'});}['updateContentConfig'](D){(null==D?void 0x0:D['length'])&&D['length']===this['playerContentList']['length']&&D['forEach']((E,F)=>{const G=this['playerContentList'][F];if(G['data']['id']===E['id'])try{G['setData'](E),G['render'](),G['load'](),G['play']();}catch(H){}});}['attributeChangedCallback'](D,E,F){}['setContent'](D){this['playerContentList']=[];for(const E of this['contentList'])E['remove']();D['forEach'](F=>{F['pages']['forEach'](G=>G['requestFrameCallback']=this['renderPlayerBackground']['bind'](this));}),this['contentList']=[...D];for(const F of this['contentList'])F['onNextStory']=G=>{F['navigationType']=G,F['navigationDirection']='Forwards',this['navigateContent']('NEXT');},F['onPrevStory']=G=>{F['navigationType']=G,F['navigationDirection']='Backwards',this['navigateContent']('PREV');},F['onClose']=()=>{F['exitTrigger']='Close\x20Button',F['navigationType']='',F['navigationDirection']='',this['close']();};D['forEach'](G=>G['refWidget']=this['contentList']);}['navigateContent'](D){var E,F;if(this['isNavigationBlocked'])return;let G;switch(D){case'PREV':G=this['index']-0x1;break;case'NEXT':G=this['index']+0x1;break;default:return;}const H=this['playerContentList'][this['index']];if(G<0x0||G===this['playerContentList']['length'])return void('PREV'===D?(H['resetPosition'](),H['play']()):'NEXT'===D&&(H['exitTrigger']='Stories\x20Completed',null===(E=H['refContentModal'])||void 0x0===E||E['dispatchExitStoryEvents'](),this['close']()));this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isNavigating']=!0x1;const I=this['playerContentList'][G];w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==I?void 0x0:I['data']['id'],'isAd':null==I?void 0x0:I['data']['isAd']}),null==I||I['updatePlayerButtonIcons'](),this['blockInteractionWithUserInterface'](),null===(F=this['animateContent'](D))||void 0x0===F||F['play'](),y['VideoPlayerService']['isNavigating']=!0x1;}['onFocus'](){this['resetPosition']();}['handleMoveSwipe'](D){var E,F,G,H,I,J,K,L,M;const N=this['contentList']['findIndex'](O=>{var P;return O['id']===(null===(P=this['playerContentList'][this['index']])||void 0x0===P?void 0x0:P['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd'])&&N>-0x1){const O=D['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['width'])/0.75)*this['_animationDuration'];switch(D['offsetDirection']){case this['directionForwards']:if('SingleStory'===y['VideoPlayerService']['playReference'])return void(y['ConfigService']['autoAdvanceUrl']&&!w['URLManager']['isAutoAdvancingEnabled']&&(w['URLManager']['isAutoAdvancingEnabled']=!0x0,this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')})));if(N===this['contentList']['length']-0x1)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'VerticalForwards'}));null===(F=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===F||F['load'](),null===(G=this['currentNextAnimation'])||void 0x0===G||G['seek'](O);break;case this['directionBackwards']:if('SingleStory'===y['VideoPlayerService']['playReference'])return;if(0x0===N)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'HorizontalBackwards'}));null===(H=this['playerContentList'][0x0])||void 0x0===H||H['load'](),null===(I=this['currentPrevAnimation'])||void 0x0===I||I['seek'](O);break;case Hammer['DIRECTION_UP']:if(Math['abs'](D['deltaY'])>=0xf){const P=this['playerContentList'][this['index']];if(P['isCtaWasClickedOrSwiped'])return;if(P['currentPage']['isAd'])return;const Q='none'!==P['ctaButtonElement']['style']['display'],R=null===(K=null===(J=P['currentPage']['data']['cta'])||void 0x0===J?void 0x0:J['enhancements'])||void 0x0===K?void 0x0:K['hasSwipeUp'],S=P['currentPage']instanceof v['BlazeWidgetVideo'],T=P['currentPage']instanceof v['BlazeWidgetAd'];if(S&&Q&&R){P['isCtaWasClickedOrSwiped']=!0x0;const U=new Event('swipeup');P['handleCtaAction'](U,'Swipe\x20Up');}else T&&(P['isCtaWasClickedOrSwiped']=!0x0,P['currentPage']['handleCtaSwipeUp'](),(0x0,A['delay'])(x['ONE_SECOND'])['then'](()=>P['isCtaWasClickedOrSwiped']=!0x1));}return;default:null===(L=this['currentNextAnimation'])||void 0x0===L||L['seek'](0x0),null===(M=this['currentPrevAnimation'])||void 0x0===M||M['seek'](0x0);}}}['handleEndSwipe'](D){var E;const F=this['playerContentList'][this['index']+0x1],G=this['playerContentList'][this['index']-0x1],H=this['contentList']['findIndex'](I=>{var J;return I['id']===(null===(J=this['playerContentList'][this['index']])||void 0x0===J?void 0x0:J['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd']))switch(D['offsetDirection']){case this['directionForwards']:if(H===this['contentList']['length']-0x1)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,F,this['currentNextAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==F?void 0x0:F['data']['id'],'isAd':null==F?void 0x0:F['data']['isAd']});break;case this['directionBackwards']:this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,G,this['currentPrevAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if('mobile'===w['deviceDetector']['platform']&&D['deltaY']>0x1e&&Math['abs'](D['deltaX'])<=0x46){if('SingleStory'===y['VideoPlayerService']['playReference'])return;this['playerContentList'][this['index']]['exitTrigger']='Swipe\x20Down',this['animateCloseWithDirection']({'direction':'VerticalForwards'});}return;case Hammer['DIRECTION_UP']:return;default:this['reverseAnimation'](D);}}['handlePrevDirection'](){const D=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][0x0])-0x1];D&&!this['container']['contains'](D)&&(D['updatePlayerButtonIcons'](),D['updateCTAButtonPosition'](),D['currentPage']['loadPoster'](),this['container']['prepend'](D),this['playerContentList']['splice'](0x0,0x0,D),this['index']+=0x1);}['handleNextDirection'](){const D=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][this['playerContentList']['length']-0x1])+0x1];D&&!this['container']['contains'](D)&&(D['updatePlayerButtonIcons'](),D['updateCTAButtonPosition'](),D['currentPage']['loadPoster'](),this['container']['append'](D),this['playerContentList']['push'](D));}['resetStyles'](){this['style']['background']='#000',this['style']['transform']='translate(0,\x200)',this['style']['opacity']='',this['container']['style']['opacity']='';}['play'](D){var E,F;const G=this['playerContentList'][this['index']];if(D&&!isNaN(null!==(E=null==D?void 0x0:D['pageIndex'])&&void 0x0!==E?E:0x0)&&(G['pageIndex']=null!==(F=null==D?void 0x0:D['pageIndex'])&&void 0x0!==F?F:0x0),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']}),G){G['load']();const H=G['shouldShowImaAdOnStart'];G['shouldShowImaAdOnStart']=!0x1,G['play'](),G['shouldShowImaAdOnStart']=H,this['playerContentList']['forEach'](I=>{G['data']['id']!==I['data']['id']&&(I['displayCurrentStoryPageAndHideTheRest'](),I['updateCTAButtonPosition']());}),setTimeout(()=>{var I;switch(y['ConfigService']['prefetchingPolicy']){case'low':null===(I=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===I||I['load']();break;case'default':this['playerContentList']['forEach'](J=>{G['data']['id']!==J['data']['id']&&J['load']();});}},0x3*x['ONE_SECOND']);}}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isPlaying']=!0x0;const D=this['playerContentList'][this['index']];D&&(yield D['load']('direct'),D['play'](),this['playerContentList']['forEach'](E=>{E['data']['id']!==D['data']['id']&&(E['isActive']=!0x1);}),D['isActive']=!0x0,this['isNavigationBlocked']=!0x1,y['VideoPlayerService']['isNavigating']=!0x1,y['VideoPlayerService']['isPlaying']=!0x0);});}['handleAnimationCompletion'](D,E){var F;D&&(D['navigationDirection']='NEXT'===E?'Forwards':'Backwards',D['event'](x['StoryAction']['PageExit'],{}),D['event'](x['StoryAction']['Exit'],{}),D['isActive']=!0x1,D['updateWidgetStatusReadUnread'](),D['currentPage']['muted']=!0x0,D['pause']()),null===(F=this['onContentChange'])||void 0x0===F||F['call'](this,E),this['index']+='NEXT'===E?0x1:-0x1,this['handleAnimationEnd'](E),D['currentPage']['endExit']();}['createAnimation'](D,E,F){const G=this['playerContentList'][F],H=this['offsetWidth']*('RTL'===y['ConfigService']['layoutDirection']?-0x1:0x1);return q['default']['timeline']({'complete':()=>{y['VideoPlayerService']['isModalOpen']&&this['handleAnimationCompletion'](D,E);},'changeBegin':()=>{this['handleAnimationStart'](D,G);},'easing':'easeOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateX':-this['index']*H,'duration':0x0},{'translateX':-F*H,'duration':this['_animationDuration']}]},0x0)['add']({'targets':[D],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0)['add']({'targets':[G],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0);}['handleAnimationStart'](D,E){var F,G;E['currentPage']['loadPoster'](),E['updatePublishedDate'](),E['updatePlayerButtonIcons'](),null==D||D['pause'](),D['currentPage']['muted']=!0x0,(null===(F=D['shareModal'])||void 0x0===F?void 0x0:F['isOpen'])&&(null===(G=D['shareModal'])||void 0x0===G||G['close']()),D['currentPage']['startExit'](),E['currentPage']['startEnter']();}['animateCloseWithDirection'](D){const {direction:E,callback:F,exitTrigger:G='Swipe',navigationType:H='Manual'}=D;let I;switch(E){case'HorizontalForwards':case'VerticalForwards':I='Forwards';break;case'HorizontalBackwards':case'VerticalBackwards':I='Backwards';}if(this['isCloseAnimationStarted'])return;this['isCloseAnimationStarted']=!0x0;const J=q['default']['timeline']({'complete':()=>{this['isCloseAnimationStarted']=!0x1,this['close']();},'changeBegin':()=>{const K=this['playerContentList'][this['index']];K&&(K['pause'](),K['currentPage']['muted']=!0x0),K['exitTrigger']=G,K['navigationType']=H,K['navigationDirection']=I,K['event'](x['StoryAction']['Exit'],{}),K['event'](x['StoryAction']['PageExit'],{}),y['AnalyticsService']['sendAnalyticsData']();},'easing':'easeOutQuad'});J['add'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({'targets':[this['container']]},'HorizontalBackwards'===E&&{'translateX':'RTL'===y['ConfigService']['layoutDirection']?'-100%':'100%'}),y['ConfigService']['shouldAutoAdvance']&&'SingleStory'===y['VideoPlayerService']['playReference']&&'HorizontalForwards'===E&&{'translateX':'-100%'}),'VerticalForwards'===E&&{'translateY':'100%'}),{'opacity':0x0,'duration':0x1f4})),this['resetPosition'](),this['style']['background']='',J['play'](),J['finished']['then'](()=>{null==F||F();});}['onKeyDown'](D){const E=this['playerContentList'][this['index']],F='SingleStory'===y['VideoPlayerService']['playReference'],G=E['isLastPage']();if(!F||!G)return y['VideoPlayerService']['isNavigating']=!0x1,!!this['focus']&&('ArrowLeft'==D['key']||'Left'==D['key']?(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goNextPage']():E['goPrevPage']()):'ArrowRight'!=D['key']&&'Right'!=D['key']||(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goPrevPage']():E['goNextPage']()),!0x1);y['ConfigService']['shouldAutoAdvance']&&(this['renderPlayerBackground'](!0x0),this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')}));}['render'](){const D=this['getBoundingClientRect']()['width'];this['container']['style']['gridTemplateColumns']='repeat(10,\x20'+D+'px)',this['container']['style']['transform']='';}['loadContentBatch'](){}['playToggleCurrentStory'](){this['playerContentList'][this['index']]['playToggle']();}}g['BlazeWidgetStoryPlayer']=C;},0x1a96:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(J,K,L,M){return new(L||(L=Promise))(function(N,O){function P(S){try{R(M['next'](S));}catch(T){O(T);}}function Q(S){try{R(M['throw'](S));}catch(T){O(T);}}function R(S){var T;S['done']?N(S['value']):(T=S['value'],T instanceof L?T:new L(function(U){U(T);}))['then'](P,Q);}R((M=M['apply'](J,K||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetStory']=void 0x0;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']{constructor(J,K){super(),this['playerStyle']=J,this['mode']=K,this['pages']=[],this['data']={},this['isStoryLoadCompletedTriggered']=!0x1,this['isStoryActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isCtaWasClickedOrSwiped']=!0x1,this['pageIndex']=0x0,this['type']='story',this['resumeAfterfocus']=!0x1,this['totalPlayStopwatch']=new H['Stopwatch'](),this['navigationTimeout']=null,this['lastPageIndexToResume']=0x0,this['elementsToHideOnWebAds']=[],this['elementsToHideOnImaAds']=[],this['requestAnimationId']=null,this['shouldShowImaAdOnStart']=!0x1,this['imaUrl']='',this['playbackParts']=[],(0x0,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']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['container']['appendChild'](this['shadowTopElement']);const L=C['WidgetsFactory']['create']('blaze-div');if((0x0,H['mergeStyles'])(L,{'position':'absolute','top':'0%','left':'0%','right':'0%','height':'3px','opacity':'80%','margin':'16px'}),this['progressElement']=document['createElement']('div'),this['progressElement']['style']['width']='100%',this['progressElement']['style']['height']='100%',this['progressElement']['style']['display']='grid',L['append'](this['progressElement']),this['container']['append'](L),'mobile'===z['deviceDetector']['platform']||'tablet'===z['deviceDetector']['platform']){const U=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPause'],{'playback_action_method':'Press'}),this['pause']());},V=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Release'}),this['resume']());};if('Embedded'!==K){const W=new z['LongPressHandler']({'onStart':U,'onEnd':V});W['attach'](this['container']),this['longPressHandler']=W;}}const M=()=>{var X,Y;null===(X=this['shareModal'])||void 0x0===X||X['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Backwards','SingleStory'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?('SingleStory'===E['VideoPlayerService']['playReference']&&this['revertNextPageButtonToPreviousAction'](),null===(Y=this['resumeAfterBlurButton'])||void 0x0===Y||Y['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goPrevPage']()):this['currentPage']['currentTime']=0x0;},N=()=>{var X,Y,Z,a0;null===(X=this['shareModal'])||void 0x0===X||X['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Forwards','SingleStory'===E['VideoPlayerService']['playReference']&&this['hasNoMorePagesToPlay']()?E['ConfigService']['shouldAutoAdvance']&&((null===(Y=this['refContentModal'])||void 0x0===Y?void 0x0:Y['player'])['renderPlayerBackground'](!0x0),(null===(Z=this['refContentModal'])||void 0x0===Z?void 0x0:Z['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):(null===(a0=this['resumeAfterBlurButton'])||void 0x0===a0||a0['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']));},O=C['WidgetsFactory']['create']('blaze-button');O['setAttribute']('data-testid','blaze-widget-story-prev-page-button'),O['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'15%','left':'0','width':'30%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent'});const P=C['WidgetsFactory']['create']('blaze-button');P['setAttribute']('data-testid','blaze-widget-story-next-page-button'),P['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'}),O['addEventListener']('click',(0x0,z['throttle'])(M,0x64)),P['addEventListener']('click',(0x0,z['throttle'])(N,0x64)),this['container']['append'](O),this['container']['append'](P),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'}),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'),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'),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'),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'});const Q='iOS'===z['deviceDetector']['OS'],R='Mobile\x20Safari'===z['deviceDetector']['browser'],S='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],T=Q&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);(Q||R||T||S)&&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'})),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':X=>{null==X||X['stopPropagation'](),this['exitTrigger']='Close\x20Button',this['navigationDirection']='',this['navigationType']='',this['close'](!0x0);},'dataTestId':'blaze-widget-story-exit-button'})),this['isButtonVisible']('FULLSCREEN')&&(this['fullScreenElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['fullscreen'],'eventType':'click','clickHandler':this['onExpandClick']['bind'](this)})),this['isButtonVisible']('CLOSED_CAPTIONS')&&E['ConfigService']['shouldAllowClosedCaptions']&&(this['closedCaptionsButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'],'eventType':'click','clickHandler':this['onClosedCaptionClick']['bind'](this)})),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?'20px':'40px'),'display':'flex','flexFlow':'column','boxSizing':'border-box'}),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'],'height':'Embedded'===K?'30px':'40px'}),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',X=>this['handleCtaAction'](X,'CTA\x20Click')),this['updateCtaButtonLayout'](),this['bottomButtonsWrapper']['append'](this['ctaButtonElement']),this['bannerAdElement']=new q['BlazeWidgetBannerAd'](),'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']&&'Embedded'!==this['mode']&&(this['nextPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextPage'],'position':'left','margin':'32px','clickHandler':N,'buttonType':'NEXT_PAGE'}),'SingleStory'===E['VideoPlayerService']['playReference']&&(this['originalNextPageDesktopClickListener']=N,this['restartStoryOnClickEvent']=()=>{this['playPage'](0x0),this['revertNextPageButtonToPreviousAction']();}),this['prevPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevPage'],'position':'right','margin':'32px','clickHandler':M,'buttonType':'PREV_PAGE'}),this['nextStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextStory'],'position':'left','margin':'100px','clickHandler':(0x0,z['throttle'])(()=>{var X,Y,Z,a0;if(this['exitTrigger']='Skip','SingleStory'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance'])return(null===(X=this['refContentModal'])||void 0x0===X?void 0x0:X['player'])['renderPlayerBackground'](!0x0),void(null===(Y=this['refContentModal'])||void 0x0===Y?void 0x0:Y['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')});null===(Z=this['onNextStory'])||void 0x0===Z||Z['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(a0=this['shareModal'])||void 0x0===a0||a0['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'NEXT_STORY'}),this['prevStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevStory'],'position':'right','margin':'100px','clickHandler':(0x0,z['throttle'])(()=>{var X,Y;this['exitTrigger']='Skip',null===(X=this['onPrevStory'])||void 0x0===X||X['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(Y=this['shareModal'])||void 0x0===Y||Y['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'PREV_STORY'})),this['elementsToHideOnWebAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],this['fullScreenElement'],this['closedCaptionsButtonElement'],L,this['shadowTopElement'],this['buttonsContainer']),this['elementsToHideOnImaAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],L,this['shadowTopElement'],this['buttonsContainer'],this['muteButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['shareModal'],O,P,this['topContainer']),this['addEventListener'](B['InternalEvent']['BANNER_ANALYTICS'],X=>{const Y=X['detail'];this['bannerAdEvent'](Y);});}['isButtonVisible'](J){let K;return K=['MUTE_UNMUTE','EXIT_PLAYER','PLAY_PAUSE','SHARE','FULLSCREEN','CLOSED_CAPTIONS']['includes'](J)?this['playerStyle']['iconsButton']['find'](L=>L['value']===J):this['playerStyle']['iconsButtonNavigation']['find'](L=>L['value']===J),'Embedded'===this['mode']&&(null==K?void 0x0:K['isEmbeddedVisible'])||'Full\x20Screen'===this['mode']&&(null==K?void 0x0: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]:'100%','top':'50%','transform':'RTL'===E['ConfigService']['layoutDirection']?'rotate(180deg)\x20translateY(50%)':'translateY(-50%)',['left'===Q?'marginLeft':'marginRight']:N}),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 0x0===J||J['setIconUrl'](D['pauseResumeIconSvg']),null===(K=this['resumeAfterBlurButton'])||void 0x0===K||K['setStyle']({'opacity':'0','pointerEvents':'none','animation':'fadeOut\x200.5s\x20forwards'}),setTimeout(()=>{var M,N;null===(M=this['resumeAfterBlurButton'])||void 0x0===M||M['setIconUrl'](D['playResumeIconSvg']),null===(N=this['resumeAfterBlurButton'])||void 0x0===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 0x0:K['padding'])&&(J['style']['padding']=K['padding']),(null==K?void 0x0:K['borderRadius'])&&(J['style']['borderRadius']=K['borderRadius']),(null==K?void 0x0:K['backgroundColor'])&&(J['style']['backgroundColor']=K['backgroundColor']),(null==K?void 0x0:K['size'])&&(J['setAttribute']('width',K['size']),J['setAttribute']('height',K['size'])),(null==K?void 0x0:K['color'])&&J['setAttribute']('icon-color',K['color']);}['onShareClick'](){return m(this,void 0x0,void 0x0,function*(){var J;let K;this['event'](A['StoryAction']['ShareClick'],{}),E['VideoPlayerService']['isPlaying']&&this['pause'](),K='SingleStory'===E['VideoPlayerService']['playReference']||location['href']['includes']('blaze/story')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/story/'+this['data']['id']:location['href']+'#blaze/story/'+this['data']['id'],(null===navigator||void 0x0===navigator?void 0x0: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 0x0===M||M['open'](K));})['finally'](()=>{E['VideoPlayerService']['isPlaying']&&this['resume']();}):null===(J=this['shareModal'])||void 0x0===J||J['open'](K);});}['onClosedCaptionClick'](){var J,K;'true'===this['currentPage']['getAttribute']('is-captions-visible')?(E['VideoPlayerService']['isClosedCaptioningEnabled']=!0x1,this['currentPage']['setAttribute']('is-captions-visible','false'),null===(J=this['closedCaptionsButtonElement'])||void 0x0===J||J['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOff']),this['event'](A['StoryAction']['ClosedCaptionsOff'],{})):(E['VideoPlayerService']['isClosedCaptioningEnabled']=!0x0,this['currentPage']['setAttribute']('is-captions-visible','true'),null===(K=this['closedCaptionsButtonElement'])||void 0x0===K||K['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),this['event'](A['StoryAction']['ClosedCaptionsOn'],{}));}['updateCtaButtonLayout'](){'Horizontal'===this['aspectRatio']&&this['ctaButtonElement']['setStyle']({'width':this['playerStyle']['ctaButton']['width']===F['Presets']['CtaButtonStyle']['width']?'50%':this['playerStyle']['ctaButton']['width']}),['LEFT','RIGHT','CENTER']['includes'](this['playerStyle']['ctaButton']['position'])&&(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']['setStyle']({'height':this['playerStyle']['ctaButton']['height']}),this['ctaButtonElement']['setAnchorButtonStyles']({'fontSize':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']();}['adjustContentView'](){var J,K,L,M,N,O,P,Q,R,S,T,U,V;[...this['elementsToHideOnWebAds'],...this['elementsToHideOnImaAds']]['forEach'](X=>{X&&(X['style']['visibility']='visible');}),this['currentPage']['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false');const W='desktop'===z['deviceDetector']['platform'];return'Ad'===(null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['type'])||this['data']['isAd']?(this['elementsToHideOnWebAds']['forEach'](X=>{X&&(X['style']['visibility']='hidden');}),W&&(null===(M=null===(L=null===(K=this['refContentModal'])||void 0x0===K?void 0x0:K['player'])||void 0x0===L?void 0x0:L['renderPlayerBackground'])||void 0x0===M||M['call'](L,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(N=this['refContentModal'])||void 0x0===N||N['exitButtonWrapperElement']['setStyle']({'display':'none'}))),E['VideoPlayerService']['muteStateBeforeAd']=E['VideoPlayerService']['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'](X=>{X&&(X['style']['visibility']='hidden');}),null===(O=this['longPressHandler'])||void 0x0===O||O['detach'](this['container']),W&&(null===(R=null===(Q=null===(P=this['refContentModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q?void 0x0:Q['renderPlayerBackground'])||void 0x0===R||R['call'](Q,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(S=this['refContentModal'])||void 0x0===S||S['exitButtonWrapperElement']['setStyle']({'display':'none'}))),this['setButtonNavigationAsDisabled']('ALL'),void this['currentPage']['setAttribute']('is-captions-visible','false')):('no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(null===(T=this['bannerAdElement'])||void 0x0===T||T['show'](this['data']['bannerAdInfo']),'iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS']?E['VideoPlayerService']['isMuted']||this['muteToggle']():'mute'!==E['VideoPlayerService']['muteStateBeforeAd']||E['VideoPlayerService']['isMuted']?'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&E['VideoPlayerService']['isMuted']&&this['muteToggle']():this['muteToggle'](),E['VideoPlayerService']['muteStateBeforeAd']='no-ad'),null===(U=this['longPressHandler'])||void 0x0===U||U['attach'](this['container']),this['setPlayerButtonPosition']('NO_AD'),E['ConfigService']['shouldDismissPlayer']&&(null===(V=this['refContentModal'])||void 0x0===V||V['render']()),void this['updatePlayerButtonsState'](!0x0));}['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 0x0===K||K['setAttribute']('order','-1')):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(L=this['muteButtonElement'])||void 0x0===L||L['setAttribute']('order','-1')):'LTR'===E['ConfigService']['layoutDirection']?null===(M=this['muteButtonElement'])||void 0x0===M||M['setAttribute']('order','-1'):(null===(N=this['muteButtonElement'])||void 0x0===N||N['setAttribute']('order','-1'),this['topContainer']['style']['flexDirection']='row');else{const P=this['playerStyle']['iconsButtonOrder']['indexOf']('MUTE_UNMUTE');null===(O=this['muteButtonElement'])||void 0x0===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;const M=E['VideoPlayerService']['isPlaying']?this['playerStyle']['icons']['pause']:this['playerStyle']['icons']['play'],N=E['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];if(this['playButtonElement']&&this['playButtonElement']['setIconUrl'](M),this['muteButtonElement']&&this['muteButtonElement']['setIconUrl'](N),this['closedCaptionsButtonElement']){if((null===(J=this['data']['pages'][this['pageIndex']]['closedCaptions'])||void 0x0===J?void 0x0:J['length'])>0x0){null===(K=this['closedCaptionsButtonElement'])||void 0x0===K||K['setAttribute']('disabled','false');const O=E['VideoPlayerService']['isClosedCaptioningEnabled'];this['currentPage']['setAttribute']('is-captions-visible',O?'true':'false'),null===(L=this['closedCaptionsButtonElement'])||void 0x0===L||L['setIconUrl'](O?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff']);}else this['closedCaptionsButtonElement']['setAttribute']('disabled','true'),this['closedCaptionsButtonElement']['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),this['currentPage']['setAttribute']('is-captions-visible','false');}else this['currentPage']['setAttribute']('is-captions-visible','false');}['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 0x0===L?void 0x0:L['isOpen'])&&(null===(M=this['shareModal'])||void 0x0===M||M['close']()),this['playerStyle']['ctaButton']['isDisplayCtaModal']&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(N=this['ctaModal'])||void 0x0===N||N['open']()),J['preventDefault'](),J['stopImmediatePropagation'](),(0x0,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':!0x1,'cancelable':!0x0,'view':window})),(null===(T=this['ctaModal'])||void 0x0===T?void 0x0:T['isOpen'])&&(null===(U=this['ctaModal'])||void 0x0===U||U['close']())),this['isCtaWasClickedOrSwiped']=!0x1;}),(null===(P=null===(O=this['refContentModal'])||void 0x0===O?void 0x0:O['parentWidget'])||void 0x0===P?void 0x0:P['id'])&&E['EventService']['dispatch'](null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['parentWidget'],B['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(S=null===(R=this['refContentModal'])||void 0x0===R?void 0x0:R['parentWidget'])||void 0x0===S?void 0x0: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']=!0x0,!0x0;}['playToggle'](J){var K;const L=null!==(K=null==J?void 0x0:J['customIsPlaying'])&&void 0x0!==K?K:E['VideoPlayerService']['isPlaying'];this['event'](L?A['StoryAction']['PlaybackPause']:A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Click'}),L?this['pause']():this['resume'](),'boolean'!=typeof(null==J?void 0x0:J['customIsPlaying'])&&(E['VideoPlayerService']['isPlaying']=!L),this['updatePlayerButtonIcons']();}['muteToggle'](){this['event'](A['StoryAction']['Audio'],{}),E['VideoPlayerService']['isMuted']=!E['VideoPlayerService']['isMuted'];const J=this['pages'][this['pageIndex']];return J['muted']=E['VideoPlayerService']['isMuted'],this['updatePlayerButtonIcons'](),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;}}if(this['pageIndex']=J,this['pages'][this['pageIndex']]['shouldShowImaAd']=!0x1,this['pages'][this['pageIndex']]instanceof q['BlazeWidgetAd']){const N=this['pageIndex']>=this['data']['pages']['length']-0x1;this['pageIndex']=N?0x0:this['pageIndex']+0x1;}}['determineAspectRatio'](J){var K,L;const M=null===(L=null===(K=J['pages'][0x0])||void 0x0===K?void 0x0:K['baseLayer'])||void 0x0===L?void 0x0:L['content']['renditions']['find'](N=>'Horizontal'===N['aspectRatio']);return E['ConfigService']['shouldAllowHorizontalStories']&&'Full\x20Screen'===this['mode']&&M&&'desktop'===z['deviceDetector']['platform']?'Horizontal':'Vertical';}['clearExistingContent'](){var J,K;null===(J=this['pages'])||void 0x0===J||J['forEach'](L=>{var M;return null===(M=null==L?void 0x0:L['remove'])||void 0x0===M?void 0x0:M['call'](L);}),this['pages']=[],null===(K=this['playbackParts'])||void 0x0===K||K['forEach'](L=>{(null==L?void 0x0: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']=!0x0),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',E['VideoPlayerService']['isPlaying']=!0x0,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');(0x0,H['mergeStyles'])(J,{'width':'100%','height':'100%','backgroundColor':'gray','borderRadius':'5px'});const K=document['createElement']('div');return(0x0,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']=(0x0,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['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;const M=N=>Math['abs'](N-this['pageIndex'])<=0x2;switch(E['ConfigService']['prefetchingPolicy']){case'low':null===(J=this['pages'][this['pageIndex']+0x1])||void 0x0===J||J['load']();break;case'default':null===(K=this['pages'][this['pageIndex']+0x1])||void 0x0===K||K['load'](),null===(L=this['pages'][this['pageIndex']+0x2])||void 0x0===L||L['load']();}this['pages']['forEach']((N,O)=>{M(O)||null==N||N['unload']();});}['loadStoryPostersByDistance'](J){var K;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 0x0===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;if(this['loadStoryPostersByDistance'](0x2),this['navigationTimeout']&&clearTimeout(this['navigationTimeout']),J<0x0){if('SingleStory'===E['VideoPlayerService']['playReference']||'Share'===E['VideoPlayerService']['playReference'])return this['currentPage']['restartVideo'](),void this['updateCta'](0x0);null===(K=this['onPrevStory'])||void 0x0===K||K['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else{if(J>this['pages']['length']-0x1){if('SingleStory'===E['VideoPlayerService']['playReference'])return void this['updateCta'](this['pages']['length']-0x1);null===(L=this['onNextStory'])||void 0x0===L||L['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else this['isActive']=!0x0,this['switchToPage'](J),'Automatic'===this['navigationType']?this['startPage'](J):this['navigationTimeout']=setTimeout(()=>{E['VideoPlayerService']['isPlaying']&&this['startPage'](J);},A['ONE_SECOND']/0x3);}}['updatePublishedDate'](J){const K=void 0x0===J?this['pageIndex']:J,L=new Date(Date['parse'](this['data']['pages'][K]['createTime']));this['contentPublishedDate']['innerText']=(0x0,H['formatDuration'])(L);}['switchToPage'](J){var K,L,M;if(this['updatePublishedDate'](J),this['updateCTAButtonPosition'](),J===this['pageIndex'])this['updateCTAButtonPosition']();else{this['ctaButtonElement']['clearAllAnimations'](),this['updateCta'](J),this['pages'][this['pageIndex']]['hide'](),this['pages'][this['pageIndex']]['pause'](),this['pages'][this['pageIndex']]['removeLoader']();const O=this['pageIndex'];setTimeout(()=>{this['pages'][O]['currentTime']=0x0;},A['ONE_SECOND']/0x4,this);}J!==this['pageIndex']&&this['currentPage']['endExit']();const N=J-this['pageIndex'];this['pageIndex']=J,this['markAsRead'](),this['currentPage']['muted']=E['VideoPlayerService']['isMuted'],'scale(1)'!==this['style']['transform']&&(this['style']['transform']='scale(1)'),this['updatePlayerButtonIcons'](),'Ad'!==(null===(K=this['currentPage']['data'])||void 0x0===K?void 0x0:K['type'])&&this['adjustContentView'](),null===(L=this['currentPage'])||void 0x0===L||L['display'](()=>{N>=0x0?this['goNextPage']():this['goPrevPage']();}),this['currentPage']['endEnter'](),'Ad'!==(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])&&this['event'](A['StoryAction']['PageStart'],{});}['startPage'](J){var K,L;this['pageIndex']=J,null===(K=this['currentPage'])||void 0x0===K||K['load'](),null===(L=this['currentPage'])||void 0x0===L||L['play'](),'Embedded'===this['mode']&&this['currentPage']['setAttribute']('is-captions-visible','false'),this['updatePlayerButtonIcons'](),this['totalPlayStopwatch']['start'](),this['prefetchAdjacentPages']();}['unload'](){this['pages']['forEach'](J=>J['unload']());}['removeFromCache'](){this['pages']['forEach'](J=>{var K,L,M,N,O,P;if('Content'===(null===(K=J['data'])||void 0x0===K?void 0x0:K['type'])){const Q=null===(P=null===(O=null===(N=null===(M=null===(L=null==J?void 0x0:J['data'])||void 0x0===L?void 0x0:L['baseLayer'])||void 0x0===M?void 0x0:M['content'])||void 0x0===N?void 0x0:N['renditions'])||void 0x0===O?void 0x0:O[0x0])||void 0x0===P?void 0x0:P['url'];Q&&E['VideoCacheService']['isInitialized']()&&E['VideoCacheService']['deleteCacheVideoByUrl'](Q);}});}['displayCurrentStoryPageAndHideTheRest'](){var J;this['currentPage']['display'](()=>{this['goNextPage']();});const K=null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['id'];this['pages']['forEach'](L=>{var M;(null===(M=L['data'])||void 0x0===M?void 0x0:M['id'])!==K&&L['hide'](),('iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'])&&(L['muted']=!0x0);});}['load'](){this['loadStoryPostersByDistance'](0x2),this['currentPage']['load'](),this['displayCurrentStoryPageAndHideTheRest']();}['play'](){var J,K;if(this['sessionId']=(0x0,H['getRandomId'])(),this['totalPlayStopwatch']['reset'](),this['event'](A['StoryAction']['Start'],{}),this['startTrigger']='',this['exitTrigger']='',this['shouldShowImaAdOnStart']){const L=this['pages'][this['pageIndex']];if('Content'===(null===(J=L['data'])||void 0x0===J?void 0x0:J['type'])){const M=L['data'];L['shouldShowImaAd']=!0x0,M['imaUrl']=this['imaUrl'],M['adContext']=this['adContext'];}}E['VideoPlayerService']['currentlyPlayedContentId']=this['data']['id'],this['playPage'](this['pageIndex']),null===(K=this['bannerAdElement'])||void 0x0===K||K['show'](this['data']['bannerAdInfo']);}['bannerAdEvent'](J){const K=this['getRefferingObject'](),L=new z['AdEvent']();L['session_id']=this['sessionId'],L['story_id']=this['data']['id'],L['story_title']=this['data']['title'],L['content_type']='story',L['ad_unit_id']=J['adUnitId'],E['AnalyticsService']['pushAdEvent'](J['type'],L,void 0x0,K);}['event'](J,K){return m(this,arguments,void 0x0,function*(L,M,N=void 0x0){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'],R['duration']?M['story_page_duration']=R['duration']: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['pageIndex'],M['is_last_page']=this['pageIndex']==this['pages']['length']-0x1,M['audio_state']=E['VideoPlayerService']['isMuted']?'Mute':'Unmute',M['story_session_id']=this['sessionId'],M['content_duration_viewed']=this['totalPlayStopwatch']['durationMS'](),M['cc_state']=E['VideoPlayerService']['isClosedCaptioningEnabled']?'On':'Off','true'===(null===(O=E['AppConfigurationService']['appConfigurations'])||void 0x0===O?void 0x0:O['configurations']['analyticsAddEntitiesInfo'])&&(M['content_extra_info']=JSON['stringify'](this['data']['entities'])),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','audio_state':E['VideoPlayerService']['isMuted']?'Mute':'Unmute'});}}else{if('Ad'===Q['type']){let W;const X=new z['AdEvent']();if(L!==A['StoryAction']['PageStart']&&L!==A['StoryAction']['PageExit']&&L!==A['StoryAction']['CtaClick'])return;W=A['StoryToAdActionMapper'][L],W===A['AdAction']['View']?X['ad_start_trigger']=this['startTrigger']:W===A['AdAction']['Exit']?X['ad_exit_trigger']=this['exitTrigger']:W===A['AdAction']['Click']&&M['gesture_type']&&(X['gesture_type']=M['gesture_type']),X['story_id']=this['data']['id'],X['story_title']=this['data']['title'],X['ad_server']='google_ad_manager',X['ad_insertion_logic']='AFTER\x20PAGE\x20INDEX\x202,7',X['ad_path']=Q['adPath'],'true'===(null===(P=E['AppConfigurationService']['appConfigurations'])||void 0x0===P?void 0x0:P['configurations']['analyticsAddEntitiesInfo'])&&(X['content_extra_info']=JSON['stringify'](this['data']['entities'])),E['AnalyticsService']['pushAdEvent'](W,X,N,S);}}}catch(Y){}});}['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','mobile'===z['deviceDetector']['platform'])this['container']['style']['background']='#000',this['container']['style']['borderRadius']='0px',this['style']['width']='100%',this['style']['height']='100%',this['style']['minHeight']='100%';else{this['container']['style']['borderRadius']='20px';const R=(0x0,H['isCssPropertySupported'])('aspectRatio');if('Horizontal'===this['aspectRatio']){const S=(null===(J=this['nextStoryButton'])||void 0x0===J?void 0x0:J['style']['marginLeft'])||'0px',T=(null===(K=this['nextStoryButton'])||void 0x0===K?void 0x0:K['style']['marginRight'])||'0px',U=(null===(L=this['prevStoryButton'])||void 0x0===L?void 0x0:L['style']['marginRight'])||'0px',V=(null===(M=this['prevStoryButton'])||void 0x0===M?void 0x0:M['style']['marginLeft'])||'0px',W=null!==(O=null===(N=this['nextStoryButton'])||void 0x0===N?void 0x0:N['clientWidth'])&&void 0x0!==O?O:0x0,X=null!==(Q=null===(P=this['prevStoryButton'])||void 0x0===P?void 0x0:P['clientWidth'])&&void 0x0!==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);}}['connectedCallback'](){(0x0,H['setId'])(this,'blaze-story'),this['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['style']['margin']='auto',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),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 0x0===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 0x0===window||window['requestAnimationFrame'](J);};null===window||void 0x0===window||window['requestAnimationFrame'](J),this['render'](),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),super['connectedCallback']();}['onShareModalClose'](){E['VideoPlayerService']['isPlaying']&&this['resume']();}['updateStoryProgress'](){if(this['pages']['length']<=0x0)return void(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));for(let 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 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));}['onShareModalButtonClick'](J){return m(this,void 0x0,void 0x0,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 0x0===J?void 0x0:J['id']['includes']('interaction'))||(this['lastPageIndexToResume']=this['pageIndex'],this['currentPage']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,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 0x0===J?void 0x0:J['type']))&&this['resumeAfterfocus'])){this['resumeAfterfocus']=!0x1,(null===(K=this['ctaModal'])||void 0x0===K?void 0x0:K['isOpen'])&&(null===(L=this['ctaModal'])||void 0x0===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 0x0===M?void 0x0:M['type'])?this['resume']():null===(N=this['resumeAfterBlurButton'])||void 0x0===N||N['setAttribute']('blaze-btn-hidden','false'));this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['close'](J){return m(this,void 0x0,void 0x0,function*(){var K,L,M,N;this['resumeAfterfocus']=!0x1,'SingleStory'===E['VideoPlayerService']['playReference']||(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),null===(K=this['pause'])||void 0x0===K||K['call'](this),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['updateWidget'])||void 0x0===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 0x0===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 0x0===J?void 0x0:J['updateWidget'])||void 0x0===K||K['call'](J),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['setChipStyle'])||void 0x0===M||M['call'](L),null===(O=null===(N=this['widgetParentItem'])||void 0x0===N?void 0x0:N['render'])||void 0x0===O||O['call'](N),null===(Q=null===(P=this['widgetParentItem'])||void 0x0===P?void 0x0:P['updateWidgetItemPadding'])||void 0x0===Q||Q['call'](P);}['markAsRead'](){return m(this,void 0x0,void 0x0,function*(){const J=this['pages'][this['pageIndex']];if(J['data']){J['data']['hasViewed']=!0x0;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 0x0===J?void 0x0:J['player'])['renderPlayerBackground'](!0x0),(null===(K=this['refContentModal'])||void 0x0===K?void 0x0:K['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):this['displayRestartStoryButton']();}['goNextPage'](J){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleStory'===E['VideoPlayerService']['playReference']&&this['isLastPage']()&&this['isAutomaticNavigation'](J)?this['handleLastPageAutomaticNavigation']():(this['pageIndex']+0x1<this['pages']['length']&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']+0x1]['startEnter']()),this['playPage'](this['pageIndex']+0x1)));}['goPrevPage'](){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleStory'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?(this['pageIndex']>0x0&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']-0x1]['startEnter']()),this['playPage'](this['pageIndex']-0x1)):this['currentPage']['currentTime']=0x0);}['disconnectedCallback'](){var J,K;this['removeChild'](this['container']),null===(J=this['shareModal'])||void 0x0===J||J['remove'](),null===(K=this['ctaModal'])||void 0x0===K||K['remove'](),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),super['disconnectedCallback']();}['updateCTAButtonPosition'](){var J;const K=this['pages'][this['pageIndex']];if(!K)return;const L=K['getBoundingClientRect']();if(L['width']){const M=L['width']*A['ASPECT_RATIO_16_9'],N=(Math['round'](L['height']-M)-(null!==(J=parseInt(this['playerStyle']['ctaButton']['height']))&&void 0x0!==J?J:A['DEFAULT_CTA_HEIGHT']))/0x2;let O;switch(z['deviceDetector']['platform']){case'tablet':O='15px';break;case'desktop':O='Embedded'===this['mode']?'20px':'40px';break;default:O=Math['max'](N,A['MIN_PADDING_BOTTOM'])+'px';}this['bottomContainer']['style']['paddingBottom']=O;}}['updateCta'](J){var K,L,M;if(null==J)return;const N=this['pages'][J];if('Content'===(null===(K=null==N?void 0x0:N['data'])||void 0x0===K?void 0x0:K['type'])&&(null===(L=null==N?void 0x0:N['data'])||void 0x0===L?void 0x0:L['cta']['type'])){this['updateCTAButtonPosition']();const {color:O,backgroundColor:P,isDisplayCtaModal:Q,isAnimated:R,icon:S}=this['playerStyle']['ctaButton'],{textColor:T,backgroundColor:U,enhancements:V,text:W,url:X}=N['data']['cta'];this['ctaButtonElement']['setAttributes']({'text':W,'href':X});const Y=O||T,Z=P||U;this['ctaButtonElement']['setAnchorButtonStyles']({'color':Y,'background':Z}),Q&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(M=this['ctaModal'])||void 0x0===M||M['setAttributes']({'border-color':'#fff','background-color':Z,'text-color':Y,'icon-color':Y,'progress-bar-color':Y,'cta-url':N['data']['cta']['url']})),this['updateCtaButtonWidth'](),this['setCtaButtonAttributes'](S['isVisible'],Z,Y),this['handleCtaButtonAnimation'](V,R),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(!0x0){case null==J?void 0x0:J['hasSwipeUp']:this['animateCtaButton']('BottomToTop',J['animationType']),this['setCtaIconVisibility'](!0x0);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',!0x0===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);}['isSingleStoryWithAutoAdvance'](J){return'SingleStory'===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['isSingleStoryWithAutoAdvance'](J))return!0x0;if(this['isStoryPagesNavigation'](J))return!0x0;if(this['refWidget']){const M=null===(K=this['refWidget'])||void 0x0===K?void 0x0:K['indexOf'](this);if(-0x1!==M){if(J===G['ButtonNavigation']['NEXT_STORY'])return M<(null===(L=this['refWidget'])||void 0x0===L?void 0x0:L['length'])-0x1;if(J===G['ButtonNavigation']['PREV_STORY'])return M>0x0;}}return!0x1;}['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 S;S=P?M>=1.5?Q['smallScreen']['range2']:Q['smallScreen']['range1']:Q['largeScreen'][String(M)]||{'sizeReduce':0x0,'gap':'1rem'},L=S['sizeReduce'],this['buttonsContainer']['style']['gap']=S['gap'];}if('HORIZONTAL'===this['playerStyle']['iconsPosition']?this['buttonsContainer']['setStyle']({'justifyContent':'end','alignSelf':'end','alignItems':'baseline','flexDirection':'Ad'===(null===(K=null===(J=this['currentPage'])||void 0x0===J?void 0x0:J['data'])||void 0x0===K?void 0x0: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 T=(0x0,H['convertCssUnitToNumber'])(this['playerStyle']['titleFontSize']),U=(0x0,H['convertCssUnitToNumber'])(this['playerStyle']['publishedDateFontSize']),V='mobile'===z['deviceDetector']['platform']?T-L+'px':T+0x2-L+'px',W='mobile'===z['deviceDetector']['platform']?U-L+'px':U+0x2-L+'px';this['contentTitle']['style']['fontSize']=V,this['contentPublishedDate']['style']['fontSize']=W;}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']));const R='Full\x20Screen'===this['mode'];if(this['isButtonVisible']('NEXT_PAGE')&&this['nextPageButton']&&R){const X=this['playerStyle']['iconsButtonNavigation']['find'](Y=>'NEXT_PAGE'===Y['value']);X&&this['applyIconStyle'](this['nextPageButton'],X,this['playerStyle']['icons']['navigation']['nextPage']);}if(this['isButtonVisible']('PREV_PAGE')&&this['prevPageButton']&&R){const Y=this['playerStyle']['iconsButtonNavigation']['find'](Z=>'PREV_PAGE'===Z['value']);Y&&this['applyIconStyle'](this['prevPageButton'],Y,this['playerStyle']['icons']['navigation']['prevPage']);}if(this['isButtonVisible']('NEXT_STORY')&&this['nextStoryButton']&&R){const Z=this['playerStyle']['iconsButtonNavigation']['find'](a0=>'NEXT_STORY'===a0['value']);Z&&this['applyIconStyle'](this['nextStoryButton'],Z,this['playerStyle']['icons']['navigation']['nextStory']);}if(this['isButtonVisible']('PREV_STORY')&&this['prevStoryButton']&&R){const a0=this['playerStyle']['iconsButtonNavigation']['find'](a1=>'PREV_STORY'===a1['value']);a0&&this['applyIconStyle'](this['prevStoryButton'],a0,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 0x0:L['color'])&&J['setAttribute']('icon-color',null==L?void 0x0:L['color']),(null==L?void 0x0:L['backgroundColor'])&&'transparent'!==L['backgroundColor']&&(null==L?void 0x0: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=(0x0,H['convertCssUnitToNumber'])(M)-0x4+'px'),J['setAttribute']('width',M),J['setAttribute']('height',M);}}['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']};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=['SingleStory','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'](!0x0),this['updatePlayerButtonsStyleAttributes'](),this['updateCtaButtonLayout'](),this['updateCta'](this['pageIndex']),this['displayExitButtonOnMobileTablet'](),this['shadowTopElement']['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',null===(J=this['pages'])||void 0x0===J||J['forEach'](K=>null==K?void 0x0:K['render']());}['onExpandClick'](){this['dispatchEvent'](new CustomEvent(B['InternalEvent']['FULL_SCREEN_CLICK'],{'bubbles':!0x0,'cancelable':!0x1})),this['event'](A['StoryAction']['Expand'],{});}}j['BlazeWidgetStory']=I;},0x23f9:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetCaptions']=void 0x0;const j=g(0x12b0);class k 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 l=this['attachShadow']({'mode':'open'});this['container']['className']='captions-container',l['appendChild'](this['container']),this['boundTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['boundSeekUpdate']=this['handleSeekUpdate']['bind'](this);}static get['observedAttributes'](){return['is-visible'];}['connectedCallback'](){this['setupStyles']();}['disconnectedCallback'](){this['cleanup']();}['attributeChangedCallback'](l,m,p){if('is-visible'===l&&m!==p){const q='false'!==p;this['updateVisibility'](q);}}['checkContainerContent'](){var l;const m=(null!==(l=this['container']['textContent'])&&void 0x0!==l?l:'')['trim']()['length']>0x0;this['container']['style']['display']=m?'block':'none';}['handleTimeUpdate'](l){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['handleSeekUpdate'](l){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['updateTime'](l){this['updateCaptions'](l-this['startTime']);}['setupTimeUpdateHandling'](){var l,m;null===(l=this['video'])||void 0x0===l||l['addEventListener']('timeupdate',this['boundTimeUpdate']),null===(m=this['video'])||void 0x0===m||m['addEventListener']('seeked',this['boundSeekUpdate']);}['cleanup'](){var l,m;null===(l=this['video'])||void 0x0===l||l['removeEventListener']('timeupdate',this['boundTimeUpdate']),null===(m=this['video'])||void 0x0===m||m['removeEventListener']('seeked',this['boundSeekUpdate']),this['observer']['disconnect']();}['updateVisibility'](l){const m=null!=l?l:'false'!==this['getAttribute']('is-visible');this['style']['display']=m?'block':'none';}['setupStyles'](){var l;const m=document['createElement']('style');m['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:\x20#01010180;\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x202;\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===(l=this['shadowRoot'])||void 0x0===l||l['appendChild'](m);}['initialize'](l,m){return h(this,void 0x0,void 0x0,function*(){this['video']=l,this['captions']=m,this['observer']['observe'](this['container'],{'childList':!0x0,'subtree':!0x0,'characterData':!0x0}),yield this['setupCaptions']();});}['setupCaptions'](){return h(this,void 0x0,void 0x0,function*(){var l;if(this['video']&&(null===(l=this['captions'])||void 0x0===l?void 0x0:l['length']))try{const m=this['captions']['find'](r=>r['url']['endsWith']('.vtt'));if(!m)return;const p=yield fetch(m['url']);if(!p['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+p['status']);const q=yield p['text']();this['cues']=[],this['parser']['oncue']=r=>{this['cues']['push'](new VTTCue(r['startTime']+this['startTime'],r['endTime']+this['startTime'],r['text']));},this['parser']['onflush']=()=>{this['updateCaptions'](0x0),this['setupTimeUpdateHandling']();},this['parser']['parse'](q),this['parser']['flush']();}catch(r){this['updateVisibility'](!0x1);}});}['updateCaptions'](l){this['video']&&(this['container']['innerHTML']='',this['cues']['forEach'](m=>{m['startTime']<=l&&m['endTime']>=l&&(this['container']['innerHTML']=m['text']);}),this['checkContainerContent']());}}f['BlazeWidgetCaptions']=k;},0xb58:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetContent']=void 0x0;const h=g(0x23a6),j=g(0x1133),k=g(0x11c1);class l extends HTMLElement{constructor(){super(),this['pageIndex']=0x0,this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['navigationDirection']='',this['listeners']=new j['EventsListener'](),this['isActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isNavigationPending']=!0x1,this['resumeAfterfocus']=!0x1,this['widgetParentItem']={},this['sessionId']='',this['container']=document['createElement']('div'),this['container']['style']['touchAction']='manipulation',this['container']['style']['cssText']+='-webkit-user-select:\x20none;';}['connectedCallback'](){window['addEventListener']('focus',this['boundOnFocusEvent']),window['addEventListener']('blur',this['boundOnBlurEvent']),window['addEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']);}['disconnectedCallback'](){window['removeEventListener']('blur',this['boundOnFocusEvent']),window['removeEventListener']('focus',this['boundOnBlurEvent']),window['removeEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']);}['setWidgetItemParent'](m){this['widgetParentItem']=m;}['updateWidgetStatusReadUnread'](){this['widgetParentItem']&&(this['widgetParentItem']['updateWidget'](),this['widgetParentItem']['setChipStyle'](),this['widgetParentItem']['render'](),this['widgetParentItem']['updateWidgetItemPadding']());}['getRefferingObject'](){var m,p,q;const u=new j['ReferringEventInfo'](),v=(null===(m=this['widgetParentItem'])||void 0x0===m?void 0x0:m['parentRef'])||(null===(p=this['refContentModal'])||void 0x0===p?void 0x0:p['parentWidget']);if(v&&v instanceof h['BlazeWidgetLayout']&&(u['origin_widget_id']=v['id'],u['origin_widget_type']=v['widgetType'](),u['labels_expression']=v['getAttribute']('labels')),k['ConfigService']['staticContent']&&(u['story_source']='OneBox'),document['referrer']){u['referrer_page_url']=document['referrer'];const w=document['referrer']['indexOf']('#blaze'),x=-0x1!==w?document['referrer']['slice'](0x0,w):document['referrer'];u['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](x)?'Homepage':'Category/Article',u['referrer_page_domain']=document['referrer']?null===(q=new URL(document['referrer']))||void 0x0===q?void 0x0:q['hostname']:'';}return u;}['render'](){}}f['BlazeWidgetContent']=l;},0xb0b:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});},k=this&&this['__importDefault']||function(x){return x&&x['__esModule']?x:{'default':x};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetCtaModal']=void 0x0;const m=k(h(0xad8)),p=h(0x1133),q=h(0x1932),u=h(0x22d9),v=h(0x115);class w extends p['BaseWidget']{constructor(){var x;super(),this['isOpen']=!0x1,this['ctaContainer']=u['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']=u['WidgetsFactory']['create']('blaze-modal'),this['ctaUrl']=u['WidgetsFactory']['create']('blaze-typography'),this['iconShare']=u['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']=u['WidgetsFactory']['create']('blaze-button'),this['textContainer']=u['WidgetsFactory']['create']('blaze-div'),this['labelText']=u['WidgetsFactory']['create']('blaze-typography'),this['progressBar']=u['WidgetsFactory']['create']('blaze-div'),this['fullscreenOverlay']=u['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']['onClose']=null===(x=this['onDrawerClose'])||void 0x0===x?void 0x0:x['bind'](this);}['connectedCallback'](){return j(this,void 0x0,void 0x0,function*(){this['ctaContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'2.5rem','fontSize':'.8rem','fontFamily':'WSC\x20Open\x20Sans','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'](x,y,z){switch(x){case'cta-url':this['ctaUrl']['text']=z;break;case'background-color':this['ctaDrawer']['setAttribute']('background-color',z);break;case'icon-color':this['iconExternalLink']['setAttribute']('icon-color',z),this['iconShare']['setAttribute']('icon-color',z);break;case'text-color':this['ctaUrl']['setStyle']({'color':z}),this['labelText']['setStyle']({'color':z});break;case'border-color':this['ctaDrawer']['setAttribute']('border-color',z);break;case'progress-bar-color':this['progressBar']['setStyle']({'backgroundColor':z});}}['animateProgressBar'](x){let y={'targets':'#progress-bar','width':x?'100%':'0','duration':x?q['ONE_AND_HALF_SECOND']:0x1,'easing':'easeInQuad'};(0x0,m['default'])(y);}['onDrawerClose'](){this['animateProgressBar'](!0x1);}['open'](){this['ctaDrawer']['open'](),this['animateProgressBar'](!0x0),this['fullscreenOverlay']['setStyle']({'display':'block'}),this['isOpen']=!0x0;}['close'](){this['ctaDrawer']['close'](),this['animateProgressBar'](!0x1),this['fullscreenOverlay']['setStyle']({'display':'none'}),this['isOpen']=!0x1;}['render'](){this['ctaDrawer']['init']({'anchor':'bottom','component':this['ctaContainer']}),this['append'](this['ctaDrawer']),this['iconShare']['setIconUrl'](v['externalLinkIconSvg']),this['iconShare']['setAttribute']('icon-color','#000'),this['textContainer']['setStyle']({'display':'flex','alignSelf':'center','maxWidth':'75%'}),this['labelText']=u['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 x=u['WidgetsFactory']['create']('blaze-div');x['setStyle']({'display':'flex','gap':'1rem','padding':'0.5rem','alignItems':'center','justifyContent':'space-between'}),this['iconExternalLink']=u['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']['setIconUrl'](v['newPageIcon']),this['iconExternalLink']['setAttribute']('icon-color','#000'),x['append'](this['iconShare']),x['append'](this['textContainer']),x['append'](this['iconExternalLink']),this['ctaContainer']['append'](x),this['ctaDrawer']['setAttribute']('border-radius','1rem\x201rem\x200\x200'),this['ctaContainer']['append'](this['progressBar']),this['append'](this['fullscreenOverlay']);}}g['BlazeWidgetCtaModal']=w,w['observedAttributes']=['cta-url','background-color','icon-color','text-color','border-color','progress-bar-color'];},0x215f:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(F,G,H,I){return new(H||(H=Promise))(function(J,K){function L(O){try{N(I['next'](O));}catch(P){K(P);}}function M(O){try{N(I['throw'](O));}catch(P){K(P);}}function N(O){var P;O['done']?J(O['value']):(P=O['value'],P instanceof H?P:new H(function(Q){Q(P);}))['then'](L,M);}N((I=I['apply'](F,G||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetEmbeddedStory']=void 0x0;const q=k(0x23a6),v=k(0x1fdc),w=k(0x1133),x=k(0x1699),y=k(0x26ed),z=k(0x11c1),A=k(0x132a),B=k(0x2432),C=k(0x1a96),D={'Labels':'labels','LabelsPriority':'labels-priority','OrderType':'order-type','MaxItems':'max-items','StoryIds':'story-ids'};class E extends w['BaseWidget']{get['theme'](){return this['getTheme']();}constructor(){super(),this['contents']=[],this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'threshold':0.5}),this['isIntersecting']=!0x1,this['currentStoryPlayerIndex']=0x0,this['stories']=[],this['shouldReloadData']=!0x0,this['isCurrentPlayerFirstPlay']=!0x0,this['bindedOnPlayerDidAppear']=this['onPlayerDidAppear']['bind'](this),this['bindedOnPlayerDismissed']=this['onPlayerDismissed']['bind'](this);}static get['observedAttributes'](){return Object['values'](D);}['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\x20blaze-widget-story\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']=z['ConfigService']['layoutDirection'],this['intersectionObserver']['observe'](this),this['addEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['addEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['addEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['addEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['addEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['addEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['addEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']),this['reloadLogic']();}['disconnectedCallback'](){this['removeEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['removeEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['removeEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['removeEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['removeEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['removeEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['removeEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']);}['attributeChangedCallback'](F,G,H){switch(F){case D['Labels']:case D['LabelsPriority']:case D['StoryIds']:if(!G)break;this['reloadLogic']();}}['updateDataSource'](F){}['getTheme'](){return this['preset']||A['ThemeFactory']['create']('default');}['setTheme'](F){let G;G='string'==typeof F?A['ThemeFactory']['create'](F):F,this['preset']=G,this['modal']=this['createModal']();}['setLabels'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F;else{if(Array['isArray'](F))H=F['join'](',');else{if(!(F instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+F+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');H=F['toString']();}}this['setAttribute'](D['Labels'],H);}['setLabelsPriority'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F['startsWith']('[')&&F['endsWith'](']')?F:'['+F+']';else{if(!Array['isArray'](F))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+F+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');H=F['every'](I=>I instanceof w['BlazeWidgetLabel'])?'['+F['map'](I=>I['toString']())['join'](',')+']':'['+F['join'](',');}this['setAttribute'](D['LabelsPriority'],H);}['setContentIds'](F,G){this['setReloadData'](G),this['setAttribute'](D['StoryIds'],F['join'](','));}['reload'](){this['shouldReloadData']=!0x0,this['reloadLogic']();}['reloadLogic'](){this['shouldReloadData']&&this['loadStories']();}['setReloadData'](F){this['shouldReloadData']='object'!=typeof F||!F['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof F['shouldReloadData']||F['shouldReloadData'];}['updateWidgetUI'](){}['setMaxItemsDisplaySize'](F){}['setDelegations'](F){for(const G in F)this['addEventListener'](G,F[G]);}['updateOverrideStyles'](F){}['setId'](F){this['id']='widget-embedded-story-'+F;}['setMaxItemsSize'](F){this['setAttribute'](D['MaxItems'],F['toString']());}get['currentStoryPlayer'](){return this['contents'][this['currentStoryPlayerIndex']];}['loadStories'](){return m(this,void 0x0,void 0x0,function*(){var F,G;z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),this['removeCurrentStoryPlayer'](),this['showSkeleton'](),this['contents']=[];const H=this['getAttribute'](D['MaxItems']),I=this['getAttribute'](D['Labels']),J=this['getAttribute'](D['OrderType']),K=this['getAttribute'](D['StoryIds']),L=null==K?void 0x0:K['split'](','),M=this['getAttribute'](D['LabelsPriority']),{data:N}=(null==L?void 0x0:L['length'])&&!I?yield z['ApiService']['getStoriesByIds'](L,J):yield z['ApiService']['getStoriesByLabels'](I,J,H,M);this['defaultAdsInfo']=null==N?void 0x0:N['defaultAdsInfo'];let O=null!==(F=null==N?void 0x0:N['result'])&&void 0x0!==F?F:[];const P=Object['assign'](Object['assign']({},this['theme']['playerStyle']),{'iconsPosition':'VERTICAL','iconsButtonPadding':'7px'});try{O=yield z['DatabaseService']['enrichStories'](O),O['forEach'](R=>{R['hasViewed']=(0x0,B['isReadByLastUnIgnoredPageStatus'])(R);});}catch(R){z['EventService']['dispatch'](this,y['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':y['ErrorCode']['FailedEnrichStories']});}this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==J&&O['sort']((S,T)=>{const U=S['hasViewed']?0x1:0x2;return(T['hasViewed']?0x1:0x2)-U;}),O['forEach']((S,T)=>{const U=new C['BlazeWidgetStory'](P,'Embedded');U['startTrigger']='Embedded\x20Player\x20in\x20Viewport',U['setData'](S),U['resetStoryLocationIndexToLastUnseen'](),this['contents']['push'](U),z['AdService']['pushAdsBetweenStories'](this['defaultAdsInfo'],this['contents'],O,T,0x0,P,'Embedded');});const Q=this['contents']['at'](0x0);Q&&(Q['shouldShowImaAdOnStart']=!0x1),this['setCurrentStoryPlayer'](0x0),null===(G=this['currentStoryPlayer'])||void 0x0===G||G['currentPage']['startEnter'](),z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':O['length']}),this['hideSkeleton'](),this['stories']=O;});}['setCurrentStoryPlayer'](F,G){var H;null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['endExit'](),this['removeCurrentStoryPlayer'](),this['isCurrentPlayerFirstPlay']=!0x0;const I=F<0x0,J=F>=this['contents']['length'];I||J?(this['currentStoryPlayerIndex']=0x0,J&&this['contents']['forEach'](K=>K['resetStoryLocationIndexToLastUnseen']())):this['currentStoryPlayerIndex']=F,this['currentStoryPlayer']&&(isNaN(Number(G))||(this['currentStoryPlayer']['pageIndex']=null!=G?G:0x0),this['appendChild'](this['currentStoryPlayer']),this['currentStoryPlayer']['load'](),this['isIntersecting']&&(this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,this['currentStoryPlayer']['play']()):this['currentStoryPlayer']['playToggle']({'customIsPlaying':!0x1})),this['currentStoryPlayer']['currentPage']['startEnter'](),this['currentStoryPlayer']['currentPage']['endEnter']());}['handleIntersection'](F){const G=F['find'](H=>H['target']===this);G&&(this['isIntersecting']=G['isIntersecting'],this['currentStoryPlayer']&&(this['isIntersecting']?this['playCurrentStoryPage']():this['pauseCurrentStoryPage']()));}['nextStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](-0x1))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']+0x1);}['prevStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](0x0))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']-0x1);}['removeCurrentStoryPlayer'](){var F;null===(F=this['currentStoryPlayer'])||void 0x0===F||F['remove']();}['createModal'](){this['updatePlayerStyle']();const F=this['modal']?this['modal']:new q['BlazeWidgetStoryModal'](this,this['theme']['playerStyle']);return this['modal']&&this['modal']['setTheme'](this['theme']['playerStyle']),F['setModalContent'](this['stories'],0x0,this['defaultAdsInfo']),F['onClose']=this['handleModalClose']['bind'](this),F;}['handleModalClose'](F){if(z['VideoPlayerService']['isPlaying']=!0x0,null==F?void 0x0:F['storyId']){const G=this['contents']['findIndex'](I=>I['data']['id']===F['storyId']);if(-0x1===G)return;const H=this['contents'][G]['shouldShowImaAdOnStart'];this['contents'][G]['shouldShowImaAdOnStart']=!0x1,this['setCurrentStoryPlayer'](G,null==F?void 0x0:F['pageIndex']),this['contents'][G]['shouldShowImaAdOnStart']=H;}}['updatePlayerStyle'](){const F=(0x0,B['mergeDeep'])(A['ThemeFactory']['create']('default')['playerStyle'],z['ConfigService']['playerStyleCustomization']);(0x0,B['applyPlayerStyleChanges'])(A['ThemeFactory']['create']('default')['playerStyle'],F,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['openFullscreen'](){this['currentStoryPlayer']&&(this['pauseCurrentStoryPage'](),this['modal']=this['createModal'](),this['appendModalToBlazeSDK'](this['modal']),this['modal']['seek'](this['currentStoryPlayer']['data']['id']),this['modal']['open']({'pageIndex':this['currentStoryPlayer']['pageIndex']}));}['appendModalToBlazeSDK'](F){const G=document['getElementsByTagName']('blaze-sdk')[0x0];G&&G['append'](F);}['onFullScreenClickHandler'](F){F['stopPropagation'](),this['openFullscreen']();}['pauseCurrentStoryPage'](){var F,G,H,I,J;(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused'])||(null===(G=this['currentStoryPlayer'])||void 0x0===G||G['playToggle']({'customIsPlaying':!0x0}),(null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(J=null===(I=this['currentStoryPlayer'])||void 0x0===I?void 0x0:I['currentPage']['adsManager'])||void 0x0===J||J['pause']()));}['playCurrentStoryPage'](){var F,G,H,I,J,K,L,M,N;if(!this['isIntersecting'])return;if(!(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused']))return;const O=(null===(G=this['currentStoryPlayer'])||void 0x0===G?void 0x0:G['currentPage']['isCurrentlyTryingToRunImaAd'])||'Ad'===(null===(I=null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['data'])||void 0x0===I?void 0x0:I['type']);(null===(J=this['currentStoryPlayer'])||void 0x0===J?void 0x0:J['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(L=null===(K=this['currentStoryPlayer'])||void 0x0===K?void 0x0:K['currentPage']['adsManager'])||void 0x0===L||L['resume']()),O||(z['VideoPlayerService']['isPlaying']=!0x0,this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,null===(M=this['currentStoryPlayer'])||void 0x0===M||M['play']()):null===(N=this['currentStoryPlayer'])||void 0x0===N||N['playToggle']({'customIsPlaying':!0x1}));}['onCustomNativeAdEnded'](){var F;this['isIntersecting']||null===(F=this['currentStoryPlayer'])||void 0x0===F||F['pause']();}['onVastAdResumedEnded'](){var F,G;this['isIntersecting']||null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['adsManager'])||void 0x0===G||G['pause']();}['showSkeleton'](){var F,G,H,I;this['skeleton']||(this['skeleton']=new x['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],null!==(G=null===(F=this['parentElement'])||void 0x0===F?void 0x0:F['clientWidth'])&&void 0x0!==G?G:0x0,null!==(I=null===(H=this['parentElement'])||void 0x0===H?void 0x0:H['clientHeight'])&&void 0x0!==I?I:0x0,0x0),this['appendChild'](this['skeleton']));}['hideSkeleton'](){this['skeleton']&&(this['removeChild'](this['skeleton']),this['skeleton']=void 0x0);}['onPlayerDidAppear'](F){this['onOtherModalOpenedClosed'](F,()=>this['pauseCurrentStoryPage']());}['onPlayerDismissed'](F){this['onOtherModalOpenedClosed'](F,()=>this['playCurrentStoryPage']());}['onOtherModalOpenedClosed'](F,G){const H=F;this['id']!==H['detail']['widgetId']&&G();}}j['BlazeWidgetEmbeddedStory']=E;},0x565:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetInteraction']=void 0x0;const k=h(0x1133),m=h(0x1932),p=h(0x25e6),q=h(0x11c1),u=h(0x2432);class v extends k['BaseWidget']{constructor(){super(...arguments),this['iframe']=document['createElement']('iframe'),this['isActive']=!0x1,this['shouldForceHide']=!0x1,this['responseHandler']=this['onUserResponse']['bind'](this),this['focusMainWindowHandler']=this['focusMainWindow']['bind'](this),this['orientationChangeHandler']=this['orientationChange']['bind'](this);}['connectedCallback'](){this['style']['position']='relative',this['style']['display']='block',this['style']['width']='100%',(0x0,u['isCssPropertySupported'])('aspectRatio')?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%';}['loadInteraction'](w){this['interaction']=w,(0x0,u['mergeStyles'])(this['iframe'],{'position':'absolute','border':'none','top':0x64*this['interaction']['topOffset']+'%','left':0x64*this['interaction']['leftOffset']+'%','height':0x64*this['interaction']['relativeHeight']+'%','width':0x64*this['interaction']['relativeWidth']+'%','zIndex':'1','transform':this['isActive']?'scale(1)':'scale(0)'}),this['iframe']['id']='interaction-'+this['interaction']['id'],this['iframe']['src']=this['interaction']['htmlUrl'],this['iframe']['onload']=this['initInteraction']['bind'](this),window['addEventListener']('blur',this['focusMainWindowHandler']),this['orientationChangeHandler'](),window['addEventListener']('resize',this['orientationChangeHandler']),this['appendChild'](this['iframe']);}['showInteraction'](w){this['interaction']||(this['interaction']=w),this['interaction']&&!this['isActive']&&(this['pushAnalyticsEvent'](m['InteractionAction']['VIEW']),this['isActive']=!0x0,this['shouldForceHide']||(this['iframe']['style']['transform']='scale(1)'),window['addEventListener']('message',this['responseHandler']));}['hideInteraction'](){this['interaction']&&this['isActive']&&(this['isActive']=!0x1,this['iframe']['style']['transform']='scale(0)',window['removeEventListener']('message',this['responseHandler']));}['unloadInteraction'](){this['iframe']['remove'](),window['removeEventListener']('blur',this['focusMainWindowHandler']),window['removeEventListener']('message',this['responseHandler']),window['removeEventListener']('resize',this['orientationChangeHandler']);}['onUserResponse'](w){return j(this,void 0x0,void 0x0,function*(){if(this['interaction']&&this['isActive']&&w['source']===this['iframe']['contentWindow'])switch(w['data']['type']){case'USER_RESPONSE':q['InteractionService']['updateInteraction']({'id':this['interaction']['id'],'initData':w['data']['data']['newInitData'],'userResponse':w['data']['data']['userResponse']}),q['ApiService']['sendInteractionResponse']({'interactionId':this['interaction']['id'],'interactionType':this['interaction']['type'],'responseId':w['data']['data']['userResponse']}),this['pushAnalyticsEvent'](m['InteractionAction']['ANSWER'],{'interaction_selected_answer':w['data']['data']['userResponse']});break;case'USER_VIBRATE':const x=w['data']['data']['type'];'vibrate'in navigator&&navigator['vibrate'](p['ANSWER_FEEDBACK_VIBRATE_PATTERNS'][x]);}});}['pushAnalyticsEvent'](w,x){if(!this['interaction'])return;const y={'action':w,'body':Object['assign']({'interaction_id':this['interaction']['id'],'interaction_type':this['interaction']['type']},x)};this['dispatchEvent'](new CustomEvent(p['INTERACTION_ANALYTICS'],{'detail':y}));}['focusMainWindow'](){document['activeElement']===this['iframe']&&setTimeout(()=>{window['focus']();},0x0);}['initInteraction'](){return j(this,void 0x0,void 0x0,function*(){var w;if(!this['interaction'])return;let x,y;try{const z=yield q['InteractionService']['getInteraction'](this['interaction']['id']);x=null==z?void 0x0:z['initData'],y=null==z?void 0x0:z['userResponse'];}catch(A){}x=null!=x?x:this['interaction']['initData'],null===(w=this['iframe']['contentWindow'])||void 0x0===w||w['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](x),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':y},'*');});}['orientationChange'](){this['shouldForceHide']='mobile'===k['deviceDetector']['platform']&&'landscape'===k['deviceDetector']['screenOrientation'],this['isActive']&&(this['shouldForceHide']?this['iframe']['style']['transform']='scale(0)':this['iframe']['style']['transform']='scale(1)');}}g['BlazeWidgetInteraction']=v;},0x1492:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetItem']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0xdf6),u=h(0x2432);class v extends j['BaseWidget']{get['parentRef'](){let w=this['parentElement'];const x=this['getRootNode']();return x instanceof ShadowRoot&&(w=x['host']),w;}constructor(w){super(),this['options']=w,this['thumbnailString']='',this['analyticsCalls']={},this['chipType']='statusReadStyle',this['statusIndicatorSettings']={'backgroundColor':'#ffffff','backgroundImage':'none','textColor':'#fffff','font':'initial','textSize':'10px','letterSpacing':'initial','borderRadius':'initial','borderColor':'#ffffff','thumbnailBorderColor':'#ffffff','text':'','borderWidth':0x2,'isVisible':!0x1,'padding':'3px\x209px'},this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'};const {layout:x,content:y}=w;this['content']=y,this['layoutStyle']=x,this['statusIndicatorSettings']['borderRadius']='Circle'===this['layoutStyle']['thumbnailShape']?'50%':'0',this['statusIndicatorSettings']['borderWidth']=this['layoutStyle']['borderWidth'],this['thumbnailType']=this['layoutStyle']['thumbnailType'],this['setAttribute']('title',y['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['boundOnWidgetClick']=this['handleWidgetClick']['bind'](this);}['initializeWidget'](){this['thumbnailType']=(0x0,q['thumbnailMapping'])(this['layoutStyle']['thumbnailType']),this['setupDOMElements'](),this['setData'](this['content']),this['setupEventListeners']();}['connectedCallback'](){(0x0,u['setId'])(this,'blaze-widget-item'),this['setAttribute']('data-testid','blaze-widget-item-'+this['content']['id']),this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['updateWidget'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['updateWidgetsData']();}['updateWidgetItemPadding'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['setMaxPaddingOnWidgetItems']();}['updateWidgetItemStyle'](w){this['resetWidgetItemStyles'](),this['setTheme'](w);}['setupDOMElements'](){this['setStyle']({'display':'grid','position':'relative','cursor':'pointer'}),this['wrapper']['setStyle']({'position':'relative','display':'grid'}),this['container']['setStyle']({'background':'transparent','position':'relative','display':'grid'}),this['labelBackground']['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'0','left':'0','height':'33.34%','borderRadius':'inherit','display':'none'}),this['thumbnail']['setStyle']({'lineHeight':'0'}),this['label']['setStyle']({'margin':'0px','justifySelf':'center','justifyContent':'center','textAlign':'center','overflow':'hidden','boxSizing':'border-box','fontWeight':this['layoutStyle']['labelStyle']['fontWeight'],'width':'100%','color':'transparent','borderRadius':'4px','maxWidth':'max(50%,\x2048px)','maxHeight':'24px'}),this['labelContainer']['setStyle']({'display':'inline-block'}),(0x0,u['mergeStyles'])(this['chip'],{'display':this['isLive']?'inline':'none','transform':'unset','fontWeight':'bold','inset':'unset'}),(0x0,u['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']);}['handleWidgetClick'](){var w;this['event'](k['WidgetAction']['Click'],{}),null===(w=this['onClick'])||void 0x0===w||w['call'](this);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnWidgetClick']);}['setData'](w){this['content']=w,this['content']&&this['label']&&(this['label']['textContent']=this['content']['title']),'isLive'in this['content']&&(this['isLive']=this['content']['isLive']),this['thumbnailString']=this['getThumbnailUrl'](),this['thumbnail']['setAccessibility'](this['content']['title']),this['thumbnail']['load'](this['thumbnailString']);}['getThumbnailUrl'](){var w,x,y,z,A,B,C,D;let E=null===(y=null===(x=null===(w=this['content'])||void 0x0===w?void 0x0:w['thumbnails'][0x0])||void 0x0===x?void 0x0:x['rendition'])||void 0x0===y?void 0x0:y['url'];return E=null!==(D=null===(C=null===(B=null===(A=null===(z=this['content'])||void 0x0===z?void 0x0:z['thumbnails'])||void 0x0===A?void 0x0:A['find'](F=>F['type']==this['thumbnailType']))||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'])&&void 0x0!==D?D:E,E||'';}['setThumbnailBorderColor'](w){this['container']['setStyle']({'borderColor':w});}['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:w,borderRadius:x,borderPadding:y}=this['layoutStyle'],{thumbnailBorderColor:z,backgroundColor:A}=this['statusIndicatorSettings'],B=w!==this['statusIndicatorSettings']['borderWidth']?this['statusIndicatorSettings']['borderWidth']:w;this['container']['style']['borderWidth']=B+'px',this['container']['style']['borderStyle']='solid',this['container']['style']['borderRadius']=x,this['container']['style']['padding']=y+'px';const C=z||A;this['setThumbnailBorderColor'](C);}['updateLabelStyles'](){const w=this['layoutStyle']['labelStyle'],x=w['position']['startsWith']('inside'),y=w['position']['startsWith']('outside');this['label']['setStyle']({'fontFamily':w['font'],'fontDisplay':'swap','fontSize':w['fontSize'],'lineHeight':w['height']+'px'}),this['labelContainer']['setStyle']({'padding':w['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']),w['isVisible']||(this['label']['style']['display']='none',this['labelBackground']['style']['display']='none'),y&&this['updateOutsideLabelStyles'](w),x&&this['updateInsideLabelStyles'](w);}['updateInsideLabelStyles'](w){const {isInside:x,isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C}=(0x0,u['calculatePosition'])(w['position']);switch(this['style']['gap']='0px',this['container']['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'absolute','gridRow':'unset','width':'-webkit-fill-available'}),this['labelBackground']['setStyle']({'background':'#000'}),!0x0){case x&&y: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 x&&z: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 x&&A: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(w['backgroundColor']&&(this['labelBackground']['style']['background']=w['backgroundColor']),!0x0){case x&&B:this['label']['setStyle']({'textAlign':w['textAlign']||'start'});break;case x&&C:this['label']['setStyle']({'textAlign':w['textAlign']||'end'});break;default:this['label']['setStyle']({'textAlign':w['textAlign']||'center'});}}['updateOutsideLabelStyles'](w){const x='outsideBottom'===w['position'],y='outsideTop'===w['position'];switch(this['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'initial'}),this['labelBackground']['setStyle']({'display':'none'}),this['style']['gap']=(w['isVisible']?w['gap']:0x0)+'px',!0x0){case x:this['labelContainer']['setStyle']({'gridRow':'2'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial'}),this['container']['setStyle']({'alignContent':'flex-start'});break;case y:this['labelContainer']['setStyle']({'gridRow':'1'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial','alignContent':'space-between'}),this['container']['setStyle']({'alignSelf':'flex-end'});}w['textAlign']&&this['label']['setStyle']({'textAlign':w['textAlign']});}['updateThumbnailStyles'](){this['layoutStyle']&&this['thumbnail']&&('16/9'===(0x0,u['checkAspectRatios'])(this['layoutStyle']['itemRatio'])&&this['thumbnail']['setHeight']('-webkit-fill-available'),this['thumbnail']['setStyle']({'aspectRatio':this['layoutStyle']['itemRatio']['toString'](),'borderRadius':this['layoutStyle']['borderRadius']}));}['updateStatusIndicatorStyle'](w){const x='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],z='chip'===w?this['layoutStyle']['statusIndicatorPosition']:this['layoutStyle']['badgePosition'],A='chip'===w?this['chip']:this['badge'];if(!x['isVisible'])return void(A['style']['display']='none');'badge'===w&&this['layoutStyle']['badgeIndicatorStyle']['padding']&&(A['style']['padding']=this['layoutStyle']['badgeIndicatorStyle']['padding'],A['style']['zIndex']='1');const {isOutside:B,isInside:C,isTop:D,isMiddle:E,isBottom:F,isLeft:G,isRight:H}=(0x0,u['calculatePosition'])(z);let I=0x0,J=0x0;if('badge'===w)x['width']&&(J=Math['floor'](x['width']/0x2)),x['height']&&(I=Math['floor'](x['height']/0x2));else{const N=(0x0,u['createChip'])(this['statusIndicatorSettings']);J=Math['floor'](N['width']/0x2),I=Math['floor'](N['height']/0x2);}const K='Circle'===this['layoutStyle']['thumbnailShape'],L=this['statusIndicatorSettings']['borderWidth'],M='badge'===w?x['borderWidth']:this['statusIndicatorSettings']['borderWidth'];B?this['handleOutsidePosition']({'isTop':D,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'width':J,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A):C&&this['handleInsidePosition']({'isTop':D,'isMiddle':E,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A),this['applyCommonStyles'](w);}['handleOutsidePosition'](w,x){const {isTop:y,isBottom:z,isLeft:A,isRight:B,height:C,width:D,isCircleThumbnail:E,borderWidthElement:F,borderWidthThumbnail:G}=w;if(y?(x['style']['top']='-'+C+'px',B||A||(this['wrapper']['style']['paddingTop']=C-G+'px',this['paddingItem']['top']=C-G+'px')):z&&(x['style']['bottom']='-'+C+'px',B||A||(this['wrapper']['style']['paddingBottom']=C-G+'px',this['paddingItem']['bottom']=C-G+'px')),A||B){const H=A?'left':'right',I=z||y,J=E&&I?'0':'-'+D+'px',K=A?'paddingLeft':'paddingRight';x['setStyle']({[H]:J,'alignSelf':'center'});const L=E&&I?'0':D+'px';if(this['wrapper']['setStyle']({[K]:L}),this['paddingItem'][H]=L,z||y){const M=z?'bottom':'top';x['setStyle']({[M]:E?'0':'-'+C+'px'});const N=z?'paddingBottom':'paddingTop';this['wrapper']['setStyle']({[N]:E?'0':C+'px'}),this['paddingItem'][M]=L;}}}['handleInsidePosition'](w,x){const {isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C,isCircleThumbnail:D}=w,E={},F=(0x0,u['calculatePercentage'])(0x5,this['container']),G=(0x0,u['calculatePercentage'])(0xf,this['container']);(y||A)&&(E['top']=y?D?z?F:G:'4px':'',E['bottom']=A?D?z?F:G:'4px':''),z&&(E['alignSelf']='center'),(B||C)&&(E['left']=B?D?z?F:G:'4px':'',E['right']=C?D?z?F:G:'4px':''),B||C||y||A||(E['textAlign']='center'),x['setStyle'](E);}['applyCommonStyles'](w){var x,y,z,A;const B='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],C='chip'===w?this['chip']:this['badge'],D={'fontSize':B['textSize'],'backgroundColor':B['backgroundColor'],'borderColor':B['borderColor'],'borderWidth':B['borderWidth']+'px','borderRadius':B['borderRadius'],'color':B['textColor'],'letterSpacing':B['letterSpacing'],'fontFamily':B['font'],'fontDisplay':'swap','padding':B['padding']};if('badge'===w&&(D['height']=B['height']+'px',D['width']=B['width']+'px'),'none'!==B['backgroundImage']&&(new Image()['src']=B['backgroundImage'],D['backgroundImage']='url(\x27'+B['backgroundImage']+'\x27)',D['backgroundSize']='cover',D['backgroundRepeat']='no-repeat',D['backgroundPosition']='center'),B['positionOffset']&&(D['marginLeft']=null!==(x=B['positionOffset']['left'])&&void 0x0!==x?x:null,D['marginTop']=null!==(y=B['positionOffset']['top'])&&void 0x0!==y?y:null,D['marginRight']=null!==(z=B['positionOffset']['right'])&&void 0x0!==z?z:null,D['marginBottom']=null!==(A=B['positionOffset']['bottom'])&&void 0x0!==A?A:null),'chip'===w){const F=B['thumbnailBorderColor']||B['borderColor'];this['setThumbnailBorderColor'](F);}C['setStyle'](D),C['innerText']=B['text'];const E=0x0!==C['innerText']['length'];C['style']['display']=B['isVisible']&&(E||'none'!==B['backgroundImage'])?'flex':'none';}['setTheme'](w){this['layoutStyle']=w,this['initializeAndRenderWidget']();}['initializeAndRenderWidget'](){this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['getPaddingOnContainer'](){return this['paddingItem'];}['setPaddingOnContainer'](w){this['paddingItem']=w,this['wrapper']['setStyle']({'paddingTop':w['top'],'paddingBottom':w['bottom'],'paddingLeft':w['left'],'paddingRight':w['right']});}['setChipStyle'](){var w;const x=null===(w=this['content'])||void 0x0===w?void 0x0:w['hasViewed'];this['isLive']?x?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'):x?(this['statusIndicatorSettings']=this['layoutStyle']['statusReadStyle'],this['chipType']='statusReadStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusUnreadStyle'],this['chipType']='statusUnreadStyle');}['event'](w,x,z=void 0x0){var A,B,C,D,E,F,G,H,I,J,K;if(w==k['WidgetAction']['Load']||w==k['WidgetAction']['Visible']){if(this['analyticsCalls'][w])return;this['analyticsCalls'][w]=!0x0;}try{const L=this['parentRef'],M=L['getBoundingClientRect']();x['widget_id']=L['id'],x['widget_name']=L['id'],x['widget_size']=Math['round'](null==M?void 0x0:M['width'])+'x'+Math['round'](null==M?void 0x0:M['height']),x['widget_type']=null===(A=L['widgetType'])||void 0x0===A?void 0x0:A['call'](L),x['widget_content_count']=null===(B=null==L?void 0x0:L['content'])||void 0x0===B?void 0x0:B['length'],x['widget_content_list']=null===(C=null==L?void 0x0:L['content'])||void 0x0===C?void 0x0:C['map'](O=>O['id'])['join'](','),x['content_id']=null===(D=this['content'])||void 0x0===D?void 0x0:D['id'],x['content_index']=null===(G=Array['from'](null!==(F=null===(E=null==this?void 0x0:this['parentNode'])||void 0x0===E?void 0x0:E['children'])&&void 0x0!==F?F:[]))||void 0x0===G?void 0x0:G['indexOf'](this),x['content_name']=null===(H=this['content'])||void 0x0===H?void 0x0:H['title'],x['content_type']=this['contentType']?this['contentType']['charAt'](0x0)['toUpperCase']()+this['contentType']['slice'](0x1):'',x['placement_distance']=Math['round']((null==M?void 0x0:M['top'])||0x0)['toString'](),x['thumbnail_aspect_ratio']=null===(I=this['layoutStyle'])||void 0x0===I?void 0x0:I['itemRatio']['toString'](),x['thumbnail_type']=null===(J=this['layoutStyle'])||void 0x0===J?void 0x0:J['thumbnailShape'],x['thumbnail_size']=(null==L?void 0x0:L['thumbnailWidth'])+'x'+(null==L?void 0x0:L['thumbnailHeight']);const N=new j['ReferringEventInfo']();N['origin_widget_id']=L['id'],N['origin_widget_name']=L['id'],N['origin_widget_type']=null===(K=L['widgetType'])||void 0x0===K?void 0x0:K['call'](L),N['labels_expression']=L['getAttribute']('labels'),document['referrer']&&(N['referrer_page_url']=document['referrer']),p['AnalyticsService']['pushWidgetEvent'](w,Object['assign']({},x),z,N);}catch(O){}}['render'](){this['updateContainerStyles'](),this['updateLabelStyles'](),this['updateThumbnailStyles'](),this['updateStatusIndicatorStyle']('chip'),this['updateStatusIndicatorStyle']('badge');}}g['BlazeWidgetItem']=v;},0x33:function(f,j,k){'use strict';var q=this&&this['__awaiter']||function(M,N,O,P){return new(O||(O=Promise))(function(Q,R){function S(V){try{U(P['next'](V));}catch(W){R(W);}}function T(V){try{U(P['throw'](V));}catch(W){R(W);}}function U(V){var W;V['done']?Q(V['value']):(W=V['value'],W instanceof O?W:new O(function(X){X(W);}))['then'](S,T);}U((P=P['apply'](M,N||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetLayout']=void 0x0,k(0x1407);const w=k(0x1133),x=k(0x1699),z=k(0x1932),A=k(0x26ed),B=k(0x22d9),C=k(0x2033),D=k(0x11c1),E=k(0x132a),F=k(0x2432),G=k(0xab4),H=k(0x5ee),I=k(0x1492),J=k(0x264);let K=window['innerWidth'];class L extends J['BlazeWidgetScrollable']{get['refElement'](){var M;return null!==(M=this['shadowRoot'])&&void 0x0!==M?M:this;}constructor(){super(),this['content']=[],this['perItemStyleOverrides']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activeOverridesLayoutThemes']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['isWidgetVisible']=!0x1,this['widgetHeight']=0x0,this['parentHeight']=void 0x0,this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this)),this['analyticsStack']={},this['shouldReloadWhenPlayerIsClosed']=!0x1,this['shouldReloadData']=!0x0,D['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['widgetItems']=[],this['content']=[],this['heightObserver']=new MutationObserver(this['handleHeightChangeMutation']['bind'](this)),this['onResizeEvent']=(0x0,w['debounce'])(this['onResize']['bind'](this),0x4b);}['connectedCallback'](){var N,O,P;if((0x0,F['setId'])(this,'blaze-layout'),super['connectedCallback'](),this['parentElement']&&new ResizeObserver(()=>{this['render']();})['observe'](this['parentElement']),null===window||void 0x0===window||window['addEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['addEventListener']('screenOrientationChange',this['onResizeEventDelay']['bind'](this)),this['intersectionObserver']['observe'](this),D['LoggerService']['info']('DeviceDetector:\x20'+w['deviceDetector']['OS']+'\x20|\x20'+w['deviceDetector']['platform']+'\x20|\x20'+w['deviceDetector']['browser']+'\x20|\x20'+w['deviceDetector']['screenOrientation']),this['setStyle']({'display':'grid','gridAutoFlow':'column','width':'auto','height':'100%','outline':'none','direction':D['ConfigService']['layoutDirection']}),this['parentElement']&&(this['parentHeight']=this['parentElement']['clientHeight'],this['heightObserver']['observe'](this['parentElement'],{'attributes':!0x0,'attributeFilter':['style','class']})),this['widgetHeight']=this['clientHeight'],this['innerHTML']+='<style>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:Q,columns:R,rows:T,lines:U,labelStyle:V,horizontalItemsSpacing:W,verticalItemsSpacing:X}=this['theme']['layoutStyle'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getStatusIndicatorBadgeAndChipSizes'](),a2=a0/0x2+Y/0x2,a3=Z/0x2+a1/0x2;let a4=0x0,a5=0x0;const a6=-0x1!==V['position']['indexOf']('outside');if(V['isVisible']&&a6){const ac=this['calculateLabelSizes'](V,U);a4=ac['labelAdditionalWidth'],a5=ac['labelAdditionalHeight'];}const a7=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];let a8,a9;this['skeletonContainer']=B['WidgetsFactory']['create']('blaze-div'),this['skeletonContainer']['style']['display']='grid',this['skeletonContainer']['style']['columnGap']=W+'px',this['skeletonContainer']['style']['rowGap']=X+'px',this['skeletonContainer']['style']['overflow']='hidden',this['skeletonContainer']['style']['gridAutoFlow']='column';let aa=0x4;0x1==T&&0x0==R?(this['skeletonContainer']['style']['gap']=W+'px',a8=a7-a5-a2,a9=this['calculateWidthForRow'](a8,Q,a3,a4),this['skeletonContainer']['style']['overflowX']='auto',aa=this['clientWidth']/a9+0x1,this['skeletonContainer']['style']['gridTemplateColumns']='repeat('+aa+',\x20'+a9+'px)'):(a9=(a7-(R-0x1)*W)/R,(null===(N=this['parentElement'])||void 0x0===N?void 0x0:N['clientWidth'])&&(a9=((null===(O=this['parentElement'])||void 0x0===O?void 0x0:O['clientWidth'])-(R-0x1)*W)/R),a8=(a9-a4-a3)/Q+a2+a5,this['skeletonContainer']['style']['gridTemplateColumns']='1fr\x20'['repeat'](R),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===(P=this['skeletonContainer'])||void 0x0===P||P['append'](ae);}this['refElement']['append'](this['skeletonContainer']);}}['disconnectedCallback'](){var M,N;super['disconnectedCallback'](),null===window||void 0x0===window||window['removeEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['removeEventListener']('screenOrientationChange',this['onResizeEventDelay']),this['removeEventListener']('keydown',this['onKeyDown']),null===(M=this['storysModal'])||void 0x0===M||M['remove'](),null===(N=this['momentsModal'])||void 0x0===N||N['remove'](),this['heightObserver']['disconnect'](),w['deviceDetector']['removeResizeListener']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},z['ONE_SECOND']/0x2);}['onResize'](){var M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z;K!==window['innerWidth']&&(K=window['innerWidth'],this['storysModal']&&(null===(M=this['storysModal'])||void 0x0===M||M['render'](),null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O||O['render'](),null===(Q=null===(P=this['storysModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q||Q['resetPosition'](),null===(T=null===(S=null===(R=this['storysModal'])||void 0x0===R?void 0x0:R['player'])||void 0x0===S?void 0x0:S['contentList'])||void 0x0===T||T['forEach'](a0=>null==a0?void 0x0:a0['render']())),this['momentsModal']&&(null===(U=this['momentsModal'])||void 0x0===U||U['render'](),null===(W=null===(V=this['momentsModal'])||void 0x0===V?void 0x0:V['player'])||void 0x0===W||W['resetPosition'](),null===(Z=null===(Y=null===(X=this['momentsModal'])||void 0x0===X?void 0x0:X['player'])||void 0x0===Y?void 0x0:Y['contentList'])||void 0x0===Z||Z['forEach'](a0=>null==a0?void 0x0:a0['render']())));}['handleHeightChangeMutation'](M){var N,O,P,Q;for(const R of M)if('style'===R['attributeName']||'class'===R['attributeName']){const S=this['getParentHeightWithoutPadding']();if(null!=S&&S!==this['parentHeight']){this['parentHeight']=S;const T=this['content']['length']>0x0,U=[null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O?void 0x0:O['contentList'],null===(Q=null===(P=this['momentsModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q?void 0x0:Q['contentList']]['some'](V=>{var W;return(null!==(W=null==V?void 0x0:V['length'])&&void 0x0!==W?W:0x0)>0x0;});U&&T&&this['render']();}}}['handleIntersection'](M){const N=M['find'](O=>O['target']===this);N&&N['isIntersecting']&&(this['isWidgetVisible']=!0x0,this['widgetItems']['length']&&(this['event'](z['WidgetAction']['Visible'],{}),this['intersectionObserver']['disconnect']()));}['attributeChangedCallback'](M,N,O){if(O)switch(M){case'labels':case'labels-priority':this['hasAttribute']('labels')&&this['loadContent']();break;case'story-ids':case'content-ids':this['hasAttribute']('labels')||this['loadContent']();break;case'preset':this['setTheme'](O);break;case'max-display-items-count':if(isNaN(Number(O)))break;const P=Number(O);this['widgetItems']['length']&&this['widgetItems']['forEach']((Q,R)=>{Q['style']['display']=R<P?'grid':'none';}),this['updateWidgetDisplay']();break;case'max-items':(this['hasAttribute']('labels')||this['hasAttribute']('content-ids')||this['hasAttribute']('story-ids'))&&this['loadContent']();}else'labels'===M&&D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedToHaveLabels']});}['onKeyDown'](M){var N,O;const P='ArrowRight'===M['key']||'ArrowLeft'===M['key'];(null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['isOpen'])&&P&&M['preventDefault'](),(null===(O=this['momentsModal'])||void 0x0===O?void 0x0:O['isOpen'])&&P&&M['preventDefault']();}['onContentChange'](M){const N='RTL'===D['ConfigService']['layoutDirection']?-0x1:0x1,O=(this['thumbnailWidth']||0x0)*N;switch(M){case'NEXT':this['scrollLeft']+=O;break;case'PREV':this['scrollLeft']-=O;}}['onPlayerClose'](){this['shouldReloadWhenPlayerIsClosed']&&(this['loadContent'](),this['shouldReloadWhenPlayerIsClosed']=!0x1);}['onPlayerOpen'](){}['getParentHeightWithoutPadding'](){var M;if(this['parentElement']){const N=window['getComputedStyle'](this['parentElement']),O=parseFloat(N['paddingTop'])+parseFloat(N['paddingBottom']);return(this['parentElement']['clientHeight']||(null!==(M=this['parentHeight'])&&void 0x0!==M?M:0x0))-O||null;}return null;}['setId'](M){this['id']='widget-layout-'+M;}['setReloadData'](M){this['shouldReloadData']='object'!=typeof M||!M['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof M['shouldReloadData']||M['shouldReloadData'];}['addDelegateListener'](M,N,O){B['WidgetsFactory']['whenDefined']('blaze-widget-story-modal')['then'](()=>{var P;null===(P=this['storysModal'])||void 0x0===P||P['addEventListener'](M,N,O);});}set['storyIds'](M){this['setAttribute']('story-ids',M);}set['contentIds'](M){this['setAttribute']('content-ids',M);}['setContentIds'](M,N){var O;this['setReloadData'](N),((null===(O=this['getAttribute']('story-ids'))||void 0x0===O?void 0x0:O['split'](','))||[])['length']>0x0?this['storyIds']=M['join'](','):this['contentIds']=M['join'](',');}['setLabelsPriority'](M,N){if(!M)return void this['setAttribute']('labels-priority','');this['setReloadData'](N);let O='';if('string'==typeof M)O=M['startsWith']('[')&&M['endsWith'](']')?M:'['+M+']';else{if(!Array['isArray'](M))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+M+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');O=M['every'](P=>P instanceof w['BlazeWidgetLabel'])?'['+M['map'](P=>P['toString']())['join'](',')+']':'['+M['join'](',');}this['setAttribute']('labels-priority',O);}['setLabels'](M,N){this['setReloadData'](N);let O='';if('string'==typeof M)O=M;else{if(Array['isArray'](M))O=M['join'](',');else{if(!(M instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+M+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');O=M['toString']();}}this['setAttribute']('labels',O);}['getTheme'](){return this['preset']||E['ThemeFactory']['create']('default');}['setTheme'](M){var N,O,P;const Q=this['getAttribute']('content-type');let R;if('string'==typeof M){if('moment'!==Q&&'story'!==Q&&Q)throw new Error('Invalid\x20content\x20type');R='moment'===Q?E['ThemeFactory']['create'](M,'moment'):E['ThemeFactory']['create'](M,'story');}else{if(!(0x0,C['isWidgetTheme'])(M))throw new Error('Invalid\x20theme\x20type');if((0x0,E['isStoryPlayerStyle'])(M['playerStyle'])&&'moment'===Q)throw new Error('Invalid\x20theme\x20type\x20-\x20\x20story\x20player\x20style\x20with\x20moment\x20content\x20type');if((0x0,E['isMomentPlayerStyle'])(M['playerStyle'])&&'story'===Q)throw new Error('Invalid\x20theme\x20type\x20-\x20\x20moment\x20player\x20style\x20with\x20story\x20content\x20type');R=M;}this['preset']=R,null===(N=this['widgetItems'])||void 0x0===N||N['forEach'](S=>S['setTheme'](R['layoutStyle'])),null===(O=this['storysModal'])||void 0x0===O||O['setTheme'](R['playerStyle']),null===(P=this['momentsModal'])||void 0x0===P||P['setTheme'](R['playerStyle']),this['content']['length']&&this['render']();}get['theme'](){return this['getTheme']();}['updateOverrideStyles'](M){var N;for(const O of Object['keys'](M)){const P=O;this['perItemStyleOverrides']['hasOwnProperty'](P)&&(null===(N=M[P])||void 0x0===N||N['forEach'](Q=>{var R,S;const T=null===(R=this['perItemStyleOverrides'][P])||void 0x0===R?void 0x0:R['findIndex'](U=>U['name']===Q['name']);if(-0x1!==T){const U=this['perItemStyleOverrides'][P];U&&void 0x0!==T&&(U[T]=Q);}else null===(S=this['perItemStyleOverrides'][P])||void 0x0===S||S['push'](Q);}));}}['reload'](){this['storysModal']&&this['storysModal']['isOpen']||this['momentsModal']&&this['momentsModal']['isOpen']?this['shouldReloadWhenPlayerIsClosed']=!0x0:(this['shouldReloadData']=!0x0,this['loadContent']());}['updateActiveLayoutThemesPerItemWithEntity'](M,N,O){const P=this['activeOverridesLayoutThemes'][M];if(P){const Q=P['findIndex'](R=>R['name']===N);-0x1!==Q&&P['splice'](Q,0x1),P['push']({'name':N,'theme':O});}else this['activeOverridesLayoutThemes'][M]=[{'name':N,'theme':O}];}['updateWidgetUI'](){this['widgetItems']['forEach'](M=>{M['content']['entities']&&this['perItemStyleOverrides']&&Object['entries'](M['content']['entities'])['forEach'](([N,O])=>{var P;O&&this['perItemStyleOverrides'][N]&&(null===(P=this['perItemStyleOverrides'][N])||void 0x0===P||P['forEach'](Q=>{Q['name']===O&&(M['updateWidgetItemStyle'](Q['theme']['layoutStyle']),this['updateActiveLayoutThemesPerItemWithEntity'](N,O,Q['theme']));}));});}),this['setMaxPaddingOnWidgetItems'](),this['render']();}['setMaxPaddingOnWidgetItems'](){const M={'top':'0','bottom':'0','left':'0','right':'0'},N={'top':!0x1,'bottom':!0x1,'left':!0x1,'right':!0x1};this['widgetItems']['forEach'](O=>{const P=O['getPaddingOnContainer']();M['top']=(0x0,F['getMaxValue'])(M['top'],P['top']),M['left']=(0x0,F['getMaxValue'])(M['left'],P['left']),M['right']=(0x0,F['getMaxValue'])(M['right'],P['right']),M['bottom']=(0x0,F['getMaxValue'])(M['bottom'],P['bottom']);const Q=O['layoutStyle']['badgePosition'],R=O['layoutStyle']['statusIndicatorPosition'],S=Q['toLocaleLowerCase']()['includes']('top')||R['toLocaleLowerCase']()['includes']('top'),T=Q['toLocaleLowerCase']()['includes']('bottom')||R['toLocaleLowerCase']()['includes']('bottom'),U=Q['toLocaleLowerCase']()['includes']('right')||R['toLocaleLowerCase']()['includes']('right'),V=Q['toLocaleLowerCase']()['includes']('left')||R['toLocaleLowerCase']()['includes']('left'),W=Q['toLocaleLowerCase']()['includes']('outside')||R['toLocaleLowerCase']()['includes']('outside'),X=O['layoutStyle']['badgeIndicatorStyle']['isVisible']||O['layoutStyle'][O['chipType']]['isVisible'];W&&X&&(S&&(N['top']=!0x0),T&&(N['bottom']=!0x0),U&&(N['right']=!0x0),V&&(N['left']=!0x0));}),M['top']=N['top']?M['top']:'0px',M['bottom']=N['bottom']?M['bottom']:'0px',M['left']=N['left']?M['left']:'0px',M['right']=N['right']?M['right']:'0px',this['widgetItems']['forEach'](O=>{O['setPaddingOnContainer'](M);});}['updateDataSource'](M){if(!M)return;const {type:N,ids:O,labels:P,orderType:Q,maxItems:R,labelsPriority:S}=M,T={'shouldReloadData':!0x1};(P||O)&&(this['setOrderType'](Q),this['setMaxItemsSize'](R,T),'ids'===N&&O?(this['setContentIds'](O,T),this['setLabelsPriority']('',T),this['setLabels']('',T)):'labels'===N&&P&&(this['setLabels'](P,T),this['setLabelsPriority']((null==S?void 0x0:S['toString']())||'',T),this['setContentIds']([],T)));}['setDelegations'](M){for(const N in M)this['addEventListener'](N,M[N]);}['setOrderType'](M){this['setAttribute']('order-type',M||'');}['setMaxItemsDisplaySize'](M){this['setAttribute']('max-display-items-count',M['toString']());}['setMaxItemsSize'](M,N){this['setReloadData'](N),this['setAttribute']('max-items',(null==M?void 0x0:M['toString']())||'');}['updatePlayerStyle'](){const M=(0x0,F['mergeDeep'])(E['ThemeFactory']['create']('default')['playerStyle'],D['ConfigService']['playerStyleCustomization']);(0x0,F['applyPlayerStyleChanges'])(E['ThemeFactory']['create']('default')['playerStyle'],M,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['createModal'](M){'moment'===M?customElements['whenDefined']('blaze-widget-moment-modal')['then'](()=>{var N,O,P;this['momentsModal']||(this['momentsModal']=new G['BlazeWidgetMomentModal'](this,this['theme']['playerStyle']),this['momentsModal']['onContentChange']=null===(N=this['onContentChange'])||void 0x0===N?void 0x0:N['bind'](this),this['momentsModal']['onClose']=null===(O=this['onPlayerClose'])||void 0x0===O?void 0x0:O['bind'](this),this['momentsModal']['onOpen']=null===(P=this['onPlayerOpen'])||void 0x0===P?void 0x0:P['bind'](this),this['appendModalToBlazeSDK'](this['momentsModal']));}):'story'!==M&&''!==M||customElements['whenDefined']('blaze-widget-story-modal')['then'](()=>{var N,O,P;this['storysModal']||(this['updatePlayerStyle'](),this['storysModal']=new H['BlazeWidgetStoryModal'](this,this['theme']['playerStyle']),this['storysModal']['onContentChange']=null===(N=this['onContentChange'])||void 0x0===N?void 0x0:N['bind'](this),this['storysModal']['onClose']=null===(O=this['onPlayerClose'])||void 0x0===O?void 0x0:O['bind'](this),this['storysModal']['onOpen']=null===(P=this['onPlayerOpen'])||void 0x0===P?void 0x0:P['bind'](this),this['appendModalToBlazeSDK'](this['storysModal']));});}['appendModalToBlazeSDK'](M){const N=document['getElementsByTagName']('blaze-sdk')[0x0];N&&N['append'](M);}static get['observedAttributes'](){return['story-ids','content-ids','content-type','max-display-items-count','max-items','labels-priority','labels','order-type','preset'];}['onItemClick'](M,N){var O,P,Q;window['visualViewport']&&window['visualViewport']['scale']>0x1&&D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['VisualViewportScaled']});const R=this['getAttribute']('content-type'),S='story'===R||!R;if('moment'===R&&this['momentsModal']){const T=this['momentsModal']['player']['contentList']['findIndex'](U=>{var V;return U['data']['id']===(null===(V=M['content'])||void 0x0===V?void 0x0:V['id']);});return this['momentsModal']['setModalContent'](this['content'],T,this['defaultAdsInfo']),this['momentsModal']['player']['contentList']['forEach']((U,V)=>{U['momentIndex']=V;}),D['VideoPlayerService']['playReference']='Widget',this['momentsModal']['player']['contentList']['forEach']((U,V)=>{var W;U['startTrigger']='Widget',U['refContentModal']=this['momentsModal'],U['widgetParentItem']=this['widgetItems'][V],U['playerStyle']=this['theme']['playerStyle'],U['data']['id']===(null===(W=M['content'])||void 0x0===W?void 0x0:W['id'])&&U['load']();}),this['momentsModal']['seek'](null!==(O=M['content']['id'])&&void 0x0!==O?O:''),void this['momentsModal']['open']();}if(S&&this['storysModal']){const U=this['storysModal']['player']['contentList']['findIndex'](V=>{var W;return V['data']['id']===(null===(W=M['content'])||void 0x0===W?void 0x0:W['id']);});return this['storysModal']['setModalContent'](this['content'],U,this['defaultAdsInfo']),D['VideoPlayerService']['playReference']='Widget',this['storysModal']['parentWidget']=this,this['storysModal']['player']['contentList']['forEach']((V,W)=>{var X;V['startTrigger']='Widget',V['refContentModal']=this['storysModal'],V['widgetParentItem']=this['widgetItems'][W],V['resetStoryLocationIndexToLastUnseen'](),V['data']['id']===(null===(X=M['content'])||void 0x0===X?void 0x0:X['id'])&&V['load']();}),this['storysModal']['seek'](null!==(Q=null===(P=M['content'])||void 0x0===P?void 0x0:P['id'])&&void 0x0!==Q?Q:''),void this['storysModal']['open']();}}['loadContent'](){return q(this,void 0x0,void 0x0,function*(){var M,N;const O=this['getAttribute']('content-type'),P='story'===O||!O,Q='moment'===O;if(this['createModal'](O),!this['shouldReloadData'])return;const R=this['getAttribute']('max-items'),S=this['getAttribute']('labels'),T=this['getAttribute']('labels-priority'),U=this['getAttribute']('order-type'),V=this['getAttribute']('story-ids'),W=null==V?void 0x0:V['split'](','),X=this['getAttribute']('content-ids'),Y=null==X?void 0x0:X['split'](',');let Z=[];try{let a0;if(D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),P){const a1=(null==S?void 0x0:S['length'])?'labels':(null==W?void 0x0:W['length'])||(null==Y?void 0x0:Y['length'])?'ids':'labels';a0=yield D['StoryService']['fetchContent']({'type':a1,'ids':W||Y,'labels':S,'orderType':U,'maxItems':R,'labelsPriority':T});}else Q&&(a0=yield D['MomentService']['fetchContent']({'type':(null==S?void 0x0:S['length'])?'labels':(null==X?void 0x0:X['length'])?'ids':'labels','ids':Y,'labels':S,'orderType':U,'maxItems':R,'labelsPriority':T}));if(a0&&(Z=a0['result'],this['defaultAdsInfo']=null==a0?void 0x0:a0['defaultAdsInfo']),!Z['length'])throw new Error(A['ErrorCode']['FailedLoadingStories']['toString']());a0&&a0['assetsExpiryTime']&&this['handleAssetsExpiry'](a0);}catch(a2){return null===(M=this['skeletonContainer'])||void 0x0===M||M['remove'](),D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':0x0,'contentCount':0x0}),void D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedLoadingStories']});}try{P?this['content']=yield D['DatabaseService']['enrichStories'](Z):Q&&(this['content']=yield D['MomentService']['encrichMoment'](Z));}catch(a3){this['content']=Z,D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedEnrichStories']});}null===(N=this['skeletonContainer'])||void 0x0===N||N['remove']();for(const a4 of this['widgetItems'])null==a4||a4['remove']();this['widgetItems']=[],this['handleWidgetContent'](),this['render'](),this['reorderWidgets'](),P?this['handleStoryContent']():Q&&this['handleMomentContent'](),this['widgetItems']['forEach'](a5=>this['refElement']['appendChild'](a5)),this['reorderWidgets'](),D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':this['content']['length'],'contentCount':this['content']['length']}),this['isWidgetVisible']&&this['widgetItems']['length']&&this['event'](z['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['event'](z['WidgetAction']['Load'],{},this['getAttribute']('labels')),this['updateWidgetUI']();});}['handleStoryContent'](){var M,N,O;if(null===(M=this['storysModal'])||void 0x0===M||M['setModalContent'](this['content'],0x0),!(0x0,E['isStoryPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20story\x20content');null===(N=this['storysModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===D['ConfigService']['prefetchingPolicy']&&(null===(O=this['storysModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']());}['handleMomentContent'](){var M,N,O;if(!(0x0,E['isMomentPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20moment\x20content');null===(M=this['momentsModal'])||void 0x0===M||M['setModalContent'](this['content'],0x0,this['defaultAdsInfo']),null===(N=this['momentsModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===D['ConfigService']['prefetchingPolicy']&&(null===(O=this['momentsModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']());}['handleAssetsExpiry'](M){const N=new Date(Date['parse'](M['assetsExpiryTime']));clearTimeout(this['reloadTimeout']),this['reloadTimeout']=setTimeout(()=>{this['loadContent']();},N['getTime']()-Date['now']()-0x493e0);}['handleWidgetContent'](){var M;null===(M=this['content'])||void 0x0===M||M['forEach']((N,O)=>{let P=this['getTheme']();N['entities']&&Object['entries'](N['entities'])['forEach'](([R,S])=>{var T;S&&this['perItemStyleOverrides']&&this['perItemStyleOverrides'][R]&&(null===(T=this['perItemStyleOverrides'][R])||void 0x0===T||T['forEach'](U=>{U['name']===S&&(P=U['theme'],this['updateActiveLayoutThemesPerItemWithEntity'](R,S,U['theme']));}));});const Q=new I['BlazeWidgetItem']({'layout':P['layoutStyle'],'content':N});Q['onClick']=()=>this['onItemClick'](Q,O),Q['contentType']=this['getAttribute']('content-type')||'story',this['widgetItems']['push'](Q);});}['calculateChipSizes'](M){const {chipWidth:N,chipHeight:O}=(0x0,F['calculateChipSize'])('badge',M['layoutStyle']['badgePosition'],M['layoutStyle']),{chipWidth:P,chipHeight:Q}=(0x0,F['calculateChipSize'])('chip',M['layoutStyle']['statusIndicatorPosition'],M['layoutStyle']);return{'badge':{'width':N,'height':O},'chip':{'width':P,'height':Q}};}['getStatusIndicatorBadgeAndChipSizes'](){let M=0x0,N=0x0,O=0x0,P=0x0;if((0x0,F['isEmpty'])(this['activeOverridesLayoutThemes'])){const {badge:Q,chip:R}=this['calculateChipSizes'](this['theme']),{badgePosition:S,statusIndicatorPosition:T}=this['theme']['layoutStyle'],{maxBadgeHeight:U,maxBadgeWidth:V,maxChipHeight:W,maxChipWidth:X}=this['getMaxSizes'](Q,R,S,T);M=U,N=V,O=W,P=X;}else Object['keys'](this['activeOverridesLayoutThemes'])['forEach'](Y=>{var Z;const a0=Y;null===(Z=this['activeOverridesLayoutThemes'][a0])||void 0x0===Z||Z['forEach'](a1=>{const {badge:a2,chip:a3}=this['calculateChipSizes'](a1['theme']),{badgePosition:a4,statusIndicatorPosition:a5}=a1['theme']['layoutStyle'],{maxBadgeHeight:a6,maxBadgeWidth:a7,maxChipHeight:a8,maxChipWidth:a9}=this['getMaxSizes'](a2,a3,a4,a5);M=Math['max'](M,a6),N=Math['max'](N,a7),O=Math['max'](O,a8),P=Math['max'](P,a9);});});return{'maxBadgeHeight':M,'maxBadgeWidth':N,'maxChipHeight':O,'maxChipWidth':P};}['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 N;if(this['theme']){const {itemRatio:O,columns:P,rows:Q,lines:R,labelStyle:T,verticalItemsSpacing:U,horizontalItemsSpacing:V}=this['theme']['layoutStyle'];this['style']['overflowX']='',this['style']['columnGap']=V+'px',this['style']['rowGap']=U+'px',this['style']['gridAutoFlow']='row',this['style']['overflow']='hidden',this['style']['color']=T['color'];const W=this['maxSize'](),X=W!==this['content']['length']?this['content']['slice'](0x0,W):this['content'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getStatusIndicatorBadgeAndChipSizes'](),a2=a0/0x2+Y/0x2,a3=Z/0x2+a1/0x2;let a4,a5=0x0,a6=0x0;const a7=-0x1!==T['position']['indexOf']('outside');if(T['isVisible']&&a7){const ab=this['calculateLabelSizes'](T,R);a4=ab['labelWidth'],a5=ab['labelAdditionalWidth'],a6=ab['labelAdditionalHeight'];}let a8,a9;const aa=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];0x1==Q&&0x0==P?(a8=aa-a6-a2,a9=this['calculateWidthForRow'](a8,O,a3,a5),this['style']['gridTemplateColumns']='repeat('+(null!==(N=X['length'])&&void 0x0!==N?N:0x0)+',\x20'+a9+'px)',this['style']['overflowX']='auto'):(a9=(aa-(P-0x1)*V)/P,a8=(a9-a5-a3)/O+a2+a6,this['style']['gridTemplateColumns']='1fr\x20'['repeat'](P),this['style']['overflow']='auto'),this['thumbnailHeight']=Math['floor'](a8),this['thumbnailWidth']=Math['floor'](a9),this['style']['height']='auto';}}['calculateWidthForRow'](M,N,O,P){return M*N+O+P;}['calculateLabelSizes'](M,N){let O=M['width'],P=0x0,Q=(0x0,F['convertCssUnitToNumber'])(M['height'])*N;const {isOutside:R,isInside:S,isLeft:T,isRight:U}=(0x0,F['calculatePosition'])(M['position']);return R?T||U||(Q+=M['gap']+(M['padding']?0x2*parseInt(M['padding'],0xa):0x0)):S&&(T||U?(P='auto'===O?0x0:+O,Q=0x0):Q+=M['gap']),{'labelWidth':O,'labelAdditionalWidth':P,'labelAdditionalHeight':Q};}['event'](M,N,O=void 0x0){var P,Q,R;if(M==z['WidgetAction']['Load']||M==z['WidgetAction']['Visible']){if(this['analyticsStack'][M])return;this['analyticsStack'][M]=!0x0;}try{const S=this['getBoundingClientRect']();N['widget_id']=this['id'],N['widget_content_count']=null===(P=this['widgetItems'])||void 0x0===P?void 0x0:P['length'],N['widget_content_list']=(null===(Q=this['content'])||void 0x0===Q?void 0x0:Q['length'])?JSON['stringify'](this['content']['map'](U=>U['id'])):'',N['widget_size']=S['width']&&S['height']?Math['round'](S['width'])+'x'+Math['round'](S['height']):'',N['widget_type']=null===(R=this['widgetType'])||void 0x0===R?void 0x0:R['call'](this),N['placement_distance']=Math['round'](S['top'])['toString'](),N['content_type']='moment'===this['getAttribute']('content-type')?'Moment':'Story',N['thumbnail_aspect_ratio']=this['theme']['layoutStyle']['itemRatio']['toString'](),N['thumbnail_type']=this['thumbnailShape'],N['thumbnail_size']=this['thumbnailWidth']&&this['thumbnailHeight']?this['thumbnailWidth']+'x'+this['thumbnailHeight']:'';const T=new w['ReferringEventInfo']();T['labels_expression']=this['getAttribute']('labels'),document['referrer']&&(T['referrer_page_url']=document['referrer']),D['AnalyticsService']['pushWidgetEvent'](M,Object['assign']({},N),O,T);}catch(U){}}['reorderWidgets'](){if(this['updateWidgetsData'](),this['getAttribute']('should-order-widget-by-read-status')){'Manual'!=this['getAttribute']('order-type')&&this['content']['sort'](F['sortByHasViewed']);for(const M of this['content']){const N=this['widgetItems']['findIndex'](P=>{var Q;return(null===(Q=P['content'])||void 0x0===Q?void 0x0:Q['id'])===M['id'];}),O=this['content']['indexOf'](M);if(N>0x0){const P=this['widgetItems'][N],Q=this['widgetItems'][O];this['widgetItems'][O]=P,this['widgetItems'][N]=Q;}}}this['updateWidgetDisplay']();}['updateWidgetsData'](){const M=this['getAttribute']('content-type');if('story'===M||!M){for(const N of this['content'])N['hasViewed']=(0x0,F['isReadByLastUnIgnoredPageStatus'])(N);}}['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['content'])||void 0x0===M?void 0x0:M['length'])&&void 0x0!==N?N:0x0,0x0==R&&(R=S),Q&&(R=Q),R=Math['max'](Math['min'](S,R),0x0),R;}['connectWidgets'](){if(this['isConnected'])for(const M in this['widgetItems']){const N=this['widgetItems'][M];N['isConnected']||this['refElement']['appendChild'](N);}}get['thumbnailShape'](){var M;return(null===(M=this['theme'])||void 0x0===M?void 0x0:M['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}['widgetType'](){return this['theme']['layoutStyle']['columns']>0x1?'Grid':'Row';}}j['BlazeWidgetLayout']=L;},0x14c:function(f,g,j){'use strict';var k=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetModal']=void 0x0;const m=k(j(0x1c00)),p=j(0x23a6),q=j(0x1133),u=j(0x22d9),v=j(0x115),w=j(0x11c1),x=j(0x1932);class y extends q['BaseWidget']{constructor(z){if(super(),this['isOpen']=!0x1,this['exitButtonElement']={},this['exitButtonWrapperElement']={},this['hammer']=null,this['isMultiTouch']=!0x1,this['player']=u['WidgetsFactory']['create']('blaze-widget-'+z+'-player'),'desktop'===q['deviceDetector']['platform']){const A=document['createElement']('style');A['textContent']='.desktop-button:hover{background-color:\x20#333333\x20!important;}.mute-unmute-button:hover{scale:\x201.1;}',this['appendChild'](A),this['exitButtonWrapperElement']=u['WidgetsFactory']['create']('blaze-div'),this['exitButtonWrapperElement']['setAttribute']('data-testid','blaze-widget-story-exit-button'),this['exitButtonElement']=u['WidgetsFactory']['create']('blaze-button');}this['boundOnResizeEvent']=(0x0,q['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnPopStateEvent']=this['handlePopState']['bind'](this),this['player']['onContentChange']=this['handleOnContentChange']['bind'](this);}['connectedCallback'](){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('popstate',this['boundOnPopStateEvent']),this['setStyle']({'display':'none','position':'fixed','top':'0%','left':'0%','width':'100%','height':'100%','minHeight':'100%','justifyContent':'center','zIndex':'10000','direction':w['ConfigService']['layoutDirection']}),'desktop'===q['deviceDetector']['platform']&&(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'](v['closeIconSvg']),this['exitButtonElement']['setAttribute']('height','30px'),this['exitButtonElement']['setAttribute']('width','30px'),this['exitButtonWrapperElement']['addEventListener']('click',()=>{const z=this['player']['playerContentList'][this['player']['index']];z['exitTrigger']='Close\x20Button',z instanceof p['BlazeWidgetStory']&&z['close'](),this['close']();}),this['exitButtonWrapperElement']['append'](this['exitButtonElement']),this['append'](this['exitButtonWrapperElement'])),this['setupHammer']();}['disconnectedCallback'](){this['cleanupHammer'](),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('popstate',this['boundOnPopStateEvent']);}['onResize'](){var z,A,B,C;null===(z=this['player'])||void 0x0===z||z['render'](),null===(A=this['player'])||void 0x0===A||A['resetPosition'](),null===(C=null===(B=this['player'])||void 0x0===B?void 0x0:B['contentList'])||void 0x0===C||C['forEach'](D=>null==D?void 0x0:D['render']());}['handleOnContentChange'](z){var A;null===(A=this['onContentChange'])||void 0x0===A||A['call'](this,z);}['handlePopState'](){var z,A;this['isOpen']&&(q['URLManager']['isUpdateLocationByScript']||q['URLManager']['isBackWasCalled']||(this['player']['close'](),this['close'](),this['player']instanceof p['BlazeWidgetStoryPlayer']&&(null===(A=(z=this['player'])['dispatchExitStoryEvents'])||void 0x0===A||A['call'](z)),q['URLManager']['resetLocation'](),q['URLManager']['isBackWasCalled']=!0x0));}['seek'](z){this['player']['seekContentById'](z);}['setupHammer'](){this['hammer']||(this['hammer']=new m['default']['Manager'](this),this['hammer']['add'](new m['default']['Pan']({'direction':m['default']['DIRECTION_ALL']})),this['hammer']['add'](new m['default']['Pinch']({'enable':!0x0})),this['hammer']['on']('panstart',this['handlePanStart']),this['hammer']['on']('pan',this['handlePan']),this['hammer']['on']('doubletap',this['handleDoubleTap']),this['hammer']['on']('pinch',this['handlePinchOut']),this['style']['touchAction']='pinch-zoom');}['handlePanStart'](z){this['isMultiTouch']=z['pointers']['length']>0x1;}['handlePan'](z){this['isMultiTouch']||z['preventDefault']();}['handleDoubleTap'](z){z['preventDefault']();}['handlePinchOut'](z){z['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'](z){q['URLManager']['isBackWasCalled']=!0x1,q['URLManager']['appendUrlForPrefetch'](w['ConfigService']['autoAdvanceUrl']),w['VideoPlayerService']['isPlaying']=!0x0,w['VideoPlayerService']['isModalOpen']=!0x0,this['isOpen']=!0x0,document['body']['style']['overflow']='hidden',this['style']['opacity']='0',this['style']['display']='flex',this['append'](this['player']),this['player']['resetAnimation'](),this['player']['play'](z),setTimeout(()=>{this['style']['transition']='opacity\x200.3s\x20ease',this['style']['opacity']='1';},0x0);}['close'](){this['isOpen']=!0x1,w['VideoPlayerService']['isModalOpen']=!0x1,this['style']['opacity']='0',document['body']['style']['overflow']&&document['body']['style']['removeProperty']('overflow'),w['VideoCacheService']['isInitialized']()&&w['VideoCacheService']['clearAllCache'](),w['ConfigService']['shouldModifyUrlWithStoryId']?q['URLManager']['updateLocationContentHash']({}):q['URLManager']['resetLocationAfterContentClose'](),this['player']['remove'](),w['VideoPlayerService']['isPlaying']=!0x1,setTimeout(()=>{this['style']['display']='none';},x['ONE_SECOND']/0x3);}}g['BlazeWidgetModal']=y;},0x8c0:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetAbstractPlayer']=void 0x0;const k=j(0x1133),m=j(0x1932),p=j(0x22d9),q=j(0x11c1),u=j(0x132a),v=j(0x2432),w=j(0x1f70),x=j(0x1a96);class y extends k['BaseWidget']{constructor(){super(),this['index']=0x0,this['numberOfContentInList']=0x3,this['contentList']=[],this['playerContentList']=[],this['hammer']={},this['gestureActionLimitThreshold']=0x19,this['edgeScreenThreshold']=0x1e,this['isEdgeThreshold']=!0x1,this['isNavigationBlocked']=!0x1,this['isCloseAnimationStarted']=!0x1,this['listeners']=new k['EventsListener'](),this['boundHandlePanStart']=this['handlePanStart']['bind'](this),this['boundHandlePanMove']=this['handlePanMove']['bind'](this),this['boundHandlePanEnd']=this['handlePanEnd']['bind'](this),this['container']=p['WidgetsFactory']['create']('blaze-div'),this['srcBackground']=document['createElement']('canvas'),this['destBackground']=document['createElement']('canvas'),this['playerFullscreenOverlay']=p['WidgetsFactory']['create']('blaze-div'),this['playerFullscreenOverlay']['setStyle']({'position':'fixed','left':'0','top':'0','width':'100%','height':'100%','zIndex':'99999','display':'none'}),this['srcBackground']['width']=0x3,this['srcBackground']['height']=0x3,this['destBackground']['width']=0x3,this['destBackground']['height']=0x3,(0x0,v['mergeStyles'])(this['srcBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0'}),(0x0,v['mergeStyles'])(this['destBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0','opacity':'0%'});}['seekContentById'](z){this['cleanPlayerContentList']();const A=this['contentList']['findIndex'](B=>B['data']['id']==z);if(this['isBlazeWidgetStory'](this['contentList'])){const B=Math['max'](0x0,A-Math['floor'](this['numberOfContentInList']/0x2)),C=Math['min'](this['contentList']['length']-0x1,A+Math['floor'](this['numberOfContentInList']/0x2));for(let D=B;D<=C;D++){const E=this['contentList'][D];E&&(this['playerContentList']['push'](E),this['container']['append'](E));}}else{if(!this['isBlazeWidgetMoment'](this['contentList']))return;{let F=A-Math['floor']((this['numberOfContentInList']-0x1)/0x2),G=A+Math['ceil']((this['numberOfContentInList']-0x1)/0x2);F<0x0&&(G-=F,F=0x0),G>=this['contentList']['length']&&(F-=G-this['contentList']['length']+0x1,G=this['contentList']['length']-0x1),F=Math['max'](0x0,F);for(let H=F;H<=G;H++){const I=this['contentList'][H],J=I['cloneNode'](!0x0);J['setModal'](I['modal']),J['playerStyle']=I['playerStyle'],J['setData'](I['data']),J['shouldShowImaAdOnStart']=I['shouldShowImaAdOnStart'],J['imaUrl']=I['imaUrl'],J['setWidgetItemParent'](I['widgetParentItem']),J['momentIndex']=I['momentIndex'],J['refContentModal']=I['refContentModal'],J['startTrigger']=I['startTrigger'],J['adContext']=I['adContext'],J['video']&&I['video']&&(J['video']['requestFrameCallback']=I['video']['requestFrameCallback']),J&&(this['playerContentList']['push'](J),this['container']['append'](J));}}}this['index']=this['playerContentList']['findIndex'](K=>K['data']['id']==z);}['cleanPlayerContentList'](){for(const z of this['playerContentList'])null==z||z['remove']();this['playerContentList']=[];}['muteVideoOnIOSOrMacTablet'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;const z='iOS'===k['deviceDetector']['OS'],A='tablet'===k['deviceDetector']['platform']&&'Mac\x20OS'===k['deviceDetector']['OS'];(z||A)&&(q['VideoPlayerService']['isMuted']=!0x0);}['setupHammer'](z=Hammer['DIRECTION_HORIZONTAL']){this['hammer']=new Hammer['Manager'](this);const A=new Hammer['Pan']({'direction':z,'threshold':0x5}),B=new Hammer['Swipe']({'direction':z,'threshold':0x5});this['hammer']['add'](A),this['hammer']['add'](B)['recognizeWith'](A),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'](z){'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(z['preventDefault'](),'mobile'===k['deviceDetector']['platform']&&(this['isEdgeThreshold']=this['isTouchOnScreenEdges'](z['center']['x'],this['offsetWidth']),this['isEdgeThreshold'])||z['maxPointers']>0x1||this['isNavigationBlocked']||this['setAnimationContent']());}['handlePanMove'](z){z['preventDefault'](),'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||(z['maxPointers']>0x1?this['reverseAnimation'](z):(z['deltaTime']>0x5*m['ONE_SECOND']&&this['isBlazeWidgetStory'](this['contentList'])&&(this['resetPosition'](),q['VideoPlayerService']['isNavigating']=!0x1),this['index']<0x0&&(this['index']=0x0),this['handleMoveSwipe'](z))));}['handlePanEnd'](z){z['preventDefault'](),'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||this['handleEndSwipe'](z));}['reverseAnimation'](z){var A,B,C,D;('SingleStory'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldAutoAdvance'])&&((this['isBlazeWidgetMoment'](this['playerContentList'])?z['deltaY']:z['deltaX'])>0x0?(this['processAnimation'](z,this['playerContentList'][this['index']],this['currentPrevAnimation']),null===(A=this['animateContent']('PREV'))||void 0x0===A||A['seek'](0x0),null===(B=this['currentPrevAnimation'])||void 0x0===B||B['seek'](0x0)):(this['processAnimation'](z,this['playerContentList'][this['index']],this['currentNextAnimation']),null===(C=this['animateContent']('NEXT'))||void 0x0===C||C['seek'](0x0),null===(D=this['currentNextAnimation'])||void 0x0===D||D['seek'](0x0)),q['VideoPlayerService']['isNavigating']=!0x1);}['setAnimationContent'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0;const z=this['playerContentList'][this['index']-0x1];this['playerContentList'][this['index']+0x1]&&(this['currentNextAnimation']=this['animateContent']('NEXT')),z&&(this['currentPrevAnimation']=this['animateContent']('PREV'));}['isTouchOnScreenEdges'](z,A){const B=A/0xc,C=z<=B,D=z<=this['edgeScreenThreshold'];if(C||D)return!0x0;const E=A-z<=B,F=z>A-this['edgeScreenThreshold'];return!(!E&&!F);}['blockInteractionWithUserInterface'](){((()=>{this['playerFullscreenOverlay']['style']['display']='block',setTimeout(()=>{this['playerFullscreenOverlay']['style']['display']='none',this['isNavigationBlocked']=!0x1;},m['ONE_SECOND']);})());}['renderPlayerBackground'](z){var A,B,C,D;if('mobile'===k['deviceDetector']['platform']||'tablet'===k['deviceDetector']['platform'])return;const E=this['srcBackground']['getContext']('2d'),F=this['destBackground']['getContext']('2d');if(!E||!F)return;if(z)return null===(A=this['backgroundAnimation'])||void 0x0===A||A['cancel'](),E['fillStyle']=u['Colors']['Black'],E['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),F['fillStyle']=u['Colors']['Black'],void F['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']);const G=this['playerContentList'][this['index']];let H;if('pages'in G){const J=G,K=G['pageIndex'];H=J['pages'][K];}else H=G['video'];if('Ad'===(null===(B=null==H?void 0x0:H['data'])||void 0x0===B?void 0x0:B['type'])||(null==H?void 0x0:H['isAd']))return;const I=null==H?void 0x0:H['mainElement']();null===(C=this['backgroundAnimation'])||void 0x0===C||C['pause'](),(null===(D=this['backgroundAnimation'])||void 0x0===D?void 0x0:D['currentTime'])&&(E['globalAlpha']=+this['backgroundAnimation']['currentTime']/0xbb8),E['drawImage'](this['destBackground'],0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),E['globalAlpha']=0x1,I&&F['drawImage'](I,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'](z){switch(z){case'PREV':this['handlePrevDirection']();break;case'NEXT':this['handleNextDirection']();}}['resetAnimation'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0,this['resetPosition']();}['close'](){var z;if('SingleStory'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldDismissPlayer'])try{this['playerContentList']['forEach'](A=>{'pages'in A&&A['pages']['forEach'](B=>{B['paused']||B['pause']();});}),null===(z=this['onClose'])||void 0x0===z||z['call'](this);}catch(A){}}['animateContent'](z){let A='NEXT'===z?this['index']+0x1:this['index']-0x1;if(A<0x0||A>=this['playerContentList']['length'])return;const B=this['playerContentList'][A],C=this['playerContentList'][this['index']];return C&&B?this['createAnimation'](C,z,A):void 0x0;}get['directionBackwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_LEFT']:Hammer['DIRECTION_RIGHT'];}get['directionForwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_RIGHT']:Hammer['DIRECTION_LEFT'];}['processAnimation'](z,A,B){if(!this['isEdgeThreshold']&&!this['isNavigationBlocked']&&!q['VideoPlayerService']['isSeekBarDragging']&&B){if(B['completed'])return;this['isNavigationBlocked']=!0x0,q['VideoPlayerService']['isNavigating']=!0x0;let C=0x0;'tablet'===k['deviceDetector']['platform']&&(C='portrait'===k['deviceDetector']['screenOrientation']?0x7:0xc);const D=Math['abs'](z['velocityY'])>0.01;if(B['progress']>=this['gestureActionLimitThreshold']-C||D){this['blockInteractionWithUserInterface']();const E=z['direction']===this['directionForwards']||z['direction']===Hammer['DIRECTION_UP'],F=z['direction']===this['directionBackwards']||z['direction']===Hammer['DIRECTION_DOWN'];E?A['navigationDirection']='Forwards':F&&(A['navigationDirection']='Backwards'),B['play'](),B['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1;});}else this['handleSmallGestures'](B,this['playerContentList'][this['index']]);}}['unloadFromPlayerList'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;let z;this['playerContentList']['length']>this['numberOfContentInList']&&(this['index']>0x1?(z=this['playerContentList']['shift'](),this['index']-=0x1):z=this['playerContentList']['pop'](),null==z||z['unload'](),null==z||z['remove']());}['handleAnimationEnd'](z){this['appendToDomBasedOnNavigation'](z),this['unloadFromPlayerList']();for(const A of this['playerContentList'])A['resetPosition']();this['resetAnimation'](),this['muteVideoOnIOSOrMacTablet'](),this['loadAndPlayContent']();}['handleSmallGestures'](z,A){z['complete']=()=>{this['isNavigationBlocked']=!0x1;},z['changeComplete']=()=>{q['VideoPlayerService']['isPlaying']&&A['resume']();},z['reverse'](),z['play'](),z['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1,A instanceof x['BlazeWidgetStory']?A['currentPage']['muted']=q['VideoPlayerService']['isMuted']:A instanceof w['BlazeWidgetMoment']&&A['video']&&(A['video']['muted']=q['VideoPlayerService']['isMuted']);});}['resetPosition'](){var z,A,B,C;'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(null===(A=null===(z=this['animateContent']('NEXT'))||void 0x0===z?void 0x0:z['seek'])||void 0x0===A||A['call'](z,0x0),null===(C=null===(B=this['animateContent']('PREV'))||void 0x0===B?void 0x0:B['seek'])||void 0x0===C||C['call'](B,0x0),this['resetStyles']());}['isContentDirectionInPlayerListValid'](z){if(!z)return!0x1;const A='NEXT'===z?0x1:-0x1,B=this['playerContentList'][this['index']],C=this['contentList']['findIndex'](D=>D['data']['id']===B['data']['id']);return!(C+A<0x0)&&Boolean(this['contentList'][C+A]);}['isBlazeWidgetStory'](z){return Array['isArray'](z)&&z['every'](A=>'story'===A['type']);}['isBlazeWidgetMoment'](z){return Array['isArray'](z)&&z['every'](A=>'moment'===A['type']);}}g['WidgetAbstractPlayer']=y;},0x264:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetScrollable']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['buttonsState']=[],this['totalMovement']=0x0,this['boundOnClickEvent']=this['onClick']['bind'](this),this['boundOnMouseWheelEvent']=this['onMouseWheel']['bind'](this),this['boundOnMouseMoveEvent']=this['onMouseMove']['bind'](this);}['connectedCallback'](){this['style']['userSelect']='none',this['addEventListener']('click',this['boundOnClickEvent'],!0x0),this['addEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['addEventListener']('wheel',this['boundOnMouseWheelEvent']);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnClickEvent']),this['removeEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['removeEventListener']('wheel',this['boundOnMouseWheelEvent']);}['onClick'](k){this['totalMovement']>0xa&&(k['preventDefault'](),k['stopPropagation'](),k['stopImmediatePropagation']());}['onMouseMove'](k){0x1&~k['buttons']?this['totalMovement']=0x0:(this['scrollBy']({'top':-k['movementY'],'left':-k['movementX']}),(k['movementX']>0x0||k['movementX']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementX'])),(k['movementY']>0x0||k['movementY']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementY'])));}['onMouseWheel'](k){this['scrollBy']({'top':0x0,'left':k['deltaX']});}['render'](){}}f['BlazeWidgetScrollable']=j;},0xf49:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetSDK']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),v=j(0x26ed),w=j(0x11c1),x=j(0x132a),y=j(0x2432);let z=window['innerWidth'];class A extends p['BaseWidget']{static get['observedAttributes'](){return['should-allow-horizontal-stories'];}constructor(){super(),this['boundOnResizeEvent']=(0x0,p['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this);}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('screenOrientationChange',this['boundOnResizeEventDelay']);const B=this['getConfigAttributes']();yield this['initialize'](B);const C=new CustomEvent('onBlazeSDKConnect',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](C),this['handleLoadingContent']();});}['disconnectedCallback'](){window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('screenOrientationChange',()=>this['onResizeEventDelay']());}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},q['ONE_SECOND']/0x2);}['onResize'](){var B,C,D,E,F,G;z!==window['innerWidth']&&(z=window['innerWidth'],this['modal']&&(null===(B=this['modal'])||void 0x0===B||B['render'](),this['modal']instanceof m['BlazeWidgetStoryModal']&&(null===(D=null===(C=this['modal'])||void 0x0===C?void 0x0:C['player'])||void 0x0===D||D['render'](),null===(G=null===(F=null===(E=this['modal'])||void 0x0===E?void 0x0:E['player'])||void 0x0===F?void 0x0:F['contentList'])||void 0x0===G||G['forEach'](H=>null==H?void 0x0:H['render']()))));}['handleLoadingContent'](){const {isStoryMatch:B,storyIds:C,isMomentMatch:D,momentIds:E}=this['checkUrlForContent']();B&&C?this['handleContentLoad']('story','Share',C):D&&E?this['handleContentLoad']('moment','Share',E):w['ConfigService']['staticContent']&&this['handleStaticContentLoad']('SingleStory');}['checkUrlForContent'](){var B,C,D,E;const F=location['href']['match'](y['RegexStoryHash']),G=location['href']['match'](y['RegexMomentHash']);return{'isStoryMatch':!!F,'storyIds':F?null===(C=null===(B=F[0x1])||void 0x0===B?void 0x0:B['split']('/'))||void 0x0===C?void 0x0:C[0x2]:null,'isMomentMatch':!!G,'momentIds':G?null===(E=null===(D=G[0x1])||void 0x0===D?void 0x0:D['split']('/'))||void 0x0===E?void 0x0:E[0x2]:null};}['setPlayerStyleCustomization'](B){w['ConfigService']['playerStyleCustomization']=B;}['handleContentLoad'](B,C,D){return k(this,void 0x0,void 0x0,function*(){var E,F,G;if((null===document||void 0x0===document?void 0x0:document['querySelector']('#blaze-standalone-player'))||!(null==D?void 0x0:D['length']))return;const H=D['split'](',');if(null===(E=this['modal'])||void 0x0===E||E['remove'](),null==H?void 0x0:H['length']){const {data:I,error:J}='story'===B?yield w['ApiService']['getStoriesByIds'](H):yield w['ApiService']['getMomentByIds'](H);null==I||I['result']['map'](K=>{K['type']='Content';}),J||0x0===(null===(F=null==I?void 0x0:I['result'])||void 0x0===F?void 0x0:F['length'])||this['setupModalAndLoadContent'](B,C,null===(G=null==I?void 0x0:I['result'])||void 0x0===G?void 0x0:G[0x0]);}});}['handleStaticContentLoad'](B){return k(this,void 0x0,void 0x0,function*(){const C=yield w['ApiService']['getStaticStories']();C&&this['setupModalAndLoadContent']('story',B,C);});}['enrichContent'](B){return k(this,void 0x0,void 0x0,function*(){try{return yield w['DatabaseService']['enrichStories'](B);}catch(C){return w['EventService']['dispatch'](this,v['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':v['ErrorCode']['FailedEnrichStories']}),B;}});}['setupModalAndLoadContent'](B,C,D){return k(this,void 0x0,void 0x0,function*(){var E;let F;if('moment'===B)F=x['ThemeFactory']['create']('default','moment');else{if('story'!==B&&B)throw new Error('Invalid\x20content\x20type');F=x['ThemeFactory']['create']('default','story');}const G=(0x0,y['mergeDeep'])(F['playerStyle'],w['ConfigService']['playerStyleCustomization'])||F['playerStyle'];this['modal']='moment'===B?new m['BlazeWidgetMomentModal'](this,G):new m['BlazeWidgetStoryModal'](this,G),this['modal']['id']='blaze-standalone-player',w['VideoPlayerService']['playReference']=C,this['append'](this['modal']);const H=new m['BlazeWidgetItem']({'layout':F['layoutStyle'],'content':D});if(this['modal']instanceof m['BlazeWidgetStoryModal']){const I=yield this['enrichContent']([D]);this['modal']['setModalContent'](I,0x0);}else{if(!(this['modal']instanceof m['BlazeWidgetMomentModal']))throw new Error('Invalid\x20content\x20type');this['modal']['setModalContent']([D],0x0);}this['modal']['player']['contentList']['forEach'](J=>k(this,void 0x0,void 0x0,function*(){J['startTrigger']=C,J['refContentModal']=this['modal'],J['widgetParentItem']=H,J instanceof m['BlazeWidgetStory']&&J['resetStoryLocationIndexToLastUnseen'](),yield J['load']('direct'),J['setWidgetItemParent'](H);})),this['modal']['seek'](null!==(E=D['id'])&&void 0x0!==E?E:''),this['modal']['open'](),this['modal']['onClose']=()=>{var J;null===(J=this['modal'])||void 0x0===J||J['remove']();};});}['attributeChangedCallback'](B,C,D){'should-allow-horizontal-stories'===B&&C!==D&&(w['ConfigService']['shouldAllowHorizontalStories']='true'===D,this['modal']instanceof m['BlazeWidgetStoryModal']&&this['modal']['updateModalContent']());}['getConfigAttributes'](){const B=this['getAttribute']('api-key'),C=this['getAttribute']('environment')||'prod',D=this['getAttribute']('send-analytics'),E=this['getAttribute']('run-in-shadow-dom'),F=this['getAttribute']('preview-url'),G=this['getAttribute']('preview-moment-url'),H=this['getAttribute']('do-not-track'),I=this['getAttribute']('external-user-id'),J=this['getAttribute']('geo-location'),K=this['getAttribute']('static-content'),L=this['getAttribute']('modifiy-url-with-story-id'),M=this['getAttribute']('should-dismiss-player'),N=this['getAttribute']('should-create-user'),O=this['getAttribute']('prefetching-policy')||'default',P=this['getAttribute']('should-allow-horizontal-stories'),Q=this['getAttribute']('should-auto-advance'),R=this['getAttribute']('auto-advance-url'),S=this['getAttribute']('layout-direction'),T=this['getAttribute']('should-allow-closed-captions');if(!B&&!F&&!G)throw new Error('Please\x20provide\x20API\x20Key');return{'apiKey':B,'environment':C,'sendAnalytics':D,'previewMomentUrl':G,'previewUrl':F,'doNotTrack':H,'externalUserId':I,'geoLocation':J,'staticContent':K,'runInShadowDom':E,'shouldModifyUrlWithStoryId':L,'shouldDismissPlayer':M,'shouldCreateUser':N,'prefetchingPolicy':O,'shouldAllowHorizontalStories':P,'shouldAutoAdvance':Q,'autoAdvanceUrl':R,'layoutDirection':S,'shouldAllowClosedCaptions':T};}['initialize'](B){return k(this,void 0x0,void 0x0,function*(){yield w['StartupService']['init'](B),yield this['injectFontResource'](),yield this['injectGoogleTag'](),yield this['injectIma']();});}['injectToHead'](B,C){return k(this,void 0x0,void 0x0,function*(){document['querySelectorAll'](B)['length']||(yield new Promise((D,E)=>{C['addEventListener']('load',()=>{D();}),C['addEventListener']('error',()=>{E('Failed\x20to\x20load\x20element:\x20'+C['outerHTML']);}),document['head']['append'](C);}));});}['injectFontResource'](){return k(this,void 0x0,void 0x0,function*(){const B=document['createElement']('link');B['setAttribute']('rel','preload'),B['setAttribute']('href','https://sdk.mvp.fan/web-sdk/assets/fonts.css'),B['setAttribute']('as','style'),B['setAttribute']('onload','this.onload=null;this.rel=\x27stylesheet\x27'),yield this['injectToHead']('[href*=\x22https://sdk.mvp.fan/web-sdk/assets/fonts.css\x22]',B);});}['injectGoogleTag'](){return k(this,void 0x0,void 0x0,function*(){if(!w['AdService']['canRunAds'])return;const B=document['createElement']('script');B['setAttribute']('src','https://securepubads.g.doubleclick.net/tag/js/gpt.js'),B['setAttribute']('async','');try{yield this['injectToHead']('[src*=\x22securepubads.g.doubleclick.net/tag/js/gpt.js\x22]',B);}catch(C){}});}['injectIma'](){return k(this,void 0x0,void 0x0,function*(){if(!w['AdService']['canRunAds'])return;const B=document['createElement']('script');B['setAttribute']('src','//imasdk.googleapis.com/js/sdkloader/ima3.js'),B['setAttribute']('async','');try{yield this['injectToHead']('[src*=\x22imasdk.googleapis.com/js/sdkloader/ima3.js\x22]',B);}catch(C){}});}}g['BlazeWidgetSDK']=A;},0x183e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetShareModal']=void 0x0;const j=g(0x1133),k=g(0x22d9),l=g(0x115);class m extends j['BaseWidget']{constructor(){var p,q;super(),this['shareUrl']='',this['shareContainer']=k['WidgetsFactory']['create']('blaze-div'),this['shareDrawer']=k['WidgetsFactory']['create']('blaze-modal'),this['shareDrawer']['onOpen']=null===(p=this['onDarwerOpen'])||void 0x0===p?void 0x0:p['bind'](this),this['shareDrawer']['onClose']=null===(q=this['onDrawerClose'])||void 0x0===q?void 0x0:q['bind'](this);}['connectedCallback'](){return h(this,void 0x0,void 0x0,function*(){this['shareContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'12rem','fontSize':'.8rem','fontFamily':'WSC\x20Open\x20Sans','color':'#000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['shareDrawer']);}['attributeChangedCallback'](p,q,u){}['onDarwerOpen'](){var p;null===(p=this['onOpen'])||void 0x0===p||p['call'](this);}['onDrawerClose'](){var p;null===(p=this['onClose'])||void 0x0===p||p['call'](this);}['open'](p){this['shareUrl']=p,this['shareDrawer']['open']();}['close'](){this['shareDrawer']['close']();}get['isOpen'](){return this['shareDrawer']['isOpen'];}['renderButtons'](){const p=k['WidgetsFactory']['create']('blaze-div');p['setStyle']({'display':'flex','gap':'1rem','padding':'1rem\x201.5rem','alignItems':'center'}),[{'type':'copy-link','onClick':()=>{(null===navigator||void 0x0===navigator?void 0x0:navigator['clipboard'])&&navigator['clipboard']['writeText'](this['shareUrl']),this['close']();}}]['forEach'](q=>{const u=k['WidgetsFactory']['create']('blaze-share-button');u['type']=q['type'],u['onClick']=v=>{var w;q['onClick'](v),null===(w=this['onClick'])||void 0x0===w||w['call'](this,u);},p['append'](u);}),this['shareContainer']['append'](p),this['shareDrawer']['init']({'anchor':'bottom','component':this['shareContainer']}),this['append'](this['shareDrawer']);}['renderTitle'](){const p=k['WidgetsFactory']['create']('blaze-div');p['setStyle']({'display':'flex','gap':'1rem','borderBottom':'solid\x201px\x20#d1d1d1','padding':'1rem\x201.5rem','alignItems':'center'});const q=k['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','border':'solid\x201px\x20#d1d1d1'});const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+l['IconGlobe']+'\x27)\x20no-repeat','backgroundSize':'contain'});const v=k['WidgetsFactory']['create']('blaze-typography');v['text']=location['origin'],q['append'](u),p['append'](q),p['append'](v),this['shareContainer']['append'](p);}['render'](){this['renderTitle'](),this['renderButtons']();}}f['BlazeWidgetShareModal']=m;},0x15a2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetVideoBase']=void 0x0;class g extends HTMLElement{constructor(){super();}['setData'](h){this['data']=h;}['loadPoster'](){throw new Error('Method\x20not\x20implemented.');}['play'](){throw new Error('unimplemented');}['restartVideo'](){throw new Error('Method\x20not\x20implemented.');}['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'](){}['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'](){}['startExit'](){}['endEnter'](){}['endExit'](){}}f['BlazeWidgetVideoBase']=g;},0x416:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideo']=void 0x0;const m=j(0x23a6),q=j(0x1133),v=j(0x1932),w=j(0x25e6),x=j(0x26ed),y=j(0x22d9),z=j(0x11c1),A=j(0x132a);let B=window['innerWidth'];class C extends m['BlazeWidgetVideoBase']{static get['observedAttributes'](){return['is-captions-visible'];}constructor(D){var E,F;super(),this['contentParent']=D,this['interactionElement']=y['WidgetsFactory']['create']('blaze-widget-interaction'),this['captionsElement']=y['WidgetsFactory']['create']('blaze-widget-captions'),this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['lastErrorExecutionTime']=0x0,this['isVideoStartPlaying']=!0x1,this['isError']=!0x0,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['maxRetryTimes']=0x5,this['shouldShowImaAd']=!0x1,this['googleIMA']=null===(E=window['google'])||void 0x0===E?void 0x0:E['ima'],this['isCurrentlyTryingToRunImaAd']=!0x1,this['hasPoster']=!0x1,this['source']=document['createElement']('source'),this['video']=document['createElement']('video'),this['loader']=y['WidgetsFactory']['create']('blaze-loader'),this['adContainer']=document['createElement']('div'),this['adLoaderContainer']=y['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===(F=this['contentParent'])||void 0x0===F?void 0x0:F['aspectRatio'])&&(this['video']['style']['height']='100%'),this['adLoaderContainer']['style']['margin']='auto';}['attributeChangedCallback'](D,E,F){'is-captions-visible'===D&&E!==F&&this['captionsElement']['setAttribute']('is-visible',F);}['connectedCallback'](){var D;this['setAttribute']('data-testid','blaze-widget-story-video-'+(null===(D=this['data'])||void 0x0===D?void 0x0:D['id'])),this['video']['onended']=this['onended'],this['videoFrameCallback']=this['requestFrameCallback'],this['video']['currentTime']=0x0,this['video']['controls']=!0x1,this['video']['preload']='none',this['video']['playsInline']=!0x0,this['video']['setAttribute']('webkit-playsinline','true'),this['video']['addEventListener']('playing',()=>{this['isVideoStartPlaying']=!0x0,this['removeLoader']();}),this['video']['addEventListener']('pause',()=>{this['isVideoStartPlaying']=!0x1,this['removeLoader']();}),this['video']['addEventListener']('canplaythrough',()=>k(this,void 0x0,void 0x0,function*(){this['video']['paused']&&this['isVideoStartPlaying']&&(this['isVideoRunning']&&(yield this['video']['play']()),yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));})),this['video']['addEventListener']('error',E=>{var F,G;const H=null===(F=null==E?void 0x0:E['target'])||void 0x0===F?void 0x0:F['error'];if((null==H?void 0x0:H['code'])===MediaError['MEDIA_ERR_DECODE']){const I=new Date()['getTime']();I-this['lastErrorExecutionTime']>=0x1388&&(this['lastErrorExecutionTime']=I,z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror\x20Attempting\x20to\x20handle\x20MEDIA_ERR_DECODE\x20error\x20for\x20video:\x20'+(null===(G=this['videoUrl'])||void 0x0===G?void 0x0:G['split']('/')[0x5])),this['source']&&this['videoUrl']&&this['video']&&0x0===this['video']['currentTime']&&(this['video']['removeChild'](this['source']),this['video']['preload']='none',this['video']['load'](),this['source']['setAttribute']('src',this['videoUrl']),this['source']['setAttribute']('type','video/mp4'),this['video']['append'](this['source']),this['video']['load'](),this['tryReloadVideo'](this['maxRetryTimes'])));}else z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror:\x20Unhandled\x20video\x20error\x20-\x20Code:\x20'+(null==H?void 0x0:H['code'])+',\x20Message:\x20'+(null==H?void 0x0:H['message']));}),this['video']['addEventListener']('timeupdate',()=>{var E;const F=this['video']['currentTime']/this['video']['duration']*0x64,G=[0x1,0x32];for(let H=0x0;H<G['length'];H++)F>=G[H]&&!this['eventRenderBackgroundPercentageTriggered'][H]&&(null===(E=this['videoFrameCallback'])||void 0x0===E||E['call'](this),this['eventRenderBackgroundPercentageTriggered'][H]=!0x0);}),this['appendChild'](this['video']),this['adContainer']['style']['position']='absolute',this['adContainer']['style']['top']='0',this['adContainer']['style']['left']='0',this['adContainer']['style']['width']='100%',this['adContainer']['style']['height']='100%',this['adContainer']['style']['justifyContent']='center',this['adContainer']['style']['display']='none',this['adContainer']['style']['zIndex']='2',this['adLoaderContainer']['style']['margin']='auto',this['render']();}['disconnectedCallback'](){this['removeLoader']();}['setData'](D){var E,F,G,H,I;if(this['data']=D,this['data']&&'Content'===this['data']['type']){const J=null!==(G=null===(F=null===(E=this['data']['baseLayer'])||void 0x0===E?void 0x0:E['content'])||void 0x0===F?void 0x0:F['renditions'])&&void 0x0!==G?G:[];this['videoUrl']=null!==(I=null===(H=J['find'](K=>K['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===H?void 0x0:H['url'])&&void 0x0!==I?I:J[0x0]['url'],this['shouldShowImaAd']=Boolean(D['shouldShowImaAd']);}}['loadClosedCaptions'](){return k(this,void 0x0,void 0x0,function*(){var D,E,F,G,H;z['ConfigService']['shouldAllowClosedCaptions']&&'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&(null===(F=null===(E=this['data'])||void 0x0===E?void 0x0:E['closedCaptions'])||void 0x0===F?void 0x0:F['length'])&&(null===(H=null===(G=this['data']['closedCaptions'][0x0])||void 0x0===G?void 0x0:G['files'])||void 0x0===H?void 0x0:H['length'])&&(this['contentParent']instanceof m['BlazeWidgetStory']&&'Embedded'===this['contentParent']['mode']||(this['captionsElement']['isConnected']||this['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],this['data']['closedCaptions'][0x0]['files'])));});}['getVideoDuration'](){return new Promise((D,E)=>{const F=document['createElement']('video');F['preload']='metadata',this['videoUrl']?(F['src']=this['videoUrl'],F['addEventListener']('loadedmetadata',()=>{D(F['duration']);}),F['addEventListener']('error',()=>{E(0x0);})):E(0x0);});}['loadPoster'](){var D,E,F,G,H,I,J,K,L,M;if('Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&!this['video']['hasAttribute']('poster')){const N=null!==(F=null===(E=this['data']['thumbnail'])||void 0x0===E?void 0x0:E['renditions'])&&void 0x0!==F?F:[],O=null===(G=null==N?void 0x0:N['find'](S=>S['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===G?void 0x0:G['url'],P=null===(H=null==N?void 0x0:N[0x0])||void 0x0===H?void 0x0:H['url'],Q=(null===(J=null===(I=this['data']['thumbnail'])||void 0x0===I?void 0x0:I['rendition'])||void 0x0===J?void 0x0:J['url'])||(null===(L=null===(K=this['data']['poster'])||void 0x0===K?void 0x0:K['rendition'])||void 0x0===L?void 0x0:L['url']),R=null!==(M=null!=O?O:P)&&void 0x0!==M?M:Q;R&&(this['video']['poster']=R,this['hasPoster']=!0x0);}}['display'](){var D;this['style']['visibility']='visible',this['shouldShowImaAd']?(this['isCurrentlyTryingToRunImaAd']=!0x0,this['adLoaderContainer']['style']['display']=A['Colors']['Black'],this['adContainer']['style']['background']=A['Colors']['Black'],this['adContainer']['appendChild'](this['adLoaderContainer']),this['appendChild'](this['adContainer']),this['adContainer']['style']['display']='flex'):'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&'Vertical'===this['contentParent']['aspectRatio']&&this['interactionElement']['showInteraction'](this['data']['interaction']);}['hide'](){this['adsManager']&&(this['adsManager']['destroy'](),this['isCurrentlyTryingToRunImaAd']=!0x1),this['adContainer']['style']['display']='none',this['style']['visibility']='hidden',this['interactionElement']['hideInteraction']();}['load'](){return k(this,arguments,void 0x0,function*(D='cache'){var E;if(!this['isLoaded']&&'Content'===(null===(E=this['data'])||void 0x0===E?void 0x0:E['type'])&&this['data']&&this['videoUrl']){this['isLoaded']=!0x0,yield this['loadClosedCaptions'](),this['loadInteraction']();try{'cache'===D&&(yield z['VideoCacheService']['downloadAndCacheVideo'](this['videoUrl'])),this['source']['hasAttribute']('src')||(this['source']['setAttribute']('type','video/mp4'),'Safari'===q['deviceDetector']['browser']&&'desktop'===q['deviceDetector']['platform']||!this['hasPoster']?this['source']['setAttribute']('src',this['videoUrl']+'#t=0.01'):this['source']['setAttribute']('src',this['videoUrl'])),this['video']['querySelector']('source')||this['video']['append'](this['source']),this['video']['preload']='auto',this['video']['load']();}catch(F){}}});}['unload'](){return k(this,void 0x0,void 0x0,function*(){var D;this['isLoaded']&&'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&this['data']&&(this['interactionElement']['unloadInteraction'](),this['captionsElement']['remove'](),this['videoUrl']&&(yield z['VideoCacheService']['deleteVideoFromCache'](this['videoUrl'])),this['resetVideoState']());});}['resetVideoState'](){this['video']['preload']='none',this['video']['pause'](),this['video']['removeAttribute']('poster'),this['source']['removeAttribute']('src'),this['source']['remove'](),this['video']['load'](),this['isVideoStartPlaying']=!0x1,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['removeLoader']();}['removeLoader'](){clearTimeout(this['loaderTimeoutRefAppending']),this['loader']&&this['loader']['isConnected']&&this['loader']['remove']();}['startPlayVideo'](D,E){return k(this,void 0x0,void 0x0,function*(){var F;E<=0x0?z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20startPlayVideo:\x20Max\x20retry\x20times\x20reached,\x20unable\x20to\x20play\x20video.\x20'+(null===(F=this['videoUrl'])||void 0x0===F?void 0x0:F['split']('/')[0x5])):this['isVideoStartPlaying']&&(yield D['play']()['then'](()=>{this['isError']=!0x1,this['isVideoRunning']=!0x0;})['catch'](()=>{var G;z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20catch:\x20startPlayVideo:\x20Error\x20while\x20trying\x20to\x20play\x20video.\x20Retrying...\x20'+(null===(G=this['videoUrl'])||void 0x0===G?void 0x0:G['split']('/')[0x5])),this['tryReloadVideo'](E-0x1);})['finally'](()=>{this['removeLoader']();}));});}['tryReloadVideo'](D){var E;if(this['video']){if(this['maxRetryTimes']=D,this['maxRetryTimes']<=0x0)return void z['LoggerService']['warn']('BlazeWidgetStoryVideo\x20-\x20reloadVideo:\x20Max\x20retry\x20times\x20reached.\x20Stopping\x20retries.');null===(E=this['video'])||void 0x0===E||E['load'](),this['startPlayVideo'](this['video'],this['maxRetryTimes']-0x1);}}['tryToAddLoader'](){var D,E;if(this['video']){if((null===(D=this['video'])||void 0x0===D?void 0x0:D['currentTime'])>0x0)return;if(!this['video']['paused']||this['video']['ended'])return;}this['loader']&&!(null===(E=this['loader'])||void 0x0===E?void 0x0:E['isConnected'])&&(this['loaderTimeoutRefAppending']=setTimeout(()=>{this['loader']&&this['append'](this['loader']);},v['ONE_SECOND']/0x2));}['play'](){return k(this,void 0x0,void 0x0,function*(){if(this['shouldShowImaAd'])return this['shouldShowImaAd']=!0x1,void this['initializeIMA']();z['VideoPlayerService']['isPlaying']=!0x0,this['isVideoStartPlaying']=!0x0,this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['tryToAddLoader'](),this['video']&&this['video']['readyState']>=0x2&&(yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));});}['pause'](){this['isVideoStartPlaying']=!0x1,this['video']['pause'](),this['removeLoader']();}set['currentTime'](D){var E;(null===(E=this['video'])||void 0x0===E?void 0x0:E['currentTime'])&&(this['video']['currentTime']=D);}get['currentTime'](){var D;return(null===(D=this['video'])||void 0x0===D?void 0x0:D['currentTime'])||0x0;}get['duration'](){var D;return(null===(D=this['video'])||void 0x0===D?void 0x0:D['duration'])||0x0;}['videoDurationMetrics'](){return k(this,void 0x0,void 0x0,function*(){yield this['getVideoDuration']()['then'](D=>D)['catch'](D=>{});});}['requestFrameCallback'](D){var E,F,G;try{(null===(E=this['video'])||void 0x0===E?void 0x0:E['requestVideoFrameCallback'])?null===(G=null===(F=this['video'])||void 0x0===F?void 0x0:F['requestVideoFrameCallback'])||void 0x0===G||G['call'](F,D):this['videoFrameCallback']=D;}catch(H){}}['mainElement'](){return this['video'];}get['paused'](){return!this['isVideoStartPlaying'];}get['muted'](){var D;return Boolean(null===(D=this['video'])||void 0x0===D?void 0x0:D['muted']);}set['muted'](D){this['video']['muted']=D;}get['isAd'](){var D;return this['isCurrentlyTryingToRunImaAd']||'Ad'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type']);}['render'](){this['video']&&(this['video']['style']['borderRadius']='mobile'===q['deviceDetector']['platform']?'0px':'20px');}['restartVideo'](){this['video']['paused']?(this['video']['currentTime']=0x0,this['load'](),this['play']()):this['video']['currentTime']=0x0;}['initializeIMA'](){var D,E,F,G,H;if(!this['adContainer']||!this['data']['imaUrl'])return;this['googleIMA']['settings']['setDisableCustomPlaybackForIOS10Plus'](!0x0),this['adDisplayContainer']=new this['googleIMA']['AdDisplayContainer'](this['adContainer'],this['video']);const I=new this['googleIMA']['AdsLoader'](this['adDisplayContainer']);I['addEventListener'](this['googleIMA']['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],K=>this['onAdsManagerLoaded'](K),!0x1),I['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),!0x1),this['video']['addEventListener']('ended',I['contentComplete']());const J=new this['googleIMA']['AdsRequest']();J['adTagUrl']=this['buildImaUrl'](this['data']['imaUrl']),J['linearAdSlotWidth']=null===(D=this['video'])||void 0x0===D?void 0x0:D['clientWidth'],J['linearAdSlotHeight']=null===(E=this['video'])||void 0x0===E?void 0x0:E['clientHeight'],J['nonLinearAdSlotWidth']=null===(F=this['video'])||void 0x0===F?void 0x0:F['clientWidth'],J['nonLinearAdSlotHeight']=(null!==(H=null===(G=this['video'])||void 0x0===G?void 0x0:G['clientHeight'])&&void 0x0!==H?H:0x0)/0x3,I['requestAds'](J);}['buildImaUrl'](D){var E,F;const G=(null===(F=null===(E=z['ConfigService']['imaAdHandler'])||void 0x0===E?void 0x0:E['provideAdExtraParams'])||void 0x0===F?void 0x0:F['call'](E))||{},H=new URL(D);H['searchParams']['set']('url',document['location']['href']),H['searchParams']['set']('vpmute',z['VideoPlayerService']['isMuted']?'1':'0'),H['searchParams']['set']('plcmt','1'),H['searchParams']['set']('vpos','midroll');for(const L in G)H['searchParams']['set'](L,G[L]);const I=this['data']['adContext'],J=I?Object['keys'](I)['map'](M=>M+'='+I[M])['join']('&'):'';if(J){let M=H['searchParams']['get']('cust_params');M=M?M+'&'+J:J,H['searchParams']['set']('cust_params',M);}const K=H['searchParams']['get']('sz');if(K){const N='Horizontal'===this['contentParent']['aspectRatio']?v['IMA_RATIOS']['vertical']:v['IMA_RATIOS']['horizontal'];H['searchParams']['set']('sz',K['split']('|')['filter'](O=>O!==N)['join']('|'));}return H['toString']();}['onAdsManagerLoaded'](D){const E=new this['googleIMA']['AdsRenderingSettings']();E['restoreCustomPlaybackStateOnAdBreakComplete']=!0x0,this['adsManager']=D['getAdsManager'](this['video'],E),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)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CLICK'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['COMPLETE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['LOADED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['PAUSED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['RESUMED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['RESUMED'],()=>{this['dispatchEvent'](new CustomEvent(x['InternalEvent']['AD_RESUMED'],{'bubbles':!0x0,'cancelable':!0x1}));}),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['SKIPPED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['STARTED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['MIDPOINT'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE'],this['onAdEvent']['bind'](this)),window['addEventListener']('blur',this['onBlur']['bind'](this)),window['addEventListener']('focus',this['onFocus']['bind'](this)),document['addEventListener']('visibilitychange',this['onVisibile']['bind'](this)),window['addEventListener']('resize',this['onWindowResize']['bind'](this)),this['loadAds']();}['onAdEvent'](D){var E,F,G,H;const I={[this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED']]:v['ImaAdAction']['ALL_ADS_COMPLETED'],[this['googleIMA']['AdEvent']['Type']['CLICK']]:v['ImaAdAction']['CLICK'],[this['googleIMA']['AdEvent']['Type']['COMPLETE']]:v['ImaAdAction']['COMPLETED'],[this['googleIMA']['AdEvent']['Type']['LOADED']]:v['ImaAdAction']['LOADED'],[this['googleIMA']['AdEvent']['Type']['PAUSED']]:v['ImaAdAction']['PAUSED'],[this['googleIMA']['AdEvent']['Type']['RESUMED']]:v['ImaAdAction']['RESUMED'],[this['googleIMA']['AdEvent']['Type']['SKIPPED']]:v['ImaAdAction']['SKIPPED'],[this['googleIMA']['AdEvent']['Type']['STARTED']]:v['ImaAdAction']['STARTED'],[this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE']]:v['ImaAdAction']['FIRST_QUARTILE'],[this['googleIMA']['AdEvent']['Type']['MIDPOINT']]:v['ImaAdAction']['MIDPOINT'],[this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE']]:v['ImaAdAction']['THIRD_QUARTILE']},J=null===(E=this['contentParent'])||void 0x0===E?void 0x0:E['getRefferingObject'](),K=D['getAd']()['data'],L=I[D['type']];z['AnalyticsService']['pushImaAdEvent'](L,{'story_id':null===(F=this['contentParent'])||void 0x0===F?void 0x0:F['data']['id'],'story_title':null===(G=this['contentParent'])||void 0x0===G?void 0x0:G['data']['title'],'ad_id':K['adId'],'ad_title':K['title'],'ad_description':K['description'],'ad_system':K['adSystem'],'ad_duration':K['duration'],'skippable':K['skippable'],'skip_time_offset':K['skipTimeOffset'],'advertiser_name':K['advertiserName'],'ima_url':this['data']['imaUrl'],'player_orientation':null===(H=this['contentParent'])||void 0x0===H?void 0x0:H['aspectRatio']},void 0x0,J);}['onWindowResize'](){B!==window['innerWidth']&&(B=window['innerWidth'],this['adsManager']&&this['video']&&setTimeout(()=>{const D=this['video']['getBoundingClientRect'](),E=D['width'],F=D['height'];this['adsManager']['resize'](E,F,this['googleIMA']['ViewMode']['NORMAL']);},v['ONE_SECOND']/0x4));}['onVisibile'](){this['adsManager']&&(document['hidden']?this['adsManager']['pause']():this['adsManager']['resume']());}['onBlur'](){this['adsManager']&&this['adsManager']['pause']();}['onFocus'](){this['adsManager']&&this['adsManager']['resume']();}['onAdError'](){this['onContentResumeRequested']();}['loadAds'](){if(this['adDisplayContainer']['initialize'](),!this['video'])return;const D=this['video']['getBoundingClientRect'](),E=D['width'],F=D['height'];try{this['adsManager']['init'](E,F,this['googleIMA']['ViewMode']['NORMAL']),this['adsManager']['start']();}catch(G){this['onContentResumeRequested']();}}['onContentPauseRequested'](){this['removeAdLoader'](),this['pause'](),this['interactionElement']['hideInteraction']();}['onContentResumeRequested'](){var D;this['adsManager']&&(this['adsManager']['destroy'](),this['adsManager']=null,window['removeEventListener']('blur',this['onBlur']),window['removeEventListener']('focus',this['onFocus']),document['removeEventListener']('visibilitychange',this['onVisibile']),window['removeEventListener']('resize',this['onWindowResize'])),this['adContainer']&&(this['adContainer']['innerHTML']=''),this['removeAdLoader'](),this['adContainer']['remove'](),document['hidden']||this['play'](),this['isCurrentlyTryingToRunImaAd']=!0x1,null===(D=this['contentParent'])||void 0x0===D||D['adjustContentView'](),this['interactionElement']['showInteraction'](),this['contentParent']instanceof m['BlazeWidgetStory']&&this['contentParent']['event'](v['StoryAction']['PageStart'],{}),this['dispatchEvent'](new CustomEvent(x['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}['removeAdLoader'](){this['adLoaderContainer']&&this['adContainer']&&(this['adLoaderContainer']['style']['display']='none',this['adContainer']['style']['background']='transparent');}['loadInteraction'](){var D;if('Content'!==(null===(D=this['data'])||void 0x0===D?void 0x0:D['type']))return;const E=this['data']['interaction'];E&&(this['interactionElement']['addEventListener'](w['INTERACTION_ANALYTICS'],this['handleInteractionEvent']['bind'](this)),this['appendChild'](this['interactionElement']),this['interactionElement']['loadInteraction'](E));}['handleInteractionEvent'](D){var E,F;z['AnalyticsService']['pushInteractionEvent'](D['detail']['action'],Object['assign'](Object['assign']({},D['detail']['body']),{'content_id':this['contentParent']['data']['id'],'content_title':this['contentParent']['data']['title'],'content_page_id':null===(E=this['data'])||void 0x0===E?void 0x0:E['id'],'content_type':'story','audio_state':z['VideoPlayerService']['isMuted']?'Mute':'Unmute','content_extra_info':'true'===(null===(F=z['AppConfigurationService']['appConfigurations'])||void 0x0===F?void 0x0:F['configurations']['analyticsAddEntitiesInfo'])?JSON['stringify'](this['contentParent']['data']['entities']):void 0x0}),void 0x0,this['contentParent']['getRefferingObject']());}}g['BlazeWidgetVideo']=C;},0x1c40:function(d,f,g){var h;!function(a0,a1){'use strict';var a2='function',a3='undefined',a4='object',a5='string',a6='major',a7='model',a8='name',a9='type',aa='vendor',ab='version',ac='architecture',ad='console',ae='mobile',af='tablet',ag='smarttv',ah='wearable',ai='embedded',aj='Amazon',ak='Apple',al='ASUS',am='BlackBerry',an='Browser',ao='Chrome',ap='Firefox',aq='Google',ar='Huawei',as='LG',at='Microsoft',au='Motorola',av='Opera',aw='Samsung',ax='Sharp',ay='Sony',az='Xiaomi',aA='Zebra',aB='Facebook',aC='Chromium\x20OS',aD='Mac\x20OS',aE=function(aP){for(var aQ={},aR=0x0;aR<aP['length'];aR++)aQ[aP[aR]['toUpperCase']()]=aP[aR];return aQ;},aF=function(aP,aQ){return typeof aP===a5&&-0x1!==aG(aQ)['indexOf'](aG(aP));},aG=function(aP){return aP['toLowerCase']();},aH=function(aP,aQ){if(typeof aP===a5)return aP=aP['replace'](/^\s\s*/,''),typeof aQ===a3?aP:aP['substring'](0x0,0x1f4);},aI=function(aP,aQ){for(var aR,aS,aT,aU,aV,aW,aX=0x0;aX<aQ['length']&&!aV;){var aY=aQ[aX],aZ=aQ[aX+0x1];for(aR=aS=0x0;aR<aY['length']&&!aV&&aY[aR];)if(aV=aY[aR++]['exec'](aP)){for(aT=0x0;aT<aZ['length'];aT++)aW=aV[++aS],typeof(aU=aZ[aT])===a4&&aU['length']>0x0?0x2===aU['length']?typeof aU[0x1]==a2?this[aU[0x0]]=aU[0x1]['call'](this,aW):this[aU[0x0]]=aU[0x1]:0x3===aU['length']?typeof aU[0x1]!==a2||aU[0x1]['exec']&&aU[0x1]['test']?this[aU[0x0]]=aW?aW['replace'](aU[0x1],aU[0x2]):a1:this[aU[0x0]]=aW?aU[0x1]['call'](this,aW,aU[0x2]):a1:0x4===aU['length']&&(this[aU[0x0]]=aW?aU[0x3]['call'](this,aW['replace'](aU[0x1],aU[0x2])):a1):this[aU]=aW||a1;}aX+=0x2;}},aJ=function(aP,aQ){for(var aR in aQ)if(typeof aQ[aR]===a4&&aQ[aR]['length']>0x0){for(var aS=0x0;aS<aQ[aR]['length'];aS++)if(aF(aQ[aR][aS],aP))return'?'===aR?a1:aR;}else{if(aF(aQ[aR],aP))return'?'===aR?a1:aR;}return aP;},aK={'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'},aL={'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,av+'\x20Mini']],[/\bopr\/([\w\.]+)/i],[ab,[a8,av]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[ab,[a8,'Baidu']],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a8,ab],[/(?:\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,av+'\x20Touch']],[/coc_coc\w+\/([\w\.]+)/i],[ab,[a8,'Coc\x20Coc']],[/dolfin\/([\w\.]+)/i],[ab,[a8,'Dolphin']],[/coast\/([\w\.]+)/i],[ab,[a8,av+'\x20Coast']],[/miuibrowser\/([\w\.]+)/i],[ab,[a8,'MIUI\x20'+an]],[/fxios\/([-\w\.]+)/i],[ab,[a8,ap]],[/\bqihu|(qi?ho?o?|360)browser/i],[[a8,'360\x20'+an]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[a8,/(.+)/,'$1\x20'+an],ab],[/samsungbrowser\/([\w\.]+)/i],[ab,[a8,aw+'\x20Internet']],[/(comodo_dragon)\/([\w\.]+)/i],[[a8,/_/g,'\x20'],ab],[/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|2345Explorer)[\/ ]?([\w\.]+)/i],[a8,ab],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[a8],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a8,aB],ab],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\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,aJ,{'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],[/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|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[a8,ab],[/(cobalt)\/([\w\.]+)/i],[a8,[ab,/master.|lts./,'']]],'cpu':[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ac,'amd64']],[/(ia32(?=;))/i],[[ac,aG]],[/((?:i[346]|x)86)[;\)]/i],[[ac,'ia32']],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ac,'arm64']],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ac,'armhf']],[/windows (ce|mobile); ppc;/i],[[ac,'arm']],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ac,/ower/,'',aG]],[/(sun4\w)[;\)]/i],[[ac,'sparc']],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ac,aG]]],'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,aw],[a9,af]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[a7,[aa,aw],[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,ax],[a9,ae]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,af]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,ae]],[/\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)?)(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,ae]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,af]],[/; (\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,'OPPO'],[a9,ae]],[/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[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a7,[aa,au],[a9,ae]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a7,[aa,au],[a9,af]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a7,[aa,as],[a9,af]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a7,[aa,as],[a9,ae]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a7,[aa,'Lenovo'],[a9,af]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a7,/_/g,'\x20'],[aa,'Nokia'],[a9,ae]],[/(pixel c)\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,ay],[a9,ae]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a7,'Xperia\x20Tablet'],[aa,ay],[a9,af]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a7,[aa,'OnePlus'],[a9,ae]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( 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.+; ([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]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[aa,a7,[a9,ae]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/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,at],[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]],[/(shield[\w ]+) b/i],[a7,[aa,'Nvidia'],[a9,af]],[/(sprint) (\w+)/i],[aa,a7,[a9,ae]],[/(kin\.[onetw]{3})/i],[[a7,/\./g,'\x20'],[aa,at],[a9,ae]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a7,[aa,aA],[a9,af]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a7,[aa,aA],[a9,ae]],[/smart-tv.+(samsung)/i],[aa,[a9,ag]],[/hbbtv.+maple;(\d+)/i],[[a7,/^/,'SmartTV'],[aa,aw],[a9,ag]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[aa,as],[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]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a7,[aa,ax],[a9,ag]],[/(bravia[\w ]+)( bui|\))/i],[a7,[aa,ay],[a9,ag]],[/(mitv-\w{5}) bui/i],[a7,[aa,az],[a9,ag]],[/Hbbtv.*(technisat) (.*);/i],[aa,a7,[a9,ag]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[aa,aH],[a7,aH],[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,'Nvidia'],[a9,ad]],[/(playstation [345portablevi]+)/i],[a7,[aa,ay],[a9,ad]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a7,[aa,at],[a9,ad]],[/((pebble))app/i],[aa,a7,[a9,ah]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a7,[aa,ak],[a9,ah]],[/droid.+; (glass) \d/i],[a7,[aa,aq],[a9,ah]],[/droid.+; (wt63?0{2,3})\)/i],[a7,[aa,aA],[a9,ah]],[/(quest( 2| pro)?)/i],[a7,[aa,aB],[a9,ah]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[aa,[a9,ai]],[/(aeobc)\b/i],[a7,[aa,aj],[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]],[/(android[-\w\. ]{0,9});.+buil/i],[a7,[aa,'Generic']]],'engine':[[/windows.+ edge\/([\w\.]+)/i],[ab,[a8,'EdgeHTML']],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ab,[a8,'Blink']],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a8,ab],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ab,a8]],'os':[[/microsoft (windows) (vista|xp)/i],[a8,ab],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[a8,[ab,aJ,aK]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ab,aJ,aK],[a8,'Windows']],[/ip[honead]{2,4}\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,aD],[ab,/_/g,'.']],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ab,a8],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[a8,ab],[/\(bb(10);/i],[ab,[a8,am]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\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,aC],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) ?([\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]]},aM=function(aP,aQ){if(typeof aP===a4&&(aQ=aP,aP=a1),!(this instanceof aM))return new aM(aP,aQ)['getResult']();var aR=typeof a0!==a3&&a0['navigator']?a0['navigator']:a1,aS=aP||(aR&&aR['userAgent']?aR['userAgent']:''),aT=aR&&aR['userAgentData']?aR['userAgentData']:a1,aU=aQ?function(aW,aX){var aY={};for(var aZ in aW)aX[aZ]&&aX[aZ]['length']%0x2==0x0?aY[aZ]=aX[aZ]['concat'](aW[aZ]):aY[aZ]=aW[aZ];return aY;}(aL,aQ):aL,aV=aR&&aR['userAgent']==aS;return this['getBrowser']=function(){var aW,aX={};return aX[a8]=a1,aX[ab]=a1,aI['call'](aX,aS,aU['browser']),aX[a6]=typeof(aW=aX[ab])===a5?aW['replace'](/[^\d\.]/g,'')['split']('.')[0x0]:a1,aV&&aR&&aR['brave']&&typeof aR['brave']['isBrave']==a2&&(aX[a8]='Brave'),aX;},this['getCPU']=function(){var aW={};return aW[ac]=a1,aI['call'](aW,aS,aU['cpu']),aW;},this['getDevice']=function(){var aW={};return aW[aa]=a1,aW[a7]=a1,aW[a9]=a1,aI['call'](aW,aS,aU['device']),aV&&!aW[a9]&&aT&&aT['mobile']&&(aW[a9]=ae),aV&&'Macintosh'==aW[a7]&&aR&&typeof aR['standalone']!==a3&&aR['maxTouchPoints']&&aR['maxTouchPoints']>0x2&&(aW[a7]='iPad',aW[a9]=af),aW;},this['getEngine']=function(){var aW={};return aW[a8]=a1,aW[ab]=a1,aI['call'](aW,aS,aU['engine']),aW;},this['getOS']=function(){var aW={};return aW[a8]=a1,aW[ab]=a1,aI['call'](aW,aS,aU['os']),aV&&!aW[a8]&&aT&&'Unknown'!=aT['platform']&&(aW[a8]=aT['platform']['replace'](/chrome os/i,aC)['replace'](/macos/i,aD)),aW;},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 aS;},this['setUA']=function(aW){return aS=typeof aW===a5&&aW['length']>0x1f4?aH(aW,0x1f4):aW,this;},this['setUA'](aS),this;};aM['VERSION']='1.0.37',aM['BROWSER']=aE([a8,ab,a6]),aM['CPU']=aE([ac]),aM['DEVICE']=aE([a7,aa,a9,ad,ae,ag,af,ah,ai]),aM['ENGINE']=aM['OS']=aE([a8,ab]),typeof f!==a3?(d['exports']&&(f=d['exports']=aM),f['UAParser']=aM):g['amdO']?(h=function(){return aM;}['call'](f,g,f,d))===a1||(d['exports']=h):typeof a0!==a3&&(a0['UAParser']=aM);var aN=typeof a0!==a3&&(a0['jQuery']||a0['Zepto']);if(aN&&!aN['ua']){var aO=new aM();aN['ua']=aO['getResult'](),aN['ua']['get']=function(){return aO['getUA']();},aN['ua']['set']=function(aP){aO['setUA'](aP);var aQ=aO['getResult']();for(var aR in aQ)aN['ua'][aR]=aQ[aR];};}}('object'==typeof window?window:this);},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']();},0x18a7:(j,k,q)=>{var x=q(0x25e1),z=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 A(W,X){this['name']='ParsingError',this['code']=W['code'],this['message']=X||W['message'];}function B(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 D(){this['values']=z(null);}function E(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=B(W);if(null===a2)throw new A(A['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 A(A['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 D();E(a2,function(a5,a6){switch(a5){case'region':for(var a7=Y['length']-0x1;a7>=0x0;a7--)if(Y[a7]['id']===a6){a4['set'](a5,Y[a7]['region']);break;}break;case'vertical':a4['alt'](a5,a6,['rl','lr']);break;case'line':var a8=a6['split'](','),a9=a8[0x0];a4['integer'](a5,a9),a4['percent'](a5,a9)&&a4['set']('snapToLines',!0x1),a4['alt'](a5,a9,['auto']),0x2===a8['length']&&a4['alt']('lineAlign',a8[0x1],['start','center','end']);break;case'position':a8=a6['split'](','),a4['percent'](a5,a8[0x0]),0x2===a8['length']&&a4['alt']('positionAlign',a8[0x1],['start','center','end']);break;case'size':a4['percent'](a5,a6);break;case'align':a4['alt'](a5,a6,['start','center','end','left','right']);}},/:/,/\s/),a3['region']=a4['get']('region',null),a3['vertical']=a4['get']('vertical','');try{a3['line']=a4['get']('line','auto');}catch(a5){}a3['lineAlign']=a4['get']('lineAlign','start'),a3['snapToLines']=a4['get']('snapToLines',!0x0),a3['size']=a4['get']('size',0x64);try{a3['align']=a4['get']('align','center');}catch(a6){a3['align']=a4['get']('align','middle');}try{a3['position']=a4['get']('position','auto');}catch(a7){a3['position']=a4['get']('position',{'start':0x0,'left':0x0,'center':0x32,'middle':0x32,'end':0x64,'right':0x64},a3['align']);}a3['positionAlign']=a4['get']('positionAlign',{'start':'start','left':'start','center':'center','middle':'center','end':'end','right':'end'},a3['align']);}(W,X);}A['prototype']=z(Error['prototype']),A['prototype']['constructor']=A,A['Errors']={'BadSignature':{'code':0x0,'message':'Malformed\x20WebVTT\x20signature.'},'BadTimeStamp':{'code':0x1,'message':'Malformed\x20time\x20stamp.'}},D['prototype']={'set':function(W,X){this['get'](W)||''===X||(this['values'][W]=X);},'get':function(W,X,Y){return Y?this['has'](W)?this['values'][W]:X[Y]:this['has'](W)?this['values'][W]:X;},'has':function(W){return W in this['values'];},'alt':function(W,X,Y){for(var Z=0x0;Z<Y['length'];++Z)if(X===Y[Z]){this['set'](W,X);break;}},'integer':function(W,X){/^-?\d+$/['test'](X)&&this['set'](W,parseInt(X,0xa));},'percent':function(W,X){return!!(X['match'](/^([\d]{1,3})(\.[\d]*)?%$/)&&(X=parseFloat(X))>=0x0&&X<=0x64)&&(this['set'](W,X),!0x0);}};var G=x['createElement']&&x['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,ab){return!K[ab['localName']]||K[ab['localName']]===aa['localName'];}function a0(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 a1,a2,a3=W['document']['createElement']('div'),a4=a3,a5=[];null!==(a1=Y());)if('<'!==a1[0x0])a4['appendChild'](W['document']['createTextNode']((a2=a1,G['innerHTML']=a2,a2=G['textContent'],G['textContent']='',a2)));else{if('/'===a1[0x1]){a5['length']&&a5[a5['length']-0x1]===a1['substr'](0x2)['replace']('>','')&&(a5['pop'](),a4=a4['parentNode']);continue;}var a6,a7=B(a1['substr'](0x1,a1['length']-0x2));if(a7){a6=W['document']['createProcessingInstruction']('timestamp',a7),a4['appendChild'](a6);continue;}var a8=a1['match'](/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!a8)continue;if(!(a6=a0(a8[0x1],a8[0x3])))continue;if(!Z(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 N=[[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 O(W){for(var X=0x0;X<N['length'];X++){var Y=N[X];if(W>=Y[0x0]&&W<=Y[0x1])return!0x0;}return!0x1;}function P(W){var X=[],Y='';if(!W||!W['childNodes'])return'ltr';function Z(a2,a3){for(var a4=a3['childNodes']['length']-0x1;a4>=0x0;a4--)a2['push'](a3['childNodes'][a4]);}function a0(a2){if(!a2||!a2['length'])return null;var a3=a2['pop'](),a4=a3['textContent']||a3['innerText'];if(a4){var a5=a4['match'](/^.*(\n|\r)/);return a5?(a2['length']=0x0,a5[0x0]):a4;}return'ruby'===a3['tagName']?a0(a2):a3['childNodes']?(Z(a2,a3),a0(a2)):void 0x0;}for(Z(X,W);Y=a0(X);)for(var a1=0x0;a1<Y['length'];a1++)if(O(Y['charCodeAt'](a1)))return'rtl';return'ltr';}function Q(){}function R(W,X,Y){Q['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':P(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 T(W){var X,Y,Z,a0;if(W['div']){Y=W['div']['offsetHeight'],Z=W['div']['offsetWidth'],a0=W['div']['offsetTop'];var a1=(a1=W['div']['childNodes'])&&(a1=a1[0x0])&&a1['getClientRects']&&a1['getClientRects']();W=W['div']['getBoundingClientRect'](),X=a1?Math['max'](a1[0x0]&&a1[0x0]['height']||0x0,W['height']/a1['length']):0x0;}this['left']=W['left'],this['right']=W['right'],this['top']=W['top']||a0,this['height']=W['height']||Y,this['bottom']=W['bottom']||a0+(W['height']||Y),this['width']=W['width']||Z,this['lineHeight']=void 0x0!==X?X:W['lineHeight'];}function U(W,X,Y,Z){var a0=new T(X),a1=X['cue'],a2=function(ab){if('number'==typeof ab['line']&&(ab['snapToLines']||ab['line']>=0x0&&ab['line']<=0x64))return ab['line'];if(!ab['track']||!ab['track']['textTrackList']||!ab['track']['textTrackList']['mediaElement'])return-0x1;for(var ac=ab['track'],ad=ac['textTrackList'],ae=0x0,af=0x0;af<ad['length']&&ad[af]!==ac;af++)'showing'===ad[af]['mode']&&ae++;return-0x1*++ae;}(a1),a3=[];if(a1['snapToLines']){var a4;switch(a1['vertical']){case'':a3=['+y','-y'],a4='height';break;case'rl':a3=['+x','-x'],a4='width';break;case'lr':a3=['-x','+x'],a4='width';}var a5=a0['lineHeight'],a6=a5*Math['round'](a2),a7=Y[a4]+a5,a8=a3[0x0];Math['abs'](a6)>a7&&(a6=a6<0x0?-0x1:0x1,a6*=Math['ceil'](a7/a5)*a5),a2<0x0&&(a6+=''===a1['vertical']?Y['height']:Y['width'],a3=a3['reverse']()),a0['move'](a8,a6);}else{var a9=a0['lineHeight']/Y['height']*0x64;switch(a1['lineAlign']){case'center':a2-=a9/0x2;break;case'end':a2-=a9;}switch(a1['vertical']){case'':X['applyStyles']({'top':X['formatStyle'](a2,'%')});break;case'rl':X['applyStyles']({'left':X['formatStyle'](a2,'%')});break;case'lr':X['applyStyles']({'right':X['formatStyle'](a2,'%')});}a3=['+y','-x','+x','-y'],a0=new T(X);}var aa=function(ab,ac){for(var ad,ae=new T(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 T(ab),af=ah),ab=new T(ae);}return ad||ae;}(a0,a3);X['move'](aa['toCSSCompatValues'](Y));}function V(){}Q['prototype']['applyStyles']=function(W,X){for(var Y in(X=X||this['div'],W))W['hasOwnProperty'](Y)&&(X['style'][Y]=W[Y]);},Q['prototype']['formatStyle']=function(W,X){return 0x0===W?0x0:W+X;},R['prototype']=z(Q['prototype']),R['prototype']['constructor']=R,T['prototype']['move']=function(W,X){switch(X=void 0x0!==X?X:this['lineHeight'],W){case'+x':this['left']+=X,this['right']+=X;break;case'-x':this['left']-=X,this['right']-=X;break;case'+y':this['top']+=X,this['bottom']+=X;break;case'-y':this['top']-=X,this['bottom']-=X;}},T['prototype']['overlaps']=function(W){return this['left']<W['right']&&this['right']>W['left']&&this['top']<W['bottom']&&this['bottom']>W['top'];},T['prototype']['overlapsAny']=function(W){for(var X=0x0;X<W['length'];X++)if(this['overlaps'](W[X]))return!0x0;return!0x1;},T['prototype']['within']=function(W){return this['top']>=W['top']&&this['bottom']<=W['bottom']&&this['left']>=W['left']&&this['right']<=W['right'];},T['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'];}},T['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']);},T['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']};},T['getSimpleBoxPosition']=function(W){var X=W['div']?W['div']['offsetHeight']:W['tagName']?W['offsetHeight']:0x0,Y=W['div']?W['div']['offsetWidth']:W['tagName']?W['offsetWidth']:0x0,Z=W['div']?W['div']['offsetTop']:W['tagName']?W['offsetTop']:0x0;return{'left':(W=W['div']?W['div']['getBoundingClientRect']():W['tagName']?W['getBoundingClientRect']():W)['left'],'right':W['right'],'top':W['top']||Z,'height':W['height']||X,'bottom':W['bottom']||Z+(W['height']||X),'width':W['width']||Y};},V['StringDecoder']=function(){return{'decode':function(W){if(!W)return'';if('string'!=typeof W)throw new Error('Error\x20-\x20expected\x20string\x20data.');return decodeURIComponent(encodeURIComponent(W));}};},V['convertCueToDOMTree']=function(W,X){return W&&X?L(W,X):null;},V['processCues']=function(W,X,Y){if(!W||!X||!Y)return null;for(;Y['firstChild'];)Y['removeChild'](Y['firstChild']);var Z=W['document']['createElement']('div');if(Z['style']['position']='absolute',Z['style']['left']='0',Z['style']['right']='0',Z['style']['top']='0',Z['style']['bottom']='0',Z['style']['margin']='1.5%',Y['appendChild'](Z),function(a4){for(var a5=0x0;a5<a4['length'];a5++)if(a4[a5]['hasBeenReset']||!a4[a5]['displayState'])return!0x0;return!0x1;}(X)){var a0=[],a1=T['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 R(W,a5,a2),Z['appendChild'](a4['div']),U(0x0,a4,a1,a0),a5['displayState']=a4['div'],a0['push'](T['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 A))throw W;this['onparsingerror']&&this['onparsingerror'](W);},'parse':function(W){var X,Y=this;function Z(){for(var a4=Y['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,Y['buffer']=a4['substr'](a5),a6;}W&&(Y['buffer']+=Y['decoder']['decode'](W,{'stream':!0x0}));try{var a0;if('INITIAL'===Y['state']){if(!/\r\n|\n/['test'](Y['buffer']))return this;var a1=(a0=Z())['match'](/^WEBVTT([ \t].*)?$/);if(!a1||!a1[0x0])throw new A(A['Errors']['BadSignature']);Y['state']='HEADER';}for(var a2=!0x1;Y['buffer'];){if(!/\r\n|\n/['test'](Y['buffer']))return this;switch(a2?a2=!0x1:a0=Z(),Y['state']){case'HEADER':/:/['test'](a0)?(X=a0)['match'](/X-TIMESTAMP-MAP/)?E(X,function(a4,a5){'X-TIMESTAMP-MAP'===a4&&function(a6){var a7=new D();E(a6,function(a8,a9){switch(a8){case'MPEGT':a7['integer'](a8+'S',a9);break;case'LOCA':a7['set'](a8+'L',B(a9));}},/[^\d]:/,/,/),Y['ontimestampmap']&&Y['ontimestampmap']({'MPEGTS':a7['get']('MPEGTS'),'LOCAL':a7['get']('LOCAL')});}(a5);},/=/):E(X,function(a4,a5){'Region'===a4&&function(a6){var a7=new D();if(E(a6,function(a9,aa){switch(a9){case'id':a7['set'](a9,aa);break;case'width':a7['percent'](a9,aa);break;case'lines':a7['integer'](a9,aa);break;case'regionanchor':case'viewportanchor':var ab=aa['split'](',');if(0x2!==ab['length'])break;var ac=new D();if(ac['percent']('x',ab[0x0]),ac['percent']('y',ab[0x1]),!ac['has']('x')||!ac['has']('y'))break;a7['set'](a9+'X',ac['get']('x')),a7['set'](a9+'Y',ac['get']('y'));break;case'scroll':a7['alt'](a9,aa,['up']);}},/=/,/\s/),a7['has']('id')){var a8=new(Y['vttjs']['VTTRegion']||Y['window']['VTTRegion'])();a8['width']=a7['get']('width',0x64),a8['lines']=a7['get']('lines',0x3),a8['regionAnchorX']=a7['get']('regionanchorX',0x0),a8['regionAnchorY']=a7['get']('regionanchorY',0x64),a8['viewportAnchorX']=a7['get']('viewportanchorX',0x0),a8['viewportAnchorY']=a7['get']('viewportanchorY',0x64),a8['scroll']=a7['get']('scroll',''),Y['onregion']&&Y['onregion'](a8),Y['regionList']['push']({'id':a7['get']('id'),'region':a8});}}(a5);},/:/):a0||(Y['state']='ID');continue;case'NOTE':a0||(Y['state']='ID');continue;case'ID':if(/^NOTE($|[ \t])/['test'](a0)){Y['state']='NOTE';break;}if(!a0)continue;Y['cue']=new(Y['vttjs']['VTTCue']||Y['window']['VTTCue'])(0x0,0x0,'');try{Y['cue']['align']='center';}catch(a4){Y['cue']['align']='middle';}if(Y['state']='CUE',-0x1===a0['indexOf']('-->')){Y['cue']['id']=a0;continue;}case'CUE':try{F(a0,Y['cue'],Y['regionList']);}catch(a5){Y['reportOrThrowError'](a5),Y['cue']=null,Y['state']='BADCUE';continue;}Y['state']='CUETEXT';continue;case'CUETEXT':var a3=-0x1!==a0['indexOf']('-->');if(!a0||a3&&(a2=!0x0)){Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='ID';continue;}Y['cue']['text']&&(Y['cue']['text']+='\x0a'),Y['cue']['text']+=a0['replace'](/\u2028/g,'\x0a')['replace'](/u2029/g,'\x0a');continue;case'BADCUE':a0||(Y['state']='ID');continue;}}}catch(a6){Y['reportOrThrowError'](a6),'CUETEXT'===Y['state']&&Y['cue']&&Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='INITIAL'===Y['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 A(A['Errors']['BadSignature']);}catch(X){W['reportOrThrowError'](X);}return W['onflush']&&W['onflush'](),this;}},j['exports']=V;},0xb8:d=>{var f={'':0x1,'lr':0x1,'rl':0x1},g={'start':0x1,'center':0x1,'end':0x1,'left':0x1,'right':0x1,'auto':0x1,'line-left':0x1,'line-right':0x1};function h(k){return'string'==typeof k&&!!g[k['toLowerCase']()]&&k['toLowerCase']();}function j(k,q,w){this['hasBeenReset']=!0x1;var x='',z=!0x1,A=k,B=q,C=w,D=null,E='',F=!0x0,G='auto',H='start',I='auto',J='auto',K=0x64,L='center';Object['defineProperties'](this,{'id':{'enumerable':!0x0,'get':function(){return x;},'set':function(M){x=''+M;}},'pauseOnExit':{'enumerable':!0x0,'get':function(){return z;},'set':function(M){z=!!M;}},'startTime':{'enumerable':!0x0,'get':function(){return A;},'set':function(M){if('number'!=typeof M)throw new TypeError('Start\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');A=M,this['hasBeenReset']=!0x0;}},'endTime':{'enumerable':!0x0,'get':function(){return B;},'set':function(M){if('number'!=typeof M)throw new TypeError('End\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');B=M,this['hasBeenReset']=!0x0;}},'text':{'enumerable':!0x0,'get':function(){return C;},'set':function(M){C=''+M,this['hasBeenReset']=!0x0;}},'region':{'enumerable':!0x0,'get':function(){return D;},'set':function(M){D=M,this['hasBeenReset']=!0x0;}},'vertical':{'enumerable':!0x0,'get':function(){return E;},'set':function(M){var N=function(O){return'string'==typeof O&&!!f[O['toLowerCase']()]&&O['toLowerCase']();}(M);if(!0x1===N)throw new SyntaxError('Vertical:\x20an\x20invalid\x20or\x20illegal\x20direction\x20string\x20was\x20specified.');E=N,this['hasBeenReset']=!0x0;}},'snapToLines':{'enumerable':!0x0,'get':function(){return F;},'set':function(M){F=!!M,this['hasBeenReset']=!0x0;}},'line':{'enumerable':!0x0,'get':function(){return G;},'set':function(M){if('number'!=typeof M&&'auto'!==M)throw new SyntaxError('Line:\x20an\x20invalid\x20number\x20or\x20illegal\x20string\x20was\x20specified.');G=M,this['hasBeenReset']=!0x0;}},'lineAlign':{'enumerable':!0x0,'get':function(){return H;},'set':function(M){var N=h(M);N&&(H=N,this['hasBeenReset']=!0x0);}},'position':{'enumerable':!0x0,'get':function(){return I;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Position\x20must\x20be\x20between\x200\x20and\x20100.');I=M,this['hasBeenReset']=!0x0;}},'positionAlign':{'enumerable':!0x0,'get':function(){return J;},'set':function(M){var N=h(M);N&&(J=N,this['hasBeenReset']=!0x0);}},'size':{'enumerable':!0x0,'get':function(){return K;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Size\x20must\x20be\x20between\x200\x20and\x20100.');K=M,this['hasBeenReset']=!0x0;}},'align':{'enumerable':!0x0,'get':function(){return L;},'set':function(M){var N=h(M);if(!N)throw new SyntaxError('align:\x20an\x20invalid\x20or\x20illegal\x20alignment\x20string\x20was\x20specified.');L=N,this['hasBeenReset']=!0x0;}}}),this['displayState']=void 0x0;}j['prototype']['getCueAsHTML']=function(){return WebVTT['convertCueToDOMTree'](window,this['text']);},d['exports']=j;},0x1703:d=>{var f={'':!0x0,'up':!0x0};function g(h){return'number'==typeof h&&h>=0x0&&h<=0x64;}d['exports']=function(){var h=0x64,j=0x3,k=0x0,m=0x64,p=0x0,q=0x64,u='';Object['defineProperties'](this,{'width':{'enumerable':!0x0,'get':function(){return h;},'set':function(v){if(!g(v))throw new Error('Width\x20must\x20be\x20between\x200\x20and\x20100.');h=v;}},'lines':{'enumerable':!0x0,'get':function(){return j;},'set':function(v){if('number'!=typeof v)throw new TypeError('Lines\x20must\x20be\x20set\x20to\x20a\x20number.');j=v;}},'regionAnchorY':{'enumerable':!0x0,'get':function(){return m;},'set':function(v){if(!g(v))throw new Error('RegionAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');m=v;}},'regionAnchorX':{'enumerable':!0x0,'get':function(){return k;},'set':function(v){if(!g(v))throw new Error('RegionAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');k=v;}},'viewportAnchorY':{'enumerable':!0x0,'get':function(){return q;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');q=v;}},'viewportAnchorX':{'enumerable':!0x0,'get':function(){return p;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');p=v;}},'scroll':{'enumerable':!0x0,'get':function(){return u;},'set':function(v){var w=function(x){return'string'==typeof x&&!!f[x['toLowerCase']()]&&x['toLowerCase']();}(v);!0x1===w||(u=w);}}});};},0x21e:()=>{},0x208a:d=>{'use strict';d['exports']=JSON['parse']('{\x22name\x22:\x22@wscsports/blaze-web-sdk\x22,\x22version\x22:\x220.3.13\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:pr\x22:\x22webpack\x20--config\x20webpack.config.prod-pr.js\x22,\x22build:dev\x22:\x22webpack\x20--config\x20webpack.config.dev-pr.js\x22,\x22build:prod\x22:\x22webpack\x20--config\x20webpack.config.prod.js\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:\x22npx\x20playwright\x20test\x22,\x22test:debug\x22:\x22npx\x20playwright\x20test\x20--debug\x22},\x22devDependencies\x22:{\x22@playwright/test\x22:\x22^1.44.1\x22,\x22@types/animejs\x22:\x22^3.1.7\x22,\x22@types/hammerjs\x22:\x22^2.0.45\x22,\x22@types/ua-parser-js\x22:\x22^0.7.36\x22,\x22css-loader\x22:\x22^6.8.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,\x22npm-registry-fetch\x22:\x22^16.0.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,\x22typescript-declaration-webpack-plugin\x22:\x22^0.3.0\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,\x22@types/videojs-vtt.js\x22:\x22^0.15.3\x22,\x22videojs-vtt.js\x22:\x22^0.15.5\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}}');}},b={};function c(d){var f=b[d];if(void 0x0!==f)return f['exports'];var g=b[d]={'exports':{}};return a[d]['call'](g['exports'],g,g['exports'],c),g['exports'];}return c['amdO']={},c['d']=(d,f)=>{for(var g in f)c['o'](f,g)&&!c['o'](d,g)&&Object['defineProperty'](d,g,{'enumerable':!0x0,'get':f[g]});},c['g']=(function(){if('object'==typeof globalThis)return globalThis;try{return this||new Function('return\x20this')();}catch(d){if('object'==typeof window)return window;}}()),c['o']=(d,f)=>Object['prototype']['hasOwnProperty']['call'](d,f),c['r']=d=>{'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](d,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](d,'__esModule',{'value':!0x0});},c(0x1fdc);})()));
1
+ !function(a,b){'object'==typeof exports&&'object'==typeof module?module['exports']=b():'function'==typeof define&&define['amd']?define([],b):'object'==typeof exports?exports['BlazeSDK']=b():a['BlazeSDK']=b();}(window,()=>((()=>{var a={0xad8:(a0,a1,a2)=>{'use strict';a2['r'](a1),a2['d'](a1,{'default':()=>aV});var a3={'update':null,'begin':null,'loopBegin':null,'changeBegin':null,'change':null,'changeComplete':null,'loopComplete':null,'complete':null,'loop':0x1,'direction':'normal','autoplay':!0x0,'timelineOffset':0x0},a4={'duration':0x3e8,'delay':0x0,'endDelay':0x0,'easing':'easeOutElastic(1,\x20.5)','round':0x0},a5=['translateX','translateY','translateZ','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','scaleZ','skew','skewX','skewY','perspective','matrix','matrix3d'],a6={'CSS':{},'springs':{}};function a7(aW,aX,aY){return Math['min'](Math['max'](aW,aX),aY);}function a8(aW,aX){return aW['indexOf'](aX)>-0x1;}function a9(aW,aX){return aW['apply'](null,aX);}var aa={'arr':function(aW){return Array['isArray'](aW);},'obj':function(aW){return a8(Object['prototype']['toString']['call'](aW),'Object');},'pth':function(aW){return aa['obj'](aW)&&aW['hasOwnProperty']('totalLength');},'svg':function(aW){return aW instanceof SVGElement;},'inp':function(aW){return aW instanceof HTMLInputElement;},'dom':function(aW){return aW['nodeType']||aa['svg'](aW);},'str':function(aW){return'string'==typeof aW;},'fnc':function(aW){return'function'==typeof aW;},'und':function(aW){return void 0x0===aW;},'nil':function(aW){return aa['und'](aW)||null===aW;},'hex':function(aW){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i['test'](aW);},'rgb':function(aW){return/^rgb/['test'](aW);},'hsl':function(aW){return/^hsl/['test'](aW);},'col':function(aW){return aa['hex'](aW)||aa['rgb'](aW)||aa['hsl'](aW);},'key':function(aW){return!a3['hasOwnProperty'](aW)&&!a4['hasOwnProperty'](aW)&&'targets'!==aW&&'keyframes'!==aW;}};function ab(aW){var aX=/\(([^)]+)\)/['exec'](aW);return aX?aX[0x1]['split'](',')['map'](function(aY){return parseFloat(aY);}):[];}function ac(aW,aX){var aY=ab(aW),aZ=a7(aa['und'](aY[0x0])?0x1:aY[0x0],0.1,0x64),b0=a7(aa['und'](aY[0x1])?0x64:aY[0x1],0.1,0x64),b1=a7(aa['und'](aY[0x2])?0xa:aY[0x2],0.1,0x64),b2=a7(aa['und'](aY[0x3])?0x0:aY[0x3],0.1,0x64),b3=Math['sqrt'](b0/aZ),b4=b1/(0x2*Math['sqrt'](b0*aZ)),b5=b4<0x1?b3*Math['sqrt'](0x1-b4*b4):0x0,b6=b4<0x1?(b4*b3-b2)/b5:-b2+b3;function b7(b8){var b9=aX?aX*b8/0x3e8:b8;return b9=b4<0x1?Math['exp'](-b9*b4*b3)*(0x1*Math['cos'](b5*b9)+b6*Math['sin'](b5*b9)):(0x1+b6*b9)*Math['exp'](-b9*b3),0x0===b8||0x1===b8?b8:0x1-b9;}return aX?b7:function(){var b8=a6['springs'][aW];if(b8)return b8;for(var b9=0x1/0x6,ba=0x0,bb=0x0;;)if(0x1===b7(ba+=b9)){if(++bb>=0x10)break;}else bb=0x0;var bc=ba*b9*0x3e8;return a6['springs'][aW]=bc,bc;};}function ad(aW){return void 0x0===aW&&(aW=0xa),function(aX){return Math['ceil'](a7(aX,0.000001,0x1)*aW)*(0x1/aW);};}var ae,af,ag=(function(){var aW=0.1;function aX(b2,b3){return 0x1-0x3*b3+0x3*b2;}function aY(b2,b3){return 0x3*b3-0x6*b2;}function aZ(b2){return 0x3*b2;}function b0(b2,b3,b4){return((aX(b3,b4)*b2+aY(b3,b4))*b2+aZ(b3))*b2;}function b1(b2,b3,b4){return 0x3*aX(b3,b4)*b2*b2+0x2*aY(b3,b4)*b2+aZ(b3);}return function(b2,b3,b4,b5){if(0x0<=b2&&b2<=0x1&&0x0<=b4&&b4<=0x1){var b6=new Float32Array(0xb);if(b2!==b3||b4!==b5){for(var b7=0x0;b7<0xb;++b7)b6[b7]=b0(b7*aW,b2,b4);}return function(b8){return b2===b3&&b4===b5||0x0===b8||0x1===b8?b8:b0(function(b9){for(var ba=0x0,bb=0x1;0xa!==bb&&b6[bb]<=b9;++bb)ba+=aW;--bb;var bc=ba+(b9-b6[bb])/(b6[bb+0x1]-b6[bb])*aW,bd=b1(bc,b2,b4);return bd>=0.001?function(be,bf,bg,bh){for(var bi=0x0;bi<0x4;++bi){var bj=b1(bf,bg,bh);if(0x0===bj)return bf;bf-=(b0(bf,bg,bh)-be)/bj;}return bf;}(b9,bc,b2,b4):0x0===bd?bc:function(be,bf,bg,bh,bi){var bj,bk,bl=0x0;do{(bj=b0(bk=bf+(bg-bf)/0x2,bh,bi)-be)>0x0?bg=bk:bf=bk;}while(Math['abs'](bj)>1e-7&&++bl<0xa);return bk;}(b9,ba,ba+aW,b2,b4);}(b8),b3,b5);};}};}()),ah=(ae={'linear':function(){return function(aW){return aW;};}},af={'Sine':function(){return function(aW){return 0x1-Math['cos'](aW*Math['PI']/0x2);};},'Circ':function(){return function(aW){return 0x1-Math['sqrt'](0x1-aW*aW);};},'Back':function(){return function(aW){return aW*aW*(0x3*aW-0x2);};},'Bounce':function(){return function(aW){for(var aX,aY=0x4;aW<((aX=Math['pow'](0x2,--aY))-0x1)/0xb;);return 0x1/Math['pow'](0x4,0x3-aY)-7.5625*Math['pow']((0x3*aX-0x2)/0x16-aW,0x2);};},'Elastic':function(aW,aX){void 0x0===aW&&(aW=0x1),void 0x0===aX&&(aX=0.5);var aY=a7(aW,0x1,0xa),aZ=a7(aX,0.1,0x2);return function(b0){return 0x0===b0||0x1===b0?b0:-aY*Math['pow'](0x2,0xa*(b0-0x1))*Math['sin']((b0-0x1-aZ/(0x2*Math['PI'])*Math['asin'](0x1/aY))*(0x2*Math['PI'])/aZ);};}},['Quad','Cubic','Quart','Quint','Expo']['forEach'](function(aW,aX){af[aW]=function(){return function(aY){return Math['pow'](aY,aX+0x2);};};}),Object['keys'](af)['forEach'](function(aW){var aX=af[aW];ae['easeIn'+aW]=aX,ae['easeOut'+aW]=function(aY,aZ){return function(b0){return 0x1-aX(aY,aZ)(0x1-b0);};},ae['easeInOut'+aW]=function(aY,aZ){return function(b0){return b0<0.5?aX(aY,aZ)(0x2*b0)/0x2:0x1-aX(aY,aZ)(-0x2*b0+0x2)/0x2;};},ae['easeOutIn'+aW]=function(aY,aZ){return function(b0){return b0<0.5?(0x1-aX(aY,aZ)(0x1-0x2*b0))/0x2:(aX(aY,aZ)(0x2*b0-0x1)+0x1)/0x2;};};}),ae);function ai(aW,aX){if(aa['fnc'](aW))return aW;var aY=aW['split']('(')[0x0],aZ=ah[aY],b0=ab(aW);switch(aY){case'spring':return ac(aW,aX);case'cubicBezier':return a9(ag,b0);case'steps':return a9(ad,b0);default:return a9(aZ,b0);}}function aj(aW){try{return document['querySelectorAll'](aW);}catch(aX){return;}}function ak(aW,aX){for(var aY=aW['length'],aZ=arguments['length']>=0x2?arguments[0x1]:void 0x0,b0=[],b1=0x0;b1<aY;b1++)if(b1 in aW){var b2=aW[b1];aX['call'](aZ,b2,b1,aW)&&b0['push'](b2);}return b0;}function al(aW){return aW['reduce'](function(aX,aY){return aX['concat'](aa['arr'](aY)?al(aY):aY);},[]);}function am(aW){return aa['arr'](aW)?aW:(aa['str'](aW)&&(aW=aj(aW)||aW),aW instanceof NodeList||aW instanceof HTMLCollection?[]['slice']['call'](aW):[aW]);}function an(aW,aX){return aW['some'](function(aY){return aY===aX;});}function ao(aW){var aX={};for(var aY in aW)aX[aY]=aW[aY];return aX;}function ap(aW,aX){var aY=ao(aW);for(var aZ in aW)aY[aZ]=aX['hasOwnProperty'](aZ)?aX[aZ]:aW[aZ];return aY;}function aq(aW,aX){var aY=ao(aW);for(var aZ in aX)aY[aZ]=aa['und'](aW[aZ])?aX[aZ]:aW[aZ];return aY;}function ar(aW){var aX=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/['exec'](aW);if(aX)return aX[0x1];}function as(aW,aX){return aa['fnc'](aW)?aW(aX['target'],aX['id'],aX['total']):aW;}function at(aW,aX){return aW['getAttribute'](aX);}function au(aW,aX,aY){if(an([aY,'deg','rad','turn'],ar(aX)))return aX;var aZ=a6['CSS'][aX+aY];if(!aa['und'](aZ))return aZ;var b0=document['createElement'](aW['tagName']),b1=aW['parentNode']&&aW['parentNode']!==document?aW['parentNode']:document['body'];b1['appendChild'](b0),b0['style']['position']='absolute',b0['style']['width']=0x64+aY;var b2=0x64/b0['offsetWidth'];b1['removeChild'](b0);var b3=b2*parseFloat(aX);return a6['CSS'][aX+aY]=b3,b3;}function av(aW,aX,aY){if(aX in aW['style']){var aZ=aX['replace'](/([a-z])([A-Z])/g,'$1-$2')['toLowerCase'](),b0=aW['style'][aX]||getComputedStyle(aW)['getPropertyValue'](aZ)||'0';return aY?au(aW,b0,aY):b0;}}function aw(aW,aX){return aa['dom'](aW)&&!aa['inp'](aW)&&(!aa['nil'](at(aW,aX))||aa['svg'](aW)&&aW[aX])?'attribute':aa['dom'](aW)&&an(a5,aX)?'transform':aa['dom'](aW)&&'transform'!==aX&&av(aW,aX)?'css':null!=aW[aX]?'object':void 0x0;}function ax(aW){if(aa['dom'](aW)){for(var aX,aY=aW['style']['transform']||'',aZ=/(\w+)\(([^)]*)\)/g,b0=new Map();aX=aZ['exec'](aY);)b0['set'](aX[0x1],aX[0x2]);return b0;}}function ay(aW,aX,aY,aZ){switch(aw(aW,aX)){case'transform':return function(b0,b1,b2,b3){var b4=a8(b1,'scale')?0x1:0x0+function(b6){return a8(b6,'translate')||'perspective'===b6?'px':a8(b6,'rotate')||a8(b6,'skew')?'deg':void 0x0;}(b1),b5=ax(b0)['get'](b1)||b4;return b2&&(b2['transforms']['list']['set'](b1,b5),b2['transforms']['last']=b1),b3?au(b0,b5,b3):b5;}(aW,aX,aZ,aY);case'css':return av(aW,aX,aY);case'attribute':return at(aW,aX);default:return aW[aX]||0x0;}}function az(aW,aX){var aY=/^(\*=|\+=|-=)/['exec'](aW);if(!aY)return aW;var aZ=ar(aW)||0x0,b0=parseFloat(aX),b1=parseFloat(aW['replace'](aY[0x0],''));switch(aY[0x0][0x0]){case'+':return b0+b1+aZ;case'-':return b0-b1+aZ;case'*':return b0*b1+aZ;}}function aA(aW,aX){if(aa['col'](aW))return function(b0){return aa['rgb'](b0)?(b2=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g['exec'](b1=b0))?'rgba('+b2[0x1]+',1)':b1:aa['hex'](b0)?function(b3){var b4=b3['replace'](/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b6,b7,b8,b9){return b7+b7+b8+b8+b9+b9;}),b5=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](b4);return'rgba('+parseInt(b5[0x1],0x10)+','+parseInt(b5[0x2],0x10)+','+parseInt(b5[0x3],0x10)+',1)';}(b0):aa['hsl'](b0)?function(b3){var b4,b5,b6,b7=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g['exec'](b3)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g['exec'](b3),b8=parseInt(b7[0x1],0xa)/0x168,b9=parseInt(b7[0x2],0xa)/0x64,ba=parseInt(b7[0x3],0xa)/0x64,bb=b7[0x4]||0x1;function bc(bf,bg,bh){return bh<0x0&&(bh+=0x1),bh>0x1&&(bh-=0x1),bh<0x1/0x6?bf+0x6*(bg-bf)*bh:bh<0.5?bg:bh<0x2/0x3?bf+(bg-bf)*(0x2/0x3-bh)*0x6:bf;}if(0x0==b9)b4=b5=b6=ba;else{var bd=ba<0.5?ba*(0x1+b9):ba+b9-ba*b9,be=0x2*ba-bd;b4=bc(be,bd,b8+0x1/0x3),b5=bc(be,bd,b8),b6=bc(be,bd,b8-0x1/0x3);}return'rgba('+0xff*b4+','+0xff*b5+','+0xff*b6+','+bb+')';}(b0):void 0x0;var b1,b2;}(aW);if(/\s/g['test'](aW))return aW;var aY=ar(aW),aZ=aY?aW['substr'](0x0,aW['length']-aY['length']):aW;return aX?aZ+aX:aZ;}function aB(aW,aX){return Math['sqrt'](Math['pow'](aX['x']-aW['x'],0x2)+Math['pow'](aX['y']-aW['y'],0x2));}function aC(aW){for(var aX,aY=aW['points'],aZ=0x0,b0=0x0;b0<aY['numberOfItems'];b0++){var b1=aY['getItem'](b0);b0>0x0&&(aZ+=aB(aX,b1)),aX=b1;}return aZ;}function aD(aW){if(aW['getTotalLength'])return aW['getTotalLength']();switch(aW['tagName']['toLowerCase']()){case'circle':return function(aX){return 0x2*Math['PI']*at(aX,'r');}(aW);case'rect':return function(aX){return 0x2*at(aX,'width')+0x2*at(aX,'height');}(aW);case'line':return function(aX){return aB({'x':at(aX,'x1'),'y':at(aX,'y1')},{'x':at(aX,'x2'),'y':at(aX,'y2')});}(aW);case'polyline':return aC(aW);case'polygon':return function(aX){var aY=aX['points'];return aC(aX)+aB(aY['getItem'](aY['numberOfItems']-0x1),aY['getItem'](0x0));}(aW);}}function aE(aW,aX){var aY=aX||{},aZ=aY['el']||function(b5){for(var b6=b5['parentNode'];aa['svg'](b6)&&aa['svg'](b6['parentNode']);)b6=b6['parentNode'];return b6;}(aW),b0=aZ['getBoundingClientRect'](),b1=at(aZ,'viewBox'),b2=b0['width'],b3=b0['height'],b4=aY['viewBox']||(b1?b1['split']('\x20'):[0x0,0x0,b2,b3]);return{'el':aZ,'viewBox':b4,'x':b4[0x0]/0x1,'y':b4[0x1]/0x1,'w':b2,'h':b3,'vW':b4[0x2],'vH':b4[0x3]};}function aF(aW,aX,aY){function aZ(b6){void 0x0===b6&&(b6=0x0);var b7=aX+b6>=0x1?aX+b6:0x0;return aW['el']['getPointAtLength'](b7);}var b0=aE(aW['el'],aW['svg']),b1=aZ(),b2=aZ(-0x1),b3=aZ(0x1),b4=aY?0x1:b0['w']/b0['vW'],b5=aY?0x1:b0['h']/b0['vH'];switch(aW['property']){case'x':return(b1['x']-b0['x'])*b4;case'y':return(b1['y']-b0['y'])*b5;case'angle':return 0xb4*Math['atan2'](b3['y']-b2['y'],b3['x']-b2['x'])/Math['PI'];}}function aG(aW,aX){var aY=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,aZ=aA(aa['pth'](aW)?aW['totalLength']:aW,aX)+'';return{'original':aZ,'numbers':aZ['match'](aY)?aZ['match'](aY)['map'](Number):[0x0],'strings':aa['str'](aW)||aX?aZ['split'](aY):[]};}function aH(aW){return ak(aW?al(aa['arr'](aW)?aW['map'](am):am(aW)):[],function(aX,aY,aZ){return aZ['indexOf'](aX)===aY;});}function aI(aW){var aX=aH(aW);return aX['map'](function(aY,aZ){return{'target':aY,'id':aZ,'total':aX['length'],'transforms':{'list':ax(aY)}};});}function aJ(aW,aX){var aY=ao(aX);if(/^spring/['test'](aY['easing'])&&(aY['duration']=ac(aY['easing'])),aa['arr'](aW)){var aZ=aW['length'];0x2!==aZ||aa['obj'](aW[0x0])?aa['fnc'](aX['duration'])||(aY['duration']=aX['duration']/aZ):aW={'value':aW};}var b0=aa['arr'](aW)?aW:[aW];return b0['map'](function(b1,b2){var b3=aa['obj'](b1)&&!aa['pth'](b1)?b1:{'value':b1};return aa['und'](b3['delay'])&&(b3['delay']=b2?0x0:aX['delay']),aa['und'](b3['endDelay'])&&(b3['endDelay']=b2===b0['length']-0x1?aX['endDelay']:0x0),b3;})['map'](function(b1){return aq(b1,aY);});}var aK={'css':function(aW,aX,aY){return aW['style'][aX]=aY;},'attribute':function(aW,aX,aY){return aW['setAttribute'](aX,aY);},'object':function(aW,aX,aY){return aW[aX]=aY;},'transform':function(aW,aX,aY,aZ,b0){if(aZ['list']['set'](aX,aY),aX===aZ['last']||b0){var b1='';aZ['list']['forEach'](function(b2,b3){b1+=b3+'('+b2+')\x20';}),aW['style']['transform']=b1;}}};function aL(aW,aX){aI(aW)['forEach'](function(aY){for(var aZ in aX){var b0=as(aX[aZ],aY),b1=aY['target'],b2=ar(b0),b3=ay(b1,aZ,b2,aY),b4=az(aA(b0,b2||ar(b3)),b3),b5=aw(b1,aZ);aK[b5](b1,aZ,b4,aY['transforms'],!0x0);}});}function aM(aW,aX){return ak(al(aW['map'](function(aY){return aX['map'](function(aZ){return function(b0,b1){var b2=aw(b0['target'],b1['name']);if(b2){var b3=function(b5,b6){var b7;return b5['tweens']['map'](function(b8){var b9=function(bi,bj){var bk={};for(var bl in bi){var bm=as(bi[bl],bj);aa['arr'](bm)&&0x1===(bm=bm['map'](function(bn){return as(bn,bj);}))['length']&&(bm=bm[0x0]),bk[bl]=bm;}return bk['duration']=parseFloat(bk['duration']),bk['delay']=parseFloat(bk['delay']),bk;}(b8,b6),ba=b9['value'],bb=aa['arr'](ba)?ba[0x1]:ba,bc=ar(bb),bd=ay(b6['target'],b5['name'],bc,b6),be=b7?b7['to']['original']:bd,bf=aa['arr'](ba)?ba[0x0]:be,bg=ar(bf)||ar(bd),bh=bc||bg;return aa['und'](bb)&&(bb=be),b9['from']=aG(bf,bh),b9['to']=aG(az(bb,bf),bh),b9['start']=b7?b7['end']:0x0,b9['end']=b9['start']+b9['delay']+b9['duration']+b9['endDelay'],b9['easing']=ai(b9['easing'],b9['duration']),b9['isPath']=aa['pth'](ba),b9['isPathTargetInsideSVG']=b9['isPath']&&aa['svg'](b6['target']),b9['isColor']=aa['col'](b9['from']['original']),b9['isColor']&&(b9['round']=0x1),b7=b9,b9;});}(b1,b0),b4=b3[b3['length']-0x1];return{'type':b2,'property':b1['name'],'animatable':b0,'tweens':b3,'duration':b4['end'],'delay':b3[0x0]['delay'],'endDelay':b4['endDelay']};}}(aY,aZ);});})),function(aY){return!aa['und'](aY);});}function aN(aW,aX){var aY=aW['length'],aZ=function(b1){return b1['timelineOffset']?b1['timelineOffset']:0x0;},b0={};return b0['duration']=aY?Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration'];})):aX['duration'],b0['delay']=aY?Math['min']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['delay'];})):aX['delay'],b0['endDelay']=aY?b0['duration']-Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration']-b1['endDelay'];})):aX['endDelay'],b0;}var aO=0x0,aP=[],aQ=(function(){var aW;function aX(aY){for(var aZ=aP['length'],b0=0x0;b0<aZ;){var b1=aP[b0];b1['paused']?(aP['splice'](b0,0x1),aZ--):(b1['tick'](aY),b0++);}aW=b0>0x0?requestAnimationFrame(aX):void 0x0;}return'undefined'!=typeof document&&document['addEventListener']('visibilitychange',function(){aS['suspendWhenDocumentHidden']&&(aR()?aW=cancelAnimationFrame(aW):(aP['forEach'](function(aY){return aY['_onDocumentVisibility']();}),aQ()));}),function(){aW||aR()&&aS['suspendWhenDocumentHidden']||!(aP['length']>0x0)||(aW=requestAnimationFrame(aX));};}());function aR(){return!!document&&document['hidden'];}function aS(aW){void 0x0===aW&&(aW={});var aX,aY=0x0,aZ=0x0,b0=0x0,b1=0x0,b2=null;function b3(bc){var bd=window['Promise']&&new Promise(function(be){return b2=be;});return bc['finished']=bd,bd;}var b4=function(bc){var bd=ap(a3,bc),be=ap(a4,bc),bf=function(bk,bl){var bm=[],bn=bl['keyframes'];for(var bo in(bn&&(bl=aq(function(bp){for(var bq=ak(al(bp['map'](function(bu){return Object['keys'](bu);})),function(bu){return aa['key'](bu);})['reduce'](function(bu,bv){return bu['indexOf'](bv)<0x0&&bu['push'](bv),bu;},[]),br={},bs=function(bu){var bv=bq[bu];br[bv]=bp['map'](function(bw){var bx={};for(var by in bw)aa['key'](by)?by==bv&&(bx['value']=bw[by]):bx[by]=bw[by];return bx;});},bt=0x0;bt<bq['length'];bt++)bs(bt);return br;}(bn),bl)),bl))aa['key'](bo)&&bm['push']({'name':bo,'tweens':aJ(bl[bo],bk)});return bm;}(be,bc),bg=aI(bc['targets']),bh=aM(bg,bf),bi=aN(bh,be),bj=aO;return aO++,aq(bd,{'id':bj,'children':[],'animatables':bg,'animations':bh,'duration':bi['duration'],'delay':bi['delay'],'endDelay':bi['endDelay']});}(aW);function b5(){var bc=b4['direction'];'alternate'!==bc&&(b4['direction']='normal'!==bc?'normal':'reverse'),b4['reversed']=!b4['reversed'],aX['forEach'](function(bd){return bd['reversed']=b4['reversed'];});}function b6(bc){return b4['reversed']?b4['duration']-bc:bc;}function b7(){aY=0x0,aZ=b6(b4['currentTime'])*(0x1/aS['speed']);}function b8(bc,bd){bd&&bd['seek'](bc-bd['timelineOffset']);}function b9(bc){for(var bd=0x0,be=b4['animations'],bf=be['length'];bd<bf;){var bg=be[bd],bh=bg['animatable'],bi=bg['tweens'],bj=bi['length']-0x1,bk=bi[bj];bj&&(bk=ak(bi,function(bA){return bc<bA['end'];})[0x0]||bk);for(var bl=a7(bc-bk['start']-bk['delay'],0x0,bk['duration'])/bk['duration'],bm=isNaN(bl)?0x1:bk['easing'](bl),bn=bk['to']['strings'],bo=bk['round'],bp=[],bq=bk['to']['numbers']['length'],br=void 0x0,bs=0x0;bs<bq;bs++){var bt=void 0x0,bu=bk['to']['numbers'][bs],bv=bk['from']['numbers'][bs]||0x0;bt=bk['isPath']?aF(bk['value'],bm*bu,bk['isPathTargetInsideSVG']):bv+bm*(bu-bv),bo&&(bk['isColor']&&bs>0x2||(bt=Math['round'](bt*bo)/bo)),bp['push'](bt);}var bw=bn['length'];if(bw){br=bn[0x0];for(var bx=0x0;bx<bw;bx++){bn[bx];var by=bn[bx+0x1],bz=bp[bx];isNaN(bz)||(br+=by?bz+by:bz+'\x20');}}else br=bp[0x0];aK[bg['type']](bh['target'],bg['property'],br,bh['transforms']),bg['currentValue']=br,bd++;}}function ba(bc){b4[bc]&&!b4['passThrough']&&b4[bc](b4);}function bb(bc){var bd=b4['duration'],be=b4['delay'],bf=bd-b4['endDelay'],bg=b6(bc);b4['progress']=a7(bg/bd*0x64,0x0,0x64),b4['reversePlayback']=bg<b4['currentTime'],aX&&function(bh){if(b4['reversePlayback']){for(var bi=b1;bi--;)b8(bh,aX[bi]);}else{for(var bj=0x0;bj<b1;bj++)b8(bh,aX[bj]);}}(bg),!b4['began']&&b4['currentTime']>0x0&&(b4['began']=!0x0,ba('begin')),!b4['loopBegan']&&b4['currentTime']>0x0&&(b4['loopBegan']=!0x0,ba('loopBegin')),bg<=be&&0x0!==b4['currentTime']&&b9(0x0),(bg>=bf&&b4['currentTime']!==bd||!bd)&&b9(bd),bg>be&&bg<bf?(b4['changeBegan']||(b4['changeBegan']=!0x0,b4['changeCompleted']=!0x1,ba('changeBegin')),ba('change'),b9(bg)):b4['changeBegan']&&(b4['changeCompleted']=!0x0,b4['changeBegan']=!0x1,ba('changeComplete')),b4['currentTime']=a7(bg,0x0,bd),b4['began']&&ba('update'),bc>=bd&&(aZ=0x0,b4['remaining']&&!0x0!==b4['remaining']&&b4['remaining']--,b4['remaining']?(aY=b0,ba('loopComplete'),b4['loopBegan']=!0x1,'alternate'===b4['direction']&&b5()):(b4['paused']=!0x0,b4['completed']||(b4['completed']=!0x0,ba('loopComplete'),ba('complete'),!b4['passThrough']&&'Promise'in window&&(b2(),b3(b4)))));}return b3(b4),b4['reset']=function(){var bc=b4['direction'];b4['passThrough']=!0x1,b4['currentTime']=0x0,b4['progress']=0x0,b4['paused']=!0x0,b4['began']=!0x1,b4['loopBegan']=!0x1,b4['changeBegan']=!0x1,b4['completed']=!0x1,b4['changeCompleted']=!0x1,b4['reversePlayback']=!0x1,b4['reversed']='reverse'===bc,b4['remaining']=b4['loop'],aX=b4['children'];for(var bd=b1=aX['length'];bd--;)b4['children'][bd]['reset']();(b4['reversed']&&!0x0!==b4['loop']||'alternate'===bc&&0x1===b4['loop'])&&b4['remaining']++,b9(b4['reversed']?b4['duration']:0x0);},b4['_onDocumentVisibility']=b7,b4['set']=function(bc,bd){return aL(bc,bd),b4;},b4['tick']=function(bc){b0=bc,aY||(aY=b0),bb((b0+(aZ-aY))*aS['speed']);},b4['seek']=function(bc){bb(b6(bc));},b4['pause']=function(){b4['paused']=!0x0,b7();},b4['play']=function(){b4['paused']&&(b4['completed']&&b4['reset'](),b4['paused']=!0x1,aP['push'](b4),b7(),aQ());},b4['reverse']=function(){b5(),b4['completed']=!b4['reversed'],b7();},b4['restart']=function(){b4['reset'](),b4['play']();},b4['remove']=function(bc){aU(aH(bc),b4);},b4['reset'](),b4['autoplay']&&b4['play'](),b4;}function aT(aW,aX){for(var aY=aX['length'];aY--;)an(aW,aX[aY]['animatable']['target'])&&aX['splice'](aY,0x1);}function aU(aW,aX){var aY=aX['animations'],aZ=aX['children'];aT(aW,aY);for(var b0=aZ['length'];b0--;){var b1=aZ[b0],b2=b1['animations'];aT(aW,b2),b2['length']||b1['children']['length']||aZ['splice'](b0,0x1);}aY['length']||aZ['length']||aX['pause']();}aS['version']='3.2.1',aS['speed']=0x1,aS['suspendWhenDocumentHidden']=!0x0,aS['running']=aP,aS['remove']=function(aW){for(var aX=aH(aW),aY=aP['length'];aY--;)aU(aX,aP[aY]);},aS['get']=ay,aS['set']=aL,aS['convertPx']=au,aS['path']=function(aW,aX){var aY=aa['str'](aW)?aj(aW)[0x0]:aW,aZ=aX||0x64;return function(b0){return{'property':b0,'el':aY,'svg':aE(aY),'totalLength':aD(aY)*(aZ/0x64)};};},aS['setDashoffset']=function(aW){var aX=aD(aW);return aW['setAttribute']('stroke-dasharray',aX),aX;},aS['stagger']=function(aW,aX){void 0x0===aX&&(aX={});var aY=aX['direction']||'normal',aZ=aX['easing']?ai(aX['easing']):null,b0=aX['grid'],b1=aX['axis'],b2=aX['from']||0x0,b3='first'===b2,b4='center'===b2,b5='last'===b2,b6=aa['arr'](aW),b7=b6?parseFloat(aW[0x0]):parseFloat(aW),b8=b6?parseFloat(aW[0x1]):0x0,b9=ar(b6?aW[0x1]:aW)||0x0,ba=aX['start']||0x0+(b6?b7:0x0),bb=[],bc=0x0;return function(bd,be,bf){if(b3&&(b2=0x0),b4&&(b2=(bf-0x1)/0x2),b5&&(b2=bf-0x1),!bb['length']){for(var bg=0x0;bg<bf;bg++){if(b0){var bh=b4?(b0[0x0]-0x1)/0x2:b2%b0[0x0],bi=b4?(b0[0x1]-0x1)/0x2:Math['floor'](b2/b0[0x0]),bj=bh-bg%b0[0x0],bk=bi-Math['floor'](bg/b0[0x0]),bl=Math['sqrt'](bj*bj+bk*bk);'x'===b1&&(bl=-bj),'y'===b1&&(bl=-bk),bb['push'](bl);}else bb['push'](Math['abs'](b2-bg));bc=Math['max']['apply'](Math,bb);}aZ&&(bb=bb['map'](function(bm){return aZ(bm/bc)*bc;})),'reverse'===aY&&(bb=bb['map'](function(bm){return b1?bm<0x0?-0x1*bm:-bm:Math['abs'](bc-bm);}));}return ba+(b6?(b8-b7)/bc:b7)*(Math['round'](0x64*bb[be])/0x64)+b9;};},aS['timeline']=function(aW){void 0x0===aW&&(aW={});var aX=aS(aW);return aX['duration']=0x0,aX['add']=function(aY,aZ){var b0=aP['indexOf'](aX),b1=aX['children'];function b2(b8){b8['passThrough']=!0x0;}b0>-0x1&&aP['splice'](b0,0x1);for(var b3=0x0;b3<b1['length'];b3++)b2(b1[b3]);var b4=aq(aY,ap(a4,aW));b4['targets']=b4['targets']||aW['targets'];var b5=aX['duration'];b4['autoplay']=!0x1,b4['direction']=aX['direction'],b4['timelineOffset']=aa['und'](aZ)?b5:az(aZ,b5),b2(aX),aX['seek'](b4['timelineOffset']);var b6=aS(b4);b2(b6),b1['push'](b6);var b7=aN(b1,aW);return aX['delay']=b7['delay'],aX['endDelay']=b7['endDelay'],aX['duration']=b7['duration'],aX['seek'](0x0),aX['reset'](),aX['autoplay']&&aX['play'](),aX;},aX;},aS['easing']=ai,aS['penner']=ah,aS['random']=function(aW,aX){return Math['floor'](Math['random']()*(aX-aW+0x1))+aW;};const aV=aS;},0x25e1:(d,f,g)=>{var h,j=void 0x0!==g['g']?g['g']:'undefined'!=typeof window?window:{},k=g(0x21e);'undefined'!=typeof document?h=document:(h=j['__GLOBAL_DOCUMENT_CACHE@4'])||(h=j['__GLOBAL_DOCUMENT_CACHE@4']=k),d['exports']=h;},0x2670:(d,f,g)=>{var h;h='undefined'!=typeof window?window:void 0x0!==g['g']?g['g']:'undefined'!=typeof self?self:{},d['exports']=h;},0x1c00:(d,f,g)=>{var h;!function(a0,a1,a2,a3){'use strict';var a4,a5=['','webkit','Moz','MS','ms','o'],a6=a1['createElement']('div'),a7=Math['round'],a8=Math['abs'],a9=Date['now'];function aa(br,bs,bu){return setTimeout(ah(br,bu),bs);}function ab(br,bs,bu){return!!Array['isArray'](br)&&(ac(br,bu[bs],bu),!0x0);}function ac(br,bs,bu){var bv;if(br){if(br['forEach'])br['forEach'](bs,bu);else{if(br['length']!==a3){for(bv=0x0;bv<br['length'];)bs['call'](bu,br[bv],bv,br),bv++;}else{for(bv in br)br['hasOwnProperty'](bv)&&bs['call'](bu,br[bv],bv,br);}}}}function ad(br,bs,bu){var bv='DEPRECATED\x20METHOD:\x20'+bs+'\x0a'+bu+'\x20AT\x20\x0a';return function(){var bw=new Error('get-stack-trace'),bx=bw&&bw['stack']?bw['stack']['replace'](/^[^\(]+?[\n$]/gm,'')['replace'](/^\s+at\s+/gm,'')['replace'](/^Object.<anonymous>\s*\(/gm,'{anonymous}()@'):'Unknown\x20Stack\x20Trace',by=a0['console']&&(a0['console']['warn']||a0['console']['log']);return by&&by['call'](a0['console'],bv,bx),br['apply'](this,arguments);};}a4='function'!=typeof Object['assign']?function(br){if(br===a3||null===br)throw new TypeError('Cannot\x20convert\x20undefined\x20or\x20null\x20to\x20object');for(var bs=Object(br),bu=0x1;bu<arguments['length'];bu++){var bv=arguments[bu];if(bv!==a3&&null!==bv){for(var bw in bv)bv['hasOwnProperty'](bw)&&(bs[bw]=bv[bw]);}}return bs;}:Object['assign'];var ae=ad(function(br,bs,bu){for(var bv=Object['keys'](bs),bw=0x0;bw<bv['length'];)(!bu||bu&&br[bv[bw]]===a3)&&(br[bv[bw]]=bs[bv[bw]]),bw++;return br;},'extend','Use\x20`assign`.'),af=ad(function(br,bs){return ae(br,bs,!0x0);},'merge','Use\x20`assign`.');function ag(br,bs,bu){var bv,bw=bs['prototype'];(bv=br['prototype']=Object['create'](bw))['constructor']=br,bv['_super']=bw,bu&&a4(bv,bu);}function ah(br,bs){return function(){return br['apply'](bs,arguments);};}function ai(br,bs){return'function'==typeof br?br['apply'](bs&&bs[0x0]||a3,bs):br;}function aj(br,bs){return br===a3?bs:br;}function ak(br,bs,bu){ac(ao(bs),function(bv){br['addEventListener'](bv,bu,!0x1);});}function al(br,bs,bu){ac(ao(bs),function(bv){br['removeEventListener'](bv,bu,!0x1);});}function am(br,bs){for(;br;){if(br==bs)return!0x0;br=br['parentNode'];}return!0x1;}function an(br,bs){return br['indexOf'](bs)>-0x1;}function ao(br){return br['trim']()['split'](/\s+/g);}function ap(br,bs,bu){if(br['indexOf']&&!bu)return br['indexOf'](bs);for(var bv=0x0;bv<br['length'];){if(bu&&br[bv][bu]==bs||!bu&&br[bv]===bs)return bv;bv++;}return-0x1;}function aq(br){return Array['prototype']['slice']['call'](br,0x0);}function ar(br,bs,bu){for(var bv=[],bw=[],bx=0x0;bx<br['length'];){var by=bs?br[bx][bs]:br[bx];ap(bw,by)<0x0&&bv['push'](br[bx]),bw[bx]=by,bx++;}return bu&&(bv=bs?bv['sort'](function(bz,bA){return bz[bs]>bA[bs];}):bv['sort']()),bv;}function as(br,bs){for(var bu,bv,bw=bs[0x0]['toUpperCase']()+bs['slice'](0x1),bx=0x0;bx<a5['length'];){if((bv=(bu=a5[bx])?bu+bw:bs)in br)return bv;bx++;}return a3;}var au=0x1;function av(br){var bs=br['ownerDocument']||br;return bs['defaultView']||bs['parentWindow']||a0;}var aw='ontouchstart'in a0,ax=as(a0,'PointerEvent')!==a3,ay=aw&&/mobile|tablet|ip(ad|hone|od)|android/i['test'](navigator['userAgent']),az='touch',aA='mouse',aB=['x','y'],aC=['clientX','clientY'];function aD(br,bs){var bu=this;this['manager']=br,this['callback']=bs,this['element']=br['element'],this['target']=br['options']['inputTarget'],this['domHandler']=function(bv){ai(br['options']['enable'],[br])&&bu['handler'](bv);},this['init']();}function aE(br,bs,bu){var bv=bu['pointers']['length'],bw=bu['changedPointers']['length'],bx=0x1&bs&&bv-bw==0x0,by=0xc&bs&&bv-bw==0x0;bu['isFirst']=!!bx,bu['isFinal']=!!by,bx&&(br['session']={}),bu['eventType']=bs,function(bz,bA){var bB=bz['session'],bC=bA['pointers'],bD=bC['length'];bB['firstInput']||(bB['firstInput']=aF(bA)),bD>0x1&&!bB['firstMultiple']?bB['firstMultiple']=aF(bA):0x1===bD&&(bB['firstMultiple']=!0x1);var bE=bB['firstInput'],bF=bB['firstMultiple'],bG=bF?bF['center']:bE['center'],bH=bA['center']=aG(bC);bA['timeStamp']=a9(),bA['deltaTime']=bA['timeStamp']-bE['timeStamp'],bA['angle']=aK(bG,bH),bA['distance']=aJ(bG,bH),function(bM,bN){var bO=bN['center'],bP=bM['offsetDelta']||{},bQ=bM['prevDelta']||{},bR=bM['prevInput']||{};0x1!==bN['eventType']&&0x4!==bR['eventType']||(bQ=bM['prevDelta']={'x':bR['deltaX']||0x0,'y':bR['deltaY']||0x0},bP=bM['offsetDelta']={'x':bO['x'],'y':bO['y']}),bN['deltaX']=bQ['x']+(bO['x']-bP['x']),bN['deltaY']=bQ['y']+(bO['y']-bP['y']);}(bB,bA),bA['offsetDirection']=aI(bA['deltaX'],bA['deltaY']);var bI,bJ,bK=aH(bA['deltaTime'],bA['deltaX'],bA['deltaY']);bA['overallVelocityX']=bK['x'],bA['overallVelocityY']=bK['y'],bA['overallVelocity']=a8(bK['x'])>a8(bK['y'])?bK['x']:bK['y'],bA['scale']=bF?(bI=bF['pointers'],aJ((bJ=bC)[0x0],bJ[0x1],aC)/aJ(bI[0x0],bI[0x1],aC)):0x1,bA['rotation']=bF?function(bM,bN){return aK(bN[0x1],bN[0x0],aC)+aK(bM[0x1],bM[0x0],aC);}(bF['pointers'],bC):0x0,bA['maxPointers']=bB['prevInput']?bA['pointers']['length']>bB['prevInput']['maxPointers']?bA['pointers']['length']:bB['prevInput']['maxPointers']:bA['pointers']['length'],function(bM,bN){var bO,bP,bQ,bR,bS=bM['lastInterval']||bN,bT=bN['timeStamp']-bS['timeStamp'];if(0x8!=bN['eventType']&&(bT>0x19||bS['velocity']===a3)){var bU=bN['deltaX']-bS['deltaX'],bV=bN['deltaY']-bS['deltaY'],bW=aH(bT,bU,bV);bP=bW['x'],bQ=bW['y'],bO=a8(bW['x'])>a8(bW['y'])?bW['x']:bW['y'],bR=aI(bU,bV),bM['lastInterval']=bN;}else bO=bS['velocity'],bP=bS['velocityX'],bQ=bS['velocityY'],bR=bS['direction'];bN['velocity']=bO,bN['velocityX']=bP,bN['velocityY']=bQ,bN['direction']=bR;}(bB,bA);var bL=bz['element'];am(bA['srcEvent']['target'],bL)&&(bL=bA['srcEvent']['target']),bA['target']=bL;}(br,bu),br['emit']('hammer.input',bu),br['recognize'](bu),br['session']['prevInput']=bu;}function aF(br){for(var bs=[],bu=0x0;bu<br['pointers']['length'];)bs[bu]={'clientX':a7(br['pointers'][bu]['clientX']),'clientY':a7(br['pointers'][bu]['clientY'])},bu++;return{'timeStamp':a9(),'pointers':bs,'center':aG(bs),'deltaX':br['deltaX'],'deltaY':br['deltaY']};}function aG(br){var bs=br['length'];if(0x1===bs)return{'x':a7(br[0x0]['clientX']),'y':a7(br[0x0]['clientY'])};for(var bu=0x0,bv=0x0,bw=0x0;bw<bs;)bu+=br[bw]['clientX'],bv+=br[bw]['clientY'],bw++;return{'x':a7(bu/bs),'y':a7(bv/bs)};}function aH(br,bs,bu){return{'x':bs/br||0x0,'y':bu/br||0x0};}function aI(br,bs){return br===bs?0x1:a8(br)>=a8(bs)?br<0x0?0x2:0x4:bs<0x0?0x8:0x10;}function aJ(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return Math['sqrt'](bv*bv+bw*bw);}function aK(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return 0xb4*Math['atan2'](bw,bv)/Math['PI'];}aD['prototype']={'handler':function(){},'init':function(){this['evEl']&&ak(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&ak(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&ak(av(this['element']),this['evWin'],this['domHandler']);},'destroy':function(){this['evEl']&&al(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&al(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&al(av(this['element']),this['evWin'],this['domHandler']);}};var aL={'mousedown':0x1,'mousemove':0x2,'mouseup':0x4};function aM(){this['evEl']='mousedown',this['evWin']='mousemove\x20mouseup',this['pressed']=!0x1,aD['apply'](this,arguments);}ag(aM,aD,{'handler':function(br){var bs=aL[br['type']];0x1&bs&&0x0===br['button']&&(this['pressed']=!0x0),0x2&bs&&0x1!==br['which']&&(bs=0x4),this['pressed']&&(0x4&bs&&(this['pressed']=!0x1),this['callback'](this['manager'],bs,{'pointers':[br],'changedPointers':[br],'pointerType':aA,'srcEvent':br}));}});var aN={'pointerdown':0x1,'pointermove':0x2,'pointerup':0x4,'pointercancel':0x8,'pointerout':0x8},aO={0x2:az,0x3:'pen',0x4:aA,0x5:'kinect'},aP='pointerdown',aQ='pointermove\x20pointerup\x20pointercancel';function aR(){this['evEl']=aP,this['evWin']=aQ,aD['apply'](this,arguments),this['store']=this['manager']['session']['pointerEvents']=[];}a0['MSPointerEvent']&&!a0['PointerEvent']&&(aP='MSPointerDown',aQ='MSPointerMove\x20MSPointerUp\x20MSPointerCancel'),ag(aR,aD,{'handler':function(br){var bs=this['store'],bu=!0x1,bv=br['type']['toLowerCase']()['replace']('ms',''),bw=aN[bv],bx=aO[br['pointerType']]||br['pointerType'],by=bx==az,bz=ap(bs,br['pointerId'],'pointerId');0x1&bw&&(0x0===br['button']||by)?bz<0x0&&(bs['push'](br),bz=bs['length']-0x1):0xc&bw&&(bu=!0x0),bz<0x0||(bs[bz]=br,this['callback'](this['manager'],bw,{'pointers':bs,'changedPointers':[br],'pointerType':bx,'srcEvent':br}),bu&&bs['splice'](bz,0x1));}});var aS={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aT(){this['evTarget']='touchstart',this['evWin']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['started']=!0x1,aD['apply'](this,arguments);}function aU(br,bs){var bu=aq(br['touches']),bv=aq(br['changedTouches']);return 0xc&bs&&(bu=ar(bu['concat'](bv),'identifier',!0x0)),[bu,bv];}ag(aT,aD,{'handler':function(br){var bs=aS[br['type']];if(0x1===bs&&(this['started']=!0x0),this['started']){var bu=aU['call'](this,br,bs);0xc&bs&&bu[0x0]['length']-bu[0x1]['length']==0x0&&(this['started']=!0x1),this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}});var aV={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aW(){this['evTarget']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['targetIds']={},aD['apply'](this,arguments);}function aX(br,bs){var bu=aq(br['touches']),bv=this['targetIds'];if(0x3&bs&&0x1===bu['length'])return bv[bu[0x0]['identifier']]=!0x0,[bu,bu];var bw,bx,by=aq(br['changedTouches']),bz=[],bA=this['target'];if(bx=bu['filter'](function(bB){return am(bB['target'],bA);}),0x1===bs){for(bw=0x0;bw<bx['length'];)bv[bx[bw]['identifier']]=!0x0,bw++;}for(bw=0x0;bw<by['length'];)bv[by[bw]['identifier']]&&bz['push'](by[bw]),0xc&bs&&delete bv[by[bw]['identifier']],bw++;return bz['length']?[ar(bx['concat'](bz),'identifier',!0x0),bz]:void 0x0;}function aY(){aD['apply'](this,arguments);var br=ah(this['handler'],this);this['touch']=new aW(this['manager'],br),this['mouse']=new aM(this['manager'],br),this['primaryTouch']=null,this['lastTouches']=[];}function aZ(br,bs){0x1&br?(this['primaryTouch']=bs['changedPointers'][0x0]['identifier'],b0['call'](this,bs)):0xc&br&&b0['call'](this,bs);}function b0(br){var bs=br['changedPointers'][0x0];if(bs['identifier']===this['primaryTouch']){var bu={'x':bs['clientX'],'y':bs['clientY']};this['lastTouches']['push'](bu);var bv=this['lastTouches'];setTimeout(function(){var bw=bv['indexOf'](bu);bw>-0x1&&bv['splice'](bw,0x1);},0x9c4);}}function b1(br){for(var bs=br['srcEvent']['clientX'],bu=br['srcEvent']['clientY'],bv=0x0;bv<this['lastTouches']['length'];bv++){var bw=this['lastTouches'][bv],bx=Math['abs'](bs-bw['x']),by=Math['abs'](bu-bw['y']);if(bx<=0x19&&by<=0x19)return!0x0;}return!0x1;}ag(aW,aD,{'handler':function(br){var bs=aV[br['type']],bu=aX['call'](this,br,bs);bu&&this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}),ag(aY,aD,{'handler':function(br,bs,bu){var bv=bu['pointerType']==az,bw=bu['pointerType']==aA;if(!(bw&&bu['sourceCapabilities']&&bu['sourceCapabilities']['firesTouchEvents'])){if(bv)aZ['call'](this,bs,bu);else{if(bw&&b1['call'](this,bu))return;}this['callback'](br,bs,bu);}},'destroy':function(){this['touch']['destroy'](),this['mouse']['destroy']();}});var b2=as(a6['style'],'touchAction'),b3=b2!==a3,b4='compute',b5='auto',b6='manipulation',b7='none',b8='pan-x',b9='pan-y',ba=(function(){if(!b3)return!0x1;var br={},bs=a0['CSS']&&a0['CSS']['supports'];return['auto','manipulation','pan-y','pan-x','pan-x\x20pan-y','none']['forEach'](function(bu){br[bu]=!bs||a0['CSS']['supports']('touch-action',bu);}),br;}());function bb(br,bs){this['manager']=br,this['set'](bs);}bb['prototype']={'set':function(br){br==b4&&(br=this['compute']()),b3&&this['manager']['element']['style']&&ba[br]&&(this['manager']['element']['style'][b2]=br),this['actions']=br['toLowerCase']()['trim']();},'update':function(){this['set'](this['manager']['options']['touchAction']);},'compute':function(){var br=[];return ac(this['manager']['recognizers'],function(bs){ai(bs['options']['enable'],[bs])&&(br=br['concat'](bs['getTouchAction']()));}),function(bs){if(an(bs,b7))return b7;var bu=an(bs,b8),bv=an(bs,b9);return bu&&bv?b7:bu||bv?bu?b8:b9:an(bs,b6)?b6:b5;}(br['join']('\x20'));},'preventDefaults':function(br){var bs=br['srcEvent'],bu=br['offsetDirection'];if(this['manager']['session']['prevented'])bs['preventDefault']();else{var bv=this['actions'],bw=an(bv,b7)&&!ba[b7],bx=an(bv,b9)&&!ba[b9],by=an(bv,b8)&&!ba[b8];if(bw){var bz=0x1===br['pointers']['length'],bA=br['distance']<0x2,bB=br['deltaTime']<0xfa;if(bz&&bA&&bB)return;}if(!by||!bx)return bw||bx&&0x6&bu||by&&0x18&bu?this['preventSrc'](bs):void 0x0;}},'preventSrc':function(br){this['manager']['session']['prevented']=!0x0,br['preventDefault']();}};var bc=0x20;function bd(br){this['options']=a4({},this['defaults'],br||{}),this['id']=au++,this['manager']=null,this['options']['enable']=aj(this['options']['enable'],!0x0),this['state']=0x1,this['simultaneous']={},this['requireFail']=[];}function be(br){return 0x10&br?'cancel':0x8&br?'end':0x4&br?'move':0x2&br?'start':'';}function bf(br){return 0x10==br?'down':0x8==br?'up':0x2==br?'left':0x4==br?'right':'';}function bg(br,bs){var bu=bs['manager'];return bu?bu['get'](br):br;}function bh(){bd['apply'](this,arguments);}function bi(){bh['apply'](this,arguments),this['pX']=null,this['pY']=null;}function bj(){bh['apply'](this,arguments);}function bk(){bd['apply'](this,arguments),this['_timer']=null,this['_input']=null;}function bl(){bh['apply'](this,arguments);}function bm(){bh['apply'](this,arguments);}function bn(){bd['apply'](this,arguments),this['pTime']=!0x1,this['pCenter']=!0x1,this['_timer']=null,this['_input']=null,this['count']=0x0;}function bo(br,bs){return(bs=bs||{})['recognizers']=aj(bs['recognizers'],bo['defaults']['preset']),new bp(br,bs);}function bp(br,bs){this['options']=a4({},bo['defaults'],bs||{}),this['options']['inputTarget']=this['options']['inputTarget']||br,this['handlers']={},this['session']={},this['recognizers']=[],this['oldCssProps']={},this['element']=br,this['input']=new(this['options']['inputClass']||(ax?aR:ay?aW:aw?aY:aM))(this,aE),this['touchAction']=new bb(this,this['options']['touchAction']),bq(this,!0x0),ac(this['options']['recognizers'],function(bu){var bv=this['add'](new bu[0x0](bu[0x1]));bu[0x2]&&bv['recognizeWith'](bu[0x2]),bu[0x3]&&bv['requireFailure'](bu[0x3]);},this);}function bq(br,bs){var bu,bv=br['element'];bv['style']&&(ac(br['options']['cssProps'],function(bw,bx){bu=as(bv['style'],bx),bs?(br['oldCssProps'][bu]=bv['style'][bu],bv['style'][bu]=bw):bv['style'][bu]=br['oldCssProps'][bu]||'';}),bs||(br['oldCssProps']={}));}bd['prototype']={'defaults':{},'set':function(br){return a4(this['options'],br),this['manager']&&this['manager']['touchAction']['update'](),this;},'recognizeWith':function(br){if(ab(br,'recognizeWith',this))return this;var bs=this['simultaneous'];return bs[(br=bg(br,this))['id']]||(bs[br['id']]=br,br['recognizeWith'](this)),this;},'dropRecognizeWith':function(br){return ab(br,'dropRecognizeWith',this)||(br=bg(br,this),delete this['simultaneous'][br['id']]),this;},'requireFailure':function(br){if(ab(br,'requireFailure',this))return this;var bs=this['requireFail'];return-0x1===ap(bs,br=bg(br,this))&&(bs['push'](br),br['requireFailure'](this)),this;},'dropRequireFailure':function(br){if(ab(br,'dropRequireFailure',this))return this;br=bg(br,this);var bs=ap(this['requireFail'],br);return bs>-0x1&&this['requireFail']['splice'](bs,0x1),this;},'hasRequireFailures':function(){return this['requireFail']['length']>0x0;},'canRecognizeWith':function(br){return!!this['simultaneous'][br['id']];},'emit':function(br){var bs=this,bu=this['state'];function bv(bw){bs['manager']['emit'](bw,br);}bu<0x8&&bv(bs['options']['event']+be(bu)),bv(bs['options']['event']),br['additionalEvent']&&bv(br['additionalEvent']),bu>=0x8&&bv(bs['options']['event']+be(bu));},'tryEmit':function(br){if(this['canEmit']())return this['emit'](br);this['state']=bc;},'canEmit':function(){for(var br=0x0;br<this['requireFail']['length'];){if(!(0x21&this['requireFail'][br]['state']))return!0x1;br++;}return!0x0;},'recognize':function(br){var bs=a4({},br);if(!ai(this['options']['enable'],[this,bs]))return this['reset'](),void(this['state']=bc);0x38&this['state']&&(this['state']=0x1),this['state']=this['process'](bs),0x1e&this['state']&&this['tryEmit'](bs);},'process':function(br){},'getTouchAction':function(){},'reset':function(){}},ag(bh,bd,{'defaults':{'pointers':0x1},'attrTest':function(br){var bs=this['options']['pointers'];return 0x0===bs||br['pointers']['length']===bs;},'process':function(br){var bs=this['state'],bu=br['eventType'],bv=0x6&bs,bw=this['attrTest'](br);return bv&&(0x8&bu||!bw)?0x10|bs:bv||bw?0x4&bu?0x8|bs:0x2&bs?0x4|bs:0x2:bc;}}),ag(bi,bh,{'defaults':{'event':'pan','threshold':0xa,'pointers':0x1,'direction':0x1e},'getTouchAction':function(){var br=this['options']['direction'],bs=[];return 0x6&br&&bs['push'](b9),0x18&br&&bs['push'](b8),bs;},'directionTest':function(br){var bs=this['options'],bu=!0x0,bv=br['distance'],bw=br['direction'],bx=br['deltaX'],by=br['deltaY'];return bw&bs['direction']||(0x6&bs['direction']?(bw=0x0===bx?0x1:bx<0x0?0x2:0x4,bu=bx!=this['pX'],bv=Math['abs'](br['deltaX'])):(bw=0x0===by?0x1:by<0x0?0x8:0x10,bu=by!=this['pY'],bv=Math['abs'](br['deltaY']))),br['direction']=bw,bu&&bv>bs['threshold']&&bw&bs['direction'];},'attrTest':function(br){return bh['prototype']['attrTest']['call'](this,br)&&(0x2&this['state']||!(0x2&this['state'])&&this['directionTest'](br));},'emit':function(br){this['pX']=br['deltaX'],this['pY']=br['deltaY'];var bs=bf(br['direction']);bs&&(br['additionalEvent']=this['options']['event']+bs),this['_super']['emit']['call'](this,br);}}),ag(bj,bh,{'defaults':{'event':'pinch','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['scale']-0x1)>this['options']['threshold']||0x2&this['state']);},'emit':function(br){if(0x1!==br['scale']){var bs=br['scale']<0x1?'in':'out';br['additionalEvent']=this['options']['event']+bs;}this['_super']['emit']['call'](this,br);}}),ag(bk,bd,{'defaults':{'event':'press','pointers':0x1,'time':0xfb,'threshold':0x9},'getTouchAction':function(){return[b5];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']>bs['time'];if(this['_input']=br,!bv||!bu||0xc&br['eventType']&&!bw)this['reset']();else{if(0x1&br['eventType'])this['reset'](),this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['time'],this);else{if(0x4&br['eventType'])return 0x8;}}return bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(br){0x8===this['state']&&(br&&0x4&br['eventType']?this['manager']['emit'](this['options']['event']+'up',br):(this['_input']['timeStamp']=a9(),this['manager']['emit'](this['options']['event'],this['_input'])));}}),ag(bl,bh,{'defaults':{'event':'rotate','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['rotation'])>this['options']['threshold']||0x2&this['state']);}}),ag(bm,bh,{'defaults':{'event':'swipe','threshold':0xa,'velocity':0.3,'direction':0x1e,'pointers':0x1},'getTouchAction':function(){return bi['prototype']['getTouchAction']['call'](this);},'attrTest':function(br){var bs,bu=this['options']['direction'];return 0x1e&bu?bs=br['overallVelocity']:0x6&bu?bs=br['overallVelocityX']:0x18&bu&&(bs=br['overallVelocityY']),this['_super']['attrTest']['call'](this,br)&&bu&br['offsetDirection']&&br['distance']>this['options']['threshold']&&br['maxPointers']==this['options']['pointers']&&a8(bs)>this['options']['velocity']&&0x4&br['eventType'];},'emit':function(br){var bs=bf(br['offsetDirection']);bs&&this['manager']['emit'](this['options']['event']+bs,br),this['manager']['emit'](this['options']['event'],br);}}),ag(bn,bd,{'defaults':{'event':'tap','pointers':0x1,'taps':0x1,'interval':0x12c,'time':0xfa,'threshold':0x9,'posThreshold':0xa},'getTouchAction':function(){return[b6];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']<bs['time'];if(this['reset'](),0x1&br['eventType']&&0x0===this['count'])return this['failTimeout']();if(bv&&bw&&bu){if(0x4!=br['eventType'])return this['failTimeout']();var bx=!this['pTime']||br['timeStamp']-this['pTime']<bs['interval'],by=!this['pCenter']||aJ(this['pCenter'],br['center'])<bs['posThreshold'];if(this['pTime']=br['timeStamp'],this['pCenter']=br['center'],by&&bx?this['count']+=0x1:this['count']=0x1,this['_input']=br,0x0==this['count']%bs['taps'])return this['hasRequireFailures']()?(this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['interval'],this),0x2):0x8;}return bc;},'failTimeout':function(){return this['_timer']=aa(function(){this['state']=bc;},this['options']['interval'],this),bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(){0x8==this['state']&&(this['_input']['tapCount']=this['count'],this['manager']['emit'](this['options']['event'],this['_input']));}}),bo['VERSION']='2.0.7',bo['defaults']={'domEvents':!0x1,'touchAction':b4,'enable':!0x0,'inputTarget':null,'inputClass':null,'preset':[[bl,{'enable':!0x1}],[bj,{'enable':!0x1},['rotate']],[bm,{'direction':0x6}],[bi,{'direction':0x6},['swipe']],[bn],[bn,{'event':'doubletap','taps':0x2},['tap']],[bk]],'cssProps':{'userSelect':'none','touchSelect':'none','touchCallout':'none','contentZooming':'none','userDrag':'none','tapHighlightColor':'rgba(0,0,0,0)'}},bp['prototype']={'set':function(br){return a4(this['options'],br),br['touchAction']&&this['touchAction']['update'](),br['inputTarget']&&(this['input']['destroy'](),this['input']['target']=br['inputTarget'],this['input']['init']()),this;},'stop':function(br){this['session']['stopped']=br?0x2:0x1;},'recognize':function(br){var bs=this['session'];if(!bs['stopped']){var bu;this['touchAction']['preventDefaults'](br);var bv=this['recognizers'],bw=bs['curRecognizer'];(!bw||bw&&0x8&bw['state'])&&(bw=bs['curRecognizer']=null);for(var bx=0x0;bx<bv['length'];)bu=bv[bx],0x2===bs['stopped']||bw&&bu!=bw&&!bu['canRecognizeWith'](bw)?bu['reset']():bu['recognize'](br),!bw&&0xe&bu['state']&&(bw=bs['curRecognizer']=bu),bx++;}},'get':function(br){if(br instanceof bd)return br;for(var bs=this['recognizers'],bu=0x0;bu<bs['length'];bu++)if(bs[bu]['options']['event']==br)return bs[bu];return null;},'add':function(br){if(ab(br,'add',this))return this;var bs=this['get'](br['options']['event']);return bs&&this['remove'](bs),this['recognizers']['push'](br),br['manager']=this,this['touchAction']['update'](),br;},'remove':function(br){if(ab(br,'remove',this))return this;if(br=this['get'](br)){var bs=this['recognizers'],bu=ap(bs,br);-0x1!==bu&&(bs['splice'](bu,0x1),this['touchAction']['update']());}return this;},'on':function(br,bs){if(br!==a3&&bs!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bu[bv]=bu[bv]||[],bu[bv]['push'](bs);}),this;}},'off':function(br,bs){if(br!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bs?bu[bv]&&bu[bv]['splice'](ap(bu[bv],bs),0x1):delete bu[bv];}),this;}},'emit':function(br,bs){this['options']['domEvents']&&function(bw,bx){var by=a1['createEvent']('Event');by['initEvent'](bw,!0x0,!0x0),by['gesture']=bx,bx['target']['dispatchEvent'](by);}(br,bs);var bu=this['handlers'][br]&&this['handlers'][br]['slice']();if(bu&&bu['length']){bs['type']=br,bs['preventDefault']=function(){bs['srcEvent']['preventDefault']();};for(var bv=0x0;bv<bu['length'];)bu[bv](bs),bv++;}},'destroy':function(){this['element']&&bq(this,!0x1),this['handlers']={},this['session']={},this['input']['destroy'](),this['element']=null;}},a4(bo,{'INPUT_START':0x1,'INPUT_MOVE':0x2,'INPUT_END':0x4,'INPUT_CANCEL':0x8,'STATE_POSSIBLE':0x1,'STATE_BEGAN':0x2,'STATE_CHANGED':0x4,'STATE_ENDED':0x8,'STATE_RECOGNIZED':0x8,'STATE_CANCELLED':0x10,'STATE_FAILED':bc,'DIRECTION_NONE':0x1,'DIRECTION_LEFT':0x2,'DIRECTION_RIGHT':0x4,'DIRECTION_UP':0x8,'DIRECTION_DOWN':0x10,'DIRECTION_HORIZONTAL':0x6,'DIRECTION_VERTICAL':0x18,'DIRECTION_ALL':0x1e,'Manager':bp,'Input':aD,'TouchAction':bb,'TouchInput':aW,'MouseInput':aM,'PointerEventInput':aR,'TouchMouseInput':aY,'SingleTouchInput':aT,'Recognizer':bd,'AttrRecognizer':bh,'Tap':bn,'Pan':bi,'Swipe':bm,'Pinch':bj,'Rotate':bl,'Press':bk,'on':ak,'off':al,'each':ac,'merge':af,'extend':ae,'assign':a4,'inherit':ag,'bindFn':ah,'prefixed':as}),(void 0x0!==a0?a0:'undefined'!=typeof self?self:{})['Hammer']=bo,(h=function(){return bo;}['call'](f,g,f,d))===a3||(d['exports']=h);}(window,document);},0x1407:()=>{!(function(){'use strict';if('object'==typeof window){if('IntersectionObserver'in window&&'IntersectionObserverEntry'in window&&'intersectionRatio'in window['IntersectionObserverEntry']['prototype'])'isIntersecting'in window['IntersectionObserverEntry']['prototype']||Object['defineProperty'](window['IntersectionObserverEntry']['prototype'],'isIntersecting',{'get':function(){return this['intersectionRatio']>0x0;}});else{var f=(function(){for(var F=window['document'],G=q(F);G;)G=q(F=G['ownerDocument']);return F;}()),j=[],k=null,m=null;w['prototype']['THROTTLE_TIMEOUT']=0x64,w['prototype']['POLL_INTERVAL']=null,w['prototype']['USE_MUTATION_OBSERVER']=!0x0,w['_setupCrossOriginUpdater']=function(){return k||(k=function(F,G){m=F&&G?B(F,G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0},j['forEach'](function(H){H['_checkForIntersections']();});}),k;},w['_resetCrossOriginUpdater']=function(){k=null,m=null;},w['prototype']['observe']=function(F){if(!this['_observationTargets']['some'](function(G){return G['element']==F;})){if(!F||0x1!=F['nodeType'])throw new Error('target\x20must\x20be\x20an\x20Element');this['_registerInstance'](),this['_observationTargets']['push']({'element':F,'entry':null}),this['_monitorIntersections'](F['ownerDocument']),this['_checkForIntersections']();}},w['prototype']['unobserve']=function(F){this['_observationTargets']=this['_observationTargets']['filter'](function(G){return G['element']!=F;}),this['_unmonitorIntersections'](F['ownerDocument']),0x0==this['_observationTargets']['length']&&this['_unregisterInstance']();},w['prototype']['disconnect']=function(){this['_observationTargets']=[],this['_unmonitorAllIntersections'](),this['_unregisterInstance']();},w['prototype']['takeRecords']=function(){var F=this['_queuedEntries']['slice']();return this['_queuedEntries']=[],F;},w['prototype']['_initThresholds']=function(F){var G=F||[0x0];return Array['isArray'](G)||(G=[G]),G['sort']()['filter'](function(H,I,J){if('number'!=typeof H||isNaN(H)||H<0x0||H>0x1)throw new Error('threshold\x20must\x20be\x20a\x20number\x20between\x200\x20and\x201\x20inclusively');return H!==J[I-0x1];});},w['prototype']['_parseRootMargin']=function(F){var G=(F||'0px')['split'](/\s+/)['map'](function(H){var I=/^(-?\d*\.?\d+)(px|%)$/['exec'](H);if(!I)throw new Error('rootMargin\x20must\x20be\x20specified\x20in\x20pixels\x20or\x20percent');return{'value':parseFloat(I[0x1]),'unit':I[0x2]};});return G[0x1]=G[0x1]||G[0x0],G[0x2]=G[0x2]||G[0x0],G[0x3]=G[0x3]||G[0x1],G;},w['prototype']['_monitorIntersections']=function(F){var G=F['defaultView'];if(G&&-0x1==this['_monitoringDocuments']['indexOf'](F)){var H=this['_checkForIntersections'],I=null,J=null;this['POLL_INTERVAL']?I=G['setInterval'](H,this['POLL_INTERVAL']):(x(G,'resize',H,!0x0),x(F,'scroll',H,!0x0),this['USE_MUTATION_OBSERVER']&&'MutationObserver'in G&&(J=new G['MutationObserver'](H))['observe'](F,{'attributes':!0x0,'childList':!0x0,'characterData':!0x0,'subtree':!0x0})),this['_monitoringDocuments']['push'](F),this['_monitoringUnsubscribes']['push'](function(){var M=F['defaultView'];M&&(I&&M['clearInterval'](I),y(M,'resize',H,!0x0)),y(F,'scroll',H,!0x0),J&&J['disconnect']();});var K=this['root']&&(this['root']['ownerDocument']||this['root'])||f;if(F!=K){var L=q(F);L&&this['_monitorIntersections'](L['ownerDocument']);}}},w['prototype']['_unmonitorIntersections']=function(F){var G=this['_monitoringDocuments']['indexOf'](F);if(-0x1!=G){var H=this['root']&&(this['root']['ownerDocument']||this['root'])||f,I=this['_observationTargets']['some'](function(L){var M=L['element']['ownerDocument'];if(M==F)return!0x0;for(;M&&M!=H;){var N=q(M);if((M=N&&N['ownerDocument'])==F)return!0x0;}return!0x1;});if(!I){var J=this['_monitoringUnsubscribes'][G];if(this['_monitoringDocuments']['splice'](G,0x1),this['_monitoringUnsubscribes']['splice'](G,0x1),J(),F!=H){var K=q(F);K&&this['_unmonitorIntersections'](K['ownerDocument']);}}}},w['prototype']['_unmonitorAllIntersections']=function(){var F=this['_monitoringUnsubscribes']['slice'](0x0);this['_monitoringDocuments']['length']=0x0,this['_monitoringUnsubscribes']['length']=0x0;for(var G=0x0;G<F['length'];G++)F[G]();},w['prototype']['_checkForIntersections']=function(){if(this['root']||!k||m){var F=this['_rootIsInDom'](),G=F?this['_getRootRect']():{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};this['_observationTargets']['forEach'](function(H){var I=H['element'],J=z(I),K=this['_rootContainsTarget'](I),L=H['entry'],M=F&&K&&this['_computeTargetAndRootIntersection'](I,J,G),N=null;this['_rootContainsTarget'](I)?k&&!this['root']||(N=G):N={'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};var O=H['entry']=new v({'time':window['performance']&&performance['now']&&performance['now'](),'target':I,'boundingClientRect':J,'rootBounds':N,'intersectionRect':M});L?F&&K?this['_hasCrossedThreshold'](L,O)&&this['_queuedEntries']['push'](O):L&&L['isIntersecting']&&this['_queuedEntries']['push'](O):this['_queuedEntries']['push'](O);},this),this['_queuedEntries']['length']&&this['_callback'](this['takeRecords'](),this);}},w['prototype']['_computeTargetAndRootIntersection']=function(F,G,H){if('none'!=window['getComputedStyle'](F)['display']){for(var J,K,L,N,O,P,Q,R,T=G,U=D(F),V=!0x1;!V&&U;){var W=null,X=0x1==U['nodeType']?window['getComputedStyle'](U):{};if('none'==X['display'])return null;if(U==this['root']||0x9==U['nodeType']){if(V=!0x0,U==this['root']||U==f)k&&!this['root']?!m||0x0==m['width']&&0x0==m['height']?(U=null,W=null,T=null):W=m:W=H;else{var Y=D(U),Z=Y&&z(Y),a0=Y&&this['_computeTargetAndRootIntersection'](Y,Z,H);Z&&a0?(U=Y,W=B(Z,a0)):(U=null,T=null);}}else{var a1=U['ownerDocument'];U!=a1['body']&&U!=a1['documentElement']&&'visible'!=X['overflow']&&(W=z(U));}if(W&&(J=W,K=T,void 0x0,void 0x0,void 0x0,void 0x0,void 0x0,void 0x0,L=Math['max'](J['top'],K['top']),N=Math['min'](J['bottom'],K['bottom']),O=Math['max'](J['left'],K['left']),R=N-L,T=(Q=(P=Math['min'](J['right'],K['right']))-O)>=0x0&&R>=0x0&&{'top':L,'bottom':N,'left':O,'right':P,'width':Q,'height':R}||null),!T)break;U=U&&D(U);}return T;}},w['prototype']['_getRootRect']=function(){var F;if(this['root']&&!E(this['root']))F=z(this['root']);else{var G=E(this['root'])?this['root']:f,H=G['documentElement'],I=G['body'];F={'top':0x0,'left':0x0,'right':H['clientWidth']||I['clientWidth'],'width':H['clientWidth']||I['clientWidth'],'bottom':H['clientHeight']||I['clientHeight'],'height':H['clientHeight']||I['clientHeight']};}return this['_expandRectByRootMargin'](F);},w['prototype']['_expandRectByRootMargin']=function(F){var G=this['_rootMarginValues']['map'](function(I,J){return'px'==I['unit']?I['value']:I['value']*(J%0x2?F['width']:F['height'])/0x64;}),H={'top':F['top']-G[0x0],'right':F['right']+G[0x1],'bottom':F['bottom']+G[0x2],'left':F['left']-G[0x3]};return H['width']=H['right']-H['left'],H['height']=H['bottom']-H['top'],H;},w['prototype']['_hasCrossedThreshold']=function(F,G){var H=F&&F['isIntersecting']?F['intersectionRatio']||0x0:-0x1,I=G['isIntersecting']?G['intersectionRatio']||0x0:-0x1;if(H!==I)for(var J=0x0;J<this['thresholds']['length'];J++){var K=this['thresholds'][J];if(K==H||K==I||K<H!=K<I)return!0x0;}},w['prototype']['_rootIsInDom']=function(){return!this['root']||C(f,this['root']);},w['prototype']['_rootContainsTarget']=function(F){var G=this['root']&&(this['root']['ownerDocument']||this['root'])||f;return C(G,F)&&(!this['root']||G==F['ownerDocument']);},w['prototype']['_registerInstance']=function(){j['indexOf'](this)<0x0&&j['push'](this);},w['prototype']['_unregisterInstance']=function(){var F=j['indexOf'](this);-0x1!=F&&j['splice'](F,0x1);},window['IntersectionObserver']=w,window['IntersectionObserverEntry']=v;}}function q(F){try{return F['defaultView']&&F['defaultView']['frameElement']||null;}catch(G){return null;}}function v(F){this['time']=F['time'],this['target']=F['target'],this['rootBounds']=A(F['rootBounds']),this['boundingClientRect']=A(F['boundingClientRect']),this['intersectionRect']=A(F['intersectionRect']||{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0}),this['isIntersecting']=!!F['intersectionRect'];var G=this['boundingClientRect'],H=G['width']*G['height'],I=this['intersectionRect'],J=I['width']*I['height'];this['intersectionRatio']=H?Number((J/H)['toFixed'](0x4)):this['isIntersecting']?0x1:0x0;}function w(F,G){var H,I,J,K=G||{};if('function'!=typeof F)throw new Error('callback\x20must\x20be\x20a\x20function');if(K['root']&&0x1!=K['root']['nodeType']&&0x9!=K['root']['nodeType'])throw new Error('root\x20must\x20be\x20a\x20Document\x20or\x20Element');this['_checkForIntersections']=(H=this['_checkForIntersections']['bind'](this),I=this['THROTTLE_TIMEOUT'],J=null,function(){J||(J=setTimeout(function(){H(),J=null;},I));}),this['_callback']=F,this['_observationTargets']=[],this['_queuedEntries']=[],this['_rootMarginValues']=this['_parseRootMargin'](K['rootMargin']),this['thresholds']=this['_initThresholds'](K['threshold']),this['root']=K['root']||null,this['rootMargin']=this['_rootMarginValues']['map'](function(L){return L['value']+L['unit'];})['join']('\x20'),this['_monitoringDocuments']=[],this['_monitoringUnsubscribes']=[];}function x(F,G,H,I){'function'==typeof F['addEventListener']?F['addEventListener'](G,H,I||!0x1):'function'==typeof F['attachEvent']&&F['attachEvent']('on'+G,H);}function y(F,G,H,I){'function'==typeof F['removeEventListener']?F['removeEventListener'](G,H,I||!0x1):'function'==typeof F['detachEvent']&&F['detachEvent']('on'+G,H);}function z(F){var G;try{G=F['getBoundingClientRect']();}catch(H){}return G?(G['width']&&G['height']||(G={'top':G['top'],'right':G['right'],'bottom':G['bottom'],'left':G['left'],'width':G['right']-G['left'],'height':G['bottom']-G['top']}),G):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};}function A(F){return!F||'x'in F?F:{'top':F['top'],'y':F['top'],'bottom':F['bottom'],'left':F['left'],'x':F['left'],'right':F['right'],'width':F['width'],'height':F['height']};}function B(F,G){var H=G['top']-F['top'],I=G['left']-F['left'];return{'top':H,'left':I,'height':G['height'],'width':G['width'],'bottom':H+G['height'],'right':I+G['width']};}function C(F,G){for(var H=G;H;){if(H==F)return!0x0;H=D(H);}return!0x1;}function D(F){var G=F['parentNode'];return 0x9==F['nodeType']&&F!=f?q(F):(G&&G['assignedSlot']&&(G=G['assignedSlot']['parentNode']),G&&0xb==G['nodeType']&&G['host']?G['host']:G);}function E(F){return F&&0x9===F['nodeType'];}}());},0x1023:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});},j=this&&this['__rest']||function(m,p){var q={};for(var u in m)Object['prototype']['hasOwnProperty']['call'](m,u)&&p['indexOf'](u)<0x0&&(q[u]=m[u]);if(null!=m&&'function'==typeof Object['getOwnPropertySymbols']){var v=0x0;for(u=Object['getOwnPropertySymbols'](m);v<u['length'];v++)p['indexOf'](u[v])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](m,u[v])&&(q[u[v]]=m[u[v]]);}return q;};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['API']=void 0x0;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:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'GET'})},v));}['post'](m,p){const q=null!=p?p:{},{init:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'POST'})},v));}['put'](m,p){const q=null!=p?p:{},{init:u}=q,v=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},u),{'method':'PUT'})},v));}['request'](m,p){return h(this,void 0x0,void 0x0,function*(){var q,u,v;const w=null!==(q=null==p?void 0x0:p['init'])&&void 0x0!==q?q:{},{headers:x}=w,y=j(w,['headers']),z=Object['assign']({'headers':Object['assign'](Object['assign'](Object['assign']({},(null==p?void 0x0:p['auth'])&&{'Authorization':'Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===u?void 0x0:u['accessToken'])}),{'Content-Type':'application/json','Accept':'application/json'}),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};}});}};},0x66b:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1023),f);},0x17e9:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionEvent']=f['ImaAdEvent']=f['AdEvent']=f['WidgetEvent']=f['MomentEvent']=f['StoryEvent']=f['AnalyticsEvent']=f['ReferringEventInfo']=f['Category']=void 0x0,function(m){m['Story']='story',m['Moment']='moment',m['Widget']='widget',m['Ad']='ad',m['Interaction']='interaction';}(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['AdEvent']=class{},f['ImaAdEvent']=class{},f['InteractionEvent']=class{};},0x13a5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseWidget']=void 0x0;class g extends HTMLElement{constructor(){super(),this['_animationDuration']=0x12c;}['getAttribute'](h){var j;const k=null===(j=super['getAttribute'](h))||void 0x0===j?void 0x0:j['toLocaleLowerCase']();return'true'===k||'false'===k?JSON['parse'](k):super['getAttribute'](h);}['setStyle'](h){for(const j in h){let k=j['replace'](/[A-Z]/g,l=>'-'+l['toLowerCase']());this['style']['setProperty'](k,h[j]);}}['setAttributes'](h){Object['entries'](h)['forEach'](([j,k])=>{this['setAttribute'](j,k);});}['removeElement'](){this['parentNode']&&this['parentNode']['removeChild'](this);}}f['BaseWidget']=g;},0x227f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDataSourceValidations']=f['BlazeDataSourceFactory']=f['BlazeInternalError']=void 0x0,f['BlazeInternalError']={'LabelExpressionMustNotBeEmpty':'labelExpressionMustNotBeEmpty','InvalidNumberOfMaxItems':'invalidNumberOfMaxItems','IdsMustNotBeEmpty':'idsMustNotBeEmpty','MissingLabelsProperty':'missingLabelsProperty','IdsMustNotHaveSpaces':'idsMustNotHaveSpaces'},f['BlazeDataSourceFactory']=class{static['createLabelsDataSource'](h){const {labels:j,labelsPriority:k,orderType:l,maxItems:m}=h;try{g['validateFormat']({'type':'labels','labels':j,'labelsPriority':k,'orderType':l,'maxItems':m});}catch(p){}finally{return{'type':'labels','labels':j,'labelsPriority':k,'orderType':l,'maxItems':m};}}static['createIdsDataSource'](h){const {ids:j,orderType:k}=h;try{g['validateFormat']({'type':'ids','ids':j,'orderType':k});}catch(l){}finally{return{'type':'ids','ids':j,'orderType':k};}}};class g{static['validateFormat'](h){var j;switch(h['type']){case'labels':if(!h['labels'])throw new Error(f['BlazeInternalError']['MissingLabelsProperty']);if(!(null===(j=h['labels'])||void 0x0===j?void 0x0:j['toString']()['trim']()['length']))throw new Error(f['BlazeInternalError']['LabelExpressionMustNotBeEmpty']);if(void 0x0!==h['maxItems']&&h['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case'ids':if(!h['ids']||!h['ids']['length'])throw new Error(f['BlazeInternalError']['IdsMustNotBeEmpty']);if(h['ids']['some'](k=>/\s/['test'](k)))throw new Error(f['BlazeInternalError']['IdsMustNotHaveSpaces']);}}}f['BlazeDataSourceValidations']=g;},0x1e68:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['debounce']=void 0x0,f['debounce']=function(g,h){let j=null;return function(...k){j&&clearTimeout(j),j=setTimeout(()=>{g(...k);},h);};};},0xb62:function(d,f,g){'use strict';var h=this&&this['__importDefault']||function(l){return l&&l['__esModule']?l:{'default':l};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['deviceDetector']=f['Platform']=void 0x0;const j=h(g(0x1c40));f['Platform']={'Console':'console','Mobile':'mobile','Tablet':'tablet','SmartTV':'smarttv','Wearable':'wearable','Embedded':'embedded','Desktop':'desktop'};class k{constructor(){this['orientationChangeEvent']=new Event('screenOrientationChange'),this['parser']=new j['default'](navigator['userAgent']),this['OS']=this['detectOS'](),this['platform']=this['detectPlatform'](),this['browser']=this['detectBrowser'](),this['screenOrientation']=this['getScreenOrientation'](),this['resizeListener']=this['handleResize']['bind'](this),window['addEventListener']('resize',this['resizeListener']);}['removeResizeListener'](){window['removeEventListener']('resize',this['resizeListener']);}static['getInstance'](){return k['instance']||(k['instance']=new k()),k['instance'];}['detectOS'](){return this['parser']['getOS']()['name'];}['detectBrowser'](){return this['parser']['getBrowser']()['name'];}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'],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'];this['screenOrientation']=this['getScreenOrientation'](),l!==this['screenOrientation']&&window['dispatchEvent'](this['orientationChangeEvent']);}['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;}}f['deviceDetector']=k['getInstance']();},0xfcf:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventsListener']=void 0x0,f['EventsListener']=class{constructor(){this['listeners']=[];}['add'](g,h,j){this['listeners']['find'](k=>k['node']==document&&k['type']==g)||(this['listeners']['push']({'node':document,'type':g,'callback':h}),document['addEventListener'](g,h,j));}['addAttached'](g,h,j,k){this['listeners']['find'](l=>l['node']==g&&l['type']==h)||(this['listeners']['push']({'node':g,'type':h,'callback':j}),g['addEventListener'](h,j,k));}['removeAll'](){for(const g of this['listeners'])try{g['node']['removeEventListener'](g['type'],g['callback']);}catch(h){}this['listeners']=[];}};},0x1133:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x17e9),f),j(g(0x13a5),f),j(g(0x1e68),f),j(g(0xb62),f),j(g(0xfcf),f),j(g(0x1bdd),f),j(g(0x255d),f),j(g(0x614),f),j(g(0x1723),f),j(g(0x156e),f),j(g(0x227f),f);},0x1bdd:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetLabel']=void 0x0;class g{constructor(h){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;},0x255d:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongPressHandler']=void 0x0,f['LongPressHandler']=class{constructor(g){this['options']=g,this['startPress']=()=>{this['pressTimer']=setTimeout(()=>{this['isDuringPress']=!0x0,this['options']['onStart']();},0xc8);},this['endPress']=h=>{clearTimeout(this['pressTimer']),this['isDuringPress']&&(this['options']['onEnd'](),this['isDuringPress']=!0x1,h['preventDefault']());},this['isDuringPress']=!0x1,this['isAttached']=!0x1;}['attach'](g){this['isAttached']||(g['addEventListener']('touchstart',this['startPress']),g['addEventListener']('touchend',this['endPress']),g['addEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x0);}['detach'](g){this['isAttached']&&(g['removeEventListener']('touchstart',this['startPress']),g['removeEventListener']('touchend',this['endPress']),g['removeEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x1);}};},0x614:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Singleton']=void 0x0,f['Singleton']=function(){return class{constructor(){}static['getInstance'](){return this['_instance']||(this['_instance']=new this()),this['_instance'];}};};},0x1723:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['throttle']=void 0x0;const j=g(0x2432);f['throttle']=function(k,l){let m=!0x1;return function(p){return h(this,void 0x0,void 0x0,function*(){m||(k(p),m=!0x0,yield(0x0,j['delay'])(l),m=!0x1);});};};},0x156e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['URLManager']=f['URL_PARAMS']=void 0x0;const j=g(0x1932),k=g(0x11c1),l=g(0x2432);f['URL_PARAMS']={'SESSION_ID':'wsc_session_id','USER_ID':'wsc_user_id','EXCLUDE_CONTENT_ID':'wsc_exclude_content_id'};class m{static['resetLocationAfterContentClose'](){const p=this['getHashMatch'](),q=this['getHash']();if(p){if(q)location['hash']=q;else{const u=''+location['origin']+location['pathname']+location['search'];history['replaceState']({},document['title'],''+u);}}}static['resetLocation'](){if(!k['ConfigService']['shouldModifyUrlWithStoryId'])return;const p=''+location['origin']+location['pathname']+location['search'];history['replaceState']({},document['title'],''+p);}static['updateLocationContentHash'](p){const {contentType:q='',contentId:u='',isAd:v=!0x1}=p;if('SingleStory'===k['VideoPlayerService']['playReference'])return;if(!k['ConfigService']['shouldModifyUrlWithStoryId'])return;if(v)return;this['isUpdateLocationByScript']=!0x0;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 0x0:x['length'])>0x1?x+'&blaze/'+q+'/'+u:'blaze/'+q+'/'+u),this['isUpdateLocationByScript']=!0x1;}static['getHashMatch'](){return l['RegexStoryHash']['test'](document['location']['hash'])||l['RegexMomentHash']['test'](document['location']['hash']);}static['getHash'](){return document['location']['hash']['replace'](l['RegexStoryHash'],'')['replace'](l['RegexMomentHash'],'');}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']({},'',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['location']['href']['split']('?')[0x0]+'?'+p['toString']());}static['navigateTo'](p){return h(this,void 0x0,void 0x0,function*(){if('AUTO_ADVANCE'===p){const q=new URLSearchParams({[f['URL_PARAMS']['SESSION_ID']]:k['UserService']['sessionId'],[f['URL_PARAMS']['USER_ID']]:k['UserService']['userId'],[f['URL_PARAMS']['EXCLUDE_CONTENT_ID']]:k['VideoPlayerService']['currentlyPlayedContentId']});if(!k['ConfigService']['autoAdvanceUrl'])return;const u=new URL(k['ConfigService']['autoAdvanceUrl']);u['search']=q['toString']();const v=u['toString']();this['updateCurrentUrlWithParams'](q),this['navigateToLink'](v);}});}}f['URLManager']=m,m['isUpdateLocationByScript']=!0x1,m['isBackWasCalled']=!0x1,m['isAutoAdvancingEnabled']=!0x1;},0x443:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeAlert']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['titleContainer']=document['createElement']('div'),this['textContainer']=document['createElement']('div');}static get['observedAttributes'](){return['alert-title','alert-text'];}['connectedCallback'](){this['className']='blaze-alert';}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'alert-title':this['titleContainer']['innerHTML']=m,this['appendChild'](this['titleContainer']);break;case'alert-text':this['textContainer']['innerHTML']=m,this['appendChild'](this['textContainer']);}}['setAttribute'](k,l){super['setAttribute'](k,l);}}f['BlazeAlert']=j;},0x89b:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeButton']=void 0x0;const h=g(0x1133),j=g(0x11c1),k=g(0x2432);class l extends h['BaseWidget']{get['refElement'](){var m;return null!==(m=this['shadowRoot'])&&void 0x0!==m?m:this;}constructor(){super(),j['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['buttonElement']=document['createElement']('button');}['connectedCallback'](){(0x0,k['mergeStyles'])(this['buttonElement'],{'cursor':'pointer','color':'inherit','border':'none','padding':'0','display':'block','outline':'inherit','height':this['height']||'24px','width':this['width']||'24px','margin':'auto'}),this['style']['cursor']='pointer',this['refElement']['append'](this['buttonElement']);}['disconnectedCallback'](){}['attributeChangedCallback'](m,p,q){switch(m){case'disabled':this['setIsDisabled']('true'===q);break;case'blaze-btn-hidden':this['setIsHidden']('true'===q);break;case'blaze-btn-visible':this['setIsVisible']('true'===q);break;case'height':this['setHeight'](q);break;case'width':this['setWidth'](q);break;case'icon-color':this['buttonElement']['style']['background']=q;break;case'order':this['style']['order']=q;}}get['height'](){return this['getAttribute']('height');}get['width'](){return this['getAttribute']('width');}['setIconUrl'](m){(0x0,k['mergeStyles'])(this['buttonElement'],{'-webkit-mask-image':'url(\x27'+m+'\x27)','mask-image':'url(\x27'+m+'\x27)','-webkit-mask-repeat':'no-repeat','mask-repeat':'no-repeat','-webkit-mask-size':'contain','mask-size':'contain','-webkit-mask-position':'center','mask-position':'center','background-image':'none'});}['setIsHidden'](m){this['style']['display']=m?'none':'block';}['setIsVisible'](m){this['style']['visibility']=m?'hidden':'visible';}['setIsDisabled'](m){m?(this['buttonElement']['setAttribute']('disabled',''),(0x0,k['mergeStyles'])(this['buttonElement'],{'opacity':'0.5','cursor':'initial'}),this['style']['cursor']='initial',this['style']['pointerEvents']='none'):(this['buttonElement']['removeAttribute']('disabled'),(0x0,k['mergeStyles'])(this['buttonElement'],{'opacity':'1','cursor':'pointer'}),this['style']['cursor']='pointer',this['style']['pointerEvents']='auto');}['setHeight'](m){this['buttonElement']['style']['height']=m;}['setWidth'](m){this['buttonElement']['style']['width']=m;}}f['BlazeButton']=l,l['observedAttributes']=['disabled','blaze-btn-hidden','blaze-btn-visible','height','width','icon-color','order'];},0x10da:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCtaButton']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x115),q=h(0xdf6),u=h(0x2432);class v extends j['BaseWidget']{constructor(){super(),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=m['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=m['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=m['WidgetsFactory']['create']('blaze-div'),(0x0,u['mergeStyles'])(this,{'display':'none','width':'100%','cursor':'pointer','outline':'inherit'}),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','border':'1px\x20solid\x20#fff','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'](w,x,y){switch(w){case'hidden-btn':this['style']['display']='true'===y?'none':'flex';break;case'width':this['setWidth'](y);break;case'margin':this['setMargin'](y);break;case'text':this['setCtaText'](y);break;case'href':this['anchorButtonElement']['href']=y;break;case'icon-url':this['iconButtonElement']['setIconUrl'](y);break;case'icon-size':this['iconButtonElement']['setAttribute']('height',y),this['iconButtonElement']['setAttribute']('width',y);break;case'icon-color':this['iconButtonElement']['setAttribute']('icon-color',y);break;case'display-icon':this['iconButtonElement']['style']['display']='true'===y?'flex':'none';break;case'arrow-icon-display':this['iconArrowElement']['style']['display']='true'===y?'flex':'none';break;case'arrow-icon-color':this['iconArrowElement']['setAttribute']('icon-color',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']=!0x0);}['animateButton'](w){this['animateElement'](this['anchorButtonElement'],w,0x2,3.5*k['ONE_SECOND'],0x1);}['animateIcon'](w){this['animateElement'](this['iconArrowElement'],w,0x3,k['ONE_SECOND'],0x3);}['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);}['setCtaText'](w){this['ctaTextElement']['innerText']=w;}['setWidth'](w){this['anchorButtonElement']['style']['width']=w;}['setMargin'](w){this['anchorButtonElement']['style']['margin']=w;}['setAnchorButtonStyles'](w){(0x0,u['mergeStyles'])(this['anchorButtonElement'],w);}['setCtaTextStyle'](w){(0x0,u['mergeStyles'])(this['ctaTextElement'],w);}['setCtaIconStyles'](w){(0x0,u['mergeStyles'])(this['iconButtonElement'],w);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](w=>clearTimeout(w)),this['animationTimeouts']=[];}}g['BlazeCtaButton']=v,v['observedAttributes']=['hidden-btn','height','width','margin','text','href','icon-url','icon-size','icon-color','arrow-icon-display','arrow-icon-color','display-icon'];},0x1457:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22c1),f),j(g(0x89b),f),j(g(0x10da),f);},0x22c1:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeShareButton']=void 0x0;const h=g(0x1133),j=g(0x22d9),k=g(0x115);class l extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','button-type'];}get['size'](){return this['getAttribute']('size');}set['size'](m){this['setAttribute']('size',m);}set['type'](m){this['setAttribute']('button-type',m);}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}['connectedCallback'](){this['onClick']&&this['addEventListener']('click',this['onClick']['bind'](this)),this['setStyle']({'display':'flex','gap':'.3rem','flexDirection':'column','alignItems':'center','maxWidth':'3.5rem'});}['disconnectedCallback'](){this['onClick']&&this['removeEventListener']('click',this['onClick']['bind'](this));}['attributeChangedCallback'](m,p,q){switch(m){case'size':this['onSizeChange'](this['getAttribute'](m));break;case'button-type':this['onTypeChange'](this['getAttribute'](m));}}['onSizeChange'](m='medium'){this['style']['fontSize']=this['fontSize'];}['onTypeChange'](m){'copy-link'===m&&this['createButton']('Copy\x20Link',k['IconLink']);}['createButton'](m,p){const q=j['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','backgroundColor':'#b1b1b1'});const u=j['WidgetsFactory']['create']('blaze-div');u['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 v=j['WidgetsFactory']['create']('blaze-typography');v['text']=m,v['setStyle']({'textAlign':'center'}),q['append'](u),this['append'](q),this['append'](v);}}f['BlazeShareButton']=l;},0x21bf:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeChip']=void 0x0;const h=g(0x1133),j=g(0x132a);class k extends h['BaseWidget']{constructor(){super();}['connectedCallback'](){this['style']['position']='absolute',this['style']['backgroundColor']='',this['style']['justifySelf']='center',this['style']['borderColor']=j['Colors']['White'],this['style']['borderStyle']='solid',this['style']['lineHeight']='1',this['innerText']='';}}f['BlazeChip']=k;},0x596:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDiv']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}}f['BlazeDiv']=j;},0x25e0:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});},j=this&&this['__importDefault']||function(u){return u&&u['__esModule']?u:{'default':u};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDrawer']=void 0x0;const k=j(g(0xad8)),m=g(0x1133),p=g(0x22d9);class q extends m['BaseWidget']{constructor(){super(),this['isOpen']=!0x1,this['backdropContainer']=p['WidgetsFactory']['create']('blaze-div'),this['drawerContainer']=p['WidgetsFactory']['create']('blaze-div');}get['drawerContainerHeight'](){var u,v;return(null===(u=this['drawerOptions'])||void 0x0===u?void 0x0:u['height'])||(null===(v=this['drawerComponent'])||void 0x0===v?void 0x0:v['style']['height'])||'1rem';}static get['observedAttributes'](){return['open','background-color','border-color','border-radius'];}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['drawerContainer']);}['disconnectedCallback'](){}['attributeChangedCallback'](u,v,w){switch(u){case'open':this['onOpenChange'](this['getAttribute'](u));break;case'background-color':this['drawerContainer']['setStyle']({'backgroundColor':w});break;case'border-color':this['drawerContainer']['setStyle']({'border':'1px\x20solid\x20'+w});break;case'border-radius':this['drawerContainer']['setStyle']({'borderRadius':w});}}['onOpenChange'](u){return h(this,void 0x0,void 0x0,function*(){u?(this['backdropContainer']['setStyle']({'display':'block'}),this['drawerContainer']['setStyle']({'display':'block'}),yield this['animateDrawer'](!0x0,this['drawerOptions'])):(yield this['animateDrawer'](!0x1,this['drawerOptions']),this['backdropContainer']['setStyle']({'display':'none'}),this['drawerContainer']['setStyle']({'display':'none'}));});}['setAttribute'](u,v){super['setAttribute'](u,v);}['onBackdropClick'](){this['close']();}['init'](u){const {component:v}=u;this['drawerOptions']=u,this['drawerComponent']=v,this['drawerContainer']['append'](v),this['buildBackdrop'](),this['buildModal']();}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#000','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':'1','borderRadius':'desktop'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){this['drawerContainer']['id']='blaze-modal',this['drawerContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#FFF','bottom':'-'+this['drawerContainerHeight'],'left':'0','right':'0','borderTopRightRadius':'.5rem','borderTopLeftRadius':'.5rem','height':this['drawerContainerHeight'],'zIndex':'5'});}['open'](){return h(this,void 0x0,void 0x0,function*(){var u;this['setAttribute']('open','true'),null===(u=this['onOpen'])||void 0x0===u||u['call'](this);});}['close'](){return h(this,void 0x0,void 0x0,function*(){var u;this['setAttribute']('open','false'),null===(u=this['onClose'])||void 0x0===u||u['call'](this);});}['animateDrawer'](u,v){return h(this,void 0x0,void 0x0,function*(){if(v)return new Promise(w=>{const x=this['querySelector']('#blaze-modal');if(!x)return;let y={'targets':x,'duration':0xc8,'easing':'easeInQuad','complete':()=>w()};if(v){switch(v['anchor']){case'top':case'right':case'left':break;case'bottom':y=Object['assign'](Object['assign']({},y),{'bottom':u?'0':'-'+this['drawerContainerHeight']});}(0x0,k['default'])(y);}});});}}f['BlazeDrawer']=q;},0x21e0:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeImage']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['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');}['load'](k){this['thumbnailElement']['src']=k,this['append'](this['thumbnailElement']);}['setHeight'](k){this['thumbnailElement']['style']['height']=k;}['setRatio'](k){this['style']['aspectRatio']=k;}['setBorderRadius'](k){this['style']['borderRadius']=k;}['setAccessibility'](k){this['thumbnailElement']['alt']=k,this['thumbnailElement']['ariaLabel']=k;}}f['BlazeImage']=j;},0x1699:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x443),f),j(g(0x1457),f),j(g(0x21bf),f),j(g(0x596),f),j(g(0x25e0),f),j(g(0x21e0),f),j(g(0xc5e),f),j(g(0x239a),f),j(g(0x1a00),f);},0xc5e:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeLoader']=void 0x0;const h=g(0x164);class j extends HTMLElement{constructor(){super();const k=this['attachShadow']({'mode':'open'}),l=document['createElement']('style');l['textContent']='\x0a\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20',k['appendChild'](l);}['connectedCallback'](){var k;(0x0,h['mergeStyles'])(this,{'display':'block','border':'solid\x203px\x20#fff','borderRadius':'50%','borderRightColor':'transparent','borderBottomColor':'transparent','transition':'transform\x201s\x20linear'}),null===(k=this['animate'])||void 0x0===k||k['call'](this,[{'transform':'rotate(0)'},{'transform':'rotate(360deg)'}],{'duration':0x3e8,'iterations':Number['POSITIVE_INFINITY'],'easing':'linear'});}}f['BlazeLoader']=j;},0x239a:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetItemSkeleton']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(k,l,m,p){super(),this['width']=l,this['thumbnailHeight']=m,this['labelHeight']=p,this['style']['width']=l+'px',this['layoutStyle']=k;}['connectedCallback'](){var k;if(this['shadowRoot'])return;const l=this['attachShadow']({'mode':'open'}),m=document['createElement']('style');m['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x20/*\x20Ensure\x20the\x20skeleton\x20stays\x20within\x20the\x20element\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+(null===(k=this['layoutStyle'])||void 0x0===k?void 0x0:k['borderRadius'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+this['thumbnailHeight']+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+(this['labelHeight']-(0x0===this['layoutStyle']['labelStyle']['gap']?0x4:this['layoutStyle']['labelStyle']['gap']))+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20loading\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20-100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',l['appendChild'](m);const p=document['createElement']('div');p['classList']['add']('thumbnail-loader');const q=document['createElement']('div');this['layoutStyle']['labelStyle']['isVisible']&&q['classList']['add']('label-loader'),l['appendChild'](p),this['layoutStyle']['labelStyle']['isVisible']&&l['appendChild'](q);}}f['BlazeWidgetItemSkeleton']=j,customElements['get']('blaze-widget-item-skeleton')||customElements['define']('blaze-widget-item-skeleton',j);},0x1a00:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTypography']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','text'];}get['size'](){return this['getAttribute']('size');}set['size'](k){this['setAttribute']('size',k);}get['text'](){return this['getAttribute']('size');}set['text'](k){this['setAttribute']('text',k);}['connectedCallback'](){}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'size':this['onSizeChange'](m);break;case'text':this['onTextChange'](m);}}['onSizeChange'](k){this['setStyle']({'fontSize':this['fontSize']});}['onTextChange'](k){this['innerHTML']=k;}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}}f['BlazeTypography']=j;},0x6a3:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['IMA_RATIOS']=void 0x0,f['IMA_RATIOS']={'general':'1x1','horizontal':'640x480','vertical':'1080x1920'};},0x7b9:(j,k)=>{'use strict';var q,x,z,A,B,D;Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['exposedFieldsByAction']=k['MomentToAdActionMapper']=k['StoryToAdActionMapper']=k['InteractionAction']=k['ImaAdAction']=k['AdAction']=k['WidgetAction']=k['MomentAction']=k['StoryAction']=void 0x0,function(Y){Y['Start']='story_start',Y['Exit']='story_exit',Y['PageStart']='story_page_start',Y['PageExit']='story_page_exit',Y['CtaClick']='cta_click',Y['Audio']='audio',Y['ShareClick']='share_click',Y['ShareSelect']='share_select',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play',Y['Expand']='expand',Y['Minimize']='minimize',Y['ClosedCaptionsOff']='cc_off',Y['ClosedCaptionsOn']='cc_on';}(q||(k['StoryAction']=q={})),function(Y){Y['MomentsPlaylistStart']='moments_playlist_start',Y['MomentsPlaylistExit']='moments_playlist_exit',Y['MomentStart']='moment_start',Y['MomentExit']='moment_exit',Y['CtaClick']='cta_click',Y['Like']='like',Y['Unlike']='unlike',Y['Audio']='audio',Y['ShareClick']='share_click',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play',Y['ClosedCaptionsOff']='cc_off',Y['ClosedCaptionsOn']='cc_on';}(x||(k['MomentAction']=x={})),function(Y){Y['Load']='widget_load',Y['Visible']='widget_visible',Y['Click']='widget_click';}(z||(k['WidgetAction']=z={})),function(Y){Y['View']='ad_view',Y['Exit']='ad_exit',Y['Click']='ad_click',Y['BannerView']='banner_ad_view',Y['BannerLoad']='banner_ad_load',Y['BannerClick']='banner_ad_click';}(A||(k['AdAction']=A={})),function(Y){Y['ALL_ADS_COMPLETED']='ima_all_ads_completed',Y['CLICK']='ima_ad_clicked',Y['COMPLETED']='ima_ad_completed',Y['LOADED']='ima_ad_loaded',Y['PAUSED']='ima_ad_paused',Y['RESUMED']='ima_ad_resumed',Y['SKIPPED']='ima_ad_skipped',Y['STARTED']='ima_ad_started',Y['FIRST_QUARTILE']='ima_ad_first_quartile',Y['MIDPOINT']='ima_ad_midpoint',Y['THIRD_QUARTILE']='ima_ad_third_quartile';}(B||(k['ImaAdAction']=B={})),function(Y){Y['VIEW']='interaction_view',Y['ANSWER']='interaction_answer',Y['AUDIO']='audio',Y['ShareClick']='share_click',Y['ShareSelect']='share_select',Y['ShareSuccess']='share_success',Y['PlaybackPause']='playback_pause',Y['PlaybackPlay']='playback_play';}(D||(k['InteractionAction']=D={}));const E='labels_expression',F='story_id',G='story_title',H='audio_state',J='player_type',K='content_type',L='playback_action_method',N='cc_state',O='skip_config',P=['timestamp_utc','timestamp_user_tz','sdk_version','sdk_type','event_category','event_action','event_type','generated_user_id','external_user_id','content_extra_info'],Q=['origin_widget_id','origin_widget_name','origin_widget_type','origin_placement_id','origin_placement_name'],R=['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'],T=['content_id',K,'content_name'],U=['story_session_id',F,G,'story_page_id','story_page_index','story_page_count','story_page_duration'],V=['moments_session_id','moment_id','moment_title','moment_index','loop_number','moment_duration'],W=['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',L,O],X=[E,H,J,N];k['StoryToAdActionMapper']={[q['PageStart']]:A['View'],[q['PageExit']]:A['Exit'],[q['CtaClick']]:A['Click']},k['MomentToAdActionMapper']={[x['MomentStart']]:A['View'],[x['MomentExit']]:A['Exit'],[x['CtaClick']]:A['Click']},k['exposedFieldsByAction']={[q['Start']]:[...P,...Q,...U,...X,'story_start_trigger'],[q['Exit']]:[...P,...Q,...U,...X,'story_exit_trigger','content_duration_viewed'],[q['PageStart']]:[...P,...Q,...U,...X],[q['PageExit']]:[...P,...Q,...U,...X,'story_page_navigation_type','story_page_navigation_direction','story_page_duration_viewed_percent'],[q['CtaClick']]:[...P,...Q,...U,...X],[q['Audio']]:[...P,...Q,...U,...X],[q['ShareClick']]:[...P,...Q,...U,...X],[q['ShareSelect']]:[...P,...Q,...U,...X],[q['ShareSuccess']]:[...P,...Q,...U,...X],[q['PlaybackPause']]:[...P,...Q,...U,...X,L],[q['PlaybackPlay']]:[...P,...Q,...U,...X,L],[q['ClosedCaptionsOff']]:[...P,...Q,...U,...X],[q['ClosedCaptionsOn']]:[...P,...Q,...U,...X],[x['MomentsPlaylistStart']]:[...P,...Q,...V,...X,'moment_start_trigger'],[x['MomentsPlaylistExit']]:[...P,...Q,...V,...X,'moment_exit_trigger'],[x['MomentStart']]:[...P,...Q,...V,...X],[x['MomentExit']]:[...P,...Q,...V,...X,'moment_navigation_type','moment_navigation_direction','moment_duration_viewed_percent'],[x['Like']]:[...P,...Q,...V,...X],[x['Unlike']]:[...P,...Q,...V,...X],['$'+x['CtaClick']]:[...P,...Q,...V,...X],['$'+x['Audio']]:[...P,...Q,...V,...X],['$'+x['ShareClick']]:[...P,...Q,...V,...X],['$'+x['ShareSuccess']]:[...P,...Q,...V,...X],['$'+x['PlaybackPause']]:[...P,...Q,...V,...X,L],['$'+x['PlaybackPlay']]:[...P,...Q,...V,...X,L],['$'+x['ClosedCaptionsOn']]:[...P,...Q,...V,...X,N],['$'+x['ClosedCaptionsOff']]:[...P,...Q,...V,...X,N],[z['Load']]:[...P,...R,E,J],[z['Visible']]:[...P,...R,E,J],[z['Click']]:[...P,...R,...T,J,E],[A['View']]:[...P,...Q,...W,L,H,F,G,O,K,J],[A['Exit']]:[...P,...Q,...W,L,H,F,G,O,K,J]};},0x2152:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['TRANSPARENT']=void 0x0,f['TRANSPARENT']='transparent';},0x3c1:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ASPECT_RATIO_4_3_STRING']=f['ASPECT_RATIO_9_16_STRING']=f['ASPECT_RATIO_16_9_STRING']=f['ASPECT_RATIO_4_3']=f['ASPECT_RATIO_9_16']=f['ASPECT_RATIO_16_9']=f['DESKTOP_PADDING_BOTTOM']=f['TABLET_PADDING_BOTTOM']=void 0x0,f['TABLET_PADDING_BOTTOM']='15px',f['DESKTOP_PADDING_BOTTOM']='40px',f['ASPECT_RATIO_16_9']=0x10/0x9,f['ASPECT_RATIO_9_16']=0x9/0x10,f['ASPECT_RATIO_4_3']=0x4/0x3,f['ASPECT_RATIO_16_9_STRING']='16\x20/\x209',f['ASPECT_RATIO_9_16_STRING']='9\x20/\x2016',f['ASPECT_RATIO_4_3_STRING']='4\x20/\x203';},0x1932:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(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);},0x24f0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CountryCodes']=void 0x0,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'];},0x1054:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MIN_PADDING_BOTTOM']=f['DEFAULT_CTA_HEIGHT']=void 0x0,f['DEFAULT_CTA_HEIGHT']=0x28,f['MIN_PADDING_BOTTOM']=0xa;},0x23b6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FAIL_TO_LOAD_TIMEOUT_MS']=f['ONE_AND_HALF_SECOND']=f['ONE_SECOND']=void 0x0,f['ONE_SECOND']=0x3e8,f['ONE_AND_HALF_SECOND']=0x5dc,f['FAIL_TO_LOAD_TIMEOUT_MS']=0xbb8;},0x1c93:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Database']=void 0x0;const j=g(0x11c1);f['Database']=class{constructor(k){this['options']=k;}['init'](k){return h(this,void 0x0,void 0x0,function*(){try{this['dbInstance']=yield new Promise((l,m)=>{const p=indexedDB['open'](this['options']['databaseName'],this['options']['version']);p['addEventListener']('success',()=>h(this,void 0x0,void 0x0,function*(){l(p['result']),yield new Promise(q=>{setTimeout(()=>h(this,void 0x0,void 0x0,function*(){var r;yield null===(r=k['onOpen'])||void 0x0===r?void 0x0:r['call'](k,p['result']),q();}),0x96);});})),p['addEventListener']('upgradeneeded',q=>h(this,void 0x0,void 0x0,function*(){var r;l(p['result']),yield null===(r=k['onUpgradeNeeded'])||void 0x0===r?void 0x0:r['call'](k,p['result']);})),p['addEventListener']('error',q=>h(this,void 0x0,void 0x0,function*(){var r;m(q),yield null===(r=k['onError'])||void 0x0===r?void 0x0:r['call'](k,q);}));});}catch(l){}});}['createTransaction'](k,l){var m,p;try{return null===(p=null===(m=this['dbInstance'])||void 0x0===m?void 0x0:m['transaction'])||void 0x0===p?void 0x0:p['call'](m,[k],l)['objectStore'](k);}catch(q){}}['get'](k,l){return h(this,void 0x0,void 0x0,function*(){try{const m=this['createTransaction'](k,'readonly');if(!m)throw new Error('Transaction\x20not\x20created.');const p=m['get'](l);return yield new Promise(q=>{p['onerror']=()=>{q({'data':{},'error':new Error('Failed\x20get')});},p['onsuccess']=()=>{q({'data':p['result']});};});}catch(q){return yield this['clearAndRecreateDatabase'](),{'data':{},'error':q};}});}['update'](k,l){return h(this,void 0x0,void 0x0,function*(){try{const m={},p=yield this['createTransaction'](k,'readwrite');if(!p)throw new Error('Transaction\x20not\x20created.');const q=p['put'](l);return yield new Promise(r=>{q['onerror']=()=>{r(Object['assign'](Object['assign']({},m),{'error':new Error('Failed\x20update')}));},q['onsuccess']=()=>{const s=q['result'];r(Object['assign'](Object['assign']({},m),{'data':s}));};});}catch(r){return yield this['clearAndRecreateDatabase'](),{'data':{},'error':r};}});}['clearAndRecreateDatabase'](){return h(this,void 0x0,void 0x0,function*(){var k;null===(k=this['dbInstance'])||void 0x0===k||k['close'](),indexedDB['deleteDatabase'](this['options']['databaseName'])['onsuccess']=()=>{j['DatabaseService']['init']();};});}};},0xe1c:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c93),f);},0x2ab:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xb8a:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1725:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25e6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x2ab),f),j(g(0xb8a),f),j(g(0x1725),f),j(g(0x93),f),j(g(0x2006),f),j(g(0x6de),f),j(g(0x1d49),f),j(g(0x19d6),f),j(g(0x2fb),f),j(g(0x12fa),f),j(g(0xab7),f);},0x93:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['INTERACTION_ANALYTICS']=f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']=void 0x0,f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']={'correctAnswerFeedback':[0x0,0x64,0x32,0x32,0x0,0xff,0x0,0xff],'wrongAnswerFeedback':[0x0,0xc8,0x32,0xc8,0x0,0xc8,0x0,0xc8],'selectionFeedback':[0x0,0x50,0x0,0xc8]},f['INTERACTION_ANALYTICS']='INTERACTION_ANALYTICS';},0x2006:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x6de:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d49:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x19d6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2fb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x12fa:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xab7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x969:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorCode']=void 0x0,function(h){h[h['FailedToFindContainerId']=0x1]='FailedToFindContainerId',h[h['FailedContainerIdHasWidgetAlready']=0x2]='FailedContainerIdHasWidgetAlready',h[h['FailedLoadingAppConfigurations']=0x3]='FailedLoadingAppConfigurations',h[h['FailedLoadingStories']=0x64]='FailedLoadingStories',h[h['FailedEnrichStories']=0x65]='FailedEnrichStories',h[h['FailedToHaveLabels']=0x67]='FailedToHaveLabels',h[h['FailedLoadingMoments']=0x6e]='FailedLoadingMoments',h[h['FailedEnrichMoments']=0x6f]='FailedEnrichMoments',h[h['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={}));},0x9ca:(d,f)=>{'use strict';var g,h;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InternalEvent']=f['Delegation']=void 0x0,function(j){j['onEventTriggered']='blaze-event-triggered',j['onErrorThrown']='blaze-error-event',j['onPlayerDidAppear']='blaze-player-did-appear',j['onPlayerDismissed']='blaze-player-dismissed',j['onGetAds']='blaze-get-ads',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['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['BANNER_ANALYTICS']='banner_analytics';}(h||(f['InternalEvent']=h={}));},0x1e19:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HttpStatus']=void 0x0,f['HttpStatus']={'Ok':0xc8,'Created':0xc9,'NoContent':0xcc,'BadRequest':0x190,'Unauthorized':0x191,'Forbidden':0x193,'NotFound':0x194,'InternalServerError':0x1f4};},0x26ed:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x969),f),j(g(0x9ca),f),j(g(0x1e19),f);},0x21b0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsFactory']=void 0x0,f['WidgetsFactory']=class{static['create'](g,h){return document['createElement'](g,h);}static['define'](g,h,j){customElements['get'](g)||customElements['define'](g,h,j);}static['whenDefined'](g){return customElements['whenDefined'](g);}};},0x22d9:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21b0),f),j(g(0x1c8c),f);},0x1c8c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayerViewFactory']=void 0x0;const j=g(0x1133),k=g(0x26ed),l=g(0x11c1),m=g(0x23a6);f['PlayerViewFactory']=class{static['create'](p,q){return h(this,void 0x0,void 0x0,function*(){var v,w,x;if(!p)return;const z=document['getElementsByTagName']('blaze-sdk')[0x0];if(!z)return;let A;'labels'===p['type']?'string'==typeof p['labels']?A=p['labels']:Array['isArray'](p['labels'])?A=p['labels']['join'](','):p['labels']instanceof j['BlazeWidgetLabel']&&(A=p['labels']['toString']()):'ids'===p['type']&&(A=null===(v=p['ids'])||void 0x0===v?void 0x0:v['join'](','));const B=yield l['StoryService']['fetchContent'](p);if(!(null===(w=null==B?void 0x0:B['result'])||void 0x0===w?void 0x0:w['length']))throw l['EventService']['dispatch'](z,k['Delegation']['onErrorThrown'],{'id':A,'errorCode':k['ErrorCode']['FailedLoadingStories']}),new Error('Failed\x20to\x20load\x20stories');l['ConfigService']['excludeContentId']&&(B['result']=B['result']['filter'](F=>{var G;return!(null===(G=l['ConfigService']['excludeContentId'])||void 0x0===G?void 0x0:G['includes'](F['id']));}));const C=new m['BlazeWidgetStoryModal'](document['createElement']('div'),q),D='blaze-story-modal-'+Math['random']()['toString'](0x24);C['id']=D,C['playerLayout']=q;let E=[];try{E=yield l['StoryService']['enrichStories'](null==B?void 0x0:B['result']);}catch(F){l['EventService']['dispatch'](z,k['Delegation']['onErrorThrown'],{'id':A,'errorCode':k['ErrorCode']['FailedEnrichStories']}),E=null==B?void 0x0:B['result'];}E['sort']((G,H)=>{const I=G['pages']['every'](K=>K['hasViewed']),J=H['pages']['every'](K=>K['hasViewed']);return I&&!J?0x1:!I&&J?-0x1:0x0;}),C['setModalContent'](E,0x0,null==B?void 0x0:B['defaultAdsInfo']),C['player']['contentList']['forEach'](G=>h(this,void 0x0,void 0x0,function*(){G['startTrigger']='UI\x20Button',G['resetStoryLocationIndexToLastUnseen']();})),C['seek'](null!==(x=E[0x0]['id'])&&void 0x0!==x?x:''),z['appendChild'](C),C['open'](),C['onClose']=()=>{C['remove']();};});}};},0x2033:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x430),f);},0x430:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isWidgetTheme']=void 0x0,f['isWidgetTheme']=function(g){return'object'==typeof g&&null!==g&&'layoutStyle'in g&&'playerStyle'in g;};},0x115:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x636),f);},0x636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['closedCaptionsOffIconSvg']=f['closedCaptionsOnIconSvg']=f['newPageIcon']=f['arrowUpMomentIconSvg']=f['arrowDownMomentIconSvg']=f['fullscreenIconSvg']=f['externalLinkIconSvg']=f['arrowUpCtaIconSvg']=f['pauseResumeIconSvg']=f['playResumeIconSvg']=f['restartIconSvg']=f['prevPageIconSvg']=f['nextPageIconSvg']=f['prevStoryIconSvg']=f['nextStoryIconSvg']=f['closeIconSvg']=f['shareIconSvg']=f['muteIconSvg']=f['unmuteIconSvg']=f['pauseIconSvg']=f['playIconSvg']=f['IconGlobe']=f['IconLink']=f['ShareIconSvg']=f['likeIconSvg']=f['unlikeIconSvg']=void 0x0,f['unlikeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyOCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMDMgMjVMMTIuMDY3IDIzLjI2NjdDOS44MjI1NSAyMS4yNDQ1IDcuOTY2OTkgMTkuNSA2LjUwMDMzIDE4LjAzMzRDNS4wMzM2NiAxNi41NjY3IDMuODY2OTkgMTUuMjUgMy4wMDAzMyAxNC4wODM0QzIuMTMzNjYgMTIuOTE2NyAxLjUyODEgMTEuODQ0NSAxLjE4MzY2IDEwLjg2NjdDMC44MzkyMTQgOS44ODg5MSAwLjY2Njk5MiA4Ljg4ODkxIDAuNjY2OTkyIDcuODY2NjlDMC42NjY5OTIgNS43Nzc4IDEuMzY2OTkgNC4wMzMzNiAyLjc2Njk5IDIuNjMzMzZDNC4xNjY5OSAxLjIzMzM2IDUuOTExNDQgMC41MzMzNTYgOC4wMDAzMyAwLjUzMzM1NkM5LjE1NTg4IDAuNTMzMzU2IDEwLjI1NTkgMC43Nzc4IDExLjMwMDMgMS4yNjY2OUMxMi4zNDQ4IDEuNzU1NTggMTMuMjQ0OCAyLjQ0NDQ3IDE0LjAwMDMgMy4zMzMzNkMxNC43NTU5IDIuNDQ0NDcgMTUuNjU1OSAxLjc1NTU4IDE2LjcwMDMgMS4yNjY2OUMxNy43NDQ4IDAuNzc3OCAxOC44NDQ4IDAuNTMzMzU2IDIwLjAwMDMgMC41MzMzNTZDMjIuMDg5MiAwLjUzMzM1NiAyMy44MzM3IDEuMjMzMzYgMjUuMjMzNyAyLjYzMzM2QzI2LjYzMzcgNC4wMzMzNiAyNy4zMzM3IDUuNzc3OCAyNy4zMzM3IDcuODY2NjlDMjcuMzMzNyA4Ljg4ODkxIDI3LjE2MTQgOS44ODg5MSAyNi44MTcgMTAuODY2N0MyNi40NzI1IDExLjg0NDUgMjUuODY3IDEyLjkxNjcgMjUuMDAwMyAxNC4wODM0QzI0LjEzMzcgMTUuMjUgMjIuOTY3IDE2LjU2NjcgMjEuNTAwMyAxOC4wMzM0QzIwLjAzMzcgMTkuNSAxOC4xNzgxIDIxLjI0NDUgMTUuOTMzNyAyMy4yNjY3TDE0LjAwMDMgMjVaTTE0LjAwMDMgMjEuNEMxNi4xMzM3IDE5LjQ4ODkgMTcuODg5MiAxNy44NSAxOS4yNjcgMTYuNDgzNEMyMC42NDQ4IDE1LjExNjcgMjEuNzMzNyAxMy45Mjc4IDIyLjUzMzcgMTIuOTE2N0MyMy4zMzM3IDExLjkwNTYgMjMuODg5MiAxMS4wMDU2IDI0LjIwMDMgMTAuMjE2N0MyNC41MTE0IDkuNDI3OCAyNC42NjcgOC42NDQ0NyAyNC42NjcgNy44NjY2OUMyNC42NjcgNi41MzMzNiAyNC4yMjI1IDUuNDIyMjQgMjMuMzMzNyA0LjUzMzM2QzIyLjQ0NDggMy42NDQ0NyAyMS4zMzM3IDMuMjAwMDIgMjAuMDAwMyAzLjIwMDAyQzE4Ljk1NTkgMy4yMDAwMiAxNy45ODkyIDMuNDk0NDcgMTcuMTAwMyA0LjA4MzM2QzE2LjIxMTQgNC42NzIyNSAxNS42MDAzIDUuNDIyMjQgMTUuMjY3IDYuMzMzMzZIMTIuNzMzN0MxMi40MDAzIDUuNDIyMjQgMTEuNzg5MiA0LjY3MjI1IDEwLjkwMDMgNC4wODMzNkMxMC4wMTE0IDMuNDk0NDcgOS4wNDQ3NyAzLjIwMDAyIDguMDAwMzMgMy4yMDAwMkM2LjY2Njk5IDMuMjAwMDIgNS41NTU4OCAzLjY0NDQ3IDQuNjY2OTkgNC41MzMzNkMzLjc3ODEgNS40MjIyNCAzLjMzMzY2IDYuNTMzMzYgMy4zMzM2NiA3Ljg2NjY5QzMuMzMzNjYgOC42NDQ0NyAzLjQ4OTIxIDkuNDI3OCAzLjgwMDMzIDEwLjIxNjdDNC4xMTE0NCAxMS4wMDU2IDQuNjY2OTkgMTEuOTA1NiA1LjQ2Njk5IDEyLjkxNjdDNi4yNjY5OSAxMy45Mjc4IDcuMzU1ODggMTUuMTE2NyA4LjczMzY2IDE2LjQ4MzRDMTAuMTExNCAxNy44NSAxMS44NjcgMTkuNDg4OSAxNC4wMDAzIDIxLjRaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['likeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDE4Ljk5OTlMOC41NSAxNy42OTk5QzYuODY2NjcgMTYuMTgzMiA1LjQ3NSAxNC44NzQ5IDQuMzc1IDEzLjc3NDlDMy4yNzUgMTIuNjc0OSAyLjQgMTEuNjg3NCAxLjc1IDEwLjgxMjRDMS4xIDkuOTM3NCAwLjY0NTgzMyA5LjEzMzI0IDAuMzg3NSA4LjM5OTlDMC4xMjkxNjcgNy42NjY1NyAwIDYuOTE2NTcgMCA2LjE0OTlDMCA0LjU4MzI0IDAuNTI1IDMuMjc0OSAxLjU3NSAyLjIyNDlDMi42MjUgMS4xNzQ5IDMuOTMzMzMgMC42NDk5MDIgNS41IDAuNjQ5OTAyQzYuMzY2NjcgMC42NDk5MDIgNy4xOTE2NyAwLjgzMzIzNiA3Ljk3NSAxLjE5OTlDOC43NTgzMyAxLjU2NjU3IDkuNDMzMzMgMi4wODMyNCAxMCAyLjc0OTlDMTAuNTY2NyAyLjA4MzI0IDExLjI0MTcgMS41NjY1NyAxMi4wMjUgMS4xOTk5QzEyLjgwODMgMC44MzMyMzYgMTMuNjMzMyAwLjY0OTkwMiAxNC41IDAuNjQ5OTAyQzE2LjA2NjcgMC42NDk5MDIgMTcuMzc1IDEuMTc0OSAxOC40MjUgMi4yMjQ5QzE5LjQ3NSAzLjI3NDkgMjAgNC41ODMyNCAyMCA2LjE0OTlDMjAgNi45MTY1NyAxOS44NzA4IDcuNjY2NTcgMTkuNjEyNSA4LjM5OTlDMTkuMzU0MiA5LjEzMzI0IDE4LjkgOS45Mzc0IDE4LjI1IDEwLjgxMjRDMTcuNiAxMS42ODc0IDE2LjcyNSAxMi42NzQ5IDE1LjYyNSAxMy43NzQ5QzE0LjUyNSAxNC44NzQ5IDEzLjEzMzMgMTYuMTgzMiAxMS40NSAxNy42OTk5TDEwIDE4Ljk5OTlaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['ShareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi45NDczIDIzLjM3NDhDMTMuMSAyMy43NTI2IDEzLjQ2NjggMjQgMTMuODc0NCAyNEgxNC4zNzE5QzE0Ljc4OTYgMjQgMTUuMTYzMyAyMy43NDAzIDE1LjMwOSAyMy4zNDg4TDIzLjIzNzUgMi4wNDg1QzIzLjUzNjIgMS4yNDYwNCAyMi43NTM5IDAuNDYzNzg1IDIxLjk1MTUgMC43NjI0OEwwLjY1MTE2IDguNjkwOTNDMC4yNTk2NjUgOC44MzY2NSAwIDkuMjEwMzcgMCA5LjYyODExVjEwLjEyNTZDMCAxMC41MzMyIDAuMjQ3MzQ5IDEwLjkgMC42MjUyMTEgMTEuMDUyN0w5LjQgMTQuNkwxMi45NDczIDIzLjM3NDhaTTE4LjM1MTggNy41MzM4OUwxNC4wNjY3IDE5LjA2NjZMMTIuMDAzNSAxMy44ODIyTDE4LjM1MTggNy41MzM4OVpNMTYuNDY2MyA1LjY0ODEyTDEwLjExNzkgMTEuOTk2NUw0LjkzMzMzIDkuOTMzMzFMMTYuNDY2MyA1LjY0ODEyWiIgZmlsbD0iI0YwRjBGMCIvPgo8L3N2Zz4K',f['IconLink']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2210\x22\x20viewBox=\x220\x200\x2020\x2010\x22\x20fill=\x22none\x22><path\x20d=\x22M9\x2010H5C3.61667\x2010\x202.4375\x209.5125\x201.4625\x208.5375C0.4875\x207.5625\x200\x206.38333\x200\x205C0\x203.61667\x200.4875\x202.4375\x201.4625\x201.4625C2.4375\x200.4875\x203.61667\x200\x205\x200H9V2H5C4.16667\x202\x203.45833\x202.29167\x202.875\x202.875C2.29167\x203.45833\x202\x204.16667\x202\x205C2\x205.83333\x202.29167\x206.54167\x202.875\x207.125C3.45833\x207.70833\x204.16667\x208\x205\x208H9V10ZM6\x206V4H14V6H6ZM11\x2010V8H15C15.8333\x208\x2016.5417\x207.70833\x2017.125\x207.125C17.7083\x206.54167\x2018\x205.83333\x2018\x205C18\x204.16667\x2017.7083\x203.45833\x2017.125\x202.875C16.5417\x202.29167\x2015.8333\x202\x2015\x202H11V0H15C16.3833\x200\x2017.5625\x200.4875\x2018.5375\x201.4625C19.5125\x202.4375\x2020\x203.61667\x2020\x205C20\x206.38333\x2019.5125\x207.5625\x2018.5375\x208.5375C17.5625\x209.5125\x2016.3833\x2010\x2015\x2010H11Z\x22\x20fill=\x22white\x22\x20fill-opacity=\x220.92\x22/></svg>',f['IconGlobe']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20fill=\x22none\x22><path\x20d=\x22M10\x2020C8.61667\x2020\x207.31667\x2019.7375\x206.1\x2019.2125C4.88333\x2018.6875\x203.825\x2017.975\x202.925\x2017.075C2.025\x2016.175\x201.3125\x2015.1167\x200.7875\x2013.9C0.2625\x2012.6833\x200\x2011.3833\x200\x2010C0\x208.61667\x200.2625\x207.31667\x200.7875\x206.1C1.3125\x204.88333\x202.025\x203.825\x202.925\x202.925C3.825\x202.025\x204.88333\x201.3125\x206.1\x200.7875C7.31667\x200.2625\x208.61667\x200\x2010\x200C11.3833\x200\x2012.6833\x200.2625\x2013.9\x200.7875C15.1167\x201.3125\x2016.175\x202.025\x2017.075\x202.925C17.975\x203.825\x2018.6875\x204.88333\x2019.2125\x206.1C19.7375\x207.31667\x2020\x208.61667\x2020\x2010C20\x2011.3833\x2019.7375\x2012.6833\x2019.2125\x2013.9C18.6875\x2015.1167\x2017.975\x2016.175\x2017.075\x2017.075C16.175\x2017.975\x2015.1167\x2018.6875\x2013.9\x2019.2125C12.6833\x2019.7375\x2011.3833\x2020\x2010\x2020ZM9\x2017.95V16C8.45\x2016\x207.97917\x2015.8042\x207.5875\x2015.4125C7.19583\x2015.0208\x207\x2014.55\x207\x2014V13L2.2\x208.2C2.15\x208.5\x202.10417\x208.8\x202.0625\x209.1C2.02083\x209.4\x202\x209.7\x202\x2010C2\x2012.0167\x202.6625\x2013.7833\x203.9875\x2015.3C5.3125\x2016.8167\x206.98333\x2017.7\x209\x2017.95ZM15.9\x2015.4C16.2333\x2015.0333\x2016.5333\x2014.6375\x2016.8\x2014.2125C17.0667\x2013.7875\x2017.2875\x2013.3458\x2017.4625\x2012.8875C17.6375\x2012.4292\x2017.7708\x2011.9583\x2017.8625\x2011.475C17.9542\x2010.9917\x2018\x2010.5\x2018\x2010C18\x208.36667\x2017.5458\x206.875\x2016.6375\x205.525C15.7292\x204.175\x2014.5167\x203.2\x2013\x202.6V3C13\x203.55\x2012.8042\x204.02083\x2012.4125\x204.4125C12.0208\x204.80417\x2011.55\x205\x2011\x205H9V7C9\x207.28333\x208.90417\x207.52083\x208.7125\x207.7125C8.52083\x207.90417\x208.28333\x208\x208\x208H6V10H12C12.2833\x2010\x2012.5208\x2010.0958\x2012.7125\x2010.2875C12.9042\x2010.4792\x2013\x2010.7167\x2013\x2011V14H14C14.4333\x2014\x2014.825\x2014.1292\x2015.175\x2014.3875C15.525\x2014.6458\x2015.7667\x2014.9833\x2015.9\x2015.4Z\x22\x20fill=\x22%23131313\x22/></svg>',f['playIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3dfIGhvbGxvdyI+CjxtYXNrIGlkPSJtYXNrMF8yMTA2Xzk5NCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTA2Xzk5NCkiPgo8cGF0aCBpZD0icGxheV9hcnJvdyIgZD0iTTggMTlWNUwxOSAxMkw4IDE5Wk0xMCAxNS4zNUwxNS4yNSAxMkwxMCA4LjY1VjE1LjM1WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['pauseIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBhdXNlIj4KPG1hc2sgaWQ9Im1hc2swXzIxMTdfMiIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTE3XzIpIj4KPHBhdGggaWQ9InBhdXNlXzIiIGQ9Ik0xNCAxOVY1SDE3VjE5SDE0Wk03IDE5VjVIMTBWMTlIN1oiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['unmuteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV91cF8yIj4KPG1hc2sgaWQ9Im1hc2swXzIxMDZfOTg3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIxMDZfOTg3KSI+CjxwYXRoIGlkPSJ2b2x1bWVfdXAiIGQ9Ik0xNCAyMC43MjVWMTguNjc1QzE1LjUgMTguMjQxNiAxNi43MDgzIDE3LjQwODMgMTcuNjI1IDE2LjE3NUMxOC41NDE3IDE0Ljk0MTYgMTkgMTMuNTQxNiAxOSAxMS45NzVDMTkgMTAuNDA4MyAxOC41NDE3IDkuMDA4MzEgMTcuNjI1IDcuNzc0OThDMTYuNzA4MyA2LjU0MTY0IDE1LjUgNS43MDgzMSAxNCA1LjI3NDk4VjMuMjI0OThDMTYuMDY2NyAzLjY5MTY0IDE3Ljc1IDQuNzM3NDggMTkuMDUgNi4zNjI0OEMyMC4zNSA3Ljk4NzQ4IDIxIDkuODU4MzEgMjEgMTEuOTc1QzIxIDE0LjA5MTYgMjAuMzUgMTUuOTYyNSAxOS4wNSAxNy41ODc1QzE3Ljc1IDE5LjIxMjUgMTYuMDY2NyAyMC4yNTgzIDE0IDIwLjcyNVpNMyAxNVY4Ljk5OTk4SDdMMTIgMy45OTk5OFYyMEw3IDE1SDNaTTE0IDE2VjcuOTQ5OThDMTQuNzgzMyA4LjMxNjY0IDE1LjM5NTggOC44NjY2NCAxNS44Mzc1IDkuNTk5OThDMTYuMjc5MiAxMC4zMzMzIDE2LjUgMTEuMTMzMyAxNi41IDEyQzE2LjUgMTIuODUgMTYuMjc5MiAxMy42Mzc1IDE1LjgzNzUgMTQuMzYyNUMxNS4zOTU4IDE1LjA4NzUgMTQuNzgzMyAxNS42MzMzIDE0IDE2Wk0xMCA4Ljg0OTk4TDcuODUgMTFINVYxM0g3Ljg1TDEwIDE1LjE1VjguODQ5OThaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['muteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV9tdXRlIj4KPHBhdGggaWQ9InZvbHVtZV9vZmYiIGQ9Ik0xOS44IDIyLjZMMTYuNzc1IDE5LjU3NTFDMTYuMzU4NCAxOS44NDE3IDE1LjkxNjcgMjAuMDcwOSAxNS40NSAyMC4yNjI2QzE0Ljk4MzQgMjAuNDU0MiAxNC41IDIwLjYwODQgMTQgMjAuNzI1VjE4LjY3NUMxNC4yMzM0IDE4LjU5MTcgMTQuNDYyNSAxOC41MDg0IDE0LjY4NzUgMTguNDI1QzE0LjkxMjUgMTguMzQxNyAxNS4xMjUgMTguMjQxNyAxNS4zMjUgMTguMTI1MUwxMiAxNC44VjIwTDcuMDAwMDIgMTVIMy4wMDAwMlY5LjAwMDA1SDYuMjAwMDJMMS40MDAwMiA0LjIwMDA1TDIuODAwMDIgMi44MDAwNUwyMS4yIDIxLjIwMDFMMTkuOCAyMi42Wk0xOS42IDE2LjhMMTguMTUgMTUuMzVDMTguNDMzNCAxNC44MzM0IDE4LjY0NTkgMTQuMjkxNyAxOC43ODc1IDEzLjcyNUMxOC45MjkyIDEzLjE1ODQgMTkgMTIuNTc1MSAxOSAxMS45NzVDMTkgMTAuNDA4NCAxOC41NDE3IDkuMDA4MzggMTcuNjI1IDcuNzc1MDVDMTYuNzA4NCA2LjU0MTcyIDE1LjUgNS43MDgzOCAxNCA1LjI3NTA1VjMuMjI1MDVDMTYuMDY2NyAzLjY5MTcyIDE3Ljc1IDQuNzM3NTUgMTkuMDUgNi4zNjI1NUMyMC4zNSA3Ljk4NzU1IDIxIDkuODU4MzggMjEgMTEuOTc1QzIxIDEyLjg1ODQgMjAuODc5MiAxMy43MDg0IDIwLjYzNzUgMTQuNTI1MUMyMC4zOTU5IDE1LjM0MTcgMjAuMDUgMTYuMSAxOS42IDE2LjhaTTE2LjI1IDEzLjQ1TDE0IDExLjJWNy45NTAwNUMxNC43ODM0IDguMzE2NzIgMTUuMzk1OSA4Ljg2NjcyIDE1LjgzNzUgOS42MDAwNUMxNi4yNzkyIDEwLjMzMzQgMTYuNSAxMS4xMzM0IDE2LjUgMTJDMTYuNSAxMi4yNSAxNi40NzkyIDEyLjQ5NTkgMTYuNDM3NSAxMi43Mzc1QzE2LjM5NTkgMTIuOTc5MiAxNi4zMzM0IDEzLjIxNjcgMTYuMjUgMTMuNDVaTTEyIDkuMjAwMDVMOS40MDAwMyA2LjYwMDA1TDEyIDQuMDAwMDVWOS4yMDAwNVpNMTAgMTUuMTUwMVYxMi44TDguMjAwMDMgMTFINS4wMDAwMlYxM0g3Ljg1MDAzTDEwIDE1LjE1MDFaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['shareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNoYXJlIj4KPHBhdGggaWQ9IlVuaW9uIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjY0NzMgMjAuMzc0OEMxMi44IDIwLjc1MjcgMTMuMTY2OCAyMSAxMy41NzQ0IDIxSDEzLjYwNTJDMTQuMDIyOSAyMSAxNC4zOTY3IDIwLjc0MDQgMTQuNTQyNCAyMC4zNDg5TDIwLjIzNzUgNS4wNDg1NkMyMC41MzYyIDQuMjQ2MSAxOS43NTM5IDMuNDYzODUgMTguOTUxNSAzLjc2MjU0TDMuNjUxMTYgOS40NTc2NkMzLjI1OTY2IDkuNjAzMzggMyA5Ljk3NzEgMyAxMC4zOTQ4VjEwLjQyNTdDMyAxMC44MzMyIDMuMjQ3MzUgMTEuMiAzLjYyNTIxIDExLjM1MjhMMTAuMDUgMTMuOTVMMTIuNjQ3MyAyMC4zNzQ4Wk0xNi43NjM4IDguNjUwNDdMMTMuNTUgMTcuM0wxMi4wMDI2IDEzLjQxMTdMMTYuNzYzOCA4LjY1MDQ3Wk0xNS4zNDk3IDcuMjM2MTRMMTAuNTg4NCAxMS45OTc1TDYuNyAxMC40NUwxNS4zNDk3IDcuMjM2MTRaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNsb3NlIj4KPG1hc2sgaWQ9Im1hc2swXzIwODlfNjUxOCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMDg5XzY1MTgpIj4KPHBhdGggaWQ9ImNsb3NlXzIiIGQ9Ik05LjYgMjguNUw3LjUgMjYuNEwxNS45IDE4TDcuNSA5LjZMOS42IDcuNUwxOCAxNS45TDI2LjQgNy41TDI4LjUgOS42TDIwLjEgMThMMjguNSAyNi40TDI2LjQgMjguNUwxOCAyMC4xTDkuNiAyOC41WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['nextStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfbmV4dCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyMzYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjM2KSI+CjxwYXRoIGlkPSJza2lwX25leHRfMiIgZD0iTTIyIDI0VjhIMjQuNjY2NlYyNEgyMlpNNy4zMzMzMSAyNFY4TDE5LjMzMzMgMTZMNy4zMzMzMSAyNFpNOS45OTk5OCAxOUwxNC41MzMzIDE2TDkuOTk5OTggMTNWMTlaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['prevStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfcHJldmlvdXMiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjM4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzIzOCkiPgo8cGF0aCBpZD0ic2tpcF9wcmV2aW91c18yIiBkPSJNNy4zMzMzMyAyNFY4SDkuOTk5OTlWMjRINy4zMzMzM1pNMjQuNjY2NyAyNEwxMi42NjY3IDE2TDI0LjY2NjcgOFYyNFpNMjIgMTlWMTNMMTcuNDY2NyAxNkwyMiAxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['nextPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fcmlnaHQiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjc3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzI3NykiPgo8cGF0aCBpZD0iY2hldnJvbl9yaWdodF8yIiBkPSJNMTAuOTY2NiAyMUw5LjMzMzMxIDE5LjM2NjdMMTQuNyAxNEw5LjMzMzMxIDguNjMzMzNMMTAuOTY2NiA3TDE3Ljk2NjYgMTRMMTAuOTY2NiAyMVoiIGZpbGw9IiMxMzEzMTMiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['prevPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fbGVmdCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyNDAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjQwKSI+CjxwYXRoIGlkPSJjaGV2cm9uX2xlZnRfMiIgZD0iTTE2LjMzMzMgMjFMOS4zMzMzMyAxNEwxNi4zMzMzIDdMMTcuOTY2NyA4LjYzMzMzTDEyLjYgMTRMMTcuOTY2NyAxOS4zNjY3TDE2LjMzMzMgMjFaIiBmaWxsPSIjMTMxMzEzIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['restartIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzVfNDg5ODEiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNV80ODk4MSkiPgo8cGF0aCBkPSJNMTYgMjRDMTMuNzY2NyAyNCAxMS44NzUgMjMuMjI1IDEwLjMyNSAyMS42NzVDOC43NzUgMjAuMTI1IDggMTguMjMzMyA4IDE2QzggMTMuNzY2NyA4Ljc3NSAxMS44NzUgMTAuMzI1IDEwLjMyNUMxMS44NzUgOC43NzUgMTMuNzY2NyA4IDE2IDhDMTcuMTUgOCAxOC4yNSA4LjIzNzUgMTkuMyA4LjcxMjVDMjAuMzUgOS4xODc1IDIxLjI1IDkuODY2NjcgMjIgMTAuNzVWOEgyNFYxNUgxN1YxM0gyMS4yQzIwLjY2NjcgMTIuMDY2NyAxOS45Mzc1IDExLjMzMzMgMTkuMDEyNSAxMC44QzE4LjA4NzUgMTAuMjY2NyAxNy4wODMzIDEwIDE2IDEwQzE0LjMzMzMgMTAgMTIuOTE2NyAxMC41ODMzIDExLjc1IDExLjc1QzEwLjU4MzMgMTIuOTE2NyAxMCAxNC4zMzMzIDEwIDE2QzEwIDE3LjY2NjcgMTAuNTgzMyAxOS4wODMzIDExLjc1IDIwLjI1QzEyLjkxNjcgMjEuNDE2NyAxNC4zMzMzIDIyIDE2IDIyQzE3LjI4MzMgMjIgMTguNDQxNyAyMS42MzMzIDE5LjQ3NSAyMC45QzIwLjUwODMgMjAuMTY2NyAyMS4yMzMzIDE5LjIgMjEuNjUgMThIMjMuNzVDMjMuMjgzMyAxOS43NjY3IDIyLjMzMzMgMjEuMjA4MyAyMC45IDIyLjMyNUMxOS40NjY3IDIzLjQ0MTcgMTcuODMzMyAyNCAxNiAyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['playResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwbGF5X2Fycm93XzIiIGQ9Ik0xOCAzNlYxMkwzNiAyNEwxOCAzNloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['pauseResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwYXVzZSIgZD0iTTI3IDM2VjEySDMzVjM2SDI3Wk0xNSAzNlYxMkgyMVYzNkgxNVoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['arrowUpCtaIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCA4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMTggNy43LTAuNy0wLjItNy4zLTQtNy4zIDRjLTAuNyAwLjQtMS42IDAuMi0yLTAuNi0wLjQtMC43LTAuMS0xLjYgMC42LTJsOC00LjRhMiAyIDAgMCAxIDEuNSAwbDggNC40YzAuNyAwLjQgMSAxLjMgMC42IDItMC40IDAuNS0wLjkgMC44LTEuNCAwLjh6Ii8+Cjwvc3ZnPgo=',f['externalLinkIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY3Jvc3NvcmlnaW49ImFub255bW91cyI+CjxwYXRoIGQ9Im0xMiAwYzYuNiAwIDEyIDUuNCAxMiAxMnMtNS40IDEyLTEyIDEyLTEyLTUuNC0xMi0xMiA1LjQtMTIgMTItMTJ6IiBmaWxsLW9wYWNpdHk9Ii4xIi8+CjxwYXRoIGQ9Im0xMy44IDE0LjYgMC4yIDAuNS0wLjIgMC41LTEuNSAxLjRjLTAuNyAwLjctMS43IDEuMS0yLjcgMS4xYTQgNCAwIDAgMS0yLjctMS4xIDMuOSAzLjkgMCAwIDEtMS4xLTIuNyA0IDQgMCAwIDEgMS4xLTIuN2wxLjUtMS41IDAuNS0wLjEgMC41IDAuMiAwLjIgMC41LTAuMiAwLjUtMS41IDEuNWMtMC41IDAuNS0wLjcgMS4xLTAuNyAxLjdzMC4zIDEuMyAwLjcgMS43YzAuNSAwLjUgMS4xIDAuNyAxLjcgMC43czEuMy0wLjMgMS43LTAuN2wxLjUtMS41YzAuMy0wLjMgMC43LTAuMyAxIDB6bTMuMi03LjZhMy45IDMuOSAwIDAgMC0yLjctMS4xIDQgNCAwIDAgMC0yLjcgMS4xbC0xLjUgMS41LTAuMSAwLjQgMC4yIDAuNSAwLjUgMC4yIDAuNS0wLjIgMS41LTEuNWMwLjUtMC41IDEuMS0wLjcgMS43LTAuN3MxLjMgMC4zIDEuNyAwLjdjMC41IDAuNSAwLjcgMS4xIDAuNyAxLjdzLTAuMyAxLjMtMC43IDEuN2wtMS41IDEuNS0wLjIgMC41IDAuMiAwLjUgMC41IDAuMiAwLjUtMC4yIDEuNS0xLjVjMC43LTAuNyAxLjEtMS43IDEuMS0yLjctMC4xLTEtMC41LTEuOS0xLjItMi42em0tNy45IDcuMiAwLjIgMC41IDAuNSAwLjIgMC41LTAuMiA0LjUtNC41IDAuMi0wLjUtMC4yLTAuNWMtMC4zLTAuMi0wLjgtMC4yLTEgMC4xbC00LjUgNC41eiIvPgo8L3N2Zz4K',f['fullscreenIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzkxNTFfNTE4OSIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85MTUxXzUxODkpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVYxNUg1VjE5SDlWMjFINVpNMTUgMjFWMTlIMTlWMTVIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFIMTVaTTMgOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0g5VjVINVY5SDNaTTE5IDlWNUgxNVYzSDE5QzE5LjU1IDMgMjAuMDIwOCAzLjE5NTgzIDIwLjQxMjUgMy41ODc1QzIwLjgwNDIgMy45NzkxNyAyMSA0LjQ1IDIxIDVWOUgxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L3N2Zz4K',f['arrowDownMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',f['arrowUpMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgdHJhbnNmb3JtPSJzY2FsZSgxIC0xKSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',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';},0x1fdc:function(j,q,z){'use strict';var B=this&&this['__awaiter']||function(ae,af,ag,ah){return new(ag||(ag=Promise))(function(ai,aj){function ak(an){try{am(ah['next'](an));}catch(ao){aj(ao);}}function al(an){try{am(ah['throw'](an));}catch(ao){aj(ao);}}function am(an){var ao;an['done']?ai(an['value']):(ao=an['value'],ao instanceof ag?ao:new ag(function(ap){ap(ao);}))['then'](ak,al);}am((ah=ah['apply'](ae,af||[]))['next']());});};Object['defineProperty'](q,'__esModule',{'value':!0x0}),q['setAbTestParams']=q['playStories']=q['playStory']=q['setImaHandler']=q['setGoogleCustomNativeAdsHandler']=q['resumeCurrentPlayer']=q['pauseCurrentPlayer']=q['DataSourceBuilder']=q['LabelBuilder']=q['Delegations']=q['addDelegateListener']=q['Theme']=q['WidgetEmbeddedStory']=q['WidgetGridView']=q['WidgetRowView']=q['Initialize']=q['setExternalUserId']=q['setGeoLocation']=q['setDoNotTrack']=void 0x0;const F=z(0x26ed),G=z(0x2033),H=z(0x11c1),J=z(0x132a),K=z(0x2432),L=z(0x23a6),O=z(0x1133),Q=z(0x22d9);Q['WidgetsFactory']['define']('blaze-sdk',L['BlazeWidgetSDK']);const R={'environment':'prod','sendAnalytics':!0x0,'doNotTrack':!0x1,'externalUserId':'','geoLocation':'','runInShadowDom':!0x0,'shouldModifyUrlWithStoryId':!0x0,'shouldDismissPlayer':!0x1,'shouldCreateUser':!0x0,'prefetchingPolicy':'default','shouldAllowHorizontalStories':!0x1,'layoutDirection':'LTR','shouldAllowClosedCaptions':!0x1};function U(ae){H['ConfigService']['doNotTrack']=ae;}function V(ae){H['ConfigService']['geoLocation']=(0x0,K['isValidCountryCode'])(ae)?ae:'';}function W(ae){return B(this,void 0x0,void 0x0,function*(){H['ConfigService']['externalUserId']=ae,yield H['UserService']['refreshUserToken']();});}function X(ae,af={}){const ag=(0x0,K['mergeDeep'])({},R,af,{'apiKey':ae});return new Promise(ah=>{document['querySelector']('#blaze-sdk')||Q['WidgetsFactory']['whenDefined']('blaze-sdk')['then'](()=>{const {environment:ai,sendAnalytics:aj,previewMomentUrl:ak,previewUrl:al,doNotTrack:am,externalUserId:an,geoLocation:ao,runInShadowDom:ap,shouldModifyUrlWithStoryId:aq,shouldDismissPlayer:ar,playerStyleCustomization:as,shouldCreateUser:at,prefetchingPolicy:au,shouldAllowHorizontalStories:av,shouldAutoAdvance:aw,layoutDirection:ax,shouldAllowClosedCaptions:ay}=ag,az=document['createElement']('blaze-sdk');az['setAttribute']('api-key',ae),'boolean'==typeof at&&az['setAttribute']('should-create-user',at['toString']()),'boolean'==typeof ay&&az['setAttribute']('should-allow-closed-captions',ay['toString']()),ax&&az['setAttribute']('layout-direction',ax),ai&&az['setAttribute']('environment',ai),'boolean'==typeof aj&&az['setAttribute']('send-analytics',aj['toString']()),'boolean'==typeof ap&&az['setAttribute']('run-in-shadow-dom',ap['toString']()),'boolean'==typeof aq&&az['setAttribute']('modifiy-url-with-story-id',aq['toString']()),al&&az['setAttribute']('preview-url',al),ak&&az['setAttribute']('preview-moment-url',ak),am&&az['setAttribute']('do-not-track',am['toString']()),av&&az['setAttribute']('should-allow-horizontal-stories',av['toString']()),an&&az['setAttribute']('external-user-id',an),ao&&az['setAttribute']('geo-location',(0x0,K['isValidCountryCode'])(ao)?ao:''),as&&az['setPlayerStyleCustomization'](as),ar&&az['setAttribute']('should-dismiss-player',ar['toString']()),aw&&az['setAttribute']('should-auto-advance',aw['toString']()),au&&az['setAttribute']('prefetching-policy',au);const aA=document['querySelector']('body');aA?(null==aA||aA['appendChild'](az),ah()):document['addEventListener']('DOMContentLoaded',()=>{const aB=document['querySelector']('body');null==aB||aB['appendChild'](az),ah();});});});}function Y(ae,af,ag,ah){var ai,aj,ak;const {orderType:al,storyIds:am,contentIds:an,maxItemsCount:ao,maxDisplayItemsCount:ap,labels:aq,theme:ar,delegates:as,labelsPriority:at,perItemStyleOverrides:au,shouldOrderWidgetByReadStatus:av,contentType:aw='story',dataSource:ax}=ag,ay=document['createElement'](ae),az=document['querySelector']('#'+af),aA=null==az?void 0x0:az['querySelector'](ae);if(as&&ay['setDelegations'](as),az){if(aA)H['EventService']['dispatch'](document['body'],F['Delegation']['onErrorThrown'],{'errorCode':F['ErrorCode']['FailedContainerIdHasWidgetAlready']});else{ay['setId'](af),aw&&ay['setAttribute']('content-type',aw),ar?'string'==typeof ar&&aw?'moment'===aw?ay['setTheme'](J['ThemeFactory']['create'](ar,'moment')):'story'===aw&&ay['setTheme'](J['ThemeFactory']['create'](ar,'story')):(0x0,G['isWidgetTheme'])(ar)&&ay['setTheme'](ar):ay['setTheme'](ah),au&&ay['updateOverrideStyles'](au),ao?ay['setMaxItemsSize'](ao):(null==ax?void 0x0:ax['maxItems'])&&ay['setMaxItemsSize'](ax['maxItems']),ap&&ay['setMaxItemsDisplaySize'](ap),al?ay['setAttribute']('order-type',al):(null==ax?void 0x0:ax['orderType'])&&ay['setAttribute']('order-type',ax['orderType']);const aB=Boolean(null==av||av)['toString']();ay['setAttribute']('should-order-widget-by-read-status',aB),at?ay['setLabelsPriority'](at):(null==ax?void 0x0:ax['labelsPriority'])&&ay['setLabelsPriority'](ax['labelsPriority']),aq?ay['setLabels'](aq):'labels'===(null==ax?void 0x0:ax['type'])&&(null==ax?void 0x0:ax['labels'])&&ay['setLabels'](ax['labels']),(null==am?void 0x0:am['length'])?ay['setAttribute']('story-ids',am['join'](',')):'ids'===(null==ax?void 0x0:ax['type'])&&(null===(ai=null==ax?void 0x0:ax['ids'])||void 0x0===ai?void 0x0:ai['length'])&&ay['setAttribute']('story-ids',ax['ids']['join'](',')),(null==an?void 0x0:an['length'])?ay['setAttribute']('content-ids',an['join'](',')):'ids'===(null==ax?void 0x0:ax['type'])&&(null===(aj=null==ax?void 0x0:ax['ids'])||void 0x0===aj?void 0x0:aj['length'])&&ay['setAttribute']('content-ids',ax['ids']['join'](',')),aq||(null==am?void 0x0:am['length'])||(null==an?void 0x0:an['length'])||(null===(ak=null==ax?void 0x0:ax['ids'])||void 0x0===ak?void 0x0:ak['length'])||null==ax||ax['labels'];const aC=document['querySelector']('#'+af);null==aC||aC['appendChild'](ay);}}else H['EventService']['dispatch'](document['body'],F['Delegation']['onErrorThrown'],{'errorCode':F['ErrorCode']['FailedToFindContainerId']});return ay;}function Z(ae,af){let ag;if('moment'===af['contentType'])ag=J['ThemeFactory']['create']('row-circle','moment');else{if('story'!==af['contentType']&&af['contentType'])throw new Error('Invalid\x20content\x20type');ag=J['ThemeFactory']['create']('row-circle','story');}return Y('blaze-widget-layout',ae,af,ag);}function a0(ae,af){let ag;if('moment'===af['contentType'])ag=J['ThemeFactory']['create']('grid-2-columns','moment');else{if('story'!==af['contentType']&&af['contentType'])throw new Error('Invalid\x20content\x20type');ag=J['ThemeFactory']['create']('grid-2-columns','story');}return Y('blaze-widget-layout',ae,af,ag);}function a1(ae,af){return Y('blaze-widget-embedded-story',ae,af,J['ThemeFactory']['create']('grid-2-columns'));}function a2(ae,af='story'){if('moment'===af)return J['ThemeFactory']['create'](ae,'moment');if('story'!==af&&af)throw new Error('Invalid\x20content\x20type');return J['ThemeFactory']['create'](ae,'story');}function a3(ae,af,ag){document['addEventListener'](ae,af,ag);}function a4(){return{'singleLabel':ae=>O['BlazeWidgetLabel']['singleLabel'](ae),'mustInclude':(...ae)=>O['BlazeWidgetLabel']['mustInclude'](...ae),'atLeastOneOf':(...ae)=>O['BlazeWidgetLabel']['atLeastOneOf'](...ae)};}function a5(){return{'labels':ae=>O['BlazeDataSourceFactory']['createLabelsDataSource'](ae),'ids':ae=>O['BlazeDataSourceFactory']['createIdsDataSource'](ae)};}function a6(ae){var af;const ag=null===(af=document['getElementsByTagName']('blaze-sdk'))||void 0x0===af?void 0x0:af[0x0];ag&&H['VideoPlayerService']['isPlaying']===ae&&ag instanceof L['BlazeWidgetSDK']&&ag['modal']['playToggleCurrentStory']();}function a7(){a6(!0x0);}function a8(){a6(!0x1);}function a9(ae){H['ConfigService']['googleCustomNativeAdHandler']=ae;}function aa(ae){H['ConfigService']['imaAdHandler']=ae;}function ab(ae,af){return B(this,void 0x0,void 0x0,function*(){try{const ag=O['BlazeDataSourceFactory']['createIdsDataSource']({'ids':[ae]});yield Q['PlayerViewFactory']['create'](ag,af||J['Presets']['DefaultStoryStyle']);}catch(ah){}});}function ac(ae,af){return B(this,void 0x0,void 0x0,function*(){try{O['BlazeDataSourceValidations']['validateFormat'](ae),yield Q['PlayerViewFactory']['create'](ae,af||J['Presets']['DefaultStoryStyle']);}catch(ag){}});}function ad(ae){H['UserService']['_abTest']=ae;}q['setDoNotTrack']=U,q['setGeoLocation']=V,q['setExternalUserId']=W,q['Initialize']=X,q['WidgetRowView']=Z,q['WidgetGridView']=a0,q['WidgetEmbeddedStory']=a1,q['Theme']=a2,q['addDelegateListener']=a3,q['Delegations']=F['Delegation'],q['LabelBuilder']=a4,q['DataSourceBuilder']=a5,q['pauseCurrentPlayer']=a7,q['resumeCurrentPlayer']=a8,q['setGoogleCustomNativeAdsHandler']=a9,q['setImaHandler']=aa,q['playStory']=ab,q['playStories']=ac,q['setAbTestParams']=ad,q['default']={'Initialize':X,'WidgetGridView':a0,'WidgetRowView':Z,'WidgetEmbeddedStory':a1,'Theme':a2,'addDelegateListener':a3,'setDoNotTrack':U,'setGeoLocation':V,'LabelBuilder':a4,'DataSourceBuilder':a5,'Delegations':F['Delegation'],'setGoogleCustomNativeAdsHandler':a9,'setImaHandler':aa,'pauseCurrentPlayer':a7,'resumeCurrentPlayer':a8,'setExternalUserId':W,'playStory':ab,'playStories':ac,'setAbTestParams':ad};},0x21d:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AdService']=void 0x0;const j=g(0x1133),k=g(0x23a6),l={'method':'HEAD','mode':'no-cors'};class m extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['canRunAds']=!0x1;}['init'](){return h(this,void 0x0,void 0x0,function*(){try{yield fetch('https://securepubads.g.doubleclick.net/pagead/ppub_config',l),yield fetch('https://imasdk.googleapis.com/js/sdkloader/ima3.js',l),this['canRunAds']=!0x0;}catch(p){this['canRunAds']=!0x1;}});}['pushAdsBetweenStories'](p,q,u,v,w,x,y='Full\x20Screen'){var z;if(!this['canRunAds'])return;if(v<=w||'EveryXStories'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['adsLocationType'])||v>=u['length']-0x1)return;const A=v-w,B=p['configuration']['adLocationsIndexes'][0x0];if('Web'===p['type']&&p['path']){if((A+0x1)%B!=0x0)return;const C='ad-between-stories-'+q['length'],D=new k['BlazeWidgetStory'](x,y),E={'description':'','isLive':!0x1,'pages':[{'id':C+'-page','type':'Ad','duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'createTime':new Date()['toLocaleString'](),'adPath':p['path']}],'isAd':!0x0,'id':C,'title':'','updateTime':'','createTime':'','thumbnails':[],'hasViewed':!0x1};D['setData'](E),q['push'](D);}else{if('IMA'===p['type']&&p['tag']){if(A%B!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['imaUrl']=p['tag'],q[v]['adContext']=p['context'];}}}['pushAdsBetweenMoments'](p,q,u,v,w){var x,y,z;if(!this['canRunAds'])return;const A=null!==(y=null===(x=null==p?void 0x0:p['configuration'])||void 0x0===x?void 0x0:x['adLocationsIndexes'][0x0])&&void 0x0!==y?y:0x1;if('Moment'!==(null===(z=null==p?void 0x0:p['configuration'])||void 0x0===z?void 0x0:z['type'])||A>0x1&&v<=w||v>=u['length']-0x1)return;const B=v-w;if('Web'===p['type']&&p['path']){if((B+0x1)%A!=0x0)return;const C='ad-between-moments-'+q['length'],D=new k['BlazeWidgetMoment']();return D['setData']({'id':C,'type':'Ad','adPath':p['path'],'duration':'5','thumbnails':[],'likes':0x0,'baseLayer':{'type':'Video','content':{'renditions':[]}},'poster':{'rendition':{'url':'','aspectRatio':'Vertical'},'type':'Image'},'cta':{'type':'Web','url':'','text':'','backgroundColor':'','textColor':'','enhancements':null},'momentIndexInPlaylist':0x0,'title':'','updateTime':'','createTime':'','hasViewed':!0x1,'isAd':!0x0}),q['push'](D),D;}if('IMA'===p['type']&&p['tag']){if(0x0===B)return;if(B%A!=0x0)return;q[v]['shouldShowImaAdOnStart']=!0x0,q[v]['imaUrl']=p['tag'],q[v]['adContext']=p['context'];}}}f['AdService']=m['getInstance']();},0x1ef4:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AnalyticsService']=void 0x0;const p=j(0x1c40),q=j(0x11c1),u=m(j(0x208a)),v=j(0x1133),w=j(0x1932),x=j(0x164);class y extends(0x0,v['Singleton'])(){constructor(){super(...arguments),this['events']=[];}['init'](){return k(this,void 0x0,void 0x0,function*(){const z=new p['UAParser'](navigator['userAgent']);this['uaParsed']=z['getResult'](),q['ConfigService']['sendAnalytics']&&setInterval(()=>{this['sendAnalyticsData']();},w['ONE_SECOND']);});}['sendAnalyticsData'](){return k(this,void 0x0,void 0x0,function*(){if(q['UserService']['userId']){if(q['UserService']['sessionId']&&this['events']['length'])try{const z=this['events']['map'](A=>{var B,C,D,E,F;return A['user']['generated_user_id']=q['ConfigService']['doNotTrack']?'do_not_track':q['UserService']['userId'],A['user']['external_user_id']=null!==(B=q['ConfigService']['externalUserId'])&&void 0x0!==B?B:'',A['user']['ab_test_id']=null!==(D=null===(C=q['UserService']['abTest'])||void 0x0===C?void 0x0:C['id'])&&void 0x0!==D?D:'',A['user']['ab_test_variant']=null!==(F=null===(E=q['UserService']['abTest'])||void 0x0===E?void 0x0:E['variant'])&&void 0x0!==F?F:'',A['session_id']=q['UserService']['sessionId'],A['widget']&&(A['widget']['page_view_id']=q['UserService']['sessionId']),A;});this['events']=[],yield this['bulkEvent'](z);}catch(A){}}else q['UserService']['assignUserId']();});}['bulkEvent'](z){return k(this,void 0x0,void 0x0,function*(){return z['forEach'](A=>{var B;let C=null!==(B=A['event_action'])&&void 0x0!==B?B:'Unknown\x20Action';const D='moment'===A['event_category']&&A['moment'],E=['cta_click','audio','cc_off','cc_on','share_click','share_success','playback_pause','playback_play']['includes'](C);let F=!0x1;D&&E&&(C='$'+C,F=!0x0);const G=w['exposedFieldsByAction'][C];F&&(C=C['substring'](0x1));const H={},I=(0x0,x['flattenObject'])(A);if(G){for(const J of G)I['hasOwnProperty'](J)&&(H[J]=I[J]);}q['EventService']['dispatchAnaltyicsEvents'](C,H);}),q['ApiService']['sendAnaltyicsEvents'](z);});}['pushStoryEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Story'],z['toString'](),A,B,C));}['pushMomentEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Moment'],z['toString'](),A,B,C));}['pushAdEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Ad'],z['toString'](),A,B,C));}['pushImaAdEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Ad'],z['toString'](),A,B,C));}['pushInteractionEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Interaction'],z['toString'](),A,B,C));}['pushWidgetEvent'](z,A,B=void 0x0,C=void 0x0){this['events']['push'](this['setupEvent'](v['Category']['Widget'],z['toString'](),A,B,C));}['setupEvent'](z,B,D,E=void 0x0,F=void 0x0){var G,H,J,K,L,N,O,P,Q,R,T,U,V,W;const X=new v['AnalyticsEvent']();if(X[z]=D,X['timestamp_utc']=(0x0,x['formatUTCDate'])(new Date()),X['timestamp_user_tz']=(0x0,x['formatDate'])(new Date()),X['sdk_type']='web',X['sdk_version']=u['default']['version'],X['sdk_id']='web',X['event_action']=B,X['user']['locale']=null===navigator||void 0x0===navigator?void 0x0:navigator['language'],X['tech']['user_agent']=null===navigator||void 0x0===navigator?void 0x0:navigator['userAgent'],X['session_id']=q['UserService']['sessionId'],X['page']['page_url']=null===location||void 0x0===location?void 0x0:location['href'],this['uaParsed']){X['tech']['browser']=null===(G=this['uaParsed']['browser'])||void 0x0===G?void 0x0:G['name'],X['tech']['browser_version']=null===(H=this['uaParsed']['browser'])||void 0x0===H?void 0x0:H['version'],X['tech']['os']=null===(J=this['uaParsed']['os'])||void 0x0===J?void 0x0:J['name'],X['tech']['os_version']=null===(K=this['uaParsed']['os'])||void 0x0===K?void 0x0:K['version'],X['tech']['device_model']=null===(L=this['uaParsed']['device'])||void 0x0===L?void 0x0:L['model'],X['tech']['device_brand']=null===(N=this['uaParsed']['device'])||void 0x0===N?void 0x0:N['vendor'];const a0={'mobile':'Phone','tablet':'Tablet','undefined':'Desktop'}[null===(O=this['uaParsed']['device'])||void 0x0===O?void 0x0:O['type']]||(null===(P=this['uaParsed']['device'])||void 0x0===P?void 0x0:P['type']);X['tech']['device_type']=a0;}X['tech']['screen_resolution']=(null===(Q=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===Q?void 0x0:Q['availWidth'])+'x'+(null===(R=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===R?void 0x0:R['availHeight']),X['tech']['screen_color']=null===(U=null===(T=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===T?void 0x0:T['colorDepth'])||void 0x0===U?void 0x0:U['toString']();const Y=(null===window||void 0x0===window?void 0x0:window['innerWidth'])||document['documentElement']['clientWidth']||document['body']['clientWidth'],Z=(null===window||void 0x0===window?void 0x0:window['innerHeight'])||document['documentElement']['clientHeight']||document['body']['clientHeight'];if(X['tech']['browser_size']=Y+'x'+Z,(null===(V=navigator['connection'])||void 0x0===V?void 0x0:V['effectiveType'])&&(X['tech']['connection_type']=null===(W=navigator['connection'])||void 0x0===W?void 0x0:W['effectiveType']),F&&(X['referring']=F),E&&(X['event_label']=E,X['referring']['labels_expression']=E),X['event_category']=z['toString'](),z==v['Category']['Widget']&&X['widget']){X['widget']['page_view_id']=q['UserService']['sessionId'],X['widget']['page_size']=X['tech']['browser_size'];const a1=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),a2=-0x1!==a1?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,a1):null===window||void 0x0===window?void 0x0:window['location']['href'];X['widget']['page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](a2)?'Homepage':'Category/Article';}return X;}}g['AnalyticsService']=y['getInstance']();},0xd34:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ApiService']=void 0x0;const j=g(0x11c1),k=g(0x66b),m=g(0x1133),p='UserManagement';class q extends(0x0,m['Singleton'])(){constructor(){super(...arguments),this['api']={};}['init'](){return h(this,void 0x0,void 0x0,function*(){this['api']=new k['API']({'baseUrl':j['ConfigService']['apiUrl'],'analyticsBaseUrl':j['ConfigService']['analyticsApiUrl']});});}['setAdsOnStories'](u,v){var w;return'EveryXStories'===(null===(w=null==v?void 0x0:v['configuration'])||void 0x0===w?void 0x0:w['adsLocationType'])?u:j['AdService']['canRunAds']?u['map'](x=>{var y,z,A;const B=null!==(y=null==v?void 0x0:v['configuration'])&&void 0x0!==y?y:null===(z=x['adInfo'])||void 0x0===z?void 0x0:z['configuration'],C=null!==(A=x['adInfo'])&&void 0x0!==A?A:v,D='Web'===(null==C?void 0x0:C['type'])&&Boolean(null==C?void 0x0:C['path']),E='IMA'===(null==C?void 0x0:C['type'])&&Boolean(null==C?void 0x0:C['tag']),F=null==B?void 0x0:B['adLocationsIndexes']['sort']((G,H)=>G-H);if(D){const G=x['pages']['length'];let H=0x0;null==F||F['forEach'](I=>{G>I&&(x['pages']['splice'](I+H,0x0,{'id':'ad-'+x['id']+'-'+I,'duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'type':'Ad','createTime':new Date()['toLocaleString'](),'adPath':C['path']}),H++);});}else E&&(null==F||F['forEach'](I=>{const J=x['pages']['at'](I);'Content'===(null==J?void 0x0:J['type'])&&(J['imaUrl']=C['tag'],J['adContext']=C['context'],J['shouldShowImaAd']=!0x0);}));return x;}):u;}['getStoriesByIds'](u,v){return h(this,void 0x0,void 0x0,function*(){var w,x,y;const z=Object['assign']({'clientPlatform':'Web','ids':u['join'](',')},v&&{'orderType':v}),A=yield this['api']['get']('stories/ids',{'urlSearchParams':z});return Object['assign'](Object['assign']({},A),{'result':this['setAdsOnStories'](null!==(x=null===(w=A['data'])||void 0x0===w?void 0x0:w['result'])&&void 0x0!==x?x:[],null===(y=A['data'])||void 0x0===y?void 0x0:y['defaultAdsInfo'])});});}['getStoriesByLabels'](u,v,w,x){return h(this,void 0x0,void 0x0,function*(){var y,z,A;const B=Object['assign'](Object['assign'](Object['assign'](Object['assign']({'labelsFilterExpression':u,'clientPlatform':'Web'},v&&{'orderType':v}),w&&{'maxItems':w}),x&&{'labelsPriority':x}),j['ConfigService']['geoLocation']&&{'geo':j['ConfigService']['geoLocation']}),C=yield this['api']['get']('stories',{'urlSearchParams':B});return Object['assign'](Object['assign']({},C),{'result':this['setAdsOnStories'](null!==(z=null===(y=C['data'])||void 0x0===y?void 0x0:y['result'])&&void 0x0!==z?z:[],null===(A=C['data'])||void 0x0===A?void 0x0:A['defaultAdsInfo'])});});}['getMomentByIds'](u,v){return h(this,void 0x0,void 0x0,function*(){const w=Object['assign']({'clientPlatform':'Web','ids':u},v&&{'orderType':v}),x=yield this['api']['get']('moments/ids',{'urlSearchParams':w});return Object['assign']({},x);});}['getMomentsByLabels'](u,v,w){return h(this,void 0x0,void 0x0,function*(){const x=Object['assign'](Object['assign']({'labelsFilterExpression':u,'orderType':v,'clientPlatform':'Web'},w&&{'maxItems':w}),j['ConfigService']['geoLocation']&&{'geo':j['ConfigService']['geoLocation']});return yield this['api']['get']('moments',{'urlSearchParams':x});});}['updateMomentLikeStatus'](u){return h(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Moments/like',{'urlSearchParams':u,'auth':!0x0});});}['getStaticStories'](){return h(this,void 0x0,void 0x0,function*(){var u;for(let v=0x1;v<=0x3;v++){const w=null===(u=null===document||void 0x0===document?void 0x0:document['getElementById']('wsc-response'))||void 0x0===u?void 0x0:u['textContent'];if(!w)return null;try{const x=JSON['parse'](w),y=this['setAdsOnStories']([x]);return y['length']>0x0?y[0x0]:null;}catch(z){if(!(v<0x3))return null;yield new Promise(A=>setTimeout(A,0x1f4));}}return null;});}['preview'](u){return h(this,arguments,void 0x0,function*(v,w=!0x0){const x={'publishedOnly':w,'clientPlatform':'Web'},y=j['ConfigService']['previewUrl']['replace']('{storyId}',v);return yield this['api']['get']('',{'baseUrl':y,'urlSearchParams':x,'init':{'credentials':'include'}});});}['preivewMoment'](u){return h(this,arguments,void 0x0,function*(v,w=!0x0){var x;const y={'publishedOnly':w,'clientPlatform':'Web'},z=null===(x=j['ConfigService']['previewMomentsUrl'])||void 0x0===x?void 0x0:x['replace']('{momentId}',v);return z?yield this['api']['get']('',{'baseUrl':z,'urlSearchParams':y,'init':{'credentials':'include'}}):{'error':new Error('No\x20moment\x20preview\x20url'),'data':null};});}['sendAnaltyicsEvents'](u){return h(this,void 0x0,void 0x0,function*(){let v='events';j['ConfigService']['doNotTrack']&&(v+='_do_not_track');const w=j['ConfigService']['analyticsApiUrl']+'/'+v,x={'api_key':j['ConfigService']['apiKey']?j['ConfigService']['apiKey']:''};return yield this['api']['post']('',{'urlSearchParams':x,'baseUrl':w,'init':{'body':JSON['stringify'](u)}});});}['sendInteractionResponse'](u){return h(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Interactions/Response/'+u['interactionType']+'/'+u['interactionId'],{'init':{'body':JSON['stringify'](u['responseId'])},'auth':!0x0});});}['getUserToken'](u){return this['api']['post'](p,{'init':{'body':JSON['stringify'](u)},'urlSearchParams':{'clientPlatform':'Web'}});}['refreshUserToken'](u){return this['api']['put'](p,{'urlSearchParams':{'clientPlatform':'Web'},'init':{'body':JSON['stringify'](u)}});}['getAppConfigurations'](){return this['api']['get']('AppConfigurations',{'urlSearchParams':{'clientPlatform':'Web'}});}}f['ApiService']=q['getInstance']();},0x1e1c:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AppConfigurationService']=void 0x0;const k=h(0x1133),m=h(0x26ed),p=h(0x2432),q=h(0xd34),u=h(0x18a4);class v extends(0x0,k['Singleton'])(){constructor(){super();}get['appConfigurations'](){return this['_appConfigurations'];}['init'](w){return j(this,void 0x0,void 0x0,function*(){if(w['staticContent'])return;let x=0x3,y=!0x1;for(;x>0x0&&!y;){const z=yield q['ApiService']['getAppConfigurations']();if(z['error']){x--,yield(0x0,p['delay'])(0xc8);continue;}y=!0x0;const A=z['data'];this['_appConfigurations']=A;}if(!y)throw u['EventService']['dispatch'](document['body'],m['Delegation']['onErrorThrown'],{'errorCode':m['ErrorCode']['FailedLoadingAppConfigurations']}),new Error('Error\x20in\x20getAppConfigurations');});}}g['AppConfigurationService']=v['getInstance']();},0x1f9e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConfigService']=void 0x0;const j=g(0x1133);class k extends(0x0,j['Singleton'])(){constructor(){super(),this['_sendAnaltyics']=!0x0,this['_doNotTrack']=!0x1,this['_staticContent']=!0x1,this['_runInShadowDom']=!0x0,this['_shouldModifyUrlWithStoryId']=!0x0,this['_shouldDismissPlayer']=!0x1,this['_shouldAutoAdvance']=!0x1,this['_shouldCreateUser']=!0x0,this['_shouldAllowHorizontalStories']=!0x1,this['_urls']={'prod':'https://blazesdk-prod-cdn.clipro.tv','uat':'https://blazesdk-uat-cdn.clipro.tv'},this['_apiPath']={'prod':'api/blazesdk/v1.3','uat':'api/blazesdk/v1.3'},this['_analyticsUrls']={'prod':'https://blaze-audit.clipro.tv/api/eventaudit/v1','uat':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1'};}['init'](l){return h(this,void 0x0,void 0x0,function*(){const {apiKey:q,environment:w,sendAnalytics:x,previewMomentUrl:z,previewUrl:A,doNotTrack:B,externalUserId:C,geoLocation:D,staticContent:E,runInShadowDom:F,shouldModifyUrlWithStoryId:G,shouldDismissPlayer:H,shouldCreateUser:I,prefetchingPolicy:J,shouldAllowHorizontalStories:K,shouldAutoAdvance:L,autoAdvanceUrl:M,layoutDirection:N,shouldAllowClosedCaptions:O}=l;this['environment']=w||'prod',this['prefetchingPolicy']=J||'default',this['_apiKey']=q,this['_analyticsApiUrl']=this['_analyticsUrls'][this['environment']],this['_previewUrl']=A,this['_previewMomentUrl']=z,this['_externalUserId']=C||'',this['_geoLocation']=D||'',this['_prefetchingPolicy']=J,this['_autoAdvanceUrl']=M||'',this['_layoutDirection']=N,this['_shouldAllowClosedCaptions']=O,!0x0===E&&(this['_staticContent']=!0x0),!0x0===B&&(this['_doNotTrack']=!0x0),!0x0===K&&(this['_shouldAllowHorizontalStories']=!0x0),!0x1===x&&(this['_sendAnaltyics']=!0x1),!0x1===F&&(this['_runInShadowDom']=!0x1),!0x1===G&&(this['_shouldModifyUrlWithStoryId']=!0x1),!0x0===H&&(this['_shouldDismissPlayer']=!0x0),!0x0===L&&(this['_shouldAutoAdvance']=!0x0),!0x1===I&&(this['_shouldCreateUser']=!0x1);});}get['environment'](){if(!this['_environment'])throw new Error('Environment\x20not\x20set');return this['_environment'];}set['environment'](l){this['_environment']=l;const m=this['_urls'][l],p=this['_apiPath'][l];this['_apiUrl']=m+'/'+p,this['_analyticsApiUrl']=this['_analyticsUrls'][l];}get['sendAnalytics'](){return this['_sendAnaltyics'];}get['shouldCreateUser'](){return this['_shouldCreateUser'];}get['analyticsApiUrl'](){return this['_analyticsUrls'][this['environment']];}get['externalUserId'](){return this['_externalUserId']?this['_externalUserId']:null;}set['externalUserId'](l){this['_externalUserId']=l;}get['doNotTrack'](){return this['_doNotTrack'];}set['doNotTrack'](l){this['_doNotTrack']=l;}get['shouldAllowHorizontalStories'](){return this['_shouldAllowHorizontalStories'];}set['shouldAllowHorizontalStories'](l){this['_shouldAllowHorizontalStories']=l;}get['geoLocation'](){return this['_geoLocation'];}set['geoLocation'](l){this['_geoLocation']=l;}get['staticContent'](){return this['_staticContent'];}set['staticContent'](l){this['_staticContent']=l;}get['apiUrl'](){if(!this['_apiUrl'])throw new Error('API\x20url\x20not\x20set');return this['_apiUrl'];}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'](l){this['_playerStyleCustomization']=l;}get['shouldModifyUrlWithStoryId'](){return this['_shouldModifyUrlWithStoryId'];}get['shouldDismissPlayer'](){return this['_shouldDismissPlayer'];}get['shouldAutoAdvance'](){return this['_shouldAutoAdvance'];}get['autoAdvanceUrl'](){return this['_autoAdvanceUrl'];}get['googleCustomNativeAdHandler'](){return this['_googleCustomNativeAdHandler'];}set['googleCustomNativeAdHandler'](l){this['_googleCustomNativeAdHandler']=l;}get['imaAdHandler'](){return this['_imaAdHandler'];}set['imaAdHandler'](l){this['_imaAdHandler']=l;}get['prefetchingPolicy'](){if(!this['_prefetchingPolicy'])throw new Error('Prefetching\x20policy\x20not\x20set');return this['_prefetchingPolicy'];}set['prefetchingPolicy'](l){this['_prefetchingPolicy']=l;}get['excludeContentId'](){return this['_excludeContentId'];}set['excludeContentId'](l){this['_excludeContentId']=l;}get['layoutDirection'](){return this['_layoutDirection'];}set['layoutDirection'](l){this['_layoutDirection']=l;}get['shouldAllowClosedCaptions'](){return this['_shouldAllowClosedCaptions'];}}f['ConfigService']=k['getInstance']();},0x3e5:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['DatabaseService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0xe1c),u='moments',v='interactions',w='user',x='stories';class y extends(0x0,p['Singleton'])(){constructor(){super(...arguments),this['database']={};}['init'](){return k(this,void 0x0,void 0x0,function*(){try{this['database']=new q['Database']({'databaseName':'blaze-store','version':0x2}),yield this['database']['init']({'onOpen':this['onOpen'],'onError':this['onError'],'onUpgradeNeeded':this['onUpgradeNeeded']});}catch(z){}});}['onOpen'](){return k(this,void 0x0,void 0x0,function*(){m['EventBusService']['publish']('BlazeDatabaseServiceOpen');});}['onError'](z){return k(this,void 0x0,void 0x0,function*(){});}['onUpgradeNeeded'](z){return k(this,void 0x0,void 0x0,function*(){yield new Promise(A=>{z['createObjectStore'](w,{'keyPath':'id'}),z['createObjectStore'](u,{'keyPath':'id'}),z['createObjectStore'](x,{'keyPath':'id'})['createIndex']('story_index','storyId'),z['createObjectStore'](v,{'keyPath':'id'}),A();});});}['getUserId'](){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](w,'user_id');}catch(z){throw z;}});}['updateUserId'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](w,{'id':'user_id','value':z});}catch(A){throw A;}});}['getPageViewed'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](x,z);}catch(A){throw A;}});}['updatePageViewed'](z,A){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](x,{'id':z,'storyId':A});}catch(B){throw B;}});}['isPageViewed'](z){return k(this,void 0x0,void 0x0,function*(){try{const {data:A,error:B}=yield this['getPageViewed'](z);return!B&&A;}catch(C){return!0x1;}});}['enrichStories'](z){return k(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const A of z)for(const B of A['pages'])if(B['hasViewed']=Boolean(yield this['isPageViewed'](B['id'])),'Content'===B['type']&&B['interaction'])try{const C=yield this['getInteraction'](B['interaction']['id']);(null==C?void 0x0:C['data'])&&(yield this['updateInteraction']({'id':B['interaction']['id'],'initData':B['interaction']['initData'],'userResponse':C['data']['userResponse']}));}catch(D){}return z;});}['updateInteraction'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](v,z);}catch(A){throw A;}});}['getInteraction'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](v,z);}catch(A){return null;}});}['updateLike'](z,A){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](u,{'id':z,'liked':A,'viewed':!0x0});}catch(B){return null;}});}['getLike'](z){return k(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](u,z);}catch(A){return null;}});}['updateViewedMoment'](z){return k(this,void 0x0,void 0x0,function*(){var A,B;try{const C=yield this['getLike'](z),D={'id':z,'viewed':!0x0,'liked':null!==(B=null===(A=null==C?void 0x0:C['data'])||void 0x0===A?void 0x0:A['liked'])&&void 0x0!==B&&B};return yield this['database']['update'](u,D);}catch(E){throw null;}});}['getViewedMoment'](z){return k(this,void 0x0,void 0x0,function*(){try{const {data:A}=yield this['database']['get'](u,z);return!!A;}catch(B){return!0x1;}});}['enrichMoments'](z){return k(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const A of z)A['hasViewed']=yield this['getViewedMoment'](A['id']);return z;});}}g['DatabaseService']=y['getInstance']();},0xd3e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorService']=void 0x0;const j=g(0x1133);class k extends(0x0,j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){});}}f['ErrorService']=k['getInstance']();},0x9f3:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventBusService']=void 0x0;const h=g(0x1133);class j extends(0x0,h['Singleton'])(){constructor(){super(...arguments),this['subscribers']={};}['init'](){this['subscribers']={};}['publish'](k,l){const m=this['subscribers'][k];void 0x0!==m&&Object['keys'](m)['forEach'](p=>m[p](l));}['subscribe'](k,l){const m=this['getNextId']();return this['subscribers'][k]||(this['subscribers'][k]={}),this['subscribers'][k][m]=l,{'unsubscribed':()=>{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']();},0x18a4:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventService']=void 0x0;const j=g(0x1133),k=g(0x26ed);class l extends(0x0,j['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){this['rootElement']=document['querySelector']('blaze-sdk');});}['dispatch'](m,p,q={}){var u;const v=new CustomEvent(p['toString'](),{'bubbles':!0x0,'detail':q,'cancelable':!0x0});return null===(u=m['dispatchEvent'])||void 0x0===u||u['call'](m,v),{'mainEvent':v};}['dispatchAnaltyicsEvents'](m,p){var q,u;const v=new CustomEvent(k['Delegation']['onEventTriggered'],{'bubbles':!0x0,'detail':{'eventType':m,'eventData':p},'cancelable':!0x0});return null===(u=null===(q=this['rootElement'])||void 0x0===q?void 0x0:q['dispatchEvent'])||void 0x0===u||u['call'](q,v),{'mainEvent':v};}}f['EventService']=l['getInstance']();},0x11c1:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21d),f),j(g(0x1ef4),f),j(g(0xd34),f),j(g(0x1e1c),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(0x331),f),j(g(0x1737),f),j(g(0x1d1c),f),j(g(0x26ff),f),j(g(0x26bd),f),j(g(0x1cf8),f),j(g(0x1cad),f);},0x128c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateInteraction'](m){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateInteraction'](m);}catch(p){}});}['getInteraction'](m){return h(this,void 0x0,void 0x0,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']();},0xfe7:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateLike'](m,p){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateLike'](p,m),yield j['ApiService']['updateMomentLikeStatus']({'momentId':p,'setLiked':m});}catch(q){}});}['isLiked'](m){return h(this,void 0x0,void 0x0,function*(){try{const p=yield j['DatabaseService']['getLike'](m);return!(!p||!p['data'])&&p['data']['liked'];}catch(q){return!0x1;}});}}f['LikeService']=l['getInstance']();},0x1868:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerService']=void 0x0;const j=g(0x1133);var k;!function(m){m['INFO']='info',m['WARN']='warn',m['ERROR']='error';}(k||(k={}));class l extends(0x0,j['Singleton'])(){constructor(){super(),this['isEnabled']=!0x1,this['logStack']=[];}['init'](){return h(this,void 0x0,void 0x0,function*(){const m=window['location']['search'],p=new URLSearchParams(m);this['isEnabled']='true'===p['get']('wsc_debug');});}['getCurrentTime'](){const m=new Date();return m['getHours']()['toString']()['padStart'](0x2,'0')+':'+m['getMinutes']()['toString']()['padStart'](0x2,'0')+':'+m['getSeconds']()['toString']()['padStart'](0x2,'0')+'.'+m['getMilliseconds']()['toString']()['padStart'](0x3,'0');}['logToConsole']({message:m,level:p=k['INFO'],metadata:q={}}){this['getCurrentTime'](),this['logStack']['push']({'message':m,'level':p,'metadata':q});}['log']({message:m,level:p=k['INFO'],metadata:q={}}){this['isEnabled']&&this['logToConsole']({'message':m,'level':p,'metadata':q});}['info'](m,p){this['log']({'message':m,'level':k['INFO'],'metadata':p});}['warn'](m,p){this['log']({'message':m,'level':k['WARN'],'metadata':p});}['error'](m,p){this['log']({'message':m,'level':k['ERROR'],'metadata':p});}['printLogsToScreen'](){this['logStack']['forEach'](m=>{});}}f['LoggerService']=l['getInstance']();},0x1cf8:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w}=m;let x,y;if('ids'===p&&u)({data:x,error:y}=yield j['ApiService']['getMomentByIds'](u,v));else{if('labels'===p&&q){const z=Array['isArray'](q)?q['join'](','):q['toString']();({data:x,error:y}=yield j['ApiService']['getMomentsByLabels'](z,v,w));}}return null==x||x['result']['map'](A=>{A['type']='Content';}),x||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['updateMomentReadStatusById'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['updateViewedMoment'](m);});}['encrichMoment'](m){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['enrichMoments'](m);});}}f['MomentService']=l['getInstance']();},0x331:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StartupService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](m){return h(this,void 0x0,void 0x0,function*(){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']();});}}f['StartupService']=l['getInstance']();},0x1cad:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){const {type:p,labels:q,ids:u,orderType:v,maxItems:w}=m;let x,y;if('ids'===p&&u)({data:x,error:y}=yield j['ApiService']['getStoriesByIds'](u,v));else{if('labels'===p&&q){const z=Array['isArray'](q)?q['join'](','):q['toString']();({data:x,error:y}=yield j['ApiService']['getStoriesByLabels'](z,v,w));}}return x||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichStories'](m){return h(this,void 0x0,void 0x0,function*(){try{return yield j['DatabaseService']['enrichStories'](m);}catch(p){throw p;}});}}f['StoryService']=l['getInstance']();},0x1737:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['UserService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0x26ed),v=j(0x2432),w='wsc_ias_',x='accessToken',y='refreshToken',z='userId';class A extends(0x0,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 0x0,void 0x0,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']=(0x0,v['getRandomId'])());}['assignUserId'](){return k(this,void 0x0,void 0x0,function*(){this['_userId']=yield this['getUserId']();});}['onBlazeDatabaseServiceOpen'](){return k(this,void 0x0,void 0x0,function*(){try{yield this['assignUserId'](),this['ensureSessionId']();}catch(B){}});}['getUserId'](){return k(this,void 0x0,void 0x0,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 0x0,void 0x0,function*(){try{const B=(yield m['DatabaseService']['getUserId']())['data'];return B?B['value']:null;}catch(C){return null;}});}['handleMissingUserId'](){return k(this,void 0x0,void 0x0,function*(){return new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['USER_ID'])||(0x0,v['getRandomId'])();});}['makeSureCurrentExternalUserTokenExists'](){return k(this,void 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage'](),C=this['getStorageItem']('externalId'),D=m['ConfigService']['externalUserId'];B&&C===D||(yield this['getAndStoreNewUserToken']());});}['getAndStoreNewUserToken'](){return k(this,void 0x0,void 0x0,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 0x0,void 0x0,function*(){const B=this['getUserTokenDataFromStorage']();let C=!0x1;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=!0x0):(yield(0x0,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+B;C?localStorage['setItem'](D,C):localStorage['removeItem'](D);}['getStorageItem'](B){return localStorage['getItem'](w+B);}}g['UserService']=A['getInstance']();},0x1d1c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoCacheService']=void 0x0;const j=g(0x1133),k=g(0x23b6),l=g(0x11c1);class m extends(0x0,j['Singleton'])(){constructor(){super(),this['cache']={},this['cacheName']='blaze-video-cache',this['downloadControllers']=new Map(),this['cacheList']=new Map(),this['cacheInitialized']=!0x1,this['sizeLimit']=0x15e00000;}['init'](){return h(this,void 0x0,void 0x0,function*(){this['retryCacheInitialization'](0x3);});}['retryCacheInitialization'](p){return h(this,void 0x0,void 0x0,function*(){for(;p>0x0;)try{return this['cache']=yield caches['open'](this['cacheName']),yield this['clearAllCache'](),this['cacheInitialized']=!0x0,void this['checkCacheSize']();}catch(q){--p>0x0&&(yield new Promise(u=>setTimeout(u,k['ONE_SECOND'])));}});}['checkCacheSize'](){return h(this,void 0x0,void 0x0,function*(){if('storage'in navigator&&'estimate'in navigator['storage'])try{const {usage:p,quota:q}=yield navigator['storage']['estimate']();if(p&&q&&p/0x100000>this['sizeLimit']){let u='',v=new Date();this['cacheList']['forEach']((w,x)=>{w<v&&(v=w,u=x);}),this['deleteCacheVideoByUrl'](u);}}catch(w){}});}['isVideoDownloading'](p){return this['downloadControllers']['has'](p);}['isInitialized'](){return this['cacheInitialized'];}['fetchAndCache'](p){return h(this,void 0x0,void 0x0,function*(){try{const {abort:q,ready:u,signal:v}=yield function(y,z){return h(this,void 0x0,void 0x0,function*(){const A=new AbortController(),B=A['signal'],C=()=>A['abort']();try{return{'abort':C,'ready':yield fetch(y,Object['assign'](Object['assign']({},z),{'signal':B})),'signal':B};}catch(D){throw D;}});}(p,{'mode':'no-cors','priority':'high'});this['downloadControllers']['set'](p,{'abort':q,'ready':u,'signal':v});const w=yield u;if(v['aborted'])return w;const x=w['clone']();return yield this['cacheResponse'](p,x),x;}catch(y){l['LoggerService']['error']('VideoCacheService\x20-\x20fetchAndCache\x20-\x20failed\x20to\x20init\x20cache\x20-\x20'+y);}finally{this['downloadControllers']['delete'](p);}});}['cacheResponse'](p,q){return h(this,void 0x0,void 0x0,function*(){try{this['cacheList']['set'](p,new Date()),yield this['cache']['put'](p,q);}catch(u){l['LoggerService']['error']('VideoCacheService\x20-\x20cacheResponse\x20-\x20failed\x20to\x20cache\x20repsonse\x20-\x20'+u);}finally{this['checkCacheSize']();}});}['addCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return(yield this['cache']['match'](p))||(yield this['fetchAndCache'](p));});}['isVideoCached'](p){return h(this,void 0x0,void 0x0,function*(){return!!(yield this['cache']['match'](p));});}['abortDownload'](p){return h(this,void 0x0,void 0x0,function*(){const q=this['downloadControllers']['get'](p);q&&(q['abort'](),this['downloadControllers']['delete'](p));});}['deleteCacheVideoByUrl'](p){return h(this,void 0x0,void 0x0,function*(){return yield this['cache']['delete'](p)['then'](()=>!0x0)['catch'](q=>(l['LoggerService']['error']('VideoCacheService\x20-\x20deleteCacheVideoByUrl\x20-\x20failed\x20to\x20delete\x20video\x20from\x20cache\x20-\x20'+q),!0x1));});}['clearAllCache'](){return h(this,void 0x0,void 0x0,function*(){try{const p=(yield this['cache']['keys']())['map'](q=>this['deleteCacheVideoByUrl'](q['url']));yield Promise['all'](p);}catch(q){l['LoggerService']['error']('VideoCacheService\x20-\x20clearAllCache\x20-\x20failed\x20to\x20clear\x20cache\x20-\x20'+q);}});}['downloadAndCacheVideo'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['downloadControllers']['has'](p)||(yield this['addCacheVideoByUrl'](p)));});}['deleteVideoFromCache'](p){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&(this['abortDownload'](p),(yield this['isVideoCached'](p))&&(yield this['deleteCacheVideoByUrl'](p)));});}}f['VideoCacheService']=m['getInstance']();},0x26ff:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,u){return new(q||(q=Promise))(function(v,w){function x(A){try{z(u['next'](A));}catch(B){w(B);}}function y(A){try{z(u['throw'](A));}catch(B){w(B);}}function z(A){var B;A['done']?v(A['value']):(B=A['value'],B instanceof q?B:new q(function(C){C(B);}))['then'](x,y);}z((u=u['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super(),this['_isMuted']=!0x0,this['_isPlaying']=!0x0,this['_isNavigating']=!0x1,this['_isModalOpen']=!0x1,this['_isSeekBarDragging']=!0x1,this['_isClosedCaptioningEnabled']=!0x1,this['_currentPlayedContentId']='',this['muteStateBeforeAd']='no-ad',this['_playReference']='Widget',this['updateExcludeContentIdFromURL']();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}get['isMuted'](){return this['_isMuted'];}set['isMuted'](m){this['_isMuted']=m;}['updateExcludeContentIdFromURL'](){const m=new URLSearchParams(window['location']['search'])['get'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']);m&&(j['ConfigService']['excludeContentId']=m,k['URLManager']['removeStringParamsFromCurrentUrl'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']));}get['currentlyPlayedContentId'](){return this['_currentPlayedContentId'];}set['currentlyPlayedContentId'](m){this['_currentPlayedContentId']=m;}get['isPlaying'](){return this['_isPlaying'];}set['isPlaying'](m){this['_isPlaying']=m;}get['isNavigating'](){return this['_isNavigating'];}set['isNavigating'](m){this['_isNavigating']=m;}get['playReference'](){return this['_playReference'];}set['playReference'](m){this['_playReference']=m;}get['isModalOpen'](){return this['_isModalOpen'];}set['isModalOpen'](m){this['_isModalOpen']=m;}get['isSeekBarDragging'](){return this['_isSeekBarDragging'];}set['isSeekBarDragging'](m){this['_isSeekBarDragging']=m;}get['isClosedCaptioningEnabled'](){return this['_isClosedCaptioningEnabled'];}set['isClosedCaptioningEnabled'](m){this['_isClosedCaptioningEnabled']=m;}}f['VideoPlayerService']=l['getInstance']();},0x26bd:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsService']=void 0x0;const j=g(0x1133),k=g(0x1699),m=g(0x22d9),p=g(0x23a6);class q extends(0x0,j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){m['WidgetsFactory']['define']('blaze-widget-ad',p['BlazeWidgetAd']),m['WidgetsFactory']['define']('blaze-widget-embedded-story',p['BlazeWidgetEmbeddedStory']),m['WidgetsFactory']['define']('blaze-widget-modal',p['BlazeWidgetModal']),m['WidgetsFactory']['define']('blaze-widget-item',p['BlazeWidgetItem']),m['WidgetsFactory']['define']('blaze-widget-layout',p['BlazeWidgetLayout']),m['WidgetsFactory']['define']('blaze-widget-story',p['BlazeWidgetStory']),m['WidgetsFactory']['define']('blaze-widget-story-player',p['BlazeWidgetStoryPlayer']),m['WidgetsFactory']['define']('blaze-widget-story-modal',p['BlazeWidgetStoryModal']),m['WidgetsFactory']['define']('blaze-widget-moment',p['BlazeWidgetMoment']),m['WidgetsFactory']['define']('blaze-widget-moment-player',p['BlazeWidgetMomentPlayer']),m['WidgetsFactory']['define']('blaze-widget-moment-modal',p['BlazeWidgetMomentModal']),m['WidgetsFactory']['define']('blaze-widget-moment-seek-bar',p['BlazeWidgetMomentSeekBar']),m['WidgetsFactory']['define']('blaze-widget-video',p['BlazeWidgetVideo']),m['WidgetsFactory']['define']('blaze-widget-share-modal',p['BlazeWidgetShareModal']),m['WidgetsFactory']['define']('blaze-widget-cta-modal',p['BlazeWidgetCtaModal']),m['WidgetsFactory']['define']('blaze-widget-interaction',p['BlazeWidgetInteraction']),m['WidgetsFactory']['define']('blaze-widget-banner-ad',p['BlazeWidgetBannerAd']),m['WidgetsFactory']['define']('blaze-widget-captions',p['BlazeWidgetCaptions']),m['WidgetsFactory']['define']('blaze-loader',k['BlazeLoader']),m['WidgetsFactory']['define']('blaze-chip',k['BlazeChip']),m['WidgetsFactory']['define']('blaze-image',k['BlazeImage']),m['WidgetsFactory']['define']('blaze-alert',k['BlazeAlert']),m['WidgetsFactory']['define']('blaze-modal',k['BlazeDrawer']),m['WidgetsFactory']['define']('blaze-div',k['BlazeDiv']),m['WidgetsFactory']['define']('blaze-share-button',k['BlazeShareButton']),m['WidgetsFactory']['define']('blaze-button',k['BlazeButton']),m['WidgetsFactory']['define']('blaze-button-cta',k['BlazeCtaButton']),m['WidgetsFactory']['define']('blaze-typography',k['BlazeTypography']);});}}f['WidgetsService']=q['getInstance']();},0x132a:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c8f),f),j(g(0x173),f),j(g(0x1636),f);},0x1c8f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Presets']=void 0x0;const h=g(0x1932),j=g(0x115),k=g(0x1636);class l{}f['Presets']=l,l['widgetFont']='\x27WSC\x20Open\x20Sans\x27',l['playerFont']='\x27WSC\x20Open\x20Sans\x27',l['iconDefaultStyle']={'isVisible':!0x1,'url':j['externalLinkIconSvg'],'size':'24px','color':'inherit'},l['CtaButtonStyle']={'color':'','backgroundColor':'','borderRadius':'8px','padding':'0','border':'','fontSize':'16px','font':l['playerFont'],'fontWeight':'700','textTransform':'uppercase','isAnimated':!0x1,'isDisplayCtaModal':!0x0,'width':'100%','height':'40px','position':'CENTER','icon':l['iconDefaultStyle']},l['StatusLiveStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusLiveUnreadStyle']={'backgroundColor':k['Colors']['LiveChip'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['LiveChip'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusReadStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'','isVisible':!0x0,'padding':'3px\x209px'},l['StatusUnreadStyle']={'backgroundColor':k['Colors']['Accent'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['Accent'],'text':'NEW','isVisible':!0x0,'padding':'3px\x209px'},l['BadgeStyle']={'backgroundColor':'','backgroundImage':'','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'50%','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':'','padding':'0','text':'','isVisible':!0x1,'width':0x18,'height':0x18},l['LabelStyle']={'isVisible':!0x0,'gap':0x8,'width':'auto','color':k['Colors']['LightPrimary'],'padding':'0px','position':'outsideBottom','height':'20px','font':l['widgetFont'],'fontSize':'14px','fontWeight':'bold'},l['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':!0x1},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':!0x1}),'statusIndicatorPosition':'outsideBottom','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','horizontalItemsSpacing':0xc,'verticalItemsSpacing':0xc}),l['RowRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1}),l['RowHorizontalRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['Default']=Object['assign']({},l['RowCircle']),l['DefaultStoryStyle']={'titleVisible':!0x0,'titleFont':l['playerFont'],'titleFontSize':'12px','titleFontSizeEmbedded':'11px','titleColor':k['Colors']['LightPrimary'],'publishedDateVisible':!0x0,'publishedDateFont':l['playerFont'],'publishedDateFontSize':'12px','publishedDateFontSizeEmbedded':'11px','publishedDateColor':k['Colors']['TimeColor'],'statusLiveStyle':l['StatusLiveUnreadStyle'],'ctaButton':l['CtaButtonStyle'],'iconsPosition':'VERTICAL','iconsButtonPadding':'5px','iconsButtonSize':'28px','iconsButtonEmbeddedSize':'20px','iconsButton':[{'value':'MUTE_UNMUTE','isEmbeddedVisible':!0x0,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'PLAY_PAUSE','isEmbeddedVisible':!0x0,'embeddedSize':'20px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'SHARE','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'EXIT_PLAYER','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'FULLSCREEN','isEmbeddedVisible':!0x0,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CLOSED_CAPTIONS','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'}],'iconsButtonNavigation':[{'value':'NEXT_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'PREV_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'NEXT_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'},{'value':'PREV_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'}],'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE','PLAY_PAUSE','SHARE','CLOSED_CAPTIONS'],'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['fullscreenIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'exitMobileTablet':j['closeIconSvg'],'exitDesktop':j['closeIconSvg'],'navigation':{'nextPage':j['nextPageIconSvg'],'prevPage':j['prevPageIconSvg'],'nextStory':j['nextStoryIconSvg'],'prevStory':j['prevStoryIconSvg']}}},l['DefaultMomentStyle']={'headingText':{'font':l['playerFont'],'textSizeMobile':'16px','textSizeTablet':'17px','textSizeDesktop':'18px','textColor':'#F0F0F0','isVisible':!0x1,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'600'},'bodyText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'400'},'likeText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':k['Colors']['White'],'fontWeight':'700','textTransform':'none','isVisible':!0x0,'lineHeight':'1'},'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'exit':j['closeIconSvg'],'unlike':j['unlikeIconSvg'],'like':j['likeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'nextMoment':j['arrowUpMomentIconSvg'],'prevMoment':j['arrowDownMomentIconSvg']}},'buttons':{'mute_unmute':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'share':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'like_unlike':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'closed_captions':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}}},'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE'],'contentBoxHorizontalSpacing':'15px','seekBar':{'isVisible':!0x0,'bottomSpacing':'20px','horizontalSpacing':'15px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'3px','cornerRadius':'5px','thumbColor':'','thumbSize':'0px'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'5px','cornerRadius':'5px','thumbColor':k['Colors']['White'],'thumbSize':'15px'}},'ctaButton':{'cornerRadius':'8px','textSize':'16px','font':l['playerFont'],'height':'40px','layoutPositioning':'CTA_BELLOW_BOTTOM_BUTTONS_BOX','horizontalAlignment':'FULL_AVAILABLE_WIDTH','fontWeight':'700','icon':{'position':'START','color':k['Colors']['Black'],'url':j['externalLinkIconSvg'],'size':'24px','isVisible':!0x1}}};},0x1636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Colors']=void 0x0,f['Colors']={'DarkPrimary':'#0D0F14','DarkSecondary':'#232935','DarkTertiary':'#929CB3','LightPrimary':'#F8F9FB','LightSeconday':'#DFE1E4','Accent':'#5AA3FF','LiveChip':'#FF364E','ReadGray':'#9C9C9C','TimeColor':'#B6B7B8','White':'#FFFFFF','Black':'#000000','Gray':'#B6B7B8','Yellow':'#FFD325'};},0x173:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isMomentPlayerStyle']=f['isStoryPlayerStyle']=f['ThemeFactory']=void 0x0;const h=g(0x2432),j=g(0x1c8f);f['ThemeFactory']=class{static['create'](k='default',l='story'){switch('moment'===l||'story'===l||(l='story'),k){case'grid-2-columns':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2Column'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-3-columns':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3Column'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-3-columns-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3ColumnHorizontal'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'grid-2-columns-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2ColumnHorizontal'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-circle':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowCircle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-rectangle':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowRectangle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);case'row-rectangle-horizontal':return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowHorizontalRectangle'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);default:return function(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Default'],'playerStyle':'story'===m?j['Presets']['DefaultStoryStyle']:j['Presets']['DefaultMomentStyle']});}(l);}}},f['isStoryPlayerStyle']=function(k){return'object'==typeof k&&null!==k&&'titleVisible'in k&&'titleFont'in k&&'titleFontSize'in k&&'titleFontSizeEmbedded'in k&&'titleColor'in k&&'publishedDateVisible'in k&&'publishedDateFont'in k&&'publishedDateFontSize'in k&&'publishedDateFontSizeEmbedded'in k&&'publishedDateColor'in k&&'statusLiveStyle'in k&&'ctaButton'in k&&'iconsPosition'in k&&'iconsButton'in k&&'iconsButtonSize'in k&&'iconsButtonEmbeddedSize'in k&&'iconsButtonNavigation'in k&&'iconsButtonPadding'in k&&'iconsButtonOrder'in k&&'contentOrder'in k&&'icons'in k;},f['isMomentPlayerStyle']=function(k){return'object'==typeof k&&null!==k&&'headingText'in k&&'bodyText'in k&&'likeText'in k&&'buttons'in k&&'icons'in k&&'iconsButtonOrder'in k;};},0xa1c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['animationCssMapper']=void 0x0,f['animationCssMapper']={'Growing':'grow','Shrinking':'shrink','BottomToTop':'bottomToTop'};},0x12c4:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AttributeParser']=void 0x0,f['AttributeParser']=function(g){return class extends g{['getIntAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseInt(k)),isNaN(l)?j:l;}['getFloatAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseFloat(k)),isNaN(l)?j:l;}['getStringAttribute'](h,j){return this['getAttribute'](h)||j;}['getBooleanAttribute'](h,j){const k=this['getAttribute'](h);return k?'true'==k:j;}};};},0x188:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['positionMap']=f['ButtonNavigation']=void 0x0,function(h){h[h['PREV_STORY']=0x0]='PREV_STORY',h[h['NEXT_STORY']=0x1]='NEXT_STORY',h[h['PREV_PAGE']=0x2]='PREV_PAGE',h[h['NEXT_PAGE']=0x3]='NEXT_PAGE';}(g||(f['ButtonNavigation']=g={})),f['positionMap']={'LEFT':'flex-start','CENTER':'center','RIGHT':'flex-end'};},0x1be7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xac5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25da:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x140f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25a9:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x4e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x549:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1e6b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xdf6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x12c4),f),j(g(0x188),f),j(g(0xac5),f),j(g(0x140f),f),j(g(0x25a9),f),j(g(0x4e),f),j(g(0x549),f),j(g(0x3ad),f),j(g(0x27c),f),j(g(0x22ae),f),j(g(0x1f6e),f),j(g(0xe72),f),j(g(0x1f89),f),j(g(0x1441),f),j(g(0x1ffb),f),j(g(0x2499),f),j(g(0x1d6e),f),j(g(0x2631),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);},0x3ad:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x27c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x22ae:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xe72:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayTypeArray']=void 0x0,f['PlayTypeArray']=['Widget','Share','SingleStory','AutoAdvance'];},0x1f89:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x879:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1093:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1441:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1ffb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2499:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['thumbnailMapping']=void 0x0,f['thumbnailMapping']=function(g){return{'SQUARE_ICON':'SquareIcon','VERTICAL_TWO_BY_THREE':'VerticalTwoByThree','CUSTOM':'MainThumbnail'}[g];};},0xde2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2631:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x247c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x106d:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculateChipSize']=f['getMaxChipSize']=f['createChip']=f['getChipSize']=void 0x0;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']);}f['getChipSize']=k,f['createChip']=l,f['getMaxChipSize']=m,f['calculateChipSize']=function(p,q,u){const {isOutside:v}=(0x0,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};};},0x11e2:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['delay']=void 0x0,f['delay']=function(h){return g(this,void 0x0,void 0x0,function*(){return new Promise(j=>setTimeout(()=>{j();},h));});};},0x2071:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidCountryCode']=void 0x0;const h=g(0x1932);f['isValidCountryCode']=function(j){return h['CountryCodes']['includes'](j);};},0x1c14:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['GuardNullOrEmpty']=void 0x0,f['GuardNullOrEmpty']=function(g,h){if(!h)throw new Error(g+'\x20cannot\x20be\x20empty');};},0x164:(f,g)=>{'use strict';function h(x){return x&&'object'==typeof x&&!Array['isArray'](x);}function j(x,...y){if(!y['length'])return x;const z=y['shift']();if(h(x)&&h(z)){for(const A in z)void 0x0!==z[A]&&(Array['isArray'](z[A])?x[A]=k(x[A]||[],z[A]):h(z[A])?(x[A]||Object['assign'](x,{[A]:{}}),j(x[A],z[A])):Object['assign'](x,{[A]:z[A]}));}return j(x,...y);}function k(x,y){const z=x['every'](B=>'string'==typeof B),A=y['every'](B=>'string'==typeof B);if(z&&A)return[...y];{const B=[...x];return y['forEach'](C=>{const D=B['findIndex'](E=>E['value']===C['value']);-0x1===D?B['push'](C):B[D]=j(B[D],C);}),B;}}function m(x){return x['toString']()['padStart'](0x2,'0');}Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['formatLikes']=g['getNestedValue']=g['updateStyle']=g['removeDuplicates']=g['getChangedProperties']=g['applyPlayerStyleChanges']=g['sortByHasViewed']=g['isReadByLastUnIgnoredPageStatus']=g['getMaxValue']=g['mergeStyles']=g['flattenObject']=g['setId']=g['isEmpty']=g['getRandomId']=g['checkAspectRatios']=g['calculatePercentage']=g['formatUTCDate']=g['formatDate']=g['cloneDeep']=g['mergeArrays']=g['mergeDeep']=g['isObject']=g['convertCssUnitToNumber']=g['pixelsToNumber']=g['isCssPropertySupported']=g['formatDuration']=void 0x0,g['formatDuration']=function(x){if(!x||isNaN(x['getTime']()))return'';const y=new Date(),z=Math['abs'](y['getTime']()-x['getTime']()),A=0x36ee80,B=0x5265c00,C=Math['floor'](z/B),D=Math['floor'](z%B/A),E=Math['floor'](z%A/0xea60);if(C>0x1e){const F=Math['floor'](C/30.436875);return F>=0xc?'1y+':F+'mo';}return C>0x0?C+'d':D>0x0?D+'h':E>=0x2?E+'m':'Now';},g['isCssPropertySupported']=function(x){return x in document['body']['style'];},g['pixelsToNumber']=function(x){return parseInt(x['replace']('px',''));},g['convertCssUnitToNumber']=function(x){if('number'==typeof x)return x;if(x['endsWith']('px'))return parseFloat(x);if(x['endsWith']('rem')){const y=parseFloat(getComputedStyle(document['documentElement'])['fontSize']);return parseFloat(x)*y;}if(x['endsWith']('em')){const z=parseFloat(getComputedStyle(document['body'])['fontSize']);return parseFloat(x)*z;}throw new Error('Unsupported\x20CSS\x20unit:\x20'+x);},g['isObject']=h,g['mergeDeep']=j,g['mergeArrays']=k,g['cloneDeep']=function x(y){if(Array['isArray'](y))return y['map'](z=>x(z));if(h(y)){const z={};for(const A in y)Object['prototype']['hasOwnProperty']['call'](y,A)&&(z[A]=x(y[A]));return z;}return y;},g['formatDate']=function(y){return[y['getFullYear'](),m(y['getMonth']()+0x1),m(y['getDate']())]['join']('-')+'\x20'+[m(y['getHours']()),m(y['getMinutes']()),m(y['getSeconds']())]['join'](':');},g['formatUTCDate']=function(y){return[y['getUTCFullYear'](),m(y['getUTCMonth']()+0x1),m(y['getUTCDate']())]['join']('-')+'\x20'+[m(y['getUTCHours']()),m(y['getUTCMinutes']()),m(y['getUTCSeconds']())]['join'](':');},g['calculatePercentage']=function(y,z){return Math['floor'](y/0x64*z['clientHeight'])+'px';},g['checkAspectRatios']=function(y){const z=[{'ratio':'16/9','decimalValue':0x10/0x9},{'ratio':'9/16','decimalValue':0x9/0x10},{'ratio':'2/3','decimalValue':0x2/0x3}];for(const A of z)if(Math['abs'](y-A['decimalValue'])<0.01)return A['ratio'];return'Custom\x20Ratio';},g['getRandomId']=function(){const y=new Uint8Array(0x4);return crypto['getRandomValues'](y),y['join']('-');},g['isEmpty']=function(y){for(let z in y)if(y['hasOwnProperty'](z)&&Array['isArray'](y[z])&&y[z]['length']>0x0)return!0x1;return!0x0;};let p=0x0;function q(y,z,A,B,C=''){for(let D of Object['keys'](y)){let E=C?C+'.'+D:D;Array['isArray'](y[D])&&Array['isArray'](z[D])?y[D]['length']!==z[D]['length']?B[A]['push'](E):y[D]['forEach']((F,G)=>{'object'==typeof F&&null!==F?Object['keys'](F)['forEach'](H=>{F[H]!==z[D][G][H]&&B[A]['push'](E+'['+G+'].'+H);}):F!==z[D][G]&&B[A]['push'](E+'['+G+']');}):'object'==typeof y[D]&&null!==y[D]&&null!==z[D]?q(y[D],z[D],A,B,E):y[D]!==z[D]&&B[A]['push'](E);}}function u(y,z){const A=new Set(z);return y['filter'](B=>!A['has'](B));}function v(y,z,A){let [B,...C]=z;if(/\[\d+\]/['test'](B)){const [D,E]=B['split'](/[\[\]]/)['filter'](Boolean);0x0===C['length']?y[D][parseInt(E)]=A:v(y[D][parseInt(E)],C,A);}else 0x0===C['length']?y[B]=A:v(y[B],C,A);}function w(y,z){return z['reduce']((A,B)=>{if(/\[\d+\]/['test'](B)){const [C,D]=B['split'](/[\[\]]/)['filter'](Boolean);return A[C][parseInt(D)];}return A[B];},y);}g['setId']=function(y,z='blaze',A=''){y['id']||(y['id']=function(B,C){return p+=0x1,B+'-'+p['toString']()+(C?'-'+C:'');}(z,A));},g['flattenObject']=function y(z){let A={};for(const B in z)if(z['hasOwnProperty'](B)){if('object'!=typeof z[B]||Array['isArray'](z[B]))A[B]=z[B];else{const C=y(z[B]);A=Object['assign'](Object['assign']({},A),C);}}return A;},g['mergeStyles']=function(z,A){return Object['assign'](z['style'],A);},g['getMaxValue']=function(z,A){const B=parseInt(z['replace']('px',''),0xa),C=parseInt(A['replace']('px',''),0xa);return isNaN(B)||C>B?A:z;},g['isReadByLastUnIgnoredPageStatus']=function(z){if(z['pages']['every'](A=>A['ignoreReadStatusForStory']&&A['hasViewed']))return!0x0;for(const A of z['pages']['slice']()['reverse']()){if(A['ignoreReadStatusForStory']&&!A['hasViewed'])return!0x1;if(!A['ignoreReadStatusForStory'])return A['hasViewed'];}return!0x1;},g['sortByHasViewed']=function(z,A){const B=z['hasViewed']?0x1:0x2;return(A['hasViewed']?0x1:0x2)-B;},g['applyPlayerStyleChanges']=function(z,A,B,C){q(z,A,'GLOBAL',C),C['GLOBAL']=u(C['GLOBAL'],C['LOCAL']),C['GLOBAL']['forEach'](D=>{const E=D['split']('.');let F=w(A,E);v(B,E,F);});},g['getChangedProperties']=q,g['removeDuplicates']=u,g['updateStyle']=v,g['getNestedValue']=w,g['formatLikes']=function(z){return z>=0x186a0?'100K':z>=0x3e8?(Math['floor'](z/0x64)/0xa)['toFixed'](0x1)['replace'](/\.0$/,'')+'K':z['toString']();};},0x2432:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x106d),f),j(g(0x11e2),f),j(g(0x2071),f),j(g(0x1c14),f),j(g(0x164),f),j(g(0x24f6),f),j(g(0x1729),f),j(g(0xc40),f);},0xc40:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculatePosition']=void 0x0,f['calculatePosition']=function(g){return{'isOutside':g['startsWith']('outside'),'isInside':g['startsWith']('inside'),'isTop':g['includes']('Top'),'isMiddle':g['includes']('Middle'),'isBottom':g['includes']('Bottom'),'isLeft':g['includes']('Left'),'isRight':g['includes']('Right')};};},0x24f6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['RegexMomentHash']=f['RegexStoryHash']=void 0x0,f['RegexStoryHash']=/\/?[&|?|#](blaze\/story\/[^?|&|#]*)/,f['RegexMomentHash']=/\/?[&|?|#](blaze\/moment\/[^?|&|#]*)/;},0x1729:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Stopwatch']=void 0x0,f['Stopwatch']=class{constructor(){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['startTime']=Date['now']());}['pause'](){this['isRunning']&&(this['isRunning']=!0x1,this['extraTime']+=Date['now']()-this['startTime']);}['durationMS'](){return this['isRunning']?Date['now']()-this['startTime']+this['extraTime']:this['extraTime'];}['reset'](){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}};},0x2120:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetAd']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),u=j(0x26ed),v=j(0x22d9),w=j(0x11c1),x=j(0x132a);class y extends m['BlazeWidgetVideoBase']{constructor(z){super(),this['contentParent']=z,this['isCurrentlyDisplay']=!0x1,this['isAdFailed']=!0x1,this['isPlaying']=!0x1,this['adContainer']=v['WidgetsFactory']['create']('blaze-div'),this['placeholderContainer']=v['WidgetsFactory']['create']('blaze-div'),this['googletag']=window['googletag']||{'cmd':[]},this['boundMessageEvent']=this['handleMessageEvent']['bind'](this),this['ctaModal']=v['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['initStyles']();}['connectedCallback'](){this['append'](this['ctaModal']),this['render']();}['disconnectedCallback'](){}['render'](){}['handleMessageEvent'](z){switch(z['data']){case'BLAZE_CTA_CLICK':this['contentParent']instanceof m['BlazeWidgetStory']?this['contentParent']['event'](q['StoryAction']['CtaClick'],{'gesture_type':'CTA\x20Click'}):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['event'](q['MomentAction']['CtaClick'],{'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(u['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}}get['currentTime'](){return 0x0;}set['currentTime'](z){}get['duration'](){return 0x0;}get['progress'](){return 0x0;}set['muted'](z){this['changeAdMutedState'](z);}['getAdIframeRef'](){return document['querySelector']('iframe[id*=\x22'+this['data']['adPath']+'\x22]');}['changeAdMutedState'](z){if(!this['data'])return;const A=this['getAdIframeRef']();(null==A?void 0x0:A['contentWindow'])&&(z?A['contentWindow']['postMessage']('BLAZE_AD_MUTED','*'):A['contentWindow']['postMessage']('BLAZE_AD_UNMUTED','*'));}['setData'](z){this['data']=z;let A='moment';this['contentParent']instanceof m['BlazeWidgetStory']&&(A=this['contentParent']['mode']['split']('\x20')['join']('-')),this['adContainer']['id']=z['id']+'-'+A,this['appendChild'](this['adContainer']);}['startEnter'](){return k(this,void 0x0,void 0x0,function*(){(yield this['isAdContainerConnectedToDOM']())&&(this['isCurrentlyDisplay']||(window['addEventListener']('message',this['boundMessageEvent']),this['placeholderContainer']['style']['display']='flex',this['style']['display']='block',this['style']['height']='100%',this['isCurrentlyDisplay']=!0x0,this['contentParent']['adjustContentView'](),this['googletag']['cmd']['push'](()=>{var z,A;this['googletag']['destroySlots']();const B=this['data']['adPath'],C=E=>{var F;if(E['slot']['getSlotElementId']()===this['adContainer']['id']){if(clearTimeout(this['failToLoadTimeout']),this['failToLoadTimeout']=void 0x0,E['isEmpty'])this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(F=this['onFail'])||void 0x0===F||F['call'](this)));else{this['placeholderContainer']['style']['display']='none',this['isAdFailed']=!0x1,this['contentParent']instanceof m['BlazeWidgetStory']?this['contentParent']['event'](q['StoryAction']['PageStart'],{}):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['event'](q['MomentAction']['MomentStart'],{});const G=this['getAdIframeRef'](),H=null==G?void 0x0:G['contentWindow'],I=null==H?void 0x0:H['document']['body'];I&&(I['style']['direction']=w['ConfigService']['layoutDirection']);}this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',C);}};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',C),this['failToLoadTimeout']=setTimeout(()=>{var E;this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(E=this['onFail'])||void 0x0===E||E['call'](this)));},q['FAIL_TO_LOAD_TIMEOUT_MS']),this['googletag']['pubads']()['display'](B,['fluid',[0x1,0x1]],this['adContainer']['id']);const D=this['googletag']['pubads']()['getSlots']()['find'](E=>E['getSlotElementId']()===this['adContainer']['id']);if(D){const E=(null===(A=null===(z=w['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===z?void 0x0:z['provideAdExtraParams'])||void 0x0===A?void 0x0:A['call'](z,{'path':B}))||{};Object['entries'](E)['forEach'](([F,G])=>{D['setTargeting'](F,G);});}this['googletag']['enableServices'](),this['googletag']['pubads']()['refresh']();})));});}['endExit'](){this['destroyAd']();}['play'](){var z;this['isPlaying']=!0x0,this['isAdFailed']&&(null===(z=this['onFail'])||void 0x0===z||z['call'](this));try{const A=this['getAdIframeRef'](),B=null==A?void 0x0:A['contentWindow'],C=null==B?void 0x0:B['document']['body'],D=null==C?void 0x0:C['getElementsByTagName']('video'),E=null==D?void 0x0:D[0x0];E&&'function'==typeof E['play']&&E['getAttribute']('src')&&E['play']();}catch(F){}}get['paused'](){return!0x1;}['pause'](){this['isCurrentlyDisplay']=!0x1,this['isPlaying']=!0x1;try{const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['getElementsByTagName']('video'),D=null==C?void 0x0:C[0x0];D&&'function'==typeof D['pause']&&D['getAttribute']('src')&&D['pause']();}catch(E){}}['removeLoader'](){}['loadPoster'](){}['hide'](){this['placeholderContainer']['style']['display']='none',this['changeAdMutedState'](!0x0),this['style']['display']='none',this['isCurrentlyDisplay']=!0x1;}['display'](z){return k(this,void 0x0,void 0x0,function*(){this['onFail']=z;});}['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 z=document['createElement']('blaze-loader');this['placeholderContainer']['appendChild'](z),this['appendChild'](this['placeholderContainer']);}['isAdContainerConnectedToDOM'](){return new Promise(z=>{var A;(null===(A=this['contentParent']['querySelector']('#'+this['adContainer']['id']))||void 0x0===A?void 0x0:A['isConnected'])?z(!0x0):new MutationObserver((B,C)=>{for(let D of B)if('childList'===D['type']){const E=this['contentParent']['querySelector']('#'+this['adContainer']['id']);E&&E['isConnected']&&(C['disconnect'](),z(!0x0));}})['observe'](document['body'],{'childList':!0x0,'subtree':!0x0});});}['destroyAd'](){this['googletag']['cmd']['push'](()=>{this['googletag']['destroySlots']();}),window['removeEventListener']('message',this['boundMessageEvent']);}['handleCtaSwipeUp'](){const z=this['getAdIframeRef'](),A=null==z?void 0x0:z['contentWindow'],B=null==A?void 0x0:A['document']['body'],C=null==B?void 0x0:B['querySelectorAll']('a.cta'),D=null==C?void 0x0:C[0x0];if(!D)return;this['contentParent']instanceof m['BlazeWidgetStory']&&this['contentParent']['event'](q['StoryAction']['CtaClick'],{'gesture_type':'Swipe\x20Up'});const E=D['href'],F=D['style']['color']||x['Colors']['Black'],G=D['style']['backgroundColor']||x['Colors']['White'];this['ctaModal']['setAttributes']({'border-color':'#fff','background-color':G,'text-color':F,'icon-color':F,'progress-bar-color':F,'cta-url':E}),this['ctaModal']['open'](),setTimeout(()=>{p['deviceDetector']['isIOSMobileTabletSafari']()?window['location']['href']=D['href']:window['open'](D['href'],'_blank'),this['ctaModal']['close']();},0x2*q['ONE_SECOND']);}}g['BlazeWidgetAd']=y;},0x2151:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetBannerAd']=void 0x0;const h=g(0x1932),j=g(0x26ed),k=g(0x11c1),l=g(0x2432);class m extends HTMLElement{constructor(){super(...arguments),this['adContainer']=document['createElement']('div');}get['googletag'](){return window['googletag']||{'cmd':[]};}['connectedCallback'](){this['setInitialStyles'](),this['setAdContainer']();}['show'](p){k['AdService']['canRunAds']&&p&&this['googletag']['cmd']['push'](()=>{this['googletag']['destroySlots']();const q=p['adUnitId'],u=v=>{v['slot']['getSlotElementId']()===this['adContainer']['id']&&(v['isEmpty']||(this['style']['display']='block',this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerLoad'],'adUnitId':q}),this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerView'],'adUnitId':q})),this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',u));};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',u),this['googletag']['pubads']()['setCentering'](!0x0),this['googletag']['pubads']()['display'](q,[[0x140,0x32]],this['adContainer']['id']),this['googletag']['enableServices'](),this['googletag']['pubads']()['refresh']();});}['setInitialStyles'](){(0x0,l['mergeStyles'])(this,{'width':'100%','height':'50px','display':'none','overflow':'hidden'});}['setAdContainer'](){this['adContainer']['id']='ad-banner-'+Date['now'](),this['appendChild'](this['adContainer']);}['raiseAnalyticsEventToParent'](p){this['dispatchEvent'](new CustomEvent(j['InternalEvent']['BANNER_ANALYTICS'],{'bubbles':!0x0,'detail':p}));}}f['BlazeWidgetBannerAd']=m;},0x23a6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x15a2),f),j(g(0x8c0),f),j(g(0x2120),f),j(g(0x2151),f),j(g(0x215f),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);},0xab4:(f,j,k)=>{'use strict';Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetMomentModal']=void 0x0;const m=k(0x1133),q=k(0x1932),v=k(0x26ed),w=k(0x22d9),x=k(0x11c1),y=k(0x2432),z=k(0x33),A=k(0x14c),B=k(0x1f70),C=k(0x1098);let D=window['innerWidth'];class E extends A['BlazeWidgetModal']{constructor(F,G){super('moment'),this['parentWidget']=F,this['playerLayout']=G,this['data']=[],this['playlistSessionId']='',this['navigationButtonsContainerElement']=w['WidgetsFactory']['create']('blaze-div'),this['navigationButtonsContainerElement']['setStyle']({'display':'flex','position':'absolute','right':'36px','flexDirection':'column','justifyContent':'center','alignItems':'normal','height':'100%','gap':'16px'}),'desktop'===m['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'===m['deviceDetector']['platform']&&(this['addEventListener'](C['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']('screenOrientationChange',this['boundOnResizeEventDelay']),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),'desktop'===m['deviceDetector']['platform']&&(this['removeEventListener'](C['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['removeEventListener']('keydown',this['boundOnKeyDown']));}['setTheme'](F){this['player']['playerContentList']['forEach'](G=>{G instanceof B['BlazeWidgetMoment']&&G['setTheme'](F);}),this['playerLayout']=F;}['onNavigationChange'](F){var G,H;if('mobile'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform'])return;const {detail:{prevContentButton:I,nextContentButton:J}}=F;null===(G=this['prevContentButtonElement'])||void 0x0===G||G['setAttribute']('blaze-btn-visible',!0x1===I?'true':'false'),null===(H=this['nextContentButtonElement'])||void 0x0===H||H['setAttribute']('blaze-btn-visible',!0x1===J?'true':'false');}['navigateContent'](F){x['VideoPlayerService']['isNavigating']||(this['player']['contentList'][this['player']['index']]['isActive']=!0x1,this['player']['changeContent'](F));}['createNavigationButton'](F){const G=w['WidgetsFactory']['create']('blaze-button');G['classList']['add']('desktop-button'),G['setStyle']({'display':'inline-flex','zIndex':'9999','padding':'24px','borderRadius':'50%','backgroundColor':'#18181899'});const {nextMoment:H,prevMoment:I}=this['playerLayout']['icons']['navigation'],J='NEXT'===F?H:I;return G['setIconUrl'](J),G['setAttribute']('width','24px'),G['setAttribute']('height','24px'),G['setAttribute']('icon-color','#F0F0F0'),G['addEventListener']('click',()=>this['handleClickNavigation'](F)),this['navigationButtonsContainerElement']['append'](G),G;}['handleClickNavigation'](F){x['VideoPlayerService']['isNavigating']||this['player']['isContentDirectionInPlayerListValid'](F)&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Skip',this['navigateContent'](F));}['setModalContent'](F,G,H){this['data']=F;const I=[];for(let J=0x0;J<F['length'];J++){const K=w['WidgetsFactory']['create']('blaze-widget-moment');K['setPlayerStyle'](this['playerLayout']),K['setData'](F[J]),K['setModal'](this),I['push'](K);const L=x['AdService']['pushAdsBetweenMoments'](H,I,F,J,G);L&&L['setModal'](this);}this['player']['setContent'](I);}['onKeyDown'](F){this['isOpen']&&'Escape'==F['key']&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Escape\x20Button',this['close']());}['close'](){var F,G;if(!this['isOpen'])return;const H=this['player']['playerContentList'][this['player']['index']];H['event'](q['MomentAction']['MomentExit'],{}),H['event'](q['MomentAction']['MomentsPlaylistExit'],{}),x['EventService']['dispatch'](this,v['Delegation']['onPlayerDismissed']),this['parentWidget']&&(x['EventService']['dispatch'](this['parentWidget'],v['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),H['data']['hasViewed']=!0x0,this['parentWidget']instanceof z['BlazeWidgetLayout']&&this['parentWidget']['widgetItems']['forEach'](I=>{I['content']['id']===H['data']['id']&&(I['setChipStyle'](),I['render']());})),this['playlistSessionId']='',null===(F=this['player'])||void 0x0===F||F['playerContentList']['forEach'](I=>{I['unload']();}),super['close'](),null===(G=this['onClose'])||void 0x0===G||G['call'](this);}['open'](){var F,G,H;this['isOpen']||x['EventService']['dispatch'](this,v['Delegation']['onPlayerDidAppear']),this['playlistSessionId']=(0x0,y['getRandomId'])(),null===(G=null===(F=this['player'])||void 0x0===F?void 0x0:F['playerContentList'][this['player']['index']])||void 0x0===G||G['load']('direct'),this['player']['prefetchPosters'](),(0x0,y['delay'])(q['ONE_SECOND'])['then'](()=>{this['player']['preloadAdjacentContent']('NEXT'),this['player']['preloadAdjacentContent']('PREV');}),super['open'](),null===(H=this['onOpen'])||void 0x0===H||H['call'](this);}['play'](){}['setExitButtonDisplay'](){'desktop'===m['deviceDetector']['platform']&&(this['exitButtonWrapperElement']['style']['display']='block');}['render'](){var F;this['setExitButtonDisplay'](),null===(F=this['player'])||void 0x0===F||F['render']();}['onResize'](){super['onResize'](),D!==window['innerWidth']&&(D=window['innerWidth']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},q['ONE_SECOND']/0x2);}}j['BlazeWidgetMomentModal']=E;},0x1098:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentPlayer']=g['UPDATE_NAVIGATION_BUTTONS_EVENT']=g['MUTE_UNMUTE_EVENT']=void 0x0;const p=m(j(0xad8)),q=j(0x23a6),u=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x132a);g['MUTE_UNMUTE_EVENT']='muteButtonClicked',g['UPDATE_NAVIGATION_BUTTONS_EVENT']='updateNavigationButtons';class y extends q['WidgetAbstractPlayer']{constructor(){super(),this['isWheelEventHandling']=!0x1,this['boundHandleMuteClicked']=this['handleMuteClicked']['bind'](this),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'](),document['removeEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupEventListeners'](){this['setupHammer'](Hammer['DIRECTION_VERTICAL']),this['listeners']['add']('wheel',(0x0,u['debounce'])(this['handleWheel']['bind'](this),0x0)),this['listeners']['add']('keydown',(0x0,u['debounce'])(this['onKeyDown']['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 z=this['isContentDirectionInPlayerListValid']('PREV'),A=this['isContentDirectionInPlayerListValid']('NEXT');this['dispatchEvent'](new CustomEvent(g['UPDATE_NAVIGATION_BUTTONS_EVENT'],{'bubbles':!0x0,'detail':{'nextContentButton':A,'prevContentButton':z}}));}['adjustContainerStyle'](){const z=this['getBoundingClientRect']()['height'];let A,B,C=0x28,D=0.004;'mobile'===u['deviceDetector']['platform']?(this['style']['background']=x['Colors']['Black'],D=0x1-0x2*D,C=0x0,A=0x0,B=z):(A=z*D+C/0x2,B=z*(0x1-0x2*D)-0x2*C);const E='repeat(10,\x20'+B+'px)';this['container']['setStyle']({'gap':C+'px','marginTop':A+'px','gridTemplateRows':E});}['adjustPlayerContentStyle'](){'mobile'===u['deviceDetector']['platform']&&this['playerContentList']['forEach'](z=>{z['style']['width']=this['clientWidth']+'px';});}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':x['Colors']['Black']});}['attributeChangedCallback'](z,A,B){}['handleMoveSwipe'](z){var A,B,C,D;if(w['VideoPlayerService']['isSeekBarDragging'])return;const E=this['playerContentList']['findIndex'](F=>{var G;return F['id']===(null===(G=this['playerContentList'][this['index']])||void 0x0===G?void 0x0:G['id']);});if(E>-0x1){const F=z['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['height'])/0.85)*0x3e8;switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:null===(A=this['currentNextAnimation'])||void 0x0===A||A['seek'](F);break;case Hammer['DIRECTION_DOWN']:null===(B=this['currentPrevAnimation'])||void 0x0===B||B['seek'](F);break;default:null===(C=this['currentNextAnimation'])||void 0x0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](0x0);}}}['handleEndSwipe'](z){const A=this['playerContentList'][this['index']+0x1],B=this['playerContentList'][this['index']-0x1];switch(z['offsetDirection']){case Hammer['DIRECTION_UP']:if(!A)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,A,this['currentNextAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==A?void 0x0:A['data']['id'],'isAd':null==A?void 0x0:A['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if(!B)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](z,B,this['currentPrevAnimation']),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==B?void 0x0:B['data']['id'],'isAd':null==B?void 0x0:B['data']['isAd']});break;default:this['reverseAnimation'](z);}}['handlePrevDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2-0x1)===this['index']){const z=this['playerContentList'][0x0]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A-0x1];if(!B)return;const C=this['playerContentList'][this['playerContentList']['length']-0x1];this['releaseMomentFromMemory'](C),this['updateItemData'](C,B),this['container']['insertBefore'](C,this['container']['firstChild']),this['playerContentList']['pop'](),this['playerContentList']['unshift'](C),this['index']+=0x1;}}['handleNextDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2+0x1)===this['index']){const z=this['playerContentList'][this['playerContentList']['length']-0x1]['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=this['contentList'][A+0x1];if(!B)return;const C=this['playerContentList'][0x0];this['releaseMomentFromMemory'](C),this['updateItemData'](C,B),this['container']['insertBefore'](C,null),this['playerContentList']['shift'](),this['playerContentList']['push'](C),this['index']-=0x1;}}['releaseMomentFromMemory'](z){const A=z['video'];A instanceof q['BlazeWidgetVideo']&&A['resetVideoState']();}['updateItemData'](z,A){var B;z['updateData']({'data':A['data'],'shouldShowImaAdOnStart':A['shouldShowImaAdOnStart'],'imaUrl':A['imaUrl']});const C=(null===(B=z['refContentModal'])||void 0x0===B?void 0x0:B['parentWidget'])['widgetItems']['filter'](D=>D['content']['id']===A['data']['id'])[0x0];C&&z['setWidgetItemParent'](C),z['refContentModal']=A['refContentModal'],z['playerStyle']=A['playerStyle'];}['createAnimation'](z,A,B){var C,D;return p['default']['timeline']({'complete':()=>{var E,F,G;null===(E=z['video'])||void 0x0===E||E['endExit'](),null===(G=null===(F=this['playerContentList']['at'](B))||void 0x0===F?void 0x0:F['video'])||void 0x0===G||G['startEnter'](),this['handleAnimationCompletion'](z,A);},'changeBegin':()=>{this['handleAnimationStart'](z,A);},'easing':'easeInOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateY':-this['playerContentList'][this['index']]['offsetTop'],'duration':0x0},{'translateY':null!==(D=-(null===(C=this['playerContentList'][B])||void 0x0===C?void 0x0:C['offsetTop']))&&void 0x0!==D?D:-this['playerContentList'][this['index']]['offsetTop'],'duration':0x1c2}]});}['handleAnimationStart'](z,A){var B,C,D;(null===(B=z['shareModal'])||void 0x0===B?void 0x0:B['isOpen'])&&(null===(C=z['shareModal'])||void 0x0===C||C['close']()),null===(D=this['onContentChange'])||void 0x0===D||D['call'](this,A);}['handleAnimationCompletion'](z,A){return k(this,void 0x0,void 0x0,function*(){z['navigationType']='Manual',z['navigationDirection']='NEXT'===A?'Forwards':'Backwards',z['isActive']=!0x1,z['pause'](),this['index']+='NEXT'===A?0x1:-0x1,z['event'](v['MomentAction']['MomentExit'],{}),yield this['handleAnimationEnd'](A),yield this['prefetchPosters'](),yield this['preloadAdjacentContent'](A);});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isPlaying']=!0x0;const z=this['playerContentList'][this['index']];z&&(yield z['load']('direct'),z['play'](),this['playerContentList']['forEach'](A=>{var B;A['data']['id']!==z['data']['id']&&(A['isActive']=!0x1,null===(B=A['seekBar'])||void 0x0===B||B['setAttribute']('is-active','false'),A['removeResumeButtonFromScreen']());}),z['isActive']=!0x0,this['isNavigationBlocked']=!0x1,w['VideoPlayerService']['isNavigating']=!0x1,w['VideoPlayerService']['isPlaying']=!0x0);});}['setContent'](z){for(const A of this['playerContentList'])A['remove']();this['playerContentList']=[],this['contentList']=[...z];}['preloadAdjacentContent'](z){return k(this,void 0x0,void 0x0,function*(){const A=[this['index']-0x1,this['index']+0x1]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']),B=[this['index']-0x2,this['index']+0x2]['filter'](C=>C>=0x0&&C<this['numberOfContentInList']);A['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();})),setTimeout(()=>{B['forEach'](C=>k(this,void 0x0,void 0x0,function*(){const D=this['playerContentList'][C];yield null==D?void 0x0:D['load']();}));},v['ONE_SECOND']),setTimeout(()=>k(this,void 0x0,void 0x0,function*(){var C,D,E,F,G,H,I,J,K,L;const M=this['playerContentList'][0x0],N=this['playerContentList'][this['playerContentList']['length']-0x1],O=this['contentList']['findIndex'](Q=>Q['data']['id']===N['data']['id']),P=this['contentList']['findIndex'](Q=>Q['data']['id']===M['data']['id']);if(O+0x1<this['contentList']['length']&&'PREV'===z){const Q=null===(G=null===(F=null===(E=null===(D=null===(C=this['contentList'][O+0x1]['data'])||void 0x0===C?void 0x0:C['baseLayer'])||void 0x0===D?void 0x0:D['content'])||void 0x0===E?void 0x0:E['renditions'])||void 0x0===F?void 0x0:F[0x0])||void 0x0===G?void 0x0:G['url'];yield w['VideoCacheService']['deleteVideoFromCache'](Q);}if(P-0x1>=0x0&&'NEXT'===z){const R=null===(L=null===(K=null===(J=null===(I=null===(H=this['contentList'][O-0x1]['data'])||void 0x0===H?void 0x0:H['baseLayer'])||void 0x0===I?void 0x0:I['content'])||void 0x0===J?void 0x0:J['renditions'])||void 0x0===K?void 0x0:K[0x0])||void 0x0===L?void 0x0:L['url'];yield w['VideoCacheService']['deleteVideoFromCache'](R);}}),v['ONE_SECOND']);});}['prefetchPosters'](){return k(this,void 0x0,void 0x0,function*(){var z,A,B,C;this['playerContentList']['forEach'](E=>{var F;return null===(F=E['video'])||void 0x0===F?void 0x0:F['loadPoster']();});const D=this['contentList']['findIndex'](E=>E['data']['id']===this['playerContentList'][this['index']]['data']['id']);for(let E=D+0x1;E<=D+0x3;E++){if(!this['contentList'][E])return;const F=null===(C=null===(B=null===(A=null===(z=this['contentList'][E])||void 0x0===z?void 0x0:z['data'])||void 0x0===A?void 0x0:A['poster'])||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'];F&&(yield fetch(F,{'priority':'high','cache':'force-cache'})['then'](()=>{})['catch'](()=>{}));}});}['play'](){const z=this['playerContentList'][this['index']];z['event'](v['MomentAction']['MomentsPlaylistStart'],{}),z['play'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':z['data']['id'],'isAd':z['data']['isAd']}),this['updateNavigationButtons']();}['pause'](){this['playerContentList'][this['index']]['pause']();}['onAnimationEnd'](){this['resetAnimation']();for(const z of this['playerContentList'])z['resetPosition']();w['VideoPlayerService']['isPlaying']=!0x0,this['play']();}['handleWheel'](z){var A;if(Math['abs'](z['deltaY'])<=0xf)return;if(this['isNavigationBlocked']||this['isWheelEventHandling'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;this['isWheelEventHandling']=!0x0;const B=z['deltaY']>0x0?'NEXT':'PREV';this['isContentDirectionInPlayerListValid'](B)?(this['isNavigationBlocked']=!0x0,this['changeContent'](B),setTimeout(()=>{this['isWheelEventHandling']=!0x1;},v['ONE_SECOND'])):this['isWheelEventHandling']=!0x1;}['onKeyDown'](z){var A;if(this['isNavigationBlocked'])return;if(null===(A=this['currentMoment']['video'])||void 0x0===A?void 0x0:A['isCurrentlyTryingToRunImaAd'])return;let B=null;switch(z['code']){case'ArrowUp':case'Up':case'PageUp':B='PREV';break;case'ArrowDown':case'Down':case'PageDown':B='NEXT';break;case'Space':return void this['playerContentList'][this['index']]['handlePlayPauseButtonClick']();}this['isContentDirectionInPlayerListValid'](B)&&B&&this['changeContent'](B);}['changeContent'](z){this['isNavigationBlocked']=!0x0,w['VideoPlayerService']['isNavigating']=!0x0;const A=this['animateContent'](z);A&&(A['play'](),A['finished']['then'](()=>{var B;this['updateNavigationButtons'](),u['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null===(B=this['playerContentList'][this['index']])||void 0x0===B?void 0x0:B['data']['id'],'isAd':this['playerContentList'][this['index']]['data']['isAd']});}));}['handleMuteClicked'](){this['playerContentList']['forEach'](z=>z['updatePlayerButtonIcons']()),this['playerContentList']['forEach'](z=>z['onMuteUnmuteChange']());}['loadContentBatch'](){}['resetStyles'](){}['render'](){this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}}g['BlazeWidgetMomentPlayer']=y;},0x1345:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentSeekBar']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0x2432),u={'isActive':'is-active'};class v extends HTMLElement{constructor(w,x){super(),this['video']=w,this['seekBarStyle']=x,this['playbackParts']=[],this['isProgressBarPaused']=!0x1,this['isActive']=!0x1,this['isInit']=!0x1,this['animationFrameId']=null,this['lastProgress']=0x0,this['progressBarContainer']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=m['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=m['WidgetsFactory']['create']('blaze-div'),this['isMouseIn']=!0x1,this['progress']=m['WidgetsFactory']['create']('blaze-div'),this['listeners']=new j['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']('progress');}static get['observedAttributes'](){return Object['values'](u);}['attributeChangedCallback'](w,x,y){var z,A;w===u['isActive']&&(this['isActive']='true'===y['toLowerCase'](),this['isActive']?this['setupProgressUpdate']():this['stopProgressUpdate'](),null===(A=null===(z=this['playbackParts'])||void 0x0===z?void 0x0:z['forEach'])||void 0x0===A||A['call'](z,B=>B['style']['width']='0%'));}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const w=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(w)&&(this['seekBarStyle']['playingState']['height']='3px');const x=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(x)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['initialize'](),this['styleProgressContainer']();}}['addTransitionStyle'](){const w=document['createElement']('style');w['textContent']='\x0a\x20\x20\x20\x20\x20\x20.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'](w);}['onContentPaused'](){this['applyPauseSeekBarStyle']();}['onContentResumed'](w=!0x1){w?this['applyPlayingSeekBarStyle']():setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']);}['disconnectedCallback'](){this['stopProgressUpdate']();}['initialize'](){this['setupEventListeners'](),this['render']();}['setVideo'](w){this['video']=w,this['stopProgressUpdate'](),this['setupProgressUpdate'](),this['reset']();}['setupProgressUpdate'](){var w;const x=()=>{var y,z,A;this['playbackParts']['forEach'](D=>D['style']['width']='0%');let B=this['video']['progress'];Number['isNaN'](B)?B=this['lastProgress']:this['lastProgress']=B;const C=null===(z=null===(y=this['playbackParts'])||void 0x0===y?void 0x0:y['at'])||void 0x0===z?void 0x0:z['call'](y,0x0);C&&(C['style']['width']=0x64*B+'%'),this['animationFrameId']=null===(A=window['requestAnimationFrame'])||void 0x0===A?void 0x0:A['call'](window,x);};this['animationFrameId']=null===(w=window['requestAnimationFrame'])||void 0x0===w?void 0x0:w['call'](window,x);}['stopProgressUpdate'](){var w;null!==this['animationFrameId']&&(null===(w=window['cancelAnimationFrame'])||void 0x0===w||w['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 w;this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x0,null===(w=this['onPause'])||void 0x0===w||w['call'](this),this['applyPauseSeekBarStyle']());}['handleOnEndDrag'](){var w;this['isActive']&&p['VideoPlayerService']['isSeekBarDragging']&&this['isConnected']&&(p['VideoPlayerService']['isSeekBarDragging']=!0x1,null===(w=this['onResume'])||void 0x0===w||w['call'](this),setTimeout(()=>{p['VideoPlayerService']['isSeekBarDragging']||this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND']));}['handleOnClick'](w){if(!this['isActive']||p['VideoPlayerService']['isSeekBarDragging'])return;let x;if(w instanceof MouseEvent)x=w['clientX'];else{if(!(w['touches']&&w['touches']['length']>0x0))return;x=w['touches'][0x0]['clientX'];}this['handleSeek'](x,!0x0);}['onMouseMove'](w){this['handleSeek'](w['clientX'],0x1===w['buttons']);}['onTouchMove'](w){w['touches']['length']>0x0&&(this['handleSeek'](w['touches'][0x0]['clientX'],!0x0),w['preventDefault'](),w['stopImmediatePropagation']());}['handleOnMouseOut'](){this['isActive']&&(p['VideoPlayerService']['isSeekBarDragging']||(this['isMouseIn']=!0x1,setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*k['ONE_SECOND'])));}['handleOnMouseIn'](){this['isActive']&&(this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']());}['applyPlayingSeekBarStyle'](){this['video']['paused']&&!p['VideoPlayerService']['isPlaying']||this['isProgressBarPaused']&&(this['isMouseIn']||(this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x1,this['updateProgressBarStyles']()));}['applyPauseSeekBarStyle'](){this['isProgressBarPaused']||(this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x0,this['updateProgressBarStyles']());}['reset'](){this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']();}['handleSeek'](w,x){if(!x)return;const y=this['getBoundingClientRect']();let z=(w-y['left'])/y['width'];'RTL'===p['ConfigService']['layoutDirection']&&(z=0x1-z);const A=Math['min'](Math['max'](z,0x0),0x1);this['video']['currentTime']=this['video']['duration']*A;}['styleProgressContainer'](){const w=parseFloat(this['seekBarStyle']['playingState']['height']),x=parseFloat(this['seekBarStyle']['pausedState']['height']),y=Math['max'](w,x);(0x0,q['mergeStyles'])(this,{'height':y+'px','padding':'20px\x20'+this['seekBarStyle']['horizontalSpacing']+'\x20'+this['seekBarStyle']['bottomSpacing']+'\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']['cornerRadius']:this['seekBarStyle']['playingState']['cornerRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['backgroundColor']:this['seekBarStyle']['playingState']['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['cornerRadius']:this['seekBarStyle']['playingState']['cornerRadius'],'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'](){}}g['BlazeWidgetMomentSeekBar']=v;},0x1f70:function(j,k,q){'use strict';var w=this&&this['__awaiter']||function(O,P,Q,R){return new(Q||(Q=Promise))(function(S,T){function U(X){try{W(R['next'](X));}catch(Y){T(Y);}}function V(X){try{W(R['throw'](X));}catch(Y){T(Y);}}function W(X){var Y;X['done']?S(X['value']):(Y=X['value'],Y instanceof Q?Y:new Q(function(Z){Z(Y);}))['then'](U,V);}W((R=R['apply'](O,P||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeWidgetMoment']=void 0x0;const x=q(0x23a6),z=q(0x1133),A=q(0x1699),B=q(0x1932),C=q(0x26ed),D=q(0x22d9),E=q(0x11c1),F=q(0x132a),G=q(0x164),H=q(0x636),I=q(0xb58),J=q(0x416),K='(rgba(0,\x200,\x200,\x200.8),\x20transparent)',L='(top,\x20transparent,\x20transparent,\x20transparent,\x20rgba(0,\x200,\x200,\x201))',M='linear-gradient(180deg,\x20transparent,\x20#000\x200%,\x20#000\x2095%,\x20transparent\x20100%)';class N extends I['BlazeWidgetContent']{constructor(O){super(),this['playerStyle']=O,this['modal']={},this['seekBar']=D['WidgetsFactory']['create']('blaze-widget-moment-seek-bar'),this['data']={},this['type']='moment',this['momentIndex']=0x0,this['loopNumber']=0x0,this['isLiked']=!0x1,this['topContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContentContainer']=D['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaAndContent']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaContentButtons']=D['WidgetsFactory']['create']('blaze-div'),this['shadowBottomElement']=D['WidgetsFactory']['create']('blaze-div'),this['shadowTopElement']=D['WidgetsFactory']['create']('blaze-div'),this['topButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['likeWrapperElement']=D['WidgetsFactory']['create']('blaze-div'),this['likeCountElement']=D['WidgetsFactory']['create']('blaze-div'),this['closeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['muteButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['likeButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['shareButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['playPauseButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButtonElement']=D['WidgetsFactory']['create']('blaze-button'),this['headBodyContainer']=D['WidgetsFactory']['create']('blaze-div'),this['headElement']=D['WidgetsFactory']['create']('blaze-div'),this['bodyElement']=D['WidgetsFactory']['create']('blaze-div'),this['ctaButtonElement']=new A['BlazeCtaButton'](),this['isInit']=!0x1,this['isActive']=!0x1,this['isMomentPausedByPlayPauseButton']=!0x1,this['shouldShowImaAdOnStart']=!0x1,this['imaUrl']='',this['elementsToHideOnImaAds']=[],this['elementsToHideOnCustomAds']=[];}['setPlayerStyle'](O){this['playerStyle']=O;}['connectedCallback'](){this['isInit']||(this['isInit']=!0x0,this['initializeElements'](),this['initializeStyles'](),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['ctaButtonElement']['addEventListener']('click',O=>this['boundOnCtaClicked'](O)),super['connectedCallback'](),this['render']());}['disconnectedCallback'](){this['listeners']['removeAll'](),this['ctaButtonElement']['removeEventListener']('click',this['boundOnCtaClicked']),super['disconnectedCallback']();}['setTheme'](O){this['playerStyle']=O,this['render']();}['initializeStyles'](){this['playerStyle']&&(this['styleMainContainer'](),this['styleShadowElements'](),this['styleButtonsContainer'](),this['styleTopContainer'](),this['styleBottomContainer'](),this['styleBottomContentContainer'](),this['styleHeadBodyContainer']());}['styleMainContainer'](){(0x0,G['mergeStyles'])(this,{'display':'grid','width':'auto','height':'100%','aspectRatio':B['ASPECT_RATIO_9_16']['toString'](),'margin':'auto','maxHeight':'100%','background':F['Colors']['Black']}),(0x0,G['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'+K,'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'+K,this['shadowTopElement']['style']['background']='-webkit-linear-gradient'+K;}['styleShadowBottomElement'](){this['shadowBottomElement']['setStyle']({'background':'linear-gradient'+L,'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'+L,this['shadowBottomElement']['style']['background']='-webkit-linear-gradient'+L;}['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 O='desktop'===z['deviceDetector']['platform'];this['bottomButtonsContainer']['setStyle']({'display':'flex','gap':O?'32px':'16px','position':O?'absolute':'unset','bottom':O?'0px':'unset','right':O?'-80px':'unset','flexDirection':'column'});}['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'](O,P,Q){if(!this['playerStyle'])return;let R,S;if('HEADING_CONTENT'===Q?R=F['Presets']['DefaultMomentStyle']['headingText']:'BODY_CONTENT'===Q&&(R=F['Presets']['DefaultMomentStyle']['bodyText']),!R||!P)throw new Error('Default\x20Text\x20style\x20and\x20custom\x20style\x20not\x20found');switch(z['deviceDetector']['platform']){case'desktop':S=P['textSizeDesktop']||R['textSizeDesktop'];break;case'tablet':S=P['textSizeTablet']||R['textSizeTablet'];break;default:S=P['textSizeMobile']||R['textSizeMobile'];}O['setStyle']({'display':P['isVisible']?'-webkit-box':'none','fontSize':S,'fontFamily':P['font'],'fontWeight':P['fontWeight'],'color':P['textColor']||R['textColor'],'textTransform':P['textTransform'],'lineHeight':P['lineHeight'],'overflow':'hidden','textOverflow':'ellipsis','WebkitBoxOrient':'vertical','WebkitLineClamp':'2','lineClamp':'2','boxOrient':'vertical','width':'desktop'===z['deviceDetector']['platform']?'75%':'100%'});}['applyLikeStyle'](){var O,Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac;if(!this['playerStyle'])return;let ad,ae,af,ag,ah;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':ad=null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['like_unlike']['desktop']['padding'],ae=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['like_unlike']['desktop']['borderRadius'],af=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['like_unlike']['desktop']['backgroundColor'],ag=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['likeText']['font'],ah=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['likeText']['textSizeDesktop'];break;case'tablet':ad=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['like_unlike']['tablet']['padding'],ae=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['like_unlike']['tablet']['borderRadius'],af=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['like_unlike']['tablet']['backgroundColor'],ag=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['likeText']['font'],ah=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['likeText']['textSizeTablet'];break;case'mobile':ad=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['buttons']['like_unlike']['mobile']['padding'],ae=null===(a2=this['playerStyle'])||void 0x0===a2?void 0x0:a2['buttons']['like_unlike']['mobile']['borderRadius'],af=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['buttons']['like_unlike']['mobile']['backgroundColor'],ag=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['likeText']['font'],ah=null===(a5=this['playerStyle'])||void 0x0===a5?void 0x0:a5['likeText']['textSizeMobile'];break;default:ad=null===(a6=this['playerStyle'])||void 0x0===a6?void 0x0:a6['buttons']['like_unlike']['mobile']['padding'],ae=null===(a7=this['playerStyle'])||void 0x0===a7?void 0x0:a7['buttons']['like_unlike']['mobile']['borderRadius'],af=null===(a8=this['playerStyle'])||void 0x0===a8?void 0x0:a8['buttons']['like_unlike']['mobile']['backgroundColor'],ag=null===(a9=this['playerStyle'])||void 0x0===a9?void 0x0:a9['likeText']['font'],ah=null===(aa=this['playerStyle'])||void 0x0===aa?void 0x0:aa['likeText']['textSizeMobile'];}this['likeButtonElement']['setStyle']({'padding':null!=ad?ad:'10px','borderRadius':null!=ae?ae:'50%','backgroundColor':null!=af?af:'#18181899'});const ai=null===(ab=this['playerStyle'])||void 0x0===ab?void 0x0:ab['likeText']['textColor'],aj=null===(ac=this['playerStyle'])||void 0x0===ac?void 0x0:ac['likeText']['fontWeight'];this['likeCountElement']['setStyle']({'fontSize':null!=ah?ah:'14px','color':null!=ai?ai:F['Colors']['White'],'fontWeight':null!=aj?aj:'normal','fontFamily':null!=ag?ag:F['Presets']['playerFont']}),this['likeButtonElement']['setIconUrl'](this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike']);}['applyShareStyle'](){var O,P,Q,R,S,T,U,V,W,X,Y,Z;if(!this['playerStyle'])return;let a0,a1,a2,a3;switch(z['deviceDetector']['platform']){case'desktop':a0=null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['share']['desktop']['padding'],a1=null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['buttons']['share']['desktop']['borderRadius'],a2=null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['buttons']['share']['desktop']['backgroundColor'],a3=null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['buttons']['share']['desktop']['color'];break;case'tablet':a0=null===(S=this['playerStyle'])||void 0x0===S?void 0x0:S['buttons']['share']['tablet']['padding'],a1=null===(T=this['playerStyle'])||void 0x0===T?void 0x0:T['buttons']['share']['tablet']['borderRadius'],a2=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['share']['tablet']['backgroundColor'],a3=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['buttons']['share']['tablet']['color'];break;case'mobile':a0=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['share']['mobile']['padding'],a1=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['share']['mobile']['borderRadius'],a2=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['share']['mobile']['backgroundColor'],a3=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['share']['mobile']['color'];}this['shareButtonElement']['setStyle']({'padding':null!=a0?a0:'10px','borderRadius':null!=a1?a1:'50%','backgroundColor':null!=a2?a2:'#18181899'}),a3&&this['shareButtonElement']['setAttribute']('icon-color',a3),'desktop'===z['deviceDetector']['platform']&&this['shareButtonElement']['classList']['add']('desktop-button'),this['shareButtonElement']['setIconUrl'](this['playerStyle']['icons']['share']);}['applyCtaButtonStyles'](){var O;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['ctaButton']))throw new Error('CTA\x20button\x20style\x20not\x20found');const {ctaButton:P,contentBoxHorizontalSpacing:Q}=this['playerStyle'];this['setAnchorButtonStyles'](P),this['setIconAttributes'](P),this['setLayoutPositioning'](P),this['setCtaButtonAlignment'](P),this['setLayoutSpacing'](P,Q);}['setAnchorButtonStyles'](O){this['ctaButtonElement']['setAnchorButtonStyles']({'fontFamily':O['font'],'fontWeight':O['fontWeight'],'borderRadius':O['cornerRadius'],'fontSize':O['textSize']});}['setIconAttributes'](O){O['icon']['isVisible']?(this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('icon-color',O['icon']['color']),this['ctaButtonElement']['setAttribute']('icon-url',O['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',O['icon']['size']),this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('display-icon','true')):this['ctaButtonElement']['setAttribute']('display-icon','false');}['setLayoutPositioning'](O){var P,Q,R;'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===O['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===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['contentBoxHorizontalSpacing'])}),this['ctaButtonElement']['style']['padding']='0px\x20'+(null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['contentBoxHorizontalSpacing'])):'CTA_BELLOW_BOTTOM_BUTTONS_BOX'===O['layoutPositioning']&&(this['bottomContentContainer']['style']['margin']='0px\x20'+(null===(R=this['playerStyle'])||void 0x0===R?void 0x0:R['contentBoxHorizontalSpacing']));}['setCtaButtonAlignment'](O){this['ctaButtonElement']['setStyle']({'height':O['height'],'alignSelf':{'START':'flex-start','CENTER':'center','FULL_AVAILABLE_WIDTH':'center','END':'flex-end'}[O['horizontalAlignment']]}),this['ctaButtonElement']['setCtaTextStyle']({'width':'100%'});}['setLayoutSpacing'](O,P){const Q='FULL_AVAILABLE_WIDTH'===O['horizontalAlignment'],R='mobile'===z['deviceDetector']['platform']?'50%':'33.4%';if('CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===O['layoutPositioning'])this['ctaButtonElement']['style']['width']=Q?'100%':R,this['ctaButtonElement']['style']['padding']='0';else{if('CTA_BELLOW_BOTTOM_BUTTONS_BOX'===O['layoutPositioning']){const S=Q?'calc(100%\x20-\x20'+0x2*(0x0,G['convertCssUnitToNumber'])(P)+'px)':R;this['ctaButtonElement']['style']['width']=S,this['ctaButtonElement']['style']['margin']='0px\x20'+P;}}}['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'](O,P){const {iconUrl:Q,width:R,height:S,color:T,padding:U,borderRadius:V,backgroundColor:W,onClick:X}=O;P['setIconUrl'](Q),P['setAttribute']('height',R),P['setAttribute']('width',S),T&&P['setAttribute']('icon-color',T);const Y={'padding':U,'borderRadius':V,'backgroundColor':W};Object['entries'](Y)['forEach'](([Z,a0])=>{a0&&P['setStyle']({[Z]:a0});}),X&&P['addEventListener']('click',X);}['configureShareModal'](){this['shareModal']=D['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['shareModal']['onClick']=this['onShareModalButtonClick']['bind'](this),this['container']['append'](this['shareModal']);}['configureButtons'](){return w(this,void 0x0,void 0x0,function*(){var O,P;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']))return;const Q=this['playerStyle']['buttons'],R=this['playerStyle']['icons'];let S,T,U,V,W;switch(z['deviceDetector']['platform']){case'mobile':default:S=Q['mute_unmute']['mobile'],T=Q['exit']['mobile'],U=Q['share']['mobile'],V=Q['like_unlike']['mobile'],W=Q['closed_captions']['mobile'];break;case'tablet':S=Q['mute_unmute']['tablet'],T=Q['exit']['tablet'],U=Q['share']['tablet'],V=Q['like_unlike']['tablet'],W=Q['closed_captions']['tablet'];break;case'desktop':S=Q['mute_unmute']['desktop'],T=Q['exit']['desktop'],U=Q['share']['desktop'],V=Q['like_unlike']['desktop'],W=Q['closed_captions']['desktop'];}if(T&&T['isVisible']&&(this['createButtonElement']({'iconUrl':R['exit'],'onClick':this['handleOnClose']['bind'](this),'width':T['width'],'height':T['height'],'color':T['color'],'padding':T['padding'],'borderRadius':T['borderRadius'],'backgroundColor':T['backgroundColor']},this['closeButtonElement']),this['elementsToHideOnCustomAds']['push'](this['closeButtonElement'])),S&&S['isVisible']){const X=E['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];this['createButtonElement']({'iconUrl':X,'onClick':this['handleOnMuteUnmuteToggle']['bind'](this),'width':S['width'],'height':S['height'],'color':S['color'],'padding':S['padding'],'borderRadius':S['borderRadius'],'backgroundColor':S['backgroundColor']},this['muteButtonElement']),'desktop'===z['deviceDetector']['platform']&&this['muteButtonElement']['classList']['add']('mute-unmute-button'),this['elementsToHideOnImaAds']['push'](this['topButtonsContainer']);}if(this['playerStyle']['iconsButtonOrder']['forEach']((Y,Z)=>{switch(Y){case'MUTE_UNMUTE':S['isVisible']&&(this['muteButtonElement']['style']['order']=Z['toString'](),this['topButtonsContainer']['append'](this['muteButtonElement']));break;case'EXIT_PLAYER':(null==T?void 0x0:T['isVisible'])&&(this['closeButtonElement']['style']['order']=Z['toString'](),this['topButtonsContainer']['append'](this['closeButtonElement']));}}),V&&V['isVisible']){this['isLiked']=yield E['LikeService']['isLiked'](this['data']['id']);const Y=this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike'];this['createButtonElement']({'iconUrl':Y,'onClick':this['handleOnLikeClick']['bind'](this),'width':V['width'],'height':V['height'],'color':V['color'],'padding':V['padding'],'borderRadius':V['borderRadius'],'backgroundColor':V['backgroundColor']},this['likeButtonElement']),this['likeWrapperElement']['append'](this['likeButtonElement'],this['likeCountElement']),this['bottomButtonsContainer']['append'](this['likeWrapperElement']);}U&&U['isVisible']&&(this['createButtonElement']({'iconUrl':this['playerStyle']['icons']['share'],'onClick':this['handleOnShareClick']['bind'](this),'width':U['width'],'height':U['height'],'color':U['color'],'padding':U['padding'],'borderRadius':U['borderRadius'],'backgroundColor':U['backgroundColor']},this['shareButtonElement']),this['bottomButtonsContainer']['append'](this['shareButtonElement'])),W&&W['isVisible']&&E['ConfigService']['shouldAllowClosedCaptions']?(this['createButtonElement']({'iconUrl':'','onClick':this['handleOnClosedCaptionClick']['bind'](this),'width':W['width'],'height':W['height'],'color':W['color'],'padding':W['padding'],'borderRadius':W['borderRadius'],'backgroundColor':W['backgroundColor']},this['closedCaptionButtonElement']),this['updateCaptions'](),'desktop'===z['deviceDetector']['platform']&&this['closedCaptionButtonElement']['classList']['add']('desktop-button'),this['bottomButtonsContainer']['append'](this['closedCaptionButtonElement'])):null===(P=this['video'])||void 0x0===P||P['setAttribute']('is-captions-visible','false');});}['appendButtonsContainer'](){this['container']['append'](this['topButtonsContainer']);}['handleMobileSpecificFeatures'](){this['createPlayPauseButton']();}['configureContentBody'](){this['bodyElement']['onclick']=this['onContentClick']['bind'](this),this['bodyElement']['onscroll']=()=>{const O=this['bodyElement']['scrollTop'],P=this['bodyElement']['scrollHeight'],Q=this['bodyElement']['clientHeight'];0x0===O?this['bodyElement']['setStyle']({'maskImage':M}):O+Q>=P?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 O;switch(this['bottomContainer']['innerHTML']='',null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['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 O;if('Ad'===this['data']['type'])return;const P=null===(O=this['video'])||void 0x0===O?void 0x0:O['paused'];this['playPauseButtonElement']['setIconUrl'](P?'':H['playResumeIconSvg']),this['isMomentPausedByPlayPauseButton']=!P,this['playToggle']();}['setModal'](O){this['modal']=O;}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){this['isActive']&&this['isConnected']&&this['video']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&(this['playPauseButtonElement']['setIconUrl'](H['playResumeIconSvg']),this['video']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),this['event'](B['MomentAction']['MomentExit'],{})));}['onFocus'](){var O;if(!this['isActive']||!this['isConnected']||!this['video'])return;const P='Ad'===(null===(O=this['video']['data'])||void 0x0===O?void 0x0:O['type']);if((this['video']['paused']||P)&&this['resumeAfterfocus']){this['resumeAfterfocus']=!0x1;const Q='iOS'===z['deviceDetector']['OS'],R='Mobile\x20Safari'===z['deviceDetector']['browser'],S='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],T=Q&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(!P&&(Q||R||T||S))return void this['playPauseButtonElement']['setIconUrl'](H['playResumeIconSvg']);this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['onContentClick'](){'2'===this['bodyElement']['style']['webkitLineClamp']?this['expandBodyText']('10'):this['collapseBodyText']('2');}['expandBodyText'](O){const P=this['bodyElement']['clientHeight'];this['bodyElement']['style']['webkitLineClamp']=O;const Q=this['bodyElement']['clientHeight'];this['bodyElement']['scrollHeight']>this['bodyElement']['clientHeight']&&(this['bodyElement']['style']['overflow']='auto',this['bodyElement']['setStyle']({'maskImage':M})),P<Q&&this['bottomContainer']['setStyle']({'backgroundImage':'linear-gradient(0deg,\x20rgb(0\x200\x200)\x200%,\x20rgb(0\x200\x200\x20/\x200%)\x20100%)'});}['collapseBodyText'](O){this['bodyElement']['style']['webkitLineClamp']=O,this['bodyElement']['style']['overflow']='hidden',this['bodyElement']['setStyle']({'backgroundImage':''}),this['bottomContainer']['setStyle']({'backgroundImage':''});}['onMuteUnmuteChange'](){this['video']&&(this['video']['muted']=E['VideoPlayerService']['isMuted']);}['updatePlayerButtonIcons'](){var O,P;this['video']&&this['playerStyle']&&(this['muteButtonElement']['setIconUrl'](E['VideoPlayerService']['isMuted']?null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['mute']:null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unmute']),this['closeButtonElement']['setIconUrl'](this['playerStyle']['icons']['exit']),this['updateCaptions']());}['handleOnClosedCaptionClick'](){this['toggleCaptionsVisibility']();}['toggleCaptionsVisibility'](){var O,P,Q;if(!(null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['buttons']['closed_captions'])||!this['video'])return;E['VideoPlayerService']['isClosedCaptioningEnabled']=!E['VideoPlayerService']['isClosedCaptioningEnabled'];const R=E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'];null===(P=this['closedCaptionButtonElement'])||void 0x0===P||P['setIconUrl'](R),null===(Q=this['video'])||void 0x0===Q||Q['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false'),this['modal']['player']['playerContentList']['forEach'](S=>{S['updateCaptions']();}),this['event'](E['VideoPlayerService']['isClosedCaptioningEnabled']?B['MomentAction']['ClosedCaptionsOn']:B['MomentAction']['ClosedCaptionsOff'],{});}['handleOnShareClick'](){return w(this,void 0x0,void 0x0,function*(){var O;if(!this['isActive'])return;let P;this['event'](B['MomentAction']['ShareClick'],{}),this['pause'](),P=location['href']['includes']('blaze/moment')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/moment/'+this['data']['id']:location['href']+'#blaze/moment/'+this['data']['id'];const Q='Mac\x20OS'===z['deviceDetector']['OS']&&'Chrome'===z['deviceDetector']['browser'];(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])&&!Q?navigator['share']({'text':this['data']['title'],'url':P})['then'](()=>{this['event'](B['MomentAction']['ShareSuccess'],{});})['catch'](()=>{})['finally'](()=>{this['resume']();}):null===(O=this['shareModal'])||void 0x0===O||O['open'](P);});}['onShareModalButtonClick'](O){return w(this,void 0x0,void 0x0,function*(){try{yield navigator['clipboard']['readText']()['then'](P=>{document['location']['href'];});}catch(P){}});}['loadMoments'](){return w(this,void 0x0,void 0x0,function*(){});}['load'](){return w(this,arguments,void 0x0,function*(O='cache'){var P;yield null===(P=this['video'])||void 0x0===P?void 0x0:P['load'](O);});}['unload'](){return w(this,void 0x0,void 0x0,function*(){var O;yield null===(O=this['video'])||void 0x0===O?void 0x0:O['unload']();});}['playToggle'](){this['isActive']&&this['video']&&(this['event'](this['video']['paused']?B['MomentAction']['PlaybackPlay']:B['MomentAction']['PlaybackPause'],{'playback_action_method':'Click'}),this['video']['paused']?this['resume']():this['pause']());}['updateCaptions'](){var O,P,Q,R,S;if(this['playerStyle']){if((null!==(O=this['data']['closedCaptions'])&&void 0x0!==O?O:[])['length']){this['closedCaptionButtonElement']['setAttribute']('disabled','false');const T=E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'];null===(R=this['closedCaptionButtonElement'])||void 0x0===R||R['setIconUrl'](T),null===(S=this['video'])||void 0x0===S||S['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false');}else this['closedCaptionButtonElement']['setAttribute']('disabled','true'),null===(P=this['closedCaptionButtonElement'])||void 0x0===P||P['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),null===(Q=this['video'])||void 0x0===Q||Q['setAttribute']('is-captions-visible','false');}}['handleOnMuteUnmuteToggle'](){if(!this['isActive'])return;const O=!E['VideoPlayerService']['isMuted'];E['VideoPlayerService']['isMuted']=O,this['event'](B['MomentAction']['Audio'],{}),this['video']&&(this['video']['muted']=E['VideoPlayerService']['isMuted']),document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']));}['setData'](O){var P,Q;O&&(this['data']=O,this['updateContent']({'title':O['title'],'description':(null==O?void 0x0:O['description'])||'','subtitle':(null==O?void 0x0:O['subtitle'])||''}),this['updateCta'](this['data']['cta']),this['updateLikeCount'](this['data']['likes']),this['momentIndex']=O['momentIndexInPlaylist'],this['originalVideoRef']||(this['originalVideoRef']=new J['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']({'id':this['data']['id'],'type':'Ad','duration':0x0,'hasViewed':!0x1,'ignoreReadStatusForStory':!0x1,'createTime':new Date()['toLocaleString'](),'adPath':null!==(P=this['data']['adPath'])&&void 0x0!==P?P:''}),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===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['seekBar'])||F['Presets']['DefaultMomentStyle']['seekBar']),this['bottomContainer']['prepend'](this['seekBar'])),this['seekBar']['onResume']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['isMomentPausedByPlayPauseButton']&&this['event'](B['MomentAction']['PlaybackPlay'],{}),this['resume']();}),0x64),this['seekBar']['onPause']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['pause']();}),0x64),this['adjustContentView'](),this['render']());}['updateData'](O){return w(this,void 0x0,void 0x0,function*(){var P,Q,R;const {data:S,shouldShowImaAdOnStart:T,imaUrl:U}=O;this['isLiked']=!0x1,this['playerStyle']&&this['likeButtonElement']['setIconUrl'](null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unlike']),null===(Q=this['video'])||void 0x0===Q||Q['remove'](),this['setData'](S),this['data']=S,this['shouldShowImaAdOnStart']=T,this['imaUrl']=U,null===(R=this['video'])||void 0x0===R||R['setData'](S),this['video']&&this['seekBar']['setVideo'](this['video']),this['pause']();});}['updateContent'](O){if(this['playerStyle']){switch(this['playerStyle']['headingText']['contentSource']){case'TITLE':this['headElement']['innerHTML']=O['title'];break;case'SUBTITLE':this['headElement']['innerHTML']=O['subtitle'];}switch(this['playerStyle']['bodyText']['contentSource']){case'TITLE':this['bodyElement']['innerHTML']=O['title'];break;case'SUBTITLE':this['bodyElement']['innerHTML']=O['subtitle'];break;case'DESCRIPTION':this['bodyElement']['innerHTML']=O['description'];}}}['updateLikeCount'](O){return w(this,void 0x0,void 0x0,function*(){var P,Q;const {id:R,likes:S}=this['data'];this['isLiked']=yield E['LikeService']['isLiked'](R);let T=null!=O?O:S;if(T=this['isLiked']?T+0x1:T,this['likeCountElement']){const U=this['isLiked']?null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['like']:null===(Q=this['playerStyle'])||void 0x0===Q?void 0x0:Q['icons']['unlike'];U&&this['likeButtonElement']['setIconUrl'](U),this['likeCountElement']['innerText']=(0x0,G['formatLikes'])(T),this['likeCountElement']['style']['display']=0x0===T?'none':'flex';}});}['updateCta'](O){O&&O['url']&&O['text']&&O['backgroundColor']&&O['textColor']?(this['ctaButtonElement']['setAttribute']('href',O['url']),this['ctaButtonElement']['setAttribute']('text',O['text']),this['ctaButtonElement']['setAnchorButtonStyles']({'color':O['textColor'],'background':O['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'](O){var P,Q,R,S,T,U,V;return this['event'](B['MomentAction']['CtaClick'],{}),(null===(Q=null===(P=this['refContentModal'])||void 0x0===P?void 0x0:P['parentWidget'])||void 0x0===Q?void 0x0:Q['id'])&&E['EventService']['dispatch'](null===(R=this['refContentModal'])||void 0x0===R?void 0x0:R['parentWidget'],C['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(T=null===(S=this['refContentModal'])||void 0x0===S?void 0x0:S['parentWidget'])||void 0x0===T?void 0x0:T['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),null===(U=this['shareModal'])||void 0x0===U||U['close'](),this['exitTrigger']='CTA\x20Click',this['event'](B['MomentAction']['MomentExit'],{}),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),(null===(V=this['video'])||void 0x0===V?void 0x0:V['paused'])||(this['resumeAfterfocus']=!0x0,this['pause']()),!0x0;}['play'](){var O;this['isConnected']&&(this['sessionId']=(0x0,G['getRandomId'])(),this['video']&&(this['video']['shouldShowImaAd']=this['shouldShowImaAdOnStart'],'Content'===(null===(O=this['video']['data'])||void 0x0===O?void 0x0:O['type'])&&(this['event'](B['MomentAction']['MomentStart'],{}),this['video']['data']['imaUrl']=this['imaUrl'],this['video']['data']['adContext']=this['adContext']),this['adjustContentView'](),this['updatePlayerButtonIcons'](),this['video']['muted']=E['VideoPlayerService']['isMuted'],this['video']['display'](()=>{this['modal']['handleClickNavigation']('NEXT');}),this['video']['play'](),E['VideoPlayerService']['isPlaying']=!0x0,this['isActive']=!0x0,this['seekBar']['setAttribute']('is-active','true'),this['seekBar']['onContentResumed'](!0x0),E['MomentService']['updateMomentReadStatusById'](this['data']['id']),this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()));}['handleOnClose'](){this['pause'](),this['modal']['close']();}['handleOnLikeClick'](){var O,P;this['isLiked']=!this['isLiked'],this['event'](this['isLiked']?B['MomentAction']['Like']:B['MomentAction']['Unlike'],{}),E['LikeService']['updateLike'](this['isLiked'],this['data']['id']);const Q=this['isLiked']?null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['like']:null===(P=this['playerStyle'])||void 0x0===P?void 0x0:P['icons']['unlike'];Q&&this['likeButtonElement']['setIconUrl'](Q),this['updateLikeCount']();}['pause'](){var O;null===(O=this['video'])||void 0x0===O||O['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['isActive']&&this['seekBar']['onContentPaused']();}['resume'](){var O;this['video']&&('Content'!==this['data']['type']||(null===(O=this['video'])||void 0x0===O?void 0x0:O['paused']))&&(this['video']['play'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['removeResumeButtonFromScreen'](),this['seekBar']['onContentResumed'](!0x1));}['removeResumeButtonFromScreen'](){this['playPauseButtonElement']['setIconUrl'](''),this['isMomentPausedByPlayPauseButton']=!0x1;}['resetPosition'](){this['video']&&this['video']['currentTime']>=0.2&&(this['video']['currentTime']=0x0);}['restartVideo'](){this['video']&&(this['resetPosition'](),this['video']['muted']=E['VideoPlayerService']['isMuted'],E['VideoPlayerService']['isPlaying']&&this['video']['play'](),this['loopNumber']++);}['adjustContentView'](){var O,P,Q,R,S,T,U,V;return(null===(O=this['video'])||void 0x0===O?void 0x0:O['shouldShowImaAd'])?(this['elementsToHideOnImaAds']['forEach'](W=>{W&&(W['style']['visibility']='hidden');}),null===(P=this['modal']['nextContentButtonElement'])||void 0x0===P||P['setAttribute']('disabled','true'),null===(Q=this['modal']['prevContentButtonElement'])||void 0x0===Q||Q['setAttribute']('disabled','true'),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']=W===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):'Ad'===(null===(S=null===(R=this['video'])||void 0x0===R?void 0x0:R['data'])||void 0x0===S?void 0x0:S['type'])?(this['elementsToHideOnCustomAds']['forEach'](W=>{W&&(W['style']['visibility']='hidden');}),'no-ad'===E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['muteStateBeforeAd']=E['VideoPlayerService']['isMuted']?'mute':'unmute'),'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['isMuted']=!0x0,this['updatePlayerButtonIcons']()),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']=W===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):([...this['elementsToHideOnCustomAds'],...this['elementsToHideOnImaAds']]['forEach'](W=>{W&&(W['style']['visibility']='visible');}),null===(T=this['video'])||void 0x0===T||T['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false'),null===(U=this['modal']['nextContentButtonElement'])||void 0x0===U||U['setAttribute']('disabled','false'),null===(V=this['modal']['prevContentButtonElement'])||void 0x0===V||V['setAttribute']('disabled','false'),'no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(E['VideoPlayerService']['isMuted']='mute'===E['VideoPlayerService']['muteStateBeforeAd'],E['VideoPlayerService']['muteStateBeforeAd']='no-ad',document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']))),this['topButtonsContainer']['style']['marginTop']='5px',void this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](W=>{W['style']['display']='flex';}));}['event'](O,P){return w(this,arguments,void 0x0,function*(Q,R,S=void 0x0){var T,U,V,W,X;try{const Y=this['getRefferingObject']();if('Content'===this['data']['type']){switch(R['moment_id']=this['data']['id'],R['moment_title']=this['data']['title'],R['moment_index']=this['momentIndex'],R['audio_state']=E['VideoPlayerService']['isMuted']?'Mute':'Unmute',R['cc_state']=E['VideoPlayerService']['isClosedCaptioningEnabled']?'On':'Off',R['loop_number']=this['loopNumber']['toString'](),R['moments_session_id']=this['modal']['playlistSessionId'],(null===(T=this['video'])||void 0x0===T?void 0x0:T['duration'])?R['moment_duration']=this['video']['duration']:R['moment_duration']=yield this['video']['getVideoDuration'](),'true'===(null===(U=E['AppConfigurationService']['appConfigurations'])||void 0x0===U?void 0x0:U['configurations']['analyticsAddEntitiesInfo'])&&(R['content_extra_info']=JSON['stringify'](this['data']['entities'])),Q){case B['MomentAction']['MomentsPlaylistStart']:R['moment_start_trigger']=this['startTrigger'];break;case B['MomentAction']['MomentsPlaylistExit']:R['moment_exit_trigger']=this['exitTrigger'];break;case B['MomentAction']['MomentExit']:R['moment_navigation_type']=this['navigationType'],R['moment_navigation_direction']=this['navigationDirection'],R['moment_duration_viewed_percent']=Number((0x64*((null===(V=this['video'])||void 0x0===V?void 0x0:V['progress'])||0x0))['toFixed'](0x3));}E['AnalyticsService']['pushMomentEvent'](Q,R,S,Y);}else{if('Ad'===this['data']['type']){let Z;const a0=new z['AdEvent']();if(Q!==B['MomentAction']['MomentStart']&&Q!==B['MomentAction']['MomentExit']&&Q!==B['MomentAction']['CtaClick'])return;Z=B['MomentToAdActionMapper'][Q],Z===B['AdAction']['View']?a0['ad_start_trigger']=this['startTrigger']:Z===B['AdAction']['Exit']&&(a0['ad_exit_trigger']=this['exitTrigger']),a0['ad_server']='google_ad_manager',a0['ad_insertion_logic']='MOMENT',a0['ad_path']=null!==(W=this['data']['adPath'])&&void 0x0!==W?W:'','true'===(null===(X=E['AppConfigurationService']['appConfigurations'])||void 0x0===X?void 0x0:X['configurations']['analyticsAddEntitiesInfo'])&&(a0['content_extra_info']=JSON['stringify'](this['data']['entities'])),E['AnalyticsService']['pushAdEvent'](Z,a0,S,Y);}}}catch(a1){}});}['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']=N;},0x5ee:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryModal']=void 0x0;const k=j(0x23a6),m=j(0x1133),p=j(0x1932),q=j(0x26ed),u=j(0x11c1),v=j(0x2432),w=j(0x14c);let x=window['innerWidth'];class y extends w['BlazeWidgetModal']{constructor(z,A){super('story'),this['parentWidget']=z,this['playerLayout']=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']('screenOrientationChange',this['boundOnResizeEventDelay']),window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload']),(0x0,v['mergeStyles'])(this,{'display':'none','boxSizing':'border-box'}),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),window['removeEventListener']('screenOrientationChange',this['boundOnResizeEventDelay']),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload']);}['onBeforeUnload'](){if(m['deviceDetector']['isDesktop'])return this['isOpen']&&this['dispatchExitStoryEvents'](),null;}['setTheme'](z){this['player']['playerContentList']['forEach'](A=>{A instanceof k['BlazeWidgetStory']&&A['setTheme'](z);}),this['playerLayout']=z;}['updateModalContent'](){this['currentState']&&this['player']['updateContentConfig'](this['currentState']['stories']);}['setModalContent'](z,A,B){this['currentState']={'stories':z,'indexOfContentInWidget':A,'defaultAdsInfo':B};const C=[];for(let D=0x0;D<z['length'];D++){const E=new k['BlazeWidgetStory'](this['playerLayout'],'Full\x20Screen');E['setData'](z[D]),C['push'](E),u['AdService']['pushAdsBetweenStories'](B,C,z,D,A,this['playerLayout']);}this['player']['setContent'](C);}['onKeyDown'](z){if(this['isOpen']&&'Escape'==z['key']){const A=this['player']['playerContentList'][this['player']['index']];if(A['currentPage']['isAd'])return;A['exitTrigger']='Escape\x20Button',A['navigationType']='',A['navigationDirection']='',A['close'](),this['close']();}}['close'](){var z,A,B,C;if(!this['isOpen'])return;if('SingleStory'===u['VideoPlayerService']['playReference']&&!u['ConfigService']['shouldDismissPlayer'])return;this['dispatchPlayerEvents'](),super['close'](),null===(z=this['player'])||void 0x0===z||z['playerContentList']['forEach'](E=>{E['unload'](),E instanceof k['BlazeWidgetStory']&&(E['currentPage']['pause'](),E['pages']['forEach'](F=>{F['paused']||F['pause']();}));});const D=this['player']['playerContentList'][this['player']['index']];null===(A=null==D?void 0x0:D['currentPage'])||void 0x0===A||A['startExit'](),null===(B=null==D?void 0x0:D['currentPage'])||void 0x0===B||B['endExit'](),null===(C=this['onClose'])||void 0x0===C||C['call'](this,{'storyId':D['data']['id'],'pageIndex':D['pageIndex']});}['dispatchExitStoryEvents'](){var z,A,B;const C=this['player']['playerContentList'][this['player']['index']];C['event'](p['StoryAction']['PageExit'],{}),C['event'](p['StoryAction']['Exit'],{}),u['AnalyticsService']['sendAnalyticsData'](),null===(z=C['pause'])||void 0x0===z||z['call'](C),null===(B=null===(A=C['widgetParentItem'])||void 0x0===A?void 0x0:A['updateWidget'])||void 0x0===B||B['call'](A),C['updateWidgetStatusReadUnread']();}['dispatchPlayerEvents'](){u['EventService']['dispatch'](this,q['Delegation']['onStoryPlayerDismissed']),u['EventService']['dispatch'](this,q['Delegation']['onPlayerDismissed']),this['parentWidget']&&(u['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),u['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetStoryPlayerDismissed'],{'widgetId':this['parentWidget']['id']}));}['open'](z){var A;super['open'](z);const B=new CustomEvent('onPlayerReady',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](B),null===(A=this['onOpen'])||void 0x0===A||A['call'](this),u['EventService']['dispatch'](this,q['Delegation']['onStoryPlayerDidAppear']),u['EventService']['dispatch'](this,q['Delegation']['onPlayerDidAppear']);}['play'](){}['render'](){if('desktop'===m['deviceDetector']['platform']){const z=this['player']['playerContentList'][this['player']['index']],A=this['shouldShowExitButton']({'shouldDismissPlayer':u['ConfigService']['shouldDismissPlayer'],'playReference':u['VideoPlayerService']['playReference'],'customButtonVisibility':null==z?void 0x0:z['isButtonVisible']('EXIT_PLAYER')});this['exitButtonWrapperElement']['style']['display']=A?'block':'none';}}['shouldShowExitButton'](z){return!!z['shouldDismissPlayer']||!['SingleStory','AutoAdvance']['includes'](z['playReference'])&&(void 0x0===z['customButtonVisibility']||z['customButtonVisibility']);}['playToggleCurrentStory'](){this['player']['playToggleCurrentStory']();}['onResize'](){super['onResize'](),x!==window['innerWidth']&&(x=window['innerWidth'],this['render']());}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},p['ONE_SECOND']/0x2);}}g['BlazeWidgetStoryModal']=y;},0x1d16:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryPlayer']=void 0x0;const q=m(j(0xad8)),v=j(0x23a6),w=j(0x1133),x=j(0x1932),y=j(0x11c1),z=j(0x132a),A=j(0x2432),B=j(0x8c0);class C extends B['WidgetAbstractPlayer']{constructor(){super(),this['boundOnKeyDown']=(0x0,w['throttle'])(this['onKeyDown']['bind'](this),x['ONE_SECOND']/0x4);}['connectedCallback'](){this['isBlazeWidgetStory'](this['playerContentList'])&&(this['append'](this['srcBackground']),this['append'](this['destBackground'])),this['append'](this['playerFullscreenOverlay']),this['append'](this['container']),this['applyStyles'](),this['muteVideoOnIOSOrMacTablet'](),this['setupEventListeners'](),this['render']();}['disconnectedCallback'](){this['listeners']['removeAll'](),null===window||void 0x0===window||window['removeEventListener']('focus',this['onFocus']),this['cleanupHammer']();}['setupEventListeners'](){this['listeners']['add']('keydown',this['boundOnKeyDown']),null===window||void 0x0===window||window['addEventListener']('focus',this['onFocus']['bind'](this)),this['setupHammer'](Hammer['DIRECTION_HORIZONTAL']);}['applyStyles'](){(0x0,A['mergeStyles'])(this,{'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':z['Colors']['Black'],'boxSizing':'border-box'}),this['container']['setStyle']({'display':'grid','position':'relative','height':'100%'});}['updateContentConfig'](D){(null==D?void 0x0:D['length'])&&D['length']===this['playerContentList']['length']&&D['forEach']((E,F)=>{const G=this['playerContentList'][F];if(G['data']['id']===E['id'])try{G['setData'](E),G['render'](),G['load'](),G['play']();}catch(H){}});}['attributeChangedCallback'](D,E,F){}['setContent'](D){this['playerContentList']=[];for(const E of this['contentList'])E['remove']();D['forEach'](F=>{F['pages']['forEach'](G=>G['requestFrameCallback']=this['renderPlayerBackground']['bind'](this));}),this['contentList']=[...D];for(const F of this['contentList'])F['onNextStory']=G=>{F['navigationType']=G,F['navigationDirection']='Forwards',this['navigateContent']('NEXT');},F['onPrevStory']=G=>{F['navigationType']=G,F['navigationDirection']='Backwards',this['navigateContent']('PREV');},F['onClose']=()=>{F['exitTrigger']='Close\x20Button',F['navigationType']='',F['navigationDirection']='',this['close']();};D['forEach'](G=>G['refWidget']=this['contentList']);}['navigateContent'](D){var E,F;if(this['isNavigationBlocked'])return;let G;switch(D){case'PREV':G=this['index']-0x1;break;case'NEXT':G=this['index']+0x1;break;default:return;}const H=this['playerContentList'][this['index']];if(G<0x0||G===this['playerContentList']['length'])return void('PREV'===D?(H['resetPosition'](),H['play']()):'NEXT'===D&&(H['exitTrigger']='Stories\x20Completed',null===(E=H['refContentModal'])||void 0x0===E||E['dispatchExitStoryEvents'](),this['close']()));this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isNavigating']=!0x1;const I=this['playerContentList'][G];w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==I?void 0x0:I['data']['id'],'isAd':null==I?void 0x0:I['data']['isAd']}),null==I||I['updatePlayerButtonIcons'](),this['blockInteractionWithUserInterface'](),null===(F=this['animateContent'](D))||void 0x0===F||F['play'](),y['VideoPlayerService']['isNavigating']=!0x1;}['onFocus'](){this['resetPosition']();}['handleMoveSwipe'](D){var E,F,G,H,I,J,K,L,M;const N=this['contentList']['findIndex'](O=>{var P;return O['id']===(null===(P=this['playerContentList'][this['index']])||void 0x0===P?void 0x0:P['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd'])&&N>-0x1){const O=D['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['width'])/0.75)*this['_animationDuration'];switch(D['offsetDirection']){case this['directionForwards']:if('SingleStory'===y['VideoPlayerService']['playReference'])return void(y['ConfigService']['autoAdvanceUrl']&&!w['URLManager']['isAutoAdvancingEnabled']&&(w['URLManager']['isAutoAdvancingEnabled']=!0x0,this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')})));if(N===this['contentList']['length']-0x1)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'VerticalForwards'}));null===(F=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===F||F['load'](),null===(G=this['currentNextAnimation'])||void 0x0===G||G['seek'](O);break;case this['directionBackwards']:if('SingleStory'===y['VideoPlayerService']['playReference'])return;if(0x0===N)return void(Math['abs'](D['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'HorizontalBackwards'}));null===(H=this['playerContentList'][0x0])||void 0x0===H||H['load'](),null===(I=this['currentPrevAnimation'])||void 0x0===I||I['seek'](O);break;case Hammer['DIRECTION_UP']:if(Math['abs'](D['deltaY'])>=0xf){const P=this['playerContentList'][this['index']];if(P['isCtaWasClickedOrSwiped'])return;if(P['currentPage']['isAd'])return;const Q='none'!==P['ctaButtonElement']['style']['display'],R=null===(K=null===(J=P['currentPage']['data']['cta'])||void 0x0===J?void 0x0:J['enhancements'])||void 0x0===K?void 0x0:K['hasSwipeUp'],S=P['currentPage']instanceof v['BlazeWidgetVideo'],T=P['currentPage']instanceof v['BlazeWidgetAd'];if(S&&Q&&R){P['isCtaWasClickedOrSwiped']=!0x0;const U=new Event('swipeup');P['handleCtaAction'](U,'Swipe\x20Up');}else T&&(P['isCtaWasClickedOrSwiped']=!0x0,P['currentPage']['handleCtaSwipeUp'](),(0x0,A['delay'])(x['ONE_SECOND'])['then'](()=>P['isCtaWasClickedOrSwiped']=!0x1));}return;default:null===(L=this['currentNextAnimation'])||void 0x0===L||L['seek'](0x0),null===(M=this['currentPrevAnimation'])||void 0x0===M||M['seek'](0x0);}}}['handleEndSwipe'](D){var E;const F=this['playerContentList'][this['index']+0x1],G=this['playerContentList'][this['index']-0x1],H=this['contentList']['findIndex'](I=>{var J;return I['id']===(null===(J=this['playerContentList'][this['index']])||void 0x0===J?void 0x0:J['id']);});if(!(null===(E=this['playerContentList'][this['index']])||void 0x0===E?void 0x0:E['currentPage']['isCurrentlyTryingToRunImaAd']))switch(D['offsetDirection']){case this['directionForwards']:if(H===this['contentList']['length']-0x1)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,F,this['currentNextAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==F?void 0x0:F['data']['id'],'isAd':null==F?void 0x0:F['data']['isAd']});break;case this['directionBackwards']:this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](D,G,this['currentPrevAnimation']),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if('mobile'===w['deviceDetector']['platform']&&D['deltaY']>0x1e&&Math['abs'](D['deltaX'])<=0x46){if('SingleStory'===y['VideoPlayerService']['playReference'])return;this['playerContentList'][this['index']]['exitTrigger']='Swipe\x20Down',this['animateCloseWithDirection']({'direction':'VerticalForwards'});}return;case Hammer['DIRECTION_UP']:return;default:this['reverseAnimation'](D);}}['handlePrevDirection'](){const D=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][0x0])-0x1];D&&!this['container']['contains'](D)&&(D['updatePlayerButtonIcons'](),D['updateCTAButtonPosition'](),D['currentPage']['loadPoster'](),this['container']['prepend'](D),this['playerContentList']['splice'](0x0,0x0,D),this['index']+=0x1);}['handleNextDirection'](){const D=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][this['playerContentList']['length']-0x1])+0x1];D&&!this['container']['contains'](D)&&(D['updatePlayerButtonIcons'](),D['updateCTAButtonPosition'](),D['currentPage']['loadPoster'](),this['container']['append'](D),this['playerContentList']['push'](D));}['resetStyles'](){this['style']['background']='#000',this['style']['transform']='translate(0,\x200)',this['style']['opacity']='',this['container']['style']['opacity']='';}['play'](D){var E,F;const G=this['playerContentList'][this['index']];if(D&&!isNaN(null!==(E=null==D?void 0x0:D['pageIndex'])&&void 0x0!==E?E:0x0)&&(G['pageIndex']=null!==(F=null==D?void 0x0:D['pageIndex'])&&void 0x0!==F?F:0x0),w['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==G?void 0x0:G['data']['id'],'isAd':null==G?void 0x0:G['data']['isAd']}),G){G['load']();const H=G['shouldShowImaAdOnStart'];G['shouldShowImaAdOnStart']=!0x1,G['play'](),G['shouldShowImaAdOnStart']=H,this['playerContentList']['forEach'](I=>{G['data']['id']!==I['data']['id']&&(I['displayCurrentStoryPageAndHideTheRest'](),I['updateCTAButtonPosition']());}),setTimeout(()=>{var I;switch(y['ConfigService']['prefetchingPolicy']){case'low':null===(I=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===I||I['load']();break;case'default':this['playerContentList']['forEach'](J=>{G['data']['id']!==J['data']['id']&&J['load']();});}},0x3*x['ONE_SECOND']);}}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isPlaying']=!0x0;const D=this['playerContentList'][this['index']];D&&(yield D['load']('direct'),D['play'](),this['playerContentList']['forEach'](E=>{E['data']['id']!==D['data']['id']&&(E['isActive']=!0x1);}),D['isActive']=!0x0,this['isNavigationBlocked']=!0x1,y['VideoPlayerService']['isNavigating']=!0x1,y['VideoPlayerService']['isPlaying']=!0x0);});}['handleAnimationCompletion'](D,E){var F;D&&(D['navigationDirection']='NEXT'===E?'Forwards':'Backwards',D['event'](x['StoryAction']['PageExit'],{}),D['event'](x['StoryAction']['Exit'],{}),D['isActive']=!0x1,D['updateWidgetStatusReadUnread'](),D['currentPage']['muted']=!0x0,D['pause']()),null===(F=this['onContentChange'])||void 0x0===F||F['call'](this,E),this['index']+='NEXT'===E?0x1:-0x1,this['handleAnimationEnd'](E),D['currentPage']['endExit']();}['createAnimation'](D,E,F){const G=this['playerContentList'][F],H=this['offsetWidth']*('RTL'===y['ConfigService']['layoutDirection']?-0x1:0x1);return q['default']['timeline']({'complete':()=>{y['VideoPlayerService']['isModalOpen']&&this['handleAnimationCompletion'](D,E);},'changeBegin':()=>{this['handleAnimationStart'](D,G);},'easing':'easeOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateX':-this['index']*H,'duration':0x0},{'translateX':-F*H,'duration':this['_animationDuration']}]},0x0)['add']({'targets':[D],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0)['add']({'targets':[G],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+H+'px\x20-\x20100%),\x200)'}]},0x0);}['handleAnimationStart'](D,E){var F,G;E['currentPage']['loadPoster'](),E['updatePublishedDate'](),E['updatePlayerButtonIcons'](),null==D||D['pause'](),D['currentPage']['muted']=!0x0,(null===(F=D['shareModal'])||void 0x0===F?void 0x0:F['isOpen'])&&(null===(G=D['shareModal'])||void 0x0===G||G['close']()),D['currentPage']['startExit'](),E['currentPage']['startEnter']();}['animateCloseWithDirection'](D){const {direction:E,callback:F,exitTrigger:G='Swipe',navigationType:H='Manual'}=D;let I;switch(E){case'HorizontalForwards':case'VerticalForwards':I='Forwards';break;case'HorizontalBackwards':case'VerticalBackwards':I='Backwards';}if(this['isCloseAnimationStarted'])return;this['isCloseAnimationStarted']=!0x0;const J=q['default']['timeline']({'complete':()=>{this['isCloseAnimationStarted']=!0x1,this['close']();},'changeBegin':()=>{const K=this['playerContentList'][this['index']];K&&(K['pause'](),K['currentPage']['muted']=!0x0),K['exitTrigger']=G,K['navigationType']=H,K['navigationDirection']=I,K['event'](x['StoryAction']['Exit'],{}),K['event'](x['StoryAction']['PageExit'],{}),y['AnalyticsService']['sendAnalyticsData']();},'easing':'easeOutQuad'});J['add'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({'targets':[this['container']]},'HorizontalBackwards'===E&&{'translateX':'RTL'===y['ConfigService']['layoutDirection']?'-100%':'100%'}),y['ConfigService']['shouldAutoAdvance']&&'SingleStory'===y['VideoPlayerService']['playReference']&&'HorizontalForwards'===E&&{'translateX':'-100%'}),'VerticalForwards'===E&&{'translateY':'100%'}),{'opacity':0x0,'duration':0x1f4})),this['resetPosition'](),this['style']['background']='',J['play'](),J['finished']['then'](()=>{null==F||F();});}['onKeyDown'](D){const E=this['playerContentList'][this['index']],F='SingleStory'===y['VideoPlayerService']['playReference'],G=E['isLastPage']();if(!F||!G)return y['VideoPlayerService']['isNavigating']=!0x1,!!this['focus']&&('ArrowLeft'==D['key']||'Left'==D['key']?(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goNextPage']():E['goPrevPage']()):'ArrowRight'!=D['key']&&'Right'!=D['key']||(y['VideoPlayerService']['isPlaying']=!0x0,'RTL'===y['ConfigService']['layoutDirection']?E['goPrevPage']():E['goNextPage']()),!0x1);y['ConfigService']['shouldAutoAdvance']&&(this['renderPlayerBackground'](!0x0),this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>w['URLManager']['navigateTo']('AUTO_ADVANCE')}));}['render'](){const D=this['getBoundingClientRect']()['width'];this['container']['style']['gridTemplateColumns']='repeat(10,\x20'+D+'px)',this['container']['style']['transform']='';}['loadContentBatch'](){}['playToggleCurrentStory'](){this['playerContentList'][this['index']]['playToggle']();}}g['BlazeWidgetStoryPlayer']=C;},0x1a96:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(J,K,L,M){return new(L||(L=Promise))(function(N,O){function P(S){try{R(M['next'](S));}catch(T){O(T);}}function Q(S){try{R(M['throw'](S));}catch(T){O(T);}}function R(S){var T;S['done']?N(S['value']):(T=S['value'],T instanceof L?T:new L(function(U){U(T);}))['then'](P,Q);}R((M=M['apply'](J,K||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetStory']=void 0x0;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']{constructor(J,K){super(),this['playerStyle']=J,this['mode']=K,this['pages']=[],this['data']={},this['isStoryLoadCompletedTriggered']=!0x1,this['isStoryActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isCtaWasClickedOrSwiped']=!0x1,this['pageIndex']=0x0,this['type']='story',this['resumeAfterfocus']=!0x1,this['totalPlayStopwatch']=new H['Stopwatch'](),this['navigationTimeout']=null,this['lastPageIndexToResume']=0x0,this['elementsToHideOnWebAds']=[],this['elementsToHideOnImaAds']=[],this['requestAnimationId']=null,this['shouldShowImaAdOnStart']=!0x1,this['imaUrl']='',this['playbackParts']=[],(0x0,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']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['container']['appendChild'](this['shadowTopElement']);const L=C['WidgetsFactory']['create']('blaze-div');if((0x0,H['mergeStyles'])(L,{'position':'absolute','top':'0%','left':'0%','right':'0%','height':'3px','opacity':'80%','margin':'16px'}),this['progressElement']=document['createElement']('div'),this['progressElement']['style']['width']='100%',this['progressElement']['style']['height']='100%',this['progressElement']['style']['display']='grid',L['append'](this['progressElement']),this['container']['append'](L),'mobile'===z['deviceDetector']['platform']||'tablet'===z['deviceDetector']['platform']){const U=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPause'],{'playback_action_method':'Press'}),this['pause']());},V=()=>{E['VideoPlayerService']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Release'}),this['resume']());};if('Embedded'!==K){const W=new z['LongPressHandler']({'onStart':U,'onEnd':V});W['attach'](this['container']),this['longPressHandler']=W;}}const M=()=>{var X,Y;null===(X=this['shareModal'])||void 0x0===X||X['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Backwards','SingleStory'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?('SingleStory'===E['VideoPlayerService']['playReference']&&this['revertNextPageButtonToPreviousAction'](),null===(Y=this['resumeAfterBlurButton'])||void 0x0===Y||Y['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goPrevPage']()):this['currentPage']['currentTime']=0x0;},N=()=>{var X,Y,Z,a0;null===(X=this['shareModal'])||void 0x0===X||X['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Forwards','SingleStory'===E['VideoPlayerService']['playReference']&&this['hasNoMorePagesToPlay']()?E['ConfigService']['shouldAutoAdvance']&&((null===(Y=this['refContentModal'])||void 0x0===Y?void 0x0:Y['player'])['renderPlayerBackground'](!0x0),(null===(Z=this['refContentModal'])||void 0x0===Z?void 0x0:Z['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):(null===(a0=this['resumeAfterBlurButton'])||void 0x0===a0||a0['setAttribute']('blaze-btn-hidden','true'),E['VideoPlayerService']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']));},O=C['WidgetsFactory']['create']('blaze-button');O['setAttribute']('data-testid','blaze-widget-story-prev-page-button'),O['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'15%','left':'0','width':'30%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent'});const P=C['WidgetsFactory']['create']('blaze-button');P['setAttribute']('data-testid','blaze-widget-story-next-page-button'),P['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'}),O['addEventListener']('click',(0x0,z['throttle'])(M,0x64)),P['addEventListener']('click',(0x0,z['throttle'])(N,0x64)),this['container']['append'](O),this['container']['append'](P),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'}),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'),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'),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'),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'});const Q='iOS'===z['deviceDetector']['OS'],R='Mobile\x20Safari'===z['deviceDetector']['browser'],S='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],T=Q&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);(Q||R||T||S)&&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'})),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':X=>{null==X||X['stopPropagation'](),this['exitTrigger']='Close\x20Button',this['navigationDirection']='',this['navigationType']='',this['close'](!0x0);},'dataTestId':'blaze-widget-story-exit-button'})),this['isButtonVisible']('FULLSCREEN')&&(this['fullScreenElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['fullscreen'],'eventType':'click','clickHandler':this['onExpandClick']['bind'](this)})),this['isButtonVisible']('CLOSED_CAPTIONS')&&E['ConfigService']['shouldAllowClosedCaptions']&&(this['closedCaptionsButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':E['VideoPlayerService']['isClosedCaptioningEnabled']?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'],'eventType':'click','clickHandler':this['onClosedCaptionClick']['bind'](this)})),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?'20px':'40px'),'display':'flex','flexFlow':'column','boxSizing':'border-box'}),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'],'height':'Embedded'===K?'30px':'40px'}),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',X=>this['handleCtaAction'](X,'CTA\x20Click')),this['updateCtaButtonLayout'](),this['bottomButtonsWrapper']['append'](this['ctaButtonElement']),this['bannerAdElement']=new q['BlazeWidgetBannerAd'](),'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']&&'Embedded'!==this['mode']&&(this['nextPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextPage'],'position':'left','margin':'32px','clickHandler':N,'buttonType':'NEXT_PAGE'}),'SingleStory'===E['VideoPlayerService']['playReference']&&(this['originalNextPageDesktopClickListener']=N,this['restartStoryOnClickEvent']=()=>{this['playPage'](0x0),this['revertNextPageButtonToPreviousAction']();}),this['prevPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevPage'],'position':'right','margin':'32px','clickHandler':M,'buttonType':'PREV_PAGE'}),this['nextStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextStory'],'position':'left','margin':'100px','clickHandler':(0x0,z['throttle'])(()=>{var X,Y,Z,a0;if(this['exitTrigger']='Skip','SingleStory'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance'])return(null===(X=this['refContentModal'])||void 0x0===X?void 0x0:X['player'])['renderPlayerBackground'](!0x0),void(null===(Y=this['refContentModal'])||void 0x0===Y?void 0x0:Y['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')});null===(Z=this['onNextStory'])||void 0x0===Z||Z['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(a0=this['shareModal'])||void 0x0===a0||a0['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'NEXT_STORY'}),this['prevStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevStory'],'position':'right','margin':'100px','clickHandler':(0x0,z['throttle'])(()=>{var X,Y;this['exitTrigger']='Skip',null===(X=this['onPrevStory'])||void 0x0===X||X['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(Y=this['shareModal'])||void 0x0===Y||Y['close'](),this['currentPage']['muted']=!0x0;},A['ONE_SECOND']/0x4),'buttonType':'PREV_STORY'})),this['elementsToHideOnWebAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],this['fullScreenElement'],this['closedCaptionsButtonElement'],L,this['shadowTopElement'],this['buttonsContainer']),this['elementsToHideOnImaAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],L,this['shadowTopElement'],this['buttonsContainer'],this['muteButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['shareModal'],O,P,this['topContainer']),this['addEventListener'](B['InternalEvent']['BANNER_ANALYTICS'],X=>{const Y=X['detail'];this['bannerAdEvent'](Y);});}['isButtonVisible'](J){let K;return K=['MUTE_UNMUTE','EXIT_PLAYER','PLAY_PAUSE','SHARE','FULLSCREEN','CLOSED_CAPTIONS']['includes'](J)?this['playerStyle']['iconsButton']['find'](L=>L['value']===J):this['playerStyle']['iconsButtonNavigation']['find'](L=>L['value']===J),'Embedded'===this['mode']&&(null==K?void 0x0:K['isEmbeddedVisible'])||'Full\x20Screen'===this['mode']&&(null==K?void 0x0: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]:'100%','top':'50%','transform':'RTL'===E['ConfigService']['layoutDirection']?'rotate(180deg)\x20translateY(50%)':'translateY(-50%)',['left'===Q?'marginLeft':'marginRight']:N}),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 0x0===J||J['setIconUrl'](D['pauseResumeIconSvg']),null===(K=this['resumeAfterBlurButton'])||void 0x0===K||K['setStyle']({'opacity':'0','pointerEvents':'none','animation':'fadeOut\x200.5s\x20forwards'}),setTimeout(()=>{var M,N;null===(M=this['resumeAfterBlurButton'])||void 0x0===M||M['setIconUrl'](D['playResumeIconSvg']),null===(N=this['resumeAfterBlurButton'])||void 0x0===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 0x0:K['padding'])&&(J['style']['padding']=K['padding']),(null==K?void 0x0:K['borderRadius'])&&(J['style']['borderRadius']=K['borderRadius']),(null==K?void 0x0:K['backgroundColor'])&&(J['style']['backgroundColor']=K['backgroundColor']),(null==K?void 0x0:K['size'])&&(J['setAttribute']('width',K['size']),J['setAttribute']('height',K['size'])),(null==K?void 0x0:K['color'])&&J['setAttribute']('icon-color',K['color']);}['onShareClick'](){return m(this,void 0x0,void 0x0,function*(){var J;let K;this['event'](A['StoryAction']['ShareClick'],{}),E['VideoPlayerService']['isPlaying']&&this['pause'](),K='SingleStory'===E['VideoPlayerService']['playReference']||location['href']['includes']('blaze/story')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/story/'+this['data']['id']:location['href']+'#blaze/story/'+this['data']['id'],(null===navigator||void 0x0===navigator?void 0x0: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 0x0===M||M['open'](K));})['finally'](()=>{E['VideoPlayerService']['isPlaying']&&this['resume']();}):null===(J=this['shareModal'])||void 0x0===J||J['open'](K);});}['onClosedCaptionClick'](){var J,K;'true'===this['currentPage']['getAttribute']('is-captions-visible')?(E['VideoPlayerService']['isClosedCaptioningEnabled']=!0x1,this['currentPage']['setAttribute']('is-captions-visible','false'),null===(J=this['closedCaptionsButtonElement'])||void 0x0===J||J['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOff']),this['event'](A['StoryAction']['ClosedCaptionsOff'],{})):(E['VideoPlayerService']['isClosedCaptioningEnabled']=!0x0,this['currentPage']['setAttribute']('is-captions-visible','true'),null===(K=this['closedCaptionsButtonElement'])||void 0x0===K||K['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),this['event'](A['StoryAction']['ClosedCaptionsOn'],{}));}['updateCtaButtonLayout'](){'Horizontal'===this['aspectRatio']&&this['ctaButtonElement']['setStyle']({'width':this['playerStyle']['ctaButton']['width']===F['Presets']['CtaButtonStyle']['width']?'50%':this['playerStyle']['ctaButton']['width']}),['LEFT','RIGHT','CENTER']['includes'](this['playerStyle']['ctaButton']['position'])&&(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']['setStyle']({'height':this['playerStyle']['ctaButton']['height']}),this['ctaButtonElement']['setAnchorButtonStyles']({'fontSize':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']();}['adjustContentView'](){var J,K,L,M,N,O,P,Q,R,S,T,U,V;[...this['elementsToHideOnWebAds'],...this['elementsToHideOnImaAds']]['forEach'](X=>{X&&(X['style']['visibility']='visible');}),this['currentPage']['setAttribute']('is-captions-visible',E['VideoPlayerService']['isClosedCaptioningEnabled']?'true':'false');const W='desktop'===z['deviceDetector']['platform'];return'Ad'===(null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['type'])||this['data']['isAd']?(this['elementsToHideOnWebAds']['forEach'](X=>{X&&(X['style']['visibility']='hidden');}),W&&(null===(M=null===(L=null===(K=this['refContentModal'])||void 0x0===K?void 0x0:K['player'])||void 0x0===L?void 0x0:L['renderPlayerBackground'])||void 0x0===M||M['call'](L,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(N=this['refContentModal'])||void 0x0===N||N['exitButtonWrapperElement']['setStyle']({'display':'none'}))),E['VideoPlayerService']['muteStateBeforeAd']=E['VideoPlayerService']['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'](X=>{X&&(X['style']['visibility']='hidden');}),null===(O=this['longPressHandler'])||void 0x0===O||O['detach'](this['container']),W&&(null===(R=null===(Q=null===(P=this['refContentModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q?void 0x0:Q['renderPlayerBackground'])||void 0x0===R||R['call'](Q,!0x0),E['ConfigService']['shouldDismissPlayer']&&(null===(S=this['refContentModal'])||void 0x0===S||S['exitButtonWrapperElement']['setStyle']({'display':'none'}))),this['setButtonNavigationAsDisabled']('ALL'),void this['currentPage']['setAttribute']('is-captions-visible','false')):('no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(null===(T=this['bannerAdElement'])||void 0x0===T||T['show'](this['data']['bannerAdInfo']),'iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS']?E['VideoPlayerService']['isMuted']||this['muteToggle']():'mute'!==E['VideoPlayerService']['muteStateBeforeAd']||E['VideoPlayerService']['isMuted']?'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&E['VideoPlayerService']['isMuted']&&this['muteToggle']():this['muteToggle'](),E['VideoPlayerService']['muteStateBeforeAd']='no-ad'),null===(U=this['longPressHandler'])||void 0x0===U||U['attach'](this['container']),this['setPlayerButtonPosition']('NO_AD'),E['ConfigService']['shouldDismissPlayer']&&(null===(V=this['refContentModal'])||void 0x0===V||V['render']()),void this['updatePlayerButtonsState'](!0x0));}['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 0x0===K||K['setAttribute']('order','-1')):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(L=this['muteButtonElement'])||void 0x0===L||L['setAttribute']('order','-1')):'LTR'===E['ConfigService']['layoutDirection']?null===(M=this['muteButtonElement'])||void 0x0===M||M['setAttribute']('order','-1'):(null===(N=this['muteButtonElement'])||void 0x0===N||N['setAttribute']('order','-1'),this['topContainer']['style']['flexDirection']='row');else{const P=this['playerStyle']['iconsButtonOrder']['indexOf']('MUTE_UNMUTE');null===(O=this['muteButtonElement'])||void 0x0===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;const M=E['VideoPlayerService']['isPlaying']?this['playerStyle']['icons']['pause']:this['playerStyle']['icons']['play'],N=E['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];if(this['playButtonElement']&&this['playButtonElement']['setIconUrl'](M),this['muteButtonElement']&&this['muteButtonElement']['setIconUrl'](N),this['closedCaptionsButtonElement']){if((null===(J=this['data']['pages'][this['pageIndex']]['closedCaptions'])||void 0x0===J?void 0x0:J['length'])>0x0){null===(K=this['closedCaptionsButtonElement'])||void 0x0===K||K['setAttribute']('disabled','false');const O=E['VideoPlayerService']['isClosedCaptioningEnabled'];this['currentPage']['setAttribute']('is-captions-visible',O?'true':'false'),null===(L=this['closedCaptionsButtonElement'])||void 0x0===L||L['setIconUrl'](O?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff']);}else this['closedCaptionsButtonElement']['setAttribute']('disabled','true'),this['closedCaptionsButtonElement']['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOn']),this['currentPage']['setAttribute']('is-captions-visible','false');}else this['currentPage']['setAttribute']('is-captions-visible','false');}['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 0x0===L?void 0x0:L['isOpen'])&&(null===(M=this['shareModal'])||void 0x0===M||M['close']()),this['playerStyle']['ctaButton']['isDisplayCtaModal']&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(N=this['ctaModal'])||void 0x0===N||N['open']()),J['preventDefault'](),J['stopImmediatePropagation'](),(0x0,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':!0x1,'cancelable':!0x0,'view':window})),(null===(T=this['ctaModal'])||void 0x0===T?void 0x0:T['isOpen'])&&(null===(U=this['ctaModal'])||void 0x0===U||U['close']())),this['isCtaWasClickedOrSwiped']=!0x1;}),(null===(P=null===(O=this['refContentModal'])||void 0x0===O?void 0x0:O['parentWidget'])||void 0x0===P?void 0x0:P['id'])&&E['EventService']['dispatch'](null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['parentWidget'],B['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(S=null===(R=this['refContentModal'])||void 0x0===R?void 0x0:R['parentWidget'])||void 0x0===S?void 0x0: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']=!0x0,!0x0;}['playToggle'](J){var K;const L=null!==(K=null==J?void 0x0:J['customIsPlaying'])&&void 0x0!==K?K:E['VideoPlayerService']['isPlaying'];this['event'](L?A['StoryAction']['PlaybackPause']:A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Click'}),L?this['pause']():this['resume'](),'boolean'!=typeof(null==J?void 0x0:J['customIsPlaying'])&&(E['VideoPlayerService']['isPlaying']=!L),this['updatePlayerButtonIcons']();}['muteToggle'](){this['event'](A['StoryAction']['Audio'],{}),E['VideoPlayerService']['isMuted']=!E['VideoPlayerService']['isMuted'];const J=this['pages'][this['pageIndex']];return J['muted']=E['VideoPlayerService']['isMuted'],this['updatePlayerButtonIcons'](),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;}}if(this['pageIndex']=J,this['pages'][this['pageIndex']]['shouldShowImaAd']=!0x1,this['pages'][this['pageIndex']]instanceof q['BlazeWidgetAd']){const N=this['pageIndex']>=this['data']['pages']['length']-0x1;this['pageIndex']=N?0x0:this['pageIndex']+0x1;}}['determineAspectRatio'](J){var K,L;const M=null===(L=null===(K=J['pages'][0x0])||void 0x0===K?void 0x0:K['baseLayer'])||void 0x0===L?void 0x0:L['content']['renditions']['find'](N=>'Horizontal'===N['aspectRatio']);return E['ConfigService']['shouldAllowHorizontalStories']&&'Full\x20Screen'===this['mode']&&M&&'desktop'===z['deviceDetector']['platform']?'Horizontal':'Vertical';}['clearExistingContent'](){var J,K;null===(J=this['pages'])||void 0x0===J||J['forEach'](L=>{var M;return null===(M=null==L?void 0x0:L['remove'])||void 0x0===M?void 0x0:M['call'](L);}),this['pages']=[],null===(K=this['playbackParts'])||void 0x0===K||K['forEach'](L=>{(null==L?void 0x0: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']=!0x0),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',E['VideoPlayerService']['isPlaying']=!0x0,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');(0x0,H['mergeStyles'])(J,{'width':'100%','height':'100%','backgroundColor':'gray','borderRadius':'5px'});const K=document['createElement']('div');return(0x0,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']=(0x0,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['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;const M=N=>Math['abs'](N-this['pageIndex'])<=0x2;switch(E['ConfigService']['prefetchingPolicy']){case'low':null===(J=this['pages'][this['pageIndex']+0x1])||void 0x0===J||J['load']();break;case'default':null===(K=this['pages'][this['pageIndex']+0x1])||void 0x0===K||K['load'](),null===(L=this['pages'][this['pageIndex']+0x2])||void 0x0===L||L['load']();}this['pages']['forEach']((N,O)=>{M(O)||null==N||N['unload']();});}['loadStoryPostersByDistance'](J){var K;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 0x0===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;if(this['loadStoryPostersByDistance'](0x2),this['navigationTimeout']&&clearTimeout(this['navigationTimeout']),J<0x0){if('SingleStory'===E['VideoPlayerService']['playReference']||'Share'===E['VideoPlayerService']['playReference'])return this['currentPage']['restartVideo'](),void this['updateCta'](0x0);null===(K=this['onPrevStory'])||void 0x0===K||K['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else{if(J>this['pages']['length']-0x1){if('SingleStory'===E['VideoPlayerService']['playReference'])return void this['updateCta'](this['pages']['length']-0x1);null===(L=this['onNextStory'])||void 0x0===L||L['call'](this,this['navigationType']),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else this['isActive']=!0x0,this['switchToPage'](J),'Automatic'===this['navigationType']?this['startPage'](J):this['navigationTimeout']=setTimeout(()=>{E['VideoPlayerService']['isPlaying']&&this['startPage'](J);},A['ONE_SECOND']/0x3);}}['updatePublishedDate'](J){const K=void 0x0===J?this['pageIndex']:J,L=new Date(Date['parse'](this['data']['pages'][K]['createTime']));this['contentPublishedDate']['innerText']=(0x0,H['formatDuration'])(L);}['switchToPage'](J){var K,L,M;if(this['updatePublishedDate'](J),this['updateCTAButtonPosition'](),J===this['pageIndex'])this['updateCTAButtonPosition']();else{this['ctaButtonElement']['clearAllAnimations'](),this['updateCta'](J),this['pages'][this['pageIndex']]['hide'](),this['pages'][this['pageIndex']]['pause'](),this['pages'][this['pageIndex']]['removeLoader']();const O=this['pageIndex'];setTimeout(()=>{this['pages'][O]['currentTime']=0x0;},A['ONE_SECOND']/0x4,this);}J!==this['pageIndex']&&this['currentPage']['endExit']();const N=J-this['pageIndex'];this['pageIndex']=J,this['markAsRead'](),this['currentPage']['muted']=E['VideoPlayerService']['isMuted'],'scale(1)'!==this['style']['transform']&&(this['style']['transform']='scale(1)'),this['updatePlayerButtonIcons'](),'Ad'!==(null===(K=this['currentPage']['data'])||void 0x0===K?void 0x0:K['type'])&&this['adjustContentView'](),null===(L=this['currentPage'])||void 0x0===L||L['display'](()=>{N>=0x0?this['goNextPage']():this['goPrevPage']();}),this['currentPage']['endEnter'](),'Ad'!==(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])&&this['event'](A['StoryAction']['PageStart'],{});}['startPage'](J){var K,L;this['pageIndex']=J,null===(K=this['currentPage'])||void 0x0===K||K['load'](),null===(L=this['currentPage'])||void 0x0===L||L['play'](),'Embedded'===this['mode']&&this['currentPage']['setAttribute']('is-captions-visible','false'),this['updatePlayerButtonIcons'](),this['totalPlayStopwatch']['start'](),this['prefetchAdjacentPages']();}['unload'](){this['pages']['forEach'](J=>J['unload']());}['removeFromCache'](){this['pages']['forEach'](J=>{var K,L,M,N,O,P;if('Content'===(null===(K=J['data'])||void 0x0===K?void 0x0:K['type'])){const Q=null===(P=null===(O=null===(N=null===(M=null===(L=null==J?void 0x0:J['data'])||void 0x0===L?void 0x0:L['baseLayer'])||void 0x0===M?void 0x0:M['content'])||void 0x0===N?void 0x0:N['renditions'])||void 0x0===O?void 0x0:O[0x0])||void 0x0===P?void 0x0:P['url'];Q&&E['VideoCacheService']['isInitialized']()&&E['VideoCacheService']['deleteCacheVideoByUrl'](Q);}});}['displayCurrentStoryPageAndHideTheRest'](){var J;this['currentPage']['display'](()=>{this['goNextPage']();});const K=null===(J=this['currentPage']['data'])||void 0x0===J?void 0x0:J['id'];this['pages']['forEach'](L=>{var M;(null===(M=L['data'])||void 0x0===M?void 0x0:M['id'])!==K&&L['hide'](),('iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'])&&(L['muted']=!0x0);});}['load'](){this['loadStoryPostersByDistance'](0x2),this['currentPage']['load'](),this['displayCurrentStoryPageAndHideTheRest']();}['play'](){var J,K;if(this['sessionId']=(0x0,H['getRandomId'])(),this['totalPlayStopwatch']['reset'](),this['event'](A['StoryAction']['Start'],{}),this['startTrigger']='',this['exitTrigger']='',this['shouldShowImaAdOnStart']){const L=this['pages'][this['pageIndex']];if('Content'===(null===(J=L['data'])||void 0x0===J?void 0x0:J['type'])){const M=L['data'];L['shouldShowImaAd']=!0x0,M['imaUrl']=this['imaUrl'],M['adContext']=this['adContext'];}}E['VideoPlayerService']['currentlyPlayedContentId']=this['data']['id'],this['playPage'](this['pageIndex']),null===(K=this['bannerAdElement'])||void 0x0===K||K['show'](this['data']['bannerAdInfo']);}['bannerAdEvent'](J){const K=this['getRefferingObject'](),L=new z['AdEvent']();L['session_id']=this['sessionId'],L['story_id']=this['data']['id'],L['story_title']=this['data']['title'],L['content_type']='story',L['ad_unit_id']=J['adUnitId'],E['AnalyticsService']['pushAdEvent'](J['type'],L,void 0x0,K);}['event'](J,K){return m(this,arguments,void 0x0,function*(L,M,N=void 0x0){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'],R['duration']?M['story_page_duration']=R['duration']: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['pageIndex'],M['is_last_page']=this['pageIndex']==this['pages']['length']-0x1,M['audio_state']=E['VideoPlayerService']['isMuted']?'Mute':'Unmute',M['story_session_id']=this['sessionId'],M['content_duration_viewed']=this['totalPlayStopwatch']['durationMS'](),M['cc_state']=E['VideoPlayerService']['isClosedCaptioningEnabled']?'On':'Off','true'===(null===(O=E['AppConfigurationService']['appConfigurations'])||void 0x0===O?void 0x0:O['configurations']['analyticsAddEntitiesInfo'])&&(M['content_extra_info']=JSON['stringify'](this['data']['entities'])),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','audio_state':E['VideoPlayerService']['isMuted']?'Mute':'Unmute'});}}else{if('Ad'===Q['type']){let W;const X=new z['AdEvent']();if(L!==A['StoryAction']['PageStart']&&L!==A['StoryAction']['PageExit']&&L!==A['StoryAction']['CtaClick'])return;W=A['StoryToAdActionMapper'][L],W===A['AdAction']['View']?X['ad_start_trigger']=this['startTrigger']:W===A['AdAction']['Exit']?X['ad_exit_trigger']=this['exitTrigger']:W===A['AdAction']['Click']&&M['gesture_type']&&(X['gesture_type']=M['gesture_type']),X['story_id']=this['data']['id'],X['story_title']=this['data']['title'],X['ad_server']='google_ad_manager',X['ad_insertion_logic']='AFTER\x20PAGE\x20INDEX\x202,7',X['ad_path']=Q['adPath'],'true'===(null===(P=E['AppConfigurationService']['appConfigurations'])||void 0x0===P?void 0x0:P['configurations']['analyticsAddEntitiesInfo'])&&(X['content_extra_info']=JSON['stringify'](this['data']['entities'])),E['AnalyticsService']['pushAdEvent'](W,X,N,S);}}}catch(Y){}});}['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','mobile'===z['deviceDetector']['platform'])this['container']['style']['background']='#000',this['container']['style']['borderRadius']='0px',this['style']['width']='100%',this['style']['height']='100%',this['style']['minHeight']='100%';else{this['container']['style']['borderRadius']='20px';const R=(0x0,H['isCssPropertySupported'])('aspectRatio');if('Horizontal'===this['aspectRatio']){const S=(null===(J=this['nextStoryButton'])||void 0x0===J?void 0x0:J['style']['marginLeft'])||'0px',T=(null===(K=this['nextStoryButton'])||void 0x0===K?void 0x0:K['style']['marginRight'])||'0px',U=(null===(L=this['prevStoryButton'])||void 0x0===L?void 0x0:L['style']['marginRight'])||'0px',V=(null===(M=this['prevStoryButton'])||void 0x0===M?void 0x0:M['style']['marginLeft'])||'0px',W=null!==(O=null===(N=this['nextStoryButton'])||void 0x0===N?void 0x0:N['clientWidth'])&&void 0x0!==O?O:0x0,X=null!==(Q=null===(P=this['prevStoryButton'])||void 0x0===P?void 0x0:P['clientWidth'])&&void 0x0!==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);}}['connectedCallback'](){(0x0,H['setId'])(this,'blaze-story'),this['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['style']['margin']='auto',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),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 0x0===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 0x0===window||window['requestAnimationFrame'](J);};null===window||void 0x0===window||window['requestAnimationFrame'](J),this['render'](),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),super['connectedCallback']();}['onShareModalClose'](){E['VideoPlayerService']['isPlaying']&&this['resume']();}['updateStoryProgress'](){if(this['pages']['length']<=0x0)return void(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));for(let 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 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));}['onShareModalButtonClick'](J){return m(this,void 0x0,void 0x0,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 0x0===J?void 0x0:J['id']['includes']('interaction'))||(this['lastPageIndexToResume']=this['pageIndex'],this['currentPage']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),E['VideoPlayerService']['isPlaying']=!0x1,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 0x0===J?void 0x0:J['type']))&&this['resumeAfterfocus'])){this['resumeAfterfocus']=!0x1,(null===(K=this['ctaModal'])||void 0x0===K?void 0x0:K['isOpen'])&&(null===(L=this['ctaModal'])||void 0x0===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 0x0===M?void 0x0:M['type'])?this['resume']():null===(N=this['resumeAfterBlurButton'])||void 0x0===N||N['setAttribute']('blaze-btn-hidden','false'));this['resume'](),E['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['close'](J){return m(this,void 0x0,void 0x0,function*(){var K,L,M,N;this['resumeAfterfocus']=!0x1,'SingleStory'===E['VideoPlayerService']['playReference']||(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),null===(K=this['pause'])||void 0x0===K||K['call'](this),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['updateWidget'])||void 0x0===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 0x0===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 0x0===J?void 0x0:J['updateWidget'])||void 0x0===K||K['call'](J),null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['setChipStyle'])||void 0x0===M||M['call'](L),null===(O=null===(N=this['widgetParentItem'])||void 0x0===N?void 0x0:N['render'])||void 0x0===O||O['call'](N),null===(Q=null===(P=this['widgetParentItem'])||void 0x0===P?void 0x0:P['updateWidgetItemPadding'])||void 0x0===Q||Q['call'](P);}['markAsRead'](){return m(this,void 0x0,void 0x0,function*(){const J=this['pages'][this['pageIndex']];if(J['data']){J['data']['hasViewed']=!0x0;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 0x0===J?void 0x0:J['player'])['renderPlayerBackground'](!0x0),(null===(K=this['refContentModal'])||void 0x0===K?void 0x0:K['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):this['displayRestartStoryButton']();}['goNextPage'](J){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleStory'===E['VideoPlayerService']['playReference']&&this['isLastPage']()&&this['isAutomaticNavigation'](J)?this['handleLastPageAutomaticNavigation']():(this['pageIndex']+0x1<this['pages']['length']&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']+0x1]['startEnter']()),this['playPage'](this['pageIndex']+0x1)));}['goPrevPage'](){E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleStory'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?(this['pageIndex']>0x0&&(this['event'](A['StoryAction']['PageExit'],{}),this['pages'][this['pageIndex']]['startExit'](),this['pages'][this['pageIndex']-0x1]['startEnter']()),this['playPage'](this['pageIndex']-0x1)):this['currentPage']['currentTime']=0x0);}['disconnectedCallback'](){var J,K;this['removeChild'](this['container']),null===(J=this['shareModal'])||void 0x0===J||J['remove'](),null===(K=this['ctaModal'])||void 0x0===K||K['remove'](),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),super['disconnectedCallback']();}['updateCTAButtonPosition'](){var J;const K=this['pages'][this['pageIndex']];if(!K)return;const L=K['getBoundingClientRect']();if(L['width']){const M=L['width']*A['ASPECT_RATIO_16_9'],N=(Math['round'](L['height']-M)-(null!==(J=parseInt(this['playerStyle']['ctaButton']['height']))&&void 0x0!==J?J:A['DEFAULT_CTA_HEIGHT']))/0x2;let O;switch(z['deviceDetector']['platform']){case'tablet':O='15px';break;case'desktop':O='Embedded'===this['mode']?'20px':'40px';break;default:O=Math['max'](N,A['MIN_PADDING_BOTTOM'])+'px';}this['bottomContainer']['style']['paddingBottom']=O;}}['updateCta'](J){var K,L,M;if(null==J)return;const N=this['pages'][J];if('Content'===(null===(K=null==N?void 0x0:N['data'])||void 0x0===K?void 0x0:K['type'])&&(null===(L=null==N?void 0x0:N['data'])||void 0x0===L?void 0x0:L['cta']['type'])){this['updateCTAButtonPosition']();const {color:O,backgroundColor:P,isDisplayCtaModal:Q,isAnimated:R,icon:S}=this['playerStyle']['ctaButton'],{textColor:T,backgroundColor:U,enhancements:V,text:W,url:X}=N['data']['cta'];this['ctaButtonElement']['setAttributes']({'text':W,'href':X});const Y=O||T,Z=P||U;this['ctaButtonElement']['setAnchorButtonStyles']({'color':Y,'background':Z}),Q&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(M=this['ctaModal'])||void 0x0===M||M['setAttributes']({'border-color':'#fff','background-color':Z,'text-color':Y,'icon-color':Y,'progress-bar-color':Y,'cta-url':N['data']['cta']['url']})),this['updateCtaButtonWidth'](),this['setCtaButtonAttributes'](S['isVisible'],Z,Y),this['handleCtaButtonAnimation'](V,R),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(!0x0){case null==J?void 0x0:J['hasSwipeUp']:this['animateCtaButton']('BottomToTop',J['animationType']),this['setCtaIconVisibility'](!0x0);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',!0x0===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);}['isSingleStoryWithAutoAdvance'](J){return'SingleStory'===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['isSingleStoryWithAutoAdvance'](J))return!0x0;if(this['isStoryPagesNavigation'](J))return!0x0;if(this['refWidget']){const M=null===(K=this['refWidget'])||void 0x0===K?void 0x0:K['indexOf'](this);if(-0x1!==M){if(J===G['ButtonNavigation']['NEXT_STORY'])return M<(null===(L=this['refWidget'])||void 0x0===L?void 0x0:L['length'])-0x1;if(J===G['ButtonNavigation']['PREV_STORY'])return M>0x0;}}return!0x1;}['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 S;S=P?M>=1.5?Q['smallScreen']['range2']:Q['smallScreen']['range1']:Q['largeScreen'][String(M)]||{'sizeReduce':0x0,'gap':'1rem'},L=S['sizeReduce'],this['buttonsContainer']['style']['gap']=S['gap'];}if('HORIZONTAL'===this['playerStyle']['iconsPosition']?this['buttonsContainer']['setStyle']({'justifyContent':'end','alignSelf':'end','alignItems':'baseline','flexDirection':'Ad'===(null===(K=null===(J=this['currentPage'])||void 0x0===J?void 0x0:J['data'])||void 0x0===K?void 0x0: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 T=(0x0,H['convertCssUnitToNumber'])(this['playerStyle']['titleFontSize']),U=(0x0,H['convertCssUnitToNumber'])(this['playerStyle']['publishedDateFontSize']),V='mobile'===z['deviceDetector']['platform']?T-L+'px':T+0x2-L+'px',W='mobile'===z['deviceDetector']['platform']?U-L+'px':U+0x2-L+'px';this['contentTitle']['style']['fontSize']=V,this['contentPublishedDate']['style']['fontSize']=W;}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']));const R='Full\x20Screen'===this['mode'];if(this['isButtonVisible']('NEXT_PAGE')&&this['nextPageButton']&&R){const X=this['playerStyle']['iconsButtonNavigation']['find'](Y=>'NEXT_PAGE'===Y['value']);X&&this['applyIconStyle'](this['nextPageButton'],X,this['playerStyle']['icons']['navigation']['nextPage']);}if(this['isButtonVisible']('PREV_PAGE')&&this['prevPageButton']&&R){const Y=this['playerStyle']['iconsButtonNavigation']['find'](Z=>'PREV_PAGE'===Z['value']);Y&&this['applyIconStyle'](this['prevPageButton'],Y,this['playerStyle']['icons']['navigation']['prevPage']);}if(this['isButtonVisible']('NEXT_STORY')&&this['nextStoryButton']&&R){const Z=this['playerStyle']['iconsButtonNavigation']['find'](a0=>'NEXT_STORY'===a0['value']);Z&&this['applyIconStyle'](this['nextStoryButton'],Z,this['playerStyle']['icons']['navigation']['nextStory']);}if(this['isButtonVisible']('PREV_STORY')&&this['prevStoryButton']&&R){const a0=this['playerStyle']['iconsButtonNavigation']['find'](a1=>'PREV_STORY'===a1['value']);a0&&this['applyIconStyle'](this['prevStoryButton'],a0,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 0x0:L['color'])&&J['setAttribute']('icon-color',null==L?void 0x0:L['color']),(null==L?void 0x0:L['backgroundColor'])&&'transparent'!==L['backgroundColor']&&(null==L?void 0x0: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=(0x0,H['convertCssUnitToNumber'])(M)-0x4+'px'),J['setAttribute']('width',M),J['setAttribute']('height',M);}}['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']};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=['SingleStory','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'](!0x0),this['updatePlayerButtonsStyleAttributes'](),this['updateCtaButtonLayout'](),this['updateCta'](this['pageIndex']),this['displayExitButtonOnMobileTablet'](),this['shadowTopElement']['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',this['style']['borderRadius']='mobile'===z['deviceDetector']['platform']?'0px':'20px',null===(J=this['pages'])||void 0x0===J||J['forEach'](K=>null==K?void 0x0:K['render']());}['onExpandClick'](){this['dispatchEvent'](new CustomEvent(B['InternalEvent']['FULL_SCREEN_CLICK'],{'bubbles':!0x0,'cancelable':!0x1})),this['event'](A['StoryAction']['Expand'],{});}}j['BlazeWidgetStory']=I;},0x23f9:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetCaptions']=void 0x0;const j=g(0x12b0);class k 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 l=this['attachShadow']({'mode':'open'});this['container']['className']='captions-container',l['appendChild'](this['container']),this['boundTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['boundSeekUpdate']=this['handleSeekUpdate']['bind'](this);}static get['observedAttributes'](){return['is-visible'];}['connectedCallback'](){this['setupStyles']();}['disconnectedCallback'](){this['cleanup']();}['attributeChangedCallback'](l,m,p){if('is-visible'===l&&m!==p){const q='false'!==p;this['updateVisibility'](q);}}['checkContainerContent'](){var l;const m=(null!==(l=this['container']['textContent'])&&void 0x0!==l?l:'')['trim']()['length']>0x0;this['container']['style']['display']=m?'block':'none';}['handleTimeUpdate'](l){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['handleSeekUpdate'](l){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['updateTime'](l){this['updateCaptions'](l-this['startTime']);}['setupTimeUpdateHandling'](){var l,m;null===(l=this['video'])||void 0x0===l||l['addEventListener']('timeupdate',this['boundTimeUpdate']),null===(m=this['video'])||void 0x0===m||m['addEventListener']('seeked',this['boundSeekUpdate']);}['cleanup'](){var l,m;null===(l=this['video'])||void 0x0===l||l['removeEventListener']('timeupdate',this['boundTimeUpdate']),null===(m=this['video'])||void 0x0===m||m['removeEventListener']('seeked',this['boundSeekUpdate']),this['observer']['disconnect']();}['updateVisibility'](l){const m=null!=l?l:'false'!==this['getAttribute']('is-visible');this['style']['display']=m?'block':'none';}['setupStyles'](){var l;const m=document['createElement']('style');m['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:\x20#01010180;\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x202;\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===(l=this['shadowRoot'])||void 0x0===l||l['appendChild'](m);}['initialize'](l,m){return h(this,void 0x0,void 0x0,function*(){this['video']=l,this['captions']=m,this['observer']['observe'](this['container'],{'childList':!0x0,'subtree':!0x0,'characterData':!0x0}),yield this['setupCaptions']();});}['setupCaptions'](){return h(this,void 0x0,void 0x0,function*(){var l;if(this['video']&&(null===(l=this['captions'])||void 0x0===l?void 0x0:l['length']))try{const m=this['captions']['find'](r=>r['url']['endsWith']('.vtt'));if(!m)return;const p=yield fetch(m['url']);if(!p['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+p['status']);const q=yield p['text']();this['cues']=[],this['parser']['oncue']=r=>{this['cues']['push'](new VTTCue(r['startTime']+this['startTime'],r['endTime']+this['startTime'],r['text']));},this['parser']['onflush']=()=>{this['updateCaptions'](0x0),this['setupTimeUpdateHandling']();},this['parser']['parse'](q),this['parser']['flush']();}catch(r){this['updateVisibility'](!0x1);}});}['updateCaptions'](l){this['video']&&(this['container']['innerHTML']='',this['cues']['forEach'](m=>{m['startTime']<=l&&m['endTime']>=l&&(this['container']['innerHTML']=m['text']);}),this['checkContainerContent']());}}f['BlazeWidgetCaptions']=k;},0xb58:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetContent']=void 0x0;const h=g(0x23a6),j=g(0x1133),k=g(0x11c1);class l extends HTMLElement{constructor(){super(),this['pageIndex']=0x0,this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['navigationDirection']='',this['listeners']=new j['EventsListener'](),this['isActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isNavigationPending']=!0x1,this['resumeAfterfocus']=!0x1,this['widgetParentItem']={},this['sessionId']='',this['container']=document['createElement']('div'),this['container']['style']['touchAction']='manipulation',this['container']['style']['cssText']+='-webkit-user-select:\x20none;';}['connectedCallback'](){window['addEventListener']('focus',this['boundOnFocusEvent']),window['addEventListener']('blur',this['boundOnBlurEvent']),window['addEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']);}['disconnectedCallback'](){window['removeEventListener']('blur',this['boundOnFocusEvent']),window['removeEventListener']('focus',this['boundOnBlurEvent']),window['removeEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']);}['setWidgetItemParent'](m){this['widgetParentItem']=m;}['updateWidgetStatusReadUnread'](){this['widgetParentItem']&&(this['widgetParentItem']['updateWidget'](),this['widgetParentItem']['setChipStyle'](),this['widgetParentItem']['render'](),this['widgetParentItem']['updateWidgetItemPadding']());}['getRefferingObject'](){var m,p,q;const u=new j['ReferringEventInfo'](),v=(null===(m=this['widgetParentItem'])||void 0x0===m?void 0x0:m['parentRef'])||(null===(p=this['refContentModal'])||void 0x0===p?void 0x0:p['parentWidget']);if(v&&v instanceof h['BlazeWidgetLayout']&&(u['origin_widget_id']=v['id'],u['origin_widget_type']=v['widgetType'](),u['labels_expression']=v['getAttribute']('labels')),k['ConfigService']['staticContent']&&(u['story_source']='OneBox'),document['referrer']){u['referrer_page_url']=document['referrer'];const w=document['referrer']['indexOf']('#blaze'),x=-0x1!==w?document['referrer']['slice'](0x0,w):document['referrer'];u['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](x)?'Homepage':'Category/Article',u['referrer_page_domain']=document['referrer']?null===(q=new URL(document['referrer']))||void 0x0===q?void 0x0:q['hostname']:'';}return u;}['render'](){}}f['BlazeWidgetContent']=l;},0xb0b:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});},k=this&&this['__importDefault']||function(x){return x&&x['__esModule']?x:{'default':x};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetCtaModal']=void 0x0;const m=k(h(0xad8)),p=h(0x1133),q=h(0x1932),u=h(0x22d9),v=h(0x115);class w extends p['BaseWidget']{constructor(){var x;super(),this['isOpen']=!0x1,this['ctaContainer']=u['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']=u['WidgetsFactory']['create']('blaze-modal'),this['ctaUrl']=u['WidgetsFactory']['create']('blaze-typography'),this['iconShare']=u['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']=u['WidgetsFactory']['create']('blaze-button'),this['textContainer']=u['WidgetsFactory']['create']('blaze-div'),this['labelText']=u['WidgetsFactory']['create']('blaze-typography'),this['progressBar']=u['WidgetsFactory']['create']('blaze-div'),this['fullscreenOverlay']=u['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']['onClose']=null===(x=this['onDrawerClose'])||void 0x0===x?void 0x0:x['bind'](this);}['connectedCallback'](){return j(this,void 0x0,void 0x0,function*(){this['ctaContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'2.5rem','fontSize':'.8rem','fontFamily':'WSC\x20Open\x20Sans','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'](x,y,z){switch(x){case'cta-url':this['ctaUrl']['text']=z;break;case'background-color':this['ctaDrawer']['setAttribute']('background-color',z);break;case'icon-color':this['iconExternalLink']['setAttribute']('icon-color',z),this['iconShare']['setAttribute']('icon-color',z);break;case'text-color':this['ctaUrl']['setStyle']({'color':z}),this['labelText']['setStyle']({'color':z});break;case'border-color':this['ctaDrawer']['setAttribute']('border-color',z);break;case'progress-bar-color':this['progressBar']['setStyle']({'backgroundColor':z});}}['animateProgressBar'](x){let y={'targets':'#progress-bar','width':x?'100%':'0','duration':x?q['ONE_AND_HALF_SECOND']:0x1,'easing':'easeInQuad'};(0x0,m['default'])(y);}['onDrawerClose'](){this['animateProgressBar'](!0x1);}['open'](){this['ctaDrawer']['open'](),this['animateProgressBar'](!0x0),this['fullscreenOverlay']['setStyle']({'display':'block'}),this['isOpen']=!0x0;}['close'](){this['ctaDrawer']['close'](),this['animateProgressBar'](!0x1),this['fullscreenOverlay']['setStyle']({'display':'none'}),this['isOpen']=!0x1;}['render'](){this['ctaDrawer']['init']({'anchor':'bottom','component':this['ctaContainer']}),this['append'](this['ctaDrawer']),this['iconShare']['setIconUrl'](v['externalLinkIconSvg']),this['iconShare']['setAttribute']('icon-color','#000'),this['textContainer']['setStyle']({'display':'flex','alignSelf':'center','maxWidth':'75%'}),this['labelText']=u['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 x=u['WidgetsFactory']['create']('blaze-div');x['setStyle']({'display':'flex','gap':'1rem','padding':'0.5rem','alignItems':'center','justifyContent':'space-between'}),this['iconExternalLink']=u['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']['setIconUrl'](v['newPageIcon']),this['iconExternalLink']['setAttribute']('icon-color','#000'),x['append'](this['iconShare']),x['append'](this['textContainer']),x['append'](this['iconExternalLink']),this['ctaContainer']['append'](x),this['ctaDrawer']['setAttribute']('border-radius','1rem\x201rem\x200\x200'),this['ctaContainer']['append'](this['progressBar']),this['append'](this['fullscreenOverlay']);}}g['BlazeWidgetCtaModal']=w,w['observedAttributes']=['cta-url','background-color','icon-color','text-color','border-color','progress-bar-color'];},0x215f:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(F,G,H,I){return new(H||(H=Promise))(function(J,K){function L(O){try{N(I['next'](O));}catch(P){K(P);}}function M(O){try{N(I['throw'](O));}catch(P){K(P);}}function N(O){var P;O['done']?J(O['value']):(P=O['value'],P instanceof H?P:new H(function(Q){Q(P);}))['then'](L,M);}N((I=I['apply'](F,G||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetEmbeddedStory']=void 0x0;const q=k(0x23a6),v=k(0x1fdc),w=k(0x1133),x=k(0x1699),y=k(0x26ed),z=k(0x11c1),A=k(0x132a),B=k(0x2432),C=k(0x1a96),D={'Labels':'labels','LabelsPriority':'labels-priority','OrderType':'order-type','MaxItems':'max-items','StoryIds':'story-ids'};class E extends w['BaseWidget']{get['theme'](){return this['getTheme']();}constructor(){super(),this['contents']=[],this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'threshold':0.5}),this['isIntersecting']=!0x1,this['currentStoryPlayerIndex']=0x0,this['stories']=[],this['shouldReloadData']=!0x0,this['isCurrentPlayerFirstPlay']=!0x0,this['bindedOnPlayerDidAppear']=this['onPlayerDidAppear']['bind'](this),this['bindedOnPlayerDismissed']=this['onPlayerDismissed']['bind'](this);}static get['observedAttributes'](){return Object['values'](D);}['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\x20blaze-widget-story\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']=z['ConfigService']['layoutDirection'],this['intersectionObserver']['observe'](this),this['addEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['addEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['addEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['addEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['addEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['addEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['addEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']),this['reloadLogic']();}['disconnectedCallback'](){this['removeEventListener'](y['InternalEvent']['NEXT_STORY'],this['nextStory']),this['removeEventListener'](y['InternalEvent']['PREV_STORY'],this['prevStory']),this['removeEventListener'](y['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['removeEventListener'](y['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['removeEventListener'](y['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']),document['removeEventListener'](v['Delegations']['onPlayerDidAppear'],this['bindedOnPlayerDidAppear']),document['removeEventListener'](v['Delegations']['onPlayerDismissed'],this['bindedOnPlayerDismissed']);}['attributeChangedCallback'](F,G,H){switch(F){case D['Labels']:case D['LabelsPriority']:case D['StoryIds']:if(!G)break;this['reloadLogic']();}}['updateDataSource'](F){}['getTheme'](){return this['preset']||A['ThemeFactory']['create']('default');}['setTheme'](F){let G;G='string'==typeof F?A['ThemeFactory']['create'](F):F,this['preset']=G,this['modal']=this['createModal']();}['setLabels'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F;else{if(Array['isArray'](F))H=F['join'](',');else{if(!(F instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+F+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');H=F['toString']();}}this['setAttribute'](D['Labels'],H);}['setLabelsPriority'](F,G){this['setReloadData'](G);let H='';if('string'==typeof F)H=F['startsWith']('[')&&F['endsWith'](']')?F:'['+F+']';else{if(!Array['isArray'](F))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+F+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');H=F['every'](I=>I instanceof w['BlazeWidgetLabel'])?'['+F['map'](I=>I['toString']())['join'](',')+']':'['+F['join'](',');}this['setAttribute'](D['LabelsPriority'],H);}['setContentIds'](F,G){this['setReloadData'](G),this['setAttribute'](D['StoryIds'],F['join'](','));}['reload'](){this['shouldReloadData']=!0x0,this['reloadLogic']();}['reloadLogic'](){this['shouldReloadData']&&this['loadStories']();}['setReloadData'](F){this['shouldReloadData']='object'!=typeof F||!F['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof F['shouldReloadData']||F['shouldReloadData'];}['updateWidgetUI'](){}['setMaxItemsDisplaySize'](F){}['setDelegations'](F){for(const G in F)this['addEventListener'](G,F[G]);}['updateOverrideStyles'](F){}['setId'](F){this['id']='widget-embedded-story-'+F;}['setMaxItemsSize'](F){this['setAttribute'](D['MaxItems'],F['toString']());}get['currentStoryPlayer'](){return this['contents'][this['currentStoryPlayerIndex']];}['loadStories'](){return m(this,void 0x0,void 0x0,function*(){var F,G;z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),this['removeCurrentStoryPlayer'](),this['showSkeleton'](),this['contents']=[];const H=this['getAttribute'](D['MaxItems']),I=this['getAttribute'](D['Labels']),J=this['getAttribute'](D['OrderType']),K=this['getAttribute'](D['StoryIds']),L=null==K?void 0x0:K['split'](','),M=this['getAttribute'](D['LabelsPriority']),{data:N}=(null==L?void 0x0:L['length'])&&!I?yield z['ApiService']['getStoriesByIds'](L,J):yield z['ApiService']['getStoriesByLabels'](I,J,H,M);this['defaultAdsInfo']=null==N?void 0x0:N['defaultAdsInfo'];let O=null!==(F=null==N?void 0x0:N['result'])&&void 0x0!==F?F:[];const P=Object['assign'](Object['assign']({},this['theme']['playerStyle']),{'iconsPosition':'VERTICAL','iconsButtonPadding':'7px'});try{O=yield z['DatabaseService']['enrichStories'](O),O['forEach'](R=>{R['hasViewed']=(0x0,B['isReadByLastUnIgnoredPageStatus'])(R);});}catch(R){z['EventService']['dispatch'](this,y['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':y['ErrorCode']['FailedEnrichStories']});}this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==J&&O['sort']((S,T)=>{const U=S['hasViewed']?0x1:0x2;return(T['hasViewed']?0x1:0x2)-U;}),O['forEach']((S,T)=>{const U=new C['BlazeWidgetStory'](P,'Embedded');U['startTrigger']='Embedded\x20Player\x20in\x20Viewport',U['setData'](S),U['resetStoryLocationIndexToLastUnseen'](),this['contents']['push'](U),z['AdService']['pushAdsBetweenStories'](this['defaultAdsInfo'],this['contents'],O,T,0x0,P,'Embedded');});const Q=this['contents']['at'](0x0);Q&&(Q['shouldShowImaAdOnStart']=!0x1),this['setCurrentStoryPlayer'](0x0),null===(G=this['currentStoryPlayer'])||void 0x0===G||G['currentPage']['startEnter'](),z['EventService']['dispatch'](this,y['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':O['length']}),this['hideSkeleton'](),this['stories']=O;});}['setCurrentStoryPlayer'](F,G){var H;null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['endExit'](),this['removeCurrentStoryPlayer'](),this['isCurrentPlayerFirstPlay']=!0x0;const I=F<0x0,J=F>=this['contents']['length'];I||J?(this['currentStoryPlayerIndex']=0x0,J&&this['contents']['forEach'](K=>K['resetStoryLocationIndexToLastUnseen']())):this['currentStoryPlayerIndex']=F,this['currentStoryPlayer']&&(isNaN(Number(G))||(this['currentStoryPlayer']['pageIndex']=null!=G?G:0x0),this['appendChild'](this['currentStoryPlayer']),this['currentStoryPlayer']['load'](),this['isIntersecting']&&(this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,this['currentStoryPlayer']['play']()):this['currentStoryPlayer']['playToggle']({'customIsPlaying':!0x1})),this['currentStoryPlayer']['currentPage']['startEnter'](),this['currentStoryPlayer']['currentPage']['endEnter']());}['handleIntersection'](F){const G=F['find'](H=>H['target']===this);G&&(this['isIntersecting']=G['isIntersecting'],this['currentStoryPlayer']&&(this['isIntersecting']?this['playCurrentStoryPage']():this['pauseCurrentStoryPage']()));}['nextStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](-0x1))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']+0x1);}['prevStory'](){var F,G,H;null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['pages']['at'](0x0))||void 0x0===G||G['pause'](),null===(H=this['currentStoryPlayer'])||void 0x0===H||H['currentPage']['startExit'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']-0x1);}['removeCurrentStoryPlayer'](){var F;null===(F=this['currentStoryPlayer'])||void 0x0===F||F['remove']();}['createModal'](){this['updatePlayerStyle']();const F=this['modal']?this['modal']:new q['BlazeWidgetStoryModal'](this,this['theme']['playerStyle']);return this['modal']&&this['modal']['setTheme'](this['theme']['playerStyle']),F['setModalContent'](this['stories'],0x0,this['defaultAdsInfo']),F['onClose']=this['handleModalClose']['bind'](this),F;}['handleModalClose'](F){if(z['VideoPlayerService']['isPlaying']=!0x0,null==F?void 0x0:F['storyId']){const G=this['contents']['findIndex'](I=>I['data']['id']===F['storyId']);if(-0x1===G)return;const H=this['contents'][G]['shouldShowImaAdOnStart'];this['contents'][G]['shouldShowImaAdOnStart']=!0x1,this['setCurrentStoryPlayer'](G,null==F?void 0x0:F['pageIndex']),this['contents'][G]['shouldShowImaAdOnStart']=H;}}['updatePlayerStyle'](){const F=(0x0,B['mergeDeep'])(A['ThemeFactory']['create']('default')['playerStyle'],z['ConfigService']['playerStyleCustomization']);(0x0,B['applyPlayerStyleChanges'])(A['ThemeFactory']['create']('default')['playerStyle'],F,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['openFullscreen'](){this['currentStoryPlayer']&&(this['pauseCurrentStoryPage'](),this['modal']=this['createModal'](),this['appendModalToBlazeSDK'](this['modal']),this['modal']['seek'](this['currentStoryPlayer']['data']['id']),this['modal']['open']({'pageIndex':this['currentStoryPlayer']['pageIndex']}));}['appendModalToBlazeSDK'](F){const G=document['getElementsByTagName']('blaze-sdk')[0x0];G&&G['append'](F);}['onFullScreenClickHandler'](F){F['stopPropagation'](),this['openFullscreen']();}['pauseCurrentStoryPage'](){var F,G,H,I,J;(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused'])||(null===(G=this['currentStoryPlayer'])||void 0x0===G||G['playToggle']({'customIsPlaying':!0x0}),(null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(J=null===(I=this['currentStoryPlayer'])||void 0x0===I?void 0x0:I['currentPage']['adsManager'])||void 0x0===J||J['pause']()));}['playCurrentStoryPage'](){var F,G,H,I,J,K,L,M,N;if(!this['isIntersecting'])return;if(!(null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['paused']))return;const O=(null===(G=this['currentStoryPlayer'])||void 0x0===G?void 0x0:G['currentPage']['isCurrentlyTryingToRunImaAd'])||'Ad'===(null===(I=null===(H=this['currentStoryPlayer'])||void 0x0===H?void 0x0:H['currentPage']['data'])||void 0x0===I?void 0x0:I['type']);(null===(J=this['currentStoryPlayer'])||void 0x0===J?void 0x0:J['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(L=null===(K=this['currentStoryPlayer'])||void 0x0===K?void 0x0:K['currentPage']['adsManager'])||void 0x0===L||L['resume']()),O||(z['VideoPlayerService']['isPlaying']=!0x0,this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,null===(M=this['currentStoryPlayer'])||void 0x0===M||M['play']()):null===(N=this['currentStoryPlayer'])||void 0x0===N||N['playToggle']({'customIsPlaying':!0x1}));}['onCustomNativeAdEnded'](){var F;this['isIntersecting']||null===(F=this['currentStoryPlayer'])||void 0x0===F||F['pause']();}['onVastAdResumedEnded'](){var F,G;this['isIntersecting']||null===(G=null===(F=this['currentStoryPlayer'])||void 0x0===F?void 0x0:F['currentPage']['adsManager'])||void 0x0===G||G['pause']();}['showSkeleton'](){var F,G,H,I;this['skeleton']||(this['skeleton']=new x['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],null!==(G=null===(F=this['parentElement'])||void 0x0===F?void 0x0:F['clientWidth'])&&void 0x0!==G?G:0x0,null!==(I=null===(H=this['parentElement'])||void 0x0===H?void 0x0:H['clientHeight'])&&void 0x0!==I?I:0x0,0x0),this['appendChild'](this['skeleton']));}['hideSkeleton'](){this['skeleton']&&(this['removeChild'](this['skeleton']),this['skeleton']=void 0x0);}['onPlayerDidAppear'](F){this['onOtherModalOpenedClosed'](F,()=>this['pauseCurrentStoryPage']());}['onPlayerDismissed'](F){this['onOtherModalOpenedClosed'](F,()=>this['playCurrentStoryPage']());}['onOtherModalOpenedClosed'](F,G){const H=F;this['id']!==H['detail']['widgetId']&&G();}}j['BlazeWidgetEmbeddedStory']=E;},0x565:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetInteraction']=void 0x0;const k=h(0x1133),m=h(0x1932),p=h(0x25e6),q=h(0x11c1),u=h(0x2432);class v extends k['BaseWidget']{constructor(){super(...arguments),this['iframe']=document['createElement']('iframe'),this['isActive']=!0x1,this['shouldForceHide']=!0x1,this['responseHandler']=this['onUserResponse']['bind'](this),this['focusMainWindowHandler']=this['focusMainWindow']['bind'](this),this['orientationChangeHandler']=this['orientationChange']['bind'](this);}['connectedCallback'](){this['style']['position']='relative',this['style']['display']='block',this['style']['width']='100%',(0x0,u['isCssPropertySupported'])('aspectRatio')?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%';}['loadInteraction'](w){this['interaction']=w,(0x0,u['mergeStyles'])(this['iframe'],{'position':'absolute','border':'none','top':0x64*this['interaction']['topOffset']+'%','left':0x64*this['interaction']['leftOffset']+'%','height':0x64*this['interaction']['relativeHeight']+'%','width':0x64*this['interaction']['relativeWidth']+'%','zIndex':'1','transform':this['isActive']?'scale(1)':'scale(0)'}),this['iframe']['id']='interaction-'+this['interaction']['id'],this['iframe']['src']=this['interaction']['htmlUrl'],this['iframe']['onload']=this['initInteraction']['bind'](this),window['addEventListener']('blur',this['focusMainWindowHandler']),this['orientationChangeHandler'](),window['addEventListener']('resize',this['orientationChangeHandler']),this['appendChild'](this['iframe']);}['showInteraction'](w){this['interaction']||(this['interaction']=w),this['interaction']&&!this['isActive']&&(this['pushAnalyticsEvent'](m['InteractionAction']['VIEW']),this['isActive']=!0x0,this['shouldForceHide']||(this['iframe']['style']['transform']='scale(1)'),window['addEventListener']('message',this['responseHandler']));}['hideInteraction'](){this['interaction']&&this['isActive']&&(this['isActive']=!0x1,this['iframe']['style']['transform']='scale(0)',window['removeEventListener']('message',this['responseHandler']));}['unloadInteraction'](){this['iframe']['remove'](),window['removeEventListener']('blur',this['focusMainWindowHandler']),window['removeEventListener']('message',this['responseHandler']),window['removeEventListener']('resize',this['orientationChangeHandler']);}['onUserResponse'](w){return j(this,void 0x0,void 0x0,function*(){if(this['interaction']&&this['isActive']&&w['source']===this['iframe']['contentWindow'])switch(w['data']['type']){case'USER_RESPONSE':q['InteractionService']['updateInteraction']({'id':this['interaction']['id'],'initData':w['data']['data']['newInitData'],'userResponse':w['data']['data']['userResponse']}),q['ApiService']['sendInteractionResponse']({'interactionId':this['interaction']['id'],'interactionType':this['interaction']['type'],'responseId':w['data']['data']['userResponse']}),this['pushAnalyticsEvent'](m['InteractionAction']['ANSWER'],{'interaction_selected_answer':w['data']['data']['userResponse']});break;case'USER_VIBRATE':const x=w['data']['data']['type'];'vibrate'in navigator&&navigator['vibrate'](p['ANSWER_FEEDBACK_VIBRATE_PATTERNS'][x]);}});}['pushAnalyticsEvent'](w,x){if(!this['interaction'])return;const y={'action':w,'body':Object['assign']({'interaction_id':this['interaction']['id'],'interaction_type':this['interaction']['type']},x)};this['dispatchEvent'](new CustomEvent(p['INTERACTION_ANALYTICS'],{'detail':y}));}['focusMainWindow'](){document['activeElement']===this['iframe']&&setTimeout(()=>{window['focus']();},0x0);}['initInteraction'](){return j(this,void 0x0,void 0x0,function*(){var w;if(!this['interaction'])return;let x,y;try{const z=yield q['InteractionService']['getInteraction'](this['interaction']['id']);x=null==z?void 0x0:z['initData'],y=null==z?void 0x0:z['userResponse'];}catch(A){}x=null!=x?x:this['interaction']['initData'],null===(w=this['iframe']['contentWindow'])||void 0x0===w||w['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](x),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':y},'*');});}['orientationChange'](){this['shouldForceHide']='mobile'===k['deviceDetector']['platform']&&'landscape'===k['deviceDetector']['screenOrientation'],this['isActive']&&(this['shouldForceHide']?this['iframe']['style']['transform']='scale(0)':this['iframe']['style']['transform']='scale(1)');}}g['BlazeWidgetInteraction']=v;},0x1492:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetItem']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0xdf6),u=h(0x2432);class v extends j['BaseWidget']{get['parentRef'](){let w=this['parentElement'];const x=this['getRootNode']();return x instanceof ShadowRoot&&(w=x['host']),w;}constructor(w){super(),this['options']=w,this['thumbnailString']='',this['analyticsCalls']={},this['chipType']='statusReadStyle',this['statusIndicatorSettings']={'backgroundColor':'#ffffff','backgroundImage':'none','textColor':'#fffff','font':'initial','textSize':'10px','letterSpacing':'initial','borderRadius':'initial','borderColor':'#ffffff','thumbnailBorderColor':'#ffffff','text':'','borderWidth':0x2,'isVisible':!0x1,'padding':'3px\x209px'},this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'};const {layout:x,content:y}=w;this['content']=y,this['layoutStyle']=x,this['statusIndicatorSettings']['borderRadius']='Circle'===this['layoutStyle']['thumbnailShape']?'50%':'0',this['statusIndicatorSettings']['borderWidth']=this['layoutStyle']['borderWidth'],this['thumbnailType']=this['layoutStyle']['thumbnailType'],this['setAttribute']('title',y['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['boundOnWidgetClick']=this['handleWidgetClick']['bind'](this);}['initializeWidget'](){this['thumbnailType']=(0x0,q['thumbnailMapping'])(this['layoutStyle']['thumbnailType']),this['setupDOMElements'](),this['setData'](this['content']),this['setupEventListeners']();}['connectedCallback'](){(0x0,u['setId'])(this,'blaze-widget-item'),this['setAttribute']('data-testid','blaze-widget-item-'+this['content']['id']),this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['updateWidget'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['updateWidgetsData']();}['updateWidgetItemPadding'](){var w;null===(w=this['parentRef'])||void 0x0===w||w['setMaxPaddingOnWidgetItems']();}['updateWidgetItemStyle'](w){this['resetWidgetItemStyles'](),this['setTheme'](w);}['setupDOMElements'](){this['setStyle']({'display':'grid','position':'relative','cursor':'pointer'}),this['wrapper']['setStyle']({'position':'relative','display':'grid'}),this['container']['setStyle']({'background':'transparent','position':'relative','display':'grid'}),this['labelBackground']['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'0','left':'0','height':'33.34%','borderRadius':'inherit','display':'none'}),this['thumbnail']['setStyle']({'lineHeight':'0'}),this['label']['setStyle']({'margin':'0px','justifySelf':'center','justifyContent':'center','textAlign':'center','overflow':'hidden','boxSizing':'border-box','fontWeight':this['layoutStyle']['labelStyle']['fontWeight'],'width':'100%','color':'transparent','borderRadius':'4px','maxWidth':'max(50%,\x2048px)','maxHeight':'24px'}),this['labelContainer']['setStyle']({'display':'inline-block'}),(0x0,u['mergeStyles'])(this['chip'],{'display':this['isLive']?'inline':'none','transform':'unset','fontWeight':'bold','inset':'unset'}),(0x0,u['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']);}['handleWidgetClick'](){var w;this['event'](k['WidgetAction']['Click'],{}),null===(w=this['onClick'])||void 0x0===w||w['call'](this);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnWidgetClick']);}['setData'](w){this['content']=w,this['content']&&this['label']&&(this['label']['textContent']=this['content']['title']),'isLive'in this['content']&&(this['isLive']=this['content']['isLive']),this['thumbnailString']=this['getThumbnailUrl'](),this['thumbnail']['setAccessibility'](this['content']['title']),this['thumbnail']['load'](this['thumbnailString']);}['getThumbnailUrl'](){var w,x,y,z,A,B,C,D;let E=null===(y=null===(x=null===(w=this['content'])||void 0x0===w?void 0x0:w['thumbnails'][0x0])||void 0x0===x?void 0x0:x['rendition'])||void 0x0===y?void 0x0:y['url'];return E=null!==(D=null===(C=null===(B=null===(A=null===(z=this['content'])||void 0x0===z?void 0x0:z['thumbnails'])||void 0x0===A?void 0x0:A['find'](F=>F['type']==this['thumbnailType']))||void 0x0===B?void 0x0:B['rendition'])||void 0x0===C?void 0x0:C['url'])&&void 0x0!==D?D:E,E||'';}['setThumbnailBorderColor'](w){this['container']['setStyle']({'borderColor':w});}['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:w,borderRadius:x,borderPadding:y}=this['layoutStyle'],{thumbnailBorderColor:z,backgroundColor:A}=this['statusIndicatorSettings'],B=w!==this['statusIndicatorSettings']['borderWidth']?this['statusIndicatorSettings']['borderWidth']:w;this['container']['style']['borderWidth']=B+'px',this['container']['style']['borderStyle']='solid',this['container']['style']['borderRadius']=x,this['container']['style']['padding']=y+'px';const C=z||A;this['setThumbnailBorderColor'](C);}['updateLabelStyles'](){const w=this['layoutStyle']['labelStyle'],x=w['position']['startsWith']('inside'),y=w['position']['startsWith']('outside');this['label']['setStyle']({'fontFamily':w['font'],'fontDisplay':'swap','fontSize':w['fontSize'],'lineHeight':w['height']+'px'}),this['labelContainer']['setStyle']({'padding':w['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']),w['isVisible']||(this['label']['style']['display']='none',this['labelBackground']['style']['display']='none'),y&&this['updateOutsideLabelStyles'](w),x&&this['updateInsideLabelStyles'](w);}['updateInsideLabelStyles'](w){const {isInside:x,isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C}=(0x0,u['calculatePosition'])(w['position']);switch(this['style']['gap']='0px',this['container']['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'absolute','gridRow':'unset','width':'-webkit-fill-available'}),this['labelBackground']['setStyle']({'background':'#000'}),!0x0){case x&&y: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 x&&z: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 x&&A: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(w['backgroundColor']&&(this['labelBackground']['style']['background']=w['backgroundColor']),!0x0){case x&&B:this['label']['setStyle']({'textAlign':w['textAlign']||'start'});break;case x&&C:this['label']['setStyle']({'textAlign':w['textAlign']||'end'});break;default:this['label']['setStyle']({'textAlign':w['textAlign']||'center'});}}['updateOutsideLabelStyles'](w){const x='outsideBottom'===w['position'],y='outsideTop'===w['position'];switch(this['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'initial'}),this['labelBackground']['setStyle']({'display':'none'}),this['style']['gap']=(w['isVisible']?w['gap']:0x0)+'px',!0x0){case x:this['labelContainer']['setStyle']({'gridRow':'2'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial'}),this['container']['setStyle']({'alignContent':'flex-start'});break;case y:this['labelContainer']['setStyle']({'gridRow':'1'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial','alignContent':'space-between'}),this['container']['setStyle']({'alignSelf':'flex-end'});}w['textAlign']&&this['label']['setStyle']({'textAlign':w['textAlign']});}['updateThumbnailStyles'](){this['layoutStyle']&&this['thumbnail']&&('16/9'===(0x0,u['checkAspectRatios'])(this['layoutStyle']['itemRatio'])&&this['thumbnail']['setHeight']('-webkit-fill-available'),this['thumbnail']['setStyle']({'aspectRatio':this['layoutStyle']['itemRatio']['toString'](),'borderRadius':this['layoutStyle']['borderRadius']}));}['updateStatusIndicatorStyle'](w){const x='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],z='chip'===w?this['layoutStyle']['statusIndicatorPosition']:this['layoutStyle']['badgePosition'],A='chip'===w?this['chip']:this['badge'];if(!x['isVisible'])return void(A['style']['display']='none');'badge'===w&&this['layoutStyle']['badgeIndicatorStyle']['padding']&&(A['style']['padding']=this['layoutStyle']['badgeIndicatorStyle']['padding'],A['style']['zIndex']='1');const {isOutside:B,isInside:C,isTop:D,isMiddle:E,isBottom:F,isLeft:G,isRight:H}=(0x0,u['calculatePosition'])(z);let I=0x0,J=0x0;if('badge'===w)x['width']&&(J=Math['floor'](x['width']/0x2)),x['height']&&(I=Math['floor'](x['height']/0x2));else{const N=(0x0,u['createChip'])(this['statusIndicatorSettings']);J=Math['floor'](N['width']/0x2),I=Math['floor'](N['height']/0x2);}const K='Circle'===this['layoutStyle']['thumbnailShape'],L=this['statusIndicatorSettings']['borderWidth'],M='badge'===w?x['borderWidth']:this['statusIndicatorSettings']['borderWidth'];B?this['handleOutsidePosition']({'isTop':D,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'width':J,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A):C&&this['handleInsidePosition']({'isTop':D,'isMiddle':E,'isBottom':F,'isLeft':G,'isRight':H,'height':I,'isCircleThumbnail':K,'borderWidthElement':M,'borderWidthThumbnail':L},A),this['applyCommonStyles'](w);}['handleOutsidePosition'](w,x){const {isTop:y,isBottom:z,isLeft:A,isRight:B,height:C,width:D,isCircleThumbnail:E,borderWidthElement:F,borderWidthThumbnail:G}=w;if(y?(x['style']['top']='-'+C+'px',B||A||(this['wrapper']['style']['paddingTop']=C-G+'px',this['paddingItem']['top']=C-G+'px')):z&&(x['style']['bottom']='-'+C+'px',B||A||(this['wrapper']['style']['paddingBottom']=C-G+'px',this['paddingItem']['bottom']=C-G+'px')),A||B){const H=A?'left':'right',I=z||y,J=E&&I?'0':'-'+D+'px',K=A?'paddingLeft':'paddingRight';x['setStyle']({[H]:J,'alignSelf':'center'});const L=E&&I?'0':D+'px';if(this['wrapper']['setStyle']({[K]:L}),this['paddingItem'][H]=L,z||y){const M=z?'bottom':'top';x['setStyle']({[M]:E?'0':'-'+C+'px'});const N=z?'paddingBottom':'paddingTop';this['wrapper']['setStyle']({[N]:E?'0':C+'px'}),this['paddingItem'][M]=L;}}}['handleInsidePosition'](w,x){const {isTop:y,isMiddle:z,isBottom:A,isLeft:B,isRight:C,isCircleThumbnail:D}=w,E={},F=(0x0,u['calculatePercentage'])(0x5,this['container']),G=(0x0,u['calculatePercentage'])(0xf,this['container']);(y||A)&&(E['top']=y?D?z?F:G:'4px':'',E['bottom']=A?D?z?F:G:'4px':''),z&&(E['alignSelf']='center'),(B||C)&&(E['left']=B?D?z?F:G:'4px':'',E['right']=C?D?z?F:G:'4px':''),B||C||y||A||(E['textAlign']='center'),x['setStyle'](E);}['applyCommonStyles'](w){var x,y,z,A;const B='chip'===w?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],C='chip'===w?this['chip']:this['badge'],D={'fontSize':B['textSize'],'backgroundColor':B['backgroundColor'],'borderColor':B['borderColor'],'borderWidth':B['borderWidth']+'px','borderRadius':B['borderRadius'],'color':B['textColor'],'letterSpacing':B['letterSpacing'],'fontFamily':B['font'],'fontDisplay':'swap','padding':B['padding']};if('badge'===w&&(D['height']=B['height']+'px',D['width']=B['width']+'px'),'none'!==B['backgroundImage']&&(new Image()['src']=B['backgroundImage'],D['backgroundImage']='url(\x27'+B['backgroundImage']+'\x27)',D['backgroundSize']='cover',D['backgroundRepeat']='no-repeat',D['backgroundPosition']='center'),B['positionOffset']&&(D['marginLeft']=null!==(x=B['positionOffset']['left'])&&void 0x0!==x?x:null,D['marginTop']=null!==(y=B['positionOffset']['top'])&&void 0x0!==y?y:null,D['marginRight']=null!==(z=B['positionOffset']['right'])&&void 0x0!==z?z:null,D['marginBottom']=null!==(A=B['positionOffset']['bottom'])&&void 0x0!==A?A:null),'chip'===w){const F=B['thumbnailBorderColor']||B['borderColor'];this['setThumbnailBorderColor'](F);}C['setStyle'](D),C['innerText']=B['text'];const E=0x0!==C['innerText']['length'];C['style']['display']=B['isVisible']&&(E||'none'!==B['backgroundImage'])?'flex':'none';}['setTheme'](w){this['layoutStyle']=w,this['initializeAndRenderWidget']();}['initializeAndRenderWidget'](){this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['getPaddingOnContainer'](){return this['paddingItem'];}['setPaddingOnContainer'](w){this['paddingItem']=w,this['wrapper']['setStyle']({'paddingTop':w['top'],'paddingBottom':w['bottom'],'paddingLeft':w['left'],'paddingRight':w['right']});}['setChipStyle'](){var w;const x=null===(w=this['content'])||void 0x0===w?void 0x0:w['hasViewed'];this['isLive']?x?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'):x?(this['statusIndicatorSettings']=this['layoutStyle']['statusReadStyle'],this['chipType']='statusReadStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusUnreadStyle'],this['chipType']='statusUnreadStyle');}['event'](w,x,z=void 0x0){var A,B,C,D,E,F,G,H,I,J,K;if(w==k['WidgetAction']['Load']||w==k['WidgetAction']['Visible']){if(this['analyticsCalls'][w])return;this['analyticsCalls'][w]=!0x0;}try{const L=this['parentRef'],M=L['getBoundingClientRect']();x['widget_id']=L['id'],x['widget_name']=L['id'],x['widget_size']=Math['round'](null==M?void 0x0:M['width'])+'x'+Math['round'](null==M?void 0x0:M['height']),x['widget_type']=null===(A=L['widgetType'])||void 0x0===A?void 0x0:A['call'](L),x['widget_content_count']=null===(B=null==L?void 0x0:L['content'])||void 0x0===B?void 0x0:B['length'],x['widget_content_list']=null===(C=null==L?void 0x0:L['content'])||void 0x0===C?void 0x0:C['map'](O=>O['id'])['join'](','),x['content_id']=null===(D=this['content'])||void 0x0===D?void 0x0:D['id'],x['content_index']=null===(G=Array['from'](null!==(F=null===(E=null==this?void 0x0:this['parentNode'])||void 0x0===E?void 0x0:E['children'])&&void 0x0!==F?F:[]))||void 0x0===G?void 0x0:G['indexOf'](this),x['content_name']=null===(H=this['content'])||void 0x0===H?void 0x0:H['title'],x['content_type']=this['contentType']?this['contentType']['charAt'](0x0)['toUpperCase']()+this['contentType']['slice'](0x1):'',x['placement_distance']=Math['round']((null==M?void 0x0:M['top'])||0x0)['toString'](),x['thumbnail_aspect_ratio']=null===(I=this['layoutStyle'])||void 0x0===I?void 0x0:I['itemRatio']['toString'](),x['thumbnail_type']=null===(J=this['layoutStyle'])||void 0x0===J?void 0x0:J['thumbnailShape'],x['thumbnail_size']=(null==L?void 0x0:L['thumbnailWidth'])+'x'+(null==L?void 0x0:L['thumbnailHeight']);const N=new j['ReferringEventInfo']();N['origin_widget_id']=L['id'],N['origin_widget_name']=L['id'],N['origin_widget_type']=null===(K=L['widgetType'])||void 0x0===K?void 0x0:K['call'](L),N['labels_expression']=L['getAttribute']('labels'),document['referrer']&&(N['referrer_page_url']=document['referrer']),p['AnalyticsService']['pushWidgetEvent'](w,Object['assign']({},x),z,N);}catch(O){}}['render'](){this['updateContainerStyles'](),this['updateLabelStyles'](),this['updateThumbnailStyles'](),this['updateStatusIndicatorStyle']('chip'),this['updateStatusIndicatorStyle']('badge');}}g['BlazeWidgetItem']=v;},0x33:function(f,j,k){'use strict';var q=this&&this['__awaiter']||function(M,N,O,P){return new(O||(O=Promise))(function(Q,R){function S(V){try{U(P['next'](V));}catch(W){R(W);}}function T(V){try{U(P['throw'](V));}catch(W){R(W);}}function U(V){var W;V['done']?Q(V['value']):(W=V['value'],W instanceof O?W:new O(function(X){X(W);}))['then'](S,T);}U((P=P['apply'](M,N||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetLayout']=void 0x0,k(0x1407);const w=k(0x1133),x=k(0x1699),z=k(0x1932),A=k(0x26ed),B=k(0x22d9),C=k(0x2033),D=k(0x11c1),E=k(0x132a),F=k(0x2432),G=k(0xab4),H=k(0x5ee),I=k(0x1492),J=k(0x264);let K=window['innerWidth'];class L extends J['BlazeWidgetScrollable']{get['refElement'](){var M;return null!==(M=this['shadowRoot'])&&void 0x0!==M?M:this;}constructor(){super(),this['content']=[],this['perItemStyleOverrides']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activeOverridesLayoutThemes']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['isWidgetVisible']=!0x1,this['widgetHeight']=0x0,this['parentHeight']=void 0x0,this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this)),this['analyticsStack']={},this['shouldReloadWhenPlayerIsClosed']=!0x1,this['shouldReloadData']=!0x0,D['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['widgetItems']=[],this['content']=[],this['heightObserver']=new MutationObserver(this['handleHeightChangeMutation']['bind'](this)),this['onResizeEvent']=(0x0,w['debounce'])(this['onResize']['bind'](this),0x4b);}['connectedCallback'](){var N,O,P;if((0x0,F['setId'])(this,'blaze-layout'),super['connectedCallback'](),this['parentElement']&&new ResizeObserver(()=>{this['render']();})['observe'](this['parentElement']),null===window||void 0x0===window||window['addEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['addEventListener']('screenOrientationChange',this['onResizeEventDelay']['bind'](this)),this['intersectionObserver']['observe'](this),D['LoggerService']['info']('DeviceDetector:\x20'+w['deviceDetector']['OS']+'\x20|\x20'+w['deviceDetector']['platform']+'\x20|\x20'+w['deviceDetector']['browser']+'\x20|\x20'+w['deviceDetector']['screenOrientation']),this['setStyle']({'display':'grid','gridAutoFlow':'column','width':'auto','height':'100%','outline':'none','direction':D['ConfigService']['layoutDirection']}),this['parentElement']&&(this['parentHeight']=this['parentElement']['clientHeight'],this['heightObserver']['observe'](this['parentElement'],{'attributes':!0x0,'attributeFilter':['style','class']})),this['widgetHeight']=this['clientHeight'],this['innerHTML']+='<style>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:Q,columns:R,rows:T,lines:U,labelStyle:V,horizontalItemsSpacing:W,verticalItemsSpacing:X}=this['theme']['layoutStyle'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getStatusIndicatorBadgeAndChipSizes'](),a2=a0/0x2+Y/0x2,a3=Z/0x2+a1/0x2;let a4=0x0,a5=0x0;const a6=-0x1!==V['position']['indexOf']('outside');if(V['isVisible']&&a6){const ac=this['calculateLabelSizes'](V,U);a4=ac['labelAdditionalWidth'],a5=ac['labelAdditionalHeight'];}const a7=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];let a8,a9;this['skeletonContainer']=B['WidgetsFactory']['create']('blaze-div'),this['skeletonContainer']['style']['display']='grid',this['skeletonContainer']['style']['columnGap']=W+'px',this['skeletonContainer']['style']['rowGap']=X+'px',this['skeletonContainer']['style']['overflow']='hidden',this['skeletonContainer']['style']['gridAutoFlow']='column';let aa=0x4;0x1==T&&0x0==R?(this['skeletonContainer']['style']['gap']=W+'px',a8=a7-a5-a2,a9=this['calculateWidthForRow'](a8,Q,a3,a4),this['skeletonContainer']['style']['overflowX']='auto',aa=this['clientWidth']/a9+0x1,this['skeletonContainer']['style']['gridTemplateColumns']='repeat('+aa+',\x20'+a9+'px)'):(a9=(a7-(R-0x1)*W)/R,(null===(N=this['parentElement'])||void 0x0===N?void 0x0:N['clientWidth'])&&(a9=((null===(O=this['parentElement'])||void 0x0===O?void 0x0:O['clientWidth'])-(R-0x1)*W)/R),a8=(a9-a4-a3)/Q+a2+a5,this['skeletonContainer']['style']['gridTemplateColumns']='1fr\x20'['repeat'](R),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===(P=this['skeletonContainer'])||void 0x0===P||P['append'](ae);}this['refElement']['append'](this['skeletonContainer']);}}['disconnectedCallback'](){var M,N;super['disconnectedCallback'](),null===window||void 0x0===window||window['removeEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['removeEventListener']('screenOrientationChange',this['onResizeEventDelay']),this['removeEventListener']('keydown',this['onKeyDown']),null===(M=this['storysModal'])||void 0x0===M||M['remove'](),null===(N=this['momentsModal'])||void 0x0===N||N['remove'](),this['heightObserver']['disconnect'](),w['deviceDetector']['removeResizeListener']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},z['ONE_SECOND']/0x2);}['onResize'](){var M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z;K!==window['innerWidth']&&(K=window['innerWidth'],this['storysModal']&&(null===(M=this['storysModal'])||void 0x0===M||M['render'](),null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O||O['render'](),null===(Q=null===(P=this['storysModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q||Q['resetPosition'](),null===(T=null===(S=null===(R=this['storysModal'])||void 0x0===R?void 0x0:R['player'])||void 0x0===S?void 0x0:S['contentList'])||void 0x0===T||T['forEach'](a0=>null==a0?void 0x0:a0['render']())),this['momentsModal']&&(null===(U=this['momentsModal'])||void 0x0===U||U['render'](),null===(W=null===(V=this['momentsModal'])||void 0x0===V?void 0x0:V['player'])||void 0x0===W||W['resetPosition'](),null===(Z=null===(Y=null===(X=this['momentsModal'])||void 0x0===X?void 0x0:X['player'])||void 0x0===Y?void 0x0:Y['contentList'])||void 0x0===Z||Z['forEach'](a0=>null==a0?void 0x0:a0['render']())));}['handleHeightChangeMutation'](M){var N,O,P,Q;for(const R of M)if('style'===R['attributeName']||'class'===R['attributeName']){const S=this['getParentHeightWithoutPadding']();if(null!=S&&S!==this['parentHeight']){this['parentHeight']=S;const T=this['content']['length']>0x0,U=[null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O?void 0x0:O['contentList'],null===(Q=null===(P=this['momentsModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q?void 0x0:Q['contentList']]['some'](V=>{var W;return(null!==(W=null==V?void 0x0:V['length'])&&void 0x0!==W?W:0x0)>0x0;});U&&T&&this['render']();}}}['handleIntersection'](M){const N=M['find'](O=>O['target']===this);N&&N['isIntersecting']&&(this['isWidgetVisible']=!0x0,this['widgetItems']['length']&&(this['event'](z['WidgetAction']['Visible'],{}),this['intersectionObserver']['disconnect']()));}['attributeChangedCallback'](M,N,O){if(O)switch(M){case'labels':case'labels-priority':this['hasAttribute']('labels')&&this['loadContent']();break;case'story-ids':case'content-ids':this['hasAttribute']('labels')||this['loadContent']();break;case'preset':this['setTheme'](O);break;case'max-display-items-count':if(isNaN(Number(O)))break;const P=Number(O);this['widgetItems']['length']&&this['widgetItems']['forEach']((Q,R)=>{Q['style']['display']=R<P?'grid':'none';}),this['updateWidgetDisplay']();break;case'max-items':(this['hasAttribute']('labels')||this['hasAttribute']('content-ids')||this['hasAttribute']('story-ids'))&&this['loadContent']();}else'labels'===M&&D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedToHaveLabels']});}['onKeyDown'](M){var N,O;const P='ArrowRight'===M['key']||'ArrowLeft'===M['key'];(null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['isOpen'])&&P&&M['preventDefault'](),(null===(O=this['momentsModal'])||void 0x0===O?void 0x0:O['isOpen'])&&P&&M['preventDefault']();}['onContentChange'](M){const N='RTL'===D['ConfigService']['layoutDirection']?-0x1:0x1,O=(this['thumbnailWidth']||0x0)*N;switch(M){case'NEXT':this['scrollLeft']+=O;break;case'PREV':this['scrollLeft']-=O;}}['onPlayerClose'](){this['shouldReloadWhenPlayerIsClosed']&&(this['loadContent'](),this['shouldReloadWhenPlayerIsClosed']=!0x1);}['onPlayerOpen'](){}['getParentHeightWithoutPadding'](){var M;if(this['parentElement']){const N=window['getComputedStyle'](this['parentElement']),O=parseFloat(N['paddingTop'])+parseFloat(N['paddingBottom']);return(this['parentElement']['clientHeight']||(null!==(M=this['parentHeight'])&&void 0x0!==M?M:0x0))-O||null;}return null;}['setId'](M){this['id']='widget-layout-'+M;}['setReloadData'](M){this['shouldReloadData']='object'!=typeof M||!M['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof M['shouldReloadData']||M['shouldReloadData'];}['addDelegateListener'](M,N,O){B['WidgetsFactory']['whenDefined']('blaze-widget-story-modal')['then'](()=>{var P;null===(P=this['storysModal'])||void 0x0===P||P['addEventListener'](M,N,O);});}set['storyIds'](M){this['setAttribute']('story-ids',M);}set['contentIds'](M){this['setAttribute']('content-ids',M);}['setContentIds'](M,N){var O;this['setReloadData'](N),((null===(O=this['getAttribute']('story-ids'))||void 0x0===O?void 0x0:O['split'](','))||[])['length']>0x0?this['storyIds']=M['join'](','):this['contentIds']=M['join'](',');}['setLabelsPriority'](M,N){if(!M)return void this['setAttribute']('labels-priority','');this['setReloadData'](N);let O='';if('string'==typeof M)O=M['startsWith']('[')&&M['endsWith'](']')?M:'['+M+']';else{if(!Array['isArray'](M))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+M+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');O=M['every'](P=>P instanceof w['BlazeWidgetLabel'])?'['+M['map'](P=>P['toString']())['join'](',')+']':'['+M['join'](',');}this['setAttribute']('labels-priority',O);}['setLabels'](M,N){this['setReloadData'](N);let O='';if('string'==typeof M)O=M;else{if(Array['isArray'](M))O=M['join'](',');else{if(!(M instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+M+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');O=M['toString']();}}this['setAttribute']('labels',O);}['getTheme'](){return this['preset']||E['ThemeFactory']['create']('default');}['setTheme'](M){var N,O,P;const Q=this['getAttribute']('content-type');let R;if('string'==typeof M){if('moment'!==Q&&'story'!==Q&&Q)throw new Error('Invalid\x20content\x20type');R='moment'===Q?E['ThemeFactory']['create'](M,'moment'):E['ThemeFactory']['create'](M,'story');}else{if(!(0x0,C['isWidgetTheme'])(M))throw new Error('Invalid\x20theme\x20type');if((0x0,E['isStoryPlayerStyle'])(M['playerStyle'])&&'moment'===Q)throw new Error('Invalid\x20theme\x20type\x20-\x20\x20story\x20player\x20style\x20with\x20moment\x20content\x20type');if((0x0,E['isMomentPlayerStyle'])(M['playerStyle'])&&'story'===Q)throw new Error('Invalid\x20theme\x20type\x20-\x20\x20moment\x20player\x20style\x20with\x20story\x20content\x20type');R=M;}this['preset']=R,null===(N=this['widgetItems'])||void 0x0===N||N['forEach'](S=>S['setTheme'](R['layoutStyle'])),null===(O=this['storysModal'])||void 0x0===O||O['setTheme'](R['playerStyle']),null===(P=this['momentsModal'])||void 0x0===P||P['setTheme'](R['playerStyle']),this['content']['length']&&this['render']();}get['theme'](){return this['getTheme']();}['updateOverrideStyles'](M){var N;for(const O of Object['keys'](M)){const P=O;this['perItemStyleOverrides']['hasOwnProperty'](P)&&(null===(N=M[P])||void 0x0===N||N['forEach'](Q=>{var R,S;const T=null===(R=this['perItemStyleOverrides'][P])||void 0x0===R?void 0x0:R['findIndex'](U=>U['name']===Q['name']);if(-0x1!==T){const U=this['perItemStyleOverrides'][P];U&&void 0x0!==T&&(U[T]=Q);}else null===(S=this['perItemStyleOverrides'][P])||void 0x0===S||S['push'](Q);}));}}['reload'](){this['storysModal']&&this['storysModal']['isOpen']||this['momentsModal']&&this['momentsModal']['isOpen']?this['shouldReloadWhenPlayerIsClosed']=!0x0:(this['shouldReloadData']=!0x0,this['loadContent']());}['updateActiveLayoutThemesPerItemWithEntity'](M,N,O){const P=this['activeOverridesLayoutThemes'][M];if(P){const Q=P['findIndex'](R=>R['name']===N);-0x1!==Q&&P['splice'](Q,0x1),P['push']({'name':N,'theme':O});}else this['activeOverridesLayoutThemes'][M]=[{'name':N,'theme':O}];}['updateWidgetUI'](){this['widgetItems']['forEach'](M=>{M['content']['entities']&&this['perItemStyleOverrides']&&Object['entries'](M['content']['entities'])['forEach'](([N,O])=>{var P;O&&this['perItemStyleOverrides'][N]&&(null===(P=this['perItemStyleOverrides'][N])||void 0x0===P||P['forEach'](Q=>{Q['name']===O&&(M['updateWidgetItemStyle'](Q['theme']['layoutStyle']),this['updateActiveLayoutThemesPerItemWithEntity'](N,O,Q['theme']));}));});}),this['setMaxPaddingOnWidgetItems'](),this['render']();}['setMaxPaddingOnWidgetItems'](){const M={'top':'0','bottom':'0','left':'0','right':'0'},N={'top':!0x1,'bottom':!0x1,'left':!0x1,'right':!0x1};this['widgetItems']['forEach'](O=>{const P=O['getPaddingOnContainer']();M['top']=(0x0,F['getMaxValue'])(M['top'],P['top']),M['left']=(0x0,F['getMaxValue'])(M['left'],P['left']),M['right']=(0x0,F['getMaxValue'])(M['right'],P['right']),M['bottom']=(0x0,F['getMaxValue'])(M['bottom'],P['bottom']);const Q=O['layoutStyle']['badgePosition'],R=O['layoutStyle']['statusIndicatorPosition'],S=Q['toLocaleLowerCase']()['includes']('top')||R['toLocaleLowerCase']()['includes']('top'),T=Q['toLocaleLowerCase']()['includes']('bottom')||R['toLocaleLowerCase']()['includes']('bottom'),U=Q['toLocaleLowerCase']()['includes']('right')||R['toLocaleLowerCase']()['includes']('right'),V=Q['toLocaleLowerCase']()['includes']('left')||R['toLocaleLowerCase']()['includes']('left'),W=Q['toLocaleLowerCase']()['includes']('outside')||R['toLocaleLowerCase']()['includes']('outside'),X=O['layoutStyle']['badgeIndicatorStyle']['isVisible']||O['layoutStyle'][O['chipType']]['isVisible'];W&&X&&(S&&(N['top']=!0x0),T&&(N['bottom']=!0x0),U&&(N['right']=!0x0),V&&(N['left']=!0x0));}),M['top']=N['top']?M['top']:'0px',M['bottom']=N['bottom']?M['bottom']:'0px',M['left']=N['left']?M['left']:'0px',M['right']=N['right']?M['right']:'0px',this['widgetItems']['forEach'](O=>{O['setPaddingOnContainer'](M);});}['updateDataSource'](M){if(!M)return;const {type:N,ids:O,labels:P,orderType:Q,maxItems:R,labelsPriority:S}=M,T={'shouldReloadData':!0x1};(P||O)&&(this['setOrderType'](Q),this['setMaxItemsSize'](R,T),'ids'===N&&O?(this['setContentIds'](O,T),this['setLabelsPriority']('',T),this['setLabels']('',T)):'labels'===N&&P&&(this['setLabels'](P,T),this['setLabelsPriority']((null==S?void 0x0:S['toString']())||'',T),this['setContentIds']([],T)));}['setDelegations'](M){for(const N in M)this['addEventListener'](N,M[N]);}['setOrderType'](M){this['setAttribute']('order-type',M||'');}['setMaxItemsDisplaySize'](M){this['setAttribute']('max-display-items-count',M['toString']());}['setMaxItemsSize'](M,N){this['setReloadData'](N),this['setAttribute']('max-items',(null==M?void 0x0:M['toString']())||'');}['updatePlayerStyle'](){const M=(0x0,F['mergeDeep'])(E['ThemeFactory']['create']('default')['playerStyle'],D['ConfigService']['playerStyleCustomization']);(0x0,F['applyPlayerStyleChanges'])(E['ThemeFactory']['create']('default')['playerStyle'],M,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['createModal'](M){'moment'===M?customElements['whenDefined']('blaze-widget-moment-modal')['then'](()=>{var N,O,P;this['momentsModal']||(this['momentsModal']=new G['BlazeWidgetMomentModal'](this,this['theme']['playerStyle']),this['momentsModal']['onContentChange']=null===(N=this['onContentChange'])||void 0x0===N?void 0x0:N['bind'](this),this['momentsModal']['onClose']=null===(O=this['onPlayerClose'])||void 0x0===O?void 0x0:O['bind'](this),this['momentsModal']['onOpen']=null===(P=this['onPlayerOpen'])||void 0x0===P?void 0x0:P['bind'](this),this['appendModalToBlazeSDK'](this['momentsModal']));}):'story'!==M&&''!==M||customElements['whenDefined']('blaze-widget-story-modal')['then'](()=>{var N,O,P;this['storysModal']||(this['updatePlayerStyle'](),this['storysModal']=new H['BlazeWidgetStoryModal'](this,this['theme']['playerStyle']),this['storysModal']['onContentChange']=null===(N=this['onContentChange'])||void 0x0===N?void 0x0:N['bind'](this),this['storysModal']['onClose']=null===(O=this['onPlayerClose'])||void 0x0===O?void 0x0:O['bind'](this),this['storysModal']['onOpen']=null===(P=this['onPlayerOpen'])||void 0x0===P?void 0x0:P['bind'](this),this['appendModalToBlazeSDK'](this['storysModal']));});}['appendModalToBlazeSDK'](M){const N=document['getElementsByTagName']('blaze-sdk')[0x0];N&&N['append'](M);}static get['observedAttributes'](){return['story-ids','content-ids','content-type','max-display-items-count','max-items','labels-priority','labels','order-type','preset'];}['onItemClick'](M,N){var O,P,Q;window['visualViewport']&&window['visualViewport']['scale']>0x1&&D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['VisualViewportScaled']});const R=this['getAttribute']('content-type'),S='story'===R||!R;if('moment'===R&&this['momentsModal']){const T=this['momentsModal']['player']['contentList']['findIndex'](U=>{var V;return U['data']['id']===(null===(V=M['content'])||void 0x0===V?void 0x0:V['id']);});return this['momentsModal']['setModalContent'](this['content'],T,this['defaultAdsInfo']),this['momentsModal']['player']['contentList']['forEach']((U,V)=>{U['momentIndex']=V;}),D['VideoPlayerService']['playReference']='Widget',this['momentsModal']['player']['contentList']['forEach']((U,V)=>{var W;U['startTrigger']='Widget',U['refContentModal']=this['momentsModal'],U['widgetParentItem']=this['widgetItems'][V],U['playerStyle']=this['theme']['playerStyle'],U['data']['id']===(null===(W=M['content'])||void 0x0===W?void 0x0:W['id'])&&U['load']();}),this['momentsModal']['seek'](null!==(O=M['content']['id'])&&void 0x0!==O?O:''),void this['momentsModal']['open']();}if(S&&this['storysModal']){const U=this['storysModal']['player']['contentList']['findIndex'](V=>{var W;return V['data']['id']===(null===(W=M['content'])||void 0x0===W?void 0x0:W['id']);});return this['storysModal']['setModalContent'](this['content'],U,this['defaultAdsInfo']),D['VideoPlayerService']['playReference']='Widget',this['storysModal']['parentWidget']=this,this['storysModal']['player']['contentList']['forEach']((V,W)=>{var X;V['startTrigger']='Widget',V['refContentModal']=this['storysModal'],V['widgetParentItem']=this['widgetItems'][W],V['resetStoryLocationIndexToLastUnseen'](),V['data']['id']===(null===(X=M['content'])||void 0x0===X?void 0x0:X['id'])&&V['load']();}),this['storysModal']['seek'](null!==(Q=null===(P=M['content'])||void 0x0===P?void 0x0:P['id'])&&void 0x0!==Q?Q:''),void this['storysModal']['open']();}}['loadContent'](){return q(this,void 0x0,void 0x0,function*(){var M,N;const O=this['getAttribute']('content-type'),P='story'===O||!O,Q='moment'===O;if(this['createModal'](O),!this['shouldReloadData'])return;const R=this['getAttribute']('max-items'),S=this['getAttribute']('labels'),T=this['getAttribute']('labels-priority'),U=this['getAttribute']('order-type'),V=this['getAttribute']('story-ids'),W=null==V?void 0x0:V['split'](','),X=this['getAttribute']('content-ids'),Y=null==X?void 0x0:X['split'](',');let Z=[];try{let a0;if(D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),P){const a1=(null==S?void 0x0:S['length'])?'labels':(null==W?void 0x0:W['length'])||(null==Y?void 0x0:Y['length'])?'ids':'labels';a0=yield D['StoryService']['fetchContent']({'type':a1,'ids':W||Y,'labels':S,'orderType':U,'maxItems':R,'labelsPriority':T});}else Q&&(a0=yield D['MomentService']['fetchContent']({'type':(null==S?void 0x0:S['length'])?'labels':(null==X?void 0x0:X['length'])?'ids':'labels','ids':Y,'labels':S,'orderType':U,'maxItems':R,'labelsPriority':T}));if(a0&&(Z=a0['result'],this['defaultAdsInfo']=null==a0?void 0x0:a0['defaultAdsInfo']),!Z['length'])throw new Error(A['ErrorCode']['FailedLoadingStories']['toString']());a0&&a0['assetsExpiryTime']&&this['handleAssetsExpiry'](a0);}catch(a2){return null===(M=this['skeletonContainer'])||void 0x0===M||M['remove'](),D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':0x0,'contentCount':0x0}),void D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedLoadingStories']});}try{P?this['content']=yield D['DatabaseService']['enrichStories'](Z):Q&&(this['content']=yield D['MomentService']['encrichMoment'](Z));}catch(a3){this['content']=Z,D['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['FailedEnrichStories']});}null===(N=this['skeletonContainer'])||void 0x0===N||N['remove']();for(const a4 of this['widgetItems'])null==a4||a4['remove']();this['widgetItems']=[],this['handleWidgetContent'](),this['render'](),this['reorderWidgets'](),P?this['handleStoryContent']():Q&&this['handleMomentContent'](),this['widgetItems']['forEach'](a5=>this['refElement']['appendChild'](a5)),this['reorderWidgets'](),D['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':this['content']['length'],'contentCount':this['content']['length']}),this['isWidgetVisible']&&this['widgetItems']['length']&&this['event'](z['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['event'](z['WidgetAction']['Load'],{},this['getAttribute']('labels')),this['updateWidgetUI']();});}['handleStoryContent'](){var M,N,O;if(null===(M=this['storysModal'])||void 0x0===M||M['setModalContent'](this['content'],0x0),!(0x0,E['isStoryPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20story\x20content');null===(N=this['storysModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===D['ConfigService']['prefetchingPolicy']&&(null===(O=this['storysModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']());}['handleMomentContent'](){var M,N,O;if(!(0x0,E['isMomentPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20moment\x20content');null===(M=this['momentsModal'])||void 0x0===M||M['setModalContent'](this['content'],0x0,this['defaultAdsInfo']),null===(N=this['momentsModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===D['ConfigService']['prefetchingPolicy']&&(null===(O=this['momentsModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']());}['handleAssetsExpiry'](M){const N=new Date(Date['parse'](M['assetsExpiryTime']));clearTimeout(this['reloadTimeout']),this['reloadTimeout']=setTimeout(()=>{this['loadContent']();},N['getTime']()-Date['now']()-0x493e0);}['handleWidgetContent'](){var M;null===(M=this['content'])||void 0x0===M||M['forEach']((N,O)=>{let P=this['getTheme']();N['entities']&&Object['entries'](N['entities'])['forEach'](([R,S])=>{var T;S&&this['perItemStyleOverrides']&&this['perItemStyleOverrides'][R]&&(null===(T=this['perItemStyleOverrides'][R])||void 0x0===T||T['forEach'](U=>{U['name']===S&&(P=U['theme'],this['updateActiveLayoutThemesPerItemWithEntity'](R,S,U['theme']));}));});const Q=new I['BlazeWidgetItem']({'layout':P['layoutStyle'],'content':N});Q['onClick']=()=>this['onItemClick'](Q,O),Q['contentType']=this['getAttribute']('content-type')||'story',this['widgetItems']['push'](Q);});}['calculateChipSizes'](M){const {chipWidth:N,chipHeight:O}=(0x0,F['calculateChipSize'])('badge',M['layoutStyle']['badgePosition'],M['layoutStyle']),{chipWidth:P,chipHeight:Q}=(0x0,F['calculateChipSize'])('chip',M['layoutStyle']['statusIndicatorPosition'],M['layoutStyle']);return{'badge':{'width':N,'height':O},'chip':{'width':P,'height':Q}};}['getStatusIndicatorBadgeAndChipSizes'](){let M=0x0,N=0x0,O=0x0,P=0x0;if((0x0,F['isEmpty'])(this['activeOverridesLayoutThemes'])){const {badge:Q,chip:R}=this['calculateChipSizes'](this['theme']),{badgePosition:S,statusIndicatorPosition:T}=this['theme']['layoutStyle'],{maxBadgeHeight:U,maxBadgeWidth:V,maxChipHeight:W,maxChipWidth:X}=this['getMaxSizes'](Q,R,S,T);M=U,N=V,O=W,P=X;}else Object['keys'](this['activeOverridesLayoutThemes'])['forEach'](Y=>{var Z;const a0=Y;null===(Z=this['activeOverridesLayoutThemes'][a0])||void 0x0===Z||Z['forEach'](a1=>{const {badge:a2,chip:a3}=this['calculateChipSizes'](a1['theme']),{badgePosition:a4,statusIndicatorPosition:a5}=a1['theme']['layoutStyle'],{maxBadgeHeight:a6,maxBadgeWidth:a7,maxChipHeight:a8,maxChipWidth:a9}=this['getMaxSizes'](a2,a3,a4,a5);M=Math['max'](M,a6),N=Math['max'](N,a7),O=Math['max'](O,a8),P=Math['max'](P,a9);});});return{'maxBadgeHeight':M,'maxBadgeWidth':N,'maxChipHeight':O,'maxChipWidth':P};}['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 N;if(this['theme']){const {itemRatio:O,columns:P,rows:Q,lines:R,labelStyle:T,verticalItemsSpacing:U,horizontalItemsSpacing:V}=this['theme']['layoutStyle'];this['style']['overflowX']='',this['style']['columnGap']=V+'px',this['style']['rowGap']=U+'px',this['style']['gridAutoFlow']='row',this['style']['overflow']='hidden',this['style']['color']=T['color'];const W=this['maxSize'](),X=W!==this['content']['length']?this['content']['slice'](0x0,W):this['content'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getStatusIndicatorBadgeAndChipSizes'](),a2=a0/0x2+Y/0x2,a3=Z/0x2+a1/0x2;let a4,a5=0x0,a6=0x0;const a7=-0x1!==T['position']['indexOf']('outside');if(T['isVisible']&&a7){const ab=this['calculateLabelSizes'](T,R);a4=ab['labelWidth'],a5=ab['labelAdditionalWidth'],a6=ab['labelAdditionalHeight'];}let a8,a9;const aa=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];0x1==Q&&0x0==P?(a8=aa-a6-a2,a9=this['calculateWidthForRow'](a8,O,a3,a5),this['style']['gridTemplateColumns']='repeat('+(null!==(N=X['length'])&&void 0x0!==N?N:0x0)+',\x20'+a9+'px)',this['style']['overflowX']='auto'):(a9=(aa-(P-0x1)*V)/P,a8=(a9-a5-a3)/O+a2+a6,this['style']['gridTemplateColumns']='1fr\x20'['repeat'](P),this['style']['overflow']='auto'),this['thumbnailHeight']=Math['floor'](a8),this['thumbnailWidth']=Math['floor'](a9),this['style']['height']='auto';}}['calculateWidthForRow'](M,N,O,P){return M*N+O+P;}['calculateLabelSizes'](M,N){let O=M['width'],P=0x0,Q=(0x0,F['convertCssUnitToNumber'])(M['height'])*N;const {isOutside:R,isInside:S,isLeft:T,isRight:U}=(0x0,F['calculatePosition'])(M['position']);return R?T||U||(Q+=M['gap']+(M['padding']?0x2*parseInt(M['padding'],0xa):0x0)):S&&(T||U?(P='auto'===O?0x0:+O,Q=0x0):Q+=M['gap']),{'labelWidth':O,'labelAdditionalWidth':P,'labelAdditionalHeight':Q};}['event'](M,N,O=void 0x0){var P,Q,R;if(M==z['WidgetAction']['Load']||M==z['WidgetAction']['Visible']){if(this['analyticsStack'][M])return;this['analyticsStack'][M]=!0x0;}try{const S=this['getBoundingClientRect']();N['widget_id']=this['id'],N['widget_content_count']=null===(P=this['widgetItems'])||void 0x0===P?void 0x0:P['length'],N['widget_content_list']=(null===(Q=this['content'])||void 0x0===Q?void 0x0:Q['length'])?JSON['stringify'](this['content']['map'](U=>U['id'])):'',N['widget_size']=S['width']&&S['height']?Math['round'](S['width'])+'x'+Math['round'](S['height']):'',N['widget_type']=null===(R=this['widgetType'])||void 0x0===R?void 0x0:R['call'](this),N['placement_distance']=Math['round'](S['top'])['toString'](),N['content_type']='moment'===this['getAttribute']('content-type')?'Moment':'Story',N['thumbnail_aspect_ratio']=this['theme']['layoutStyle']['itemRatio']['toString'](),N['thumbnail_type']=this['thumbnailShape'],N['thumbnail_size']=this['thumbnailWidth']&&this['thumbnailHeight']?this['thumbnailWidth']+'x'+this['thumbnailHeight']:'';const T=new w['ReferringEventInfo']();T['labels_expression']=this['getAttribute']('labels'),document['referrer']&&(T['referrer_page_url']=document['referrer']),D['AnalyticsService']['pushWidgetEvent'](M,Object['assign']({},N),O,T);}catch(U){}}['reorderWidgets'](){if(this['updateWidgetsData'](),this['getAttribute']('should-order-widget-by-read-status')){'Manual'!=this['getAttribute']('order-type')&&this['content']['sort'](F['sortByHasViewed']);for(const M of this['content']){const N=this['widgetItems']['findIndex'](P=>{var Q;return(null===(Q=P['content'])||void 0x0===Q?void 0x0:Q['id'])===M['id'];}),O=this['content']['indexOf'](M);if(N>0x0){const P=this['widgetItems'][N],Q=this['widgetItems'][O];this['widgetItems'][O]=P,this['widgetItems'][N]=Q;}}}this['updateWidgetDisplay']();}['updateWidgetsData'](){const M=this['getAttribute']('content-type');if('story'===M||!M){for(const N of this['content'])N['hasViewed']=(0x0,F['isReadByLastUnIgnoredPageStatus'])(N);}}['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['content'])||void 0x0===M?void 0x0:M['length'])&&void 0x0!==N?N:0x0,0x0==R&&(R=S),Q&&(R=Q),R=Math['max'](Math['min'](S,R),0x0),R;}['connectWidgets'](){if(this['isConnected'])for(const M in this['widgetItems']){const N=this['widgetItems'][M];N['isConnected']||this['refElement']['appendChild'](N);}}get['thumbnailShape'](){var M;return(null===(M=this['theme'])||void 0x0===M?void 0x0:M['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}['widgetType'](){return this['theme']['layoutStyle']['columns']>0x1?'Grid':'Row';}}j['BlazeWidgetLayout']=L;},0x14c:function(f,g,j){'use strict';var k=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetModal']=void 0x0;const m=k(j(0x1c00)),p=j(0x23a6),q=j(0x1133),u=j(0x22d9),v=j(0x115),w=j(0x11c1),x=j(0x1932);class y extends q['BaseWidget']{constructor(z){if(super(),this['isOpen']=!0x1,this['exitButtonElement']={},this['exitButtonWrapperElement']={},this['hammer']=null,this['isMultiTouch']=!0x1,this['player']=u['WidgetsFactory']['create']('blaze-widget-'+z+'-player'),'desktop'===q['deviceDetector']['platform']){const A=document['createElement']('style');A['textContent']='.desktop-button:hover{background-color:\x20#333333\x20!important;}.mute-unmute-button:hover{scale:\x201.1;}',this['appendChild'](A),this['exitButtonWrapperElement']=u['WidgetsFactory']['create']('blaze-div'),this['exitButtonWrapperElement']['setAttribute']('data-testid','blaze-widget-story-exit-button'),this['exitButtonElement']=u['WidgetsFactory']['create']('blaze-button');}this['boundOnResizeEvent']=(0x0,q['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnPopStateEvent']=this['handlePopState']['bind'](this),this['player']['onContentChange']=this['handleOnContentChange']['bind'](this);}['connectedCallback'](){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('popstate',this['boundOnPopStateEvent']),this['setStyle']({'display':'none','position':'fixed','top':'0%','left':'0%','width':'100%','height':'100%','minHeight':'100%','justifyContent':'center','zIndex':'10000','direction':w['ConfigService']['layoutDirection']}),'desktop'===q['deviceDetector']['platform']&&(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'](v['closeIconSvg']),this['exitButtonElement']['setAttribute']('height','30px'),this['exitButtonElement']['setAttribute']('width','30px'),this['exitButtonWrapperElement']['addEventListener']('click',()=>{const z=this['player']['playerContentList'][this['player']['index']];z['exitTrigger']='Close\x20Button',z instanceof p['BlazeWidgetStory']&&z['close'](),this['close']();}),this['exitButtonWrapperElement']['append'](this['exitButtonElement']),this['append'](this['exitButtonWrapperElement'])),this['setupHammer']();}['disconnectedCallback'](){this['cleanupHammer'](),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('popstate',this['boundOnPopStateEvent']);}['onResize'](){var z,A,B,C;null===(z=this['player'])||void 0x0===z||z['render'](),null===(A=this['player'])||void 0x0===A||A['resetPosition'](),null===(C=null===(B=this['player'])||void 0x0===B?void 0x0:B['contentList'])||void 0x0===C||C['forEach'](D=>null==D?void 0x0:D['render']());}['handleOnContentChange'](z){var A;null===(A=this['onContentChange'])||void 0x0===A||A['call'](this,z);}['handlePopState'](){var z,A;this['isOpen']&&(q['URLManager']['isUpdateLocationByScript']||q['URLManager']['isBackWasCalled']||(this['player']['close'](),this['close'](),this['player']instanceof p['BlazeWidgetStoryPlayer']&&(null===(A=(z=this['player'])['dispatchExitStoryEvents'])||void 0x0===A||A['call'](z)),q['URLManager']['resetLocation'](),q['URLManager']['isBackWasCalled']=!0x0));}['seek'](z){this['player']['seekContentById'](z);}['setupHammer'](){this['hammer']||(this['hammer']=new m['default']['Manager'](this),this['hammer']['add'](new m['default']['Pan']({'direction':m['default']['DIRECTION_ALL']})),this['hammer']['add'](new m['default']['Pinch']({'enable':!0x0})),this['hammer']['on']('panstart',this['handlePanStart']),this['hammer']['on']('pan',this['handlePan']),this['hammer']['on']('doubletap',this['handleDoubleTap']),this['hammer']['on']('pinch',this['handlePinchOut']),this['style']['touchAction']='pinch-zoom');}['handlePanStart'](z){this['isMultiTouch']=z['pointers']['length']>0x1;}['handlePan'](z){this['isMultiTouch']||z['preventDefault']();}['handleDoubleTap'](z){z['preventDefault']();}['handlePinchOut'](z){z['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'](z){q['URLManager']['isBackWasCalled']=!0x1,q['URLManager']['appendUrlForPrefetch'](w['ConfigService']['autoAdvanceUrl']),w['VideoPlayerService']['isPlaying']=!0x0,w['VideoPlayerService']['isModalOpen']=!0x0,this['isOpen']=!0x0,document['body']['style']['overflow']='hidden',this['style']['opacity']='0',this['style']['display']='flex',this['append'](this['player']),this['player']['resetAnimation'](),this['player']['play'](z),setTimeout(()=>{this['style']['transition']='opacity\x200.3s\x20ease',this['style']['opacity']='1';},0x0);}['close'](){this['isOpen']=!0x1,w['VideoPlayerService']['isModalOpen']=!0x1,this['style']['opacity']='0',document['body']['style']['overflow']&&document['body']['style']['removeProperty']('overflow'),w['VideoCacheService']['isInitialized']()&&w['VideoCacheService']['clearAllCache'](),w['ConfigService']['shouldModifyUrlWithStoryId']?q['URLManager']['updateLocationContentHash']({}):q['URLManager']['resetLocationAfterContentClose'](),this['player']['remove'](),w['VideoPlayerService']['isPlaying']=!0x1,setTimeout(()=>{this['style']['display']='none';},x['ONE_SECOND']/0x3);}}g['BlazeWidgetModal']=y;},0x8c0:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetAbstractPlayer']=void 0x0;const k=j(0x1133),m=j(0x1932),p=j(0x22d9),q=j(0x11c1),u=j(0x132a),v=j(0x2432),w=j(0x1f70),x=j(0x1a96);class y extends k['BaseWidget']{constructor(){super(),this['index']=0x0,this['numberOfContentInList']=0x3,this['contentList']=[],this['playerContentList']=[],this['hammer']={},this['gestureActionLimitThreshold']=0x19,this['edgeScreenThreshold']=0x1e,this['isEdgeThreshold']=!0x1,this['isNavigationBlocked']=!0x1,this['isCloseAnimationStarted']=!0x1,this['listeners']=new k['EventsListener'](),this['boundHandlePanStart']=this['handlePanStart']['bind'](this),this['boundHandlePanMove']=this['handlePanMove']['bind'](this),this['boundHandlePanEnd']=this['handlePanEnd']['bind'](this),this['container']=p['WidgetsFactory']['create']('blaze-div'),this['srcBackground']=document['createElement']('canvas'),this['destBackground']=document['createElement']('canvas'),this['playerFullscreenOverlay']=p['WidgetsFactory']['create']('blaze-div'),this['playerFullscreenOverlay']['setStyle']({'position':'fixed','left':'0','top':'0','width':'100%','height':'100%','zIndex':'99999','display':'none'}),this['srcBackground']['width']=0x3,this['srcBackground']['height']=0x3,this['destBackground']['width']=0x3,this['destBackground']['height']=0x3,(0x0,v['mergeStyles'])(this['srcBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0'}),(0x0,v['mergeStyles'])(this['destBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0','opacity':'0%'});}['seekContentById'](z){this['cleanPlayerContentList']();const A=this['contentList']['findIndex'](B=>B['data']['id']==z);if(this['isBlazeWidgetStory'](this['contentList'])){const B=Math['max'](0x0,A-Math['floor'](this['numberOfContentInList']/0x2)),C=Math['min'](this['contentList']['length']-0x1,A+Math['floor'](this['numberOfContentInList']/0x2));for(let D=B;D<=C;D++){const E=this['contentList'][D];E&&(this['playerContentList']['push'](E),this['container']['append'](E));}}else{if(!this['isBlazeWidgetMoment'](this['contentList']))return;{let F=A-Math['floor']((this['numberOfContentInList']-0x1)/0x2),G=A+Math['ceil']((this['numberOfContentInList']-0x1)/0x2);F<0x0&&(G-=F,F=0x0),G>=this['contentList']['length']&&(F-=G-this['contentList']['length']+0x1,G=this['contentList']['length']-0x1),F=Math['max'](0x0,F);for(let H=F;H<=G;H++){const I=this['contentList'][H],J=I['cloneNode'](!0x0);J['setModal'](I['modal']),J['playerStyle']=I['playerStyle'],J['setData'](I['data']),J['shouldShowImaAdOnStart']=I['shouldShowImaAdOnStart'],J['imaUrl']=I['imaUrl'],J['setWidgetItemParent'](I['widgetParentItem']),J['momentIndex']=I['momentIndex'],J['refContentModal']=I['refContentModal'],J['startTrigger']=I['startTrigger'],J['adContext']=I['adContext'],J['video']&&I['video']&&(J['video']['requestFrameCallback']=I['video']['requestFrameCallback']),J&&(this['playerContentList']['push'](J),this['container']['append'](J));}}}this['index']=this['playerContentList']['findIndex'](K=>K['data']['id']==z);}['cleanPlayerContentList'](){for(const z of this['playerContentList'])null==z||z['remove']();this['playerContentList']=[];}['muteVideoOnIOSOrMacTablet'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;const z='iOS'===k['deviceDetector']['OS'],A='tablet'===k['deviceDetector']['platform']&&'Mac\x20OS'===k['deviceDetector']['OS'];(z||A)&&(q['VideoPlayerService']['isMuted']=!0x0);}['setupHammer'](z=Hammer['DIRECTION_HORIZONTAL']){this['hammer']=new Hammer['Manager'](this);const A=new Hammer['Pan']({'direction':z,'threshold':0x5}),B=new Hammer['Swipe']({'direction':z,'threshold':0x5});this['hammer']['add'](A),this['hammer']['add'](B)['recognizeWith'](A),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'](z){'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(z['preventDefault'](),'mobile'===k['deviceDetector']['platform']&&(this['isEdgeThreshold']=this['isTouchOnScreenEdges'](z['center']['x'],this['offsetWidth']),this['isEdgeThreshold'])||z['maxPointers']>0x1||this['isNavigationBlocked']||this['setAnimationContent']());}['handlePanMove'](z){z['preventDefault'](),'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||(z['maxPointers']>0x1?this['reverseAnimation'](z):(z['deltaTime']>0x5*m['ONE_SECOND']&&this['isBlazeWidgetStory'](this['contentList'])&&(this['resetPosition'](),q['VideoPlayerService']['isNavigating']=!0x1),this['index']<0x0&&(this['index']=0x0),this['handleMoveSwipe'](z))));}['handlePanEnd'](z){z['preventDefault'](),'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||this['handleEndSwipe'](z));}['reverseAnimation'](z){var A,B,C,D;('SingleStory'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldAutoAdvance'])&&((this['isBlazeWidgetMoment'](this['playerContentList'])?z['deltaY']:z['deltaX'])>0x0?(this['processAnimation'](z,this['playerContentList'][this['index']],this['currentPrevAnimation']),null===(A=this['animateContent']('PREV'))||void 0x0===A||A['seek'](0x0),null===(B=this['currentPrevAnimation'])||void 0x0===B||B['seek'](0x0)):(this['processAnimation'](z,this['playerContentList'][this['index']],this['currentNextAnimation']),null===(C=this['animateContent']('NEXT'))||void 0x0===C||C['seek'](0x0),null===(D=this['currentNextAnimation'])||void 0x0===D||D['seek'](0x0)),q['VideoPlayerService']['isNavigating']=!0x1);}['setAnimationContent'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0;const z=this['playerContentList'][this['index']-0x1];this['playerContentList'][this['index']+0x1]&&(this['currentNextAnimation']=this['animateContent']('NEXT')),z&&(this['currentPrevAnimation']=this['animateContent']('PREV'));}['isTouchOnScreenEdges'](z,A){const B=A/0xc,C=z<=B,D=z<=this['edgeScreenThreshold'];if(C||D)return!0x0;const E=A-z<=B,F=z>A-this['edgeScreenThreshold'];return!(!E&&!F);}['blockInteractionWithUserInterface'](){((()=>{this['playerFullscreenOverlay']['style']['display']='block',setTimeout(()=>{this['playerFullscreenOverlay']['style']['display']='none',this['isNavigationBlocked']=!0x1;},m['ONE_SECOND']);})());}['renderPlayerBackground'](z){var A,B,C,D;if('mobile'===k['deviceDetector']['platform']||'tablet'===k['deviceDetector']['platform'])return;const E=this['srcBackground']['getContext']('2d'),F=this['destBackground']['getContext']('2d');if(!E||!F)return;if(z)return null===(A=this['backgroundAnimation'])||void 0x0===A||A['cancel'](),E['fillStyle']=u['Colors']['Black'],E['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),F['fillStyle']=u['Colors']['Black'],void F['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']);const G=this['playerContentList'][this['index']];let H;if('pages'in G){const J=G,K=G['pageIndex'];H=J['pages'][K];}else H=G['video'];if('Ad'===(null===(B=null==H?void 0x0:H['data'])||void 0x0===B?void 0x0:B['type'])||(null==H?void 0x0:H['isAd']))return;const I=null==H?void 0x0:H['mainElement']();null===(C=this['backgroundAnimation'])||void 0x0===C||C['pause'](),(null===(D=this['backgroundAnimation'])||void 0x0===D?void 0x0:D['currentTime'])&&(E['globalAlpha']=+this['backgroundAnimation']['currentTime']/0xbb8),E['drawImage'](this['destBackground'],0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),E['globalAlpha']=0x1,I&&F['drawImage'](I,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'](z){switch(z){case'PREV':this['handlePrevDirection']();break;case'NEXT':this['handleNextDirection']();}}['resetAnimation'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0,this['resetPosition']();}['close'](){var z;if('SingleStory'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldDismissPlayer'])try{this['playerContentList']['forEach'](A=>{'pages'in A&&A['pages']['forEach'](B=>{B['paused']||B['pause']();});}),null===(z=this['onClose'])||void 0x0===z||z['call'](this);}catch(A){}}['animateContent'](z){let A='NEXT'===z?this['index']+0x1:this['index']-0x1;if(A<0x0||A>=this['playerContentList']['length'])return;const B=this['playerContentList'][A],C=this['playerContentList'][this['index']];return C&&B?this['createAnimation'](C,z,A):void 0x0;}get['directionBackwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_LEFT']:Hammer['DIRECTION_RIGHT'];}get['directionForwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_RIGHT']:Hammer['DIRECTION_LEFT'];}['processAnimation'](z,A,B){if(!this['isEdgeThreshold']&&!this['isNavigationBlocked']&&!q['VideoPlayerService']['isSeekBarDragging']&&B){if(B['completed'])return;this['isNavigationBlocked']=!0x0,q['VideoPlayerService']['isNavigating']=!0x0;let C=0x0;'tablet'===k['deviceDetector']['platform']&&(C='portrait'===k['deviceDetector']['screenOrientation']?0x7:0xc);const D=Math['abs'](z['velocityY'])>0.01;if(B['progress']>=this['gestureActionLimitThreshold']-C||D){this['blockInteractionWithUserInterface']();const E=z['direction']===this['directionForwards']||z['direction']===Hammer['DIRECTION_UP'],F=z['direction']===this['directionBackwards']||z['direction']===Hammer['DIRECTION_DOWN'];E?A['navigationDirection']='Forwards':F&&(A['navigationDirection']='Backwards'),B['play'](),B['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1;});}else this['handleSmallGestures'](B,this['playerContentList'][this['index']]);}}['unloadFromPlayerList'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;let z;this['playerContentList']['length']>this['numberOfContentInList']&&(this['index']>0x1?(z=this['playerContentList']['shift'](),this['index']-=0x1):z=this['playerContentList']['pop'](),null==z||z['unload'](),null==z||z['remove']());}['handleAnimationEnd'](z){this['appendToDomBasedOnNavigation'](z),this['unloadFromPlayerList']();for(const A of this['playerContentList'])A['resetPosition']();this['resetAnimation'](),this['muteVideoOnIOSOrMacTablet'](),this['loadAndPlayContent']();}['handleSmallGestures'](z,A){z['complete']=()=>{this['isNavigationBlocked']=!0x1;},z['changeComplete']=()=>{q['VideoPlayerService']['isPlaying']&&A['resume']();},z['reverse'](),z['play'](),z['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1,A instanceof x['BlazeWidgetStory']?A['currentPage']['muted']=q['VideoPlayerService']['isMuted']:A instanceof w['BlazeWidgetMoment']&&A['video']&&(A['video']['muted']=q['VideoPlayerService']['isMuted']);});}['resetPosition'](){var z,A,B,C;'SingleStory'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(null===(A=null===(z=this['animateContent']('NEXT'))||void 0x0===z?void 0x0:z['seek'])||void 0x0===A||A['call'](z,0x0),null===(C=null===(B=this['animateContent']('PREV'))||void 0x0===B?void 0x0:B['seek'])||void 0x0===C||C['call'](B,0x0),this['resetStyles']());}['isContentDirectionInPlayerListValid'](z){if(!z)return!0x1;const A='NEXT'===z?0x1:-0x1,B=this['playerContentList'][this['index']],C=this['contentList']['findIndex'](D=>D['data']['id']===B['data']['id']);return!(C+A<0x0)&&Boolean(this['contentList'][C+A]);}['isBlazeWidgetStory'](z){return Array['isArray'](z)&&z['every'](A=>'story'===A['type']);}['isBlazeWidgetMoment'](z){return Array['isArray'](z)&&z['every'](A=>'moment'===A['type']);}}g['WidgetAbstractPlayer']=y;},0x264:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetScrollable']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['buttonsState']=[],this['totalMovement']=0x0,this['boundOnClickEvent']=this['onClick']['bind'](this),this['boundOnMouseWheelEvent']=this['onMouseWheel']['bind'](this),this['boundOnMouseMoveEvent']=this['onMouseMove']['bind'](this);}['connectedCallback'](){this['style']['userSelect']='none',this['addEventListener']('click',this['boundOnClickEvent'],!0x0),this['addEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['addEventListener']('wheel',this['boundOnMouseWheelEvent']);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnClickEvent']),this['removeEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['removeEventListener']('wheel',this['boundOnMouseWheelEvent']);}['onClick'](k){this['totalMovement']>0xa&&(k['preventDefault'](),k['stopPropagation'](),k['stopImmediatePropagation']());}['onMouseMove'](k){0x1&~k['buttons']?this['totalMovement']=0x0:(this['scrollBy']({'top':-k['movementY'],'left':-k['movementX']}),(k['movementX']>0x0||k['movementX']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementX'])),(k['movementY']>0x0||k['movementY']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementY'])));}['onMouseWheel'](k){this['scrollBy']({'top':0x0,'left':k['deltaX']});}['render'](){}}f['BlazeWidgetScrollable']=j;},0xf49:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetSDK']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),v=j(0x26ed),w=j(0x11c1),x=j(0x132a),y=j(0x2432);let z=window['innerWidth'];class A extends p['BaseWidget']{static get['observedAttributes'](){return['should-allow-horizontal-stories'];}constructor(){super(),this['boundOnResizeEvent']=(0x0,p['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this);}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('screenOrientationChange',this['boundOnResizeEventDelay']);const B=this['getConfigAttributes']();yield this['initialize'](B);const C=new CustomEvent('onBlazeSDKConnect',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](C),this['handleLoadingContent']();});}['disconnectedCallback'](){window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('screenOrientationChange',()=>this['onResizeEventDelay']());}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},q['ONE_SECOND']/0x2);}['onResize'](){var B,C,D,E,F,G;z!==window['innerWidth']&&(z=window['innerWidth'],this['modal']&&(null===(B=this['modal'])||void 0x0===B||B['render'](),this['modal']instanceof m['BlazeWidgetStoryModal']&&(null===(D=null===(C=this['modal'])||void 0x0===C?void 0x0:C['player'])||void 0x0===D||D['render'](),null===(G=null===(F=null===(E=this['modal'])||void 0x0===E?void 0x0:E['player'])||void 0x0===F?void 0x0:F['contentList'])||void 0x0===G||G['forEach'](H=>null==H?void 0x0:H['render']()))));}['handleLoadingContent'](){const {isStoryMatch:B,storyIds:C,isMomentMatch:D,momentIds:E}=this['checkUrlForContent']();B&&C?this['handleContentLoad']('story','Share',C):D&&E?this['handleContentLoad']('moment','Share',E):w['ConfigService']['staticContent']&&this['handleStaticContentLoad']('SingleStory');}['checkUrlForContent'](){var B,C,D,E;const F=location['href']['match'](y['RegexStoryHash']),G=location['href']['match'](y['RegexMomentHash']);return{'isStoryMatch':!!F,'storyIds':F?null===(C=null===(B=F[0x1])||void 0x0===B?void 0x0:B['split']('/'))||void 0x0===C?void 0x0:C[0x2]:null,'isMomentMatch':!!G,'momentIds':G?null===(E=null===(D=G[0x1])||void 0x0===D?void 0x0:D['split']('/'))||void 0x0===E?void 0x0:E[0x2]:null};}['setPlayerStyleCustomization'](B){w['ConfigService']['playerStyleCustomization']=B;}['handleContentLoad'](B,C,D){return k(this,void 0x0,void 0x0,function*(){var E,F,G;if((null===document||void 0x0===document?void 0x0:document['querySelector']('#blaze-standalone-player'))||!(null==D?void 0x0:D['length']))return;const H=D['split'](',');if(null===(E=this['modal'])||void 0x0===E||E['remove'](),null==H?void 0x0:H['length']){const {data:I,error:J}='story'===B?yield w['ApiService']['getStoriesByIds'](H):yield w['ApiService']['getMomentByIds'](H);null==I||I['result']['map'](K=>{K['type']='Content';}),J||0x0===(null===(F=null==I?void 0x0:I['result'])||void 0x0===F?void 0x0:F['length'])||this['setupModalAndLoadContent'](B,C,null===(G=null==I?void 0x0:I['result'])||void 0x0===G?void 0x0:G[0x0]);}});}['handleStaticContentLoad'](B){return k(this,void 0x0,void 0x0,function*(){const C=yield w['ApiService']['getStaticStories']();C&&this['setupModalAndLoadContent']('story',B,C);});}['enrichContent'](B){return k(this,void 0x0,void 0x0,function*(){try{return yield w['DatabaseService']['enrichStories'](B);}catch(C){return w['EventService']['dispatch'](this,v['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':v['ErrorCode']['FailedEnrichStories']}),B;}});}['setupModalAndLoadContent'](B,C,D){return k(this,void 0x0,void 0x0,function*(){var E;let F;if('moment'===B)F=x['ThemeFactory']['create']('default','moment');else{if('story'!==B&&B)throw new Error('Invalid\x20content\x20type');F=x['ThemeFactory']['create']('default','story');}const G=(0x0,y['mergeDeep'])(F['playerStyle'],w['ConfigService']['playerStyleCustomization'])||F['playerStyle'];this['modal']='moment'===B?new m['BlazeWidgetMomentModal'](this,G):new m['BlazeWidgetStoryModal'](this,G),this['modal']['id']='blaze-standalone-player',w['VideoPlayerService']['playReference']=C,this['append'](this['modal']);const H=new m['BlazeWidgetItem']({'layout':F['layoutStyle'],'content':D});if(this['modal']instanceof m['BlazeWidgetStoryModal']){const I=yield this['enrichContent']([D]);this['modal']['setModalContent'](I,0x0);}else{if(!(this['modal']instanceof m['BlazeWidgetMomentModal']))throw new Error('Invalid\x20content\x20type');this['modal']['setModalContent']([D],0x0);}this['modal']['player']['contentList']['forEach'](J=>k(this,void 0x0,void 0x0,function*(){J['startTrigger']=C,J['refContentModal']=this['modal'],J['widgetParentItem']=H,J instanceof m['BlazeWidgetStory']&&J['resetStoryLocationIndexToLastUnseen'](),yield J['load']('direct'),J['setWidgetItemParent'](H);})),this['modal']['seek'](null!==(E=D['id'])&&void 0x0!==E?E:''),this['modal']['open'](),this['modal']['onClose']=()=>{var J;null===(J=this['modal'])||void 0x0===J||J['remove']();};});}['attributeChangedCallback'](B,C,D){'should-allow-horizontal-stories'===B&&C!==D&&(w['ConfigService']['shouldAllowHorizontalStories']='true'===D,this['modal']instanceof m['BlazeWidgetStoryModal']&&this['modal']['updateModalContent']());}['getConfigAttributes'](){const B=this['getAttribute']('api-key'),C=this['getAttribute']('environment')||'prod',D=this['getAttribute']('send-analytics'),E=this['getAttribute']('run-in-shadow-dom'),F=this['getAttribute']('preview-url'),G=this['getAttribute']('preview-moment-url'),H=this['getAttribute']('do-not-track'),I=this['getAttribute']('external-user-id'),J=this['getAttribute']('geo-location'),K=this['getAttribute']('static-content'),L=this['getAttribute']('modifiy-url-with-story-id'),M=this['getAttribute']('should-dismiss-player'),N=this['getAttribute']('should-create-user'),O=this['getAttribute']('prefetching-policy')||'default',P=this['getAttribute']('should-allow-horizontal-stories'),Q=this['getAttribute']('should-auto-advance'),R=this['getAttribute']('auto-advance-url'),S=this['getAttribute']('layout-direction'),T=this['getAttribute']('should-allow-closed-captions');if(!B&&!F&&!G)throw new Error('Please\x20provide\x20API\x20Key');return{'apiKey':B,'environment':C,'sendAnalytics':D,'previewMomentUrl':G,'previewUrl':F,'doNotTrack':H,'externalUserId':I,'geoLocation':J,'staticContent':K,'runInShadowDom':E,'shouldModifyUrlWithStoryId':L,'shouldDismissPlayer':M,'shouldCreateUser':N,'prefetchingPolicy':O,'shouldAllowHorizontalStories':P,'shouldAutoAdvance':Q,'autoAdvanceUrl':R,'layoutDirection':S,'shouldAllowClosedCaptions':T};}['initialize'](B){return k(this,void 0x0,void 0x0,function*(){yield w['StartupService']['init'](B),yield this['injectFontResource'](),yield this['injectGoogleTag'](),yield this['injectIma']();});}['injectToHead'](B,C){return k(this,void 0x0,void 0x0,function*(){document['querySelectorAll'](B)['length']||(yield new Promise((D,E)=>{C['addEventListener']('load',()=>{D();}),C['addEventListener']('error',()=>{E('Failed\x20to\x20load\x20element:\x20'+C['outerHTML']);}),document['head']['append'](C);}));});}['injectFontResource'](){return k(this,void 0x0,void 0x0,function*(){const B=document['createElement']('link');B['setAttribute']('rel','preload'),B['setAttribute']('href','https://sdk.mvp.fan/web-sdk/assets/fonts.css'),B['setAttribute']('as','style'),B['setAttribute']('onload','this.onload=null;this.rel=\x27stylesheet\x27'),yield this['injectToHead']('[href*=\x22https://sdk.mvp.fan/web-sdk/assets/fonts.css\x22]',B);});}['injectGoogleTag'](){return k(this,void 0x0,void 0x0,function*(){if(!w['AdService']['canRunAds'])return;const B=document['createElement']('script');B['setAttribute']('src','https://securepubads.g.doubleclick.net/tag/js/gpt.js'),B['setAttribute']('async','');try{yield this['injectToHead']('[src*=\x22securepubads.g.doubleclick.net/tag/js/gpt.js\x22]',B);}catch(C){}});}['injectIma'](){return k(this,void 0x0,void 0x0,function*(){if(!w['AdService']['canRunAds'])return;const B=document['createElement']('script');B['setAttribute']('src','//imasdk.googleapis.com/js/sdkloader/ima3.js'),B['setAttribute']('async','');try{yield this['injectToHead']('[src*=\x22imasdk.googleapis.com/js/sdkloader/ima3.js\x22]',B);}catch(C){}});}}g['BlazeWidgetSDK']=A;},0x183e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetShareModal']=void 0x0;const j=g(0x1133),k=g(0x22d9),l=g(0x115);class m extends j['BaseWidget']{constructor(){var p,q;super(),this['shareUrl']='',this['shareContainer']=k['WidgetsFactory']['create']('blaze-div'),this['shareDrawer']=k['WidgetsFactory']['create']('blaze-modal'),this['shareDrawer']['onOpen']=null===(p=this['onDarwerOpen'])||void 0x0===p?void 0x0:p['bind'](this),this['shareDrawer']['onClose']=null===(q=this['onDrawerClose'])||void 0x0===q?void 0x0:q['bind'](this);}['connectedCallback'](){return h(this,void 0x0,void 0x0,function*(){this['shareContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'12rem','fontSize':'.8rem','fontFamily':'WSC\x20Open\x20Sans','color':'#000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['shareDrawer']);}['attributeChangedCallback'](p,q,u){}['onDarwerOpen'](){var p;null===(p=this['onOpen'])||void 0x0===p||p['call'](this);}['onDrawerClose'](){var p;null===(p=this['onClose'])||void 0x0===p||p['call'](this);}['open'](p){this['shareUrl']=p,this['shareDrawer']['open']();}['close'](){this['shareDrawer']['close']();}get['isOpen'](){return this['shareDrawer']['isOpen'];}['renderButtons'](){const p=k['WidgetsFactory']['create']('blaze-div');p['setStyle']({'display':'flex','gap':'1rem','padding':'1rem\x201.5rem','alignItems':'center'}),[{'type':'copy-link','onClick':()=>{(null===navigator||void 0x0===navigator?void 0x0:navigator['clipboard'])&&navigator['clipboard']['writeText'](this['shareUrl']),this['close']();}}]['forEach'](q=>{const u=k['WidgetsFactory']['create']('blaze-share-button');u['type']=q['type'],u['onClick']=v=>{var w;q['onClick'](v),null===(w=this['onClick'])||void 0x0===w||w['call'](this,u);},p['append'](u);}),this['shareContainer']['append'](p),this['shareDrawer']['init']({'anchor':'bottom','component':this['shareContainer']}),this['append'](this['shareDrawer']);}['renderTitle'](){const p=k['WidgetsFactory']['create']('blaze-div');p['setStyle']({'display':'flex','gap':'1rem','borderBottom':'solid\x201px\x20#d1d1d1','padding':'1rem\x201.5rem','alignItems':'center'});const q=k['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','border':'solid\x201px\x20#d1d1d1'});const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+l['IconGlobe']+'\x27)\x20no-repeat','backgroundSize':'contain'});const v=k['WidgetsFactory']['create']('blaze-typography');v['text']=location['origin'],q['append'](u),p['append'](q),p['append'](v),this['shareContainer']['append'](p);}['render'](){this['renderTitle'](),this['renderButtons']();}}f['BlazeWidgetShareModal']=m;},0x15a2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetVideoBase']=void 0x0;class g extends HTMLElement{constructor(){super();}['setData'](h){this['data']=h;}['loadPoster'](){throw new Error('Method\x20not\x20implemented.');}['play'](){throw new Error('unimplemented');}['restartVideo'](){throw new Error('Method\x20not\x20implemented.');}['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'](){}['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'](){}['startExit'](){}['endEnter'](){}['endExit'](){}}f['BlazeWidgetVideoBase']=g;},0x416:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideo']=void 0x0;const m=j(0x23a6),q=j(0x1133),v=j(0x1932),w=j(0x25e6),x=j(0x26ed),y=j(0x22d9),z=j(0x11c1),A=j(0x132a);let B=window['innerWidth'];class C extends m['BlazeWidgetVideoBase']{static get['observedAttributes'](){return['is-captions-visible'];}constructor(D){var E,F;super(),this['contentParent']=D,this['interactionElement']=y['WidgetsFactory']['create']('blaze-widget-interaction'),this['captionsElement']=y['WidgetsFactory']['create']('blaze-widget-captions'),this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['lastErrorExecutionTime']=0x0,this['isVideoStartPlaying']=!0x1,this['isError']=!0x0,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['maxRetryTimes']=0x5,this['shouldShowImaAd']=!0x1,this['googleIMA']=null===(E=window['google'])||void 0x0===E?void 0x0:E['ima'],this['isCurrentlyTryingToRunImaAd']=!0x1,this['hasPoster']=!0x1,this['source']=document['createElement']('source'),this['video']=document['createElement']('video'),this['loader']=y['WidgetsFactory']['create']('blaze-loader'),this['adContainer']=document['createElement']('div'),this['adLoaderContainer']=y['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===(F=this['contentParent'])||void 0x0===F?void 0x0:F['aspectRatio'])&&(this['video']['style']['height']='100%'),this['adLoaderContainer']['style']['margin']='auto';}['attributeChangedCallback'](D,E,F){'is-captions-visible'===D&&E!==F&&this['captionsElement']['setAttribute']('is-visible',F);}['connectedCallback'](){var D;this['setAttribute']('data-testid','blaze-widget-story-video-'+(null===(D=this['data'])||void 0x0===D?void 0x0:D['id'])),this['video']['onended']=this['onended'],this['videoFrameCallback']=this['requestFrameCallback'],this['video']['currentTime']=0x0,this['video']['controls']=!0x1,this['video']['preload']='none',this['video']['playsInline']=!0x0,this['video']['setAttribute']('webkit-playsinline','true'),this['video']['addEventListener']('playing',()=>{this['isVideoStartPlaying']=!0x0,this['removeLoader']();}),this['video']['addEventListener']('pause',()=>{this['isVideoStartPlaying']=!0x1,this['removeLoader']();}),this['video']['addEventListener']('canplaythrough',()=>k(this,void 0x0,void 0x0,function*(){this['video']['paused']&&this['isVideoStartPlaying']&&(this['isVideoRunning']&&(yield this['video']['play']()),yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));})),this['video']['addEventListener']('error',E=>{var F,G;const H=null===(F=null==E?void 0x0:E['target'])||void 0x0===F?void 0x0:F['error'];if((null==H?void 0x0:H['code'])===MediaError['MEDIA_ERR_DECODE']){const I=new Date()['getTime']();I-this['lastErrorExecutionTime']>=0x1388&&(this['lastErrorExecutionTime']=I,z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror\x20Attempting\x20to\x20handle\x20MEDIA_ERR_DECODE\x20error\x20for\x20video:\x20'+(null===(G=this['videoUrl'])||void 0x0===G?void 0x0:G['split']('/')[0x5])),this['source']&&this['videoUrl']&&this['video']&&0x0===this['video']['currentTime']&&(this['video']['removeChild'](this['source']),this['video']['preload']='none',this['video']['load'](),this['source']['setAttribute']('src',this['videoUrl']),this['source']['setAttribute']('type','video/mp4'),this['video']['append'](this['source']),this['video']['load'](),this['tryReloadVideo'](this['maxRetryTimes'])));}else z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20onerror:\x20Unhandled\x20video\x20error\x20-\x20Code:\x20'+(null==H?void 0x0:H['code'])+',\x20Message:\x20'+(null==H?void 0x0:H['message']));}),this['video']['addEventListener']('timeupdate',()=>{var E;const F=this['video']['currentTime']/this['video']['duration']*0x64,G=[0x1,0x32];for(let H=0x0;H<G['length'];H++)F>=G[H]&&!this['eventRenderBackgroundPercentageTriggered'][H]&&(null===(E=this['videoFrameCallback'])||void 0x0===E||E['call'](this),this['eventRenderBackgroundPercentageTriggered'][H]=!0x0);}),this['appendChild'](this['video']),this['adContainer']['style']['position']='absolute',this['adContainer']['style']['top']='0',this['adContainer']['style']['left']='0',this['adContainer']['style']['width']='100%',this['adContainer']['style']['height']='100%',this['adContainer']['style']['justifyContent']='center',this['adContainer']['style']['display']='none',this['adContainer']['style']['zIndex']='2',this['adLoaderContainer']['style']['margin']='auto',this['render']();}['disconnectedCallback'](){this['removeLoader']();}['setData'](D){var E,F,G,H,I;if(this['data']=D,this['data']&&'Content'===this['data']['type']){const J=null!==(G=null===(F=null===(E=this['data']['baseLayer'])||void 0x0===E?void 0x0:E['content'])||void 0x0===F?void 0x0:F['renditions'])&&void 0x0!==G?G:[];this['videoUrl']=null!==(I=null===(H=J['find'](K=>K['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===H?void 0x0:H['url'])&&void 0x0!==I?I:J[0x0]['url'],this['shouldShowImaAd']=Boolean(D['shouldShowImaAd']);}}['loadClosedCaptions'](){return k(this,void 0x0,void 0x0,function*(){var D,E,F,G,H;z['ConfigService']['shouldAllowClosedCaptions']&&'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&(null===(F=null===(E=this['data'])||void 0x0===E?void 0x0:E['closedCaptions'])||void 0x0===F?void 0x0:F['length'])&&(null===(H=null===(G=this['data']['closedCaptions'][0x0])||void 0x0===G?void 0x0:G['files'])||void 0x0===H?void 0x0:H['length'])&&(this['contentParent']instanceof m['BlazeWidgetStory']&&'Embedded'===this['contentParent']['mode']||(this['captionsElement']['isConnected']||this['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],this['data']['closedCaptions'][0x0]['files'])));});}['getVideoDuration'](){return new Promise((D,E)=>{const F=document['createElement']('video');F['preload']='metadata',this['videoUrl']?(F['src']=this['videoUrl'],F['addEventListener']('loadedmetadata',()=>{D(F['duration']);}),F['addEventListener']('error',()=>{E(0x0);})):E(0x0);});}['loadPoster'](){var D,E,F,G,H,I,J,K,L,M;if('Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&!this['video']['hasAttribute']('poster')){const N=null!==(F=null===(E=this['data']['thumbnail'])||void 0x0===E?void 0x0:E['renditions'])&&void 0x0!==F?F:[],O=null===(G=null==N?void 0x0:N['find'](S=>S['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===G?void 0x0:G['url'],P=null===(H=null==N?void 0x0:N[0x0])||void 0x0===H?void 0x0:H['url'],Q=(null===(J=null===(I=this['data']['thumbnail'])||void 0x0===I?void 0x0:I['rendition'])||void 0x0===J?void 0x0:J['url'])||(null===(L=null===(K=this['data']['poster'])||void 0x0===K?void 0x0:K['rendition'])||void 0x0===L?void 0x0:L['url']),R=null!==(M=null!=O?O:P)&&void 0x0!==M?M:Q;R&&(this['video']['poster']=R,this['hasPoster']=!0x0);}}['display'](){var D;this['style']['visibility']='visible',this['shouldShowImaAd']?(this['isCurrentlyTryingToRunImaAd']=!0x0,this['adLoaderContainer']['style']['display']=A['Colors']['Black'],this['adContainer']['style']['background']=A['Colors']['Black'],this['adContainer']['appendChild'](this['adLoaderContainer']),this['appendChild'](this['adContainer']),this['adContainer']['style']['display']='flex'):'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&'Vertical'===this['contentParent']['aspectRatio']&&this['interactionElement']['showInteraction'](this['data']['interaction']);}['hide'](){this['adsManager']&&(this['adsManager']['destroy'](),this['isCurrentlyTryingToRunImaAd']=!0x1),this['adContainer']['style']['display']='none',this['style']['visibility']='hidden',this['interactionElement']['hideInteraction']();}['load'](){return k(this,arguments,void 0x0,function*(D='cache'){var E;if(!this['isLoaded']&&'Content'===(null===(E=this['data'])||void 0x0===E?void 0x0:E['type'])&&this['data']&&this['videoUrl']){this['isLoaded']=!0x0,yield this['loadClosedCaptions'](),this['loadInteraction']();try{'cache'===D&&(yield z['VideoCacheService']['downloadAndCacheVideo'](this['videoUrl'])),this['source']['hasAttribute']('src')||(this['source']['setAttribute']('type','video/mp4'),'Safari'===q['deviceDetector']['browser']&&'desktop'===q['deviceDetector']['platform']||!this['hasPoster']?this['source']['setAttribute']('src',this['videoUrl']+'#t=0.01'):this['source']['setAttribute']('src',this['videoUrl'])),this['video']['querySelector']('source')||this['video']['append'](this['source']),this['video']['preload']='auto',this['video']['load']();}catch(F){}}});}['unload'](){return k(this,void 0x0,void 0x0,function*(){var D;this['isLoaded']&&'Content'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type'])&&this['data']&&(this['interactionElement']['unloadInteraction'](),this['captionsElement']['remove'](),this['videoUrl']&&(yield z['VideoCacheService']['deleteVideoFromCache'](this['videoUrl'])),this['resetVideoState']());});}['resetVideoState'](){this['video']['preload']='none',this['video']['pause'](),this['video']['removeAttribute']('poster'),this['source']['removeAttribute']('src'),this['source']['remove'](),this['video']['load'](),this['isVideoStartPlaying']=!0x1,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['removeLoader']();}['removeLoader'](){clearTimeout(this['loaderTimeoutRefAppending']),this['loader']&&this['loader']['isConnected']&&this['loader']['remove']();}['startPlayVideo'](D,E){return k(this,void 0x0,void 0x0,function*(){var F;E<=0x0?z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20startPlayVideo:\x20Max\x20retry\x20times\x20reached,\x20unable\x20to\x20play\x20video.\x20'+(null===(F=this['videoUrl'])||void 0x0===F?void 0x0:F['split']('/')[0x5])):this['isVideoStartPlaying']&&(yield D['play']()['then'](()=>{this['isError']=!0x1,this['isVideoRunning']=!0x0;})['catch'](()=>{var G;z['LoggerService']['error']('BlazeWidgetStoryVideo\x20-\x20catch:\x20startPlayVideo:\x20Error\x20while\x20trying\x20to\x20play\x20video.\x20Retrying...\x20'+(null===(G=this['videoUrl'])||void 0x0===G?void 0x0:G['split']('/')[0x5])),this['tryReloadVideo'](E-0x1);})['finally'](()=>{this['removeLoader']();}));});}['tryReloadVideo'](D){var E;if(this['video']){if(this['maxRetryTimes']=D,this['maxRetryTimes']<=0x0)return void z['LoggerService']['warn']('BlazeWidgetStoryVideo\x20-\x20reloadVideo:\x20Max\x20retry\x20times\x20reached.\x20Stopping\x20retries.');null===(E=this['video'])||void 0x0===E||E['load'](),this['startPlayVideo'](this['video'],this['maxRetryTimes']-0x1);}}['tryToAddLoader'](){var D,E;if(this['video']){if((null===(D=this['video'])||void 0x0===D?void 0x0:D['currentTime'])>0x0)return;if(!this['video']['paused']||this['video']['ended'])return;}this['loader']&&!(null===(E=this['loader'])||void 0x0===E?void 0x0:E['isConnected'])&&(this['loaderTimeoutRefAppending']=setTimeout(()=>{this['loader']&&this['append'](this['loader']);},v['ONE_SECOND']/0x2));}['play'](){return k(this,void 0x0,void 0x0,function*(){if(this['shouldShowImaAd'])return this['shouldShowImaAd']=!0x1,void this['initializeIMA']();z['VideoPlayerService']['isPlaying']=!0x0,this['isVideoStartPlaying']=!0x0,this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['tryToAddLoader'](),this['video']&&this['video']['readyState']>=0x2&&(yield this['startPlayVideo'](this['video'],this['maxRetryTimes']));});}['pause'](){this['isVideoStartPlaying']=!0x1,this['video']['pause'](),this['removeLoader']();}set['currentTime'](D){var E;(null===(E=this['video'])||void 0x0===E?void 0x0:E['currentTime'])&&(this['video']['currentTime']=D);}get['currentTime'](){var D;return(null===(D=this['video'])||void 0x0===D?void 0x0:D['currentTime'])||0x0;}get['duration'](){var D;return(null===(D=this['video'])||void 0x0===D?void 0x0:D['duration'])||0x0;}['videoDurationMetrics'](){return k(this,void 0x0,void 0x0,function*(){yield this['getVideoDuration']()['then'](D=>D)['catch'](D=>{});});}['requestFrameCallback'](D){var E,F,G;try{(null===(E=this['video'])||void 0x0===E?void 0x0:E['requestVideoFrameCallback'])?null===(G=null===(F=this['video'])||void 0x0===F?void 0x0:F['requestVideoFrameCallback'])||void 0x0===G||G['call'](F,D):this['videoFrameCallback']=D;}catch(H){}}['mainElement'](){return this['video'];}get['paused'](){return!this['isVideoStartPlaying'];}get['muted'](){var D;return Boolean(null===(D=this['video'])||void 0x0===D?void 0x0:D['muted']);}set['muted'](D){this['video']['muted']=D;}get['isAd'](){var D;return this['isCurrentlyTryingToRunImaAd']||'Ad'===(null===(D=this['data'])||void 0x0===D?void 0x0:D['type']);}['render'](){this['video']&&(this['video']['style']['borderRadius']='mobile'===q['deviceDetector']['platform']?'0px':'20px');}['restartVideo'](){this['video']['paused']?(this['video']['currentTime']=0x0,this['load'](),this['play']()):this['video']['currentTime']=0x0;}['initializeIMA'](){var D,E,F,G,H;if(!this['adContainer']||!this['data']['imaUrl'])return;this['googleIMA']['settings']['setDisableCustomPlaybackForIOS10Plus'](!0x0),this['adDisplayContainer']=new this['googleIMA']['AdDisplayContainer'](this['adContainer'],this['video']);const I=new this['googleIMA']['AdsLoader'](this['adDisplayContainer']);I['addEventListener'](this['googleIMA']['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],K=>this['onAdsManagerLoaded'](K),!0x1),I['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),!0x1),this['video']['addEventListener']('ended',I['contentComplete']());const J=new this['googleIMA']['AdsRequest']();J['adTagUrl']=this['buildImaUrl'](this['data']['imaUrl']),J['linearAdSlotWidth']=null===(D=this['video'])||void 0x0===D?void 0x0:D['clientWidth'],J['linearAdSlotHeight']=null===(E=this['video'])||void 0x0===E?void 0x0:E['clientHeight'],J['nonLinearAdSlotWidth']=null===(F=this['video'])||void 0x0===F?void 0x0:F['clientWidth'],J['nonLinearAdSlotHeight']=(null!==(H=null===(G=this['video'])||void 0x0===G?void 0x0:G['clientHeight'])&&void 0x0!==H?H:0x0)/0x3,I['requestAds'](J);}['buildImaUrl'](D){var E,F;const G=(null===(F=null===(E=z['ConfigService']['imaAdHandler'])||void 0x0===E?void 0x0:E['provideAdExtraParams'])||void 0x0===F?void 0x0:F['call'](E))||{},H=new URL(D);H['searchParams']['set']('url',document['location']['href']),H['searchParams']['set']('vpmute',z['VideoPlayerService']['isMuted']?'1':'0'),H['searchParams']['set']('plcmt','1'),H['searchParams']['set']('vpos','midroll');for(const L in G)H['searchParams']['set'](L,G[L]);const I=this['data']['adContext'],J=I?Object['keys'](I)['map'](M=>M+'='+I[M])['join']('&'):'';if(J){let M=H['searchParams']['get']('cust_params');M=M?M+'&'+J:J,H['searchParams']['set']('cust_params',M);}const K=H['searchParams']['get']('sz');if(K){const N='Horizontal'===this['contentParent']['aspectRatio']?v['IMA_RATIOS']['vertical']:v['IMA_RATIOS']['horizontal'];H['searchParams']['set']('sz',K['split']('|')['filter'](O=>O!==N)['join']('|'));}return H['toString']();}['onAdsManagerLoaded'](D){const E=new this['googleIMA']['AdsRenderingSettings']();E['restoreCustomPlaybackStateOnAdBreakComplete']=!0x0,this['adsManager']=D['getAdsManager'](this['video'],E),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)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CLICK'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['COMPLETE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['LOADED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['PAUSED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['RESUMED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['RESUMED'],()=>{this['dispatchEvent'](new CustomEvent(x['InternalEvent']['AD_RESUMED'],{'bubbles':!0x0,'cancelable':!0x1}));}),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['SKIPPED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['STARTED'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['MIDPOINT'],this['onAdEvent']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE'],this['onAdEvent']['bind'](this)),window['addEventListener']('blur',this['onBlur']['bind'](this)),window['addEventListener']('focus',this['onFocus']['bind'](this)),document['addEventListener']('visibilitychange',this['onVisibile']['bind'](this)),window['addEventListener']('resize',this['onWindowResize']['bind'](this)),this['loadAds']();}['onAdEvent'](D){var E,F,G,H;const I={[this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED']]:v['ImaAdAction']['ALL_ADS_COMPLETED'],[this['googleIMA']['AdEvent']['Type']['CLICK']]:v['ImaAdAction']['CLICK'],[this['googleIMA']['AdEvent']['Type']['COMPLETE']]:v['ImaAdAction']['COMPLETED'],[this['googleIMA']['AdEvent']['Type']['LOADED']]:v['ImaAdAction']['LOADED'],[this['googleIMA']['AdEvent']['Type']['PAUSED']]:v['ImaAdAction']['PAUSED'],[this['googleIMA']['AdEvent']['Type']['RESUMED']]:v['ImaAdAction']['RESUMED'],[this['googleIMA']['AdEvent']['Type']['SKIPPED']]:v['ImaAdAction']['SKIPPED'],[this['googleIMA']['AdEvent']['Type']['STARTED']]:v['ImaAdAction']['STARTED'],[this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE']]:v['ImaAdAction']['FIRST_QUARTILE'],[this['googleIMA']['AdEvent']['Type']['MIDPOINT']]:v['ImaAdAction']['MIDPOINT'],[this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE']]:v['ImaAdAction']['THIRD_QUARTILE']},J=null===(E=this['contentParent'])||void 0x0===E?void 0x0:E['getRefferingObject'](),K=D['getAd']()['data'],L=I[D['type']];z['AnalyticsService']['pushImaAdEvent'](L,{'story_id':null===(F=this['contentParent'])||void 0x0===F?void 0x0:F['data']['id'],'story_title':null===(G=this['contentParent'])||void 0x0===G?void 0x0:G['data']['title'],'ad_id':K['adId'],'ad_title':K['title'],'ad_description':K['description'],'ad_system':K['adSystem'],'ad_duration':K['duration'],'skippable':K['skippable'],'skip_time_offset':K['skipTimeOffset'],'advertiser_name':K['advertiserName'],'ima_url':this['data']['imaUrl'],'player_orientation':null===(H=this['contentParent'])||void 0x0===H?void 0x0:H['aspectRatio']},void 0x0,J);}['onWindowResize'](){B!==window['innerWidth']&&(B=window['innerWidth'],this['adsManager']&&this['video']&&setTimeout(()=>{const D=this['video']['getBoundingClientRect'](),E=D['width'],F=D['height'];this['adsManager']['resize'](E,F,this['googleIMA']['ViewMode']['NORMAL']);},v['ONE_SECOND']/0x4));}['onVisibile'](){this['adsManager']&&(document['hidden']?this['adsManager']['pause']():this['adsManager']['resume']());}['onBlur'](){this['adsManager']&&this['adsManager']['pause']();}['onFocus'](){this['adsManager']&&this['adsManager']['resume']();}['onAdError'](){this['onContentResumeRequested']();}['loadAds'](){if(this['adDisplayContainer']['initialize'](),!this['video'])return;const D=this['video']['getBoundingClientRect'](),E=D['width'],F=D['height'];try{this['adsManager']['init'](E,F,this['googleIMA']['ViewMode']['NORMAL']),this['adsManager']['start']();}catch(G){this['onContentResumeRequested']();}}['onContentPauseRequested'](){this['removeAdLoader'](),this['pause'](),this['interactionElement']['hideInteraction']();}['onContentResumeRequested'](){var D;this['adsManager']&&(this['adsManager']['destroy'](),this['adsManager']=null,window['removeEventListener']('blur',this['onBlur']),window['removeEventListener']('focus',this['onFocus']),document['removeEventListener']('visibilitychange',this['onVisibile']),window['removeEventListener']('resize',this['onWindowResize'])),this['adContainer']&&(this['adContainer']['innerHTML']=''),this['removeAdLoader'](),this['adContainer']['remove'](),document['hidden']||this['play'](),this['isCurrentlyTryingToRunImaAd']=!0x1,null===(D=this['contentParent'])||void 0x0===D||D['adjustContentView'](),this['interactionElement']['showInteraction'](),this['contentParent']instanceof m['BlazeWidgetStory']&&this['contentParent']['event'](v['StoryAction']['PageStart'],{}),this['dispatchEvent'](new CustomEvent(x['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}['removeAdLoader'](){this['adLoaderContainer']&&this['adContainer']&&(this['adLoaderContainer']['style']['display']='none',this['adContainer']['style']['background']='transparent');}['loadInteraction'](){var D;if('Content'!==(null===(D=this['data'])||void 0x0===D?void 0x0:D['type']))return;const E=this['data']['interaction'];E&&(this['interactionElement']['addEventListener'](w['INTERACTION_ANALYTICS'],this['handleInteractionEvent']['bind'](this)),this['appendChild'](this['interactionElement']),this['interactionElement']['loadInteraction'](E));}['handleInteractionEvent'](D){var E,F;z['AnalyticsService']['pushInteractionEvent'](D['detail']['action'],Object['assign'](Object['assign']({},D['detail']['body']),{'content_id':this['contentParent']['data']['id'],'content_title':this['contentParent']['data']['title'],'content_page_id':null===(E=this['data'])||void 0x0===E?void 0x0:E['id'],'content_type':'story','audio_state':z['VideoPlayerService']['isMuted']?'Mute':'Unmute','content_extra_info':'true'===(null===(F=z['AppConfigurationService']['appConfigurations'])||void 0x0===F?void 0x0:F['configurations']['analyticsAddEntitiesInfo'])?JSON['stringify'](this['contentParent']['data']['entities']):void 0x0}),void 0x0,this['contentParent']['getRefferingObject']());}}g['BlazeWidgetVideo']=C;},0x1c40:function(d,f,g){var h;!function(a0,a1){'use strict';var a2='function',a3='undefined',a4='object',a5='string',a6='major',a7='model',a8='name',a9='type',aa='vendor',ab='version',ac='architecture',ad='console',ae='mobile',af='tablet',ag='smarttv',ah='wearable',ai='embedded',aj='Amazon',ak='Apple',al='ASUS',am='BlackBerry',an='Browser',ao='Chrome',ap='Firefox',aq='Google',ar='Huawei',as='LG',at='Microsoft',au='Motorola',av='Opera',aw='Samsung',ax='Sharp',ay='Sony',az='Xiaomi',aA='Zebra',aB='Facebook',aC='Chromium\x20OS',aD='Mac\x20OS',aE=function(aP){for(var aQ={},aR=0x0;aR<aP['length'];aR++)aQ[aP[aR]['toUpperCase']()]=aP[aR];return aQ;},aF=function(aP,aQ){return typeof aP===a5&&-0x1!==aG(aQ)['indexOf'](aG(aP));},aG=function(aP){return aP['toLowerCase']();},aH=function(aP,aQ){if(typeof aP===a5)return aP=aP['replace'](/^\s\s*/,''),typeof aQ===a3?aP:aP['substring'](0x0,0x1f4);},aI=function(aP,aQ){for(var aR,aS,aT,aU,aV,aW,aX=0x0;aX<aQ['length']&&!aV;){var aY=aQ[aX],aZ=aQ[aX+0x1];for(aR=aS=0x0;aR<aY['length']&&!aV&&aY[aR];)if(aV=aY[aR++]['exec'](aP)){for(aT=0x0;aT<aZ['length'];aT++)aW=aV[++aS],typeof(aU=aZ[aT])===a4&&aU['length']>0x0?0x2===aU['length']?typeof aU[0x1]==a2?this[aU[0x0]]=aU[0x1]['call'](this,aW):this[aU[0x0]]=aU[0x1]:0x3===aU['length']?typeof aU[0x1]!==a2||aU[0x1]['exec']&&aU[0x1]['test']?this[aU[0x0]]=aW?aW['replace'](aU[0x1],aU[0x2]):a1:this[aU[0x0]]=aW?aU[0x1]['call'](this,aW,aU[0x2]):a1:0x4===aU['length']&&(this[aU[0x0]]=aW?aU[0x3]['call'](this,aW['replace'](aU[0x1],aU[0x2])):a1):this[aU]=aW||a1;}aX+=0x2;}},aJ=function(aP,aQ){for(var aR in aQ)if(typeof aQ[aR]===a4&&aQ[aR]['length']>0x0){for(var aS=0x0;aS<aQ[aR]['length'];aS++)if(aF(aQ[aR][aS],aP))return'?'===aR?a1:aR;}else{if(aF(aQ[aR],aP))return'?'===aR?a1:aR;}return aP;},aK={'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'},aL={'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,av+'\x20Mini']],[/\bopr\/([\w\.]+)/i],[ab,[a8,av]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[ab,[a8,'Baidu']],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a8,ab],[/(?:\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,av+'\x20Touch']],[/coc_coc\w+\/([\w\.]+)/i],[ab,[a8,'Coc\x20Coc']],[/dolfin\/([\w\.]+)/i],[ab,[a8,'Dolphin']],[/coast\/([\w\.]+)/i],[ab,[a8,av+'\x20Coast']],[/miuibrowser\/([\w\.]+)/i],[ab,[a8,'MIUI\x20'+an]],[/fxios\/([-\w\.]+)/i],[ab,[a8,ap]],[/\bqihu|(qi?ho?o?|360)browser/i],[[a8,'360\x20'+an]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[a8,/(.+)/,'$1\x20'+an],ab],[/samsungbrowser\/([\w\.]+)/i],[ab,[a8,aw+'\x20Internet']],[/(comodo_dragon)\/([\w\.]+)/i],[[a8,/_/g,'\x20'],ab],[/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|2345Explorer)[\/ ]?([\w\.]+)/i],[a8,ab],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[a8],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a8,aB],ab],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\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,aJ,{'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],[/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|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[a8,ab],[/(cobalt)\/([\w\.]+)/i],[a8,[ab,/master.|lts./,'']]],'cpu':[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ac,'amd64']],[/(ia32(?=;))/i],[[ac,aG]],[/((?:i[346]|x)86)[;\)]/i],[[ac,'ia32']],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ac,'arm64']],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ac,'armhf']],[/windows (ce|mobile); ppc;/i],[[ac,'arm']],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ac,/ower/,'',aG]],[/(sun4\w)[;\)]/i],[[ac,'sparc']],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ac,aG]]],'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,aw],[a9,af]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[a7,[aa,aw],[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,ax],[a9,ae]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,af]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a7,[aa,ar],[a9,ae]],[/\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)?)(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,ae]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,az],[a9,af]],[/; (\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,'OPPO'],[a9,ae]],[/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[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a7,[aa,au],[a9,ae]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a7,[aa,au],[a9,af]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a7,[aa,as],[a9,af]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a7,[aa,as],[a9,ae]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a7,[aa,'Lenovo'],[a9,af]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a7,/_/g,'\x20'],[aa,'Nokia'],[a9,ae]],[/(pixel c)\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,ay],[a9,ae]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a7,'Xperia\x20Tablet'],[aa,ay],[a9,af]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a7,[aa,'OnePlus'],[a9,ae]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( 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.+; ([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]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[aa,a7,[a9,ae]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/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,at],[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]],[/(shield[\w ]+) b/i],[a7,[aa,'Nvidia'],[a9,af]],[/(sprint) (\w+)/i],[aa,a7,[a9,ae]],[/(kin\.[onetw]{3})/i],[[a7,/\./g,'\x20'],[aa,at],[a9,ae]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a7,[aa,aA],[a9,af]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a7,[aa,aA],[a9,ae]],[/smart-tv.+(samsung)/i],[aa,[a9,ag]],[/hbbtv.+maple;(\d+)/i],[[a7,/^/,'SmartTV'],[aa,aw],[a9,ag]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[aa,as],[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]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a7,[aa,ax],[a9,ag]],[/(bravia[\w ]+)( bui|\))/i],[a7,[aa,ay],[a9,ag]],[/(mitv-\w{5}) bui/i],[a7,[aa,az],[a9,ag]],[/Hbbtv.*(technisat) (.*);/i],[aa,a7,[a9,ag]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[aa,aH],[a7,aH],[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,'Nvidia'],[a9,ad]],[/(playstation [345portablevi]+)/i],[a7,[aa,ay],[a9,ad]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a7,[aa,at],[a9,ad]],[/((pebble))app/i],[aa,a7,[a9,ah]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a7,[aa,ak],[a9,ah]],[/droid.+; (glass) \d/i],[a7,[aa,aq],[a9,ah]],[/droid.+; (wt63?0{2,3})\)/i],[a7,[aa,aA],[a9,ah]],[/(quest( 2| pro)?)/i],[a7,[aa,aB],[a9,ah]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[aa,[a9,ai]],[/(aeobc)\b/i],[a7,[aa,aj],[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]],[/(android[-\w\. ]{0,9});.+buil/i],[a7,[aa,'Generic']]],'engine':[[/windows.+ edge\/([\w\.]+)/i],[ab,[a8,'EdgeHTML']],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ab,[a8,'Blink']],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a8,ab],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ab,a8]],'os':[[/microsoft (windows) (vista|xp)/i],[a8,ab],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[a8,[ab,aJ,aK]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ab,aJ,aK],[a8,'Windows']],[/ip[honead]{2,4}\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,aD],[ab,/_/g,'.']],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ab,a8],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[a8,ab],[/\(bb(10);/i],[ab,[a8,am]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\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,aC],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) ?([\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]]},aM=function(aP,aQ){if(typeof aP===a4&&(aQ=aP,aP=a1),!(this instanceof aM))return new aM(aP,aQ)['getResult']();var aR=typeof a0!==a3&&a0['navigator']?a0['navigator']:a1,aS=aP||(aR&&aR['userAgent']?aR['userAgent']:''),aT=aR&&aR['userAgentData']?aR['userAgentData']:a1,aU=aQ?function(aW,aX){var aY={};for(var aZ in aW)aX[aZ]&&aX[aZ]['length']%0x2==0x0?aY[aZ]=aX[aZ]['concat'](aW[aZ]):aY[aZ]=aW[aZ];return aY;}(aL,aQ):aL,aV=aR&&aR['userAgent']==aS;return this['getBrowser']=function(){var aW,aX={};return aX[a8]=a1,aX[ab]=a1,aI['call'](aX,aS,aU['browser']),aX[a6]=typeof(aW=aX[ab])===a5?aW['replace'](/[^\d\.]/g,'')['split']('.')[0x0]:a1,aV&&aR&&aR['brave']&&typeof aR['brave']['isBrave']==a2&&(aX[a8]='Brave'),aX;},this['getCPU']=function(){var aW={};return aW[ac]=a1,aI['call'](aW,aS,aU['cpu']),aW;},this['getDevice']=function(){var aW={};return aW[aa]=a1,aW[a7]=a1,aW[a9]=a1,aI['call'](aW,aS,aU['device']),aV&&!aW[a9]&&aT&&aT['mobile']&&(aW[a9]=ae),aV&&'Macintosh'==aW[a7]&&aR&&typeof aR['standalone']!==a3&&aR['maxTouchPoints']&&aR['maxTouchPoints']>0x2&&(aW[a7]='iPad',aW[a9]=af),aW;},this['getEngine']=function(){var aW={};return aW[a8]=a1,aW[ab]=a1,aI['call'](aW,aS,aU['engine']),aW;},this['getOS']=function(){var aW={};return aW[a8]=a1,aW[ab]=a1,aI['call'](aW,aS,aU['os']),aV&&!aW[a8]&&aT&&'Unknown'!=aT['platform']&&(aW[a8]=aT['platform']['replace'](/chrome os/i,aC)['replace'](/macos/i,aD)),aW;},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 aS;},this['setUA']=function(aW){return aS=typeof aW===a5&&aW['length']>0x1f4?aH(aW,0x1f4):aW,this;},this['setUA'](aS),this;};aM['VERSION']='1.0.37',aM['BROWSER']=aE([a8,ab,a6]),aM['CPU']=aE([ac]),aM['DEVICE']=aE([a7,aa,a9,ad,ae,ag,af,ah,ai]),aM['ENGINE']=aM['OS']=aE([a8,ab]),typeof f!==a3?(d['exports']&&(f=d['exports']=aM),f['UAParser']=aM):g['amdO']?(h=function(){return aM;}['call'](f,g,f,d))===a1||(d['exports']=h):typeof a0!==a3&&(a0['UAParser']=aM);var aN=typeof a0!==a3&&(a0['jQuery']||a0['Zepto']);if(aN&&!aN['ua']){var aO=new aM();aN['ua']=aO['getResult'](),aN['ua']['get']=function(){return aO['getUA']();},aN['ua']['set']=function(aP){aO['setUA'](aP);var aQ=aO['getResult']();for(var aR in aQ)aN['ua'][aR]=aQ[aR];};}}('object'==typeof window?window:this);},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']();},0x18a7:(j,k,q)=>{var x=q(0x25e1),z=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 A(W,X){this['name']='ParsingError',this['code']=W['code'],this['message']=X||W['message'];}function B(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 D(){this['values']=z(null);}function E(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=B(W);if(null===a2)throw new A(A['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 A(A['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 D();E(a2,function(a5,a6){switch(a5){case'region':for(var a7=Y['length']-0x1;a7>=0x0;a7--)if(Y[a7]['id']===a6){a4['set'](a5,Y[a7]['region']);break;}break;case'vertical':a4['alt'](a5,a6,['rl','lr']);break;case'line':var a8=a6['split'](','),a9=a8[0x0];a4['integer'](a5,a9),a4['percent'](a5,a9)&&a4['set']('snapToLines',!0x1),a4['alt'](a5,a9,['auto']),0x2===a8['length']&&a4['alt']('lineAlign',a8[0x1],['start','center','end']);break;case'position':a8=a6['split'](','),a4['percent'](a5,a8[0x0]),0x2===a8['length']&&a4['alt']('positionAlign',a8[0x1],['start','center','end']);break;case'size':a4['percent'](a5,a6);break;case'align':a4['alt'](a5,a6,['start','center','end','left','right']);}},/:/,/\s/),a3['region']=a4['get']('region',null),a3['vertical']=a4['get']('vertical','');try{a3['line']=a4['get']('line','auto');}catch(a5){}a3['lineAlign']=a4['get']('lineAlign','start'),a3['snapToLines']=a4['get']('snapToLines',!0x0),a3['size']=a4['get']('size',0x64);try{a3['align']=a4['get']('align','center');}catch(a6){a3['align']=a4['get']('align','middle');}try{a3['position']=a4['get']('position','auto');}catch(a7){a3['position']=a4['get']('position',{'start':0x0,'left':0x0,'center':0x32,'middle':0x32,'end':0x64,'right':0x64},a3['align']);}a3['positionAlign']=a4['get']('positionAlign',{'start':'start','left':'start','center':'center','middle':'center','end':'end','right':'end'},a3['align']);}(W,X);}A['prototype']=z(Error['prototype']),A['prototype']['constructor']=A,A['Errors']={'BadSignature':{'code':0x0,'message':'Malformed\x20WebVTT\x20signature.'},'BadTimeStamp':{'code':0x1,'message':'Malformed\x20time\x20stamp.'}},D['prototype']={'set':function(W,X){this['get'](W)||''===X||(this['values'][W]=X);},'get':function(W,X,Y){return Y?this['has'](W)?this['values'][W]:X[Y]:this['has'](W)?this['values'][W]:X;},'has':function(W){return W in this['values'];},'alt':function(W,X,Y){for(var Z=0x0;Z<Y['length'];++Z)if(X===Y[Z]){this['set'](W,X);break;}},'integer':function(W,X){/^-?\d+$/['test'](X)&&this['set'](W,parseInt(X,0xa));},'percent':function(W,X){return!!(X['match'](/^([\d]{1,3})(\.[\d]*)?%$/)&&(X=parseFloat(X))>=0x0&&X<=0x64)&&(this['set'](W,X),!0x0);}};var G=x['createElement']&&x['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,ab){return!K[ab['localName']]||K[ab['localName']]===aa['localName'];}function a0(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 a1,a2,a3=W['document']['createElement']('div'),a4=a3,a5=[];null!==(a1=Y());)if('<'!==a1[0x0])a4['appendChild'](W['document']['createTextNode']((a2=a1,G['innerHTML']=a2,a2=G['textContent'],G['textContent']='',a2)));else{if('/'===a1[0x1]){a5['length']&&a5[a5['length']-0x1]===a1['substr'](0x2)['replace']('>','')&&(a5['pop'](),a4=a4['parentNode']);continue;}var a6,a7=B(a1['substr'](0x1,a1['length']-0x2));if(a7){a6=W['document']['createProcessingInstruction']('timestamp',a7),a4['appendChild'](a6);continue;}var a8=a1['match'](/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!a8)continue;if(!(a6=a0(a8[0x1],a8[0x3])))continue;if(!Z(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 N=[[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 O(W){for(var X=0x0;X<N['length'];X++){var Y=N[X];if(W>=Y[0x0]&&W<=Y[0x1])return!0x0;}return!0x1;}function P(W){var X=[],Y='';if(!W||!W['childNodes'])return'ltr';function Z(a2,a3){for(var a4=a3['childNodes']['length']-0x1;a4>=0x0;a4--)a2['push'](a3['childNodes'][a4]);}function a0(a2){if(!a2||!a2['length'])return null;var a3=a2['pop'](),a4=a3['textContent']||a3['innerText'];if(a4){var a5=a4['match'](/^.*(\n|\r)/);return a5?(a2['length']=0x0,a5[0x0]):a4;}return'ruby'===a3['tagName']?a0(a2):a3['childNodes']?(Z(a2,a3),a0(a2)):void 0x0;}for(Z(X,W);Y=a0(X);)for(var a1=0x0;a1<Y['length'];a1++)if(O(Y['charCodeAt'](a1)))return'rtl';return'ltr';}function Q(){}function R(W,X,Y){Q['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':P(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 T(W){var X,Y,Z,a0;if(W['div']){Y=W['div']['offsetHeight'],Z=W['div']['offsetWidth'],a0=W['div']['offsetTop'];var a1=(a1=W['div']['childNodes'])&&(a1=a1[0x0])&&a1['getClientRects']&&a1['getClientRects']();W=W['div']['getBoundingClientRect'](),X=a1?Math['max'](a1[0x0]&&a1[0x0]['height']||0x0,W['height']/a1['length']):0x0;}this['left']=W['left'],this['right']=W['right'],this['top']=W['top']||a0,this['height']=W['height']||Y,this['bottom']=W['bottom']||a0+(W['height']||Y),this['width']=W['width']||Z,this['lineHeight']=void 0x0!==X?X:W['lineHeight'];}function U(W,X,Y,Z){var a0=new T(X),a1=X['cue'],a2=function(ab){if('number'==typeof ab['line']&&(ab['snapToLines']||ab['line']>=0x0&&ab['line']<=0x64))return ab['line'];if(!ab['track']||!ab['track']['textTrackList']||!ab['track']['textTrackList']['mediaElement'])return-0x1;for(var ac=ab['track'],ad=ac['textTrackList'],ae=0x0,af=0x0;af<ad['length']&&ad[af]!==ac;af++)'showing'===ad[af]['mode']&&ae++;return-0x1*++ae;}(a1),a3=[];if(a1['snapToLines']){var a4;switch(a1['vertical']){case'':a3=['+y','-y'],a4='height';break;case'rl':a3=['+x','-x'],a4='width';break;case'lr':a3=['-x','+x'],a4='width';}var a5=a0['lineHeight'],a6=a5*Math['round'](a2),a7=Y[a4]+a5,a8=a3[0x0];Math['abs'](a6)>a7&&(a6=a6<0x0?-0x1:0x1,a6*=Math['ceil'](a7/a5)*a5),a2<0x0&&(a6+=''===a1['vertical']?Y['height']:Y['width'],a3=a3['reverse']()),a0['move'](a8,a6);}else{var a9=a0['lineHeight']/Y['height']*0x64;switch(a1['lineAlign']){case'center':a2-=a9/0x2;break;case'end':a2-=a9;}switch(a1['vertical']){case'':X['applyStyles']({'top':X['formatStyle'](a2,'%')});break;case'rl':X['applyStyles']({'left':X['formatStyle'](a2,'%')});break;case'lr':X['applyStyles']({'right':X['formatStyle'](a2,'%')});}a3=['+y','-x','+x','-y'],a0=new T(X);}var aa=function(ab,ac){for(var ad,ae=new T(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 T(ab),af=ah),ab=new T(ae);}return ad||ae;}(a0,a3);X['move'](aa['toCSSCompatValues'](Y));}function V(){}Q['prototype']['applyStyles']=function(W,X){for(var Y in(X=X||this['div'],W))W['hasOwnProperty'](Y)&&(X['style'][Y]=W[Y]);},Q['prototype']['formatStyle']=function(W,X){return 0x0===W?0x0:W+X;},R['prototype']=z(Q['prototype']),R['prototype']['constructor']=R,T['prototype']['move']=function(W,X){switch(X=void 0x0!==X?X:this['lineHeight'],W){case'+x':this['left']+=X,this['right']+=X;break;case'-x':this['left']-=X,this['right']-=X;break;case'+y':this['top']+=X,this['bottom']+=X;break;case'-y':this['top']-=X,this['bottom']-=X;}},T['prototype']['overlaps']=function(W){return this['left']<W['right']&&this['right']>W['left']&&this['top']<W['bottom']&&this['bottom']>W['top'];},T['prototype']['overlapsAny']=function(W){for(var X=0x0;X<W['length'];X++)if(this['overlaps'](W[X]))return!0x0;return!0x1;},T['prototype']['within']=function(W){return this['top']>=W['top']&&this['bottom']<=W['bottom']&&this['left']>=W['left']&&this['right']<=W['right'];},T['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'];}},T['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']);},T['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']};},T['getSimpleBoxPosition']=function(W){var X=W['div']?W['div']['offsetHeight']:W['tagName']?W['offsetHeight']:0x0,Y=W['div']?W['div']['offsetWidth']:W['tagName']?W['offsetWidth']:0x0,Z=W['div']?W['div']['offsetTop']:W['tagName']?W['offsetTop']:0x0;return{'left':(W=W['div']?W['div']['getBoundingClientRect']():W['tagName']?W['getBoundingClientRect']():W)['left'],'right':W['right'],'top':W['top']||Z,'height':W['height']||X,'bottom':W['bottom']||Z+(W['height']||X),'width':W['width']||Y};},V['StringDecoder']=function(){return{'decode':function(W){if(!W)return'';if('string'!=typeof W)throw new Error('Error\x20-\x20expected\x20string\x20data.');return decodeURIComponent(encodeURIComponent(W));}};},V['convertCueToDOMTree']=function(W,X){return W&&X?L(W,X):null;},V['processCues']=function(W,X,Y){if(!W||!X||!Y)return null;for(;Y['firstChild'];)Y['removeChild'](Y['firstChild']);var Z=W['document']['createElement']('div');if(Z['style']['position']='absolute',Z['style']['left']='0',Z['style']['right']='0',Z['style']['top']='0',Z['style']['bottom']='0',Z['style']['margin']='1.5%',Y['appendChild'](Z),function(a4){for(var a5=0x0;a5<a4['length'];a5++)if(a4[a5]['hasBeenReset']||!a4[a5]['displayState'])return!0x0;return!0x1;}(X)){var a0=[],a1=T['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 R(W,a5,a2),Z['appendChild'](a4['div']),U(0x0,a4,a1,a0),a5['displayState']=a4['div'],a0['push'](T['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 A))throw W;this['onparsingerror']&&this['onparsingerror'](W);},'parse':function(W){var X,Y=this;function Z(){for(var a4=Y['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,Y['buffer']=a4['substr'](a5),a6;}W&&(Y['buffer']+=Y['decoder']['decode'](W,{'stream':!0x0}));try{var a0;if('INITIAL'===Y['state']){if(!/\r\n|\n/['test'](Y['buffer']))return this;var a1=(a0=Z())['match'](/^WEBVTT([ \t].*)?$/);if(!a1||!a1[0x0])throw new A(A['Errors']['BadSignature']);Y['state']='HEADER';}for(var a2=!0x1;Y['buffer'];){if(!/\r\n|\n/['test'](Y['buffer']))return this;switch(a2?a2=!0x1:a0=Z(),Y['state']){case'HEADER':/:/['test'](a0)?(X=a0)['match'](/X-TIMESTAMP-MAP/)?E(X,function(a4,a5){'X-TIMESTAMP-MAP'===a4&&function(a6){var a7=new D();E(a6,function(a8,a9){switch(a8){case'MPEGT':a7['integer'](a8+'S',a9);break;case'LOCA':a7['set'](a8+'L',B(a9));}},/[^\d]:/,/,/),Y['ontimestampmap']&&Y['ontimestampmap']({'MPEGTS':a7['get']('MPEGTS'),'LOCAL':a7['get']('LOCAL')});}(a5);},/=/):E(X,function(a4,a5){'Region'===a4&&function(a6){var a7=new D();if(E(a6,function(a9,aa){switch(a9){case'id':a7['set'](a9,aa);break;case'width':a7['percent'](a9,aa);break;case'lines':a7['integer'](a9,aa);break;case'regionanchor':case'viewportanchor':var ab=aa['split'](',');if(0x2!==ab['length'])break;var ac=new D();if(ac['percent']('x',ab[0x0]),ac['percent']('y',ab[0x1]),!ac['has']('x')||!ac['has']('y'))break;a7['set'](a9+'X',ac['get']('x')),a7['set'](a9+'Y',ac['get']('y'));break;case'scroll':a7['alt'](a9,aa,['up']);}},/=/,/\s/),a7['has']('id')){var a8=new(Y['vttjs']['VTTRegion']||Y['window']['VTTRegion'])();a8['width']=a7['get']('width',0x64),a8['lines']=a7['get']('lines',0x3),a8['regionAnchorX']=a7['get']('regionanchorX',0x0),a8['regionAnchorY']=a7['get']('regionanchorY',0x64),a8['viewportAnchorX']=a7['get']('viewportanchorX',0x0),a8['viewportAnchorY']=a7['get']('viewportanchorY',0x64),a8['scroll']=a7['get']('scroll',''),Y['onregion']&&Y['onregion'](a8),Y['regionList']['push']({'id':a7['get']('id'),'region':a8});}}(a5);},/:/):a0||(Y['state']='ID');continue;case'NOTE':a0||(Y['state']='ID');continue;case'ID':if(/^NOTE($|[ \t])/['test'](a0)){Y['state']='NOTE';break;}if(!a0)continue;Y['cue']=new(Y['vttjs']['VTTCue']||Y['window']['VTTCue'])(0x0,0x0,'');try{Y['cue']['align']='center';}catch(a4){Y['cue']['align']='middle';}if(Y['state']='CUE',-0x1===a0['indexOf']('-->')){Y['cue']['id']=a0;continue;}case'CUE':try{F(a0,Y['cue'],Y['regionList']);}catch(a5){Y['reportOrThrowError'](a5),Y['cue']=null,Y['state']='BADCUE';continue;}Y['state']='CUETEXT';continue;case'CUETEXT':var a3=-0x1!==a0['indexOf']('-->');if(!a0||a3&&(a2=!0x0)){Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='ID';continue;}Y['cue']['text']&&(Y['cue']['text']+='\x0a'),Y['cue']['text']+=a0['replace'](/\u2028/g,'\x0a')['replace'](/u2029/g,'\x0a');continue;case'BADCUE':a0||(Y['state']='ID');continue;}}}catch(a6){Y['reportOrThrowError'](a6),'CUETEXT'===Y['state']&&Y['cue']&&Y['oncue']&&Y['oncue'](Y['cue']),Y['cue']=null,Y['state']='INITIAL'===Y['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 A(A['Errors']['BadSignature']);}catch(X){W['reportOrThrowError'](X);}return W['onflush']&&W['onflush'](),this;}},j['exports']=V;},0xb8:d=>{var f={'':0x1,'lr':0x1,'rl':0x1},g={'start':0x1,'center':0x1,'end':0x1,'left':0x1,'right':0x1,'auto':0x1,'line-left':0x1,'line-right':0x1};function h(k){return'string'==typeof k&&!!g[k['toLowerCase']()]&&k['toLowerCase']();}function j(k,q,w){this['hasBeenReset']=!0x1;var x='',z=!0x1,A=k,B=q,C=w,D=null,E='',F=!0x0,G='auto',H='start',I='auto',J='auto',K=0x64,L='center';Object['defineProperties'](this,{'id':{'enumerable':!0x0,'get':function(){return x;},'set':function(M){x=''+M;}},'pauseOnExit':{'enumerable':!0x0,'get':function(){return z;},'set':function(M){z=!!M;}},'startTime':{'enumerable':!0x0,'get':function(){return A;},'set':function(M){if('number'!=typeof M)throw new TypeError('Start\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');A=M,this['hasBeenReset']=!0x0;}},'endTime':{'enumerable':!0x0,'get':function(){return B;},'set':function(M){if('number'!=typeof M)throw new TypeError('End\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');B=M,this['hasBeenReset']=!0x0;}},'text':{'enumerable':!0x0,'get':function(){return C;},'set':function(M){C=''+M,this['hasBeenReset']=!0x0;}},'region':{'enumerable':!0x0,'get':function(){return D;},'set':function(M){D=M,this['hasBeenReset']=!0x0;}},'vertical':{'enumerable':!0x0,'get':function(){return E;},'set':function(M){var N=function(O){return'string'==typeof O&&!!f[O['toLowerCase']()]&&O['toLowerCase']();}(M);if(!0x1===N)throw new SyntaxError('Vertical:\x20an\x20invalid\x20or\x20illegal\x20direction\x20string\x20was\x20specified.');E=N,this['hasBeenReset']=!0x0;}},'snapToLines':{'enumerable':!0x0,'get':function(){return F;},'set':function(M){F=!!M,this['hasBeenReset']=!0x0;}},'line':{'enumerable':!0x0,'get':function(){return G;},'set':function(M){if('number'!=typeof M&&'auto'!==M)throw new SyntaxError('Line:\x20an\x20invalid\x20number\x20or\x20illegal\x20string\x20was\x20specified.');G=M,this['hasBeenReset']=!0x0;}},'lineAlign':{'enumerable':!0x0,'get':function(){return H;},'set':function(M){var N=h(M);N&&(H=N,this['hasBeenReset']=!0x0);}},'position':{'enumerable':!0x0,'get':function(){return I;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Position\x20must\x20be\x20between\x200\x20and\x20100.');I=M,this['hasBeenReset']=!0x0;}},'positionAlign':{'enumerable':!0x0,'get':function(){return J;},'set':function(M){var N=h(M);N&&(J=N,this['hasBeenReset']=!0x0);}},'size':{'enumerable':!0x0,'get':function(){return K;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Size\x20must\x20be\x20between\x200\x20and\x20100.');K=M,this['hasBeenReset']=!0x0;}},'align':{'enumerable':!0x0,'get':function(){return L;},'set':function(M){var N=h(M);if(!N)throw new SyntaxError('align:\x20an\x20invalid\x20or\x20illegal\x20alignment\x20string\x20was\x20specified.');L=N,this['hasBeenReset']=!0x0;}}}),this['displayState']=void 0x0;}j['prototype']['getCueAsHTML']=function(){return WebVTT['convertCueToDOMTree'](window,this['text']);},d['exports']=j;},0x1703:d=>{var f={'':!0x0,'up':!0x0};function g(h){return'number'==typeof h&&h>=0x0&&h<=0x64;}d['exports']=function(){var h=0x64,j=0x3,k=0x0,m=0x64,p=0x0,q=0x64,u='';Object['defineProperties'](this,{'width':{'enumerable':!0x0,'get':function(){return h;},'set':function(v){if(!g(v))throw new Error('Width\x20must\x20be\x20between\x200\x20and\x20100.');h=v;}},'lines':{'enumerable':!0x0,'get':function(){return j;},'set':function(v){if('number'!=typeof v)throw new TypeError('Lines\x20must\x20be\x20set\x20to\x20a\x20number.');j=v;}},'regionAnchorY':{'enumerable':!0x0,'get':function(){return m;},'set':function(v){if(!g(v))throw new Error('RegionAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');m=v;}},'regionAnchorX':{'enumerable':!0x0,'get':function(){return k;},'set':function(v){if(!g(v))throw new Error('RegionAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');k=v;}},'viewportAnchorY':{'enumerable':!0x0,'get':function(){return q;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');q=v;}},'viewportAnchorX':{'enumerable':!0x0,'get':function(){return p;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');p=v;}},'scroll':{'enumerable':!0x0,'get':function(){return u;},'set':function(v){var w=function(x){return'string'==typeof x&&!!f[x['toLowerCase']()]&&x['toLowerCase']();}(v);!0x1===w||(u=w);}}});};},0x21e:()=>{},0x208a:d=>{'use strict';d['exports']=JSON['parse']('{\x22name\x22:\x22@wscsports/blaze-web-sdk\x22,\x22version\x22:\x220.3.14\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:pr\x22:\x22webpack\x20--config\x20webpack.config.prod-pr.js\x22,\x22build:dev\x22:\x22webpack\x20--config\x20webpack.config.dev-pr.js\x22,\x22build:prod\x22:\x22webpack\x20--config\x20webpack.config.prod.js\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:\x22npx\x20playwright\x20test\x22,\x22test:debug\x22:\x22npx\x20playwright\x20test\x20--debug\x22},\x22devDependencies\x22:{\x22@playwright/test\x22:\x22^1.44.1\x22,\x22@types/animejs\x22:\x22^3.1.7\x22,\x22@types/hammerjs\x22:\x22^2.0.45\x22,\x22@types/ua-parser-js\x22:\x22^0.7.36\x22,\x22css-loader\x22:\x22^6.8.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,\x22npm-registry-fetch\x22:\x22^16.0.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,\x22typescript-declaration-webpack-plugin\x22:\x22^0.3.0\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,\x22@types/videojs-vtt.js\x22:\x22^0.15.3\x22,\x22videojs-vtt.js\x22:\x22^0.15.5\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}}');}},b={};function c(d){var f=b[d];if(void 0x0!==f)return f['exports'];var g=b[d]={'exports':{}};return a[d]['call'](g['exports'],g,g['exports'],c),g['exports'];}return c['amdO']={},c['d']=(d,f)=>{for(var g in f)c['o'](f,g)&&!c['o'](d,g)&&Object['defineProperty'](d,g,{'enumerable':!0x0,'get':f[g]});},c['g']=(function(){if('object'==typeof globalThis)return globalThis;try{return this||new Function('return\x20this')();}catch(d){if('object'==typeof window)return window;}}()),c['o']=(d,f)=>Object['prototype']['hasOwnProperty']['call'](d,f),c['r']=d=>{'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](d,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](d,'__esModule',{'value':!0x0});},c(0x1fdc);})()));