(self.webpackChunkwebplex_app=self.webpackChunkwebplex_app||[]).push([[299],{747654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"centerElement",{enumerable:!0,get:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"xy",t="x"===e,r="y"===e;return{transform:"translate3d(".concat(r?0:"-50%",", ").concat(t?0:"-50%",", 0)"),top:t?"auto":"50%",left:r?"auto":"50%"}}},256661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"centerElement",{enumerable:!0,get:function(){return n.centerElement}});var n=r(747654)},213577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OPERATOR",{enumerable:!0,get:function(){return r}});var r={EQUAL:"=",NOT:"!=",EXISTS:"!!"}},120857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(232637),o=/*#__PURE__*/n._(r(644655)),i=/*#__PURE__*/n._(r(634726)),a=function(e,t,r){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e,r);return(0,o.default)(n)?a(r,n,r):n}return(0,i.default)(t,function(e){return a(r,e,r)})},l=a},685971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(565412),o=r(213577),i=function(e,t){var r=n._(t,3),i=r[0],a=r[1],l=r[2],s=e[i];return a===o.OPERATOR.EQUAL?s===l:a===o.OPERATOR.NOT?s!==l:!!s}},511612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAnimation",{enumerable:!0,get:function(){return o}});var n=r(584202);function o(e,t){return(0,n.getFromTheme)("animations.presets.".concat(e,".").concat(t?"to":"from"))}},956176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAnimation",{enumerable:!0,get:function(){return n.getAnimation}});var n=r(511612)},895673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getBgBlur",{enumerable:!0,get:function(){return l}});var n=r(441293),o=r(111290),i=r(584202),a=r(78613),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"01",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r){var l=(0,i.getFromTheme)("blurs.".concat(e))(r),s="@supports not ((-webkit-backdrop-filter: ".concat(l,") or (backdrop-filter: ").concat(l,"))"),u={};return(0,a.isNotEmptyObject)(t)&&(u[s]=t),o._(n._({},u),{backdropFilter:l})}}},895415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLayerBlur",{enumerable:!0,get:function(){return o}});var n=r(584202),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"01";return function(t){return function(){return{filter:(0,n.getFromTheme)("blurs.".concat(e))(t)}}}}},78613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNotEmptyObject",{enumerable:!0,get:function(){return n.isNotEmptyObject}});var n=r(862968)},862968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNotEmptyObject",{enumerable:!0,get:function(){return o}});var n=r(26920),o=function(e){return!!e&&(void 0===e?"undefined":n._(e))==="object"&&!Array.isArray(e)&&Object.keys(e).length>0}},210375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getBgBlur:function(){return n.getBgBlur},getLayerBlur:function(){return o.getLayerBlur}});var n=r(895673),o=r(895415)},257174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(584202),o=function(e){return"".concat((0,n.getFromTheme)("layout.border.radius")(e),"px")}},385343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(584202),o=function(e){return"".concat((0,n.getFromTheme)("layout.paladin.border.radius")(e),"px")}},637986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getBorderRadius:function(){return o.default},getPaladinBorderRadius:function(){return i.default}});var n=r(232637),o=/*#__PURE__*/n._(r(257174)),i=/*#__PURE__*/n._(r(385343))},192247:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e,t,r,n){var o="(".concat(r," - ").concat(n-1," * ").concat(t,")"),i="(".concat(o," / ").concat(n,")"),a="(".concat(i," * ").concat(e,")"),l="(".concat(t," * ").concat(e-1,")");return"".concat(a," + ").concat(l)}},282342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getColumnBasedWidth",{enumerable:!0,get:function(){return o}});var n=/*#__PURE__*/r(232637)._(r(192247)),o=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"100%",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:12;return function(i){var a="function"==typeof t?t(i):t;return{width:"calc(".concat((0,n.default)(e,a,r,o),")")}}}},787085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{columnsFormula:function(){return n.default},getColumnBasedWidth:function(){return o.getColumnBasedWidth}});var n=/*#__PURE__*/r(232637)._(r(192247)),o=r(282342)},41268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(584202),o=function(e){return function(t){var r;return null===(r=(0,n.getFromTheme)("corners.".concat(e))(t))||void 0===r?void 0:r.split(",").map(function(e){return"".concat(e,"px")}).join(" ")}}},71264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCorners",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(41268))},906122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFromColors",{enumerable:!0,get:function(){return o}});var n=r(281909);function o(e){return(0,n.getFromTheme)("colors.".concat(e))}},810647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFromPalette",{enumerable:!0,get:function(){return o}});var n=r(281909);function o(e){return(0,n.getFromTheme)("palette.".concat(e))}},281909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFromTheme",{enumerable:!0,get:function(){return o}});var n=/*#__PURE__*/r(232637)._(r(647234));function o(e){return function(t){return(0,n.default)(t,"theme.".concat(e))}}},896568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRgbaFromColors",{enumerable:!0,get:function(){return o}});var n=r(158739);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r){var o=r.theme,i=null==o?void 0:o.colors,a=e.split(".").reduce(function(e,t){return e[t]},i);return(0,n.rgba)(a,t)}}},677925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRgbaFromPalette",{enumerable:!0,get:function(){return i}});var n=/*#__PURE__*/r(232637)._(r(647234)),o=r(158739);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r){var i=r.theme;return(0,o.rgba)("".concat((0,n.default)(i,"palette.".concat(e))),t)}}},584202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getFromColors:function(){return l.getFromColors},getFromPalette:function(){return n.getFromPalette},getFromTheme:function(){return o.getFromTheme},getRgbaFromColors:function(){return a.getRgbaFromColors},getRgbaFromPalette:function(){return i.getRgbaFromPalette}});var n=r(810647),o=r(281909),i=r(677925),a=r(896568),l=r(906122)},442398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFromProp",{enumerable:!0,get:function(){return l}});var n=r(232637),o=/*#__PURE__*/n._(r(120857)),i=/*#__PURE__*/n._(r(685971)),a=r(213577);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return function(r){if((0,i.default)(r,[e,a.OPERATOR.EXISTS])){var n=r[e];return(0,o.default)(n,t,r)}}}},790243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFromProp",{enumerable:!0,get:function(){return n.getFromProp}});var n=r(442398)},741950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{downArrow:function(){return a},leftArrow:function(){return l},rightArrow:function(){return s},upArrow:function(){return u}});var n=r(441293),o=r(158739),i={height:"0px",width:"0px"},a=function(e,t,r){return n._({borderLeft:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent"),borderRight:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent"),borderTop:"".concat(t," solid ").concat(r)},i)},l=function(e,t,r){return n._({borderBottom:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent"),borderRight:"".concat(t," solid ").concat(r),borderTop:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent")},i)},s=function(e,t,r){return n._({borderBottom:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent"),borderLeft:"".concat(t," solid ").concat(r),borderTop:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent")},i)},u=function(e,t,r){return n._({borderBottom:"".concat(t," solid ").concat(r),borderLeft:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent"),borderRight:"".concat((0,o.math)("".concat(e," / 2"))," solid transparent")},i)}},82012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getIsoscelesTriangle",{enumerable:!0,get:function(){return o}});var n=r(741950),o=function(e,t,r,o){return function(i){var a="function"==typeof e?e(i):e,l="function"==typeof t?t(i):t,s="function"==typeof o?o(i):o,u="";switch(r){case"up":default:u=(0,n.upArrow)(a,l,s);break;case"down":u=(0,n.downArrow)(a,l,s);break;case"left":u=(0,n.leftArrow)(a,l,s);break;case"right":u=(0,n.rightArrow)(a,l,s)}return u}}},221536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getIsoscelesTriangle",{enumerable:!0,get:function(){return n.getIsoscelesTriangle}});var n=r(82012)},462558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLayoutSpacer",{enumerable:!0,get:function(){return o}});var n=r(158739);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){var r,o,i=t.theme;return(0,n.math)("".concat(null==i?void 0:null===(o=i.layout)||void 0===o?void 0:null===(r=o.spacer)||void 0===r?void 0:r.layout," * ").concat(e))}}},540280:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getLayoutSpacer",{enumerable:!0,get:function(){return n.getLayoutSpacer}});var n=r(462558)},849696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPaladinLayoutSpacer",{enumerable:!0,get:function(){return o}});var n=r(158739);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){var r,o,i,a=t.theme;return(0,n.math)("".concat(null==a?void 0:null===(i=a.layout)||void 0===i?void 0:null===(o=i.paladin)||void 0===o?void 0:null===(r=o.spacer)||void 0===r?void 0:r.layout," * ").concat(e))}}},913750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPaladinSpacer",{enumerable:!0,get:function(){return o}});var n=r(158739);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){var r,o,i,a=t.theme;return(0,n.math)("".concat(null==a?void 0:null===(i=a.layout)||void 0===i?void 0:null===(o=i.paladin)||void 0===o?void 0:null===(r=o.spacer)||void 0===r?void 0:r.default," * ").concat(e))}}},52785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getPaladinLayoutSpacer:function(){return o.getPaladinLayoutSpacer},getPaladinSpacer:function(){return n.getPaladinSpacer}});var n=r(913750),o=r(849696)},820404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPaladinTypography",{enumerable:!0,get:function(){return o}});var n=r(325208);function o(e){return function(t){return(0,n.withPaladinTypography)(t.theme)(e)}}},77576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPaladinTypography",{enumerable:!0,get:function(){return n.getPaladinTypography}});var n=r(820404)},790046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(199591),o=r(441293),i=r(111290),a=r(851837),l=r(322322).withMediaQuery,s="default";e.exports=function(e){return function(t,r){if(!a(r))return n._({},t,r);var u=l(e),d=Object.keys(r),c=e.breakpoints.keys,f=d.includes(s)?s:null;return c.map(function(e){return d.includes(e)?e:f}).filter(function(e){return e}).reduce(function(e,a,l,d){if(a!==s&&"xsmall"!==a){var p=d[l+1]===s?c[l+1]:"up";return i._(o._({},e),n._({},u(a,p),n._({},t,r[a])))}return"xsmall"===a&&f?i._(o._({},e),n._({},u(c[l+1],"down"),n._({},t,r[a]))):i._(o._({},e),n._({},t,r[a]))},{})}}},815921:(e,t,r)=>{"use strict";var n=r(790046);e.exports.getResponsiveValue=n},285746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(441293),o=r(584762),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n._({},(0,o.htmlStyles)(e,t),(0,o.textStyles)(t),(0,o.inputStyles)(t),(0,o.buttonStyles)(t),(0,o.imageStyles)(t))}},355583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getScopedResetStyles",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(285746))},690086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(199591),o=function(e){var t,r=e?".".concat(e," "):"";return t={},n._(t,"".concat(r,' [role="button"]'),{cursor:"pointer"}),n._(t,"".concat(r," button"),{MozAppearance:"none",background:"none",borderWidth:0,border:"none",outline:"none",overflow:"visible",padding:0}),n._(t,"".concat(r," button:focus, ").concat(r," button::-moz-focus-inner"),{outline:"none"}),n._(t,"".concat(r," button, ").concat(r," input, ").concat(r," optgroup, ").concat(r," select, ").concat(r," textarea"),{color:"inherit",font:"inherit",margin:0,fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit"}),n._(t,"".concat(r," button, ").concat(r," input, ").concat(r," textarea, ").concat(r," select"),{fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit"}),n._(t,"".concat(r," button, ").concat(r," select"),{textTransform:"none"}),n._(t,"".concat(r," button, html ").concat(r,' input[type="button"], ').concat(r,' input[type="reset"], ').concat(r,' input[type="submit"]'),{WebkitAppearance:"button",cursor:"pointer"}),n._(t,"".concat(r," button[disabled], html ").concat(r," input[disabled]"),{cursor:"default"}),n._(t,"".concat(r," button::-moz-focus-inner, ").concat(r," input::-moz-focus-inner"),{border:0,padding:0}),n._(t,"".concat(r,' [role="button"]'),{cursor:"pointer"}),t}},472583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(199591),o=r(441293),i=function(e,t){var r,i,a,l,s,u,d,c,f,p,v,m,y,g,_,h=t?".".concat(t," "):"";return _={},n._(_,"html ".concat(h),{boxSizing:"border-box",fontFamily:null!==(p=null==e?void 0:null===(i=e.typography)||void 0===i?void 0:null===(r=i.font)||void 0===r?void 0:r.primary)&&void 0!==p?p:"",fontSize:"62.5%",msTextSizeAdjust:"100%",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitTextSizeAdjust:"100%"}),n._(_,"body ".concat(h),o._({background:null!==(v=null==e?void 0:null===(l=e.palette)||void 0===l?void 0:null===(a=l.ui)||void 0===a?void 0:a.first)&&void 0!==v?v:"",backgroundSize:"cover",color:null!==(m=null==e?void 0:null===(u=e.palette)||void 0===u?void 0:null===(s=u.text)||void 0===s?void 0:s.third)&&void 0!==m?m:"",fontFamily:null!==(y=null==e?void 0:null===(c=e.typography)||void 0===c?void 0:null===(d=c.p1)||void 0===d?void 0:d.fontFamily)&&void 0!==y?y:"",margin:0,minWidth:"320px",MozOsxFontSmoothing:"grayscale",textRendering:"optimizelegibility",WebkitFontSmoothing:"antialiased"},null!==(g=null==e?void 0:null===(f=e.overrides)||void 0===f?void 0:f.page)&&void 0!==g?g:{})),n._(_,"".concat(h," *::before, ").concat(h," *::after, ").concat(h," *"),{boxSizing:"border-box"}),n._(_,"".concat(h," [hidden], ").concat(h," template"),{display:"none"}),n._(_,"".concat(h," ul"),{margin:0,padding:0}),n._(_,"".concat(h," article, ").concat(h," aside, ").concat(h," details, ").concat(h," figcaption, ").concat(h," figure, ").concat(h," footer, ").concat(h," header, ").concat(h," hgroup, ").concat(h," main, ").concat(h," menu, ").concat(h," nav, ").concat(h," section, ").concat(h," summary"),{display:"block"}),n._(_,"".concat(h," [hidden], ").concat(h," template"),{display:"none"}),n._(_,"".concat(h," abbr[title]"),{borderBottom:"1px dotted"}),n._(_,"".concat(h," audio, ").concat(h," audio, ").concat(h," canvas, ").concat(h," progress, ").concat(h," video"),{display:"inline-block",verticalAlign:"baseline"}),n._(_,"".concat(h," audio:not([controls])"),{display:"none",height:0}),n._(_,"".concat(h," code, ").concat(h," kbd, ").concat(h," pre, ").concat(h," samp"),{fontFamily:"monospace, monospace",fontSize:"1em"}),n._(_,"".concat(h," dfn"),{fontStyle:"italic"}),n._(_,"".concat(h," fieldset"),{border:"1px solid #c0c0c0",margin:"0 2px",padding:"0.35em 0.625em 0.75em"}),n._(_,"".concat(h," hr"),{mozBorderBottomColors:"none",mozBorderLeftColors:"none",mozBorderRightColors:"none",mozBorderTopColors:"none",borderColor:" #eee -moz-use-text-color -moz-use-text-color",borderImage:"none",borderStyle:"solid none none",borderWidth:"1px 0 0",boxSizing:"content-box",height:0,marginBottom:"20px",marginTop:"20px"}),n._(_,"".concat(h," optgroup"),{fontWeight:"bold"}),n._(_,"".concat(h," table"),{borderCollapse:"collapse",borderSpacing:0}),n._(_,"".concat(h," td, ").concat(h," th"),{padding:0}),_}},550717:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(199591),o=function(e){var t,r=e?".".concat(e," "):"";return t={},n._(t,"".concat(r," figure"),{margin:"1em 40px"}),n._(t,"".concat(r," img"),{border:0,verticalAlign:"middle"}),n._(t,"".concat(r," svg:not(:root)"),{overflow:"hidden"}),t}},584762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{buttonStyles:function(){return o.default},htmlStyles:function(){return i.default},imageStyles:function(){return a.default},inputStyles:function(){return l.default},textStyles:function(){return s.default}});var n=r(232637),o=/*#__PURE__*/n._(r(690086)),i=/*#__PURE__*/n._(r(472583)),a=/*#__PURE__*/n._(r(550717)),l=/*#__PURE__*/n._(r(151656)),s=/*#__PURE__*/n._(r(841041))},151656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(199591),o=function(e){var t,r=e?".".concat(e):"";return t={},n._(t,"".concat(r," input"),{lineHeight:"normal"}),n._(t,"".concat(r,' input[type="checkbox"], ').concat(r,' input[type="radio"]'),{boxSizing:"border-box",padding:0}),n._(t,"".concat(r,' input[type="number"]::-webkit-inner-spin-button, ').concat(r,' input[type="number"]::-webkit-outer-spin-button'),{height:"auto"}),n._(t,"".concat(r,' input[type="search"]'),{boxSizing:"content-box",WebkitAppearance:"textfield"}),n._(t,"".concat(r,' input[type="search"]::-webkit-search-cancel-button, ').concat(r,' input[type="search"]::-webkit-search-decoration'),{WebkitAppearance:"none"}),t}},841041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(199591),o=function(e){var t,r=e?".".concat(e," "):"";return t={},n._(t,"".concat(r," a"),{backgroundColor:"transparent"}),n._(t,"".concat(r," a:active, ").concat(r," a:hover"),{outline:0}),n._(t,"".concat(r," a, ").concat(r," a:focus, ").concat(r," a:hover"),{textDecoration:"none"}),n._(t,"".concat(r," h1,").concat(r," h2,").concat(r," h3,").concat(r," h4,").concat(r," h5,").concat(r," h6,").concat(r," p"),{fontStyle:"inherit",fontWeight:"inherit",margin:0,padding:0}),n._(t,"".concat(r," small"),{fontSize:"80%"}),n._(t,"".concat(r," b, ").concat(r," strong"),{fontWeight:"bold"}),n._(t,"".concat(r," textarea"),{overflow:"auto"}),n._(t,"".concat(r," legend"),{border:0,padding:0}),n._(t,"".concat(r," pre"),{overflow:"auto"}),n._(t,"".concat(r," small"),{fontSize:"80%"}),n._(t,"".concat(r," mark"),{background:"#ff0",color:"#000"}),t}},288466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSpacer",{enumerable:!0,get:function(){return o}});var n=r(158739);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){var r,o,i=t.theme;return(0,n.math)("".concat(null==i?void 0:null===(o=i.layout)||void 0===o?void 0:null===(r=o.spacer)||void 0===r?void 0:r.default," * ").concat(e))}}},890550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSpacer",{enumerable:!0,get:function(){return n.getSpacer}});var n=r(288466)},818654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTypography",{enumerable:!0,get:function(){return o}});var n=r(294975);function o(e){return function(t){return(0,n.withTypography)(t.theme)(e)}}},41775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTypography",{enumerable:!0,get:function(){return n.getTypography}});var n=r(818654)},985653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(718493);n._(r(256661),t),n._(r(956176),t),n._(r(210375),t),n._(r(637986),t),n._(r(787085),t),n._(r(221536),t),n._(r(584202),t),n._(r(790243),t),n._(r(815921),t),n._(r(355583),t),n._(r(890550),t),n._(r(540280),t),n._(r(52785),t),n._(r(77576),t),n._(r(41775),t),n._(r(926182),t),n._(r(848588),t),n._(r(947655),t),n._(r(711440),t),n._(r(974086),t),n._(r(670269),t),n._(r(746276),t),n._(r(933034),t),n._(r(822227),t),n._(r(322322),t),n._(r(325208),t),n._(r(294975),t),n._(r(71264),t)},926182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mediaQuery",{enumerable:!0,get:function(){return n.mediaQuery}});var n=r(529644)},529644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mediaQuery",{enumerable:!0,get:function(){return o}});var n=r(322322);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up";return function(r){return(0,n.withMediaQuery)(r.theme)(e,t)}}},848588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"responsive",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(640524))},640524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(232637),o=r(565412),i=/*#__PURE__*/n._(r(644655)),a=/*#__PURE__*/n._(r(147886)),l=r(815921),s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n="string"==typeof t[0]?t[0]:null,s=t[1],u=(0,i.default)(t[0])?t[0]:null;return function(e){var t=(0,l.getResponsiveValue)(e.theme);return n?t(n,s):Object.entries(u).map(function(e){var r=o._(e,2);return t(r[0],r[1])}).reduce(function(e,t){return(0,a.default)(e,t)},{})}}},947655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setLineClamp",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(38534))},38534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(){return{WebkitBoxOrient:"vertical",WebkitLineClamp:String(e),display:"-webkit-box",overflow:"hidden"}}}},711440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setNonDraggable",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(955282))},955282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(){return{userDrag:"none",userSelect:"none"}}},974086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setScrollbarStyles",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(133440))},133440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(584202),o=r(890550),i=function(e){return function(t){return{"&::-webkit-scrollbar":{width:(0,o.getSpacer)()(t)},"&::-webkit-scrollbar-track":{backgroundColor:(0,n.getFromPalette)(e?"ui.sixth":"ui.third")(t)},"&::-webkit-scrollbar-thumb":{backgroundColor:(0,n.getFromPalette)(e?"ui.third":"ui.sixth")(t)}}}}},670269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setVisuallyHidden",{enumerable:!0,get:function(){return n.setVisuallyHidden}});var n=r(966934)},966934:(e,t)=>{"use strict";function r(){return function(){return{position:"absolute !important",height:"1px",width:"1px",overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)",whiteSpace:"nowrap"}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setVisuallyHidden",{enumerable:!0,get:function(){return r}})},423441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(26920);e.exports={isEmpty:function(e){return(void 0===e?"undefined":n._(e))==="object"&&null!==e&&Object.keys(e).length<=0}}},746276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{themeOverrides:function(){return o.themeOverrides},withThemeOverrides:function(){return n.withThemeOverrides}});var n=r(602696),o=r(974932)},974932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"themeOverrides",{enumerable:!0,get:function(){return i}});var n=/*#__PURE__*/r(232637)._(r(647234)),o=r(423441);function i(e,t){return function(r){var i=(0,n.default)(r,"theme.overrides.".concat(e),{});return"function"==typeof t&&(0,o.isEmpty)(i)?t(r):i}}},602696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withThemeOverrides",{enumerable:!0,get:function(){return i}});var n=/*#__PURE__*/r(232637)._(r(621128));/*#__PURE__*/r(841766);var o=r(974932);function i(e,t){var r=/*#__PURE__*/(0,n.default)(e,{target:"eca3ie30"})((0,o.themeOverrides)(t));return r.displayName="WithThemeOverrides".concat(t),r}},933034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toResponsiveObject",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(784336))},784336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(199591),o=r(232637),i=r(441293),a=r(111290),l=/*#__PURE__*/o._(r(644655)),s=function(e,t){var r=(0,l.default)(e);return t.reduce(function(o,l,s){var u=r?e[l]:e;return a._(i._({},o),n._({},l,u||o[t[s-1]]))},{})}},822227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"whenProp",{enumerable:!0,get:function(){return n.whenProp}});var n=r(124722)},124722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"whenProp",{enumerable:!0,get:function(){return s}});var n=r(232637),o=/*#__PURE__*/n._(r(147886)),i=/*#__PURE__*/n._(r(120857)),a=/*#__PURE__*/n._(r(685971)),l=r(213577);function s(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var s=e;return"string"==typeof e&&(s=[e,l.OPERATOR.EQUAL,!0]),function(e){if((0,a.default)(e,s))return 1===r.length?(0,i.default)(e,r[0],e):r.reduce(function(t,r){return(0,o.default)({},t,(0,i.default)(e,r,e))},{})}}},322322:(e,t,r)=>{"use strict";var n=r(254424);e.exports.withMediaQuery=n},254424:e=>{"use strict";e.exports=function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",o=null==e?void 0:null===(r=e.breakpoints)||void 0===r?void 0:r.breakpoints,i=o[t]||t;if("up"===n)return"@media (min-width: ".concat(i,"px)");if("down"===n)return"@media (max-width: ".concat(i,"px)");var a=o[n]||n;return"@media (min-width: ".concat(i,"px) and (max-width: ").concat(a,"px)")}}},325208:(e,t,r)=>{"use strict";var n=r(63590);e.exports.withPaladinTypography=n},63590:(e,t,r)=>{"use strict";var n=r(604584),o=r(845510);e.exports=function(e){return function(t){var r=e.typography.paladin[t];if(!r)throw Error("no ".concat(t," defined in typography"));return n(o(e)(r))}}},604584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(441293),o=r(81992);e.exports=function(e){var t=e.fontFamily,r=e.lineHeight,i=e.fontSize,a=e.fontStyle,l=e.fontWeight,s=o._(e,["fontFamily","lineHeight","fontSize","fontStyle","fontWeight"]);return n._({font:"".concat(a," ").concat(l," ").concat(i).concat(r&&i?"/".concat(r):""," ").concat(t)},s)}},845510:(e,t,r)=>{"use strict";var n=r(147886),o=r(815921).getResponsiveValue;e.exports=function(e){return function(t){var r=Object.keys(t),i=o(e);return r.reduce(function(e,r){return n(e,i(r,t[r]))},{})}}},294975:(e,t,r)=>{"use strict";var n=r(265306);e.exports.withTypography=n},265306:(e,t,r)=>{"use strict";var n=r(604584),o=r(845510);e.exports=function(e){return function(t){var r=e.typography[t];if(!r)throw Error("no ".concat(t," defined in typography"));return n(o(e)(r))}}},166850:(e,t,r)=>{"use strict";var n=r(572782),o=r(373563),i=r(357686);e.exports={presets:i,timing:n,transition:o}},357686:e=>{"use strict";e.exports={fadeIn:{from:{opacity:"0",transform:"translate3d(0, 0, 0)",transition:"opacity $val(animations.timing.fourth) linear 0.25s, transform $val(animations.timing.third) linear 0.1s"},to:{opacity:"1",transform:"translate3d(0, -63px, 0)"}},card:{from:{transition:"all 0.2s",transform:"scale(1) translateZ(0) perspective(1px)","&:hover":{boxShadow:"0 8px 22px -6px rgba(0, 0, 0, 0.3)",transform:"scale(1.01) translateZ(0) perspective(1px)"}}},carousel:{from:{transition:"all 0.2s",transform:"scale(1) translateZ(0) perspective(1px)","&:hover":{transform:"scale(0.98) translateZ(0) perspective(1px)"}}},blurIn:{from:{transition:"all 0.3s",opacity:"0",filter:"blur(5px)"},to:{opacity:"1",filter:"none"}}}},572782:e=>{"use strict";e.exports={first:"0.2s",second:"0.3s",third:"0.5s",fourth:"0.75s"}},373563:e=>{"use strict";e.exports={first:"all $val(animations.timing.first) ease-in-out",second:"all $val(animations.timing.first) ease-in-out",third:"all $val(animations.timing.first) ease-in-out",fourth:"transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0)",fifth:"all $val(animations.timing.second) ease-in-out"}},972723:e=>{"use strict";e.exports={"01":"blur(32px)",bg:"blur(32px)",layer:"blur(32px)"}},615893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(441293),o=r(972723);e.exports=n._({},o)},76663:e=>{"use strict";e.exports={xsmall:0,small:660,medium:980,large:1200,xlarge:1600}},216407:(e,t,r)=>{"use strict";var n=r(76663),o=r(930655);e.exports={breakpoints:n,keys:o}},930655:e=>{"use strict";e.exports=["xsmall","small","medium","large","xlarge"]},292019:e=>{"use strict";e.exports={bg:"#C3352B",obj:"#FFFFFF",contrast:"#F6655B"}},203327:e=>{"use strict";e.exports={"to-top":"linear-gradient(to top, #15151A 0%, rgba(21, 21, 26, 0) 100%)","to-bottom":"linear-gradient(to bottom, rgba(21, 21, 26, 0) 0%, #15151A 100%)","to-top-bg-02":"linear-gradient(to top, rgba(21, 21, 26, 0) 0%, #15151A 100%)","to-bottom-bg-02":"linear-gradient(to bottom, #15151A 0%, rgba(21, 21, 26, 0) 100%)","to-top-01":"linear-gradient(to top, rgba(37, 37, 42, 0) 0%, #25252A 100%)","to-bottom-01":"linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, #121212 100%)","to-top-02":"linear-gradient(to top, rgba(56, 56, 61, 0) 0%, #38383D 100%)","to-bottom-02":"linear-gradient(to bottom, #38383D 0%, rgba(56, 56, 61, 0) 100%)"}},622870:(e,t,r)=>{"use strict";var n=r(292019),o=r(203327),i=r(385096),a=r(367002),l=r(634823),s=r(280939),u=r(362435),d=r(84285),c=r(101118);e.exports={danger:n,gradients:o,info:i,interactive:a,nav:l,obj:s,shadows:u,success:d,ui:c}},385096:e=>{"use strict";e.exports={bg:"#FFEB3B",obj:"#000000",contrast:"#FFEB3B"}},367002:e=>{"use strict";e.exports={"01":"#005BD9","01-obj":"#FFFFFF","01-hover":"#046DFF","01-obj-hover":"#FFFFFF","02":"#62626D","02-obj":"#FFFFFF","02-hover":"#757582","02-obj-hover":"#FFFFFF",disabled:"rgba(81, 81, 85, 0.5)","obj-disabled":"#8D8D90",link:"#5FA2FF"}},634823:e=>{"use strict";e.exports={"01-bg":"#25252A","01-obj":"#F4F4F4","01-link-enabled":"#A8A8AB","01-link-hover":"#FFFFFF","01-link-selected":"#5FA2FF","02-bg":"rgba(21,21,26,0.75)","02-obj":"#F4F4F4","02-link-enabled":"#A8A8AB","02-link-hover":"#FFFFFF","02-link-selected":"#5FA2FF"}},280939:e=>{"use strict";e.exports={"01":"#F4F4F4","02":"#C6C6C8","03":"#A8A8AB","04":"#8D8D90","01-placeholder":"#909099","02-placeholder":"#A9A9B0"}},362435:e=>{"use strict";e.exports={"01":"0px 2px 4px rgba(0, 0, 0, 0.3)","02":"0px 4px 8px rgba(0, 0, 0, 0.3)","03":"0px 6px 12px rgba(0, 0, 0, 0.3)","04":"0px 12px 24px rgba(0, 0, 0, 0.3)"}},84285:e=>{"use strict";e.exports={bg:"#2D6830",obj:"#FFFFFF",contrast:"#6DBE70"}},101118:e=>{"use strict";e.exports={bg:"#15151A","01":"#25252A","02":"#38383D","03":"#38383D","04":"#6F6F72","05":"#8D8D90","06":"#010101","07":"#15151A"}},623940:e=>{"use strict";e.exports={"shadow-img":"0px 2px 6px rgba(0, 0, 0, 0.5)","bg-blur-32":"blur(16px)","layer-blur-32":"blur(16px)"}},197658:e=>{"use strict";e.exports={white:"#FFFFFF",black:"#000000",link:"#C3C3C3",ad:"#FFE600",object:"#FFFFFF",overlay:"rgba(0, 0, 0, 0.5)",gradient:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%)","inv-overlay":"rgba(255, 255, 255, 0.3)","video-overlay":"linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%)","01-img-ui":"rgba(31, 31, 31, 0.85)"}},175873:(e,t,r)=>{"use strict";var n=r(197658),o=r(623940);e.exports={img:n,effect:o}},413141:(e,t,r)=>{"use strict";var n=r(622870),o=r(175873),i=r(245006);e.exports={dark:n,global:o,light:i}},430907:e=>{"use strict";e.exports={bg:"#C3352B",obj:"#FFFFFF",contrast:"#C3352B"}},274087:e=>{"use strict";e.exports={"to-top":"linear-gradient(to top, rgba(21, 21, 26, 0) 0%, #15151A 100%)","to-bottom":"linear-gradient(to bottom, #15151A 0%, rgba(21, 21, 26, 0) 100%)","to-top-bg-02":" linear-gradient(to top, rgba(244, 244, 244, 0) 0%, #F4F4F4 100%)","to-bottom-bg-02":"linear-gradient(to bottom, #F4F4F4 0%, rgba(244, 244, 244, 0) 100%);","to-top-01":"linear-gradient(to top, rgba(37, 37, 42, 0) 0%, #25252A 100%)","to-bottom-01":"linear-gradient(to bottom, rgba(37, 37, 42, 0) 0%, #25252A 100%)","to-top-02":"linear-gradient(to top, rgba(56, 56, 61, 0) 0%, #38383D 100%)","to-bottom-02":"linear-gradient(to bottom, #38383D 0%, rgba(56, 56, 61, 0) 100%)"}},245006:(e,t,r)=>{"use strict";var n=r(430907),o=r(274087),i=r(720464),a=r(728978),l=r(238783),s=r(832915),u=r(397003),d=r(414181),c=r(605478);e.exports={danger:n,gradients:o,info:i,interactive:a,nav:l,obj:s,shadows:u,success:d,ui:c}},720464:e=>{"use strict";e.exports={bg:"#FFEB3B",obj:"#000000",contrast:"#000000"}},728978:e=>{"use strict";e.exports={"01":"#046DFF","01-obj":"#FFFFFF","01-hover":"#005BD9","01-obj-hover":"#FFFFFF","02":"#6F6F72","02-obj":"#FFFFFF","02-hover":"#515155","02-obj-hover":"#FFFFFF",disabled:"#C6C6C8","obj-disabled":"#6F6F72",link:"#005BD9"}},238783:e=>{"use strict";e.exports={"01-bg":"#FFFFFF","01-obj":"#15151A","01-link-enabled":"#6F6F72","01-link-hover":"#15151A","01-link-selected":"#005BD9","02-bg":"rgba(244,244,244,0.75)","02-obj":"#15151A","02-link-enabled":"#6F6F72","02-link-hover":"#15151A","02-link-selected":"#005BD9"}},832915:e=>{"use strict";e.exports={"01":"#15151A","02":"#515155","03":"#6F6F72","04":"#6F6F72","01-placeholder":"#A9A9B0","02-placeholder":"#909099"}},397003:e=>{"use strict";e.exports={"01":"0px 2px 4px rgba(0, 0, 0, 0.1)","02":"0px 4px 8px rgba(0, 0, 0, 0.1)","03":"0px 6px 12px rgba(0, 0, 0, 0.1)","04":"0px 12px 24px rgba(0, 0, 0, 0.1)"}},414181:e=>{"use strict";e.exports={bg:"#2D6830",obj:"#FFFFFF",contrast:"#2D6830"}},605478:e=>{"use strict";e.exports={bg:"#F4F4F4","01":"#FFFFFF","02":"#F4F4F4","03":"#C6C6C8","04":"#8D8D90","05":"#515155"}},108507:e=>{"use strict";e.exports={label:"16,16,16,16",button:"8,8,8,8",ui:"4,4,4,4"}},405277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(441293),o=r(108507);e.exports=n._({},o)},640515:e=>{"use strict";e.exports={"to-top":"linear-gradient(to top, #15151A 0%, rgba(14, 25, 30, 0) 100%)","to-bottom":"linear-gradient(to bottom, rgba(14, 25, 30, 0) 0%, #15151A 100%)","to-left":"linear-gradient(to left, rgba(21, 21, 26, 0) 0%, #15151A 100%)","to-right":"linear-gradient(to right, rgba(21, 21, 26, 0) 0%, #15151A 100%)","to-top-01":"linear-gradient(to top, #25252A 0%, rgba(31, 41, 46, 0) 100%)","to-bottom-01":"linear-gradient(to bottom, rgba(31, 41, 46, 0) 0%, #25252A 100%)","to-top-02":"linear-gradient(to top, #38383D 0%, rgba(51, 60, 64, 0) 100%)","to-bottom-02":"linear-gradient(to bottom, rgba(51, 60, 64, 0) 0%, #38383D 100%)","to-top-03":"linear-gradient(to top, #151119 0%, rgba(21, 17, 25, 0) 100%)"}},489978:(e,t,r)=>{"use strict";var n=r(640515);e.exports=n},470677:e=>{"use strict";e.exports={logoName:"wp-logo-white"}},548179:(e,t,r)=>{"use strict";var n=r(470677);e.exports=n},442620:(e,t,r)=>{"use strict";var n=r(166850),o=r(615893),i=r(216407),a=r(405277),l=r(413141),s=r(548179),u=r(518639),d=r(593474),c=r(376532),f=r(676038),p=r(489978),v=r(245320),m=r(351323);e.exports={animations:n,blurs:o,breakpoints:i,colors:l,corners:a,images:s,layout:u,overrides:d,palette:c,shadows:f,gradients:p,typography:v,zIndex:m}},13685:e=>{"use strict";e.exports={radius:0}},28747:e=>{"use strict";e.exports={"max-width":"1440px","min-width":"288px",width:"90%",columns:{default:3,oneItem:"$val(layout.grid.columns.default)",twoItem:"$val(layout.grid.columns.default)",threeItem:"$val(layout.grid.columns.default)"},outerMargins:{xsmall:"$math(layout.spacer.default * -1)",small:"$math(layout.spacer.default * -2)"},margins:{xsmall:"$val(layout.spacer.default)",small:"$math(layout.spacer.default * 2)"},paddings:{xsmall:"$math(layout.spacer.default * 2)",small:"$math(layout.spacer.default * 4)"},gutters:{xsmall:"$math(layout.spacer.default * 3)",small:"$math(layout.spacer.default * 4)"}}},518639:(e,t,r)=>{"use strict";var n=r(28747),o=r(13685),i=r(805087),a=r(780655);e.exports={border:o,grid:n,spacer:i,paladin:a}},561461:e=>{"use strict";e.exports={radius:4}},780655:(e,t,r)=>{"use strict";var n=r(561461),o=r(352863);e.exports={border:n,spacer:o}},352863:e=>{"use strict";e.exports={component:"$math(layout.spacer.default * 6)",inner:"$math(layout.spacer.default * 6)",outer:0,default:"4px",layout:"6px"}},805087:e=>{"use strict";e.exports={component:"$math(layout.spacer.default * 6)",inner:"$math(layout.spacer.default * 6)",outer:0,default:"6px",layout:"6px"}},593474:e=>{"use strict";e.exports={headerV2:{divider:{color:"$val(palette.ui.sixth)"},header:{background:"linear-gradient(45deg, $val(palette.brand.first) 0%, $val(palette.brand.third) 100%)",color:"$val(palette.text.first)"},headerLinks:{"&:hover":{color:"$val(palette.brand.second)"}},leaderboard:{backgroundColor:"$val(palette.ui.fifth)"},navigation:{height:"38px"},subNavigation:{backgroundColor:"$val(palette.ui.fifth)",color:"$val(palette.text.first)"},title:{color:"$val(palette.brand.second)"},logo:{primary:{backgroundColor:"transparent",backgroundImage:"url(/svg/wp-logo-white.svg)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"contain",color:"$val(palette.text.first)",content:'""',fontSize:"20px",height:"24px",width:"62px","$mediaQuery(small)":{fontSize:"38px",height:"40px",width:"104px"}},container:{height:"110px"}}},card:{logo:{maxHeight:"50px","$mediaQuery(medium)":{maxHeight:"75px"}}},logosStrip:{item:{default:{padding:"5px"},primaryTier:{padding:"9px 7px 7px 9px"},secondaryTier:{padding:"7px 6px 6px 7px"}}},Metadata:{Container:{maxWidth:"656px"}},authSuite:{messages:{maxWidth:"786px"}}}},481730:e=>{"use strict";e.exports={first:"#49365E",second:"#6A5B7B",third:"#DBDBDB",fourth:"#EDEDED",fifth:"#AFAFAF",sixth:"#3B3B3B",seventh:"#5F5F5F"}},36725:e=>{"use strict";e.exports={first:"#49365E",second:"#9B81B6",third:"#2DD6AE"}},376532:(e,t,r)=>{"use strict";var n=r(481730),o=r(36725),i=r(565230),a=r(386251),l=r(136685),s=r(974740),u=r(879100);e.exports={background:n,brand:o,shadow:i,support:a,text:l,ui:s,vendor:u}},565230:e=>{"use strict";e.exports={first:"rgba(0, 0, 0, 0.08)",second:"rgba(0, 0, 0, 0.3)",third:"rgba(0, 0, 0, 0.08)"}},386251:e=>{"use strict";e.exports={first:"#D81B60",second:"#EA538A",third:"#5A3336",fourth:"#E0182D",fifth:"#FFFFFF",sixth:"#000000",seventh:"#F6F6F6",eighth:"#BFBEBE",ninth:"#5E9ED6"}},136685:e=>{"use strict";e.exports={first:"#ffffff",second:"#8B8B8B",third:"#000000",fourth:"#767676",fifth:"#A0A0A0"}},974740:e=>{"use strict";e.exports={first:"#F6F6F6",second:"#FFFFFF",third:"#DBDBDB",fourth:"#000000",fifth:"#242424",sixth:"#3B3B3B"}},879100:e=>{"use strict";e.exports={adchoices:"#0BADCC",discord:"#7289DA",email:"#393D40",facebook:"#3B5998",instagram:"#DD3276",linkedin:"#0966C2",pinterest:"#E60023",snap:"#FFFC00",snapchat:"#FFFC00",tiktok:"#000000",twitch:"#9146FF",twitter:"#1DA1F2",youtube:"#FF0000"}},442844:e=>{"use strict";e.exports={"01":"0px 2px 4px rgba(0, 0, 0, 0.3)","02":"0px 4px 8px rgba(0, 0, 0, 0.3)","03":"0px 6px 12px rgba(0, 0, 0, 0.3)","04":"0px 12px 24px rgba(0, 0, 0, 0.3)"}},325899:e=>{"use strict";e.exports={"img-object":"0px 2px 6px rgba(0, 0, 0, 0.5)"}},676038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(441293),o=r(111290),i=r(442844),a=r(945250),l=r(325899),s=r(858364);e.exports=o._(n._({},s),{global:l,dark:i,light:a})},945250:e=>{"use strict";e.exports={"01":"0px 2px 4px rgba(0, 0, 0, 0.12)","02":"0px 4px 8px rgba(0, 0, 0, 0.12)","03":"0px 6px 12px rgba(0, 0, 0, 0.12)","04":"0px 12px 24px rgba(0, 0, 0, 0.12)"}},858364:e=>{"use strict";e.exports={first:"0 2px 4px 0 $val(palette.shadow.first)",second:"0 2px 4px 0 $val(palette.shadow.first)",third:"0 2px 4px 0 $val(palette.shadow.first)",fourth:"0 8px 22px -6px $val(palette.shadow.second)"}},9038:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.5},fontSize:{xsmall:"1.2rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},522567:e=>{"use strict";e.exports={primary:'"OpenSans", sans-serif',secondary:'"Merriweather", sans-serif'}},961894:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.secondary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"2.8rem",small:"4.2rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},245320:(e,t,r)=>{"use strict";var n=r(9038),o=r(522567),i=r(961894),a=r(484535),l=r(744936),s=r(612336),u=r(943121),d=r(570572),c=r(122677),f=r(215980),p=r(124083),v=r(230843),m=r(470096),y=r(358084);e.exports={caption:n,font:o,giga:i,kilo:a,mega:l,micro:s,milli:u,nano:d,p1:c,p2:f,p3:p,pico:v,tera:m,paladin:y}},484535:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"2.0rem",small:"2.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},744936:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.secondary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"2.4rem",small:"2.8rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},612336:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"1.8rem",small:"1.8rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},943121:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"2.0rem",small:"2.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},570572:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"1.2rem",small:"1.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},122677:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.5},fontSize:{xsmall:"1.6rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},215980:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.5},fontSize:{xsmall:"1.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},124083:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.5},fontSize:{xsmall:"16px"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:400}}},418148:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"7.6rem",fontStyle:"normal",textTransform:"none",fontWeight:700,letterSpacing:"-0.01em"}},650243:e=>{"use strict";e.exports={primary:'"Eina", sans-serif',secondary:'"Eina", sans-serif'}},142034:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"3.6rem",fontStyle:"normal",textTransform:"none",fontWeight:700,letterSpacing:"-0.01em"}},358084:(e,t,r)=>{"use strict";var n=r(418148),o=r(650243),i=r(142034),a=r(245587),l=r(595292),s=r(28116),u=r(908397),d=r(770976),c=r(958610),f=r(349839),p=r(810028),v=r(408161),m=r(778024),y=r(312639),g=r(325022),_=r(374589),h=r(436820),b=r(922326),E=r(590693),S=r(782592),T=r(629055),O=r(904018),P=r(596161),A=r(139285),x=r(61382),C=r(886663),R=r(598928),k=r(541225),w=r(598090),I=r(767335),D=r(461370),M=r(137341),L=r(347216),N=r(206651),j=r(499246),F=r(305616),U=r(470821),B=r(893450),H=r(30351),W=r(500684),z=r(803617),K=r(253536),V=r(513393),$=r(940734),G=r(427263),q=r(696300),Y=r(203917),Q=r(450445),J=r(572286),X=r(843975),Z=r(287776),ee=r(234177),et=r(627042),er=r(642847),en=r(259492),eo=r(346825),ei=r(66974),ea=r(327323),el=r(460112),es=r(7090),eu=r(118377),ed=r(829616),ec=r(396303),ef=r(293134),ep=r(253845),ev=r(73311),em=r(27962),ey=r(699757),eg=r(885472),e_=r(922467),eh=r(464046),eb=r(966129),eE=r(227332),eS=r(634908),eT=r(943247),eO=r(240504),eP=r(899317),eA=r(191208),ex=r(342937),eC=r(505649),eR=r(906690),ek=r(31141),ew=r(636492),eI=r(317053),eD=r(984200),eM=r(462800),eL=r(888619),eN=r(110348),ej=r(330809);e.exports={exa:n,font:o,giga:i,kilo:a,mega:l,micro:s,milli:u,nano:d,peta:c,pico:f,tera:p,p1:v,p2:m,p3:y,p4:g,p5:_,p6:h,"p1-link":b,"p2-link":E,"p3-link":S,"p4-link":T,"p5-link":O,"p6-link":P,"p1-bold":A,"p2-bold":x,"p3-bold":C,"p4-bold":R,"p5-bold":k,"p6-bold":w,"p1-inline-bold":I,"p2-inline-bold":D,"p3-inline-bold":M,"p4-inline-bold":L,"p5-inline-bold":N,"p6-inline-bold":j,"p1-inline-italic":F,"p2-inline-italic":U,"p3-inline-italic":B,"p4-inline-italic":H,"p5-inline-italic":W,"p6-inline-italic":z,"p1-inline-link":K,"p2-inline-link":V,"p3-inline-link":$,"p4-inline-link":G,"p5-inline-link":q,"p6-inline-link":Y,"p1-inline-strikethrough":Q,"p2-inline-strikethrough":J,"p3-inline-strikethrough":X,"p4-inline-strikethrough":Z,"p5-inline-strikethrough":ee,"p6-inline-strikethrough":et,"p1-inline":er,"p2-inline":en,"p3-inline":eo,"p4-inline":ei,"p5-inline":ea,"p6-inline":el,"p1-italic":es,"p2-italic":eu,"p3-italic":ed,"p4-italic":ec,"p5-italic":ef,"p6-italic":ep,"p1-strikethrough":ev,"p2-strikethrough":em,"p3-strikethrough":ey,"p4-strikethrough":eg,"p5-strikethrough":e_,"p6-strikethrough":eh,"padding-kilo-inline":eb,"padding-mega-inline":eE,"padding-micro-inline":eS,"padding-milli-inline":eT,"padding-nano-inline":eO,"padding-pico-inline":eP,"kilo-button":eA,"mega-button":ex,"micro-button":eC,"milli-button":eR,"nano-button":ek,"pico-button":ew,"kilo-inline":eI,"mega-inline":eD,"micro-inline":eM,"milli-inline":eL,"nano-inline":eN,"pico-inline":ej}},191208:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"2.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700},letterSpacing:"-0.01em"}},317053:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},245587:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},342937:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"2.8rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:600},letterSpacing:"-0.01em"}},984200:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},595292:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},505649:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"1.6rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:600},letterSpacing:"-0.01em"}},462800:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},28116:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},906690:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"1.8rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:600},letterSpacing:"-0.01em"}},888619:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},908397:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em"}},31141:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"1.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:600}}},110348:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},770976:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},139285:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},767335:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},305616:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},253536:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},450445:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},642847:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},7090:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.2rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},922326:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},73311:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},408161:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},61382:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},461370:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},470821:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},513393:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},572286:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},259492:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},118377:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.4rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},590693:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},27962:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},778024:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},886663:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},137341:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},893450:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},940734:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},843975:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},346825:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},829616:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.6rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},782592:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},699757:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},312639:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},598928:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},347216:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},30351:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},427263:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},287776:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},66974:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},396303:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.8rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},629055:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},885472:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},325022:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},541225:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},206651:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},500684:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},696300:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},234177:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},327323:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},293134:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.4rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},904018:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},922467:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},374589:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},598090:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},499246:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},803617:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},203917:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},627042:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},460112:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},253845:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.8rem",fontStyle:"italic",textTransform:"none",fontWeight:400}},596161:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,textDecoration:"underline"}},464046:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400,textDecoration:"line-through"}},436820:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.5",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:400}},966129:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"2.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em",padding:"0px 0px 5px 0px"}},227332:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"2.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em",padding:"0px 0px 5px 0px"}},634908:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.6rem",fontStyle:"normal",textTransform:"none",fontWeight:600,padding:"0px 0px 3px 0px"}},943247:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"1.8rem",fontStyle:"normal",textTransform:"none",fontWeight:600,letterSpacing:"-0.01em",padding:"0px 0px 3px 0px"}},240504:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.4rem",fontStyle:"normal",textTransform:"none",fontWeight:600,padding:"0px 0px 1px 0px"}},899317:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600,padding:"0px 0px 3px 0px"}},958610:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"5.4rem",fontStyle:"normal",textTransform:"none",fontWeight:700,letterSpacing:"-0.01em"}},636492:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:{xsmall:"normal"},fontSize:{xsmall:"1.2rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:600}}},330809:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"normal",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600,transform:"translateY(-1px)"}},349839:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"1.2rem",fontStyle:"normal",textTransform:"none",fontWeight:600}},810028:e=>{"use strict";e.exports={fontFamily:"$val(typography.paladin.font.primary)",lineHeight:"1.12",fontSize:"4.2rem",fontStyle:"normal",textTransform:"none",fontWeight:700,letterSpacing:"-0.01em"}},230843:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.primary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"1.2rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},470096:e=>{"use strict";e.exports={fontFamily:"$val(typography.font.secondary)",lineHeight:{xsmall:1.25},fontSize:{xsmall:"3.6rem",small:"5.4rem"},fontStyle:{xsmall:"normal"},textTransform:{xsmall:"none"},fontWeight:{xsmall:700}}},351323:(e,t,r)=>{"use strict";var n=r(915013);e.exports=n},915013:e=>{"use strict";e.exports={below:-10,base:1,high:10,over:100,modal:5999900,max:0x7fffffff}},1338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{LayoutDispatchConsumer:function(){return u},LayoutStateConsumer:function(){return s}});var n=r(232637),o=/*#__PURE__*/n._(r(841766)),i=/*#__PURE__*/n._(r(711374)),a=r(15859),l=/*#__PURE__*/n._(r(963568));function s(e){var t=e.children;return /*#__PURE__*/o.default.createElement(a.LayoutStateContext.Consumer,null,function(e){return e?t(e):((0,l.default)("LayoutStateConsumer is being used without the LayoutContextProvider as a parent"),t({}))})}function u(e){var t=e.children;return /*#__PURE__*/o.default.createElement(a.LayoutDispatchContext.Consumer,null,function(e){return e?t(e):((0,l.default)("LayoutDispatchConsumer is being used without the LayoutContextProvider as a parent"),t(function(){}))})}s.propTypes={children:i.default.func},u.propTypes={children:i.default.func}},15859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{LayoutContextProvider:function(){return f},LayoutDispatchContext:function(){return d},LayoutStateContext:function(){return u},initialLayoutState:function(){return c}});var n=r(232637),o=r(350312),i=r(565412),a=/*#__PURE__*/o._(r(841766)),l=/*#__PURE__*/n._(r(711374)),s=/*#__PURE__*/n._(r(569604)),u=/*#__PURE__*/a.default.createContext(),d=/*#__PURE__*/a.default.createContext(),c={headerLayout:{isSticky:!1,height:0,offsetTop:0,bottom:0}};function f(e){var t=e.children,r=i._((0,a.useReducer)(s.default,c),2),n=r[0],o=r[1];return /*#__PURE__*/a.default.createElement(u.Provider,{value:n},/*#__PURE__*/a.default.createElement(d.Provider,{value:o},t))}f.propTypes={children:l.default.node}},919855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{LayoutContextProvider:function(){return n.LayoutContextProvider},LayoutDispatchConsumer:function(){return i.LayoutDispatchConsumer},LayoutStateConsumer:function(){return i.LayoutStateConsumer},updateHeaderBottom:function(){return a.updateHeaderBottom},updateHeaderHeight:function(){return a.updateHeaderHeight},updateHeaderOffsetTop:function(){return a.updateHeaderOffsetTop},updateHeaderSticky:function(){return a.updateHeaderSticky},useLayoutDispatch:function(){return o.useLayoutDispatch},useLayoutState:function(){return o.useLayoutState}});var n=r(15859),o=r(460811),i=r(1338),a=r(324043)},262355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{UPDATE_HEADER_BOTTOM:function(){return i},UPDATE_HEADER_HEIGHT:function(){return n},UPDATE_HEADER_OFFSET_TOP:function(){return o},UPDATE_HEADER_STICKY:function(){return r}});var r="UPDATE_HEADER_STICKY",n="UPDATE_HEADER_HEIGHT",o="UPDATE_HEADER_OFFSET_TOP",i="UPDATE_HEADER_BOTTOM"},324043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{updateHeaderBottom:function(){return l},updateHeaderHeight:function(){return i},updateHeaderOffsetTop:function(){return a},updateHeaderSticky:function(){return o}});var n=r(262355),o=function(e){return{type:n.UPDATE_HEADER_STICKY,payload:{isSticky:e}}},i=function(e){return{type:n.UPDATE_HEADER_HEIGHT,payload:{height:e}}},a=function(e){return{type:n.UPDATE_HEADER_OFFSET_TOP,payload:{offsetTop:e}}},l=function(e){return{type:n.UPDATE_HEADER_BOTTOM,payload:{bottom:e}}}},569604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(441293),o=r(111290),i=r(262355),a=function(e,t){if(!t)return e;var r=t.type,a=t.payload;switch(r){case i.UPDATE_HEADER_STICKY:var l=a.isSticky;return o._(n._({},e),{headerLayout:o._(n._({},e.headerLayout),{isSticky:l})});case i.UPDATE_HEADER_HEIGHT:var s=a.height;return o._(n._({},e),{headerLayout:o._(n._({},e.headerLayout),{height:s})});case i.UPDATE_HEADER_OFFSET_TOP:var u=a.offsetTop;return o._(n._({},e),{headerLayout:o._(n._({},e.headerLayout),{offsetTop:u})});case i.UPDATE_HEADER_BOTTOM:var d=a.bottom;return o._(n._({},e),{headerLayout:o._(n._({},e.headerLayout),{bottom:d})});default:return e}}},460811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useLayoutDispatch:function(){return s},useLayoutState:function(){return l}});var n=r(232637),o=r(841766),i=r(15859),a=/*#__PURE__*/n._(r(963568));function l(){return(0,o.useContext)(i.LayoutStateContext)||((0,a.default)("useLayoutState is being used without the LayoutContextProvider as a parent"),{})}function s(){return(0,o.useContext)(i.LayoutDispatchContext)||((0,a.default)("useLayoutDispatch is being used without the LayoutContextProvider as a parent"),function(){})}},14371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{FOCUS_CLASS:function(){return r},KEYCODE_TAB:function(){return o},accessibleQuery:function(){return n}});var r="last-focus",n="a[href]:not([disabled]), button#mobile-sub-nav-back-button, [tabindex='0']",o=9},28019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addLastFocusClass:function(){return o},focusSlide:function(){return i},isPageEdgeActive:function(){return s},isVisibleCard:function(){return a},onKeyDown:function(){return u},restoreFocus:function(){return l}});var n=r(14371),o=function(e){var t;return null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.classList.add(n.FOCUS_CLASS)},i=function(e,t){var r,n,o;null==e||null===(o=e.current)||void 0===o||null===(n=o.parentElement)||void 0===n||null===(r=n.querySelector(".swiper-slide:nth-of-type(".concat(t+1,") a")))||void 0===r||r.focus()},a=function(e,t){var r,n;return null==e?void 0:null===(n=e[t])||void 0===n?void 0:null===(r=n.classList)||void 0===r?void 0:r.contains("swiper-slide-visible")},l=function(){var e,t=document.querySelector(".".concat(n.FOCUS_CLASS));null==t||null===(e=t.classList)||void 0===e||e.remove(n.FOCUS_CLASS),null==t||t.focus()},s=function(e,t){if(!t)return{};var r,n,o,i,a="swiper-slide-visible",l=t[e],s=t[e+2],u=(null==l?void 0:null===(r=l.classList)||void 0===r?void 0:r.contains(a))&&!(null==s?void 0:null===(n=s.classList)||void 0===n?void 0:n.contains(a)),d=t[e-1];return{isPageLastItem:u,isPageFirstItem:(null==l?void 0:null===(o=l.classList)||void 0===o?void 0:o.contains(a))&&!(null==d?void 0:null===(i=d.classList)||void 0===i?void 0:i.contains(a))}},u=function(e,t){var r,n,o=t.nextSlideCallback,i=t.setIsCarouselActive,a=t.cardIndex,l=t.carouselLength,u=t.focusParent,d=void 0===u?function(e){return e.target.closest(".swiper").parentElement.focus()}:u,c=t.nextArrowRef,f=t.prevArrowRef,p=t.slides,v=t.isBeginning,m=t.isEnd,y=t.shouldUseArrows,g=s(a,p),_=g.isPageLastItem,h=g.isPageFirstItem,b="Tab"===e.key,E=e.shiftKey;if(y&&b&&!E&&_&&!m){e.preventDefault(),null==c||null===(r=c.current)||void 0===r||r.focus();return}if(!b||E||m||o(),y&&b&&E&&h&&!v){e.preventDefault(),null==f||null===(n=f.current)||void 0===n||n.focus();return}b&&E&&!m&&o(),(0===a&&e.shiftKey&&"Tab"===e.key||a===l-1&&"Tab"===e.key&&!e.shiftKey)&&i(!1),"Escape"===e.key&&(d(e),i(!1))}},549266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addLastFocusClass:function(){return o.addLastFocusClass},focusSlide:function(){return o.focusSlide},isVisibleCard:function(){return o.isVisibleCard},onKeyDown:function(){return o.onKeyDown},restoreFocus:function(){return o.restoreFocus}});var n=r(718493),o=r(28019);n._(r(14371),t)},614613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){if(!/(\d){1,2}:(\d){1,2}/.test(e))return 56.25;var t=e.split(":");return t[1]/t[0]*100}},526224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});var n=/*#__PURE__*/r(232637)._(r(614613)).default},805401:e=>{"use strict";e.exports=function(e){return{}}},888850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});var n=/*#__PURE__*/r(232637)._(r(805401)).default},500116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isEmptyObject",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(423378))},423378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){return!!e&&e.constructor===Object&&0===Object.entries(e).length}},963568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});var n=/*#__PURE__*/r(232637)._(r(470240)).default},470240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){console.log("\x1b[36m","Warning","\x1b[37m",e)}},965315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"redirectTo",{enumerable:!0,get:function(){return n.redirectTo}});var n=r(347530)},347530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"redirectTo",{enumerable:!0,get:function(){return i}});var n=/*#__PURE__*/r(232637)._(r(462037)),o=r(457117),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("undefined"!=typeof window&&e){n.default.configure({window:window}),(0,o.setReportingRedirectItemClicked)(t);var r=window.location.hostname;!e.startsWith("http")&&!e.startsWith("//")||e.includes(r)?(0,n.default)(e):window.open(e,"_blank")}}},479249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});var n=/*#__PURE__*/r(232637)._(r(50006)).default},50006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(974817);function o(){var e,t,r,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[id^=ad_]";if((null===(t=window)||void 0===t?void 0:null===(e=t.Bento)||void 0===e?void 0:e.placeAds)&&(null===(o=window)||void 0===o?void 0:null===(r=o.Bento)||void 0===r?void 0:r.destroyAds)&&"undefined"!=typeof document)try{window.Bento.destroyAds(i);for(var a=document.querySelectorAll(i),l=0;l<a.length;l++){var s=a[l];window.Bento.placeAds([{targetRefreshRate:s.getAttribute("data-refresh-rate"),targetElement:s,targetingValues:(0,n.generateTargetingValues)(s)}])}}catch(e){console.error(e)}}},295226:(e,t)=>{"use strict";function r(e){var t=document.querySelector("[data-ad-unit='".concat(e,"']"));if(!e||!t)return null;var r=t.getAttribute("data-ad"),n=t.getAttribute("data-ad-index")?Number(t.getAttribute("data-ad-index")):void 0,o=t.getAttribute("data-ad-pos");return n&&o?[r,n,{pos:o}]:r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},687390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPagePath",{enumerable:!0,get:function(){return o}});var r={LISTICLE:"listicle"},n=["news-listicle","news-article","video-clip","video-playlist","photo-gallery"],o=function(e){var t=e.doubleClick,o=e.omniture,i=null==t?void 0:null===(c=t.adUnits)||void 0===c?void 0:c[2],a=null==t?void 0:null===(f=t.adUnits)||void 0===f?void 0:f[3],l=null==o?void 0:null===(p=o.contextData)||void 0===p?void 0:p["v.pageType"],s=null==t?void 0:null===(v=t.keyValues)||void 0===v?void 0:v.section,u=null==o?void 0:null===(y=o.contextData)||void 0===y?void 0:null===(m=y["v.pageSeries"])||void 0===m?void 0:m.replace("?",""),d=null==o?void 0:null===(g=o.contextData)||void 0===g?void 0:g["v.pageEvent"];if(d&&"no-event"!==d)return a?"".concat(i,"/").concat(a):s?"".concat(i,"/").concat(s):i;if("vertical-hub"===l){var c,f,p,v,m,y,g,_,h,b=null==t?void 0:null===(h=t.keyValues)||void 0===h?void 0:h.slug;return"category/".concat(b)}if("topic-hub"===l){var E,S=null==t?void 0:null===(E=t.keyValues)||void 0===E?void 0:E.slug;return"".concat(i,"/").concat(S)}if(null==t?void 0:null===(_=t.keyValues)||void 0===_?void 0:_.event){var T=[i];return n.find(function(e){return l===e})&&a&&T.push(a),T.join("/")}switch(i){case"home":return i;case"shows":return"shows-hub"===l?a?"".concat(i,"/").concat(a):i:"".concat(i,"/").concat(u);case"photos":return"photogallery";case r.LISTICLE:return l;default:return a&&"no-series"!==a?"".concat(i,"/").concat(a):i}}},41570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getFormattedBidBarrelAdUnit:function(){return o.default},refreshBidBarrelAds:function(){return i.default},refreshPageTargeting:function(){return a.default},targetingBidBarrelAds:function(){return l.default}});var n=r(232637),o=/*#__PURE__*/n._(r(295226)),i=/*#__PURE__*/n._(r(622674)),a=/*#__PURE__*/n._(r(953151)),l=/*#__PURE__*/n._(r(213862))},622674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=/*#__PURE__*/r(232637)._(r(295226));function o(e){if((null===(r=window)||void 0===r?void 0:null===(t=r.BidBarrel)||void 0===t?void 0:t.auction)&&(null===(i=window)||void 0===i?void 0:null===(o=i.BidBarrel)||void 0===o?void 0:o.destroySlots)&&"undefined"!=typeof document&&e){var t,r,o,i,a,l,s=(0,n.default)(e);if(s)try{null===(l=window)||void 0===l||null===(a=l.BidBarrel)||void 0===a||a.destroySlots([s]),window.BidBarrel.auction([s])}catch(e){console.error(e)}}}},953151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(441293),o=r(111290),i=r(687390);function a(){var e,t,r,a,l,s,u,d,c,f,p,v,m,y,g=window.repo._repoData;if((null===(t=window)||void 0===t?void 0:null===(e=t.BidBarrel)||void 0===e?void 0:e.setTargeting)&&"undefined"!=typeof document&&g&&(!g||g.constructor!==Object||0!==Object.entries(g).length)){var _=(0,i.getPagePath)(g),h=null!==(p=null==g?void 0:null===(a=g.doubleClick)||void 0===a?void 0:null===(r=a.keyValues)||void 0===r?void 0:r.event)&&void 0!==p?p:"",b=null==g?void 0:null===(s=g.doubleClick)||void 0===s?void 0:null===(l=s.keyValues)||void 0===l?void 0:l.section,E=null!==(y=null!==(m=null!==(v=null==g?void 0:null===(u=g.omniture)||void 0===u?void 0:u.contextData["v.pageType"])&&void 0!==v?v:null==g?void 0:null===(d=g.doubleClick)||void 0===d?void 0:d.templateType)&&void 0!==m?m:null==g?void 0:null===(f=g.doubleClick)||void 0===f?void 0:null===(c=f.keyValues)||void 0===c?void 0:c.section)&&void 0!==y?y:"",S=window.BidBarrel.getConfig("dfpPathObj");window.BidBarrel.setConfig("dfpPathObj",o._(n._({},S),{pagePath:_,string:"/".concat(S.network,"/").concat(S.device).concat(S.region,"-").concat(S.property,"/").concat(_)})),window.BidBarrel.setTargeting({ptype:h?b:E})}}},213862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=/*#__PURE__*/r(232637)._(r(295226));function o(e,t){var r,o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((null===(o=window)||void 0===o?void 0:null===(r=o.BidBarrel)||void 0===r?void 0:r.setTargeting)&&"undefined"!=typeof document&&e){var a=document.querySelector("[data-ad-unit='".concat(e,"']")),l=(0,n.default)(e);if(a&&l&&(i||"true"!==a.getAttribute("data-targeted")))try{window.BidBarrel.setTargeting({sponsor:t},[l]),a.setAttribute("data-targeted","true")}catch(e){console.error(e)}}}},415243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useInterval:function(){return i.useInterval},usePageLifecycle:function(){return n.default},usePrevious:function(){return o.usePrevious}});var n=/*#__PURE__*/r(232637)._(r(99364)),o=r(653674),i=r(269310)},269310:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useInterval",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(818720))},818720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(841766),o={immediate:!1},i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,i=r.immediate,a=(0,n.useRef)();(0,n.useEffect)(function(){a.current=e},[e]),(0,n.useEffect)(function(){i&&a.current()},[i]),(0,n.useEffect)(function(){if("number"==typeof t&&t>0){var e=setInterval(function(){a.current()},t);return function(){return clearInterval(e)}}},[t])}},99364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});var n=/*#__PURE__*/r(232637)._(r(240078)).default},240078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NOT_FUNCTION_WARNING:function(){return l},default:function(){return s}});var n=r(232637),o=r(350312),i=r(565412),a=/*#__PURE__*/n._(r(841766)),l="Value provided to usePageLifecycle is not a function",s=function(e){var t=i._(a.default.useState(null),2),n=t[0],s=t[1],u=a.default.useRef(function(){});a.default.useEffect(function(){Promise.resolve().then(function(){return /*#__PURE__*/o._(r(984443))}).then(function(e){s(e.default)})},[]),a.default.useEffect(function(){"function"==typeof e?u.current=e:console.warn(l)},[e]),a.default.useEffect(function(){var e=function(e){u.current(e)};if(n)return n.addEventListener("statechange",e),function(){return n.removeEventListener("statechange",e)}},[n])}},653674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"usePrevious",{enumerable:!0,get:function(){return n.default}});var n=/*#__PURE__*/r(232637)._(r(37684))},37684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(841766),o=function(e){var t=(0,n.useRef)();return(0,n.useEffect)(function(){t.current=e},[e]),t.current}},578690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ATTEMPT_INTERVAL:function(){return n},MAX_ATTEMPTS:function(){return r},PAGE_VIEW:function(){return o}});var r=50,n=250,o="pagev.json"},621101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"comscoreReporting",{enumerable:!0,get:function(){return s}});var n=r(560486),o=r(441293),i=r(731841),a=r(771278),l=r(921999);function s(){return u.apply(this,arguments)}function u(){return(u=n._(function(){var e,t,r,n,s,u,d,c,f,p,v,m,y,g,_,h,b,E,S=arguments;return i._(this,function(i){switch(i.label){case 0:if(e=S.length>0&&void 0!==S[0]?S[0]:{},t=S.length>1&&void 0!==S[1]?S[1]:{attemptOnWindowLoad:!0,attemptOnInterval:!1},!("undefined"!=typeof window&&"undefined"!=typeof document)||(m=!!(null===(r=window)||void 0===r?void 0:r.Bento),y=!!(null===(u=window)||void 0===u?void 0:null===(s=u.Bento)||void 0===s?void 0:null===(n=s.Config)||void 0===n?void 0:n.comScoreEnabled),g=null===(f=window)||void 0===f?void 0:null===(c=f.Bento)||void 0===c?void 0:null===(d=c.Config)||void 0===d?void 0:d.comScoreC2,_=null===(v=window)||void 0===v?void 0:null===(p=v.COMSCORE)||void 0===p?void 0:p.beacon,h=!!(m&&!y),b=!!(g&&_),h))return[2,null];if(!b)return[3,5];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,l.pageViewReporting)()];case 2:return i.sent(),[3,4];case 3:return(E=i.sent()).cause||console.log("comscoreReporting fails with error: ".concat(E.name," and message: ").concat(E.message)),[3,4];case 4:return[2,_(o._({c1:"2",c2:g},e))];case 5:return(0,a.attemptOnWindowLoad)(t,e),(0,a.attemptOnInterval)(t,e),[2]}})})).apply(this,arguments)}},771278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{attemptOnInterval:function(){return a},attemptOnWindowLoad:function(){return i}});var n=r(578690),o=r(621101);function i(e,t){(null==e?void 0:e.attemptOnWindowLoad)&&window.addEventListener("load",function e(){(0,o.comscoreReporting)(t,{attemptOnWindowLoad:!1,attemptOnInterval:!0}),window.removeEventListener("load",e)})}function a(e,t){if(null==e?void 0:e.attemptOnInterval)var r=0,i=window.setInterval(function(){var e,a,l,s,u;(null===(l=window)||void 0===l?void 0:null===(a=l.Bento)||void 0===a?void 0:null===(e=a.Config)||void 0===e?void 0:e.comScoreC2)&&(null===(u=window)||void 0===u?void 0:null===(s=u.COMSCORE)||void 0===s?void 0:s.beacon)&&((0,o.comscoreReporting)(t,{attemptOnWindowLoad:!1,attemptOnInterval:!1}),clearInterval(i)),(r+=1)>=n.MAX_ATTEMPTS&&clearInterval(i)},n.ATTEMPT_INTERVAL)}},894367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"comscoreReporting",{enumerable:!0,get:function(){return n.comscoreReporting}});var n=r(621101)},921999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pageViewReporting",{enumerable:!0,get:function(){return a}});var n=/*#__PURE__*/r(232637)._(r(952838)),o=r(578690),i=function(){var e=String(new Date().getTime());return"clientTime=".concat(e)},a=function(){var e,t=i(),r=(null===(e=window.repo)||void 0===e?void 0:e.pathPrefix)||"",a="".concat(window.location.origin).concat(r,"/").concat(o.PAGE_VIEW,"?").concat(t);return(0,n.default)(a,{method:"GET",headers:{"Content-Type":"application/json","Cache-Control":"no-cache"}}).then(function(e){var t=e.json();if(e.status>299)throw Error(null==t?void 0:t.message,{cause:"status greater then 299"});return t})}},993652:(e,t,r)=>{"use strict";var n=r(395761);e.exports=n},395761:(e,t,r)=>{"use strict";var n=r(882551),o=r(635991),i=r(875620),a=r(501985),l=r(769991),s=r(249409),u=r(500880),d=r(92754),c=r(43379),f=r(499756),p=r(772441),v=r(286644),m=r(800095),y=m.setupSiteLocale,g=m.getSiteLocaleConfig,_=r(885501);n.extend(v),n.extend(c),n.extend(p),n.extend(f),n.extend(s,_),n.extend(u),n.extend(a),n.extend(d),n.extend(o),n.extend(i),n.extend(l),n.extend(y),n.extend(g),e.exports=n},531900:e=>{"use strict";e.exports={EN_LOCALES:{DEFAULT_LOCALE:"en",EN_US_LOCALE:"en-us",US_LOCALE:"us"}}},592266:(e,t,r)=>{"use strict";var n=r(711908),o=(n.getConfigLocaleData,n.getLocaleConfigFromDayjs,n.getDayJsWithLocaleConfig);e.exports=function(e,t,r){r.getSiteLocaleConfig=function(e){return o(r,e)}}},926024:e=>{"use strict";e.exports=function(e,t,r){r.setupSiteLocale=function(e){return Object.keys(e).forEach(function(t){r.getSiteLocaleConfig(e[t])}),e}}},800095:(e,t,r)=>{"use strict";var n=r(592266),o=r(926024);e.exports={getSiteLocaleConfig:n,setupSiteLocale:o}},885501:(e,t,r)=>{"use strict";var n=r(553850),o=[{l:"s",r:44,d:n.SECOND},{l:"m",r:89},{l:"mm",r:44,d:n.MINUTE},{l:"h",r:89},{l:"hh",r:25,d:n.HOUR},{l:"d",r:35},{l:"dd",r:25,d:n.DAY},{l:"M",r:45},{l:"MM",r:10,d:n.MONTH},{l:"y",r:17},{l:"yy",d:n.YEAR}],i=Math.round;e.exports={thresholds:o,rounding:i}},553850:e=>{"use strict";e.exports={SECOND:"second",MINUTE:"minute",HOUR:"hour",DAY:"day",MONTH:"month",YEAR:"year"}},711908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(441293),o=r(111290),i=r(576783),a=r(531900).EN_LOCALES,l=a.DEFAULT_LOCALE,s=a.EN_US_LOCALE,u=a.US_LOCALE,d=function(e){return i.some(function(t){return(null==t?void 0:t.key)===e})},c=function(e){var t=null==e?void 0:e.toLowerCase();return t===s||t===u?l:t},f=function(e,t){var r={};return d(e)?(r.localeToGet=e,r.isSupported=!0):d(t)?(r.localeToGet=t,r.localeName=e,r.isSupported=!1):r.localeToGet=l,r},p=function(e){var t,r,i,a=null!==(i=null==e?void 0:e.options)&&void 0!==i?i:{},s=(null==a?void 0:a.siteLocale)||(null==a?void 0:a.locale)||l,u=null==a?void 0:null===(r=a.localeConfig)||void 0===r?void 0:null===(t=r.locales)||void 0===t?void 0:t[s],d=(null==u?void 0:u.parentLocale)||s.split("-")[0],c=null==a?void 0:a.timezone;return{locale:s,localeConfig:o._(n._({},u),{parentLocale:d}),timezone:c}},v=function(e){var t=e.locale,o=e.localeConfig,i=null==o?void 0:o.longDateFormat,a=null==o?void 0:o.parentLocale,l=f(c(t),a?c(a):void 0),s=l.isSupported,u=l.localeToGet,d=l.localeName,p=r(396204)("./".concat(u,".js")),v=p?Object.keys(p):[],m={isSupported:s};s||(m.parentLocale=u),v.forEach(function(e){m[e]=p[e]});var y=m.formats||{};return m.name=d||u,m.formats=i?n._({},m.formats,i):y,m};e.exports={getSupportedLocale:f,nomalizeLocale:c,getConfigLocaleData:p,getDayJsWithLocaleConfig:function(e,t){var r,i,a=(null==t?void 0:null===(r=t.locals)||void 0===r?void 0:r.configuration)||t,l=(null==t?void 0:t.locale)?t:p(a),s=null==l?void 0:null===(i=l.localeConfig)||void 0===i?void 0:i.longDateFormat,u=(null==l?void 0:l.timezone)||e.tz.guess(),d=v(l),c=d.isSupported,f=d.name;return c&&s?(e.updateLocale(f,{formats:n._({},d.formats)}),e.locale(f)):e.locale(f,d),e.tz.setDefault(u),{dayjsInstance:e,siteLocaleConfig:o._(n._({},l),{timezone:u})}},getLocaleConfigFromDayjs:v}},102497:(e,t,r)=>{"use strict";function n(){return!!(void 0!==r.g&&"undefined"!=typeof navigator&&(/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(navigator.userAgent)||/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1))}e.exports={isMobile:function(){return void 0!==r.g&&"undefined"!=typeof navigator&&/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/i.test(navigator.userAgent)&&!n()},isTablet:n}},998597:(e,t,r)=>{"use strict";var n=r(102497);e.exports={isMobile:n.isMobile,isTablet:n.isTablet}},263379:(e,t,r)=>{"use strict";var n=r(861303);e.exports={JSEmbed:n}},861303:e=>{"use strict";e.exports=function(){var e,t,r,n,o,i,a,l,s,u,d,c,f,p,v,m,y,g,_,h="1.0.6",b="onReadystatechange",E="none",S="fill",T="fillto",O="90deg",P="rotate".concat(O);".".concat(P,"{-webkit-transform:rotate(").concat(O,");-moz-transform:rotate(").concat(O,");-ms-transform:rotate(").concat(O,");-o-transform:rotate(").concat(O,");transform:rotate(").concat(O,");transform-origin:29.5% 50%;}");var A=960,x=560,C=window.innerWidth,R=window.innerHeight,k=window,w=document,I=navigator,D=!1,M=!1,L=!1,N=!1,j=[Z],F=0,U=[],B="",H=!1,W=0,z=0,K=0,V=0;window.console||(window.console={}),window.console.log||(window.console.log=function(){}),e="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no",document.body.classList.contains("game-webview-template")&&(e+=", viewport-fit=cover"),Q("mobile-web-app-capable","yes"),Q("theme-color","black"),Q("apple-mobile-web-app-capable","yes"),Q("apple-mobile-web-app-status-bar-style","black"),Q("viewport",e),Q("HandheldFriendly","true");var $=(o=void 0!==w.getElementById&&void 0!==w.getElementsByTagName&&void 0!==w.createElement,i=I.userAgent.toLowerCase(),l=(a=((null===(r=navigator)||void 0===r?void 0:null===(t=r.userAgentData)||void 0===t?void 0:t.platform)||(null===(n=navigator)||void 0===n?void 0:n.platform)||"unknown").toLowerCase())?/win/.test(a):/win/.test(i),s=a?/mac/.test(a):/mac/.test(i),{w3:o,wk:!!/webkit/.test(i)&&parseFloat(i.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")),ie:!+"\v1",win:l,mac:s}),G=void((void 0!==w.readyState&&"complete"===w.readyState||void 0===w.readyState&&(w.getElementsByTagName("body")[0]||w.body))&&X(),D||(void 0!==w.addEventListener&&w.addEventListener("DOMContentLoaded",X,!1),$.ie&&$.win&&(w.attachEvent(b,function(){"complete"===w.readyState&&(w.detachEvent(b,G),X())}),window.self!==window.top&&function(){if(!D){try{w.documentElement.doScroll("left")}catch(e){setTimeout(G,0);return}X()}}()),$.wk&&function(){if(!D){if(!/loaded|complete/.test(w.readyState)){setTimeout(G,0);return}X()}}(),function(e,t){if(void 0!==k.addEventListener)k.addEventListener("load",e,!1),k.addEventListener("error",t,!1);else if(void 0!==w.addEventListener)w.addEventListener("load",e,!1),w.addEventListener("error",t,!1);else if(void 0!==k.attachEvent)J(k,"load",e),J(k,"error",t);else if("function"==typeof k.onload){var r=k.onload;k.onload=function(){r(),e()};var n=k.onerror;k.onerror=function(){n(),t()}}else k.onload=e}(X,function(){}))),q=function(e){window.console&&console.log(e)},Y=function(e){var t=document.createElement("style");t.textContent=e,document.head.append(t)};function Q(e,t){var r=w.createElement("meta");r.name=e,r.content=t,w.getElementsByTagName("head").item(0).appendChild(r)}function J(e,t,r){null!=e&&void 0!==e&&(e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r)}function X(){if(!D){try{var e=w.getElementsByTagName("body")[0].appendChild(w.createElement("span"));e.parentNode.removeChild(e)}catch(e){return}D=!0;for(var t=j.length,r=0;r<t;r++)j[r]()}}function Z(){!(0<F)&&M&&(document.body.winParameters=function(){return{}},document.body._pnConfig=[],window._pnConfig=[],w.body.style.setProperty("-ms-touch-action","none",null))}function ee(e){e>3&&(e=3);var t=Math.round(A*e*1e3)/1e3,r=Math.round(x*e*1e3)/1e3;if(v.scaletype&&v.scaletype!==E){var n=w.getElementById(f);v.scaletype===S?(n.style.width=et()+"px",n.style.height=er()+"px",t=et(),r=er()):v.scaletype===T?(t=Math.round(C*e*1e3)/1e3,r=Math.round(R*e*1e3)/1e3,et()>t?(n.style.width=t+"px",n.style.left=et()/2-t/2+"px"):(n.style.width=et()+"px",n.style.left=0,t=et()),er()>r?n.style.height=r+"px":(n.style.height=er()+"px",r=er())):"fit"===v.scaletype?(n.style.width=t+"px",n.style.height=r+"px",n.style.left=et()/2-t/2+"px",r<er()?n.style.top=er()/2-r/2+"px":n.style.top="0px"):"fith"===v.scaletype?(n.style.width=et()>t?t+"px":et()+"px",n.style.height=r+"px",n.style.left=et()/2-t/2+"px"):"filltop"===v.scaletype&&(C=C||et(),R=R||er(),t=u||Math.round(C*e*1e3)/1e3,r=d||Math.round(R*e*1e3)/1e3,"flambe"!==v.api&&(et()>t?(n.style.left=et()/2-t/2+"px",n.style.width=t+"px"):(n.style.width=et()+"px",n.style.left="0px",t=et()),er()>r?(n.style.top=er()/2-r/2+"px",n.style.height=r+"px"):(n.style.top="0px",n.style.height=er()+"px",r=er())))}k.canvasScale=e,w.canvasScale=e,_=e,y=et(),g=er(),K=t,V=r,v.scaletype===S?(W=(et()-t)/2,z=(er()-r)/2):v.scaletype===T&&(W=(t-A*e)/2,z=(r-x*e)/2)}function et(){var e,t,r=0;return window.innerWidth?r=window.innerWidth:(null===(t=document)||void 0===t?void 0:null===(e=t.documentElement)||void 0===e?void 0:e.clientWidth)!==0?r=document.documentElement.clientWidth:document.body&&(r=document.body.clientWidth),r}function er(){var e,t;return window.innerHeight?window.innerHeight:(null===(t=document)||void 0===t?void 0:null===(e=t.documentElement)||void 0===e?void 0:e.clientHeight)!==0?document.documentElement.clientHeight:document.body?document.body.clientHeight:0}function en(e){N=e,k.isPaused=N}function eo(){return w.getElementById(f)}function ei(e){q("[JsEmbed] inform: "+e);var t=new Event(e);eo().dispatchEvent(t)}return{allowPortrait:function(){return!1},isPortrait:function(){return!1},controlPortrait:function(){return er()>et()},addStyle:function(){return Y()},exists:function(){return!0},params:function(){return v},attr:function(){return p},baseUrl:function(){return B},embedDiv:function(){return eo()},embedDivId:function(){return f},isBaseCrossdomain:function(){return H},canvasWidth:function(){return y},canvasHeight:function(){return g},scaledWidth:function(){return K},scaledHeight:function(){return V},canvasScale:function(){return _},contentOffsetX:function(){return W},contentOffsetY:function(){return z},scaleType:function(){return null===v.scaletype?"fit":v.scaletype},setCanvasScaleMax:function(e){},setCanvasOffset:function(e,t){W=e,z=t},onDomLoad:G,embed:function(e,t,r,n,o,i){q("[JsEmbed] embedInit, [jsEmbed] v"+h),f=t,p=i,v=o,M=!0,A=r||et(),x=n||er(),m=null!=v.indexroot&&"true"===v.indexroot,q("[JsEmbed]: setupSizeStart"),m=null!=v.indexroot&&"true"===v.indexroot,null===v.scaletype&&(v.scaletype=null===v.autoscale||"true"===v.autoscale?"fit":E),null!==v.maxwidth&&(C=v.maxwidth),null!==v.maxheight&&(R=v.maxheight),q("[JsEmbed]: setupSizeEnd");var a=window.location.host,l="";null===v.base?(B="",l=a):((B=v.base).indexOf("http")>=0?l=function(e){var t,r=e.substr(0,8);try{t=(r=0>r.search("http://")&&0>r.search("https://")&&0>r.search("ftp://")?"http://"+e:e).match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/)[2]}catch(e){t=""}return t}(B):(m||(B=(0>window.location.toString().indexOf("https://")?"http://":"https://")+a+("/"===a.charAt(a.length-1)||"/"===B.charAt(0)?"":"/")+B),l=a),B.length>0&&"/"!==B.charAt(B.length-1)&&(B+="/")),""!==B&&q("[JsEmbed] base : "+B),(H=l!==a)&&q("[JsEmbed] Warning: Loading Crossdomain"),Array.isArray(c=null==v.libs?[]:"string"==typeof v.libs?[v.libs]:v.libs)&&c.length>0&&c.forEach(function(e,t){!function e(t,r,n,o){if(o>0){F++,setTimeout(function(){e(t,r,!0,0)},o);return}var i=!1;if(!1!==r||!1!==n){for(var a in U)if(U[a].src===t&&(i=!0,!n||(U[a].retry++,U[a].retry>3)))return}i||(!n&&F++,U[U.length]={src:t,retry:0})}(e,!0,!1,250*t)}),D?Z():q("[JSEmbed] DOM not loaded. Waiting...")},pause:function(){en(!0)},unpause:function(){en(!1)},isPaused:function(){return N},inform:function(e){ei(e)},informletructed:function(){ei("letructed")},informtInitialized:function(){ei("init")},informReady:function(){ei("ready")},setDimensions:function(e,t){ee(e/A<t/x?e/A:t/x)},setScale:function(e){ee(e)},addMetaTag:function(e,t){Q(e,t)},addAlert:function(e,t){!function(e,t){t||(t=f);var r="alertoverlay",n=w.getElementById(t),o=eo();if(w.getElementById(r)){(o=w.getElementById(r)).innerHTML='<font color=#FFFFFFF; size=6; align="center">'+e+"<font>";return}(o=w.createElement("div")).setAttribute("id",r),o.innerHTML='<font color=#FFFFFFF; size=6; align="center">'+e+"<font>",o.setAttribute("style",'position:absolute; index:99999; left:5%; top:40%; text-align:"center"; text-shadow:1px 1px 1px black; '),n.appendChild(o)}(e,t)},removeAlert:function(e){var t,r,n,o;(t=e)||(t=f),n="alertoverlay",o=w.getElementById(t),w.getElementById(n)&&(r=w.getElementById(n),o.removeChild(r))},enableAutoScaling:function(){v.scaletype===E||L||(L=!0)},disableAutoScaling:function(){L&&(L=!1)},setDefaultEmbedDivStyle:function(){eo().setAttribute("style","padding:0;-webkit-user-select: none; -ms-touch-action:none; overflow: hidden; width:"+A+"px; height:"+x+"px; -webkit-tap-highlight-color: rgba(0,0,0,0);")},getIdealDimension:function(){return{width:A,height:x}},version:function(){return h}}}},703057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"triggerReportingEvent",{enumerable:!0,get:function(){return n.triggerReportingEvent}});var n=r(723655)},723655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"triggerReportingEvent",{enumerable:!0,get:function(){return o}});var n=r(441293),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};document&&window&&e&&document.body.dispatchEvent(new window.CustomEvent("triggerRepoCall",{detail:n._({eventName:e},t)}))}},446572:()=>{},483854:()=>{},470525:(e,t,r)=>{"use strict";r(483854),r(446572)},396792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(232637);r(722400),r(362184),r(504281),r(302648),r(566765),r(662166),r(347183),r(289421),r(26850),r(174660),r(212400),r(805254),r(80201),r(769862),r(506297),r(427105),r(626378),r(762719),r(529620),r(375381),r(816966),r(842556),r(16555),r(277750),r(658475),r(627942),r(808633),r(891425),r(69160),r(291263),r(618161),r(276843),r(947024),r(144007),r(982541),r(647391),r(298909),r(41141),r(502674),r(940520),r(384941),r(423216),r(914915),r(74340),r(956293),r(827812),r(795880),r(264682),r(730545),r(109354),r(683941),r(306222),r(876135),r(469121),r(15512),r(441834),r(691417),r(911635),r(519059),r(602614),r(210863),r(378800),r(436035),r(280032),r(498538),r(654327),r(708105),r(485611),r(770152),r(687203),r(663634),r(960036),r(622574),r(877871),r(412928),r(775620),r(183261),r(571848),r(800756),r(958032),r(572525),r(84394),r(126924),r(808944),r(958383),r(672933),r(187874),r(340972),r(454441),r(856927),r(9812),r(823414),r(360809),r(774847),r(517147),r(787590),r(898564),r(598092),r(483071),r(307407),r(861678),r(43139),r(509054),r(598789),r(159832),r(540714),r(539698),r(669185),r(947376),r(893090),r(650189),r(287455),r(6926),r(15750),r(838213),r(240150),r(594553),r(12771),r(283878),r(395858),r(125384),r(330136),r(448835),r(785574),r(554866),r(878872),r(651483),r(581666),r(205230),r(460046),r(334237),r(217218),r(674828),r(428846),r(752179),r(7537),r(59780),r(2903),r(763845),r(759531),r(832487),r(330999),r(111923),r(455087),r(65586),r(598186),r(888297),r(913905),r(76032),r(531661),r(711055),r(817635),r(824474),r(861551),r(576788),r(285293),r(771893),r(342883),r(198127),r(191560),r(297533),r(516070),r(444096),r(880588),r(755383),r(228077),r(210603),r(180683),r(285699),r(118559),r(941883),r(821704),r(173105),r(508740),r(641917),r(104106),r(138855),r(262764),r(726144),r(611046),r(720425),r(353150),r(773339),r(589688),r(612607),r(631626),r(161628),r(996910),r(982430),r(431630),r(919973),r(486710),r(520285),r(185887),r(716897),r(657944),r(343894),r(386113),r(290244),r(31968),r(956048),r(712624),r(572027),r(74853),r(384591),r(446635),r(575755),r(30679),r(775210),r(46805),r(431694),r(213369),/*#__PURE__*/n._(r(250722)).default.polyfill()},62434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(718493)._(r(175105),t)},436857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NO_VALUE:function(){return m},PREMIUM_TIER:function(){return f},aviaMetricType:function(){return u},buildInfo:function(){return r},continueWatching:function(){return i},customEvents:function(){return n},default:function(){return b},endOfContent:function(){return o},entityTypes:function(){return p},errorActionType:function(){return s},errorCodes:function(){return _},errorSeverityLevels:function(){return h},platform:function(){return a},playerErrorFlags:function(){return d},playerState:function(){return c},pluginNames:function(){return l},sessionStorageKeys:function(){return y},ui:function(){return g},userSettingsKeys:function(){return v}});var r={version:"".concat("1.14.51")},n={CHAPTER_COMPLETE:"chapterComplete",CHAPTER_START:"chapterStart",CLICK_AD_PAUSE:"clickAdPauseButton",CLICK_AD_PLAY:"clickAdPlayButton",CLICK_AUDIO_TRACK_BUTTON:"clickAudioTrackButton",CLICK_CC_TOGGLE:"clickCCToggle",CLICK_CHANNEL_LEFT_ARROW:"clickChannelsLeftArrow",CLICK_CHANNEL_RIGHT_ARROW:"clickChannelsRightArrow",CLICK_CHANNELS_TOGGLE:"clickChannelsToggle",CLICK_CHANNEL_TILE:"clickChannelTile",CLICK_ERROR_BUTTON:"clickErrorButton",CLICK_NEXT_BUTTON:"clickNextButton",CLICK_PAUSE_BUTTON:"clickPauseButton",CLICK_PLAY_BUTTON:"clickPlayButton",CLICK_PLAY_TOGGLE:"clickPlayToggle",CLOSE_PLAYER:"closePlayer",CLICK_REPLAY:"clickReplayButton",CLICK_SETTINGS_BUTTON:"clickSettingsButton",CLICK_WATCH_CREDITS_BUTTON:"clickWatchCreditsButton",CLICK_WCTV_SKIP_PROMO:"wctvSkipButtonClicked",CONTENT_RESTARTED:"contentRestarted",DISMISS_CHANNELS:"dismissChannels",DISMISS_UP_NEXT:"dismissUpNext",ERROR_SLATE:"errorSlate",FALLBACK_TO_SD:"fallbacktostandarddefinition",LIVE_RESTART:"liverestart",PLAYLIST_RESTART:"playlistrestart",PLUGIN_ERROR:"pluginerror",RESET_ERROR_SLATE:"resetErrorSlate",RETURN_TO_LIVE:"returnToLive",SHOW_WCTV_SKIP_PROMO:"wctvSkipShown",SIMULATED_FULLSCREEN:"simulatedFullscreen",SKIP_AD:"skipAd"},o={loop:"loop",next:"next",recommendation:"recommendation",replay:"replay",upsell:"upsell"},i={startTimeOffset:2},a={CHROMECAST:"chromecast",DESKTOP:"desktop",MOBILE:"mobile"},l={ADS_OVERLAY:"wv-ads-overlay",ADS_PLAYBACK:"wv-ads-playback",CHAPTER_TRACKING:"wv-chapter-tracking",CHROMECAST:"wv-chromecast",DEBUG:"wv-debug",ERROR:"wv-error",ERROR_SLATE:"wv-error-slate",FALLBACK_TO_SD:"wv-fallback-to-standard-definition",FULLSCREEN:"wv-fullscreen",LIVE_RESTART:"wv-live-restart",PLUTO:"wv-pluto",PROMO_REPORTING:"wv-promo-reporting-wctv",RATINGS_OVERLAY:"wv-ratings-overlay",REPORTING:"wv-reporting",SKIP_AD:"wv-skip-ad",WCTV:"wv-wctv",WEB:"wv-web",WEB_REACT_UI:"wv-web-react-ui"},s={CLOSE:"errorclose",RELOAD:"errorreload"},u={PAUSE:"pause",PLAY:"play",SEEK:"seek"},d={AD_BLOCK_WARNING:"ad_block_warning",AD_CONFIG_LOAD:"ad_config_load",AD_PLAYBACK_FAILURE:"ad_playback_failure",AD_PLAYBACK_WARNING:"ad_playback_warning",AUTH_MAX_STREAM_LIMIT:"auth_max_stream_limit",CONTENT_AUTH_BRIDGE_MISSING:"content_auth_bridge_missing",CONTENT_INTERNET_NO_CONNECTION:"content_internet_no_connection",CONTENT_PLAYBACK_FAILURE:"content_playback_failure",CONTENT_REQUEST_CANCELLED:"content_request_cancelled",CONTENT_SESSION_INVALID:"content_session_invalid",HLS_MASTER_M3U8_REQQUEST_LOAD:"hls_master_m3u8_request_load",HLS_CHUNK_REQUEST_LOAD:"hls_chunk_request_load",SHAKA_DRM_ERROR:"shaka_drm_error"},c={MGID:"mgid",PLAY_ID:"playId",USER_ID:"userId",SESSION_ID:"sessionId",MGIDS:"mgids",PLATFORM:"platform",PLATFORM_SENDER:"platformSender",PLAYER_NAME:"playerName",PLAYER_START_TIME:"playerStartTime",PLAYER_CONTAINER:"playerContainer",PLUTO_STITCHER_SESSION:"plutoStitcherSession",REQUEST_REGION:"requestRegion",START_SEEK_TIME:"startSeekTime",LOCALIZATION:"localization",LOCALIZED_GEOBLOCK_ERRORS:"localizedGeoBlockErrors",LAST_UPDATED_PLAYHEAD:"lastUpdatedPlayhead",CURRENT_CHAPTER:"currentChapter",CONSENT_STRING:"consentString",INITIAL_LOAD_REQUEST:"initialLoadRequest",IS_AD_BREAK_ACTIVE:"isAdBreakActive",IS_DAI:"isDAI",IS_LIVE:"isLive",IS_LIVE_RESTART:"isLiveRestart",IS_PLUTO:"isPluto",IS_WCTV:"isWCTV",IS_USER_PAUSED:"isUserPaused",AUTOPLAY_BLOCKED:"autoplayBlocked",EDEN_HAS_CONTENT_STARTED:"edenHasContentStarted",GAME_PREROLL:"gamePreroll",GDPR_APPLIES:"gdprApplies",GPP:"gpp",AUDIO_TRACK_INITIATED:"audioTrackInitiated",CURRENT_PLAYLIST_INDEX:"currentPlaylistIndex",ACCESS_TIER:"accessTier",PLATFORM_ADVERT_ID:"platformAdvertId",PLAYER_VERSION:"playerVersion",PLUGIN_VERSION:"pluginVersion",USE_AVIA:"useAvia",OVERRIDES:"overrides",Z_MOAT_CALLBACK_URL:"zMoatCallbackUrl",DRM_CONTEXT:"drmContext",ROBUSTNESS:"robustness",FALLBACK_TO_SD:"fallbackToSD",IS_FALLBACK_TO_SD_LOADING:"isFallbackToSDLoading"},f="premium",p={EPISODE:"episode",CLIP:"clip",MOVIE:"movie",VIDEO:"video"},v={AUDIO_LANGUAGE:"audioLanguage",AUDIO_LANGUAGE_TYPE:"audioLanguageType",CC_ON:"ccOn",DEBUG_OPTIONS:"debugOptions",MUTED:"muted",PLAY_ID:"playId",PLAYBACK_SESSION:"playbackSession",PREVIOUS_UUID:"previousUuid",TEXT_TRACK_LANGUAGE:"textTrackLanguage",USER_ID:"userId",VGUID:"vguid",VOLUME:"volume"},m="No Value",y={AUTO_ADVANCE:"wv-autoAdvanceToNextVideo"},g={KEYBOARD_NAVIGATION_CLASS:"is--focused",AD_CLICK_THROUGH:'[data-role="adClickEl"]',TIMER_ACCESSIBILITY:5e3,TIMER_CONTROLS:3e3,TIMER_CUE:4e3,TIMER_IDLE:4500,TIMER_PAUSE:5e3,TIMER_RATINGS:15e3,EPG_FETCH_DELAY:18e4,AUTOPLAY_SUPPORT_NONE:"NONE",AUTOPLAY_SUPPORT_MUTED:"MUTED",AUTOPLAY_SUPPORT_UNMUTED:"UNMUTED",FETCH_END:"DONE",FETCH_ERROR:"ERROR",FETCH_START:"FETCHING",ADS_CUSTOM_MESSAGE:"YOUR CONTENT WILL RESUME SHORTLY",ADS_TYPE_AD:"ad",ADS_TYPE_PROMO:"promo",QUERY_STRING_TIMERS:"videoPlayerAutoHideTime",QUERY_STRING_AVIA_UI_HIDE:"videoPlayerAutoHideDisabled",QUERY_STRING_EPG_DELTA:"timeShift",PREMIUM_TIER:"premium",TYPE_CLIP:"showvideo",TYPE_EPISODE:"episode",TYPE_MOVIE:"movie",TYPE_VIDEO:"video"},_={content_playback_failure:-2e3,content_internet_no_connection:-2001,content_request_cancelled:-2002,content_session_invalid:-2003,content_auth_bridge_missing:-2004,content_content_expired:-2005,hls_master_m3u8_request_load:-2006,hls_playlist_m3u8_request_load:-2007,hls_master_m3u8_auth:-2008,hls_playlist_variant_m3u8_auth:-2009,hls_chunk_request_load:-2010,hls_playlist_rendition_load:-2011,auth_cryptkey_load:-2012,hls_captions_load:-2013,hls_audio_track_load:-2014,http_response_load:-2015,content_device_failed_play:-2016,http_response_timeout:-2017,npaw_config_load:-2020,auth_max_stream_limit:-2022,seamless_response_load:-2200,seamless_response_parse:-2201,seamless_asset_unavailable:-2202,seamless_geo_blocked:-2203,seamless_context_missing:-2204,seamless_source_url_invalid:-2205,seamless_stream_auth:-2206,seamless_stream_expired:-2207,seamless_stream_concurrency_limit_reached:-2208,seamless_stream_duration_mismatch:-2209,ad_config_load:-2400,ad_request_timeout:-2401,ad_playback_failure:-2402,ad_manifest_response_load:-2403,ad_seamless_load:-2404,ad_beaconing_failure:-2405,ad_playback_warning:-2406,ad_request_hard_timeout:-2407,ad_clickthrough_invalid_url:-2408,ad_block_warning:-2410,ad_amazona9_bid_request_config_load:-2500,ad_amazona9_bid_response_load:-2501,ad_amazona9_bid_client_timeout:-2502,ad_amazona9_bid_no_bid:-2503,ad_amazona9_bid_internal_code:-2504,om_config_other_load:-2600,ad_moat_failure:-2601,vpn_detection_vpn_detected:-2700,vpn_detection_response_parse:-2701,vpn_detection_response_missing_data:-2702,ad_request_failure:-2800,pluto_stitcher_session_response_load:-10001,pluto_stitcher_session_response_parse:-10002,chromecast_cannot_cast_pluto:-2050,unspecified_avia_error:-11e3},h={fatal:60,error:50,warn:40,info:30,debug:20,trace:10},b={aviaMetricType:u,buildInfo:r,continueWatching:i,customEvents:n,endOfContent:o,entityTypes:p,errorActionType:s,errorCodes:_,errorSeverityLevels:h,NO_VALUE:m,platform:a,playerState:c,sessionStorageKeys:y,ui:g}},131191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{buildInfo:function(){return i.buildInfo},getCurrentChapter:function(){return n.getCurrentChapter},getState:function(){return o.getState}}),r(718493)._(r(205372),t);var n=r(371616),o=r(36246),i=r(436857)},603927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AdsOverlayPlugin",{enumerable:!0,get:function(){return _}});var n=r(353916),o=r(547070),i=r(356561),a=r(391884),l=r(850717),s=r(358200),u=r(232637),d=r(175105),c=r(195212),f=/*#__PURE__*/u._(r(835709)),p=r(288239),v=r(170009),m=r(472689),y=r(371616),g=r(436857),_=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return s._(t,e),i._(t,[{key:"getId",value:function(){return g.pluginNames.ADS_OVERLAY}},{key:"onRegister",value:function(e,r,n){a._(l._(t.prototype),"onRegister",this).call(this,e,r,n),"string"==typeof this.services.playerOptions.container?this.container=document.querySelector(this.services.playerOptions.container):this.container=this.services.playerOptions.container,this.init()}},{key:"getEventInterests",value:function(){return[d.PlayerEvent.AD_BREAK_METADATA,d.PlayerEvent.AD_BREAK_COMPLETE,d.PlayerEvent.AD_COMPLETE,d.PlayerEvent.AD_PROGRESS,d.PlayerEvent.RESOURCE_END,d.PlayerEvent.AD_SKIPPED,d.PlayerEvent.AD_START]}},{key:"init",value:function(){this.wrapper=(0,f.default)(),this.content=(0,m.template)(v.adsOverlayClass),this.wrapper.appendChild(this.content),this.wrapper.appendChild((0,p.style)(v.adsOverlayCss)),this.contentResume=(0,m.template)(),this.container&&(this.container.appendChild(this.wrapper),this.initAdCount())}},{key:"clearContent",value:function(){this.content.innerHTML=""}},{key:"showResumeMessage",value:function(){var e,t,r,n;this.content.appendChild(this.contentResume),this.contentResume.innerText=(null===(n=this.options.localization)||void 0===n?void 0:null===(r=n.label)||void 0===r?void 0:null===(t=r.adsContentResume)||void 0===t?void 0:null===(e=t.toUpperCase)||void 0===e?void 0:e.call(t))||"YOUR CONTENT WILL RESUME SHORTLY"}},{key:"initAdCount",value:function(){this.adCount=(0,m.template)(v.adCountClass),this.wrapper.appendChild((0,p.style)(v.adCountCss)),this.adCountTimer=(0,m.template)(v.adTimerClass),this.wrapper.appendChild((0,p.style)(v.adTimerCss))}},{key:"getAdBreakMetadata",value:function(e){var t=(null==e?void 0:e.detail).adBreakInfo;this.adBreakInfo={adBreakDuration:(null==t?void 0:t.duration)||(null==t?void 0:t.adBreakDuration),adTotal:null==t?void 0:t.adTotal}}},{key:"setContent",value:function(e){var t,r,n,o,i=((null==e?void 0:e.detail)||{}).adInfo,a=(null==i?void 0:i.adPosition)!==null&&(null==i?void 0:i.adPosition)!==void 0,l=null===(r=this.options)||void 0===r?void 0:null===(t=r.configuration)||void 0===t?void 0:t.useAdPodTimer,s=null===(o=this.options)||void 0===o?void 0:null===(n=o.configuration)||void 0===n?void 0:n.useAdPodCounter;if(!i||!a||!l&&!s){this.showResumeMessage();return}this.showAdCounter(i)}},{key:"showAdCounter",value:function(e){this.content.appendChild(this.adCount),this.content.appendChild(this.adCountTimer);var t,r,n,o,i=(null===(r=this.options)||void 0===r?void 0:null===(t=r.configuration)||void 0===t?void 0:t.useAdPodCounter)?" ".concat(e.adPosition,"/").concat(this.adBreakInfo.adTotal):"";this.adCount.innerText="".concat(null===(o=this.options.localization)||void 0===o?void 0:null===(n=o.label)||void 0===n?void 0:n.ad).concat(i),this.adBreakInfo.adDuration=e.adDuration}},{key:"updateAdTimer",value:function(e){var t,r,n,o,i=(null===(r=this.options)||void 0===r?void 0:null===(t=r.configuration)||void 0===t?void 0:t.useAdPodTimer)?null===(n=this.adBreakInfo)||void 0===n?void 0:n.adBreakDuration:null===(o=this.adBreakInfo)||void 0===o?void 0:o.adDuration;if(i){var a=(null==e?void 0:e.detail).currentTime;this.adCountTimer.innerText="- ".concat((0,y.parseVideoTime)(Math.max(i-a,0)))}}},{key:"updateAdBreakDuration",value:function(){this.adBreakInfo.adBreakDuration-=this.adBreakInfo.adDuration}},{key:"handlePlayerEvent",value:function(e){switch(e.type){case d.PlayerEvent.AD_BREAK_METADATA:this.getAdBreakMetadata(e);break;case d.PlayerEvent.AD_START:this.clearContent(),this.setContent(e);break;case d.PlayerEvent.AD_PROGRESS:this.updateAdTimer(e);break;case d.PlayerEvent.AD_SKIPPED:case d.PlayerEvent.AD_COMPLETE:case d.PlayerEvent.AD_BREAK_COMPLETE:this.updateAdBreakDuration(),this.clearContent();break;case d.PlayerEvent.RESOURCE_END:this.clearContent()}}}]),t}(c.BasePlugin)},170009:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adCountClass:function(){return o},adCountCss:function(){return i},adTimerClass:function(){return a},adTimerCss:function(){return l},adsOverlayClass:function(){return r},adsOverlayCss:function(){return n}});var r="ui__adsoverlay",n="\n .".concat(r," {\n position: absolute;\n top: 0;\n left: 0;\n margin: 24px;\n z-index: 1;\n color: white;\n text-shadow: 2px 2px 8px #000000;\n touch-action: none;\n pointer-events: none;\n }\n"),o="ui__adcount",i="\n.".concat(o," {\n background-color: #FFEB3B;\n color: #000;\n display: inline-block;\n padding: 5px 8px;\n font: var(--pico);\n text-transform: uppercase;\n letter-spacing: var(--pico-letter-spacing);\n border-radius: 4px;\n pointer-events: none;\n text-shadow: none;\n }\n"),a="ui__adtimer",l="\n .".concat(a," {\n font: var(--pico);\n letter-spacing: var(--pico-letter-spacing);\n text-transform: var(--pico-text-transform);\n color: #fff;\n display: inline-block;\n margin-left: 4px;\n text-shadow: none;\n }\n")},698256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{onPlaybackStateChange:function(){return a},pausePlayback:function(){return s},resumePlayback:function(){return l}});var n=r(175105),o=r(356833),i="cvp-sessionPlayingInstance";function a(e,t){var r;(null==e?void 0:e.type)===n.PlayerEvent.PLAYBACK_STATE_CHANGE&&(null==e?void 0:null===(r=e.detail)||void 0===r?void 0:r.playbackState)==="playing"&&(0,o.getStorage)("sessionStorage").setItem(i,t)}function l(e){e===(0,o.getStorage)("sessionStorage").getItem(i)&&(0,n.retrieveVideoPlayer)(e).then(function(e){e.resumePlayback(),e.play()})}function s(e){(0,n.retrieveVideoPlayer)(e).then(function(e){return e.suspendPlayback()})}},356804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AdsPlaybackPlugin",{enumerable:!0,get:function(){return m}});var n=r(353916),o=r(547070),i=r(356561),a=r(391884),l=r(850717),s=r(358200),u=r(175105),d=r(195212),c=r(436857),f=r(36246),p=r(473413),v=r(698256),m=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return s._(t,e),i._(t,[{key:"onRegister",value:function(e,r,n){a._(l._(t.prototype),"onRegister",this).call(this,e,r,n),this.init()}},{key:"getId",value:function(){return c.pluginNames.ADS_PLAYBACK}},{key:"getEventInterests",value:function(){return[u.PlayerEvent.PLAYBACK_STATE_CHANGE,u.PlayerEvent.AD_PAUSED,u.PlayerEvent.AD_CLICK]}},{key:"handlePlayerEvent",value:function(e){var t,r;u.PlayerEvent.PLAYBACK_STATE_CHANGE===(null==e?void 0:e.type)&&((0,v.onPlaybackStateChange)(e,this.player.id),(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.playbackState)==="playing"&&(0,f.setState)(this.player.id,c.playerState.IS_USER_PAUSED,!1)),u.PlayerEvent.AD_PAUSED===(null==e?void 0:e.type)&&"visible"===document.visibilityState&&(0,f.setState)(this.player.id,c.playerState.IS_USER_PAUSED,!0),u.PlayerEvent.AD_CLICK===(null==e?void 0:e.type)&&((0,f.setState)(this.player.id,c.playerState.IS_USER_PAUSED,!1),(null===(r=this.options)||void 0===r?void 0:r.resumeAfterAdClick)&&(0,v.resumePlayback)(this.player.id))}},{key:"init",value:function(){this.eventHandler=this.handlePageVisibilityChange.bind(this),document.addEventListener("visibilitychange",this.eventHandler)}},{key:"destroy",value:function(){document.removeEventListener("visibilitychange",this.eventHandler)}},{key:"handlePageVisibilityChange",value:function(){!(0,p.isDuringAd)()||(0,f.getState)(this.player.id,c.playerState.IS_USER_PAUSED)||(0,f.getState)(this.player.id,c.playerState.IS_LIVE)||(0,f.getState)(this.player.id,c.playerState.IS_PLUTO)||("visible"===document.visibilityState?(0,v.resumePlayback)(this.player.id):(0,v.pausePlayback)(this.player.id))}}]),t}(d.BasePlugin)},195212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BasePlugin",{enumerable:!0,get:function(){return s}});var n=r(547070),o=r(356561),i=r(436857),a=r(36246),l=Error("Method not implemented."),s=/*#__PURE__*/function(){function e(){n._(this,e)}return o._(e,[{key:"getId",value:function(){return this.constructor.name}},{key:"onRegister",value:function(e,t,r){var n=this;this.player=e,this.options=t,this.services=r,this.playerEventHandler=function(e){return n.handlePlayerEvent(e)},this.listenToPlayer(!0,this.getEventInterests())}},{key:"destroy",value:function(){this.listenToPlayer(!1,this.getEventInterests())}},{key:"handlePlayerEvent",value:function(e){}},{key:"getEventInterests",value:function(){return[]}},{key:"listenToPlayer",value:function(e,t){var r=this,n=e?"on":"off";t.forEach(function(e){return r.player&&r.player[n](e,r.playerEventHandler)})}},{key:"sendEvent",value:function(e){throw l}},{key:"log",value:function(e){throw l}},{key:"store",value:function(e,t){(0,a.setState)(e,t.mgid,t),(0,a.getState)(e,i.playerState.MGIDS).add(t.mgid)}}]),e}()},204362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ChapterTrackingPlugin",{enumerable:!0,get:function(){return g}});var n=r(353916),o=r(547070),i=r(356561),a=r(391884),l=r(850717),s=r(358200),u=r(864705),d=r(175105),c=r(195212),f=r(436857),p=r(36246),v=r(371616),m=r(854487),y="chapterComplete",g=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return s._(t,e),i._(t,[{key:"getId",value:function(){return f.pluginNames.CHAPTER_TRACKING}},{key:"onRegister",value:function(e,r,n){a._(l._(t.prototype),"onRegister",this).call(this,e,r,n),this.handlePageExit(),this.topazFeed={},this.lastUpdatedPlayhead=null,this.disableChapterTracking=!1,this.deferredEventSent=!1}},{key:"getEventInterests",value:function(){return[d.PlayerEvent.CONTENT_PROGRESS,d.PlayerEvent.RESOURCE_START,d.PlayerEvent.PLUGIN_EVENT,d.PlayerEvent.CONTENT_COMPLETE,d.PlayerEvent.RESOURCE_END]}},{key:"handlePlayerEvent",value:function(e){var t;if(!((0,p.getState)(this.player.id,f.playerState.IS_LIVE)||(0,p.getState)(this.player.id,f.playerState.IS_PLUTO))){switch(null==e?void 0:e.type){case d.PlayerEvent.CONTENT_PROGRESS:this.trackChapter(e);break;case d.PlayerEvent.RESOURCE_START:this.disableChapterTracking=!1,this.deferredEventSent=!1,this.lastUpdatedPlayhead=null;var r,n=(0,p.getState)(this.player.id,f.playerState.CURRENT_PLAYLIST_INDEX),o=Array.from((0,p.getState)(this.player.id,f.playerState.MGIDS))[n];this.topazFeed=null===(r=(0,p.getState)(this.player.id,o))||void 0===r?void 0:r.topazFeed;break;case d.PlayerEvent.RESOURCE_END:case d.PlayerEvent.CONTENT_COMPLETE:this.disableChapterTracking=!0}(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.type)===m.TrackingUiEvent.CLOSE_PLAYER&&(this.disableChapterTracking=!0)}}},{key:"trackChapter",value:function(e){var t,r,n=this,o=e.detail,i=((null===(r=this.topazFeed)||void 0===r?void 0:null===(t=r.content)||void 0===t?void 0:t[0])||{}).chapters;if(i&&i.length){var a=this.getCurrentChapter(o.contentTime,i),l=Math.floor(o.contentTime);if(this.lastUpdatedPlayhead===l)return;var s=Math.floor((0,v.parseTime)(i[a].contentoffset));if(l===s){a>=1&&null!==this.lastUpdatedPlayhead&&this.dispatchChapterEvent(y,a-1,i);var c=["chapterStart",a,i];this.hasAdBreakAtTime(l,s)&&s>0?this.player.once(d.PlayerEvent.AD_BREAK_COMPLETE,function(){n.dispatchChapterEvent.apply(n,u._(c))}):this.dispatchChapterEvent.apply(this,u._(c))}Math.floor(o.contentDuration)===Math.floor(o.contentTime)&&this.dispatchChapterEvent(y,a,i),this.lastUpdatedPlayhead=l}}},{key:"getCurrentChapter",value:function(e,t){return(0,v.getCurrentChapter)(e,t)}},{key:"dispatchChapterEvent",value:function(e,t,r){var n=this;if(!this.disableChapterTracking){var o=r[t].sequence,i={type:e,chapterSequence:o,chapterOffset:(0,v.parseTime)(r[t].contentoffset),chapterLength:(0,v.parseTime)(r[t].duration),chapterId:r[t].id,chapterInfo:{current:o-1,totalChapters:r.length}};this.deferredEventSent||e===y?this.services.event.dispatchPluginEvent(i):(setTimeout(function(){n.services.event.dispatchPluginEvent(i)},0),this.deferredEventSent=!0),(0,p.setState)(this.player.id,f.playerState.CURRENT_CHAPTER,o)}}},{key:"hasAdBreakAtTime",value:function(e){var t,r=null===(t=this.player)||void 0===t?void 0:t.getAdBreakTimes();if(r&&Array.isArray(r))return r.some(function(t){var r=t.startTime,n=t.hasPlayed;return r>=e&&r<=e+1&&!n})}},{key:"handlePageExit",value:function(){var e=this;window.addEventListener("beforeunload",function(){e.disableChapterTracking||(e.disableChapterTracking=!0,e.player.stop())},{once:!0,capture:!0})}}]),t}(c.BasePlugin)},19168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var r=function(e){e.playerManager.addEventListener(cast.framework.events.EventType.LOADED_DATA,function(){if(e.dashTrackNames&&!(e.dashTrackNames.length<=0)){for(var t=e.playerManager.getMediaInformation(),r=0;r<t.tracks.length;r++){var n=e.dashTrackNames[r];t.tracks[r].name=n}e.playerManager.setMediaInformation(t),e.dashTrackNames=[]}})},n=function(e,t){var r=Array.from(e.getElementsByTagName("AdaptationSet")).map(function(e){return{id:e.getAttribute("id"),label:e.getAttribute("label"),mimeType:e.getAttribute("mimeType")}}).filter(function(e){return!!e.label});t.dashTrackNames=r.map(function(e){return e.label})},o=function(e){var t=e.playbackConfig||{};return r(e),t.shakaConfig={manifest:{dash:{manifestPreprocessor:function(t){return n(t,e)}}}},t}},675195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){var t,r;return"undefined"!=typeof window&&(t=new URLSearchParams(window.location.search),r=e,t.has("streamLimitReached")&&(r.media.metadata.errorType="StreamLimitReached"),e=r),e}},287019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ID:function(){return v},default:function(){return y}});var n=r(547070),o=r(356561),i=r(199591),a=r(232637),l=r(565412),s=r(175105),u=r(436857),d=r(273414),c=r(36246),f=r(376721),p=/*#__PURE__*/a._(r(919486)),v="chromecast",m=/*#__PURE__*/function(){function e(t,r){n._(this,e),this.delegate=t.getDelegate(),this.playerManager=cast.framework.CastReceiverContext.getInstance().getPlayerManager(),this.playerId=t.player.id,this.player=t.player,this.services=r.getServices(),this.isInAdBreak=!1,this.mapCastEvents(),this.audioTrackInfo={tracks:[],track:null},this.textTrackInfo={tracks:[],track:null}}return o._(e,[{key:"mapCastEvents",value:function(){var e,t=this,r=cast.framework.events.EventType,n=this.delegate,o=function(e,n){(!t.isInAdBreak||[r.BREAK_STARTED,r.BREAK_ENDED].includes(e.type))&&n()};this.eventMapping=(e={},i._(e,r.BREAK_STARTED,function(e){return o(e,function(){t.isInAdBreak=!0})}),i._(e,r.BREAK_ENDED,function(e){return o(e,function(){t.isInAdBreak=!1})}),i._(e,r.PLAYING,function(e){return o(e,n.playing)}),i._(e,r.PAUSE,function(e){return o(e,n.paused)}),i._(e,r.REQUEST_PAUSE,function(e){return o(e,function(){(0,f.reportClickPlayToggle)(t.services),t.player.recordMetric(s.MetricType.API,u.aviaMetricType.PAUSE)})}),i._(e,r.REQUEST_PLAY,function(e){return o(e,function(){(null==e?void 0:e.senderId)!=="local"&&((0,f.reportClickPlayToggle)(t.services),t.player.recordMetric(s.MetricType.API,u.aviaMetricType.PLAY))})}),i._(e,r.REQUEST_SEEK,function(e){return o(e,function(){(0,f.reportClickAviaUiProgressBar)(t.services)})}),i._(e,r.SEEKING,function(e){return o(e,n.seeking)}),i._(e,r.SEEKED,function(e){return o(e,function(){n.seeked(),t.player.recordMetric(s.MetricType.API,u.aviaMetricType.SEEK,e.currentMediaTime)})}),i._(e,r.MEDIA_FINISHED,function(e){return o(e,n.ended)}),i._(e,r.TIME_UPDATE,function(e){return o(e,n.timeUpdate)}),i._(e,r.LOADED_DATA,function(e){return o(e,function(){n.durationChange(),t.updateAudioTracksInfo(),t.updateTextTracksInfo()})}),i._(e,r.TRACKS_CHANGED,function(e){return o(e,t.updateTextTracksInfo)}),i._(e,r.PLAYER_LOAD_COMPLETE,function(e){return o(e,function(){t.mediaInformation=(0,d.getCastMediaInformation)(e),n.durationChange()})}),i._(e,r.ERROR,function(e){return o(e,function(){return(0,p.default)(e,n.error)})}),i._(e,r.REQUEST_EDIT_TRACKS_INFO,function(e){o(e,function(){return t.toggleTextTrack(e)})}),e),Object.entries(this.eventMapping).forEach(function(e){var r=l._(e,2),n=r[0],o=r[1];t.playerManager.addEventListener(n,o)})}},{key:"setAutoQualitySwitching",value:function(e){console.warn("Method setAutoQualitySwitching not implemented.")}},{key:"setQuality",value:function(){console.warn("Method setQuality not implemented.")}},{key:"setMinBitrate",value:function(e){console.warn("Method setMinBitrate not implemented.")}},{key:"setMaxBitrate",value:function(e){console.warn("Method setMaxBitrate not implemented.")}},{key:"setTextTrack",value:function(e){console.warn("Method setTextTrack not implemented.")}},{key:"setTextTrackMode",value:function(e){}},{key:"setAudioTrack",value:function(e){console.warn("Method setAudioTrack not implemented.")}},{key:"getType",value:function(){console.warn("Method getType not implemented.")}},{key:"getIsLiveStream",value:function(){return!!(0,c.getState)(this.playerId,u.playerState.IS_LIVE)}},{key:"getCurrentTime",value:function(){return this.playerManager.getRawCurrentTimeSec()}},{key:"getDuration",value:function(){return this.mediaInformation.streamDuration}},{key:"getBufferLength",value:function(){console.warn("Method getBufferLength not implemented.")}},{key:"getLiveStreamInfo",value:function(){var e=this.playerManager.getLiveSeekableRange()||{start:0,end:0},t=e.start,r=e.end,n=this.playerManager.getRawCurrentTimeSec(),o=r-t;return{relativeTime:Math.max(n-t,0),relativeDuration:o,absoluteDuration:Date.now(),dvrWindowSize:Math.floor(o),liveEdgeOffset:0,isPlayingLive:Math.ceil(n)>=o,absoluteTime:this.playerManager.getAbsoluteTimeForMediaTime(n),absoluteStart:this.playerManager.getMediaInformation().startAbsoluteTime}}},{key:"destroy",value:function(){var e=this;return this.eventMapping&&Object.entries(this.eventMapping).forEach(function(t){var r=l._(t,2),n=r[0],o=r[1];e.playerManager.removeEventListener(n,o)}),Promise.resolve()}},{key:"load",value:function(){return Promise.resolve()}},{key:"play",value:function(){return this.playerManager.play(),Promise.resolve()}},{key:"pause",value:function(){return this.playerManager.pause(),Promise.resolve()}},{key:"suspend",value:function(){console.warn("Method suspend not implemented.")}},{key:"resume",value:function(){}},{key:"seek",value:function(e){console.warn("Method seek not implemented.")}},{key:"resize",value:function(){}},{key:"clearText",value:function(){console.warn("Method clearText not implemented.")}},{key:"getMetrics",value:function(){console.warn("Method getMetrics not implemented.")}},{key:"updateAudioTracksInfo",value:function(){var e=this.playerManager.getAudioTracksManager(),t=e.getTracks()||[],r=e.getActiveTrack(),n=function(e){return{id:e.trackId,kind:e.type,language:e.language,lang:e.language,label:e.name,default:!1}},o=t.map(n);this.audioTrackInfo.tracks=o,this.audioTrackInfo.track=r?n(r):null,this.delegate.audioTracksChange(this.audioTrackInfo.tracks),this.delegate.audioTrackChange(this.audioTrackInfo.track)}},{key:"updateTextTracksInfo",value:function(){var e=(this.playerManager.getTextTracksManager().getTracks()||[]).map(function(e){return{id:e.trackId,kind:"subtitles",language:e.language,lang:e.language,label:e.name,default:!1}});this.textTrackInfo.tracks=e,this.textTrackInfo.track=this.getActiveTextTrack(),this.delegate.textTracksChange(this.textTrackInfo.tracks),this.delegate.textTrackChange(this.textTrackInfo.track)}},{key:"getActiveTextTrack",value:function(){var e=this.playerManager.getTextTracksManager();if(!e)return null;var t=e.getActiveIds();return(null==t?void 0:t.length)===0&&this.textTrackInfo.tracks.length?this.textTrackInfo.tracks[0]:this.textTrackInfo.tracks.find(function(e){return t.includes(e.id)})}},{key:"toggleTextTrack",value:function(e){var t,r,n,o,i=((null===(r=e.requestData)||void 0===r?void 0:null===(t=r.activeTrackIds)||void 0===t?void 0:t.length)||[])>1||(null==e?void 0:null===(n=e.requestData)||void 0===n?void 0:n.language)!==void 0,a=null===(o=e.requestData)||void 0===o?void 0:o.enableTextTracks;this.delegate.textTrackDisplayModeChange(i||a?s.TextTrackMode.SHOWING:s.TextTrackMode.DISABLED),(0,f.reportClickAviaUiCCToggle)(this.services)}}]),e}(),y=function(e,t){return new m(e,t)}},842616:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DAI_CAST_AD_ADAPTER_ID:function(){return c},default:function(){return v},isDaiCastAdAdapterSupported:function(){return f}});var n=r(547070),o=r(356561),i=r(199591),a=r(232637),l=r(565412),s=r(273414),u=/*#__PURE__*/a._(r(919486)),d=r(213240),c="DAI_CAST_AD_ADAPTER",f=function(e){var t,r;return(null==e?void 0:null===(r=e.resource)||void 0===r?void 0:null===(t=r.ad)||void 0===t?void 0:t.context)==="cast"},p=/*#__PURE__*/function(){function e(t,r){var o,a,c=this;n._(this,e),this.playerManager=cast.framework.CastReceiverContext.getInstance().getPlayerManager(),this.streamManager=r.getStreamManager(),this.delegate=t.getDelegate(),this.resource=t.resource,this.isInAdBreak=!1,this.capturedAdData=null;var f=google.ima.cast.dai.api.StreamEvent.Type,p=cast.framework.events.EventType,v=function(e,t){(c.isInAdBreak||[p.BREAK_STARTED,p.PLAYER_LOAD_COMPLETE].includes(e.type))&&t()},m=function(e,t){(c.isInAdBreak||[f.STARTED].includes(e.type))&&t()};this.streamEventMapping=(o={},i._(o,f.STARTED,function(e){m(e,function(){var t,r,n=e.getAd(),o=n.getAdPodInfo(),i={adId:n.getAdId(),adDuration:n.getDuration(),adTitle:n.getTitle(),adPosition:o.getAdPosition(),creativeId:n.getCreativeId(),creativeAdId:n.getCreativeAdId(),vastMediaHeight:n.getVastMediaHeight(),vastMediaWidth:n.getVastMediaWidth(),wrapperAdId:(null===(t=n.getWrapperAdIds())||void 0===t?void 0:t[0])||"",wrapperCreativeId:(null===(r=n.getWrapperCreativeIds())||void 0===r?void 0:r[0])||"",adObject:n};c.capturedAdData=null,c.handleAdStart(i)})}),i._(o,f.AD_PROGRESS,function(e){m(e,function(){var t=e.getStreamData().adProgressData;c.delegate.adProgress(null==t?void 0:t.currentTime,null==t?void 0:t.duration)})}),i._(o,f.FIRST_QUARTILE,function(e){return m(e,c.delegate.adFirstQuartile)}),i._(o,f.MIDPOINT,function(e){return m(e,c.delegate.adMidpoint)}),i._(o,f.THIRD_QUARTILE,function(e){return m(f.THIRD_QUARTILE,c.delegate.adThirdQuartile)}),i._(o,f.COMPLETE,function(e){return m(e,function(){c.delegate.adComplete(),(0,d.resetControls)()})}),i._(o,f.PAUSED,function(e){return m(e,c.delegate.adPaused)}),i._(o,f.RESUMED,function(e){return m(e,c.delegate.adResumed)}),o),this.playerEventMapping=(a={},i._(a,p.BREAK_STARTED,function(e){v(e,function(){c.isInAdBreak=!0,c.delegate.adBreakStart();var t=c.mediaInformation.breaks.find(function(t){return t.breakId===e.breakId});t&&c.delegate.adBreakMetadata(t),c.capturedAdData&&c.handleAdStart(c.capturedAdData)})}),i._(a,p.BREAK_ENDED,function(e){return v(e,function(){c.isInAdBreak=!1,c.capturedAdData=null,c.delegate.adBreakComplete()})}),i._(a,p.PLAYER_LOAD_COMPLETE,function(e){return v(e,function(){c.mediaInformation=(0,s.getCastMediaInformation)(e),c.delegate.adBreaksAvailable(c.mediaInformation.breaks)})}),i._(a,p.ERROR,function(e){return v(e,function(){return(0,u.default)(e,c.delegate.adError)})}),a),Object.entries(this.streamEventMapping).forEach(function(e){var t=l._(e,2),r=t[0],n=t[1];return c.streamManager.addEventListener(r,n)}),Object.entries(this.playerEventMapping).forEach(function(e){var t=l._(e,2),r=t[0],n=t[1];return c.playerManager.addEventListener(r,n)})}return o._(e,[{key:"contentTimeForStreamTime",value:function(e){var t,r;return e===(null===(t=this.mediaInformation)||void 0===t?void 0:t.streamDuration)?null===(r=this.mediaInformation)||void 0===r?void 0:r.contentDuration:this.playerManager.getCurrentTimeSec()}},{key:"streamTimeForContentTime",value:function(e){return e}},{key:"getResource",value:function(e){return Promise.resolve(e)}},{key:"contentComplete",value:function(){this.streamManager.reset()}},{key:"setDelegate",value:function(e){}},{key:"start",value:function(e){}},{key:"setMuteState",value:function(e){}},{key:"updateSize",value:function(){}},{key:"destroy",value:function(){var e=this;return Object.entries(this.streamEventMapping).forEach(function(t){var r=l._(t,2),n=r[0],o=r[1];return e.streamManager.removeEventListener(n,o)}),Object.entries(this.playerEventMapping).forEach(function(t){var r=l._(t,2),n=r[0],o=r[1];return e.playerManager.removeEventListener(n,o)}),Promise.resolve()}},{key:"setStreamTime",value:function(e){return Promise.resolve()}},{key:"setStreamDuration",value:function(e){return Promise.resolve()}},{key:"handleAdStart",value:function(e){if(this.isInAdBreak){this.delegate.adStart(e);return}this.capturedAdData=e}}]),e}(),v=function(e,t){return new p(e,t)}},602029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(551205),o=r(36246),i=function(e,t){var r=(0,o.readState)(e.id),i=r.isPluto,a=r.localization;if(i){var l=a.plutoUnavailable;throw new n.PluginError("chromecast_cannot_cast_pluto",l,t)}}},473106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n,o=r(199591),i=r(175105),a=window.cast?(n={},o._(n,cast.framework.events.DetailedErrorCode.MEDIA_UNKNOWN,i.ErrorCode.RESOURCE_UNAVAILABLE),o._(n,cast.framework.events.DetailedErrorCode.MEDIA_ABORTED,i.ErrorCode.MEDIA_ABORTED),o._(n,cast.framework.events.DetailedErrorCode.MEDIA_DECODE,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIA_NETWORK,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIA_SRC_NOT_SUPPORTED,i.ErrorCode.INVALID_RESOURCE_FORMAT),o._(n,cast.framework.events.DetailedErrorCode.SOURCE_BUFFER_FAILURE,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIAKEYS_UNKNOWN,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIAKEYS_NETWORK,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIAKEYS_UNSUPPORTED,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIAKEYS_WEBCRYPTO,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.NETWORK_UNKNOWN,i.ErrorCode.HTML5_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.SEGMENT_NETWORK,i.ErrorCode.HTML5_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_NETWORK_MASTER_PLAYLIST,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_NETWORK_PLAYLIST,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_NETWORK_NO_KEY_RESPONSE,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_NETWORK_KEY_LOAD,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_NETWORK_INVALID_SEGMENT,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_SEGMENT_PARSING,i.ErrorCode.HLSJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_NETWORK,i.ErrorCode.DASHJS_NETWORK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_NO_INIT,i.ErrorCode.DASHJS_MEDIA_ERROR),o._(n,cast.framework.events.DetailedErrorCode.SMOOTH_NETWORK,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.SMOOTH_NO_MEDIA_DATA,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MANIFEST_UNKNOWN,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_MANIFEST_MASTER,i.ErrorCode.HLSJS_MEDIA_ERROR),o._(n,cast.framework.events.DetailedErrorCode.HLS_MANIFEST_PLAYLIST,i.ErrorCode.HLSJS_MEDIA_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_MANIFEST_UNKNOWN,i.ErrorCode.DASHJS_MEDIA_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_MANIFEST_NO_PERIODS,i.ErrorCode.DASHJS_PARSE_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_MANIFEST_NO_MIMETYPE,i.ErrorCode.DASHJS_PARSE_ERROR),o._(n,cast.framework.events.DetailedErrorCode.DASH_INVALID_SEGMENT_INFO,i.ErrorCode.DASHJS_MEDIA_ERROR),o._(n,cast.framework.events.DetailedErrorCode.SMOOTH_MANIFEST,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.SEGMENT_UNKNOWN,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.TEXT_UNKNOWN,i.ErrorCode.UNEXPECTED_CONDITION),o._(n,cast.framework.events.DetailedErrorCode.APP,i.ErrorCode.UNEXPECTED_CONDITION),o._(n,cast.framework.events.DetailedErrorCode.BREAK_CLIP_LOADING_ERROR,i.ErrorCode.AD_STALLED),o._(n,cast.framework.events.DetailedErrorCode.BREAK_SEEK_INTERCEPTOR_ERROR,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.IMAGE_ERROR,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.LOAD_INTERRUPTED,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.LOAD_FAILED,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.MEDIA_ERROR_MESSAGE,i.ErrorCode.UNSPECIFIED_VIDEO_PLAYBACK_ERROR),o._(n,cast.framework.events.DetailedErrorCode.GENERIC,i.ErrorCode.UNEXPECTED_CONDITION),n):{}},102196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(560486),o=r(731841),i=r(436857),a=r(551205),l={error:{message:"unable to retreive video detail feed"}},s=/*#__PURE__*/function(){var e=n._(function(e){var t,r;return o._(this,function(n){switch(n.label){case 0:return[4,fetch("/api/video-detail/".concat(e)).then(function(e){return e.ok?e.json():l}).catch(function(e){return l})];case 1:if(null==(t=n.sent())?void 0:t.error)throw new a.PluginError(i.playerErrorFlags.CONTENT_PLAYBACK_FAILURE,null===(r=t.error)||void 0===r?void 0:r.message);return[2,t]}})});return function(t){return e.apply(this,arguments)}}()},350319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAdBreaks",{enumerable:!0,get:function(){return o}});var n=r(175105),o=function(e){var t={breaksTotalDuration:0,breaks:[]};return Array.isArray(e)?e.reduce(function(e,t){var r;return r=0===t.position?n.AdBreakType.PRE:-1===t.position?n.AdBreakType.POST:n.AdBreakType.MID,e.breaks.push({adBreakDuration:t.duration,duration:t.duration,adBreakPosition:t.position,startTime:t.position,streamStartTime:t.position+e.breaksTotalDuration,adBreakType:r,breakId:t.id,adTechnology:n.AdTechnology.SSAI}),e.breaksTotalDuration+=t.duration,e},t):t}},890847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAdParameters",{enumerable:!0,get:function(){return n}});var r="imafw_",n=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(null===(t=n.media)||void 0===t?void 0:t.metadata)||{},i=o._fw_did,a=o._fw_us_privacy;return i&&(e["".concat(r,"_fw_did")]=i),a&&(e["".concat(r,"_fw_us_privacy")]=a),(null==e?void 0:e.npa)&&(e.npa=""),e}},273414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCastMediaInformation",{enumerable:!0,get:function(){return o}});var n=r(350319),o=function(e){var t=e.media,r=t.breaks||[],o=(0,n.getAdBreaks)(r),i=o.breaksTotalDuration,a=o.breaks;return{contentDuration:t.duration,streamDuration:t.duration+i,breaks:a,breakClips:t.breakClips||[]}}},986450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});var n=r(560486),o=r(232637),i=r(441293),a=r(731841),l=r(175105),s=r(436857),u=/*#__PURE__*/o._(r(102196)),d=r(16651),c=r(108067),f=r(287019),p=r(668168),v=r(551205),m=function(e,t){if(!t)return e;var r=t.topazFeed,n=t.videoDetail;return l.Util.merge(e,{media:{contentUrl:r.stitchedstream.source,metadata:{metadataType:cast.framework.messages.MetadataType.GENERIC,title:(null==n?void 0:n.title)||"",subtitle:(null==n?void 0:n.subTitle)||""}}})},y=/*#__PURE__*/function(){var e=n._(function(e,t,r,n){var o,l,u,m,y,g;return a._(this,function(a){switch(a.label){case 0:return o=e.player,l=(0,d.getMicaURL)(o.id,r.videoServiceUrl,{mediaToken:n}),u={},(null==n?void 0:n.token)&&(u.headers={"X-VIA-TVE-MEDIATOKEN":null==n?void 0:n.token}),[4,fetch(l,u).then(function(e){return e.json()}).catch(function(e){return{error:e}})];case 1:if((m=a.sent()).error)throw y=v.MicaErrors[m.error.diagnostics]||s.playerErrorFlags.CONTENT_PLAYBACK_FAILURE,new v.PluginError(y,m.error.message);return g=i._({mgid:r.mgid,videoDetail:r,topazFeed:m,mediaToken:n},t),[4,(0,p.getTrackingConfig)(g,o)];case 2:return g=a.sent(),[2,(0,c.addItemFromConfig)(e,g,void 0,{playback:{abr:{},adapter:{id:f.ID}}})]}})});return function(t,r,n,o){return e.apply(this,arguments)}}(),g=/*#__PURE__*/function(){var e=n._(function(e,t,r){var n,o,i,l,s,d,c;return a._(this,function(a){switch(a.label){case 0:return s=e.player,[4,(0,u.default)(t.media.contentId)];case 1:return d=a.sent(),s.getPlugin("playlist").clear(),[4,y(e,r,d,{token:null===(o=t.media)||void 0===o?void 0:null===(n=o.metadata)||void 0===n?void 0:n.mediaToken,provider:null===(l=t.media)||void 0===l?void 0:null===(i=l.metadata)||void 0===i?void 0:i._fw_ae})];case 2:return m(t,c=a.sent()),[2,[c,s.getPlugin("playlist").nextResource]]}})});return function(t,r,n){return e.apply(this,arguments)}}()},470536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(565412),o=function(e){var t=n._(e.getSenders(),1)[0],r=t?t.userAgent:"",o="platform-unknown";return/(android)/i.test(r)&&(o="android"),/iPad|iPhone|iPod/i.test(r)&&(o="ios"),o}},919486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=/*#__PURE__*/r(232637)._(r(473106)),o=function(e,t){var r=e.detailedErrorCode,o=e.reason;r!==cast.framework.events.DetailedErrorCode.MEDIA_ERROR_MESSAGE&&t({code:n.default[r],data:e,fatal:!0,message:o})}},843258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addDrmConfig:function(){return r},default:function(){return o},removeDrmConfig:function(){return n}});var r=function(e,t){return e.protectionSystem=cast.framework.ContentProtection.WIDEVINE,e.licenseUrl=t.url,t.header&&(e.licenseRequestHandler=function(e){e.headers=t.header}),e},n=function(e){return e.protectionSystem=cast.framework.ContentProtection.NONE,e},o=function(e,t){var o,i,a;if(null===(a=t.location)||void 0===a?void 0:null===(i=a.drm)||void 0===i?void 0:null===(o=i.widevine)||void 0===o?void 0:o.url){var l=t.location.drm.widevine;e.setMediaPlaybackInfoHandler(function(e,t){return r(t,l)})}else e.setMediaPlaybackInfoHandler(function(e,t){return n(t)})}},978527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"modifyEdenEvents",{enumerable:!0,get:function(){return a}});var n=r(441293),o=r(111290),i=r(472763),a=function(e){return function(t){return t.eventType===i.edenEvents.INFO?o._(n._({},t),{data:o._(n._({},t.data),{streamRef:e})}):t}}},146633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(81992),o=function(e){var t;return(null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.breakClips)&&(e.media.breakClips=e.media.breakClips.map(function(e){return e.title,n._(e,["title"])})),e}},524993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){var t=e.getItems();if(!(t.length<=1)){var r=t.filter(function(e){return 0!==e.orderId}).map(function(e){return e.itemId});e.removeItems(r)}}},3303:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=function(e){var t;return(null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.tracks)&&(e.media.tracks=[]),e}},213240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resetControls",{enumerable:!0,get:function(){return r}});var r=function(){var e=cast.framework.ui.Controls.getInstance(),t=cast.framework.ui,r=t.ControlsButton,n=t.ControlsSlot;e.clearDefaultSlotAssignments(),e.assignButton(n.SLOT_PRIMARY_1,r.SEEK_BACKWARD_30),e.assignButton(n.SLOT_PRIMARY_2,r.SEEK_FORWARD_30),e.assignButton(n.SLOT_SECONDARY_2,r.CAPTIONS)}},425096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ChromecastPlugin",{enumerable:!0,get:function(){return N}});var n=r(560486),o=r(353916),i=r(547070),a=r(356561),l=r(358200),s=r(232637),u=r(350312),d=r(441293),c=r(111290),f=r(565412),p=r(731841),v=r(175105),m=r(37142),y=r(436857),g=r(551205),_=r(36246),h=r(668168),b=r(477173),E=r(226551),S=/*#__PURE__*/s._(r(19168)),T=/*#__PURE__*/s._(r(675195)),O=/*#__PURE__*/u._(r(287019)),P=/*#__PURE__*/u._(r(842616)),A=/*#__PURE__*/s._(r(602029)),x=r(890847),C=/*#__PURE__*/s._(r(986450)),R=/*#__PURE__*/s._(r(470536)),k=/*#__PURE__*/s._(r(843258)),w=r(978527),I=/*#__PURE__*/s._(r(146633)),D=/*#__PURE__*/s._(r(524993)),M=/*#__PURE__*/s._(r(3303)),L=r(371616),N=/*#__PURE__*/function(e){function t(){return i._(this,t),o._(this,t,arguments)}return l._(t,e),a._(t,[{key:"getId",value:function(){return y.pluginNames.CHROMECAST}},{key:"setupPlugin",value:function(){var e=this;(0,_.setState)(this.player.id,y.playerState.PLAYER_NAME,"Avia Web Plugin - CCR"),this.initErrors(),this.castContext=cast.framework.CastReceiverContext.getInstance(),this.playerManager=this.castContext.getPlayerManager(),this.streamManager=new google.ima.cast.dai.api.StreamManager(this.player.video),this.playlistLoadResolver=null,this.reportingData=c._(d._({},this.options.reportingData||{}),{playerState:"chromecast-".concat((0,R.default)(this.castContext))}),this.player.registerAdapter({id:P.DAI_CAST_AD_ADAPTER_ID,role:[v.AdapterRole.AD],options:{getStreamManager:function(){return e.streamManager}},isSupported:P.isDaiCastAdAdapterSupported,factory:P.default}),this.player.registerAdapter({id:O.ID,role:[v.AdapterRole.PLAYBACK],factory:O.default,options:{getServices:function(){return e.services}}}),this.applySettings(),this.playerManager.setMessageInterceptor(cast.framework.messages.MessageType.LOAD,(function(t){var r,n,o,i,a,l;return(0,_.setState)(e.player.id,y.playerState.INITIAL_LOAD_REQUEST,d._({},t)),(0,_.setState)(e.player.id,"gpp",{gpp:null==t?void 0:null===(n=t.media)||void 0===n?void 0:null===(r=n.metadata)||void 0===r?void 0:r.gppstring,sid:null==t?void 0:null===(i=t.media)||void 0===i?void 0:null===(o=i.metadata)||void 0===o?void 0:o.gppsid,rdp:null==t?void 0:null===(l=t.media)||void 0===l?void 0:null===(a=l.metadata)||void 0===a?void 0:a.rdp}),e.handleLoadRequest(t)}).bind(this)),this.playbackConfig=(0,S.default)(this),this.castContext.start({mediaElement:this.services.dom.video,playbackConfig:this.playbackConfig,disableIdleTimeout:!0,maxInactivity:void 0}),this.waitForSendersReady().then(function(){var t=(0,R.default)(e.castContext);e.reportingData.playerState="chromecast-".concat(t),(0,_.setState)(e.player.id,y.playerState.PLATFORM_SENDER,"-".concat(t)),(0,h.pushToDataLayer)("chromecast-load",null,{g_platform:t})})}},{key:"waitForSendersReady",value:function(){var e=this;return n._(function(){return p._(this,function(t){return[2,new Promise(function(t,r){var n=25,o=setInterval(function(){var i,a;(null===(a=e.castContext.getSenders())||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.userAgent)&&(clearInterval(o),t()),(n-=1)<=0&&r()},200)})]})})()}},{key:"handleLoadRequest",value:function(e){var t=this;return n._(function(){var r,n,o,i,a,l,s,u,d,c,v,b,S,O,P,R,N,j,F,U,B,H,W,z,K,V,$;return p._(this,function(p){switch(p.label){case 0:if(t.services.event.dispatchPluginEvent({type:y.customEvents.RESET_ERROR_SLATE}),e=(0,T.default)(e),t.options.updateEdenToken&&(null==e?void 0:null===(n=e.media)||void 0===n?void 0:null===(r=n.metadata)||void 0===r?void 0:r.reportingToken)&&t.options.updateEdenToken(null==e?void 0:null===(P=e.media)||void 0===P?void 0:null===(O=P.metadata)||void 0===O?void 0:O.reportingToken,(0,w.modifyEdenEvents)(null===(R=e.media)||void 0===R?void 0:R.contentId)),"StreamLimitReached"===(null===(i=e.media)||void 0===i?void 0:null===(o=i.metadata)||void 0===o?void 0:o.errorType))throw new g.PluginError(y.playerErrorFlags.AUTH_MAX_STREAM_LIMIT,"",t.services);return(null==e?void 0:null===(l=e.media)||void 0===l?void 0:null===(a=l.metadata)||void 0===a?void 0:a.vguid)&&(0,h.pushToDataLayer)("vguid",null,{},{vguid:e.media.metadata.vguid}),N={isLat:null==e?void 0:null===(u=e.media)||void 0===u?void 0:null===(s=u.metadata)||void 0===s?void 0:s._fw_is_lat},(0,_.setState)(t.player.id,y.playerState.OVERRIDES,N),t.reportingData.subscriptionTier=null==e?void 0:null===(c=e.media)||void 0===c?void 0:null===(d=c.metadata)||void 0===d?void 0:d.subscriptionTier,[4,(0,C.default)(t.services,e,{reportingData:t.reportingData})];case 1:return F=(j=f._.apply(void 0,[p.sent(),2]))[0],U=j[1],B=F.videoDetail,t.options.playlist=Array.isArray(B)?B:[B],[4,(0,L.detectChromecastModel)()];case 2:return H=p.sent(),[4,(0,L.detectDrmAndHdcpSupport)(H)];case 3:W=p.sent(),t.options.drmContext=null==W?void 0:W.drmContext,t.options.robustness=null==W?void 0:W.robustness,(0,E.generateState)(t.player.id,t.options,t.services),t.store(t.player.id,F);try{(0,A.default)(t.player,t.services)}catch(e){return[2,null]}return t.initAdobeTracking(),(z=t.player.getPlugin(y.pluginNames.REPORTING))&&(z.hasCompleted=!1,(null==e?void 0:e.currentTime)&&(z.options.startTime=e.currentTime,z.isContinueWatching=!0)),(0,k.default)(t.playerManager,U),null===(v=(b=t.options).videoDetailCallback)||void 0===v||v.call(b,F.videoDetail),(0,D.default)(t.playerManager.getQueueManager()),[4,t.player.getPlugin(m.PLAYLIST).start()];case 4:if(p.sent(),(null==U?void 0:null===(S=U.ad)||void 0===S?void 0:S.context)==="cast")return V=new google.ima.cast.dai.api.VODStreamRequest,$=(null===(K=U.ad)||void 0===K?void 0:K.ssai)||{},V.format=$.format,V.contentSourceId=$.contentSourceId,V.videoId=$.videoId,V.apiKey=$.authToken,V.authToken=$.authToken,V.adTagParameters=(0,x.getAdParameters)($.adParameters,e),[2,t.streamManager.requestStream(e,V).then(function(e){return e=(0,M.default)(e),e=(0,I.default)(e)}).catch(function(e){return console.log(e)})];return(0,_.getState)(t.player.id,y.playerState.IS_LIVE)&&(e.media.streamType=cast.framework.messages.StreamType.LIVE,t.playerManager.removeSupportedMediaCommands(cast.framework.messages.Command.SEEK,!0)),[2,e]}})})()}},{key:"initAdobeTracking",value:function(){((0,h.isVendorEnabled)("AdobeMedia")||(0,h.isVendorEnabled)("AdobeData"))&&(this.cleanUpAdobeTrackingHandlers&&this.cleanUpAdobeTrackingHandlers(),this.cleanUpAdobeTrackingHandlers=(0,h.registerAdobeDataLayerHandlers)(this.player,this.services,this.options))}}]),t}(b.WebPlugin)},893799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DebugPlugin",{enumerable:!0,get:function(){return S}});var n=r(353916),o=r(547070),i=r(356561),a=r(199591),l=r(391884),s=r(850717),u=r(358200),d=r(81992),c=r(864705),f=r(849165),p=r(175105),v=r(131191),m=r(436857),y=r(36246),g=r(699956),_=r(195212),h=r(866133),b=r(312706),E=r(377232),S=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return u._(t,e),i._(t,[{key:"getEventInterests",value:function(){return[p.PlayerEvent.RESOURCE_START]}},{key:"handlePlayerEvent",value:function(e){p.PlayerEvent.RESOURCE_START===(null==e?void 0:e.type)&&(0,E.refreshPlayerList)()}},{key:"getId",value:function(){return m.pluginNames.DEBUG}},{key:"onRegister",value:function(e,r,n){var o=this;l._(s._(t.prototype),"onRegister",this).call(this,e,r,n),(0,b.appendDebugHelpers)(e),(0,b.appendDebugScript)(),console.log("%cDEBUGGING IS ACTIVE","font-size:1.4em;color:yellow;border:solid 2px yellow;padding:12px 18px;"),e.registerHook(p.PlayerHookType.RESPONSE,function(e){var t,r;(null==e?void 0:null===(r=e.value)||void 0===r?void 0:null===(t=r.url)||void 0===t?void 0:t.includes("master.m3u8"))&&(o.currentManifest=e.value.data)})}},{key:"getWebPluginOptions",value:function(){var e;return null===(e=this.player.getPlugin(m.pluginNames.WEB))||void 0===e?void 0:e.options}},{key:"getVideoDetail",value:function(){var e,t=(0,v.getState)(this.player.id,m.playerState.MGID);return t&&(null===(e=(0,v.getState)(this.player.id,t))||void 0===e?void 0:e.videoDetail)||{}}},{key:"getTopazFeed",value:function(){var e,t=(0,v.getState)(this.player.id,m.playerState.MGID);return t&&(null===(e=(0,v.getState)(this.player.id,t))||void 0===e?void 0:e.topazFeed)||{}}},{key:"getResourceConfig",value:function(){return this.player.resource||{}}},{key:"getAdsResourceConfig",value:function(){var e;return(null===(e=this.player.resource)||void 0===e?void 0:e.ad)||{}}},{key:"getPlayerState",value:function(){return(0,y.readState)(this.player.id)}},{key:"getContainer",value:function(){var e;return null===(e=(0,y.readState)(this.player.id))||void 0===e?void 0:e.playerContainer}},{key:"getManifest",value:function(){return this.currentManifest}},{key:"getUserSettings",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n={};return t.forEach(function(e){n[e]=g.UserSettings.get(e)}),n}},{key:"getDebugOptions",value:function(e){var t=JSON.parse(g.UserSettings.getItem(m.userSettingsKeys.DEBUG_OPTIONS)||null)||{};return(null==t?void 0:t[e])||t}},{key:"updateDebugOptions",value:function(e,t){try{var r=this.getDebugOptions();r[e]=JSON.parse(t),g.UserSettings.set(m.userSettingsKeys.DEBUG_OPTIONS,JSON.stringify(r))}catch(e){throw Error("Invalid format. Could not update debugOptions value.")}return!0}},a._({key:"resetDebugOptions"},"value",function(e){if(e){var t=this.getDebugOptions(),r=(t[e],d._(t,[e].map(f._)));return g.UserSettings.set(m.userSettingsKeys.DEBUG_OPTIONS,JSON.stringify(r)),!0}return g.UserSettings.set(m.userSettingsKeys.DEBUG_OPTIONS,JSON.stringify({})),!0}),{key:"runHealthCheck",value:function(){return(0,p.getSystemInfo)().isChromecast?c._((0,h.getChromecastPluginHealth)(this.player)):c._((0,h.getWebPluginHealth)(this.player,this.getTopazFeed(),this.getManifest())).concat(c._((0,h.getReportingPluginHealth)(this.player,this.getTopazFeed())))}}],[{key:"isAvailable",value:function(){if("undefined"!=typeof window){var e=new URLSearchParams(window.location.search);return"true"===e.get("wvDebug")||""===e.get("wvDebug")}return!1}}]),t}(_.BasePlugin)},746656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(864705),o=r(175105),i=r(776332),a=r(697056),l=r(284031),s=function(e,t,r){return(0,a.healthcheck)("Ads","Web Plugin",function(){var s=(r||{}).imasdk;if(!s)return[{status:i.STATUS.WARNING,errors:["Ads Configuration data missing from Topaz response"]}];if(!t||!t.ad)return[{status:i.STATUS.ERROR,errors:["Something went very wrong! No resource found"]}];var u=(0,o.getSystemInfo)().isChromecast,d=n._((0,l.validateAdBreakTimes)(e,s)).concat(n._((0,l.validateIMA)(e,t,r)),n._((0,l.validateFreewheel)(e,t,r)),n._((0,l.validateDAIParams)(t,s)),n._((0,l.validateFreewheelParams)(t,s,u)),n._((0,l.validateLive)(r,t,s)),n._((0,l.validateChromecast)(t,u)));return d.filter(function(e){return e}).map(function(e){return e.status||[]}).flat().every(function(e){return e!==i.STATUS.ERROR})&&(d=[{status:i.STATUS.SUCCESS,errors:[]}].concat(n._(d))),(0,a.mergeValidationResponses)(d)})}},284031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(718493);n._(r(493206),t),n._(r(165043),t),n._(r(762297),t),n._(r(688544),t),n._(r(819565),t),n._(r(320297),t),n._(r(375268),t)},493206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateAdBreakTimes",{enumerable:!0,get:function(){return l}});var n=r(864705),o=r(776332),i=r(697056),a=r(810478),l=function(e,t){var r=(t||{}).vid,l=e.getAdBreakTimes();return n._(r?[(0,i.generateValidateItem)((0,i.validate)({adBreakTimes:l},{adBreakTimes:[a.isNotEmptyArray]},{adBreakTimes:"Ads Metadata: There are no ad break times available, but ads configuration exists."}),{status:o.STATUS.WARNING})]:[]).filter(function(e){return e})}},165043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateChromecast",{enumerable:!0,get:function(){return a}});var n=r(776332),o=r(697056),i=r(810478),a=function(e,t){return t?[(0,o.generateValidateItem)((0,o.validate)(e.ad,{context:[(0,i.isEqual)("cast")]},{context:"Chromecast Ad: Context must be set to cast. current: ".concat(e.ad.context)}),{status:n.STATUS.ERROR})]:[{status:n.STATUS.SKIP,errors:["[Skip] No chromecast found"]}]}},762297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateDAIParams",{enumerable:!0,get:function(){return a}});var n=r(776332),o=r(697056),i=r(810478),a=function(e,t){var r=e.ad,a=r.ssai;return[(0,o.generateValidateItem)((0,o.validate)(t,{cmsid:[i.isRequired],vid:[i.isRequired]},{cmsid:"Missing cmsid (required)",vid:"Missing vid (required)"}),{status:n.STATUS.ERROR}),(0,o.generateValidateItem)((0,o.validate)(t,{vid:[i.isMicaString]},{vid:"vid has a weird mica value: ".concat(t.vid)}),{status:n.STATUS.WARNING}),(0,o.generateValidateItem)((0,o.validate)(r,{enabled:[i.isBoolean,(0,i.isEqual)(!0)],ssai:[i.isNotEmptyObject]},{enabled:"Resource ad enabled flag should be set to true. current: ".concat(r.enabled),ssai:"Resource ad ssai should not be empty."}),{status:n.STATUS.ERROR}),(0,o.generateValidateItem)((0,o.validate)(a,{format:[(0,i.isOneOf)(["hls","dash"])]},{format:"Ad SSAI: format should be hls or dash. current: ".concat(null==a?void 0:a.format)}),{status:n.STATUS.WARNING}),(0,o.generateValidateItem)((0,o.validate)(a,{contentSourceId:[(0,i.isEqual)(t.cmsid)],videoId:[(0,i.isEqual)(t.vid)]},{contentSourceId:"Ad SSAI: Content Source ID (".concat(null==a?void 0:a.contentSourceId,") doesn't match config (imasdk.cmsid: ").concat(t.cmsid,")"),videoId:"Ad SSAI: Video ID (".concat(null==a?void 0:a.videoId,") doesn't match config (imasdk.vid: ").concat(t.vid,")")}),{status:n.STATUS.ERROR})]}},688544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateFreewheelParams",{enumerable:!0,get:function(){return a}});var n=r(776332),o=r(697056),i=r(810478),a=function(e,t,r){var a=(e.ad.ssai||{}).adParameters,l=(t||{}).freewheelparams,s=function(e){return"Ad parameter: ".concat(e," should not be empty.")},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n={};return Object.keys(l).forEach(function(o){e[o]?(r[o]=e[o],n[o]=t[o]):(r[o]=function(){return!1},n[o]="Ad parameters: No validator found for ".concat(o))}),{validators:r,messages:n}}({fms_uid2:[i.isNotEmptyString],imafw__fw_3P_UID:[i.isNotEmptyString],imafw__fw_ae:[i.isNotEmptyString],imafw__fw_coppa:[i.isNotEmptyString],imafw__fw_h_referer:[i.isNotEmptyString],imafw__fw_h_user_agent:[i.isNotEmptyString],imafw__fw_is_lat:[i.isNotEmptyString],imafw__fw_nielsen_app_id:[i.isNotEmptyString],imafw__fw_playid:[i.isNotEmptyString],imafw__fw_us_privacy:[i.isNotEmptyString],imafw__fw_vcid2:[i.isNotEmptyString],imafw__vmn_ar:[i.isNotEmptyString],imafw_accountid:[i.isNotEmptyString],imafw_csid:[i.isNotEmptyString],imafw_fms_bididtype:[i.isNotEmptyString],imafw_fms_emailhash:[i.isNotEmptyString],imafw_fms_hh_ramp_id:[i.isNotEmptyString],imafw_fms_ramp_id:[i.isNotEmptyString],imafw_fms_subscriberid:[i.isNotEmptyString],imafw_fms_userid:[i.isNotEmptyString],imafw_fms_vcid2type:[i.isNotEmptyString],imafw_host:[i.isNotEmptyString],imafw_metr:[i.isNotEmptyString],imafw_nw:[i.isNotEmptyString],imafw_playername_version:[i.isNotEmptyString],imafw_prof:[i.isNotEmptyString],imafw_profid:[i.isNotEmptyString],imafw_sb:[i.isNotEmptyString],imafw_sub:[i.isNotEmptyString],imafw_tsla:[i.isNotEmptyString],imafw_user:[i.isNotEmptyString],imafw_vguid:[i.isNotEmptyString]},{fms_uid2:s("fms_uid2"),imafw__fw_3P_UID:s("imafw__fw_3P_UID"),imafw__fw_ae:s("imafw__vmn_ae"),imafw__fw_coppa:s("imafw__fw_coppa"),imafw__fw_h_referer:s("imafw__fw_h_referer"),imafw__fw_h_user_agent:s("imafw__fw_h_user_agent"),imafw__fw_is_lat:s("imafw__fw_is_lat"),imafw__fw_nielsen_app_id:s("imafw__fw_nielsen_app_id"),imafw__fw_playid:s("imafw__fw_playid"),imafw__fw_us_privacy:s("imafw__fw_us_privacy"),imafw__fw_vcid2:s("imafw__fw_vcid2"),imafw__vmn_ar:s("imafw__vmn_ar"),imafw_accountid:s("imafw_accountid"),imafw_csid:s("imafw_csid"),imafw_fms_bididtype:s("imafw_fms_bididtype"),imafw_fms_emailhash:s("imafw_fms_emailhash"),imafw_fms_hh_ramp_id:s("imafw_fms_hh_ramp_id"),imafw_fms_ramp_id:s("imafw_fms_ramp_id"),imafw_fms_subscriberid:s("imafw_fms_subscriberid"),imafw_fms_userid:s("imafw_fms_userid"),imafw_fms_vcid2type:s("imafw_fms_vcid2type"),imafw_host:s("imafw_host"),imafw_metr:s("imafw_metr"),imafw_nw:s("imafw_nw"),imafw_playername_version:s("imafw_playername_version"),imafw_prof:s("imafw_prof"),imafw_profid:s("imafw_profid"),imafw_sb:s("imafw_sb"),imafw_sub:s("imafw_sub"),imafw_tsla:s("imafw_tsla"),imafw_user:s("imafw_user"),imafw_vguid:s("imafw_vguid")}),d=u.validators,c=u.messages;return[(0,o.generateValidateItem)((0,o.validate)(a,d,c),{status:n.STATUS.WARNING}),(0,o.generateValidateItem)((0,o.validate)(a,{npa:[i.isNotEmptyString],cmsid:[(0,i.isEqual)(t.cmsid)],vid:[(0,i.isEqual)(t.vid)]},{npa:"Ad Parameter: npa should be empty",cmsid:"Ad Parameter: contentSourceId must equal imasdk param. current: ".concat(null==a?void 0:a.cmsid),vid:"Ad Parameter: videoId must equal imasdk param. current: ".concat(null==a?void 0:a.vid)}),{status:n.STATUS.ERROR})]}},819565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateFreewheel",{enumerable:!0,get:function(){return a}});var n=r(776332),o=r(697056),i=r(810478),a=function(e,t,r){var a=t.ad.csai;return(null==r?void 0:r.freewheelsdk)?[(0,o.generateValidateItem)((0,o.validate)(a,{networkId:[i.isNotEmptyString],profile:[i.isNotEmptyString],server:[i.isNotEmptyString],siteSection:[(0,i.isObjectWith)(["id","networkId"])],videoAsset:[(0,i.isObjectWith)(["id","duration"])],customParameters:[i.isObject],adBreakTimes:[i.isArray]},{networkId:"FW network id must be defined",profile:"FW profile must be defined",server:"FW server be defined",siteSection:"FW site section must be defined",videoAsset:"FW video asset must be defined",customParameters:"FW custom parameters must be an object",adBreakTimes:"FW ad break times must be an array"}),{status:n.STATUS.ERROR})]:[{status:n.STATUS.SKIP,errors:["[Skip] No freewheel sdk found"]}]}},320297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateIMA",{enumerable:!0,get:function(){return l}});var n=r(26920),o=r(776332),i=r(697056),a=r(810478),l=function(e,t,r){var l=t.ad.csai;return!l||(void 0===l?"undefined":n._(l))!=="object"||Object.keys(l).length<=0?[{status:o.STATUS.SKIP,errors:["[Skip] No ima found"]}]:(null==r?void 0:r.freewheelsdk)?[]:[(0,i.generateValidateItem)((0,i.validate)(l,{adCallUrl:a.isNotEmptyString},{adCallUrl:"Ad call url must be provided (Required)"}),{status:o.STATUS.ERROR})]}},375268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateLive",{enumerable:!0,get:function(){return l}});var n=r(441293),o=r(776332),i=r(697056),a=r(810478),l=function(e,t,r){if((null==e?void 0:null===(l=e.stitchedstream)||void 0===l?void 0:l.streamingtype)!=="live-dai")return[{status:o.STATUS.SKIP,errors:["[Skip] No live dai found"]}];var l,s=(t.ad||{}).ssai;return[(0,i.generateValidateItem)((0,i.validate)(s,n._({assetKey:[(0,a.isEqual)(r.assetkey)],authToken:[(0,a.isEqual)(r.authtoken)]},(null==s?void 0:s.useApi)&&{useApi:[a.isBoolean]}),{assetKey:"Live Ad: Asset key (".concat(null==s?void 0:s.assetKey,") doesn't match config (imasdk.assetkey: ").concat(null==r?void 0:r.assetkey,")"),authToken:"Live Ad: Asset key (".concat(null==s?void 0:s.authToken,") doesn't match config (imasdk.authtoken: ").concat(null==r?void 0:r.authtoken,")"),useApi:"Live Ad: If use api value exists, it must be a boolean. Current: ".concat(null==s?void 0:s.useApi)}),{status:o.STATUS.ERROR})]}},351711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getChromecastPluginHealth",{enumerable:!0,get:function(){return d}});var n=r(232637),o=r(864705),i=r(436857),a=r(36246),l=/*#__PURE__*/n._(r(746656)),s=r(697056),u=r(286808),d=function(e){var t=e.resource,r=((0,a.getState)(null==e?void 0:e.id,(0,a.getState)(null==e?void 0:e.id,i.playerState.MGID))||{}).topazFeed;return(0,s.healthcheck)("CCR - Load Request","Chromecast Plugin",function(){return(0,s.mergeValidationResponses)(o._((0,u.validateLoadRequest)(e)).concat(o._((0,l.default)(e,t,r))))})}},286808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(718493)._(r(32453),t)},32453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateLoadRequest",{enumerable:!0,get:function(){return s}});var n=r(436857),o=r(36246),i=r(776332),a=r(697056),l=r(810478),s=function(e){var t=(0,o.getState)(e.id,n.playerState.INITIAL_LOAD_REQUEST),r=window.cast.framework.CastReceiverContext.getInstance().getPlayerManager().getMediaInformation();return null===r&&null!==t?[{status:i.STATUS.ERROR,errors:["Chromecast load request was failed or canceled\n<pre>".concat(JSON.stringify(t,null," "),"</pre>")]}]:[(0,a.generateValidateItem)([(0,a.validate)(r,{contentId:[l.isNotEmptyString],metadata:[(0,l.isObjectWith)(["mediaToken"])]},{contentId:"CCR Load Request: There must be a contentId.",metadata:"CCR Load Request: The metadata must include at minimum a mediaToken value."})],{status:i.STATUS.ERROR})].filter(function(e){return e})}},776332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"STATUS",{enumerable:!0,get:function(){return r}});var r={SUCCESS:"success",WARNING:"warning",ERROR:"error",SKIP:"skip"}},947240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getReportingPluginHealth",{enumerable:!0,get:function(){return l}});var n=r(232637),o=r(864705),i=r(436857),a=/*#__PURE__*/n._(r(966971)),l=function(e){var t,r,n=(null==e?void 0:e.getPlugin(i.pluginNames.REPORTING)).options,l=(null==e?void 0:null===(r=e.resource)||void 0===r?void 0:null===(t=r.ad)||void 0===t?void 0:t.enabled)===!0;return o._((0,a.default)(n,l))}},966971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});var n=r(441293),o=r(175105),i=r(810478),a=r(697056),l=r(776332),s=o.Autoplay.NONE,u=o.Autoplay.ATTEMPT_UNMUTED,d=o.Autoplay.ATTEMPT_MUTED,c=o.Autoplay.ATTEMPT_UNMUTED_THEN_MUTED,f=function(e,t){return(0,a.healthcheck)("Reporting Plugin options","Reporting Plugin",function(){var r=(0,a.validate)(e,n._({edenCallback:[i.isRequired,i.isFunction],edenHeartbeatInterval:[i.isRequired,i.isPositiveNumber]},t&&{edenAdHeartbeatInterval:[i.isRequired,i.isPositiveNumber]})),o=(0,a.validate)(e,{autoAdvanceToNextVideo:[i.isBoolean],autoplay:[(0,i.isOneOf)([s,d,u,c])],startTime:[i.isGreaterThanOrEqualToZero],environment:[i.isNotEmptyString]}),f=[];return r.length?f.push({status:l.STATUS.ERROR,errors:r}):f.push({status:l.STATUS.SUCCESS}),o.length&&f.push({status:l.STATUS.WARNING,errors:o}),f})}},697056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{generateValidateItem:function(){return c},healthcheck:function(){return u},mergeValidationResponses:function(){return f},optionalValidation:function(){return l},report:function(){return s},validate:function(){return d}});var n=r(441293),o=r(864705),i=r(776332),a=r(810478),l=function(e,t){return n._({},e?t:{})},s=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"General",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o={message:e,status:t,group:r};return n.length>0&&(o.errors=n),[o]},u=function(e,t,r){return r().filter(function(e){var t=e.status;return(0,a.isRequired)(t)}).map(function(r){return s(e,r.status,t,r.errors)}).flat()},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=[],i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.keys(t).forEach(function(a){if(Array.isArray(null==t?void 0:t[a])||"function"==typeof(null==t?void 0:t[a])){var l;(Array.isArray(l=null==t?void 0:t[a])?l:[l]).map(function(t){return t(null==e?void 0:e[a])}).includes(!1)&&n.push(o._(r).concat([a]).join("."))}else i(null==e?void 0:e[a],null==t?void 0:t[a],o._(r).concat([a]))})},a=function(e,t){return t.split(".").reduce(function(e,t){return null==e?void 0:e[t]},e)};return i(e,t),n.map(function(t){return a(r,t)||'Missing or invalid data for "'.concat(t,'": ').concat(JSON.stringify(a(e,t)))})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:i.STATUS.ERROR},r=(e||[]).flat().filter(function(e){return e});return r.length?n._({errors:r},t):null},f=function(e){var t={};(e=e.filter(function(e){return e})).forEach(function(e){var r=e.status,n=e.errors,i=t[r]||[];t[r]=o._(i).concat(o._(n||[]))});var r=[];return(Object.keys(t).forEach(function(e){return r.push({status:e,errors:t[e]})}),r.length<=0)?[{status:i.STATUS.SUCCESS}]:(r.every(function(e){return e.status===i.STATUS.SKIP})&&(r=[{status:i.STATUS.SUCCESS}].concat(o._(r))),r)}},866133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getChromecastPluginHealth:function(){return n.getChromecastPluginHealth},getReportingPluginHealth:function(){return o.getReportingPluginHealth},getWebPluginHealth:function(){return i.getWebPluginHealth}});var n=r(351711),o=r(947240),i=r(415896)},810478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isArray:function(){return o},isArrayOfObjectsWith:function(){return i},isBoolean:function(){return a},isEqual:function(){return l},isFunction:function(){return s},isGreaterThanOrEqualToZero:function(){return u},isJwtBearerHeader:function(){return S},isMicaString:function(){return d},isNotEmptyArray:function(){return c},isNotEmptyObject:function(){return f},isNotEmptyString:function(){return p},isNull:function(){return v},isNumber:function(){return m},isObject:function(){return y},isObjectWith:function(){return g},isOneOf:function(){return _},isOneOfType:function(){return E},isPositiveNumber:function(){return h},isRequired:function(){return b},isRequiredIf:function(){return T}});var n=r(26920),o=function(e){return Array.isArray(e)},i=function(e){return function(t){return Array.isArray(t)&&t.every(function(t){return g(e)(t)})}},a=function(e){return"boolean"==typeof e},l=function(e){return function(t){return JSON.stringify(t)===JSON.stringify(e)}},s=function(e){return"function"==typeof e},u=function(e){return m(e)&&e>=0},d=function(e){return/(mgid:arc:)(.*:)(\S{8}-\S{4}-\S{4}-\S{4}-\S{12})/i.test(e)},c=function(e){return Array.isArray(e)&&e.length>0},f=function(e){return(void 0===e?"undefined":n._(e))==="object"&&Object.entries(e||{}).length>0},p=function(e){return"string"==typeof e&&e.length>0},v=function(e){return void 0!==e&&null===e},m=function(e){return"number"==typeof e&&!Number.isNaN(e)},y=function(e){return(void 0===e?"undefined":n._(e))==="object"},g=function(e){return function(t){return(void 0===t?"undefined":n._(t))==="object"&&Array.isArray(e)&&e.every(function(e){return Object.keys(t).includes(e)})}},_=function(e){return function(t){return e.includes(t)}},h=function(e){return m(e)&&e>0},b=function(e){return![void 0,null,NaN,""].includes(e)},E=function(e){return function(t){var r=void 0===t?"undefined":n._(t);return e.map(function(e){return r===e}).filter(function(e){return e}).length>0}},S=function(e){return f(e)&&/^Bearer\s[a-zA-Z0-9-_]+\.[a-zA-Z0-9-_]+\.[a-zA-Z0-9-_]+$/.test(null==e?void 0:e.Authorization)},T=function(e){return function(t){return!e||b(t)}}},942268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(864705),o=r(810478),i=r(697056),a=r(776332),l=r(14735),s=function(e,t,r){return(0,i.healthcheck)("Audio and subtitles","Web Plugin",function(){var s=(0,l.getAudioTextTracks)(e),u=n._((0,i.validate)(s,{audio:o.isNotEmptyArray,text:o.isNotEmptyArray},{audio:"No audio tracks found in manifest",text:"No text tracks found in manifest"})).concat(n._((0,i.validate)({audioTracks:t,textTracks:r},{audioTracks:[o.isNotEmptyArray,(0,o.isArrayOfObjectsWith)(["label","language","type"])],textTracks:[o.isNotEmptyArray,(0,o.isArrayOfObjectsWith)(["label","language","kind"])]})));return u.length?[{status:a.STATUS.ERROR,errors:u}]:[{status:a.STATUS.SUCCESS}]})}},510617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(441293),o=r(810478),i=r(697056),a=r(776332),l=function(e){var t=e.authSuiteConfig;return(0,i.healthcheck)("AuthSuite Configuration","Web Plugin",function(){var e=(0,i.validate)(t,n._({enabled:[(0,o.isOneOf)([!0,!1])]},(0,i.optionalValidation)(null==t?void 0:t.enabled,{countryCode:[o.isNotEmptyString],callbackURL:[o.isNotEmptyString],clientId:[o.isNotEmptyString],resourceId:[o.isNotEmptyString],authSuiteEnv:[o.isNotEmptyObject]})));return e.length?[{status:a.STATUS.ERROR,errors:e}]:[{status:a.STATUS.SUCCESS}]})}},741844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(810478),o=r(697056),i=r(776332),a=function(e,t){return(0,o.healthcheck)("DRM Configuration options","DRM Config",function(){var r,a=null==t?void 0:null===(r=t.stitchedstream)||void 0===r?void 0:r.drm;if(!a)return[{status:i.STATUS.WARNING,errors:["No DRM configuration enabled"]}];var l=[];switch(null==a?void 0:a.type){case"widevine":var s=(0,o.validate)(null==e?void 0:e.widevine,{header:[n.isRequired,n.isJwtBearerHeader],url:[n.isRequired,n.isNotEmptyString]});return s.length?l.push({status:i.STATUS.ERROR,errors:s}):l.push({status:i.STATUS.SUCCESS}),l;case"playready":var u=(0,o.validate)(null==e?void 0:e.playready,{header:[n.isRequired,n.isJwtBearerHeader],url:[n.isRequired,n.isNotEmptyString]});return u.length?l.push({status:i.STATUS.ERROR,errors:u}):l.push({status:i.STATUS.SUCCESS}),l;case"fairplay":var d=(0,o.validate)(null==e?void 0:e.fairplay,{header:[n.isRequired,n.isJwtBearerHeader],appCertUrl:[n.isRequired,n.isNotEmptyString],licenseUrl:[n.isRequired,n.isNotEmptyString]});return d.length?l.push({status:i.STATUS.ERROR,errors:d}):l.push({status:i.STATUS.SUCCESS}),l;default:return[{status:i.STATUS.ERROR,errors:["No DRM config provided"]}]}})}},312835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(441293),o=r(810478),i=r(697056),a=r(776332),l=function(e){var t=e.endContentStrategy,r=e.upNextUrl;return(0,i.healthcheck)("End content strategy","Web Plugin",function(){var e=(0,i.validate)({endContentStrategy:t,upNextUrl:r},n._({endContentStrategy:[o.isNotEmptyString,(0,o.isOneOf)(["loop","replay","advance"])]},(0,i.optionalValidation)("advance"===t,{upNextUrl:[o.isRequired,o.isNotEmptyString]})),{endContentStrategy:'Unexpected value "'.concat(t,'" (default: "advance")')});return e.length?[{status:a.STATUS.WARNING,errors:e}]:[{status:a.STATUS.SUCCESS}]})}},415896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getWebPluginHealth",{enumerable:!0,get:function(){return _}});var n=r(232637),o=r(864705),i=r(436857),a=r(36246),l=/*#__PURE__*/n._(r(510617)),s=/*#__PURE__*/n._(r(312835)),u=/*#__PURE__*/n._(r(912837)),d=/*#__PURE__*/n._(r(474537)),c=/*#__PURE__*/n._(r(638305)),f=/*#__PURE__*/n._(r(448100)),p=/*#__PURE__*/n._(r(717365)),v=/*#__PURE__*/n._(r(915815)),m=/*#__PURE__*/n._(r(741844)),y=/*#__PURE__*/n._(r(746656)),g=/*#__PURE__*/n._(r(942268)),_=function(e,t,r){var n,_=(null==e?void 0:e.getPlugin(i.pluginNames.WEB)).options,h=(0,a.getState)(null==e?void 0:e.id,i.playerState.IS_PLUTO)||(0,a.getState)(null==e?void 0:e.id,i.playerState.IS_LIVE),b=e||{},E=b.audioTracks,S=b.resource,T=b.textTracks;return o._((0,v.default)(_)).concat(o._((0,s.default)(_)),o._((0,d.default)(S,h)),o._((0,f.default)(t)),o._((0,c.default)(e)),o._((0,l.default)(_)),o._((0,u.default)(_)),o._((0,p.default)(_)),o._((0,m.default)(null==S?void 0:null===(n=S.location)||void 0===n?void 0:n.drm,t)),o._((0,y.default)(e,S,t)),o._((0,g.default)(r,E,T)))}},912837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(810478),o=r(697056),i=r(776332),a=function(e){var t=e.reportingData;return(0,o.healthcheck)("Reporting Configuration","Web Plugin",function(){var e=(0,o.validate)(t,{appName:[n.isRequired,n.isNotEmptyString],authSuiteID:[n.isRequired,n.isNotEmptyString],accountID:[n.isNotEmptyString],analyticsParams:[n.isNotEmptyObject],brandId:[n.isNotEmptyString],coppa:[(0,n.isOneOf)([!0,!1])],countryName:[n.isNotEmptyString],language:[n.isNotEmptyString],pageName:[n.isNotEmptyString],pageURL:[n.isNotEmptyString],subscriptionID:[n.isNotEmptyString]});return e.length?[{status:i.STATUS.WARNING,errors:e}]:[{status:i.STATUS.SUCCESS}]})}},474537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(441293),o=r(864705),i=r(810478),a=r(697056),l=r(776332),s=function(e,t){return(0,a.healthcheck)("Resource Configuration","Resource Config",function(){var r=e||{},s=r.location,u=r.playback;return(0,a.mergeValidationResponses)(o._([(0,a.generateValidateItem)((0,a.validate)(s,n._({mediaUrl:[i.isRequired,i.isNotEmptyString]},!t&&{thumbnailTrackUrl:[i.isRequired,i.isNotEmptyString]})),{status:l.STATUS.ERROR}),(0,a.generateValidateItem)((0,a.validate)(u,{startTime:[i.isGreaterThanOrEqualToZero],id3OwnerIds:[i.isNotEmptyArray]}),{status:l.STATUS.WARNING})]))})}},448100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(864705),o=r(810478),i=r(697056),a=r(776332),l=function(e){return(0,i.healthcheck)("Topaz feed","Web Plugin",function(){var t,r,l,s=[],u=[];s.push.apply(s,n._((0,i.validate)(e,{stitchedstream:{source:[o.isNotEmptyString]}}))),u.push.apply(u,n._((0,i.validate)(e,{thumbnails:{webvtt:[o.isNotEmptyObject]}},{thumbnails:{webvtt:"Missing WebVTT thumbnails"}}))),(null===(t=e.imasdk)||void 0===t?void 0:t.cmsid)&&(null===(r=e.imasdk)||void 0===r?void 0:r.vid)?s.push.apply(s,n._((0,i.validate)(e.imasdk,{cmsid:[o.isNotEmptyString],vid:[o.isNotEmptyString],authtoken:[o.isNotEmptyString],freewheelparams:{imafw_csid:o.isNotEmptyString}}))):(null===(l=e.stitchedstream)||void 0===l?void 0:l.streamingtype)==="live-dai"?s.push.apply(s,n._((0,i.validate)(e.imasdk,{assetkey:[o.isNotEmptyString],authtoken:[o.isNotEmptyString]}))):e.freewheelsdk?s.push.apply(s,n._((0,i.validate)(e.freewheelsdk,{csid:[o.isNotEmptyString],caid:[o.isNotEmptyString],profile:[o.isNotEmptyString]}))):u.push("No ad configuration was detected");var d=[];return s.length?d.push({status:a.STATUS.ERROR,errors:s}):d.push({status:a.STATUS.SUCCESS}),u.length&&d.push({status:a.STATUS.WARNING,errors:u}),d})}},638305:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(441293),o=r(111290),i=r(810478),a=r(697056),l=r(776332),s=function(e){return(0,a.healthcheck)("Tracking Service","Web Plugin",function(){var t,r,s,u,d,c,f,p,v,m,y,g,_,h=(0,a.validate)(o._(n._({},e),{uTag:null===(t=window)||void 0===t?void 0:t.utag,AdobeMedia:!!(null===(d=window)||void 0===d?void 0:null===(u=d.vtg)||void 0===u?void 0:null===(s=u.config)||void 0===s?void 0:null===(r=s.AdobeMedia)||void 0===r?void 0:r.enabled),AdobeData:!!(null===(v=window)||void 0===v?void 0:null===(p=v.vtg)||void 0===p?void 0:null===(f=p.config)||void 0===f?void 0:null===(c=f.AdobeData)||void 0===c?void 0:c.enabled),KantarBARB:!!(null===(_=window)||void 0===_?void 0:null===(g=_.vtg)||void 0===g?void 0:null===(y=g.config)||void 0===y?void 0:null===(m=y.KantarBARB)||void 0===m?void 0:m.enabled)}),{resource:{metadata:[i.isRequired]},options:{plugins:{0:{id:[(0,i.isEqual)("AviaTracking")]}}},uTag:i.isNotEmptyObject,AdobeMedia:(0,i.isEqual)(!0),AdobeData:(0,i.isEqual)(!0),KantarBARB:(0,i.isEqual)(!0)},{resource:{metadata:"Tracking configuration missing"},options:{plugins:{0:{id:"Tracking Plugin not loaded as 1st"}}},uTag:"uTag not present",AdobeMedia:"AdobeMedia not enabled",AdobeData:"AdobeData not enabled",KantarBARB:"KantarBARB not enabled"});return h.length?[{status:l.STATUS.WARNING,errors:h}]:[{status:l.STATUS.SUCCESS}]})}},717365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(441293),o=r(436857),i=r(810478),a=r(697056),l=r(776332),s=function(e){var t=e.videoDetail;return(0,a.healthcheck)("Video Detail","Web Plugin",function(){var e=(0,a.validate)(t,n._({airDate:[i.isNotEmptyObject],closingCreditsTime:[i.isNotEmptyObject],contentRating:[i.isNotEmptyArray],description:[i.isNotEmptyString,i.isRequired],duration:[i.isNotEmptyObject],entityType:[(0,i.isOneOf)([o.entityTypes.MOVIE,o.entityTypes.EPISODE,o.entityTypes.VIDEO,o.entityTypes.CLIP]),i.isRequired],id:[i.isNotEmptyString,i.isRequired],mgid:[i.isNotEmptyString,i.isRequired],parentEntity:[i.isNotEmptyObject],publishDate:[i.isNotEmptyObject],shortId:[i.isNotEmptyString,i.isRequired],shortTitle:[i.isNotEmptyString,i.isRequired],title:[i.isNotEmptyString,i.isRequired],urlKey:[i.isNotEmptyString,i.isRequired],url:[i.isNotEmptyString,i.isRequired],videoServiceUrl:[i.isNotEmptyString,i.isRequired]},(0,a.optionalValidation)((null==t?void 0:t.entityType)===o.entityTypes.EPISODE,{seasonNumber:[(0,i.isOneOfType)(["string","number"]),i.isRequired],episodeNumber:[(0,i.isOneOfType)(["string","number"]),i.isRequired]})));return e.length?[{status:l.STATUS.WARNING,errors:e}]:[{status:l.STATUS.SUCCESS}]})}},915815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(441293),o=r(436857),i=r(810478),a=r(697056),l=r(776332),s=function(e){return(0,a.healthcheck)("Web Plugin options","Web Plugin",function(){var t,r=(0,a.validate)(e,{mgid:[i.isNotEmptyString,i.isRequired],videoDetail:[i.isRequired,i.isNotEmptyObject],getMediaToken:[i.isRequired]}),s=(0,a.validate)(e,n._({googleAdSettings:[i.isNotEmptyObject],authSuiteConfig:[i.isNotEmptyObject],reportingData:[i.isNotEmptyObject],localization:[i.isNotEmptyObject],useAvia:[(0,i.isOneOf)([!0,!1])],autoplay:[i.isRequired,(0,i.isOneOf)(["NONE","ATTEMPT_MUTED","ATTEMPT_UNMUTED","ATTEMPT_UNMUTED_THEN_MUTED"])],adBlockStatus:[(0,i.isEqual)(!1)]},(0,a.optionalValidation)((null==e?void 0:null===(t=e.reportingData)||void 0===t?void 0:t.cmsBrand)==="betplus",{closeUrl:[i.isNotEmptyString],accessTier:[(0,i.isOneOf)([o.PREMIUM_TIER,void 0])],continueWatchingEndpoint:[i.isNotEmptyString],startSeekTime:[i.isRequired,i.isNumber]}))),u=[];return r.length?u.push({status:l.STATUS.ERROR,errors:r}):u.push({status:l.STATUS.SUCCESS}),s.length&&u.push({status:l.STATUS.WARNING,errors:s}),u})}},632083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(232637),o=r(441293),i=r(111290),a=/*#__PURE__*/n._(r(589561)),l=function(e){var t,r,n=(null===(r=window)||void 0===r?void 0:null===(t=r.wv)||void 0===t?void 0:t.players)||{};n[e.id]=e,window.wv=i._(o._({},a.default),{players:n})}},586624:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(436857),o=function(){if(null===document.getElementById("wvdebug-script")){var e=n.buildInfo.version,t=document.createElement("script");t.async=!0,t.id="wvdebug-script",t.type="text/javascript",t.src="/scripts/webplex-video-debug.js?v=".concat(e),t.onload=function(){var e,t;return null===(t=window)||void 0===t?void 0:null===(e=t.Videodrome)||void 0===e?void 0:e.init()},document.head.appendChild(t)}}},312706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{appendDebugHelpers:function(){return o.default},appendDebugScript:function(){return i.default}});var n=r(232637),o=/*#__PURE__*/n._(r(632083)),i=/*#__PURE__*/n._(r(586624))},14735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAudioTextTracks",{enumerable:!0,get:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(e.match(/#EXT-X-MEDIA:TYPE=(AUDIO|SUBTITLES).*/g)||[]).reduce(function(e,t){var r=t.split(",").map(function(e){return e.split("=")});return e["AUDIO"===r[0][1]?"audio":"text"].push(r.reduce(function(e,t){return["name","language"].includes(t[0].toLowerCase())&&(e[t[0].toLowerCase()]=t[1].replace(/"/g,"")),e},{})),e},{audio:[],text:[]})}},377232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshPlayerList",{enumerable:!0,get:function(){return o}});var n=r(565412),o=function(){if(void 0!==window.wv&&void 0!==window.wv.players){var e=Object.entries(window.wv.players),t={};e.forEach(function(e){var r=n._(e,2),o=r[0],i=r[1];document.querySelector('[data-player-id="'.concat(o,'"]'))&&(t[o]=i)}),window.wv.players=t}}},589561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});var n=r(436857).pluginNames.DEBUG,o=function(e){console.group("%c 📺 Webplex Video %c 🔦 Debug ","font-size:1.1em; padding:4px 2px; background-color:black; color:white;","font-size:1.1em; padding:4px 4px; background-color:white; color:black;"),e(),console.groupEnd()},i=function(){var e,t;console.info("%s player instances available",Object.keys(null===(e=window.wv)||void 0===e?void 0:e.players).length),Object.values(null===(t=window.wv)||void 0===t?void 0:t.players).forEach(function(e){var t;return console.log({id:null==e?void 0:e.id,container:null==e?void 0:null===(t=e.getPlugin(n))||void 0===t?void 0:t.getContainer()})})},a=function(e){var t=e.status,r=e.message,n=e.errors;console.group("".concat({error:"🟥",warning:"🟨",success:"🟩",skip:"⬜"}[t]," ").concat(r)),(void 0===n?[]:n).forEach(function(e){return console.log(e)}),console.groupEnd()},l=function(e){var t,r,n,a,s,u;return e?(null===(r=window.wv)||void 0===r?void 0:null===(t=r.players)||void 0===t?void 0:t[e])?(o(function(){console.info("Player instance: ".concat(e))}),null===(u=window.wv)||void 0===u?void 0:null===(s=u.players)||void 0===s?void 0:s[e]):void o(function(){console.error('Player instance "'.concat(e,'" not found.')),i()}):l(null===(n=Object.keys(null===(a=window.wv)||void 0===a?void 0:a.players))||void 0===n?void 0:n[0])},s={players:{},list:function(){return o(function(){return i()})},validate:function(){var e;Object.keys(null===(e=window.wv)||void 0===e?void 0:e.players).forEach(function(e){o(function(){var t,r,o,i;console.info("Player instance: ".concat(e)),(null===(i=window.wv)||void 0===i?void 0:null===(o=i.players)||void 0===o?void 0:null===(r=o[e])||void 0===r?void 0:null===(t=r.getPlugin(n))||void 0===t?void 0:t.runHealthCheck()).forEach(function(e){return a(e)})})})},debug:function(e){var t;return null===(t=l(e))||void 0===t?void 0:t.getPlugin(n)},player:l}},440876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DebugPlugin",{enumerable:!0,get:function(){return n.DebugPlugin}});var n=r(893799)},351996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AviaUIErrorSlatePlugin",{enumerable:!0,get:function(){return m}});var n=r(353916),o=r(547070),i=r(356561),a=r(391884),l=r(850717),s=r(358200),u=r(175105),d=r(195212),c=r(288239),f=r(472689),p=r(63215),v=r(436857),m=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return s._(t,e),i._(t,[{key:"getId",value:function(){return v.pluginNames.ERROR_SLATE}},{key:"onRegister",value:function(e,r,n){a._(l._(t.prototype),"onRegister",this).call(this,e,r,n),this.init()}},{key:"getEventInterests",value:function(){return[u.PlayerEvent.PLUGIN_EVENT]}},{key:"init",value:function(){this.errorOverlay=(0,f.template)(p.errorSlateClass),this.errorOverlay.append((0,c.style)(p.errorSlateCss)),this.errorOverlay.append(document.createElement("p")),this.errorOverlay.hidden=!0;var e,t,r,n,o,i=null==(r="string"==typeof(null===(t=this.services)||void 0===t?void 0:null===(e=t.playerOptions)||void 0===e?void 0:e.container)?document.querySelector(this.services.playerOptions.container):null===(o=this.services)||void 0===o?void 0:null===(n=o.playerOptions)||void 0===n?void 0:n.container)?void 0:r.querySelector('div[slot="overlay"]');null==i||i.append(this.errorOverlay)}},{key:"showPanel",value:function(e){e.code;var t=e.message;this.errorOverlay.querySelector("p").innerHTML=t,this.errorOverlay.hidden=!1,this.player.stop()}},{key:"handlePlayerEvent",value:function(e){var t,r,n,o,i;(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.type)===v.customEvents.ERROR_SLATE&&this.showPanel({code:null==e?void 0:null===(n=e.detail)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.code,message:null==e?void 0:null===(i=e.detail)||void 0===i?void 0:null===(o=i.data)||void 0===o?void 0:o.slateMessage})}}]),t}(d.BasePlugin)},63215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{errorSlateClass:function(){return r},errorSlateCss:function(){return n}});var r="ui__error-slate",n="\n .".concat(r," {\n align-items: center;\n background-color: black;\n background-position: center center;\n background-size: cover;\n display: flex;\n height: 100%;\n justify-content: center;\n position: absolute;\n width: 100%;\n z-index: 1;\n }\n .").concat(r,"[hidden] {\n display: none;\n }\n .").concat(r," p {\n color: var(--color-text-01);\n font-family: var(--font-mega-family);\n font-size: var(--font-mega-size);\n font-weight: var(--font-mega-weight);\n line-height: var(--font-mega-line-height);\n max-width: var(--grid-max-width);\n padding: 0 calc(var(--spacer) * 2);\n pointer-events: auto;\n width: 100%;\n }\n .").concat(r," p a {\n color: var(--color-brand-02);\n display: inline-block;\n }\n")},502949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AviaUIErrorSlatePlugin",{enumerable:!0,get:function(){return n.AviaUIErrorSlatePlugin}});var n=r(351996)},989388:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"checkFatal",{enumerable:!0,get:function(){return o}});var n=r(436857),o=function(e){return!!e&&(null==e?void 0:e.level)>=n.errorSeverityLevels.error}},137002:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAviaErrorCode",{enumerable:!0,get:function(){return o}});var n=r(436857),o=function(e){switch(e){case 3203:case 3201:case 3200:case 1100:case 3205:case 3002:case 3102:case 1203:case 3302:case 3003:case 2102:case 3103:case 1202:case 3304:case 3005:case 2103:case 1204:case 3105:case 3402:case 3401:case 3404:case 3400:return n.errorCodes.content_playback_failure;case 1105:return n.errorCodes.content_content_expired;case 3100:return n.errorCodes.content_request_cancelled;case 2101:return n.errorCodes.hls_master_m3u8_request_load;case 3202:return n.errorCodes.hls_chunk_request_load;case 4300:return n.errorCodes.ad_block_warning;case 4e3:return n.errorCodes.ad_request_timeout;case 4101:case 4100:case 1200:case 1206:return n.errorCodes.ad_playback_failure;case 4200:case 4201:case 1201:return n.errorCodes.ad_request_failure;case 1101:return n.errorCodes.seamless_geo_blocked;case 1102:case 1104:case 1103:return n.errorCodes.content_device_failed_play;default:return n.errorCodes.unspecified_avia_error}}},970633:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StandardizedErrors:function(){return s},getErrorData:function(){return u}});var n,o=r(199591),i=r(441293),a=r(111290),l=r(436857),s=(n={},o._(n,l.errorCodes.content_playback_failure,{level:l.errorSeverityLevels.error,developerMessage:"error that cannot be captured by the player and the video halts playback"}),o._(n,l.errorCodes.content_internet_no_connection,{level:l.errorSeverityLevels.fatal,developerMessage:"no connection to retrieve new stream data"}),o._(n,l.errorCodes.content_request_cancelled,{level:l.errorSeverityLevels.error,developerMessage:"player request was cancelled in the session"}),o._(n,l.errorCodes.content_session_invalid,{level:l.errorSeverityLevels.error,developerMessage:"either app name or mgid is invalid"}),o._(n,l.errorCodes.content_auth_bridge_missing,{level:l.errorSeverityLevels.error,developerMessage:"content requires auth but was not provided"}),o._(n,l.errorCodes.content_content_expired,{level:l.errorSeverityLevels.error,developerMessage:"the content expired"}),o._(n,l.errorCodes.hls_master_m3u8_request_load,{level:l.errorSeverityLevels.error,developerMessage:"the master manifest request error"}),o._(n,l.errorCodes.hls_playlist_m3u8_request_load,{level:l.errorSeverityLevels.error,developerMessage:"the variant playlist file request error"}),o._(n,l.errorCodes.hls_master_m3u8_auth,{level:l.errorSeverityLevels.error,developerMessage:"auth error with master playlist request"}),o._(n,l.errorCodes.hls_playlist_variant_m3u8_auth,{level:l.errorSeverityLevels.error,developerMessage:"auth error with playlist variant request"}),o._(n,l.errorCodes.hls_chunk_request_load,{level:l.errorSeverityLevels.error,developerMessage:"error with mp4 or ts chunks"}),o._(n,l.errorCodes.hls_playlist_rendition_load,{level:l.errorSeverityLevels.error,developerMessage:"error with mp4 or ts chunks"}),o._(n,l.errorCodes.auth_cryptkey_load,{level:l.errorSeverityLevels.error,developerMessage:"error with the crypt key"}),o._(n,l.errorCodes.hls_captions_load,{level:l.errorSeverityLevels.warn,developerMessage:"error with closed captions"}),o._(n,l.errorCodes.hls_audio_track_load,{level:l.errorSeverityLevels.warn,developerMessage:"error with multiple audio track"}),o._(n,l.errorCodes.http_response_load,{level:l.errorSeverityLevels.error,developerMessage:"http response error"}),o._(n,l.errorCodes.content_device_failed_play,{level:l.errorSeverityLevels.error,developerMessage:"player error: error with device trying to play media"}),o._(n,l.errorCodes.http_response_timeout,{level:l.errorSeverityLevels.error,developerMessage:"server is taking too long to reply to the request"}),o._(n,l.errorCodes.npaw_config_load,{level:l.errorSeverityLevels.warn,developerMessage:"error with npaw"}),o._(n,l.errorCodes.auth_max_stream_limit,{level:l.errorSeverityLevels.error,developerMessage:"maximum number of streams allowed for user"}),o._(n,l.errorCodes.seamless_response_load,{level:l.errorSeverityLevels.error,developerMessage:"seamless service response error"}),o._(n,l.errorCodes.seamless_response_parse,{level:l.errorSeverityLevels.error,developerMessage:"invalid schema in the seamless response"}),o._(n,l.errorCodes.seamless_asset_unavailable,{level:l.errorSeverityLevels.error,developerMessage:"the video is not available"}),o._(n,l.errorCodes.seamless_geo_blocked,{level:l.errorSeverityLevels.error,developerMessage:"the video is not available for the client location"}),o._(n,l.errorCodes.seamless_context_missing,{level:l.errorSeverityLevels.error,developerMessage:"the app/context is not available"}),o._(n,l.errorCodes.seamless_source_url_invalid,{level:l.errorSeverityLevels.error,developerMessage:"invalid or missing content service url"}),o._(n,l.errorCodes.seamless_stream_auth,{level:l.errorSeverityLevels.error,developerMessage:"invalid / missing auth"}),o._(n,l.errorCodes.seamless_stream_expired,{level:l.errorSeverityLevels.error,developerMessage:"the stream expired (for e.g live streams)"}),o._(n,l.errorCodes.seamless_stream_concurrency_limit_reached,{level:l.errorSeverityLevels.error,developerMessage:"too many requests"}),o._(n,l.errorCodes.seamless_stream_duration_mismatch,{level:l.errorSeverityLevels.error,developerMessage:"mismatch between mica response stream duration and the hls manifest m3u8 duration"}),o._(n,l.errorCodes.ad_config_load,{level:l.errorSeverityLevels.warn,developerMessage:"ad configuration is invalid or failed"}),o._(n,l.errorCodes.ad_request_timeout,{level:l.errorSeverityLevels.warn,developerMessage:"time out occurred on ad requests"}),o._(n,l.errorCodes.ad_playback_failure,{level:l.errorSeverityLevels.warn,developerMessage:"playback error occurred during ad"}),o._(n,l.errorCodes.ad_manifest_response_load,{level:l.errorSeverityLevels.error,developerMessage:"ad manifest response retrieval error"}),o._(n,l.errorCodes.ad_seamless_load,{level:l.errorSeverityLevels.error,developerMessage:"ad issues on server, diagnostics contain the issue and passed over to the client"}),o._(n,l.errorCodes.ad_beaconing_failure,{level:l.errorSeverityLevels.error,developerMessage:"ad beacons or tracking errors"}),o._(n,l.errorCodes.ad_playback_warning,{level:l.errorSeverityLevels.error,developerMessage:"general warnings that doesn't affect ad playback but need to be tracked for KPI"}),o._(n,l.errorCodes.ad_request_hard_timeout,{level:l.errorSeverityLevels.warn,developerMessage:"ad error: entire ad slot timed out"}),o._(n,l.errorCodes.ad_clickthrough_invalid_url,{level:l.errorSeverityLevels.warn,developerMessage:"ad has an a url with an invalid scheme (i.e not http or https)"}),o._(n,l.errorCodes.ad_block_warning,{level:l.errorSeverityLevels.fatal,developerMessage:"ad block detection error"}),o._(n,l.errorCodes.ad_amazona9_bid_request_config_load,{level:l.errorSeverityLevels.warn,developerMessage:"amazon bidding request error"}),o._(n,l.errorCodes.ad_amazona9_bid_response_load,{level:l.errorSeverityLevels.error,developerMessage:"amazon servers failed"}),o._(n,l.errorCodes.ad_amazona9_bid_client_timeout,{level:l.errorSeverityLevels.error,developerMessage:"client closed out amazon request due to hard timeout (2 seconds)"}),o._(n,l.errorCodes.ad_amazona9_bid_no_bid,{level:l.errorSeverityLevels.debug,developerMessage:"amazon bidding no data"}),o._(n,l.errorCodes.ad_amazona9_bid_internal_code,{level:l.errorSeverityLevels.warn,developerMessage:"amazon a9 internal time out"}),o._(n,l.errorCodes.om_config_other_load,{level:l.errorSeverityLevels.error,developerMessage:"open measurement configuration or related errors"}),o._(n,l.errorCodes.ad_moat_failure,{level:l.errorSeverityLevels.error,developerMessage:"moat tracker related errors"}),o._(n,l.errorCodes.vpn_detection_vpn_detected,{level:l.errorSeverityLevels.error,developerMessage:"vpn detected error"}),o._(n,l.errorCodes.vpn_detection_response_parse,{level:l.errorSeverityLevels.error,developerMessage:"proxy detection error: proxy detection service response parse error"}),o._(n,l.errorCodes.vpn_detection_response_missing_data,{level:l.errorSeverityLevels.debug,developerMessage:"proxy detection service received no results"}),o._(n,l.errorCodes.ad_request_failure,{level:l.errorSeverityLevels.warn,developerMessage:"dai request has failed for whatever reason"}),o._(n,l.errorCodes.pluto_stitcher_session_response_load,{level:l.errorSeverityLevels.warn,developerMessage:"pluto stitcher session response error"}),o._(n,l.errorCodes.pluto_stitcher_session_response_parse,{level:l.errorSeverityLevels.warn,developerMessage:"invalid schema in the pluto stitcher session response"}),o._(n,l.errorCodes.chromecast_cannot_cast_pluto,{level:l.errorSeverityLevels.error,developerMessage:"cannot cast pluto content"}),n),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=null==s?void 0:s[e];return void 0===r?(console.warn("ERROR: getErrorData: Error data for error code ".concat(e," is not available")),null):a._(i._({},r,""===t?{}:{developerMessage:t}),{errorCode:Math.abs(e)})}},362120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(565412),o=r(436857),i=r(36246),a=function(e){var t=(0,i.getState)(e,o.playerState.REQUEST_REGION),r=Object.entries((0,i.getState)(e,o.playerState.LOCALIZED_GEOBLOCK_ERRORS)||{}).find(function(e){return!!n._(e,1)[0].split(",").includes(t)});return null==r?void 0:r[1]}},769495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTopazErrorCode",{enumerable:!0,get:function(){return o}});var n=r(436857),o=function(e){return 60504===e?n.errorCodes.seamless_geo_blocked:null}},875610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{checkConnectivityError:function(){return i},handleConnectivityError:function(){return o}});var n=r(436857),o=function(e){var t=n.errorCodes.content_internet_no_connection;e.event.dispatchPluginEvent({detail:{errorCode:t,additionalMessage:""},type:"pluginerror2"})},i=function(){return!1===navigator.onLine}},990357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleLiveRestartError",{enumerable:!0,get:function(){return a}});var n=r(37142),o=r(36246),i=r(436857),a=function(e,t){var r=e.getPlugin(n.PLAYLIST);1===r.currentIndex&&(r.prev(),r.removeResourceAtIndex(1).then(function(){(0,o.setState)(e.id,i.playerState.IS_LIVE_RESTART,!1),t.event.dispatchPluginEvent({type:i.customEvents.RETURN_TO_LIVE})}).catch(function(e){console.error("LIVE RESTART ERROR: Error recovering from restart failure",e)}))}},721079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{checkConnectivityError:function(){return o.checkConnectivityError},checkFatal:function(){return i.checkFatal},getAviaErrorCode:function(){return a.getAviaErrorCode},getErrorData:function(){return l.getErrorData},getLocalizedGeoBlockError:function(){return d.default},getTopazErrorCode:function(){return c.getTopazErrorCode},handleConnectivityError:function(){return o.handleConnectivityError},logError:function(){return s.default},processError:function(){return u.default}});var n=r(232637),o=r(875610),i=r(989388),a=r(137002),l=r(970633),s=/*#__PURE__*/n._(r(225254)),u=/*#__PURE__*/n._(r(793813)),d=/*#__PURE__*/n._(r(362120)),c=r(769495)},225254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(989388),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e){var r=(0,n.checkFatal)(e),o=e||{},i=o.errorCode,a=o.developerMessage;(r?console.error:console.warn)("CODE [".concat(i,"]: ").concat(a,"\n ").concat(t))}}},793813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(232637),o=r(436857),i=r(36246),a=/*#__PURE__*/n._(r(362120)),l=function(e,t,r){var n=e||{},l=n.errorCode,s=n.level,u=(0,a.default)(t.id)||{},d=u.message,c=u.detail,f=(0,i.getState)(t.id,o.playerState.LOCALIZATION)||{},p=f.error,v=f.errorDetail;r.event.dispatchPluginEvent({type:o.customEvents.ERROR_SLATE,element:{name:"Error Slate"},data:{playerId:t.id,level:s,code:l,services:r,slateMessage:d||(null==p?void 0:p[l])||"Sorry, this video is not available.",slateDetail:(void 0===c?"":c)||(null==v?void 0:v[l])||""}}),t.stop()}},629557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ErrorPlugin",{enumerable:!0,get:function(){return g}});var n=r(353916),o=r(547070),i=r(356561),a=r(199591),l=r(391884),s=r(850717),u=r(358200),d=r(175105),c=r(436857),f=r(195212),p=r(721079),v=r(36246),m=r(990357),y="pluginerror2",g=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return u._(t,e),i._(t,[{key:"onRegister",value:function(e,r,n){l._(s._(t.prototype),"onRegister",this).call(this,e,r,n),this.init()}},{key:"init",value:function(){document.addEventListener(y,this.handleDocumentPluginError),this.isLiveRestarting=(0,v.getState)(this.player.id,c.playerState.IS_LIVE_RESTART)}},{key:"getId",value:function(){return c.pluginNames.ERROR}},{key:"getEventInterests",value:function(){return[d.PlayerEvent.ERROR,d.PlayerEvent.PLUGIN_EVENT]}},{key:"handlePlayerEvent",value:function(e){var t,r,n=e||{},o=n.type,i=n.detail,l=(r={},a._(r,d.PlayerEvent.ERROR,this.handlePlayerError.bind(this)),a._(r,d.PlayerEvent.PLUGIN_EVENT,this.handlePluginEvent.bind(this)),r);return null==l?void 0:null===(t=l[o])||void 0===t?void 0:t.call(l,i)}},{key:"handlePlayerError",value:function(e){return this.isLiveRestarting?(0,m.handleLiveRestartError)(this.player,this.services):(0,p.checkConnectivityError)()?(0,p.handleConnectivityError)(this.services):void 0}},{key:"handlePluginEvent",value:function(e){var t=e||{},r=t.type,n=t.detail;if(r!==y)return!1;var o=(null==n?void 0:n.error)||{},i=o.errorCode,a=o.additionalMessage,l=(0,p.getErrorData)(i);(0,p.logError)(l,a),i&&(0,p.checkFatal)(l)&&(0,p.processError)(l,this.player,this.services)}},{key:"handleDocumentPluginError",value:function(e){var t=(e||{}).detail;this.services.event.dispatchPluginEvent({detail:t,type:y})}}]),t}(f.BasePlugin)},997666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FallbackToStandardDefinitionPlugin",{enumerable:!0,get:function(){return b}});var n=r(560486),o=r(353916),i=r(547070),a=r(356561),l=r(391884),s=r(850717),u=r(358200),d=r(441293),c=r(111290),f=r(731841),p=r(175105),v=r(37142),m=r(195212),y=r(36246),g=r(16651),_=r(108067),h=r(436857),b=/*#__PURE__*/function(e){function t(){return i._(this,t),o._(this,t,arguments)}return u._(t,e),a._(t,[{key:"getId",value:function(){return h.pluginNames.FALLBACK_TO_SD}},{key:"onRegister",value:function(e,r,n){l._(s._(t.prototype),"onRegister",this).call(this,e,r,n)}},{key:"getEventInterests",value:function(){return[p.PlayerEvent.PLUGIN_EVENT]}},{key:"handlePlayerEvent",value:function(e){var t;(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.type)===h.customEvents.FALLBACK_TO_SD&&this.getStandardDefinitionContent(e)}},{key:"getStandardDefinitionContent",value:function(e){var t=this;return n._(function(){var r,n,o,i,a;return f._(this,function(l){switch(l.label){case 0:n=((r=((0,y.getState)(t.player.id,(0,y.getState)(t.player.id,h.playerState.MGID))||{}).videoDetail)||{}).videoServiceUrl,o="".concat((0,g.getMicaURL)(t.player.id,n,r)),l.label=1;case 1:return l.trys.push([1,5,6,7]),[4,(0,g.requestOptions)(t.options)];case 2:return i=l.sent(),[4,fetch(o,i)];case 3:return[4,l.sent().json()];case 4:return(a=l.sent())&&t.restartContentStream({event:e,standardDefinitionResponse:a}),[3,7];case 5:return l.sent(),(0,y.setState)(t.player.id,h.playerState.IS_FALLBACK_TO_SD_LOADING,!1),console.error("TOPAZ FAILURE: Error retrieving stream data and manifest for SD content"),[3,7];case 6:return(0,y.setState)(t.player.id,h.playerState.IS_FALLBACK_TO_SD_LOADING,!1),[7];case 7:return[2]}})})()}},{key:"restartContentStream",value:function(e){var t=e.event,r=e.standardDefinitionResponse,o=this;return n._(function(){return f._(this,function(e){switch(e.label){case 0:return(0,_.addItemFromConfig)(o.services,c._(d._({},o.options),{topazFeed:r}),1),[4,o.player.getPlugin(v.PLAYLIST).next().then(function(){o.services.event.dispatchPluginEvent({type:h.customEvents.CONTENT_RESTARTED,startTime:t.detail.startTime})})];case 1:return e.sent(),[2]}})})()}}]),t}(m.BasePlugin)},538060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FullscreenPlugin",{enumerable:!0,get:function(){return v}});var n=r(353916),o=r(547070),i=r(356561),a=r(391884),l=r(850717),s=r(358200),u=r(232637),d=r(175105),c=/*#__PURE__*/u._(r(379062)),f=r(195212),p=r(436857),v=/*#__PURE__*/function(e){function t(){return o._(this,t),n._(this,t,arguments)}return s._(t,e),i._(t,[{key:"getId",value:function(){return p.pluginNames.FULLSCREEN}},{key:"onRegister",value:function(e,r,n){var o=this;a._(l._(t.prototype),"onRegister",this).call(this,e,r,n),"string"==typeof n.playerOptions.container?this.playerContainer=document.querySelector(n.playerOptions.container):this.playerContainer=this.services.playerOptions.container,c.default.isEnabled&&c.default.on("change",function(){c.default.isFullscreen||o.player.exitFullscreen()})}},{key:"getEventInterests",value:function(){return[d.PlayerEvent.FULLSCREEN_CHANGE]}},{key:"handlePlayerEvent",value:function(e){var t,r,n,o,i,a,l;if(null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.fullscreen){if("function"==typeof(null===(o=window)||void 0===o?void 0:null===(n=o.screen)||void 0===n?void 0:null===(r=n.orientation)||void 0===r?void 0:r.lock)&&window.screen.orientation.lock("landscape").catch(function(e){return console.log(e)}),c.default.isEnabled){c.default.request(this.playerContainer);return}this.services.event.dispatchPluginEvent({type:p.customEvents.SIMULATED_FULLSCREEN_TOGGLE})}else{if("function"==typeof(null===(l=window)||void 0===l?void 0:null===(a=l.screen)||void 0===a?void 0:null===(i=a.orientation)||void 0===i?void 0:i.unlock)&&window.screen.orientation.unlock(),c.default.isEnabled){c.default.exit();return}this.services.event.dispatchPluginEvent({type:p.customEvents.SIMULATED_FULLSCREEN_TOGGLE})}}}]),t}(f.BasePlugin)},871040:()=>{},434654:()=>{},650519:()=>{},528074:()=>{},48552:()=>{},335634:()=>{},570079:()=>{},641171:()=>{},653228:()=>{},259859:()=>{},903407:()=>{},586880:()=>{},348061:()=>{},790878:()=>{},514388:()=>{}}]);