/*! JW Player version 8.5.3 Copyright (c) 2018, JW Player, All Rights Reserved This source code and its use and distribution is subject to the terms and conditions of the applicable license agreement. https://www.jwplayer.com/tos/ This product includes portions of other software. For the full text of licenses, see https://ssl.p.jwpcdn.com/player/v/8.5.3/notice.txt */ (window.webpackJsonpjwplayer=window.webpackJsonpjwplayer||[]).push([[0],{125:function(e,t){e.exports=''},127:function(e,t){e.exports=''},128:function(e,t){e.exports=''},131:function(e,t){e.exports=''},132:function(e,t){e.exports=''},133:function(e,t,i){(e.exports=i(61)(!1)).push([e.i,'.jw-related,.jw-related-container,.jw-related-item-group,.jw-related-item-container,.jw-related-item-content,.jw-related-item-content-container,.jw-related-item-poster,.jw-related-item-play .jw-svg-icon,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before,.jw-related-autoplay-svg,.jw-related-shelf-list,.jw-related-shelf-items,.jw-related-shelf-item-contents,.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::before{height:100%;width:100%}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open,.jw-flag-small-player .jw-related-container,.jw-related-title,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before,.jw-related-autoplay-svg,.jw-shelf-widget .jw-svg-icon-play,.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::before,.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::after{top:0;position:absolute;left:0}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before,.jw-related-item-title,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after{position:absolute;bottom:0;left:0}.jw-related .jw-icon-inline.jw-related-close{position:absolute;top:0;right:0}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open,.jw-flag-small-player .jw-related-container,.jw-related-autoplay-svg,.jw-shelf-widget .jw-svg-icon-play{position:absolute;bottom:0;right:0}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after,.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::before,.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::after{content:"";display:block}.jw-plugin-related{overflow:hidden;width:100%}.jw-plugin-related:not(.jw-plugin-related-open){pointer-events:none;display:none}.jw-flag-small-player .jw-plugin-related:not(.jw-plugin-related-open){top:0;bottom:auto}.jw-flag-touch:not(.jw-flag-small-player) .jw-plugin-related:not(.jw-plugin-related-open){bottom:88px}.jw-plugin-related.jw-plugin-related-open{opacity:1;visibility:visible}.jwplayer .jw-overlays .jw-plugin-related.jw-plugin-related-open{background-color:#000;display:block}.jwplayer.jw-flag-overlay-open-related .jw-controls,.jwplayer.jw-flag-overlay-open-related .jw-title{display:none}.jw-related{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:normal;pointer-events:all;position:relative}.jw-related-container{overflow:hidden}.jw-flag-small-player .jw-related-container{display:inline-block;margin:44px auto auto;overflow:visible;padding:0;height:calc(100% - (44px * 1.5));width:calc(100% - (44px * 3))}.jw-breakpoint-2 .jw-related-container,.jw-breakpoint-3 .jw-related-container,.jw-breakpoint-4 .jw-related-container{padding:44px 44px 11px}.jw-breakpoint-5 .jw-related-container{padding:44px 50px 6px}.jw-breakpoint-6 .jw-related-container{padding:66px 66px 33px}.jw-breakpoint-7 .jw-related-container{padding:77px 77px 37px}.jw-orientation-portrait .jw-related-container{align-items:center;display:flex}.jw-related-title{color:#aaa;background-color:transparent;font-size:16px;line-height:2.75;overflow:hidden;padding:0 1em;text-overflow:ellipsis;white-space:nowrap}.jw-breakpoint-5 .jw-related-title{font-size:20px;line-height:3}.jw-breakpoint-6 .jw-related-title{font-size:24px}.jw-breakpoint-7 .jw-related-title{font-size:28px}.jw-related-item-group{overflow:hidden;position:relative}.jw-related-item-next-up+.jw-related-item-group{display:none}.jw-breakpoint-2 .jw-related-item-next-up+.jw-related-item-group{width:50%}.jwplayer:not(.jw-flag-small-player):not(.jw-breakpoint-2) .jw-related-item-next-up+.jw-related-item-group{width:66.66666667%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-group{display:block}.jw-flag-small-player .jw-related-item-group{display:flex;flex-flow:row nowrap;overflow:visible;transition:transform 150ms cubic-bezier(0, .25, .25, 1)}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child){animation:none;flex:0 0 auto;opacity:0.5;transform:scale(.75, .75);transform-origin:50% 50%;transition:all 150ms cubic-bezier(0, .25, .25, 1);transition-property:opacity,transform,transform-origin;pointer-events:none}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-item-title-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-item-title-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-item-title-text{background:none;white-space:nowrap}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-item-title-text::before,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-item-title-text::before,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-item-title-text::before{content:none}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content .jw-related-item-title .jw-related-next-up-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:hover .jw-related-item-title .jw-related-next-up-text,.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-content:focus .jw-related-item-title .jw-related-next-up-text{font-weight:normal;padding:0 10px 5px}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-poster-content{background:rgba(0,0,0,0.4)}.jw-flag-small-player .jw-related-item-group .jw-related-item:not(:only-child) .jw-related-item-duration{display:none}.jw-flag-small-player .jw-related-item-group .jw-related-item:first-child{transform-origin:80% 50%}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item{pointer-events:auto;opacity:1;transform:scale(1, 1)}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item .jw-related-item-poster-content{background:rgba(0,0,0,0.4)}.jw-flag-small-player .jw-related-item-group .jw-related-item.jw-related-active-item~.jw-related-item{transform-origin:20% 50%}@media (orientation:landscape){.jw-flag-fullscreen .jw-orientation-portrait .jw-related-item-group{display:block}}@media (orientation:portrait){.jw-orientation-portrait .jw-related-item.jw-related-item-next-up{width:100%}}.jw-related-item{float:left;height:100%;overflow:hidden;width:100%}.jw-breakpoint-2 .jw-related-item,.jw-breakpoint-3 .jw-related-item,.jw-breakpoint-4 .jw-related-item{padding:6px}.jw-breakpoint-5 .jw-related-item,.jw-breakpoint-6 .jw-related-item{padding:10px}.jw-breakpoint-7 .jw-related-item{padding:15px}.jw-breakpoint-2 .jw-related-item-group .jw-related-item{height:50%;width:50%;display:none}.jw-breakpoint-2 .jw-related-item-group .jw-related-item:nth-child(-n + 4){display:block}.jw-breakpoint-2 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n + 2){display:block;width:100%}.jw-breakpoint-3 .jw-related-item-group .jw-related-item:nth-child(-n + 6),.jw-breakpoint-4 .jw-related-item-group .jw-related-item:nth-child(-n + 9){display:block}.jw-breakpoint-3 .jw-related-item-group .jw-related-item{height:50%;width:33.33333333%;display:none}.jw-breakpoint-4 .jw-related-item-group .jw-related-item{height:33.33333333%;width:33.33333333%;display:none}.jw-breakpoint-3 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+4),.jw-breakpoint-4 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-5 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-6 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6),.jw-breakpoint-7 .jw-related-item-next-up+.jw-related-item-group .jw-related-item:nth-child(-n+6){display:block;width:50%}.jw-breakpoint-4 .jw-related-item-group .jw-related-item,.jw-breakpoint-5 .jw-related-item-group .jw-related-item,.jw-breakpoint-6 .jw-related-item-group .jw-related-item,.jw-breakpoint-7 .jw-related-item-group .jw-related-item{height:33.33333333%;width:33.33333333%;display:block}.jw-plugin-related-open .jw-related-item{animation:jw-related-item 250ms both cubic-bezier(0, .25, .25, 1)}.jw-plugin-related-open .jw-related-item:nth-child(1){animation-delay:50ms}.jw-plugin-related-open .jw-related-item:nth-child(2){animation-delay:100ms}.jw-plugin-related-open .jw-related-item:nth-child(3){animation-delay:150ms}.jw-plugin-related-open .jw-related-item:nth-child(4){animation-delay:200ms}.jw-plugin-related-open .jw-related-item:nth-child(5){animation-delay:250ms}.jw-plugin-related-open .jw-related-item:nth-child(6){animation-delay:300ms}.jw-plugin-related-open .jw-related-item.jw-related-item-next-up{animation-delay:0ms}.jw-flag-small-player .jw-plugin-related-open .jw-related-item{animation-delay:0s}.jw-related-item-content{background-color:#000;border:solid 1px rgba(255,255,255,0.2);box-sizing:border-box;cursor:pointer;display:block;overflow:hidden;position:relative;text-decoration:none;transition:border-color 150ms cubic-bezier(0, .25, .25, 1)}.jwplayer:not(.jw-flag-small-player) .jw-related-item-content .jw-related-item-title-text::before{height:30px;width:100%;background-image:linear-gradient(transparent, #000);opacity:0}.jw-related-item-content:hover,.jw-related-item-content:focus{background-color:#000;border-color:#fff}.jw-related-item-content:hover .jw-related-item-title-text,.jw-related-item-content:focus .jw-related-item-title-text{background-image:linear-gradient(transparent, #000);visibility:visible;white-space:normal}.jw-related-item-content:hover .jw-related-item-title-text::before,.jw-related-item-content:focus .jw-related-item-title-text::before{opacity:1}.jw-related-item-content:focus{outline:none}.jw-related-item-content-container{overflow:hidden;position:relative}.jw-related-item-poster{background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden}.jw-related-item-poster-content{height:100%;overflow:hidden;position:relative}.jw-related-item-duration{position:absolute;top:15px;right:15px;color:#fff;font-size:12px;font-weight:bold;letter-spacing:0.3px;text-align:right;text-shadow:-1px -1px 20px rgba(0,0,0,0.5),1px 1px 20px rgba(0,0,0,0.5)}.jw-breakpoint-2 .jw-related-item-duration,.jw-breakpoint-3 .jw-related-item-duration{position:absolute;top:10px;right:10px}.jw-breakpoint-6 .jw-related-item-duration,.jw-breakpoint-7 .jw-related-item-duration{position:absolute;top:20px;right:20px}.jw-breakpoint-6 .jw-related-item-duration{font-size:14px}.jw-breakpoint-7 .jw-related-item-duration{font-size:15px}.jw-related-item-play{top:50%;position:absolute;left:50%;transform:translate(-50%, -50%);transition:opacity 150ms cubic-bezier(0, .25, .25, 1);opacity:0}.jw-breakpoint-0 .jw-related-item-play{height:32px;width:32px}.jw-flag-small-player .jw-related-item-next-up .jw-related-item-play{transform:translate(-50%, -75%)}.jw-flag-small-player .jw-related-active-item .jw-related-item-play,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up:hover .jw-related-item-play{opacity:1}.jw-related-item-title{overflow:hidden;text-decoration:none;text-shadow:0 0 2px rgba(0,0,0,0.5);width:100%}.jw-related-item-title .jw-related-next-up-text{color:currentColor;display:none;font-size:13px;padding:0 15px}.jw-flag-small-player .jw-related-item-title .jw-related-next-up-text{padding:0 10px}.jw-related-item-title .jw-related-item-title-text{background-image:linear-gradient(transparent, #000);box-sizing:border-box;color:currentColor;display:block;font-size:13px;font-weight:bold;line-height:1.4;max-height:104.6px;padding:50px 15px 12px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jw-flag-small-player .jw-related-item:not(.jw-related-active-item) .jw-related-item-title .jw-related-item-title-text{opacity:0}.jw-flag-small-player .jw-related-item-title .jw-related-item-title-text{font-size:15px;line-height:1.2;padding:0 10px 10px}.jw-breakpoint-2 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-item-title-text{line-height:1.3}.jw-breakpoint-5 .jw-related-item-title .jw-related-item-title-text{max-height:122.8px}.jw-breakpoint-6 .jw-related-item-title .jw-related-item-title-text{font-size:15px;max-height:141px}.jw-breakpoint-7 .jw-related-item-title .jw-related-item-title-text{font-size:16px;line-height:1.5;max-height:159.2px}.jw-related-item-title .jw-item-index-text em{font-style:normal;font-weight:bold}.jw-breakpoint-2 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-2 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-3 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-4 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-4 .jw-related-item-title .jw-related-item-title-text{padding:50px 10px 7px}.jw-breakpoint-6 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-6 .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-7 .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-7 .jw-related-item-title .jw-related-item-title-text{padding:50px 20px 17px}.jw-flag-small-player .jw-related-item-title{text-shadow:none}.jw-related-item-description{opacity:0.8;display:none;font-size:13px;line-height:1.2;overflow:hidden}.jw-related-item-description .jw-related-item-title-text{display:block}.jw-related-item-content:hover .jw-related-item-description .jw-related-item-title-text,.jw-related-item-content:focus .jw-related-item-description .jw-related-item-title-text{opacity:1}.jw-related-item-description-content{box-sizing:border-box;padding:0 15px}.jw-breakpoint-4 .jw-related-item-description-content{padding:0 10px}.jw-breakpoint-6 .jw-related-item-description-content,.jw-breakpoint-7 .jw-related-item-description-content{padding:0 20px}.jw-related-item-next-up{display:block;width:100%}.jw-related-item.jw-related-item-next-up{height:100%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content-container::after{height:50px;width:100%;background-image:linear-gradient(to bottom, transparent, #000)}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-content::after{height:75px}.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-content::after{height:100px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-content::after{height:125px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-content::after{height:150px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-content::after{height:175px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-content::after{height:200px}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:hover .jw-related-item-content-container::after,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:focus .jw-related-item-content-container::after{background-image:linear-gradient(transparent, #000)}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:hover .jw-related-item-poster-content::before,.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-content:focus .jw-related-item-poster-content::before{background-image:linear-gradient(transparent, #000)}.jw-breakpoint-2 .jw-related-item-next-up{width:50%}.jw-breakpoint-3 .jw-related-item-next-up,.jw-breakpoint-4 .jw-related-item-next-up,.jw-breakpoint-5 .jw-related-item-next-up,.jw-breakpoint-6 .jw-related-item-next-up,.jw-breakpoint-7 .jw-related-item-next-up{width:33.33333333%}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster{height:42.85714286%;position:relative}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-poster::before{background-image:linear-gradient(transparent, #000);content:""}.jw-related-item-next-up .jw-related-item-title{text-shadow:none}.jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{display:block}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title{bottom:auto;height:auto;left:auto;position:relative;text-shadow:none}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{position:static}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{background:none;margin-bottom:5px;max-height:none;font-weight:normal;position:static;overflow:visible;white-space:normal}.jwplayer:not(.jw-flag-small-player) .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text::before{display:none}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title{margin-top:-10px}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 10px}.jw-breakpoint-2 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text,.jw-breakpoint-3 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:15px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title{margin:-15px 0 5px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 10px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:15px;margin-bottom:5px}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:16px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title{margin:-20px 0 10px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 15px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:15px;margin-bottom:10px}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:18px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title{margin:-25px 0 10px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 20px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:16px;margin-bottom:10px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:20px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title{margin:-30px 0 15px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{padding:0 20px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-next-up-text{font-size:18px;margin-bottom:10px}.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-title .jw-related-item-title-text{font-size:24px;line-height:1.3}.jw-breakpoint-4 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-description{display:block}.jw-breakpoint-5 .jw-related-item-next-up .jw-related-item-description{font-size:14px}.jw-breakpoint-6 .jw-related-item-next-up .jw-related-item-description,.jw-breakpoint-7 .jw-related-item-next-up .jw-related-item-description{font-size:16px}@media (orientation:landscape){.jw-flag-fullscreen .jw-orientation-portrait .jw-related-item-next-up{display:block;height:100%;vertical-align:inherit}}.jw-orientation-portrait:not(.jw-flag-small-player) .jw-related-item-next-up,.jw-orientation-portrait .jw-related-item-group{height:40%}.jw-related-autoplay-frame{fill:none;stroke:transparent;stroke-width:2px}.jw-breakpoint-2 .jw-related-autoplay-frame,.jw-breakpoint-3 .jw-related-autoplay-frame,.jw-breakpoint-4 .jw-related-autoplay-frame{stroke-width:4px}.jw-breakpoint-5 .jw-related-autoplay-frame,.jw-breakpoint-6 .jw-related-autoplay-frame,.jw-breakpoint-7 .jw-related-autoplay-frame{stroke-width:8px}.jw-related-autoplay-frame-progress{fill:none;stroke:#fff;stroke-width:4px;transition:stroke 150ms cubic-bezier(0, .25, .25, 1)}.jw-related-item-content:hover .jw-related-autoplay-frame-progress,.jw-related-item-content:focus .jw-related-autoplay-frame-progress{stroke:rgba(255,255,255,0.6)}.jw-breakpoint-5 .jw-related-autoplay-frame-progress,.jw-breakpoint-6 .jw-related-autoplay-frame-progress,.jw-breakpoint-7 .jw-related-autoplay-frame-progress{stroke-width:8px}.jw-related .jw-icon-inline{transition:opacity 150ms cubic-bezier(0, .25, .25, 1);z-index:1}.jw-breakpoint-5 .jw-related .jw-icon-inline .jw-svg-icon-close{height:30px;width:30px}.jw-breakpoint-6 .jw-related .jw-icon-inline .jw-svg-icon-close{height:36px;width:36px}.jw-breakpoint-7 .jw-related .jw-icon-inline .jw-svg-icon-close{height:42px;width:42px}.jw-related .jw-icon-inline.jw-related-page{position:absolute;top:50%;transform:translate(0, -50%)}.jw-related .jw-icon-inline.jw-related-page-left{left:0}.jw-related .jw-icon-inline.jw-related-page-right{right:0}.jw-breakpoint-5 .jw-related .jw-icon-inline{height:55px;width:55px}.jw-breakpoint-6 .jw-related .jw-icon-inline{height:66px;width:66px}.jw-breakpoint-7 .jw-related .jw-icon-inline{height:77px;width:77px}.jw-related-shelf-container{display:flex;flex-wrap:wrap;transform:translate(0, 100%) translate(0, -43px);transition:150ms 150ms cubic-bezier(0, .25, .25, 1);transition-property:opacity, transform;margin:0 12px}.jw-related-shelf-container .jw-related-shelf-contents{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.jw-related-shelf-container .jw-related-more{color:rgba(255,255,255,0.8);cursor:pointer;display:none;text-shadow:0 0 4px rgba(0,0,0,0.65);font-size:12px;justify-content:flex-start;margin:0;padding:0;pointer-events:auto;white-space:nowrap;width:auto;outline:none}.jw-related-shelf-container .jw-related-more:hover,.jw-related-shelf-container .jw-related-more:focus{color:#fff}.jw-related-shelf-container .jw-related-more .jw-svg-icon{-webkit-filter:drop-shadow(0 0 2px rgba(0,0,0,0.5));filter:drop-shadow(0 0 2px rgba(0,0,0,0.5));margin:0 10px 0 0;flex:0 0 auto;width:16px}.jw-related-shelf-container .jw-related-close{cursor:pointer;margin-left:auto;opacity:0;transition:opacity 150ms cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;visibility:hidden;position:absolute;top:0;right:0}.jw-related-shelf-container .jw-related-close .jw-svg-icon{margin:0 6px;width:12px}.jw-flag-small-player .jw-related-shelf-container .jw-related-close{display:none}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete) .jw-controls:not(.jw-settings-open) .jw-related-shelf-container{transform:translate(0, 0);transition-delay:0s}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete) .jw-controls:not(.jw-settings-open) .jw-related-shelf-container .jw-related-close{opacity:1;visibility:visible;transition-delay:0s}.jw-flag-ads .jw-related-shelf-container,.jw-flag-small-player .jw-related-shelf-container{padding:0;display:none}.jw-button-container .jw-related-shelf-container{position:absolute;bottom:100%;left:0;pointer-events:none;margin-bottom:10px;right:0}.jwplayer.jw-flag-overlay-open-related-shelf:not(.jw-flag-small-player) .jw-settings-open .jw-related-shelf-container *{pointer-events:none}.jwplayer.jw-flag-overlay-open-related-shelf:not(.jw-flag-small-player) .jw-settings-open .jw-related-shelf{opacity:0;transition-delay:0s}.jw-related-control{align-items:center;border-radius:0;color:rgba(255,255,255,0.8);cursor:pointer;display:flex;flex:0 0 auto;height:auto;justify-content:center;transition:opacity 150ms cubic-bezier(0, .25, .25, 1);outline:none}.jwplayer:not(.jw-flag-touch) .jw-related-control{width:28px}.jw-related-control .jw-svg-icon{width:16px}.jw-related-control.jw-off{opacity:0.25}.jw-breakpoint-4:not(.jw-flag-touch) .jw-related-control{width:22px}.jw-breakpoint-4:not(.jw-flag-touch) .jw-related-control .jw-svg-icon{width:12px}.jw-related-control:hover,.jw-related-control:focus{color:#fff}.jw-related-control:focus{border:solid 1px rgba(255,255,255,0.6)}.jw-state-playing:not(.jw-flag-user-inactive):not(.jw-flag-ads) .jw-related-more,.jw-state-buffering:not(.jw-flag-user-inactive):not(.jw-flag-ads) .jw-related-more,.jw-state-paused:not(.jw-flag-ads) .jw-related-more,.jw-state-complete:not(.jw-flag-ads) .jw-related-more{display:flex}.jw-state-playing:not(.jw-flag-user-inactive).jw-flag-touch .jw-related-more,.jw-state-buffering:not(.jw-flag-user-inactive).jw-flag-touch .jw-related-more,.jw-state-paused.jw-flag-touch .jw-related-more,.jw-state-complete.jw-flag-touch .jw-related-more{bottom:6px}.jw-state-playing:not(.jw-flag-user-inactive) .jw-logo-bump,.jw-state-buffering:not(.jw-flag-user-inactive) .jw-logo-bump,.jw-state-paused .jw-logo-bump,.jw-state-complete .jw-logo-bump{bottom:88px}.jw-related-shelf{background-color:rgba(0,0,0,0.5);display:flex;opacity:0;order:1;pointer-events:none;transition:opacity 150ms 0s cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;width:100%;visibility:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jw-flag-overlay-open-related-shelf.jw-state-playing:not(.jw-flag-user-inactive) .jw-related-shelf,.jw-flag-overlay-open-related-shelf.jw-state-buffering:not(.jw-flag-user-inactive) .jw-related-shelf,.jw-flag-overlay-open-related-shelf.jw-state-paused .jw-controls:not(.jw-settings-open) .jw-related-shelf{opacity:1;pointer-events:auto;visibility:visible;transition-delay:150ms}.jw-flag-small-player .jw-related-shelf{display:none}.jw-related-shelf-list{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.jw-related-shelf-items{display:flex;overflow:visible;transition:transform 0s cubic-bezier(0, .25, .25, 1);transform:translate(-100%, 0)}.jw-related-shelf-items.jw-related-shelf-start{transform:translate(0, 0)}.jw-related-shelf-items.jw-related-shelf-animating{transition-duration:450ms;pointer-events:none}.jw-related-shelf-items.jw-related-shelf-slide-next{transform:translate(-200%, 0)}.jw-related-shelf-items.jw-related-shelf-slide-prev{transform:translate(0, 0)}.jw-related-shelf-item{height:100%;width:20%;background:50% 50% / cover no-repeat rgba(0,0,0,0.25);display:inline-block;flex:0 0 auto;padding:0;position:relative;transition:background-size 150ms cubic-bezier(0, .25, .25, 1);outline:none}.jw-related-shelf-item:hover .jw-related-shelf-item-contents,.jw-related-shelf-item:focus .jw-related-shelf-item-contents{opacity:1}.jw-related-shelf-item .jw-text{font-weight:bold;flex:0 0 100%;line-height:1.25;overflow:hidden}.jw-related-shelf-item .jw-related-shelf-item-duration{flex:0 0 100%;font-size:11px;margin:0 0 auto;text-align:right}.jw-related-shelf-item .jw-related-shelf-item-title{height:auto;margin:auto 0 0;text-align:left}.jw-breakpoint-2 .jw-related-shelf-item,.jw-breakpoint-3 .jw-related-shelf-item{width:calc(100% / 3)}.jw-breakpoint-2 .jw-related-shelf-item .jw-text,.jw-breakpoint-3 .jw-related-shelf-item .jw-text{font-size:11px}.jw-breakpoint-4 .jw-related-shelf-item{width:25%}.jw-related-shelf-item-aspect{height:0;padding:0 0 56.25%;position:relative}.jw-related-shelf-item-contents{background-color:rgba(0,0,0,0.5);align-items:flex-end;cursor:pointer;display:flex;flex-wrap:wrap;opacity:0;padding:8px;position:absolute;transition:opacity 150ms cubic-bezier(0, .25, .25, 1)}.jw-flag-touch .jw-related-shelf-item-contents{opacity:1}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-2 .jw-display,.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-3 .jw-display{padding-top:0}.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-2 .jw-display-container,.jw-flag-overlay-open-related-shelf:not(.jw-state-complete).jw-breakpoint-3 .jw-display-container{transform:translateY(-10%)}.jw-flag-overlay-open-related-shelf .jw-nextup-container.jw-nextup-container-visible,.jw-flag-overlay-open-related-shelf .jw-nextup-sticky .jw-nextup-close{opacity:0;transition:opacity 150ms 0s cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;visibility:hidden}.jw-shelf-widget{box-sizing:border-box;display:block;min-width:270px;transform:none;width:100%}.jw-shelf-widget,.jw-shelf-widget *{-webkit-tap-highlight-color:rgba(255,255,255,0);background-color:transparent;border:0;color:inherit;direction:ltr;float:none;font-size:100%;font-stretch:inherit;font-variant:inherit;line-height:normal;list-style:none;margin:0;padding:0;text-align:left;text-transform:none;vertical-align:baseline}.jw-shelf-widget *{box-sizing:inherit}.jw-shelf-widget .jw-related-more{color:inherit;cursor:default;display:flex;height:auto;font-size:106.25%;line-height:1.2;margin:0 0 5px 38px;text-shadow:none}.jw-shelf-widget .jw-related-more:hover{color:inherit}.jw-shelf-widget .jw-related-shelf-contents{padding:20px 8px;position:relative}.jw-shelf-widget .jw-related-shelf{background-color:transparent;display:flex;font-size:100%;height:auto;opacity:1;order:1;pointer-events:auto;position:relative;transition:opacity 150ms 0s cubic-bezier(0, .25, .25, 1),visibility 0s 150ms linear;visibility:visible;width:100%}.jw-shelf-widget:not(.jw-flag-touch) .jw-related-control:hover{opacity:1}.jw-shelf-widget:not(.jw-flag-touch) .jw-related-shelf-item:hover .jw-svg-icon,.jw-shelf-widget:not(.jw-flag-touch) .jw-related-shelf-item:hover .jw-related-shelf-item-image::before{opacity:1}.jw-shelf-widget .jw-related-control{height:auto;width:28px;align-items:center;border-radius:0;color:currentColor;cursor:pointer;display:flex;flex:0 0 auto;justify-content:center;opacity:0.7;outline:none;margin:0 0 4.25em;transition:opacity 150ms cubic-bezier(0, .25, .25, 1)}.jw-shelf-widget .jw-related-control:focus{opacity:1}.jw-shelf-widget .jw-related-control.jw-off{opacity:0.3;pointer-events:none}.jw-breakpoint-4.jw-shelf-widget .jw-related-control{width:28px}.jw-breakpoint-4.jw-shelf-widget .jw-related-control .jw-svg-icon{width:24px}.jw-shelf-widget .jw-related-control .jw-svg-icon{width:24px}.jw-shelf-widget .jw-related-shelf-item-title{color:inherit}.jw-shelf-widget .jw-svg-icon-play{height:50%;width:50%;color:#fff;-webkit-filter:drop-shadow(0 2px 3px rgba(0,0,0,0.3));filter:drop-shadow(0 2px 3px rgba(0,0,0,0.3));margin:auto;opacity:0;transition:opacity 150ms cubic-bezier(0, .25, .25, 1);z-index:1}.jw-shelf-widget .jw-related-shelf-item{height:100%;width:25%;background:transparent;cursor:pointer;display:inline-block;flex:0 0 auto;outline:none;padding:0 10px;position:relative;transition:background-size 150ms cubic-bezier(0, .25, .25, 1)}.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image{background-color:transparent;background-size:cover;overflow:hidden;padding:0 0 56.25%;position:relative}.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::before{background-image:linear-gradient(to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.00932) 11.8%, hsla(0, 0%, 0%, 0.03486) 24.05%, hsla(0, 0%, 0%, 0.07303) 36.43%, hsla(0, 0%, 0%, 0.12021) 48.61%, hsla(0, 0%, 0%, 0.1728) 60.24%, hsla(0, 0%, 0%, 0.2272) 71%, hsla(0, 0%, 0%, 0.27979) 80.55%, hsla(0, 0%, 0%, 0.32697) 88.56%, hsla(0, 0%, 0%, 0.36514) 94.69%, hsla(0, 0%, 0%, 0.39068) 98.62%, hsla(0, 0%, 0%, 0.4));opacity:0;pointer-events:none;transition:opacity 150ms cubic-bezier(0, .25, .25, 1)}.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-image::after{height:150%;width:100%;pointer-events:none;transform-origin:0 0}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading{pointer-events:none}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading .jw-related-shelf-item-image .jw-svg-icon{display:none}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading .jw-related-shelf-item-image::before,.jw-shelf-widget .jw-related-shelf-item.jw-related-loading .jw-related-shelf-item-image::after{background:currentColor;opacity:0.15}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading .jw-related-shelf-item-image::after{animation:jw-shimmer 1.5s cubic-bezier(.46, .03, .52, .96) both infinite}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading:nth-child(5n + 2) .jw-related-shelf-item-image::after{animation-delay:200ms}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading:nth-child(5n + 3) .jw-related-shelf-item-image::after{animation-delay:400ms}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading:nth-child(5n + 4) .jw-related-shelf-item-image::after{animation-delay:600ms}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading:nth-child(5n + 5) .jw-related-shelf-item-image::after{animation-delay:800ms}.jw-shelf-widget .jw-related-shelf-item.jw-related-loading .jw-related-shelf-item-title{background:linear-gradient(currentColor, currentColor),linear-gradient(currentColor, currentColor);background-position:0 0, 0 50%;background-repeat:no-repeat;background-size:100% 1em, 65% 1em;opacity:0.15;height:3.75em;overflow:hidden;text-indent:100%;white-space:nowrap}.jw-shelf-widget .jw-related-shelf-item.jw-related-loaded .jw-related-shelf-item-image::after{animation:jw-shimmer 1.5s -0.5s cubic-bezier(.46, .03, .52, .96) forwards 1;background:currentColor}.jw-shelf-widget .jw-related-shelf-item.jw-related-displayed .jw-related-shelf-item-image::after{display:none}.jw-shelf-widget .jw-related-shelf-item:focus .jw-svg-icon,.jw-shelf-widget .jw-related-shelf-item:focus .jw-related-shelf-item-image::before{opacity:1}.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-contents{align-items:flex-start;background:none;height:3.75em;margin:0.5em 0 0;opacity:1;padding:0;position:static;transition:none}.jw-shelf-widget .jw-related-shelf-item .jw-related-shelf-item-title{font-size:100%;font-weight:normal;height:3.75em;line-height:1.25;margin:0;text-align:left;overflow:hidden;text-overflow:ellipsis}.jw-shelf-items-5.jw-shelf-widget .jw-related-shelf-item{width:20%}.jw-shelf-items-4.jw-shelf-widget .jw-related-shelf-item{width:25%}.jw-shelf-items-3.jw-shelf-widget .jw-related-shelf-item{width:calc(100% / 3)}.jw-shelf-items-2.jw-shelf-widget .jw-related-shelf-item{width:50%}@keyframes jw-shimmer{0%{transform:translate(0, -100%) skewY(-15deg)}66.6%,100%{transform:translate(0, 100%) skewY(-15deg)}}@keyframes jw-related-item{0%{opacity:0;transform:scale(.85, .85);visibility:hidden}to{opacity:1;transform:scale(1, 1);visibility:visible}}@keyframes jw-dash{to{stroke-dashoffset:0}}',""])},134:function(e,t,i){var n=i(133);"string"==typeof n&&(n=[["all-players",n,""]]),i(40).style(n,"all-players"),n.locals&&(e.exports=n.locals)},135:function(e,t){e.exports=''},136:function(e,t){e.exports=''},143:function(e,t,i){"use strict";i.r(t);var n=i(0),a=i(39),r=i(44),l=function(e){this.items=this.currentRequest=this.lastResponseText=null,this.requestOptions=e};function o(e){var t=void 0;try{if(e.responseXML&&e.responseXML.firstChild){var i=Object(r.a)(e.responseXML.firstChild);t=Object(n.j)({playlist:i},i.feedData)}else t=function(e){return JSON.parse(e.responseText)}(e),Array.isArray(t)&&(t={playlist:t})}catch(e){t=null}return t}l.prototype.load=function(e,t,i,r){var l=this;this.currentRequest&&this.abort();var s=this.requestOptions;if(s&&s.queryParams){var d=Object.keys(s.queryParams).map(function(e){return e+"="+s.queryParams[e]}),c=e.indexOf("?")?"&":"?";e=e+c+d}this.currentRequest=Object(a.a)(e,function(a){l.currentRequest=null;var s=l.lastResponseText===a.responseText,d=o(a);if(r&&s){var c=Object(n.j)({},d);r(l.items,c,e)}else if(d){l.lastResponseText=a.responseText,l.items=d.playlist;var h=Object(n.j)({},d);delete h.playlist,t(l.items,h,e)}else l.lastResponseText=null,i("Playlist is not valid")},i)},l.prototype.loadRecommendation=function(e,t,i,n,r){var l=this;this.currentRequest&&this.abort();this.currentRequest=Object(a.a)(e,function(e){l.currentRequest=null;var a=o(e);if(a){var s=a.file||t;s?l.load(s,i,n,r):n(a)}else n()},n)},l.prototype.clearCache=function(){this.lastResponseText=null},l.prototype.abort=function(){this.currentRequest.onload=null,this.currentRequest.onreadystatechange=null,this.currentRequest.onerror=null,this.currentRequest.abort&&this.currentRequest.abort(),this.currentRequest=null,this.lastResponseText=null};var s=l,d=i(7),c=function(e){this.handlers=[],this.el=e};function h(e,t){var i=new c(e);return i.add(t),i}c.prototype.add=function(e){this.handlers.push(e)},c.prototype.del=function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)},c.prototype.dispatch=function(){for(var e=0,t=this.handlers.length;e1){var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y}e.preventDefault()}},move:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,a=e.touches[0].pageY;if(i>1){var r=e.touches[1].pageX,l=e.touches[1].pageY,o={x:e.touches[1].pageX-n,y:e.touches[1].pageY-a};t.x=o.x,t.y=o.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+r-this.sx2)/2,e.deltaY=(a-this.y2+l-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.sx2=r,this.sy2=l}else null!==this.x2?(e.deltaX=n-this.x2,e.deltaY=a-this.y2):(e.deltaX=0,e.deltaY=0);this.touchMove.dispatch(e),this.x2=n,this.y2=a,i>1&&e.preventDefault()}},end:function(e){if(e.changedTouches){var t=this;(this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30)&&(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){t.swipe.dispatch(e)},0)),this.touchEnd.dispatch(e),this.preV.x=0,this.preV.y=0,this.x1=this.x2=this.y1=this.y2=null}},cancelAll:function(){clearTimeout(this.swipeTimeout)},cancel:function(e){this.cancelAll(),this.touchCancel.dispatch(e)},_swipeDirection:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"},on:function(e,t){this[e]&&this[e].add(t)},off:function(e,t){this[e]&&this[e].del(t)},destroy:function(){return this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.swipe.del(),this.delta=null,this.last=null,this.now=null,this.preV=null,this.swipe=null,this.swipeTimeout=null,this.touchStart=null,this.touchMove=null,this.touchEnd=null,this.touchCancel=null,this.x1=null,this.x2=null,this.y1=null,this.y2=null,null}};var p=w,u=i(128),f=i.n(u),m=i(127),j=i.n(m),g=i(136),v=i.n(g),y=i(135),b=i.n(y),x=i(10),k=i(12),O=i(2),C=i(125),I=i.n(C),S=function(e,t){var i=e.index,n=e.image,a=void 0===n?"":n,r=e.duration,l=void 0===r?"":r,o=e.title,s=void 0===o?"":o,d="playlist"===t?i+1+". ":"";return''+(l?Object(k.timeFormat)(Object(O.f)(l)):"")+''+I.a+''+d+""+(s?Object(x.e)(s).textContent:"")+""};var E=function(e){var t=e.image,i=void 0===t?"":t,n=e.duration,a=void 0===n?"":n,r=e.title,l=void 0===r?"":r,o=e.index;return''+(a?Object(k.timeFormat)(Object(O.f)(a)):"")+''+(l?Object(x.e)(l).textContent:"")+""},z=function(e){var t=e.title,i=void 0===t?"":t,n=e.index;return''+I.a+''+(i?Object(x.e)(i).textContent:"")+""},P=function(e){var t=e.image,i=void 0===t?"":t,n=e.duration,a=void 0===n?"":n,r=e.title,l=void 0===r?"":r,o=e.description,s=void 0===o?"":o,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return''+(a?Object(k.timeFormat)(Object(O.f)(a)):"")+''+I.a+''+d+''+(l?Object(x.e)(l).textContent:"")+''+s+''};var M=i(34);function L(e,t,i){var n=new M.a(e);return t&&n.on("click tap enter",function(e){t(i||e)},{directSelect:!0}),n}var T=i(22);function D(e,t,i){this.element=e,this.item=t,this.ui=L(e,i,t),this.img=null}function U(e,t){Object(x.l)(e,"jw-related-loading"),Object(T.d)(e.querySelector(".jw-related-shelf-item-image"),{backgroundImage:t.image}),e.clientWidth,e.addEventListener("animationend",R),Object(x.a)(e,"jw-related-loaded");var i=e.querySelector(".jw-related-shelf-item-title");i&&(i.innerHTML=t.title?t.title:"")}function R(e){var t=e.currentTarget;t.removeEventListener("animationend",R),Object(x.m)(t,/jw-related-(loaded|displayed)/,"jw-related-displayed")}D.prototype.loadImage=function(){if(!this.img){var e=this.element,t=this.item,i=this.img=new Image;if(t.image){Object(x.a)(e,"jw-related-loading");var n=void 0,a=i.onload=i.onerror=function(){clearTimeout(n),U(e,t)};n=setTimeout(a,4500),i.src=t.image}else U(e,t)}};var A=void 0,q=!0;function B(){q&&(q=!1,i(134))}function V(e,t,i){var n=_("jw-related-page jw-related-page-"+e,"left"===e?f.a:j.a);return n.setAttribute("aria-label",i),L(n,t,e),n}function N(e,t,i){var n=_("jw-related-close",i?b.a:v.a,t,i);return n.setAttribute("aria-label",e),n}function _(e,t,i,n){var a=document.createElement("div");return a.className="jw-reset jw-icon jw-icon-inline "+e+(n?"":" jw-button-color"),a.appendChild(function(e){A||(A=new DOMParser);return A.parseFromString(e,"image/svg+xml").documentElement}(t)),a.setAttribute("role","button"),a.setAttribute("tabindex","0"),L(a,i),a}var F=function(){this.timer=null,this.interval=null};F.prototype.start=function(e,t,i,n){var a=this;this.timer=window.setTimeout(function(){a.clear(),i(e)},1e3*t);var r=t;this.interval=window.setInterval(function(){n(Math.max(0,r-=1))},1e3),n(Math.max(0,t))},F.prototype.clear=function(){window.clearTimeout(this.timer),window.clearInterval(this.interval)};var H=F,W=function(){function e(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:!this.isOpen,t=this.player.getContainer();Object(x.p)(this.parentElement,"jw-plugin-related-open",e),Object(x.p)(t,"jw-flag-overlay-open-related",e),this.isOpen=e}},{key:"visibility",value:function(e){this.container&&Object(T.d)(this.container,e?{display:""}:{display:"none"})}},{key:"attachInterface",value:function(){var e=this.container,t=this.parentElement;t&&(t.appendChild(e),Object(x.p)(this.parentElement,"jw-plugin-related",!0))}},{key:"detachInterface",value:function(){var e=this.container,t=this.parentElement;e&&e.parentNode&&e.parentNode.removeChild(e),t&&Object(x.p)(t,"jw-plugin-related",!1)}},{key:"paginate",value:function(e){this.model.trigger("overlayPaged",e)}},{key:"getButtons",value:function(){return{left:this.pageLeft,right:this.pageRight}}}]),e}();function Y(e,t,i){var n=e.onItemSelect;return i&&(t.relatedFile=i),t.onclick="play"===n?"play":"link",t}function J(e,t,i,n){var a=i.feedItems,r=i.feedData,l=i.feedUri,o=Y(e,{visible:n,method:t},l);n&&(o.feed=l,o.items=a,o.autoplay="autoplay"===e.onComplete,o.feedData=r),e.trigger("analytics",n?"open":"close",o)}function G(e,t,i,n,a,r,l,o,s){var d=l.feedData,c=l.feedUri,h=l.feedShownId;o.off("change:viewable",null,s),o.change("viewable",function(l,w){K(e,t,i,n,a,r,w,{feedData:d,feedUri:c,feedShownId:h}),w?o.off("change:viewable",null,s):t="inView"},s)}function K(e,t,i,n,a,r,l,o){var s=o.feedData,d=o.feedUri,c=o.feedShownId,h=e.nextUp,w=e.onComplete,p=e.autoplayTimer,u=h&&"autoplay"===w&&"complete"===t,f="recs"===i?"discovery":"playlist";e.trigger("analytics","feedShown",Y(e,{mode:f,feedData:s,feedShownId:c,itemsShown:r,page:a,reason:t,autoTimer:u&&p>=0?p:-1,ui:n,viewable:l},d))}function Q(e,t,i,n,a,r,l,o,s){var d=s.feedData,c=s.feedUri,h=s.feedShownId,w="recs"===i?"discovery":"playlist";e.trigger("analytics","feedClick",Y(e,{mode:w,feedData:d,feedShownId:h,itemsShown:r,reason:t,target:l,index:r.indexOf(l)+1,page:a,ui:n,viewable:o},c))}var Z=i(60),$=function(){function e(e,t){for(var i=0;i0&&(i.push(a),a=[]),a.push({source:s,element:function(e,t,i){if(e){var n=Object(x.e)(P(e,t));return L(n,i,e),n}}(s,t,function(){return e.itemSelected(s)})}),e.nextUpPage=i.length,r=!0;else{var d=e.numItemsPerPage;r&&(d-=e.nextUpDisplacement),a.length>=d&&(i.push(a),a=[],r=!1),a.push({source:s,element:function(e,t,i){var n=Object(x.e)(S(e,i));return L(n,t,e),n}(s,function(){return e.itemSelected(s)},e.feedType)})}}),a.length>0&&i.push(a),this.pages=i,this.currentPageNumber=this.nextUpPage}},{key:"itemSelected",value:function(e,t){var i=this.lastShownReason,n=this.feedData,a=this.feedUri,r=this.feedType,l=this.visibleItems,o=this.nextUpPage,s=this.currentPageNumber,d=this.model;t?function(e,t,i,n,a,r){var l=r.feedData,o=r.feedUri,s=r.feedShownId,d="recs"===t?"discovery":"playlist";e.trigger("analytics","feedAutoAdvance",Y(e,{mode:d,feedData:l,feedShownId:s,itemsShown:n,target:a,ui:i},o))}(d,r,"overlay",l,e,this):Q(d,i,r,"overlay",s-o,l,e,this.playerModel.get("viewable"),this);var c="playlist"===r?"playlistItemSelected":"recsItemSelected";d.trigger(c,{item:e,feedData:n,feedUri:a},t?"related-auto":"related-interaction")}},{key:"paginate",value:function(e,t){switch(this.autoplay&&(this.autoplay.clear(),this.resetAutoplay()),e){case"left":return void this.goToPage(this.currentPageNumber-1,t);case"right":return void this.goToPage(this.currentPageNumber+1,t);default:return}}},{key:"autoAdvance",value:function(){var e=this,t=this.model,i=this.autoplay,n=this.container,a=this.nextItem,r=t.autoplayTimer,l=t.autoplayMessage.replace(/__title__/i,a.title),o=n.querySelector(".jw-related-next-up-text");i.start(a,r,function(){return e.itemSelected(a,!0)},function(e){o&&(o.innerHTML=l.replace(/xx/i,e))}),setTimeout(function(){e.renderAutoplayAnimation(Math.max(0,r-.25))},250)}},{key:"refreshButtons",value:function(){var e=this.view.getButtons();Object(x.p)(e.left,"jw-hidden",0===this.currentPageNumber),Object(x.p)(e.right,"jw-hidden",this.currentPageNumber===this.pages.length-1)}},{key:"keyDownHandler",value:function(e){if(e){var t=this.pages[this.currentPageNumber+1],i=this.pages[this.currentPageNumber-1];switch(e.keyCode){case 39:t&&this.paginate("right","paged"),e.stopPropagation();break;case 37:i&&this.paginate("left","paged"),e.stopPropagation()}}}},{key:"renderAutoplayAnimation",value:function(e){var t=this.container.querySelector(".jw-related-item-content");if(t){var i=Object(x.e)(''),n=i.querySelector(".jw-related-autoplay-frame-progress");t.appendChild(i),this.resizeAutoplay(n),n.style.animation=e+"s linear forwards jw-dash"}}},{key:"resetAutoplay",value:function(){var e=this.container.querySelector(".jw-related-next-up-text");e&&(e.innerHTML=this.model.localization.nextUp);var t=this.container.querySelector(".jw-related-autoplay-frame-progress");t&&t.parentElement.removeChild(t)}},{key:"resizeAutoplay",value:function(e){if(e){var t=e.getBoundingClientRect(),i=2*t.height+2*t.width;e.style.strokeDasharray=i,e.style.strokeDashoffset=i}}},{key:"resize",value:function(){this.view.container||this.view.setupInterface(),this.generatePages(),this.isOpen&&this.goToPage(this.nextUpPage,"resized")}},{key:"destroy",value:function(){this.container.removeEventListener("keydown",this.keyEventHandler),this.model.off(null,null,this),this.playerModel.off(null,null,this),Object(x.g)(this.container)}},{key:"isOpen",get:function(){return this.view.isOpen}},{key:"smallPlayer",get:function(){return this.model.breakpoint<2}},{key:"numItemsPerPage",get:function(){switch(this.model.breakpoint){case 7:case 6:case 5:case 4:return 9;case 3:return 6;case 2:return 4;case 1:case 0:default:return 1}}},{key:"nextUpDisplacement",get:function(){switch(this.numItemsPerPage){case 9:return 2;case 6:case 4:return 1;default:return 0}}}]),e}(),te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"jw-reset ";return''+f.a+''+j.a+""},ie=function(){function e(e,t){for(var i=0;i');this.container=Object(x.e)(''),this.container.appendChild(i);var n=N(t.close,function(t){return e.model.trigger("close","interaction",t)},!0);Object(x.a)(n,"jw-related-more"),n.insertBefore(window.document.createTextNode(t.close),n.firstChild),this.shelfElement=Object(x.e)(te(t.prev,t.next)),this.shelfList=this.shelfElement.querySelector(".jw-related-shelf-items"),i.appendChild(this.shelfElement),i.appendChild(n)}},{key:"destroy",value:function(){var e=this.container;e&&(Object(x.g)(e),e&&e.parentNode&&e.parentNode.removeChild(e),this.container=null)}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.isOpen,t=arguments[1];this.isOpen=e,this.shelfElement.removeEventListener("transitionend",this.toggleEnded),!t||"enter"!==t.type&&"escape"!==t.type||this.shelfElement.addEventListener("transitionend",this.toggleEnded),Object(x.p)(this.player.getContainer(),"jw-flag-overlay-open-related-shelf",e)}},{key:"onToggleAnimationEnd",value:function(e){if(e.stopImmediatePropagation(),this.shelfElement.removeEventListener("transitionend",this.toggleEnded),this.isOpen){var t=this.shelfList.querySelector(".jw-related-item-visible");t&&t.focus()}}},{key:"attachInterface",value:function(){this.player.getContainer().querySelector(".jw-button-container").appendChild(this.container)}}]),e}();function ae(e,t){this.container=e,this.displayMode=t,this.items=null}ae.prototype.setItems=function(e,t){var i=this.displayMode,a=this.items;this.items=e.map(function(e,r){var l=a?a[r]:null;return function(e,t,i,n){var a="shelfWidget"===i,r=void 0;if(n){n.ui.destroy(),r=n.element;var l=e.title;if(r.setAttribute("aria-label","Video - "+(l||"Untitled Video")),r.setAttribute("data-jw-index",e.index),r.querySelector(".jw-related-shelf-item-title").innerHTML=l?Object(x.e)(l).textContent:"",a)Object(x.m)(r,/jw-related-(load(ed|ing)|displayed)/,"jw-related-loading"),r.querySelector(".jw-related-shelf-item-image").removeAttribute("style");else{var o=e.duration;r.querySelector(".jw-related-shelf-item-duration").innerHTML=o?""+Object(k.timeFormat)(Object(O.f)(o)):"",r.setAttribute("style","background-image: url("+e.image+")")}}else r=Object(x.e)(a?z(e):E(e));return new D(r,e,t)}(Object(n.j)({},e,{index:r}),t,i,l)})},ae.prototype.load=function(e,t){var i=this;this.items.forEach(function(n,a){var r=a>=e*t&&a<(e+1)*t;"shelfWidget"===i.displayMode&&r&&n.loadImage()})},ae.prototype.update=function(e,t){var i=this,n=this.container,a=this.items,r=Math.max(0,(e-1)*t),l=Math.min(a.length,(e+2)*t);if(function(e,t,i){for(var n=Array.prototype.slice.call(e.childNodes),a=0;a=i||void 0===t)&&e.removeChild(n[a])}}(n,r,l),n.childNodes.length)!function(e,t,i){var n=e.firstChild;if(!n)return;for(var a=parseInt(n.getAttribute("data-jw-index")),r=t;r=e*t&&r<(e+1)*t;return l&&n.push(a.item),Object(x.p)(a.element,"jw-related-item-visible",l),"shelfWidget"===i.displayMode&&l&&a.loadImage(),a.element.setAttribute("tabindex",l?"0":"-1"),n},[])};var re=i(6);function le(e,t){var i=this;Object(n.j)(this,re.a);var a=e.querySelector(".jw-related-control-left"),r=e.querySelector(".jw-related-control-right"),l=e.querySelector(".jw-related-shelf-items"),o=new ae(l,t),s=!1,c=void 0,h=void 0,w=[],u="",f=void 0,m=void 0,j=!1,g=!1,v=void 0,y=[],b=void 0;function k(e){if(e)switch(e.keyCode){case 39:O("paged",e),e.stopPropagation();break;case 37:C("paged",e),e.stopPropagation()}}function O(e,t){!s&&j&&(0===h?Object(x.l)(l,"jw-related-shelf-start"):Object(x.a)(l,"jw-related-shelf-slide-next"),h++,I(t,e))}function C(e,t){!s&&g&&(1===h?Object(x.a)(l,"jw-related-shelf-start"):Object(x.a)(l,"jw-related-shelf-slide-prev"),h--,I(t,e))}function I(e,t){o.load(h,c),v=function(e,t,i){if(i.target!==l)return;if(i.stopImmediatePropagation(),l.removeEventListener("transitionend",v),s){S(t),Object(x.l)(l,["jw-related-shelf-animating","jw-related-shelf-slide-next","jw-related-shelf-slide-prev"]),s=!1;var n=l.querySelector(".jw-related-item-visible");e&&("enter"===e.type||"keydown"===e.type)&&n&&n.focus()}E()}.bind(this,e,t),l.addEventListener("transitionend",v),Object(x.a)(l,"jw-related-shelf-animating"),s=!0}function S(e){y=o.update(h,c),z(e)}function E(){g=0!==h,Object(x.p)(a,"jw-off",!g),a.setAttribute("tabindex",g?"0":"-1"),j=h!==m-1,Object(x.p)(r,"jw-off",!j),r.setAttribute("tabindex",j?"0":"-1")}this.items=o,this.load=function(e,n){h=0,w=e,c=n,m=Math.ceil(w.length/c),i.items.setItems(w,function(e){i.trigger("feedClick",{lastShownReason:f,page:h,visibleItems:y,item:e,feedShownId:u})}),S("shelfWidget"===t?"feed_loaded":null),Object(x.a)(l,"jw-related-shelf-start"),E()},this.resize=function(e){if(e!==c&&w&&!(w.length<1)){var t=m>1&&h===m-1;c=e,m=Math.ceil(w.length/c),h=t?m-1:Math.min(h,m),S("resized"),E(),0===h&&Object(x.a)(l,"jw-related-shelf-start")}},this.onShelfToggled=function(t,i){e.removeEventListener("keydown",k),t?(e.addEventListener("keydown",k),z(i)):u=""},this.destroy=function(){b&&(b.destroy(),b=null),this.off()};var z=function(e){e&&(f=e,u=Object(Z.b)(Z.a),i.trigger("feedShown",{reason:e,page:h,visibleItems:y,feedShownId:u}))};L(a,C.bind(this,"paged")),L(r,O.bind(this,"paged")),d.OS.mobile&&(b=new p(l,{swipe:function(e){"Left"===e.direction?O("paged_swipe"):C("paged_swipe")}}))}var oe=function(){function e(e,t){for(var i=0;i=2&&t.isOpen&&i!==t&&(t.close(),e.open("resized"))))}},{key:"showButton",value:function(){var e=this.controlbarButton,t=this.moreButton,i=this.player;t?(Object(x.p)(t,"jw-hidden",this.smallPlayer),Object(x.p)(e,"jw-hidden",!this.smallPlayer)):e&&Object(x.p)(e,"jw-hidden",!1);var n=i.getContainer().querySelector(".jw-logo");n&&Object(x.p)(n,"jw-logo-bump",this.currentButton===t&&this.model.bumpLogo)}},{key:"createButtons",value:function(){var e=this,t=this.player,i=this.model,n=this.shelf,a=t.getContainer(),r=i.localization.related;if(this.controlbarButton||"shelfWidget"===i.displayMode||(t.addButton(ce.a,r,function(t){return e.open("interaction",t)},"related","jw-related-btn"),this.controlbarButton=a.querySelector(".jw-related-btn"),Object(x.p)(this.controlbarButton,"jw-hidden",!0)),n&&!this.moreButton){this.moreButton=_("jw-related-more",ce.a,function(t){return e.toggleShelf("interaction_more",t)},!0),this.moreButton.appendChild(document.createTextNode(r));var l=n.view.container;l.insertBefore(this.moreButton,l.firstChild)}i.change("breakpoint",this.showButton,this)}},{key:"destroy",value:function(){this.player.off(null,null,this),this.playerModel.off(null,null,this),this.model.off(null,null,this),this.shelf&&this.shelf.destroy(),this.overlay.destroy(),this.player.removeButton("related");var e=this.moreButton;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"smallPlayer",get:function(){return this.model.breakpoint<2}},{key:"currentView",get:function(){return this.model.breakpoint<2||"overlay"===this.model.displayMode||"complete"===this.player.getState()?this.overlay:this.shelf}},{key:"currentButton",get:function(){var e=this.model;return e.breakpoint>=2&&"shelf"===e.displayMode?this.moreButton:this.controlbarButton}},{key:"items",get:function(){return this.feedItems},set:function(e){this.feedItems=e}}]),e}(),pe=i(131),ue=i.n(pe),fe=function(){function e(e,t){for(var i=0;i=0?o:10,y=!(!r||"bottom-left"!==r.position),b=p;!1===b||l?b="hide":b||(b="show");var x="autoplay"===p?"play":t.onclick,k=t.selector||"#"+n+"-shelf-widget",O=this.attributes=Object.create(null);!function(e,t,i){Object.keys(i).forEach(function(n){var a=i[n];Object.defineProperty(t,n,ke(a,!1)),Object.defineProperty(e,n,{get:function(){return t[n]},enumerable:!1})})}(this,O,{autoplayMessage:g,autoplayTimer:v,bumpLogo:y,disableRelated:!!d,displayMode:/shelf(?:Widget)?|overlay/.test(h)?h:be,file:w,onComplete:b,onItemSelect:x,pluginContainer:i,recommendations:u,requestOptions:f,selector:k,showButton:!!j,localization:a}),function(e,t,i){Object.keys(i).forEach(function(n){var a=i[n];Object.defineProperty(t,n,ke(a,!0)),Object.defineProperty(e,n,{get:function(){return t[n]},set:function(t){return e.set(n,t)},enumerable:!1})})}(this,O,{nextUp:null,breakpoint:0})}function ke(e,t){return{enumerable:!0,configurable:!1,writable:t,value:e}}Object(n.j)(xe.prototype,ye.a);var Oe=function(e){var t=void 0,i="jwplayer.mediaIds",n=1e3,a=void 0,r={};function l(){try{r=e.localStorage}catch(e){}this.addItem=function(e,t){var l="auto"===t?36e5:6e5;!function(e,t){(r[i]||"").length>=n&&function(e){var t=Object.keys(a).filter(function(e){return!(Date.now()>=a[e]&&(s(e),1))}).sort(function(e,t){return a[e]-a[t]});for(;e-- >0;)delete a[t.shift()];o()}(1);a[e]=t,o()}(e,Date.now()+l)},this.removeItem=function(e){a[e]&&s(e)},this.containsItem=function(e){var t=a[e];return!!t&&(!(Date.now()>=t)||(s(e),!1))}}function o(){try{Object.keys(a).length?r[i]=JSON.stringify(a):delete r[i]}catch(e){}}function s(e){delete a[e],o()}return function(){if(!t){t=new l;var e=r[i];if(e)try{a=JSON.parse(e)}catch(e){}a=a||{}}return t}}(window),Ce=i(49),Ie=i(66),Se=function(){function e(e,t){for(var i=0;i'),h=Object(x.e)(''+a.related+""),w=Object(x.e)(te(a.prev,a.next,""));c.appendChild(h),c.appendChild(w),o.appendChild(c);var p=new le(o,"shelfWidget"),u=Array.apply(null,{length:s}).map(function(){return{}});this.scroller=p,p.onShelfToggled(!0),p.items.setItems(u),p.items.update(0,u.length)}},{key:"toggle",value:function(e){this.visible=e,this.container&&Object(T.d)(this.container,{display:e?"":"none"})}},{key:"getContainer",value:function(){return this.container}},{key:"setIntersection",value:function(e){var t=this.playerModel;!t.get("fullscreen")&&t.get("activeTab")?(this.intersectionEntry=e,this.updateViewable(Math.round(e.intersectionRatio))):this.updateViewable(0)}},{key:"updateViewable",value:function(e){this.viewable!==e&&(this.viewable=e,this.trigger("viewable",e))}},{key:"destroy",value:function(){var e=this.container,t=this.scroller;this.player.off(null,null,this),this.playerModel.off(null,null,this),this.model.off(null,null,this),this.off(),t&&t.destroy(),e&&(Object(x.g)(e),e&&e.parentNode&&e.parentNode.removeChild(e),this.container=null)}},{key:"itemsPerPage",get:function(){var e=Math.max(0,this.width-60);return Math.ceil(Math.min(Math.max(2,e/200),5))}}]),e}(),ze=i(77),Pe=function(){function e(e,t){for(var i=0;i=0?t&&(i=e.replace("MEDIAID",t)):i=e),i}var Re=function(e){function t(e,i,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.player=e,a.playerModel=null,a.relatedFilter=new ve(Oe()),a.model=new xe(e.getConfig(),i,n),a.loader=null,a.playlistController=null,a.recsController=null,a.widgetController=null,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Ce["a"]),Te(t,[{key:"setup",value:function(e){var t=this.player,i=this.model;this.playerModel||(this.playerModel=e,i.on("playlistItemSelected",this.playlistItemSelected,this),i.on("recsItemSelected",this.recsItemSelected,this),i.on("error",this.onError,this),i.on("analytics",this.onAnalytics,this),t.on("breakpoint",function(e){var t=e.breakpoint;i.breakpoint=t},this),t.once("playlistItem",function(){!function(e){e.trigger("analytics","setup",Y(e,{}))}(i)},this),t.on("playlistItem",this.onPlaylistItem,this),t.on("remove",this.destroy,this),"shelfWidget"===i.displayMode&&(this.widgetController=new Me(t,e,i)))}},{key:"playlistItemSelected",value:function(e,t){var i=e.item,n=this.player;this.close(null,"play");var a=t||"related-interaction";n.playlistItem(i.index,{reason:a})}},{key:"recsItemSelected",value:function(e,t){var i=e.item,n=e.feedData,a=e.feedUri,r=this.model,l=this.playerModel,o=this.player,s=this.relatedFilter,d=this.widgetController,c=this.recsController;this.close(null,"play");var h=t&&t.indexOf("auto")>=0?"auto":"";if(function(e,t,i,n,a){var r=a.feedData,l=a.feedUri,o=e.autoplayTimer,s=t&&t.indexOf("auto")>-1,d=t;s||(d="play"===e.onItemSelect?"manual":"link");var c={item:n,feedData:r,auto:s,autoplaytimer:o>=0?o:-1,position:n.index,method:d};n.pin_set_id&&(c.pin_set_id=n.pin_set_id),e.trigger("analytics","play",Y(e,c,l))}(r,h||t,0,i,{feedData:n,feedUri:a}),"link"===r.onItemSelect)window.top.location=i.link;else{var w=function(){o.play({reason:t})};l.once("change:playlistItem",w,this),o.load(i,n),l.off("change:playlistItem",w,this)}var p=d||c,u=s.itemSelected(i,p.items,h);d&&(d.items=u),c&&(c.items=u);var f=De(i,r);this.loadRecs(f)}},{key:"open",value:function(e){var t=this.playlistController,i=this.recsController;t?t.open("api",e):i&&i.open("api",e)}},{key:"close",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api",i=this.playlistController,n=this.recsController;i?i.close(t,e):n&&n.close(t,e)}},{key:"next",value:function(e){var t=this.player;if(this.playlistController)return this.close(null,"play"),void t.playlistNext({reason:"interaction"});var i=this.widgetController||this.recsController;if(i){var n=i.items,a=n[0],r=i.feedData,l=i.feedUri;e=e||{},a&&this.recsItemSelected({item:a,items:n,feedData:r,feedUri:l},e.reason||"external")}}},{key:"onAnalytics",value:function(e,t){this.trigger(e,t)}},{key:"onPlaylistItem",value:function(e){var t=e.index,i=e.item,a=this.player,r=this.playerModel,l=this.model,o=r.attributes,s=o.playlist,d=o.feedData,c=t===s.length-1,h=s[t+1]||s[0];if("shelfWidget"===l.displayMode){var w=De(i,l),p=!l.disableRelated&&w.isValid;if(this.widgetController.toggle(p),!p)return;this.loadRecs(w)}if(c){var u=De(i,l);if(!(!l.disableRelated&&u.isValid))return;this.removePlaylist(),this.recsController||(this.recsController=new we(l,a,r)),this.loadRecs(u)}else this.removeRecs(),this.playlistController||(this.playlistController=new me(l,a,r)),this.playlistController.updateFeed(s,d),this.trigger("nextUp",Object(n.j)({},h,{mode:"playlist",feedData:h.feedData||{},showNextUp:!0}));l.nextUp=h}},{key:"loadRecs",value:function(e){var t=this;this.loader||(this.loader=new s(this.model.requestOptions));var i=e.feed,n=e.recommendation,a=e.file,r=function(e,i,n){return t.updateFeed(e,i,n)},l=function(e){return t.onError(e)};i?this.loader.load(i,r,l,r):n?this.loader.loadRecommendation(n,a,r,l,r):a?this.loader.load(a,r,l,r):this.onError("No Valid Feeds")}},{key:"updateFeed",value:function(e,t,i){var a=this.model,r=this.player,l=this.relatedFilter,o=this.widgetController,s=this.recsController,d=this.playlistController?this.playlistController.items:r.getPlaylist(),c=l.filterAvailableItems(e,d,a.onItemSelect);if(c.length){if(Object(Le.a)(c,"images","image"),o&&o.updateFeed(c,t,i),s&&s.updateFeed(c,t,i),!this.playlistController){var h=c?c[0]:null;a.nextUp=h,h&&this.trigger("nextUp",Object(n.j)({},h,{mode:"discovery",feedData:t,showNextUp:"hide"===a.onComplete||0===a.autoplayTimer}))}!function(e,t,i){e.trigger("analytics","playlist",Y(e,{playlist:t,feedData:i}))}(a,c,t)}else this.onError("Empty Feed")}},{key:"onError",value:function(){this.playlistController||this.playerModel.set("nextUp",null),this.removeRecs(),this.widgetController&&this.widgetController.toggle(!1)}},{key:"removeRecs",value:function(){this.recsController&&(this.recsController.destroy(),this.recsController=null)}},{key:"removePlaylist",value:function(){this.playlistController&&(this.playlistController.destroy(),this.playlistController=null)}},{key:"destroy",value:function(){this.removeRecs(),this.removePlaylist(),this.widgetController&&(this.widgetController.destroy(),this.widgetController=null)}}]),t}(),Ae=function(e,t,i){var n=new Re(e,t,i);this.setup=function(e){return n.setup(e)},this.destroy=function(){return n.destroy()},this.open=function(e){return n.open(e)},this.close=function(e){return n.close(e)},this.next=function(e){return n.next(e)},this.on=function(e,t,i){return n.on(e,t,i)},this.once=function(e,t,i){return n.once(e,t,i)},this.off=function(e,t,i){return n.off(e,t,i)},this.trigger=function(e,t){return n.trigger(e,t)}};Ae.version="7.0.0";t.default=Ae},60:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r});var n=12;function a(){try{var e=window.crypto||window.msCrypto;if(e&&e.getRandomValues)return e.getRandomValues(new Uint32Array(1))[0].toString(36)}catch(e){}return Math.random().toString(36).slice(2,9)}function r(e){for(var t="";t.length=1280?t=7:e>=960?t=6:e>=800?t=5:e>=640?t=4:e>=540?t=3:e>=420?t=2:e>=320&&(t=1),t}function r(e,t){var i="jw-breakpoint-"+t;Object(n.m)(e,/jw-breakpoint-\d+/,i)}},68:function(e,t,i){"use strict";t.a="hidden"in document?function(){return!document.hidden}:"webkitHidden"in document?function(){return!document.webkitHidden}:function(){return!0}},76:function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(60),a=void 0;function r(e,t,i){var r=function(){try{a=window.localStorage.jwplayerLocalId}catch(e){}return a=a||Object(n.b)(12)}();e.forEach(function(e){var n=e.variations;if(n&&n[t]){n.selected=n.selected||{};var a=function(e,t){for(var i=function(e){for(var t=1794770992,i=0,n=e.length;i>>0}(e)%2520,n=t.reduce(function(e,t){return e+t.weight},0),a=0,r=0;ri)return l}}(r,n[t]),l=a[i];l&&(e[i]=l,n.selected[t]=a)}})}},77:function(e,t,i){"use strict";var n=i(68),a=i(65),r=i(7),l=[],o=[],s={},d="screen"in window&&"orientation"in window.screen,c=r.OS.android&&r.Browser.chrome,h=void 0,w=-1;function p(e,t){for(var i=t.length;i--;){var n=t[i];if(e.target===n.getContainer()){n.setIntersection(e);break}}}function u(){Object(a.a)(w),w=Object(a.b)(function(){l.forEach(function(e){e.updateBounds()}),l.forEach(function(e){e.model.get("visibility")&&e.updateStyles()}),l.forEach(function(e){e.checkResized()})})}function f(){l.forEach(function(e){if(e.model.get("visibility")>=.75){var t=e.model.get("state"),i=window.screen.orientation.type,n="landscape-primary"===i||"landscape-secondary"===i;if(!n&&"paused"===t&&e.api.getFullscreen())return void e.api.setFullscreen(!1);if("playing"===t)return void e.api.setFullscreen(n)}})}function m(){l.forEach(function(e){e.model.set("activeTab",Object(n.a)())})}function j(e,t){var i=t.indexOf(e);-1!==i&&t.splice(i,1)}document.addEventListener("visibilitychange",m),document.addEventListener("webkitvisibilitychange",m),window.addEventListener("resize",u),window.addEventListener("orientationchange",u),c&&d&&window.screen.orientation.addEventListener("change",f),window.addEventListener("beforeunload",function(){document.removeEventListener("visibilitychange",m),document.removeEventListener("webkitvisibilitychange",m),window.removeEventListener("resize",u),window.removeEventListener("orientationchange",u),c&&d&&window.screen.orientation.removeEventListener("change",f)}),t.a={add:function(e){l.push(e)},remove:function(e){j(e,l)},addWidget:function(e){o.push(e)},removeWidget:function(e){j(e,o)},size:function(){return l.length},observe:function(e){var t;t=window.IntersectionObserver,h||(h=new t(function(e){if(e&&e.length)for(var t=e.length;t--;){var i=e[t];p(i,l),p(i,o)}},{threshold:[0,.25,.5,.75,1]})),s[e.id]||(s[e.id]=!0,h.observe(e))},unobserve:function(e){h&&s[e.id]&&(delete s[e.id],h.unobserve(e))}}}}]);