var sSiteChannel='';/** * @license Copyright (c) 2015-2022 Radiant Media Player * Radiant Media Player 9.6.6 | https://www.radiantmediaplayer.com * Terms of service: https://www.radiantmediaplayer.com/terms-of-service.html * Contact information: https://www.radiantmediaplayer.com/contact.html */ /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ "document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||!function(t){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n],s=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[n].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},c=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},a=function(t,e){if(""===e)throw new c("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(e))throw new c("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(t,e)},l=function(t){for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,s=n.length;s>i;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},u=l[n]=[],h=function(){return new l(this)};if(c[n]=Error[n],u.item=function(t){return this[t]||null},u.contains=function(t){return~a(this,t+"")},u.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do t=e[n]+"",~a(this,t)||(this.push(t),s=!0);while(++nn;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(t,e){var n=this.toString().split(" "),i=n.indexOf(t+"");~i&&(n=n.slice(i),this.remove.apply(this,n),this.add(e),this.add.apply(this,n.slice(1)))}),t=null}());!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){function o(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var f=n.then;if("function"==typeof f)return void f.call(n,function(t){o(e,t)},function(n){r[e]={status:"rejected",reason:n},0==--i&&t(r)})}r[e]={status:"fulfilled",value:n},0==--i&&t(r)}if(!e||"undefined"==typeof e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})}function n(e){return!(!e||"undefined"==typeof e.length)}function o(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],l(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(r){return void u(t.promise,r)}f(t.promise,o)}else(1===e._state?f:u)(t.promise,e._value)})):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,c(e)}catch(o){u(e,o)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;n>t;t++)i(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,u(t,e))})}catch(o){if(n)return;n=!0,u(t,o)}}var a=setTimeout;r.prototype["catch"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype["finally"]=e,r.all=function(e){return new r(function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,function(t){r(e,t)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},r.allSettled=t,r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,o){if(!n(e))return o(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)r.resolve(e[i]).then(t,o)})},r._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var s=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"function"!=typeof s.Promise?s.Promise=r:(s.Promise.prototype["finally"]||(s.Promise.prototype["finally"]=e),s.Promise.allSettled||(s.Promise.allSettled=t))}); !function(){var t={3467:function(t){t.exports="data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABkMAAsAAAAAOwwAABi8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAg0wRCAroBNBkATYCJAOCRAuBJAAEIAWDEgcgGwcuUZSyWkWyLw5scJ5ah+dyLWVejD5YmGAxPsV9C43wECMkmT2iOZvLXi5C7iKQoPGG4FKJIk2QhASzIl6hfWjfoNQFaKnCl6RKS834d9p+X6jzT8Vf8qbcp/s2s5scMJMEvKJzKUrRLvL/P5OgvsgM+G575zWmHUXFoz/vmm/KXK3tZXIOFBApflAUv/nX+zcpuAq7hJtkLKhk+pp6zkXwoT6JwbbVikt39U7bF01rZj+hXkGCEORcmart70PwgMqQHGBnUrmzc8tcOnWuuvv7f/D2CTzvHySiAkOC4uNJBdAhgQoxdA6pyg9lKITUyZXbnKrcqnfTuFZbely0jbc1yyRgOe1hDXYQ0Ll/+9lv1T7Q6bbBIbQR+2/z/u4IACEntgHoALQe2jUAWL95LdhriMZYsHk0jAeTagB+7kRXJjMtIqLBhcAlCyIY5gfYtS8CzItjx7DuTYwOAcWnRzYRMxE/oZswTKRNZE5kT9gniiZKHhofFj1mPuY9Fj6+8PjKE9XT959ef/rFC/LF+hdnXtJf+r70dyEX20W63F2ergBXmMvssrhyXXWuXtdV14euRz/Jf0r6adNPEz9H/dw5+V+7DQAgxaV1ZbjzgFHYw32zOAAVmPrluKpdPfCwaPz/RuDkY+lN6Q3ph9IPpFelF6UXpGekp6WnJJ9Lzom5YqaY7lfmV+z7p0+Rj9Un20voucWzyVPlyfMkeEG8KTwFT8zz4ZE8Jvc77gvuc+5droPbxe3gVnPVXAF1nmqhxOTngACDHYF+2OQkrHZZYJ9w3sMv7CEUuudXYnukFZXoGqQ/4zTAkTr1YoDpdErZ6WIBToP9e8BEJAchTUSsB+BurIJSpQY6RaqnasmBI4ToOM5gsSLoCB88PAaTFqneKNwvuERfGIwIa0SklE6McA7O59Pd3flu2VZCCALn4zw/Gb7jdHpRw2HAA2LpfmI6J9PPIdBDhPPoYl8+TyuodipnuchXW+Lt5Q21qugpJJyxTCRS+fH8lEqFUsVP8VSpEhUIcdl0rnSmkC8S+e23yxGLYxMkEg3Ha78kaPy3OI4ovhBz5G7eWHGbkLDiJrLJoKzAAtnVWOR4OVz8dC7SS0mERz0+IX/ps/koH82y1dntokvD4Xg/cdO6zdXrY0ugrMBxB624s+KmwwT6kYAwAQuMdehSJB3JfI9j7aOXq46S7FVRD/Rfa7ScsZs7f33OPgZi+3rWfC3H/h2OG4Wf1l0+vY+dw5qEQosYnVjokpGGELLNDAP5FlvtY/WdqujUJ/XGY5RjvzV/IKKGDkpCnVpswZiW0xK914GcJ0lyZSchKqaaxENb1gkBurXpEG1VJ7yQqs4UGE9SRFLJtZ0kneB1yFEjKJjfTWAh6lEAUjuF8C8qARwmZB4wWiYW4aTwdeGkTAb1JrYq867gFcd6NGQOUsVAm5VQR6gJqmxdYjT17OyZKeKbNhWLUQZypDzeuHCpxt+2nPAoVtypRH7hCrj159xcbXB5TNb0dLr8OjmfnVbiP2g5G/sU6MB+cAzZBFPLJnVr6LWdI8zY3DQYkLK35ocRQkrIqWDDeK8OSYGEC82mQnr1luIMCLUN+3QbjL4x1w39OTUyn3njDNbgqVC3NaIKWW5WnK/PyF/4ZDbCQwGb1aqzVe72wrRrZxupi6GqHqmGh5zNzO3GRm2+wM5wtUvDYLg82l49m+mbk0ivdn5aX9QKTM3HnEGbbiOrP6QZOoHwumCLYYSqCfXCBE0yJqTapZvdDQ3nI0Nl3Oprl5rWG7tzKemOWzYF8hTQkFi+f66GLpfAJf9QA6ltt4NG8nWC26iQ92HgfjcDIegPMFaDhsbirmaMvEfCelnyzDYTqfXmsNqGo+2lXDIBzFGTu9DB18Fg1cWrJGO3fQwZgDBYGGkJys+QbL1NsZDQhklyWK6OpBdwKiHOkHgXaZ0hW+9/UZeQIdRA7enQsdgGYQRRhZLCMSHY6wuF8W3BedsfIEKrOBIho3GMd4ZeKI4hf4WnesGvKAWd2fuySvuj1CBTKO2b9DfDus+CT6qIZitgI7BXjZrHcEizLtENOZZTUQ3xodlNdSVZY+IjBbhviNvmgBxuW6e1NcdON5cGXZxF1yUhmU8x1rSuDknkkGDq7KjFGl+bB1URld66lbnNFnMEBZEkoZz8a4OQsa45ljGggYPhtG9nHTS4ijhlHQQZFPI2otpT5meldX4YNqe3hzm7Iy7O2h8dogE42+no7FWpmjoHJjF3LDoDcSSBXgL9o+7ElzRukC09qYdJzrLPqVSVfgI4a+JkoQN52KRBXGdLDTClklTcNZZrsqNme44oKbsq9xAxNIITc0R4ptaPPPRPI48aa1JMUnQUSPKOQrgMsqB8DGVD6ReIokYHuLbPmAMFrK5D1VbZRrWfY9Aye1MQrnv7d8xwPW5vufdgW6JuovGavG6wa8b5joLLkVjyo6Ik5CTNnNXVNu9QSwhduJYLLFU0A2Y2yCUjavYF10fO4Lg54y2X2eNxhxqc0Mag01tqTFwgkudi2/V+xjxenZbsmNCtdmRFJBZ7w69OUlTUxlinJyGa3r4xatrZzf4O8fYj1qHEB5ByfcGKxBZrtuB6fOKPEPK56huMjHQ7Cu3Lw+ExXmUbjsdYyCdkxJmj8eGhFlnqAZz4aBStNqHTzd4CuFkcyjcFOzFjVZBDB5MwLI3M2NBqXaCV8Zm6RiuuOsObeU0NRabWhsCticGxoiSzs/6dlSHerqKVn0JnAQhGIQhm7rj6NKH7lOghHslz1t9b/2kwltItBUKam9MeAobvg+2YzjpRO49GtfXD442F3PIeubnuiBnTXHZ+UOQdAM7JkCXkoLj6Q6jtzORvmDVkTZ/NFlCEaDD++2baBMzFEYJpgU8I21JoWB0HHxZPD1gqX7LmszYf1T88Zoly9nrSEFWPsXox1VEIukoEiYan9lbdyZF4dmx94rRyX84jORcV5lvMpBgMP5pvObheQ5Yr6QiS77H2Ebr6uyvXXLv7RAFFGFqgVQiBZqAOKUwuJ237Qnof2zYOUIqIZ8c+U10e5KbV2F4dGST9g9QC9ZEk/6r6DYc5uLNyq4oNGzlggF+KU3PFvm047xDie7ciewQSxE2UDDYDYz643b8iZ4bdwsMd6sqO5BNF1gYJgRVvUOqy3OxxO8cPGse/TBzc0oEQimf6AVJHeTRbZ/hr1v1N84yHGQTRfMZwcSBh+anymKrHCTfVfMAnUXyt40FcRXwfqImK1mrXbul6iwaccQ/Lks4RPWFnKmJtktOt0bbGrEQejRHmmxqLAPdXQzzleu+q+rGsd+Jp9bvhiEw6TN1I3xwy5RQvGvV2glY0luRK/JAjCbkgPsUyn5vL2F61dumKJGkPaWpKfGK1XQg8bEMnydZD3pM9uP73ZYicGrvW7b/4y5PaOP2/soCyZU/RH5gUYFeQxnYihGnrDzKHQIMoDXN9f4/Nob3++JeBW9bXXzSz23LefJkx6bXtq72/2fh3toPZv60Oj7BwJTMc9GUFB34JlFJ42gbjXepYBVN+Yw9aDdoUwOWfLNwqhbsClDTlIYVACQqkhGNJl10/Yi7XZdny9Rp9TWFXob4a/JNGvv8R+941IgN/ZErlfngqv9nL4KU3mwtm2PipD6+Xq3L64SPTre60xAQkmJ5z+PD0ygW7NZqqme+ma6o7My99/8Pf339/SQxx7wfLQP5UTsr2Zu19eucpGjLymAKyO6WTPw8O4LCnHjpcXHz33oxj4Hgo5vETgyFzWmzM9Mza8+Qr2ZqcHpObciRGuBdNeXUPcx0+staTfodAcxQLIQHlcnvcG0dWRZvliHP8WTTVWfiHIL4iuDO3WEMDAsJZEpbCyU5UBTet1q3W95HLesQRc5gQg5AGiUCPEI6YIdxSCn2FyGVbWtvYFCQgZEDoDYX1I5UqgyA4CkWBQvEBX07ssa/hqrW1123K2wGR5QR9JPBLsqyfhqLAh1VSI5kZCxEIEQjpEJMYaUduVdQMUrysZntbLZe4Ugp72dbjXwC3OxyUrdgOCcgnvge6kMU7f1YCov8wIb9IPs2MlAXWLW1cydV7F+4/G/2aTtYHrNkhMXkSoeKUV3eLiw8fSpUz35TcmFTHTrMq8a2F5D+IsRplx8ODYoW/9HmFdVXI+lgi1fVpC/5RymWRcHslCZDZdo60CM8cyivrmqEloY6tcptJ/qmpo/Odzo53Og7OMJXfuPjdxaD/pyhboYz2tipLdrHF5Kf11VZWZn8LfibL/uQYldlstSZbgn79JTcrKyhrT1RKStTCqHljMq48WgYyH4tP9K2FloVyrgziTgg9FjLbi/Uv5ev2LY+CcNyep9Hs0+3zFZQCMhRs0kWTJ5I6QK1JHJmaGrnIsNealGM1mWNVycmqWLFbc5Ksew2LvHWxAOZHDhARUT5rlsPpcHysRiP8W2ZMGWVbDifEXnmy9sza066A8wFrW/3M9cAgam8w2CDHrohWgFKhtCmilKAIOk9WJODCtDStJiFRo8GoB55wFDzIVpuYoNHCzoR4yrOp6uZpaUeOlJa8fqX5q9dCiAAePRI8mbRpLUEjea+dNxrjnpufZ/ye+SITLgVeHbl6VWrEh9GSKyOoSQ18pMIjMmw+nIGSEP/zeOQwtznjLJppb7ZLHr9poL9p/6aBJj6vqX9jJ5DNaHzgkNwJuLfkOnSgsWBVnV5AFNo/vJqkH56SYVptKPv0YWGaEyJIIbfv/3c8I3S6iHCdPsLz3f/JnSI/RrheH94RkEGYs/M+kZhgiIX8Xd+3COG20prdOKsv6gcd+Xmre/X63lXicTjQcRRXwWqnQd0dW7okXdrULO1iaTabZukbdRCQVKXEC9LFNIpbbeqyX7NHK0wq47MyE4quWfEsYTt0W3n29BxJbMaSuOMVpapXiKBmET2MXkbPjNNen6MVx+NuorGSnBgLk8Zm0ZgSt4njSLtUequIbqHbVSVW9okT2w6HxXaH4I32VuYos9X+4AEmgPGlYecbyZV1HATY5APbPOY15rysgUfDvkHczkMcxx/yDUbjwY/njF3MUWaXcTz0DUa+kZ0jGQzbg4MEFFMgLgprCQC2Sn80vgB7EZiA/+n92G0CxO45H1jDHV9S7s8Dm8IH343Lmf82gdQ35UlAqvh8zsDOixGg3qLnxangEacSmJHau4c6wCFnrmvIy3MIuL6frL4AQ55eQy5bjuiNMwffXdiXC6SQonIAxGbvETqFv2PScamT892l96XO2u4nT8LGA4CEjpUr22F7fZO9+HRKmJqmrvjp4l16/XZoX0n0EC6q82azuLIzRrB6ZpC6JjtghibGh+ZDfEYA7V7dFZku0wpC5JMKl2JSHqJAuRSQ/HulcNSj32NUWOlxLetx7Sfdw2t+KXhgOOV302+b49700yPwTuHvG5wlbVZrWxrHLb/t+NBgtuXfay3W5fMltmD50NlcvgClWyzteW6cvPYhoGBJbbda2pYKLn3Bjx/HjpDkjMvIiIs3H7k5vv0YmBktrfQ3s8uo5G1FI0NfyEU4Egp2mLNIVClPiRuuP6HOzhV2M+YxBgmy9ET7QFqcoALhlQLtf3SaEOEegqvHrxY5ppaQ5YuIVmKRpYwM3t4wcvwh3x8hlWCNOZNi4h1YeLyHaPsQx+tPpsXzB7PKdf/9zvcgoW9opGgQqNzwZ9lzRjdjgLGCIWesZMw/aYh17mGMDSdZrSaTSpWUxNxs6lnSsUeOmfgcc6ytiVZJmiS1sSHVMOkdYSJkI4pcmdUHqdAIEpBA46GnQoJ2fRCV9bS7lOcwxoXyGd2EnLGCoZZ6gEQ3g68aJlW15T5Jm/sLMg+8p9O+d0Cy9W9O8imvVZHDKn6MQqqgnfHDDHGOUl73U25WUJbcOPrm15slZm7eymytd+TIgh3n5KSCZPTr33uvq8erzLrax+n7GaScgkEfLzEc7aKA6h09TFyCK2L/QO00eTaiBKS4Lyy0T0wKKJQtnxqoU8G5K6FkFEOfw7mMuvOHpJJa5nDoB5yiyfeF6iDddFk5CqZS4ovhYZfEcTtD5bJpQfrFqkz7kjSxzIKkm9TtUutA4LLCoJx7wpMULQvsn3+JTdGHEs+WpUnsXZldyQQxrXR4OFdejigF5XZ4iW7Y2m/e/r1xVVamcdUP28wD1hO6pYc4pIJC5bLck8PTSggiGfy/ktP3aX8L5rXyg37X7qVz4pePXb91vS3Vjdir/T2I38oL/k27j/gffuo9/NYpFvUnyTpp9+F+EmKiRbdJJcWklKTBbkAkmrSR/iRAk9h9kvM5OdxdUCBQCkykgJxOKsijpJyifNJ0beXDzrthgzXcIXGWlvaaggMHnBJH797SknontG94kb15TzjVhPVuSMl6lnToW6kjo8klS0xMRyktAQk8CkoC4sYolHCx9stUTuEZXMPpJV1DRvWHhc96NA+pBE5nerrBxGjgufUFqaSIk/ozcTnKrQhV8p18f7TportVQTGGY8B30CmoTLcKHAohQiL5w7yZ+q5Kyg6nVj4no0miZ28TSMUHRQJh6xIz8pc7nF/jx5gISkE9gzgxbHjHI6joaFH0KFQI/rrfluWPjXlcEBLr/Vp4nuyMr792YSUYX49BGozdKhD0CCLYf/1XhISoIdaFTTiHnivLk+a9ta44pCikfeaygC17ItymNfuPdObrfpnzE5NTue98ZqmGxlqk8Q80hXmdP/57+buFYaGhVm93dlpVdZq/1q9+bP66vrlH94nrQb65fUNu1KiydrfH3lW7Duxas29NW928puJQA74HIl0/sitrGhtq1CyOZ/voSg+PcQ+P7gvLOznsuTUNjTUiNtu/xjSzpoLd1MyuqG0gMtlqhzGXHRQa0f9R37ZrK67QFdfaFrvdbBbX6k0mQ7VEUmNoaDTYJdI227ixTSp+w9DYaMiVbG6vb7DlQo1gS4NE2kGP8x7lDBPGBp7Oku0xY3x0dPwXj5u7rP3Pfbk3uQ1btmydYQNbxeG+vptXXOtuaqAjatj4Rs2r5Qp8G/ufc3Rg71RFhQAWLFDJlRQcIsDtC6Y4eNHvhim3LQ1Qufk54FB1dR3FBcdMjKVPNua0zF4AMZEH1e8CSK0hDkeG0idwKIYTk5LCr8BRJS27KWZ6HPo1JTUrKz6OCVp/xeOii6dEhmw10QkJf7Or3i6es492dUXX6HSz1iaarVwU1T4YCzT0Og2U7e9/bJT977/tlNFp8auBtFtMTPr0jOgji5elSfQJEipSK0v/+cfANcRrRgJupChp5Br/+ZuyweRg2ePb3berr2+WMNHz8uWKdfeLVYfpFt85+Cix0ndleG5YYet29e3aNb+0hm7f7gFGZldIrPjLVw+Hrnj1ikNyxa5dfbvwQb30tuf6PTVxvK+vC6yMm/HqpV2s8z9nNDrJGZ9hHgdwcwZvTEZG18N+VU/qdxd5taeAacC099UZyssNxqNTWbkRZ+Jni23bZFuszGg49pZtt8VxFg4KTbLMIF+ecyV1JX3+gVouB/9OIi/EA8MxtiFgiUMkeM6oM1ngaY4PnekvM37IpG+ks2sTVT7pOBXGpCGs86PveXmFci3iYOw6nn7QkZfXu0qvX9UrHsegaj24aGnFnYC2t/zrinzDP7WkiI2S+nrJbFgsK0vRaNTbtkSWeR64bUi5ecG3JtYLUg4xG6ZFHpW41gQHkNN/I+ZkzxSZRLm55ws1O5ugT+cEBO/EJMHXgkUV3xhWhmTQkinR6TmXgxanesoeyOTjMlmZ9bB/7G+ZtJXBtm+yRUnR0Rq5l1SmXHZ2Hrhj59ptXFttrmDKFMbaVTq1GuZxhUIMK9aTMFm8BruT4E5gc6CjA2AtBKNWFAQSOI/GaJtAKXA/fwecQ5WwR6gbAqPgPO0FuAs/nASoQUL7GSVAMMTQpEgBsyZf0vpQE0zPYOGhTAURTtH+htDJP+xXqA4wgO1mf/33wYwy7tTfmG44oLUmDmy1IPKOpBvonf1oJtAAVvIXUeOAp6N5cWoNMLcFBxpCqvE0w5fQEbx2hVxhKA9Tow1AXxonaGGG2wBb4Df4DzTQAQPwbuFOOACN+WvRXyABJewQ9uRhVL47DlAEpWLcPZAKglALBPtOQxQ20pe2CQKeBu1+qE8gqPNo6T6AWTR9Oq2K86OQCoIxMz0ZTSsErWgxcZT8WmhwPZ4OU3EmRwxKi4cClotN8DWwZs+zG0bBkXz3YsBUngNowIB6RD53IuLgfmcAHdzACwlwW5Js8IFtL7wYzkJeq+ABNKBgDiJyaxEH97IBdBCBEglwF3RkQwwcm9c8J/Tz4XuFedAMcyAUamA2tMD8n2ilRoZFQC5U3yVaoX77RskgEsIgIlRGWP2HsI5ghWqohQXQBBVtRoSYcn3WT/zi6bNm/x+wqyElMAVkUAvVC40WVhyJYBXGKmFhE0uHWQmY0VC6jQ8DBBsAAA=="},5299:function(t,e,i){var r=i(7698);t.exports=r},3450:function(t,e,i){var r=i(3363);t.exports=r},6820:function(t,e,i){var r=i(6243);t.exports=r},3838:function(t,e,i){var r=i(6279);t.exports=r},1331:function(t,e,i){var r=i(2759);t.exports=r},2682:function(t,e,i){var r=i(8427);t.exports=r},4234:function(t,e,i){var r=i(2073);t.exports=r},2271:function(t,e,i){var r=i(4471);t.exports=r},3536:function(t,e,i){var r=i(1910);t.exports=r},9565:function(t,e,i){var r=i(6507);t.exports=r},8690:function(t,e,i){var r=i(6670);t.exports=r},5626:function(t,e,i){var r=i(7460);t.exports=r},281:function(t,e,i){var r=i(2547);i(3975),t.exports=r},31:function(t,e,i){var r=i(6509);t.exports=r},7487:function(t,e,i){var r=i(5774);t.exports=r},4493:function(t,e,i){i(7971),i(3242);var r=i(4058);t.exports=r.Array.from},4034:function(t,e,i){i(2988);var r=i(4058);t.exports=r.Array.isArray},2383:function(t,e,i){i(1501);var r=i(5703);t.exports=r("Array").filter},9:function(t,e,i){i(4929);var r=i(5703);t.exports=r("Array").findIndex},7671:function(t,e,i){i(833);var r=i(5703);t.exports=r("Array").find},9324:function(t,e,i){i(2437);var r=i(5703);t.exports=r("Array").forEach},991:function(t,e,i){i(7690);var r=i(5703);t.exports=r("Array").includes},8700:function(t,e,i){i(9076);var r=i(5703);t.exports=r("Array").indexOf},6442:function(t,e,i){i(5915);var r=i(5703);t.exports=r("Array").lastIndexOf},9896:function(t,e,i){i(8528);var r=i(5703);t.exports=r("Array").push},1876:function(t,e,i){i(1490);var r=i(5703);t.exports=r("Array").reverse},4900:function(t,e,i){i(186);var r=i(5703);t.exports=r("Array").slice},2948:function(t,e,i){i(4115);var r=i(5703);t.exports=r("Array").sort},8209:function(t,e,i){i(8611);var r=i(5703);t.exports=r("Array").splice},3830:function(t,e,i){i(6274),i(7971);var r=i(2902);t.exports=r},2480:function(t,e,i){var r=i(7046),a=i(2383),n=Array.prototype;t.exports=function(t){var e=t.filter;return t===n||r(n,t)&&e===n.filter?a:e}},6960:function(t,e,i){var r=i(7046),a=i(9),n=Array.prototype;t.exports=function(t){var e=t.findIndex;return t===n||r(n,t)&&e===n.findIndex?a:e}},2236:function(t,e,i){var r=i(7046),a=i(7671),n=Array.prototype;t.exports=function(t){var e=t.find;return t===n||r(n,t)&&e===n.find?a:e}},8557:function(t,e,i){var r=i(7046),a=i(991),n=i(1631),s=Array.prototype,o=String.prototype;t.exports=function(t){var e=t.includes;return t===s||r(s,t)&&e===s.includes?a:"string"==typeof t||t===o||r(o,t)&&e===o.includes?n:e}},4570:function(t,e,i){var r=i(7046),a=i(8700),n=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===n||r(n,t)&&e===n.indexOf?a:e}},7564:function(t,e,i){var r=i(7046),a=i(6442),n=Array.prototype;t.exports=function(t){var e=t.lastIndexOf;return t===n||r(n,t)&&e===n.lastIndexOf?a:e}},3993:function(t,e,i){var r=i(7046),a=i(9896),n=Array.prototype;t.exports=function(t){var e=t.push;return t===n||r(n,t)&&e===n.push?a:e}},1060:function(t,e,i){var r=i(7046),a=i(1876),n=Array.prototype;t.exports=function(t){var e=t.reverse;return t===n||r(n,t)&&e===n.reverse?a:e}},9601:function(t,e,i){var r=i(7046),a=i(4900),n=Array.prototype;t.exports=function(t){var e=t.slice;return t===n||r(n,t)&&e===n.slice?a:e}},9355:function(t,e,i){var r=i(7046),a=i(2948),n=Array.prototype;t.exports=function(t){var e=t.sort;return t===n||r(n,t)&&e===n.sort?a:e}},8339:function(t,e,i){var r=i(7046),a=i(8209),n=Array.prototype;t.exports=function(t){var e=t.splice;return t===n||r(n,t)&&e===n.splice?a:e}},1611:function(t,e,i){var r=i(7046),a=i(3269),n=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===n||r(n,t)&&e===n.startsWith?a:e}},2774:function(t,e,i){var r=i(7046),a=i(3348),n=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===n||r(n,t)&&e===n.trim?a:e}},4426:function(t,e,i){i(2619);var r=i(4058),a=i(9730);r.JSON||(r.JSON={stringify:JSON.stringify}),t.exports=function(t,e,i){return a(r.JSON.stringify,null,arguments)}},5999:function(t,e,i){i(9221);var r=i(4058);t.exports=r.Object.assign},5254:function(t,e,i){i(3882);var r=i(4058).Object;t.exports=function(t,e){return r.create(t,e)}},8171:function(t,e,i){i(6450);var r=i(4058).Object,a=t.exports=function(t,e,i){return r.defineProperty(t,e,i)};r.defineProperty.sham&&(a.sham=!0)},3081:function(t,e,i){i(1078);var r=i(4058);t.exports=r.Object.entries},3966:function(t,e,i){i(7405);var r=i(4058);t.exports=r.Object.getPrototypeOf},8494:function(t,e,i){i(1724);var r=i(4058);t.exports=r.Object.keys},3065:function(t,e,i){i(108);var r=i(4058);t.exports=r.Object.setPrototypeOf},7579:function(t,e,i){i(9718);var r=i(4058);t.exports=r.parseFloat},8524:function(t,e,i){i(4038);var r=i(4058);t.exports=r.parseInt},2956:function(t,e,i){i(7627),i(6274),i(5967),i(8881),i(4560),i(7206),i(4349),i(7971);var r=i(4058);t.exports=r.Promise},1631:function(t,e,i){i(1035);var r=i(5703);t.exports=r("String").includes},3269:function(t,e,i){i(4761);var r=i(5703);t.exports=r("String").startsWith},3348:function(t,e,i){i(7398);var r=i(5703);t.exports=r("String").trim},7473:function(t,e,i){i(5906),i(5967),i(5824),i(8555),i(2615),i(1732),i(5903),i(1825),i(8394),i(1381),i(1766),i(2737),i(9911),i(4315),i(3131),i(4714),i(659),i(9120),i(5327),i(1502);var r=i(4058);t.exports=r.Symbol},4227:function(t,e,i){i(6274),i(5967),i(7971),i(1825);var r=i(1477);t.exports=r.f("iterator")},2978:function(t,e,i){i(8084),i(3131);var r=i(1477);t.exports=r.f("toPrimitive")},4225:function(t,e,i){var r=i(5299);t.exports=r},382:function(t,e,i){var r=i(3450);t.exports=r},478:function(t,e,i){var r=i(6820);t.exports=r},2507:function(t,e,i){var r=i(3838);t.exports=r},4501:function(t,e,i){var r=i(1331);t.exports=r},3294:function(t,e,i){var r=i(2682);t.exports=r},7088:function(t,e,i){var r=i(4234);t.exports=r},6467:function(t,e,i){var r=i(2271);t.exports=r},621:function(t,e,i){var r=i(3536);t.exports=r},8688:function(t,e,i){var r=i(9565);t.exports=r},5383:function(t,e,i){var r=i(8690);t.exports=r},2050:function(t,e,i){var r=i(5626);i(9731),i(5708),i(14),i(8731),t.exports=r},2201:function(t,e,i){var r=i(281);i(8783),i(2731),i(5605),i(5799),i(1943),i(6774),i(5414),i(620),i(6172),t.exports=r},4193:function(t,e,i){var r=i(31);t.exports=r},6189:function(t,e,i){var r=i(7487);t.exports=r},4883:function(t,e,i){var r=i(7475),a=i(9826),n=TypeError;t.exports=function(t){if(r(t))return t;throw n(a(t)+" is not a function")}},174:function(t,e,i){var r=i(4284),a=i(9826),n=TypeError;t.exports=function(t){if(r(t))return t;throw n(a(t)+" is not a constructor")}},1851:function(t,e,i){var r=i(7475),a=String,n=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw n("Can't set "+a(t)+" as a prototype")}},8479:function(t){t.exports=function(){}},5743:function(t,e,i){var r=i(7046),a=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw a("Incorrect invocation")}},6059:function(t,e,i){var r=i(941),a=String,n=TypeError;t.exports=function(t){if(r(t))return t;throw n(a(t)+" is not an object")}},6837:function(t,e,i){"use strict";var r=i(3610).forEach,a=i(4194)("forEach");t.exports=a?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1354:function(t,e,i){"use strict";var r=i(6843),a=i(8834),n=i(9678),s=i(5196),o=i(6782),l=i(4284),d=i(623),h=i(5449),p=i(3476),c=i(2902),m=Array;t.exports=function(t){var e=n(t),i=l(this),u=arguments.length,f=u>1?arguments[1]:void 0,g=void 0!==f;g&&(f=r(f,u>2?arguments[2]:void 0));var v,y,b,k,w,_,C=c(e),S=0;if(!C||this===m&&o(C))for(v=d(e),y=i?new this(v):m(v);v>S;S++)_=g?f(e[S],S):e[S],h(y,S,_);else for(w=(k=p(e,C)).next,y=i?new this:[];!(b=a(w,k)).done;S++)_=g?s(k,f,[b.value,S],!0):b.value,h(y,S,_);return y.length=S,y}},1692:function(t,e,i){var r=i(4529),a=i(9413),n=i(623),s=function(t){return function(e,i,s){var o,l=r(e),d=n(l),h=a(s,d);if(t&&i!=i){for(;d>h;)if((o=l[h++])!=o)return!0}else for(;d>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3610:function(t,e,i){var r=i(6843),a=i(5329),n=i(7026),s=i(9678),o=i(623),l=i(4692),d=a([].push),h=function(t){var e=1==t,i=2==t,a=3==t,h=4==t,p=6==t,c=7==t,m=5==t||p;return function(u,f,g,v){for(var y,b,k=s(u),w=n(k),_=r(f,g),C=o(w),S=0,x=v||l,A=e?x(u,C):i||c?x(u,0):void 0;C>S;S++)if((m||S in w)&&(b=_(y=w[S],S,k),t))if(e)A[S]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:d(A,y)}else switch(t){case 4:return!1;case 7:d(A,y)}return p?-1:a||h?h:A}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},7145:function(t,e,i){"use strict";var r=i(9730),a=i(4529),n=i(2435),s=i(623),o=i(4194),l=Math.min,d=[].lastIndexOf,h=!!d&&1/[1].lastIndexOf(1,-0)<0,p=o("lastIndexOf"),c=h||!p;t.exports=c?function(t){if(h)return r(d,this,arguments)||0;var e=a(this),i=s(e),o=i-1;for(arguments.length>1&&(o=l(o,n(arguments[1]))),o<0&&(o=i+o);o>=0;o--)if(o in e&&e[o]===t)return o||0;return-1}:d},568:function(t,e,i){var r=i(5981),a=i(9813),n=i(3385),s=a("species");t.exports=function(t){return n>=51||!r((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4194:function(t,e,i){"use strict";var r=i(5981);t.exports=function(t,e){var i=[][t];return!!i&&r((function(){i.call(null,e||function(){return 1},1)}))}},9779:function(t,e,i){"use strict";var r=i(5746),a=i(1052),n=TypeError,s=Object.getOwnPropertyDescriptor,o=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=o?function(t,e){if(a(t)&&!s(t,"length").writable)throw n("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},5790:function(t,e,i){var r=i(9413),a=i(623),n=i(5449),s=Array,o=Math.max;t.exports=function(t,e,i){for(var l=a(t),d=r(e,l),h=r(void 0===i?l:i,l),p=s(o(h-d,0)),c=0;d0;)t[r]=t[--r];r!==n++&&(t[r]=i)}return t},o=function(t,e,i,r){for(var a=e.length,n=i.length,s=0,o=0;s9007199254740991)throw e("Maximum allowed index exceeded");return t}},3281:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4342:function(t,e,i){var r=i(2861).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},3321:function(t,e,i){var r=i(8501),a=i(6049);t.exports=!r&&!a&&"object"==typeof window&&"object"==typeof document},8501:function(t){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},1046:function(t,e,i){var r=i(2861);t.exports=/MSIE|Trident/.test(r)},4470:function(t,e,i){var r=i(2861);t.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},2749:function(t,e,i){var r=i(2861);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:function(t,e,i){var r=i(2532);t.exports="undefined"!=typeof process&&"process"==r(process)},8045:function(t,e,i){var r=i(2861);t.exports=/web0s(?!.*chrome)/i.test(r)},2861:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3385:function(t,e,i){var r,a,n=i(1899),s=i(2861),o=n.process,l=n.Deno,d=o&&o.versions||l&&l.version,h=d&&d.v8;h&&(a=(r=h.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(a=+r[1]),t.exports=a},8938:function(t,e,i){var r=i(2861).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},5703:function(t,e,i){var r=i(4058);t.exports=function(t){return r[t+"Prototype"]}},6759:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3995:function(t,e,i){var r=i(5329),a=Error,n=r("".replace),s=String(a("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!a.prepareStackTrace)for(;e--;)t=n(t,o,"");return t}},9585:function(t,e,i){var r=i(2029),a=i(3995),n=i(8780),s=Error.captureStackTrace;t.exports=function(t,e,i,o){n&&(s?s(t,e):r(t,"stack",a(i,o)))}},8780:function(t,e,i){var r=i(5981),a=i(1887);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",a(1,7)),7!==t.stack)}))},6887:function(t,e,i){"use strict";var r=i(1899),a=i(9730),n=i(7484),s=i(7475),o=i(9677).f,l=i(7252),d=i(4058),h=i(6843),p=i(2029),c=i(953),m=function(t){var e=function(i,r,n){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,r)}return new t(i,r,n)}return a(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var i,a,u,f,g,v,y,b,k,w=t.target,_=t.global,C=t.stat,S=t.proto,x=_?r:C?r[w]:(r[w]||{}).prototype,A=_?d:d[w]||p(d,w,{})[w],T=A.prototype;for(f in e)a=!(i=l(_?f:w+(C?".":"#")+f,t.forced))&&x&&c(x,f),v=A[f],a&&(y=t.dontCallGetSet?(k=o(x,f))&&k.value:x[f]),g=a&&y?y:e[f],a&&typeof v==typeof g||(b=t.bind&&a?h(g,r):t.wrap&&a?m(g):S&&s(g)?n(g):g,(t.sham||g&&g.sham||v&&v.sham)&&p(b,"sham",!0),p(A,f,b),S&&(c(d,u=w+"Prototype")||p(d,u,{}),p(d[u],f,g),t.real&&T&&(i||!T[f])&&p(T,f,g)))}},5981:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},9730:function(t,e,i){var r=i(8285),a=Function.prototype,n=a.apply,s=a.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(n):function(){return s.apply(n,arguments)})},6843:function(t,e,i){var r=i(7484),a=i(4883),n=i(8285),s=r(r.bind);t.exports=function(t,e){return a(t),void 0===e?t:n?s(t,e):function(){return t.apply(e,arguments)}}},8285:function(t,e,i){var r=i(5981);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8834:function(t,e,i){var r=i(8285),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},9417:function(t,e,i){var r=i(5746),a=i(953),n=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),l=o&&"something"===function(){}.name,d=o&&(!r||r&&s(n,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:d}},5526:function(t,e,i){var r=i(5329),a=i(4883);t.exports=function(t,e,i){try{return r(a(Object.getOwnPropertyDescriptor(t,e)[i]))}catch(n){}}},7484:function(t,e,i){var r=i(2532),a=i(5329);t.exports=function(t){if("Function"===r(t))return a(t)}},5329:function(t,e,i){var r=i(8285),a=Function.prototype,n=a.call,s=r&&a.bind.bind(n,n);t.exports=r?s:function(t){return function(){return n.apply(t,arguments)}}},626:function(t,e,i){var r=i(4058),a=i(1899),n=i(7475),s=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t])||s(a[t]):r[t]&&r[t][e]||a[t]&&a[t][e]}},2902:function(t,e,i){var r=i(9697),a=i(4229),n=i(2119),s=i(2077),o=i(9813)("iterator");t.exports=function(t){if(!n(t))return a(t,o)||a(t,"@@iterator")||s[r(t)]}},3476:function(t,e,i){var r=i(8834),a=i(4883),n=i(6059),s=i(9826),o=i(2902),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?o(t):e;if(a(i))return n(r(i,t));throw l(s(t)+" is not iterable")}},3323:function(t,e,i){var r=i(5329),a=i(1052),n=i(7475),s=i(2532),o=i(5803),l=r([].push);t.exports=function(t){if(n(t))return t;if(a(t)){for(var e=t.length,i=[],r=0;ry;y++)if((k=P(t[y]))&&d(f,k))return k;return new u(!1)}g=h(t,v)}for(w=x?t.next:g.next;!(_=a(w,g)).done;){try{k=P(_.value)}catch(I){c(g,"throw",I)}if("object"==typeof k&&k&&d(f,k))return k}return new u(!1)}},7609:function(t,e,i){var r=i(8834),a=i(6059),n=i(4229);t.exports=function(t,e,i){var s,o;a(t);try{if(!(s=n(t,"return"))){if("throw"===e)throw i;return i}s=r(s,t)}catch(l){o=!0,s=l}if("throw"===e)throw i;if(o)throw s;return a(s),i}},3847:function(t,e,i){"use strict";var r=i(5143).IteratorPrototype,a=i(9290),n=i(1887),s=i(904),o=i(2077),l=function(){return this};t.exports=function(t,e,i,d){var h=e+" Iterator";return t.prototype=a(r,{next:n(+!d,i)}),s(t,h,!1,!0),o[h]=l,t}},5105:function(t,e,i){"use strict";var r=i(6887),a=i(8834),n=i(2529),s=i(9417),o=i(7475),l=i(3847),d=i(249),h=i(8929),p=i(904),c=i(2029),m=i(5929),u=i(9813),f=i(2077),g=i(5143),v=s.PROPER,y=s.CONFIGURABLE,b=g.IteratorPrototype,k=g.BUGGY_SAFARI_ITERATORS,w=u("iterator"),_="keys",C="values",S="entries",x=function(){return this};t.exports=function(t,e,i,s,u,g,A){l(i,e,s);var T,L,E,P=function(t){if(t===u&&O)return O;if(!k&&t in F)return F[t];switch(t){case _:case C:case S:return function(){return new i(this,t)}}return function(){return new i(this)}},I=e+" Iterator",M=!1,F=t.prototype,D=F[w]||F["@@iterator"]||u&&F[u],O=!k&&D||P(u),R="Array"==e&&F.entries||D;if(R&&(T=d(R.call(new t)))!==Object.prototype&&T.next&&(n||d(T)===b||(h?h(T,b):o(T[w])||m(T,w,x)),p(T,I,!0,!0),n&&(f[I]=x)),v&&u==C&&D&&D.name!==C&&(!n&&y?c(F,"name",C):(M=!0,O=function(){return a(D,this)})),u)if(L={values:P(C),keys:g?O:P(_),entries:P(S)},A)for(E in L)(k||M||!(E in F))&&m(F,E,L[E]);else r({target:e,proto:!0,forced:k||M},L);return n&&!A||F[w]===O||m(F,w,O,{name:u}),f[e]=O,L}},5143:function(t,e,i){"use strict";var r,a,n,s=i(5981),o=i(7475),l=i(941),d=i(9290),h=i(249),p=i(5929),c=i(9813),m=i(2529),u=c("iterator"),f=!1;[].keys&&("next"in(n=[].keys())?(a=h(h(n)))!==Object.prototype&&(r=a):f=!0),!l(r)||s((function(){var t={};return r[u].call(t)!==t}))?r={}:m&&(r=d(r)),o(r[u])||p(r,u,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},2077:function(t){t.exports={}},623:function(t,e,i){var r=i(3057);t.exports=function(t){return r(t.length)}},5331:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?i:e)(r)}},6132:function(t,e,i){var r,a,n,s,o,l=i(1899),d=i(6843),h=i(9677).f,p=i(2941).set,c=i(8397),m=i(2749),u=i(4470),f=i(8045),g=i(6049),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,k=l.Promise,w=h(l,"queueMicrotask"),_=w&&w.value;if(!_){var C=new c,S=function(){var t,e;for(g&&(t=b.domain)&&t.exit();e=C.get();)try{e()}catch(i){throw C.head&&r(),i}t&&t.enter()};m||g||f||!v||!y?!u&&k&&k.resolve?((s=k.resolve(void 0)).constructor=k,o=d(s.then,s),r=function(){o(S)}):g?r=function(){b.nextTick(S)}:(p=d(p,l),r=function(){p(S)}):(a=!0,n=y.createTextNode(""),new v(S).observe(n,{characterData:!0}),r=function(){n.data=a=!a}),_=function(t){C.head||r(),C.add(t)}}t.exports=_},9520:function(t,e,i){"use strict";var r=i(4883),a=TypeError,n=function(t){var e,i;this.promise=new t((function(t,r){if(void 0!==e||void 0!==i)throw a("Bad Promise constructor");e=t,i=r})),this.resolve=r(e),this.reject=r(i)};t.exports.f=function(t){return new n(t)}},4649:function(t,e,i){var r=i(5803);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},344:function(t,e,i){var r=i(685),a=TypeError;t.exports=function(t){if(r(t))throw a("The method doesn't accept regular expressions");return t}},1942:function(t,e,i){var r=i(1899),a=i(5981),n=i(5329),s=i(5803),o=i(4853).trim,l=i(3483),d=n("".charAt),h=r.parseFloat,p=r.Symbol,c=p&&p.iterator,m=1/h(l+"-0")!=-1/0||c&&!a((function(){h(Object(c))}));t.exports=m?function(t){var e=o(s(t)),i=h(e);return 0===i&&"-"==d(e,0)?-0:i}:h},9806:function(t,e,i){var r=i(1899),a=i(5981),n=i(5329),s=i(5803),o=i(4853).trim,l=i(3483),d=r.parseInt,h=r.Symbol,p=h&&h.iterator,c=/^[+-]?0x/i,m=n(c.exec),u=8!==d(l+"08")||22!==d(l+"0x16")||p&&!a((function(){d(Object(p))}));t.exports=u?function(t,e){var i=o(s(t));return d(i,e>>>0||(m(c,i)?16:10))}:d},4420:function(t,e,i){"use strict";var r=i(5746),a=i(5329),n=i(8834),s=i(5981),o=i(4771),l=i(7857),d=i(6760),h=i(9678),p=i(7026),c=Object.assign,m=Object.defineProperty,u=a([].concat);t.exports=!c||s((function(){if(r&&1!==c({b:1},c(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),a="abcdefghijklmnopqrst";return t[i]=7,a.split("").forEach((function(t){e[t]=t})),7!=c({},t)[i]||o(c({},e)).join("")!=a}))?function(t,e){for(var i=h(t),a=arguments.length,s=1,c=l.f,m=d.f;a>s;)for(var f,g=p(arguments[s++]),v=c?u(o(g),c(g)):o(g),y=v.length,b=0;y>b;)f=v[b++],r&&!n(m,g,f)||(i[f]=g[f]);return i}:c},9290:function(t,e,i){var r,a=i(6059),n=i(9938),s=i(6759),o=i(7748),l=i(5463),d=i(1333),h=i(4262),p="prototype",c="script",m=h("IE_PROTO"),u=function(){},f=function(t){return"<"+c+">"+t+""},g=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(n){}var t,e,i;v="undefined"!=typeof document?document.domain&&r?g(r):(e=d("iframe"),i="java"+c+":",e.style.display="none",l.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):g(r);for(var a=s.length;a--;)delete v[p][s[a]];return v()};o[m]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(u[p]=a(t),i=new u,u[p]=null,i[m]=t):i=v(),void 0===e?i:n.f(i,e)}},9938:function(t,e,i){var r=i(5746),a=i(3937),n=i(5988),s=i(6059),o=i(4529),l=i(4771);e.f=r&&!a?Object.defineProperties:function(t,e){s(t);for(var i,r=o(e),a=l(e),d=a.length,h=0;d>h;)n.f(t,i=a[h++],r[i]);return t}},5988:function(t,e,i){var r=i(5746),a=i(2840),n=i(3937),s=i(6059),o=i(3894),l=TypeError,d=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p="enumerable",c="configurable",m="writable";e.f=r?n?function(t,e,i){if(s(t),e=o(e),s(i),"function"==typeof t&&"prototype"===e&&"value"in i&&m in i&&!i[m]){var r=h(t,e);r&&r[m]&&(t[e]=i.value,i={configurable:c in i?i[c]:r[c],enumerable:p in i?i[p]:r[p],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(s(t),e=o(e),s(i),a)try{return d(t,e,i)}catch(r){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},9677:function(t,e,i){var r=i(5746),a=i(8834),n=i(6760),s=i(1887),o=i(4529),l=i(3894),d=i(953),h=i(2840),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=o(t),e=l(e),h)try{return p(t,e)}catch(i){}if(d(t,e))return s(!a(n.f,t,e),t[e])}},684:function(t,e,i){var r=i(2532),a=i(4529),n=i(946).f,s=i(5790),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"Window"==r(t)?function(t){try{return n(t)}catch(e){return s(o)}}(t):n(a(t))}},946:function(t,e,i){var r=i(5629),a=i(6759).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},7857:function(t,e){e.f=Object.getOwnPropertySymbols},249:function(t,e,i){var r=i(953),a=i(7475),n=i(9678),s=i(4262),o=i(4160),l=s("IE_PROTO"),d=Object,h=d.prototype;t.exports=o?d.getPrototypeOf:function(t){var e=n(t);if(r(e,l))return e[l];var i=e.constructor;return a(i)&&e instanceof i?i.prototype:e instanceof d?h:null}},7046:function(t,e,i){var r=i(5329);t.exports=r({}.isPrototypeOf)},5629:function(t,e,i){var r=i(5329),a=i(953),n=i(4529),s=i(1692).indexOf,o=i(7748),l=r([].push);t.exports=function(t,e){var i,r=n(t),d=0,h=[];for(i in r)!a(o,i)&&a(r,i)&&l(h,i);for(;e.length>d;)a(r,i=e[d++])&&(~s(h,i)||l(h,i));return h}},4771:function(t,e,i){var r=i(5629),a=i(6759);t.exports=Object.keys||function(t){return r(t,a)}},6760:function(t,e){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);e.f=a?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},8929:function(t,e,i){var r=i(5526),a=i(6059),n=i(1851);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=r(Object.prototype,"__proto__","set"))(i,[]),e=i instanceof Array}catch(s){}return function(i,r){return a(i),n(r),e?t(i,r):i.__proto__=r,i}}():void 0)},8810:function(t,e,i){var r=i(5746),a=i(5329),n=i(4771),s=i(4529),o=a(i(6760).f),l=a([].push),d=function(t){return function(e){for(var i,a=s(e),d=n(a),h=d.length,p=0,c=[];h>p;)i=d[p++],r&&!o(a,i)||l(c,t?[i,a[i]]:a[i]);return c}};t.exports={entries:d(!0),values:d(!1)}},5623:function(t,e,i){"use strict";var r=i(2885),a=i(9697);t.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},9811:function(t,e,i){var r=i(8834),a=i(7475),n=i(941),s=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&a(i=t.toString)&&!n(o=r(i,t)))return o;if(a(i=t.valueOf)&&!n(o=r(i,t)))return o;if("string"!==e&&a(i=t.toString)&&!n(o=r(i,t)))return o;throw s("Can't convert object to primitive value")}},1136:function(t,e,i){var r=i(626),a=i(5329),n=i(946),s=i(7857),o=i(6059),l=a([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=n.f(o(t)),i=s.f;return i?l(e,i(t)):e}},4058:function(t){t.exports={}},2:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},7742:function(t,e,i){var r=i(1899),a=i(6991),n=i(7475),s=i(7252),o=i(1302),l=i(9813),d=i(3321),h=i(8501),p=i(2529),c=i(3385),m=a&&a.prototype,u=l("species"),f=!1,g=n(r.PromiseRejectionEvent),v=s("Promise",(function(){var t=o(a),e=t!==String(a);if(!e&&66===c)return!0;if(p&&(!m.catch||!m.finally))return!0;if(!c||c<51||!/native code/.test(t)){var i=new a((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((i.constructor={})[u]=r,!(f=i.then((function(){}))instanceof r))return!0}return!e&&(d||h)&&!g}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:f}},6991:function(t,e,i){var r=i(1899);t.exports=r.Promise},6584:function(t,e,i){var r=i(6059),a=i(941),n=i(9520);t.exports=function(t,e){if(r(t),a(e)&&e.constructor===t)return e;var i=n.f(t);return(0,i.resolve)(e),i.promise}},1542:function(t,e,i){var r=i(6991),a=i(1385),n=i(7742).CONSTRUCTOR;t.exports=n||!a((function(t){r.all(t).then(void 0,(function(){}))}))},8397:function(t){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},i=this.tail;i?i.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},8219:function(t,e,i){var r=i(2119),a=TypeError;t.exports=function(t){if(r(t))throw a("Can't call method on "+t);return t}},4431:function(t,e,i){"use strict";var r=i(626),a=i(9202),n=i(9813),s=i(5746),o=n("species");t.exports=function(t){var e=r(t);s&&e&&!e[o]&&a(e,o,{configurable:!0,get:function(){return this}})}},904:function(t,e,i){var r=i(2885),a=i(5988).f,n=i(2029),s=i(953),o=i(5623),l=i(9813)("toStringTag");t.exports=function(t,e,i,d){if(t){var h=i?t:t.prototype;s(h,l)||a(h,l,{configurable:!0,value:e}),d&&!r&&n(h,"toString",o)}}},4262:function(t,e,i){var r=i(8726),a=i(9418),n=r("keys");t.exports=function(t){return n[t]||(n[t]=a(t))}},3030:function(t,e,i){var r=i(1899),a=i(5609),n="__core-js_shared__",s=r[n]||a(n,{});t.exports=s},8726:function(t,e,i){var r=i(2529),a=i(3030);(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},487:function(t,e,i){var r=i(6059),a=i(174),n=i(2119),s=i(9813)("species");t.exports=function(t,e){var i,o=r(t).constructor;return void 0===o||n(i=r(o)[s])?e:a(i)}},4620:function(t,e,i){var r=i(5329),a=i(2435),n=i(5803),s=i(8219),o=r("".charAt),l=r("".charCodeAt),d=r("".slice),h=function(t){return function(e,i){var r,h,p=n(s(e)),c=a(i),m=p.length;return c<0||c>=m?t?"":void 0:(r=l(p,c))<55296||r>56319||c+1===m||(h=l(p,c+1))<56320||h>57343?t?o(p,c):r:t?d(p,c,c+2):h-56320+(r-55296<<10)+65536}};t.exports={codeAt:h(!1),charAt:h(!0)}},3291:function(t,e,i){var r=i(5329),a=2147483647,n=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",l=RangeError,d=r(s.exec),h=Math.floor,p=String.fromCharCode,c=r("".charCodeAt),m=r([].join),u=r([].push),f=r("".replace),g=r("".split),v=r("".toLowerCase),y=function(t){return t+22+75*(t<26)},b=function(t,e,i){var r=0;for(t=i?h(t/700):t>>1,t+=h(t/e);t>455;)t=h(t/35),r+=36;return h(r+36*t/(t+38))},k=function(t){var e=[];t=function(t){for(var e=[],i=0,r=t.length;i=55296&&a<=56319&&i=s&&rh((a-d)/w))throw l(o);for(d+=(k-s)*w,s=k,i=0;ia)throw l(o);if(r==s){for(var _=d,C=36;;){var S=C<=f?1:C>=f+26?26:C-f;if(_0?a(r(t),9007199254740991):0}},9678:function(t,e,i){var r=i(8219),a=Object;t.exports=function(t){return a(r(t))}},6935:function(t,e,i){var r=i(8834),a=i(941),n=i(6664),s=i(4229),o=i(9811),l=i(9813),d=TypeError,h=l("toPrimitive");t.exports=function(t,e){if(!a(t)||n(t))return t;var i,l=s(t,h);if(l){if(void 0===e&&(e="default"),i=r(l,t,e),!a(i)||n(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},3894:function(t,e,i){var r=i(6935),a=i(6664);t.exports=function(t){var e=r(t,"string");return a(e)?e:e+""}},2885:function(t,e,i){var r={};r[i(9813)("toStringTag")]="z",t.exports="[object z]"===String(r)},5803:function(t,e,i){var r=i(9697),a=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return a(t)}},9826:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(i){return"Object"}}},9418:function(t,e,i){var r=i(5329),a=0,n=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++a+n,36)}},4766:function(t,e,i){var r=i(5981),a=i(9813),n=i(5746),s=i(2529),o=a("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,i="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),i+=r+t})),s&&!t.toJSON||!e.size&&(s||!n)||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host}))},2302:function(t,e,i){var r=i(3405);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:function(t,e,i){var r=i(5746),a=i(5981);t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8348:function(t){var e=TypeError;t.exports=function(t,i){if(t2&&p(i,arguments[2]);var o=[];return m(t,v,{that:o}),d(i,"errors",o),i};s?s(y,g):o(y,g,{name:!0});var b=y.prototype=l(g.prototype,{constructor:h(1,y),message:h(1,""),name:h(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:y})},7627:function(t,e,i){i(9812)},5906:function(t,e,i){"use strict";var r=i(6887),a=i(5981),n=i(1052),s=i(941),o=i(9678),l=i(623),d=i(6796),h=i(5449),p=i(4692),c=i(568),m=i(9813),u=i(3385),f=m("isConcatSpreadable"),g=u>=51||!a((function(){var t=[];return t[f]=!1,t.concat()[0]!==t})),v=function(t){if(!s(t))return!1;var e=t[f];return void 0!==e?!!e:n(t)};r({target:"Array",proto:!0,arity:1,forced:!g||!c("concat")},{concat:function(t){var e,i,r,a,n,s=o(this),c=p(s,0),m=0;for(e=-1,r=arguments.length;e1?arguments[1]:void 0)}})},4929:function(t,e,i){"use strict";var r=i(6887),a=i(3610).findIndex,n=i(8479),s="findIndex",o=!0;s in[]&&Array(1)[s]((function(){o=!1})),r({target:"Array",proto:!0,forced:o},{findIndex:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n(s)},833:function(t,e,i){"use strict";var r=i(6887),a=i(3610).find,n=i(8479),s="find",o=!0;s in[]&&Array(1)[s]((function(){o=!1})),r({target:"Array",proto:!0,forced:o},{find:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n(s)},2437:function(t,e,i){"use strict";var r=i(6887),a=i(6837);r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},3242:function(t,e,i){var r=i(6887),a=i(1354);r({target:"Array",stat:!0,forced:!i(1385)((function(t){Array.from(t)}))},{from:a})},7690:function(t,e,i){"use strict";var r=i(6887),a=i(1692).includes,n=i(5981),s=i(8479);r({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},9076:function(t,e,i){"use strict";var r=i(6887),a=i(7484),n=i(1692).indexOf,s=i(4194),o=a([].indexOf),l=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:l||!s("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return l?o(this,t,e)||0:n(this,t,e)}})},2988:function(t,e,i){i(6887)({target:"Array",stat:!0},{isArray:i(1052)})},6274:function(t,e,i){"use strict";var r=i(4529),a=i(8479),n=i(2077),s=i(5402),o=i(5988).f,l=i(5105),d=i(3538),h=i(2529),p=i(5746),c="Array Iterator",m=s.set,u=s.getterFor(c);t.exports=l(Array,"Array",(function(t,e){m(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,i=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,d(void 0,!0)):d("keys"==i?r:"values"==i?e[r]:[r,e[r]],!1)}),"values");var f=n.Arguments=n.Array;if(a("keys"),a("values"),a("entries"),!h&&p&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(g){}},5915:function(t,e,i){var r=i(6887),a=i(7145);r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},8528:function(t,e,i){"use strict";var r=i(6887),a=i(9678),n=i(623),s=i(9779),o=i(6796);r({target:"Array",proto:!0,arity:1,forced:i(5981)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=a(this),i=n(e),r=arguments.length;o(i+r);for(var l=0;l3)){if(u)return!0;if(g)return g<603;var t,e,i,r,a="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(r=0;r<47;r++)v.push({k:e+r,v:i})}for(v.sort((function(t,e){return e.v-t.v})),r=0;rd(i)?1:-1}}(t)),i=o(a),r=0;rk-r+i;g--)c(b,g-1)}else if(i>r)for(g=k-r;g>w;g--)y=g+i-1,(v=g+r-1)in b?b[y]=b[v]:c(b,y);for(g=0;g1?arguments[1]:void 0)}})},7971:function(t,e,i){"use strict";var r=i(4620).charAt,a=i(5803),n=i(5402),s=i(5105),o=i(3538),l="String Iterator",d=n.set,h=n.getterFor(l);s(String,"String",(function(t){d(this,{type:l,string:a(t),index:0})}),(function(){var t,e=h(this),i=e.string,a=e.index;return a>=i.length?o(void 0,!0):(t=r(i,a),e.index+=t.length,o(t,!1))}))},4761:function(t,e,i){"use strict";var r,a=i(6887),n=i(7484),s=i(9677).f,o=i(3057),l=i(5803),d=i(344),h=i(8219),p=i(7772),c=i(2529),m=n("".startsWith),u=n("".slice),f=Math.min,g=p("startsWith");a({target:"String",proto:!0,forced:!!(c||g||(r=s(String.prototype,"startsWith"),!r||r.writable))&&!g},{startsWith:function(t){var e=l(h(this));d(t);var i=o(f(arguments.length>1?arguments[1]:void 0,e.length)),r=l(t);return m?m(e,r,i):u(e,i,i+r.length)===r}})},7398:function(t,e,i){"use strict";var r=i(6887),a=i(4853).trim;r({target:"String",proto:!0,forced:i(3093)("trim")},{trim:function(){return a(this)}})},8555:function(t,e,i){i(3464)("asyncIterator")},8616:function(t,e,i){"use strict";var r=i(6887),a=i(1899),n=i(8834),s=i(5329),o=i(2529),l=i(5746),d=i(3405),h=i(5981),p=i(953),c=i(7046),m=i(6059),u=i(4529),f=i(3894),g=i(5803),v=i(1887),y=i(9290),b=i(4771),k=i(946),w=i(684),_=i(7857),C=i(9677),S=i(5988),x=i(9938),A=i(6760),T=i(5929),L=i(9202),E=i(8726),P=i(4262),I=i(7748),M=i(9418),F=i(9813),D=i(1477),O=i(3464),R=i(9630),U=i(904),B=i(5402),V=i(3610).forEach,N=P("hidden"),H="Symbol",q="prototype",z=B.set,W=B.getterFor(H),j=Object[q],G=a.Symbol,J=G&&G[q],K=a.TypeError,Q=a.QObject,Y=C.f,X=S.f,Z=w.f,$=A.f,tt=s([].push),et=E("symbols"),it=E("op-symbols"),rt=E("wks"),at=!Q||!Q[q]||!Q[q].findChild,nt=l&&h((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,i){var r=Y(j,e);r&&delete j[e],X(t,e,i),r&&t!==j&&X(j,e,r)}:X,st=function(t,e){var i=et[t]=y(J);return z(i,{type:H,tag:t,description:e}),l||(i.description=e),i},ot=function(t,e,i){t===j&&ot(it,e,i),m(t);var r=f(e);return m(i),p(et,r)?(i.enumerable?(p(t,N)&&t[N][r]&&(t[N][r]=!1),i=y(i,{enumerable:v(0,!1)})):(p(t,N)||X(t,N,v(1,{})),t[N][r]=!0),nt(t,r,i)):X(t,r,i)},lt=function(t,e){m(t);var i=u(e),r=b(i).concat(ct(i));return V(r,(function(e){l&&!n(dt,i,e)||ot(t,e,i[e])})),t},dt=function(t){var e=f(t),i=n($,this,e);return!(this===j&&p(et,e)&&!p(it,e))&&(!(i||!p(this,e)||!p(et,e)||p(this,N)&&this[N][e])||i)},ht=function(t,e){var i=u(t),r=f(e);if(i!==j||!p(et,r)||p(it,r)){var a=Y(i,r);return!a||!p(et,r)||p(i,N)&&i[N][r]||(a.enumerable=!0),a}},pt=function(t){var e=Z(u(t)),i=[];return V(e,(function(t){p(et,t)||p(I,t)||tt(i,t)})),i},ct=function(t){var e=t===j,i=Z(e?it:u(t)),r=[];return V(i,(function(t){!p(et,t)||e&&!p(j,t)||tt(r,et[t])})),r};d||(G=function(){if(c(J,this))throw K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=M(t),i=function(t){this===j&&n(i,it,t),p(this,N)&&p(this[N],e)&&(this[N][e]=!1),nt(this,e,v(1,t))};return l&&at&&nt(j,e,{configurable:!0,set:i}),st(e,t)},T(J=G[q],"toString",(function(){return W(this).tag})),T(G,"withoutSetter",(function(t){return st(M(t),t)})),A.f=dt,S.f=ot,x.f=lt,C.f=ht,k.f=w.f=pt,_.f=ct,D.f=function(t){return st(F(t),t)},l&&(L(J,"description",{configurable:!0,get:function(){return W(this).description}}),o||T(j,"propertyIsEnumerable",dt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!d,sham:!d},{Symbol:G}),V(b(rt),(function(t){O(t)})),r({target:H,stat:!0,forced:!d},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),r({target:"Object",stat:!0,forced:!d,sham:!l},{create:function(t,e){return void 0===e?y(t):lt(y(t),e)},defineProperty:ot,defineProperties:lt,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:pt}),R(),U(G,H),I[N]=!0},2615:function(){},4523:function(t,e,i){var r=i(6887),a=i(626),n=i(953),s=i(5803),o=i(8726),l=i(4680),d=o("string-to-symbol-registry"),h=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=s(t);if(n(d,e))return d[e];var i=a("Symbol")(e);return d[e]=i,h[i]=e,i}})},1732:function(t,e,i){i(3464)("hasInstance")},5903:function(t,e,i){i(3464)("isConcatSpreadable")},1825:function(t,e,i){i(3464)("iterator")},5824:function(t,e,i){i(8616),i(4523),i(8608),i(2619),i(7144)},8608:function(t,e,i){var r=i(6887),a=i(953),n=i(6664),s=i(9826),o=i(8726),l=i(4680),d=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!n(t))throw TypeError(s(t)+" is not a symbol");if(a(d,t))return d[t]}})},1381:function(t,e,i){i(3464)("matchAll")},8394:function(t,e,i){i(3464)("match")},1766:function(t,e,i){i(3464)("replace")},2737:function(t,e,i){i(3464)("search")},9911:function(t,e,i){i(3464)("species")},4315:function(t,e,i){i(3464)("split")},3131:function(t,e,i){var r=i(3464),a=i(9630);r("toPrimitive"),a()},4714:function(t,e,i){var r=i(626),a=i(3464),n=i(904);a("toStringTag"),n(r("Symbol"),"Symbol")},659:function(t,e,i){i(3464)("unscopables")},9731:function(t,e,i){i(7627)},5708:function(t,e,i){i(4560)},8731:function(t,e,i){i(7206)},14:function(t,e,i){"use strict";var r=i(6887),a=i(9520),n=i(2);r({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=a.f(this),i=n(t);return(i.error?e.reject:e.resolve)(i.value),e.promise}})},8783:function(t,e,i){i(3464)("asyncDispose")},3975:function(t,e,i){i(3464)("dispose")},2731:function(t,e,i){var r=i(6887),a=i(626),n=i(5329),s=a("Symbol"),o=s.keyFor,l=n(s.prototype.valueOf);r({target:"Symbol",stat:!0},{isRegistered:function(t){try{return void 0!==o(l(t))}catch(e){return!1}}})},5605:function(t,e,i){for(var r=i(6887),a=i(8726),n=i(626),s=i(5329),o=i(6664),l=i(9813),d=n("Symbol"),h=d.isWellKnown,p=n("Object","getOwnPropertyNames"),c=s(d.prototype.valueOf),m=a("wks"),u=0,f=p(d),g=f.length;u0?arguments[0]:void 0));o||(this.length=t.entries.length)},mt=ct.prototype;if(p(mt,{append:function(t,e){T(arguments.length,2);var i=D(this);Q(i.entries,{key:_(t),value:_(e)}),o||this.length++,i.updateURL()},delete:function(t){T(arguments.length,1);for(var e=D(this),i=e.entries,r=_(t),a=0;ae.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,i=D(this).entries,r=y(t,arguments.length>1?arguments[1]:void 0),a=0;a1?gt(arguments[1]):{})}}),g(V)){var vt=function(t){return f(this,H),new V(t,arguments.length>1?gt(arguments[1]):{})};H.constructor=vt,vt.prototype=H,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:vt})}}t.exports={URLSearchParams:ct,getState:D}},5304:function(t,e,i){i(2524)},2337:function(){},4630:function(t,e,i){var r=i(6887),a=i(626),n=i(5981),s=i(8348),o=i(5803),l=i(4766),d=a("URL");r({target:"URL",stat:!0,forced:!(l&&n((function(){d.canParse()})))},{canParse:function(t){var e=s(arguments.length,1),i=o(t),r=e<2||void 0===arguments[1]?void 0:o(arguments[1]);try{return!!new d(i,r)}catch(a){return!1}}})},7250:function(t,e,i){"use strict";i(7971);var r,a=i(6887),n=i(5746),s=i(4766),o=i(1899),l=i(6843),d=i(5329),h=i(5929),p=i(9202),c=i(5743),m=i(953),u=i(4420),f=i(1354),g=i(5790),v=i(4620).codeAt,y=i(3291),b=i(5803),k=i(904),w=i(8348),_=i(2524),C=i(5402),S=C.set,x=C.getterFor("URL"),A=_.URLSearchParams,T=_.getState,L=o.URL,E=o.TypeError,P=o.parseInt,I=Math.floor,M=Math.pow,F=d("".charAt),D=d(/./.exec),O=d([].join),R=d(1..toString),U=d([].pop),B=d([].push),V=d("".replace),N=d([].shift),H=d("".split),q=d("".slice),z=d("".toLowerCase),W=d([].unshift),j="Invalid scheme",G="Invalid host",J="Invalid port",K=/[a-z]/i,Q=/[\d+-.a-z]/i,Y=/\d/,X=/^0x/i,Z=/^[0-7]+$/,$=/^\d+$/,tt=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,it=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+/,at=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,nt=/[\t\n\r]/g,st=function(t){var e,i,r,a;if("number"==typeof t){for(e=[],i=0;i<4;i++)W(e,t%256),t=I(t/256);return O(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,i=1,r=null,a=0,n=0;n<8;n++)0!==t[n]?(a>i&&(e=r,i=a),r=null,a=0):(null===r&&(r=n),++a);return a>i&&(e=r,i=a),e}(t),i=0;i<8;i++)a&&0===t[i]||(a&&(a=!1),r===i?(e+=i?":":"::",a=!0):(e+=R(t[i],16),i<7&&(e+=":")));return"["+e+"]"}return t},ot={},lt=u({},ot,{" ":1,'"':1,"<":1,">":1,"`":1}),dt=u({},lt,{"#":1,"?":1,"{":1,"}":1}),ht=u({},dt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pt=function(t,e){var i=v(t,0);return i>32&&i<127&&!m(e,t)?t:encodeURIComponent(t)},ct={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(t,e){var i;return 2==t.length&&D(K,F(t,0))&&(":"==(i=F(t,1))||!e&&"|"==i)},ut=function(t){var e;return t.length>1&&mt(q(t,0,2))&&(2==t.length||"/"===(e=F(t,2))||"\\"===e||"?"===e||"#"===e)},ft=function(t){return"."===t||"%2e"===z(t)},gt={},vt={},yt={},bt={},kt={},wt={},_t={},Ct={},St={},xt={},At={},Tt={},Lt={},Et={},Pt={},It={},Mt={},Ft={},Dt={},Ot={},Rt={},Ut=function(t,e,i){var r,a,n,s=b(t);if(e){if(a=this.parse(s))throw E(a);this.searchParams=null}else{if(void 0!==i&&(r=new Ut(i,!0)),a=this.parse(s,null,r))throw E(a);(n=T(new A)).bindURL(this),this.searchParams=n}};Ut.prototype={type:"URL",parse:function(t,e,i){var a,n,s,o,l,d=this,h=e||gt,p=0,c="",u=!1,v=!1,y=!1;for(t=b(t),e||(d.scheme="",d.username="",d.password="",d.host=null,d.port=null,d.path=[],d.query=null,d.fragment=null,d.cannotBeABaseURL=!1,t=V(t,rt,""),t=V(t,at,"$1")),t=V(t,nt,""),a=f(t);p<=a.length;){switch(n=a[p],h){case gt:if(!n||!D(K,n)){if(e)return j;h=yt;continue}c+=z(n),h=vt;break;case vt:if(n&&(D(Q,n)||"+"==n||"-"==n||"."==n))c+=z(n);else{if(":"!=n){if(e)return j;c="",h=yt,p=0;continue}if(e&&(d.isSpecial()!=m(ct,c)||"file"==c&&(d.includesCredentials()||null!==d.port)||"file"==d.scheme&&!d.host))return;if(d.scheme=c,e)return void(d.isSpecial()&&ct[d.scheme]==d.port&&(d.port=null));c="","file"==d.scheme?h=Et:d.isSpecial()&&i&&i.scheme==d.scheme?h=bt:d.isSpecial()?h=Ct:"/"==a[p+1]?(h=kt,p++):(d.cannotBeABaseURL=!0,B(d.path,""),h=Dt)}break;case yt:if(!i||i.cannotBeABaseURL&&"#"!=n)return j;if(i.cannotBeABaseURL&&"#"==n){d.scheme=i.scheme,d.path=g(i.path),d.query=i.query,d.fragment="",d.cannotBeABaseURL=!0,h=Rt;break}h="file"==i.scheme?Et:wt;continue;case bt:if("/"!=n||"/"!=a[p+1]){h=wt;continue}h=St,p++;break;case kt:if("/"==n){h=xt;break}h=Ft;continue;case wt:if(d.scheme=i.scheme,n==r)d.username=i.username,d.password=i.password,d.host=i.host,d.port=i.port,d.path=g(i.path),d.query=i.query;else if("/"==n||"\\"==n&&d.isSpecial())h=_t;else if("?"==n)d.username=i.username,d.password=i.password,d.host=i.host,d.port=i.port,d.path=g(i.path),d.query="",h=Ot;else{if("#"!=n){d.username=i.username,d.password=i.password,d.host=i.host,d.port=i.port,d.path=g(i.path),d.path.length--,h=Ft;continue}d.username=i.username,d.password=i.password,d.host=i.host,d.port=i.port,d.path=g(i.path),d.query=i.query,d.fragment="",h=Rt}break;case _t:if(!d.isSpecial()||"/"!=n&&"\\"!=n){if("/"!=n){d.username=i.username,d.password=i.password,d.host=i.host,d.port=i.port,h=Ft;continue}h=xt}else h=St;break;case Ct:if(h=St,"/"!=n||"/"!=F(c,p+1))continue;p++;break;case St:if("/"!=n&&"\\"!=n){h=xt;continue}break;case xt:if("@"==n){u&&(c="%40"+c),u=!0,s=f(c);for(var k=0;k65535)return J;d.port=d.isSpecial()&&C===ct[d.scheme]?null:C,c=""}if(e)return;h=Mt;continue}return J}c+=n;break;case Et:if(d.scheme="file","/"==n||"\\"==n)h=Pt;else{if(!i||"file"!=i.scheme){h=Ft;continue}if(n==r)d.host=i.host,d.path=g(i.path),d.query=i.query;else if("?"==n)d.host=i.host,d.path=g(i.path),d.query="",h=Ot;else{if("#"!=n){ut(O(g(a,p),""))||(d.host=i.host,d.path=g(i.path),d.shortenPath()),h=Ft;continue}d.host=i.host,d.path=g(i.path),d.query=i.query,d.fragment="",h=Rt}}break;case Pt:if("/"==n||"\\"==n){h=It;break}i&&"file"==i.scheme&&!ut(O(g(a,p),""))&&(mt(i.path[0],!0)?B(d.path,i.path[0]):d.host=i.host),h=Ft;continue;case It:if(n==r||"/"==n||"\\"==n||"?"==n||"#"==n){if(!e&&mt(c))h=Ft;else if(""==c){if(d.host="",e)return;h=Mt}else{if(o=d.parseHost(c))return o;if("localhost"==d.host&&(d.host=""),e)return;c="",h=Mt}continue}c+=n;break;case Mt:if(d.isSpecial()){if(h=Ft,"/"!=n&&"\\"!=n)continue}else if(e||"?"!=n)if(e||"#"!=n){if(n!=r&&(h=Ft,"/"!=n))continue}else d.fragment="",h=Rt;else d.query="",h=Ot;break;case Ft:if(n==r||"/"==n||"\\"==n&&d.isSpecial()||!e&&("?"==n||"#"==n)){if(".."===(l=z(l=c))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(d.shortenPath(),"/"==n||"\\"==n&&d.isSpecial()||B(d.path,"")):ft(c)?"/"==n||"\\"==n&&d.isSpecial()||B(d.path,""):("file"==d.scheme&&!d.path.length&&mt(c)&&(d.host&&(d.host=""),c=F(c,0)+":"),B(d.path,c)),c="","file"==d.scheme&&(n==r||"?"==n||"#"==n))for(;d.path.length>1&&""===d.path[0];)N(d.path);"?"==n?(d.query="",h=Ot):"#"==n&&(d.fragment="",h=Rt)}else c+=pt(n,dt);break;case Dt:"?"==n?(d.query="",h=Ot):"#"==n?(d.fragment="",h=Rt):n!=r&&(d.path[0]+=pt(n,ot));break;case Ot:e||"#"!=n?n!=r&&("'"==n&&d.isSpecial()?d.query+="%27":d.query+="#"==n?"%23":pt(n,ot)):(d.fragment="",h=Rt);break;case Rt:n!=r&&(d.fragment+=pt(n,lt))}p++}},parseHost:function(t){var e,i,r;if("["==F(t,0)){if("]"!=F(t,t.length-1))return G;if(e=function(t){var e,i,r,a,n,s,o,l=[0,0,0,0,0,0,0,0],d=0,h=null,p=0,c=function(){return F(t,p)};if(":"==c()){if(":"!=F(t,1))return;p+=2,h=++d}for(;c();){if(8==d)return;if(":"!=c()){for(e=i=0;i<4&&D(tt,c());)e=16*e+P(c(),16),p++,i++;if("."==c()){if(0==i)return;if(p-=i,d>6)return;for(r=0;c();){if(a=null,r>0){if(!("."==c()&&r<4))return;p++}if(!D(Y,c()))return;for(;D(Y,c());){if(n=P(c(),10),null===a)a=n;else{if(0==a)return;a=10*a+n}if(a>255)return;p++}l[d]=256*l[d]+a,2!=++r&&4!=r||d++}if(4!=r)return;break}if(":"==c()){if(p++,!c())return}else if(c())return;l[d++]=e}else{if(null!==h)return;p++,h=++d}}if(null!==h)for(s=d-h,d=7;0!=d&&s>0;)o=l[d],l[d--]=l[h+s-1],l[h+--s]=o;else if(8!=d)return;return l}(q(t,1,-1)),!e)return G;this.host=e}else if(this.isSpecial()){if(t=y(t),D(et,t))return G;if(e=function(t){var e,i,r,a,n,s,o,l=H(t,".");if(l.length&&""==l[l.length-1]&&l.length--,(e=l.length)>4)return t;for(i=[],r=0;r1&&"0"==F(a,0)&&(n=D(X,a)?16:8,a=q(a,8==n?1:2)),""===a)s=0;else{if(!D(10==n?$:8==n?Z:tt,a))return t;s=P(a,n)}B(i,s)}for(r=0;r=M(256,5-e))return null}else if(s>255)return null;for(o=U(i),r=0;r1?arguments[1]:void 0,r=S(e,new Ut(t,!1,i));n||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},Vt=Bt.prototype,Nt=function(t,e){return{get:function(){return x(this)[t]()},set:e&&function(t){return x(this)[e](t)},configurable:!0,enumerable:!0}};if(n&&(p(Vt,"href",Nt("serialize","setHref")),p(Vt,"origin",Nt("getOrigin")),p(Vt,"protocol",Nt("getProtocol","setProtocol")),p(Vt,"username",Nt("getUsername","setUsername")),p(Vt,"password",Nt("getPassword","setPassword")),p(Vt,"host",Nt("getHost","setHost")),p(Vt,"hostname",Nt("getHostname","setHostname")),p(Vt,"port",Nt("getPort","setPort")),p(Vt,"pathname",Nt("getPathname","setPathname")),p(Vt,"search",Nt("getSearch","setSearch")),p(Vt,"searchParams",Nt("getSearchParams")),p(Vt,"hash",Nt("getHash","setHash"))),h(Vt,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),h(Vt,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),L){var Ht=L.createObjectURL,qt=L.revokeObjectURL;Ht&&h(Bt,"createObjectURL",l(Ht,L)),qt&&h(Bt,"revokeObjectURL",l(qt,L))}k(Bt,"URL"),a({global:!0,constructor:!0,forced:!s,sham:!n},{URL:Bt})},3601:function(t,e,i){i(7250)},8947:function(){},7698:function(t,e,i){var r=i(4493);t.exports=r},3363:function(t,e,i){var r=i(4034);t.exports=r},9216:function(t,e,i){var r=i(9324);t.exports=r},6243:function(t,e,i){var r=i(3830);i(7634),t.exports=r},1955:function(t,e,i){var r=i(2480);t.exports=r},6064:function(t,e,i){var r=i(6960);t.exports=r},1577:function(t,e,i){var r=i(2236);t.exports=r},6279:function(t,e,i){i(7634);var r=i(9697),a=i(953),n=i(7046),s=i(9216),o=Array.prototype,l={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===o||n(o,t)&&e===o.forEach||a(l,r(t))?s:e}},3778:function(t,e,i){var r=i(8557);t.exports=r},9373:function(t,e,i){var r=i(4570);t.exports=r},1022:function(t,e,i){var r=i(7564);t.exports=r},2759:function(t,e,i){var r=i(3993);t.exports=r},8427:function(t,e,i){var r=i(1060);t.exports=r},2073:function(t,e,i){var r=i(9601);t.exports=r},2856:function(t,e,i){var r=i(9355);t.exports=r},2348:function(t,e,i){var r=i(8339);t.exports=r},5178:function(t,e,i){var r=i(1611);t.exports=r},6361:function(t,e,i){var r=i(2774);t.exports=r},8933:function(t,e,i){var r=i(4426);t.exports=r},3383:function(t,e,i){var r=i(5999);t.exports=r},4471:function(t,e,i){var r=i(5254);t.exports=r},1910:function(t,e,i){var r=i(8171);t.exports=r},6209:function(t,e,i){var r=i(3081);t.exports=r},6507:function(t,e,i){var r=i(3966);t.exports=r},3059:function(t,e,i){var r=i(8494);t.exports=r},6670:function(t,e,i){var r=i(3065);t.exports=r},6877:function(t,e,i){var r=i(7579);t.exports=r},4888:function(t,e,i){var r=i(8524);t.exports=r},7460:function(t,e,i){var r=i(2956);i(7634),t.exports=r},2547:function(t,e,i){var r=i(7473);i(7634),t.exports=r},6509:function(t,e,i){var r=i(4227);i(7634),t.exports=r},5774:function(t,e,i){var r=i(2978);t.exports=r},7641:function(t,e,i){var r=i(1459);t.exports=r},1459:function(t,e,i){i(3601),i(4630),i(8947),i(5304),i(2337);var r=i(4058);t.exports=r.URL},5373:function(t,e,i){"use strict";var r=i(8081),a=i.n(r),n=i(3645),s=i.n(n),o=i(1667),l=i.n(o),d=new URL(i(3467),i.b),h=new URL(i(6622),i.b),p=s()(a()),c=l()(d),m=l()(h);p.push([t.id,'@charset "utf-8";\n/*!\n * Copyright (c) 2015-2022 Radiant Media Player\n * Radiant Media Player 7.9.1 | https://www.radiantmediaplayer.com\n * Terms of service: https://www.radiantmediaplayer.com/terms-of-service.html\n * Contact information: https://www.radiantmediaplayer.com/contact.html\n */\n/* helpers */\n/*\n woff2 - only\n\n */\n/* player icons file */\n@font-face {\n font-family: "rmp-font";\n src: url('+c+') format("woff2");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n/* accessible buttons\n * reset user agent stylesheet styles */\n.rmp-button {\n background: none;\n border: none;\n color: inherit;\n display: block;\n font-size: inherit;\n font-family: inherit;\n font-weight: inherit;\n line-height: inherit;\n text-shadow: none;\n text-transform: none;\n text-decoration: none;\n transition: none;\n text-align: inherit;\n outline: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.rmp-button:focus {\n outline: 0;\n}\n.rmp-select {\n margin: 0;\n font-family: inherit;\n text-transform: none;\n}\n.rmp-inline {\n display: inline;\n}\n.rmp-grab {\n cursor: grab;\n}\n.rmp-container ::before {\n box-sizing: border-box;\n}\n/* default color settings */\n/* chromecast button colors as per Google recommendations\n * this is also used for UI focus on keyboard controls */\n.rmp-volume-bar,\n.rmp-color-bg-button {\n background: #ffffff;\n}\n.rmp-ad-current-time,\n.rmp-quality-hd,\n.rmp-cue-point,\n.rmp-transcripts-current-item,\n.rmp-playlist-side-menu::-webkit-scrollbar-thumb,\n.rmp-transcripts-side-menu::-webkit-scrollbar-thumb,\n.rmp-dvr .rmp-time-elapsed-text,\n.rmp-dvr-vod .rmp-time-elapsed-text:hover {\n background: #82b1ff;\n}\n.rmp-color-button,\n.rmp-control-bar-hint,\n.rmp-time-elapsed-text,\n.rmp-duration-text,\n.rmp-hint,\n.rmp-in-module-hint,\n.rmp-quality-hd,\n.rmp-related-skip-preview-up-next,\n.rmp-transcripts-current-item:hover,\n.rmp-volume-indicator,\n.rmp-volume-hint,\n.rmp-related-skip-preview-title {\n color: #ffffff;\n}\n.rmp-color-accent,\n.rmp-overlay-level:hover:not(.rmp-overlay-level-active),\n.rmp-i:hover,\n.rmp-module:hover .rmp-i,\n.rmp-ad-info-message,\n.rmp-sup,\n.rmp-transcripts-item:hover:not(.rmp-transcripts-current-item),\n.rmp-live .rmp-time-elapsed-text::before,\n.rmp-pip-on .rmp-i-pip,\n.rmp-theater-on .rmp-i-theater,\n.rmp-related-item:hover .rmp-related-title {\n color: #82b1ff;\n}\n.rmp-related-item:hover {\n box-shadow: 0 0 0 1px #82b1ff;\n}\n.rmp-module-fcc-settings {\n border-color: #ffffff;\n}\n.rmp-button.rmp-overlay-level.rmp-abr-active {\n border-color: #82b1ff;\n}\n.rmp-module-fcc-settings:hover {\n border-color: #82b1ff;\n color: #82b1ff;\n}\n.rmp-dvr-vod .rmp-time-elapsed-text {\n background: rgba(130, 177, 255, 0.7);\n}\n.rmp-loading-spin-circle {\n border-color: #ffffff #ffffff transparent;\n}\n.appearance {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.rmp-overlay-wrapper::-webkit-scrollbar,\n.rmp-playlist-side-menu::-webkit-scrollbar,\n.rmp-transcripts-side-menu::-webkit-scrollbar {\n width: 8px;\n}\n.rmp-overlay-wrapper::-webkit-scrollbar-track,\n.rmp-playlist-side-menu::-webkit-scrollbar-track,\n.rmp-transcripts-side-menu::-webkit-scrollbar-track {\n background: #ffffff;\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n}\n.rmp-overlay-wrapper::-webkit-scrollbar-thumb {\n background: #000000;\n}\n/* core CSS */\n/* player chrome bar (a.k.a. player controls) and inner elements */\n.rmp-control-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 48px;\n text-align: center;\n overflow: visible;\n display: block;\n opacity: 1;\n visibility: visible;\n text-shadow: none;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-control-bar-hint {\n font-size: 14px;\n opacity: 0;\n position: absolute;\n top: -28px;\n left: 0;\n padding: 0 8px;\n height: 24px;\n line-height: 24px;\n white-space: nowrap;\n font-family: "Arial", "Helvetica", sans-serif !important;\n transition-property: opacity;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-mobile .rmp-control-bar-hint,\n.rmp-no-hint .rmp-control-bar-hint,\n.rmp-no-hint .rmp-volume-hint,\n.rmp-doubleextrasmall .rmp-control-bar-hint {\n display: none !important;\n}\n.rmp-play-pause:hover .rmp-control-bar-hint,\n.rmp-fullscreen:hover .rmp-control-bar-hint,\n.rmp-quality:hover .rmp-control-bar-hint,\n.rmp-captions:hover .rmp-control-bar-hint,\n.rmp-audio:hover .rmp-control-bar-hint,\n.rmp-quick-rewind-or-forward:hover .rmp-control-bar-hint {\n opacity: 1;\n}\n/* before durationchange event we hide control bar */\n.rmp-wait-for-duration .rmp-control-bar {\n opacity: 0 !important;\n visibility: hidden !important;\n}\n/* play/pause button */\n.rmp-play-pause {\n position: absolute;\n left: 8px;\n width: 48px;\n height: 48px;\n}\n/* .rmp-quick-rewind-or-forward */\n.rmp-quick-rewind-or-forward {\n position: absolute;\n left: 56px;\n width: 48px;\n height: 48px;\n}\n/* .rmp-quick-rewind-and-forward */\n.rmp-quick-rewind-and-forward {\n position: absolute;\n left: 104px;\n width: 48px;\n height: 48px;\n}\n/* desktop volume UI */\n.rmp-volume {\n position: absolute;\n left: 56px;\n width: 48px;\n height: 48px;\n}\n.rmp-volume-container {\n position: absolute;\n width: 48px;\n left: 56px;\n bottom: 48px;\n height: 124px;\n display: none;\n cursor: pointer;\n}\n.rmp-volume-container:focus {\n outline: none;\n}\n.rmp-volume-handle {\n position: absolute;\n top: 0;\n left: 50%;\n margin-top: -14px;\n margin-left: -14px;\n width: 28px;\n height: 28px;\n box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);\n}\n.rmp-volume-bar-container {\n position: absolute;\n left: 13px;\n bottom: 15px;\n top: auto;\n width: 22px;\n height: 92px;\n background: rgba(255, 255, 255, 0.3);\n box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);\n}\n.rmp-volume-bar {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n}\n.rmp-volume-indicator {\n position: absolute;\n left: 0;\n top: -48px;\n width: 48px;\n height: 48px;\n line-height: 48px;\n font-size: 14px;\n font-family: "Arial", "Helvetica", sans-serif !important;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-volume-hint {\n position: absolute;\n top: -76px;\n padding: 0 8px;\n height: 24px;\n line-height: 24px;\n font-size: 14px;\n white-space: nowrap;\n width: auto;\n left: 50%;\n transform: translate(-50%, 0);\n font-family: "Arial", "Helvetica", sans-serif !important;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-small .rmp-volume-hint,\n.rmp-extrasmall .rmp-volume-hint,\n.rmp-extrasmall .rmp-volume-indicator {\n display: none;\n}\n/* current time in video */\n.rmp-time {\n position: absolute;\n left: 104px;\n width: 96px;\n height: 48px;\n line-height: 48px;\n white-space: nowrap;\n}\n.rmp-time-separator {\n padding: 0 4px;\n}\n.rmp-time-elapsed-text,\n.rmp-duration-text {\n position: relative;\n top: 0;\n left: 0;\n font-family: "Arial", "Helvetica", sans-serif !important;\n transition-property: background-color, color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* player seek bar / timeline */\n.rmp-seek-bar {\n position: absolute;\n left: 216px;\n width: calc(100% - 216px - 120px);\n height: 48px;\n}\n/* element with slider role will have focus on click\n so we remove the user agent stylesheet for :focus */\n.rmp-seek-bar:focus {\n outline: none;\n}\n.rmp-time-total {\n position: relative;\n background: rgba(255, 255, 255, 0.3);\n box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);\n cursor: pointer;\n}\n.rmp-current {\n position: absolute;\n top: 0;\n left: 0;\n width: 0;\n height: 100%;\n}\n.rmp-handle {\n position: absolute;\n top: 50%;\n left: 0;\n margin-top: -14px;\n margin-left: -14px;\n width: 28px;\n height: 28px;\n z-index: 1;\n box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);\n}\n.rmp-loaded {\n position: absolute;\n top: 0;\n left: 0;\n width: 0;\n height: 100%;\n background: rgba(255, 255, 255, 0.3);\n box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);\n}\n/* quality menu */\n.rmp-quality {\n position: absolute;\n top: 0;\n right: 56px;\n width: 48px;\n height: 48px;\n}\n.rmp-quality-hd {\n font-size: 8px;\n position: absolute;\n right: 5px;\n top: 10px;\n height: 12px;\n line-height: 8px;\n padding: 2px;\n width: auto;\n display: none;\n box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);\n text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n border-radius: 2px;\n background-clip: padding-box;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n/* multiple audio|captions menu */\n.rmp-captions-ui .rmp-captions,\n.rmp-audio-ui .rmp-audio {\n position: absolute;\n top: 0;\n right: 104px;\n width: 48px;\n height: 48px;\n}\n.rmp-captions-ui.rmp-audio-ui .rmp-audio {\n right: 156px;\n}\n.rmp-captions-ui .rmp-seek-bar,\n.rmp-audio-ui .rmp-seek-bar {\n left: 216px;\n width: calc(100% - 216px - 168px);\n}\n.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar {\n left: 216px;\n width: calc(100% - 216px - 216px);\n}\n/* fullscreen management */\n.rmp-fullscreen {\n position: absolute;\n top: 0;\n right: 8px;\n width: 48px;\n height: 48px;\n}\n.rmp-fullscreen .rmp-control-bar-hint {\n right: 0;\n left: auto;\n}\n/* time indicator (hover seek bar) */\n.rmp-indicator {\n position: absolute;\n top: -40px;\n display: none;\n width: 70px;\n margin-left: -35px;\n text-align: center;\n height: 24px;\n line-height: 24px;\n z-index: 999;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-extrasmall .rmp-indicator,\n.rmp-doubleextrasmall .rmp-indicator {\n display: none !important;\n}\n/* Seek bar thumbnails */\n.rmp-thumbnails {\n width: 128px;\n position: absolute;\n left: 0;\n}\n.rmp-seek-bar-thumbnails .rmp-indicator {\n position: absolute;\n width: 128px;\n margin-left: -64px;\n}\n/* cue points */\n.rmp-cue-point {\n position: absolute;\n top: 0;\n height: 100%;\n width: 6px;\n}\n.rmp-cue-point-text {\n position: absolute;\n top: -40px;\n opacity: 0;\n visibility: hidden;\n width: auto;\n margin-left: auto;\n text-align: center;\n height: 24px;\n line-height: 24px;\n z-index: 1000;\n padding: 0 8px;\n white-space: nowrap;\n transform: translateX(-50%);\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n/*\n .rmp-small: 375px < player size < 480px\n .rmp-extrasmall: 280px < player size < 375px\n .rmp-doubleextrasmall: player size < 280px\n*/\n.rmp-small .rmp-time,\n.rmp-extrasmall .rmp-time,\n.rmp-doubleextrasmall .rmp-time {\n right: 8px;\n left: auto;\n bottom: 56px;\n height: auto;\n line-height: normal;\n padding: 4px;\n width: 114px;\n}\n.rmp-small .rmp-seek-bar,\n.rmp-extrasmall .rmp-seek-bar,\n.rmp-extrasmall.rmp-audio-ui .rmp-seek-bar,\n.rmp-extrasmall.rmp-captions-ui .rmp-seek-bar,\n.rmp-extrasmall.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 120px);\n}\n.rmp-small.rmp-captions-ui .rmp-seek-bar,\n.rmp-small.rmp-audio-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 168px);\n}\n.rmp-small.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 216px);\n}\n.rmp-extrasmall .rmp-audio,\n.rmp-extrasmall .rmp-captions,\n.rmp-extrasmall .rmp-quick-rewind-or-forward,\n.rmp-extrasmall .rmp-quick-rewind-and-forward {\n display: none !important;\n}\n.rmp-doubleextrasmall .rmp-audio,\n.rmp-doubleextrasmall .rmp-quality,\n.rmp-doubleextrasmall .rmp-captions,\n.rmp-doubleextrasmall .rmp-fullscreen,\n.rmp-doubleextrasmall .rmp-time,\n.rmp-doubleextrasmall .rmp-volume-container,\n.rmp-doubleextrasmall .rmp-quick-rewind-or-forward,\n.rmp-doubleextrasmall .rmp-quick-rewind-and-forward,\n.rmp-doubleextrasmall .rmp-module,\n.rmp-doubleextrasmall .rmp-loading-spin,\n.rmp-doubleextrasmall .rmp-title-area {\n display: none !important;\n}\n.rmp-doubleextrasmall .rmp-seek-bar,\n.rmp-doubleextrasmall.rmp-audio-ui .rmp-seek-bar,\n.rmp-doubleextrasmall.rmp-captions-ui .rmp-seek-bar,\n.rmp-doubleextrasmall.rmp-audio-ui.rmp-captions-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 112px - 32px);\n}\n/* .rmp-quick-rewind-or-forward-ui */\n.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-quick-rewind-or-forward-ui .rmp-volume-container {\n left: 104px;\n}\n.rmp-quick-rewind-or-forward-ui .rmp-time {\n left: 152px;\n}\n.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 264px;\n width: calc(100% - 120px - 264px);\n}\n.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-time {\n right: 8px;\n left: auto;\n}\n.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 120px - 168px);\n}\n.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume-container,\n.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume-container {\n left: 56px;\n}\n.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-time {\n right: 8px;\n left: auto;\n}\n.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 120px);\n}\n.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 16px - 120px);\n}\n.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 264px;\n width: calc(100% - 120px - 312px);\n}\n.rmp-small.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-small.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 168px);\n}\n.rmp-extrasmall.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-extrasmall.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 120px);\n}\n.rmp-doubleextrasmall.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-doubleextrasmall.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 16px);\n}\n.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 264px;\n width: calc(100% - 264px - 216px);\n}\n.rmp-small.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 216px);\n}\n.rmp-extrasmall.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 120px);\n}\n.rmp-doubleextrasmall.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 16px);\n}\n/* .rmp-quick-rewind-and-forward-ui */\n.rmp-quick-rewind-and-forward-ui .rmp-volume,\n.rmp-quick-rewind-and-forward-ui .rmp-volume-container {\n left: 152px;\n}\n.rmp-quick-rewind-and-forward-ui .rmp-time {\n left: 200px;\n}\n.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 312px;\n width: calc(100% - 120px - 312px);\n}\n.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 216px;\n width: calc(100% - 120px - 216px);\n}\n.rmp-captions-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar,\n.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 312px;\n width: calc(100% - 312px - 168px);\n}\n.rmp-small.rmp-captions-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar,\n.rmp-small.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 216px;\n width: calc(100% - 216px - 168px);\n}\n.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 312px;\n width: calc(100% - 312px - 168px);\n}\n.rmp-small.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 216px;\n width: calc(100% - 216px - 168px);\n}\n.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-audio,\n.rmp-small.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-audio {\n display: none;\n}\n.rmp-extrasmall.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 120px);\n}\n.rmp-doubleextrasmall.rmp-captions-ui.rmp-audio-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 120px;\n width: calc(100% - 120px - 16px);\n}\n/* error UI */\n.rmp-error-ui .rmp-module,\n.rmp-error-ui .rmp-poster,\n.rmp-error-ui .rmp-mobile-central-ui,\n.rmp-error-ui .rmp-time,\n.rmp-error-ui .rmp-overlay-button,\n.rmp-error-ui .rmp-loading-spin,\n.rmp-error-ui .rmp-title-area,\n.rmp-error-ui.rmp-audio-only .rmp-control-bar,\n.rmp-error-ui.rmp-audio-only .rmp-error-text-wrapper p {\n display: none !important;\n}\n/* \n * No playback support or\n * error detected \n */\n.rmp-error {\n position: absolute;\n height: 100%;\n left: 0;\n top: 0;\n width: 100%;\n text-align: left;\n background-color: #000000;\n background-image: radial-gradient(#06224d, #01060d);\n background-repeat: no-repeat;\n background-size: cover;\n font-family: "Courier New", "Courier", monospace;\n color: rgba(33, 150, 243, 0.8);\n text-shadow: 0 0 1ex #42a5f5, 0 0 2px rgba(255, 255, 255, 0.8);\n}\n.rmp-error-overlay {\n pointer-events: none;\n position: absolute;\n width: 100%;\n height: 100%;\n background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);\n background-size: auto 4px;\n z-index: 1;\n}\n.rmp-error-overlay::before {\n content: "";\n pointer-events: none;\n position: absolute;\n display: block;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background-image: linear-gradient(0deg, transparent 0%, rgba(13, 71, 161, 0.2) 2%, rgba(13, 71, 161, 0.8) 3%, rgba(13, 71, 161, 0.2) 3%, transparent 100%);\n background-repeat: no-repeat;\n animation: scan 6s linear 0s infinite;\n}\n@keyframes scan {\n 0% {\n background-position: 0 -100vh;\n }\n 35%,\n 100% {\n background-position: 0 100vh;\n }\n}\n.rmp-error-terminal {\n box-sizing: inherit;\n position: absolute;\n height: 100%;\n width: 1000px;\n max-width: 100%;\n padding: 2rem;\n text-transform: uppercase;\n}\n.rmp-error-output {\n color: rgba(33, 150, 243, 0.8);\n text-shadow: 0 0 1ex #42a5f5, 0 0 2px rgba(255, 255, 255, 0.8);\n font-size: 18px;\n}\n.rmp-error-output::before {\n content: "> ";\n}\n.rmp-error-code {\n color: white;\n}\n.rmp-error-ui.rmp-audio-only .rmp-error-text-wrapper {\n position: absolute;\n left: 0;\n top: 0;\n height: 48px;\n line-height: 48px;\n margin-left: 48px;\n transform: none;\n}\n.rmp-small.rmp-error-ui.rmp-audio-only .rmp-error-text-wrapper,\n.rmp-extrasmall.rmp-error-ui.rmp-audio-only .rmp-error-text-wrapper,\n.rmp-doubleextrasmall.rmp-error-ui.rmp-audio-only .rmp-error-text-wrapper {\n top: 10px;\n height: 24px;\n line-height: 24px;\n margin-left: 24px;\n}\n.rmp-doubleextrasmall .rmp-error p {\n display: none;\n}\n.rmp-error-text-wrapper {\n position: relative;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.rmp-error-text-header {\n font-size: 36px;\n}\n/* Content title and description */\n.rmp-title-area,\n.rmp-cast-diplay-message-area {\n position: absolute;\n opacity: 1;\n visibility: visible;\n padding: 0 8px;\n cursor: default;\n left: 0;\n top: 0;\n width: 100%;\n text-align: left;\n font-size: 18px;\n background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));\n height: 64px;\n line-height: 64px;\n color: #ffffff;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-cast-diplay-message-area {\n display: none;\n}\n.rmp-title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-description,\n.rmp-cast-diplay-message-status {\n position: absolute;\n top: 40px;\n height: 40px;\n line-height: 40px;\n left: 0;\n padding: 0 8px;\n width: 100%;\n font-size: 14px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-title-ui.rmp-title-description-ui .rmp-title-area,\n.rmp-casting .rmp-cast-diplay-message-area {\n height: 80px;\n line-height: 40px;\n}\n.rmp-360-ui .rmp-title-area {\n text-align: center;\n}\n.rmp-tv .rmp-title-area {\n padding: 0;\n height: 108px;\n line-height: 108px;\n}\n.rmp-tv .rmp-title {\n top: 34px;\n left: 96px;\n font-size: 32px;\n line-height: 40px;\n height: 40px;\n position: absolute;\n}\n.rmp-tv .rmp-description {\n left: 96px;\n top: 80px;\n font-size: 24px;\n padding: 0;\n}\n.rmp-tv.rmp-title-ui.rmp-title-description-ui .rmp-title-area {\n height: 154px;\n line-height: 154px;\n}\n/* player container */\n.rmp-container {\n position: relative;\n text-align: center;\n outline: none;\n background-color: #000000;\n padding: 0;\n border: none;\n display: block;\n font-size: 14px;\n max-width: none;\n max-height: none;\n overflow: hidden;\n line-height: normal;\n box-sizing: border-box;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n.rmp-container * {\n box-sizing: border-box;\n}\n.rmp-container img {\n border: none;\n}\n/* applies to the video tag and its wrapper */\n.rmp-video,\n.rmp-content {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: 0;\n padding: 0;\n display: block;\n outline: none;\n}\n/* right to left language (Hebrew) */\n.rmp-rtl {\n direction: rtl;\n}\n/* debug overlay */\n.rmp-debug-overlay {\n background: rgba(0, 0, 0, 0.8);\n color: #ffffff;\n font-size: 12px;\n overflow: auto;\n z-index: 1001;\n width: 100%;\n height: 100%;\n padding: 5px;\n position: absolute;\n left: 0;\n top: 0;\n text-align: left;\n}\n.rmp-debug-overlay-text {\n margin-bottom: 5px;\n}\n/* Accessibility\n * outline is added on focus with JavaScript through the rmp-focus class for keyboard navigation\n * this is for the player container and related items where inset shadows are not rendered */\n.rmp-alt-focus,\n.rmp-related-ui .rmp-alt-focus {\n box-shadow: 0 0 0 2px #2196f3;\n}\n/* this is for inner player UI elements (play, seekbar, fullscreen buttons) */\n.rmp-focus {\n box-shadow: inset 0 0 0 2px #2196f3;\n}\n/* show labels when focus is on */\n.rmp-focus.rmp-play-pause .rmp-control-bar-hint,\n.rmp-focus.rmp-fullscreen .rmp-control-bar-hint,\n.rmp-focus.rmp-quality .rmp-control-bar-hint,\n.rmp-focus.rmp-captions .rmp-control-bar-hint,\n.rmp-focus.rmp-audio .rmp-control-bar-hint,\n.rmp-focus.rmp-quick-rewind-or-forward .rmp-control-bar-hint,\n.rmp-focus.rmp-module .rmp-hint,\n.rmp-focus.rmp-module-overlay-icons .rmp-in-module-hint {\n opacity: 1;\n}\n/* central play/pause button container for desktop */\n.rmp-overlay-button {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 60px;\n margin-top: -30px;\n width: 60px;\n margin-left: -30px;\n opacity: 0;\n visibility: hidden;\n z-index: 1;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* central play/pause button container for mobile */\n.rmp-mobile-central-ui {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 60px;\n margin-top: -30px;\n width: 60px;\n margin-left: -30px;\n opacity: 1;\n visibility: visible;\n z-index: 1;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* central loading spin container */\n.rmp-loading-spin {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 60px;\n margin-top: -30px;\n width: 60px;\n margin-left: -30px;\n opacity: 0;\n visibility: hidden;\n z-index: 1;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* when rmp-waiting is on player container then we force visibility of loading spin */\n.rmp-waiting .rmp-loading-spin {\n opacity: 1 !important;\n visibility: visible !important;\n}\n.rmp-waiting .rmp-overlay-button,\n.rmp-waiting .rmp-mobile-central-ui {\n opacity: 0 !important;\n visibility: hidden !important;\n}\n.rmp-overlay-button .rmp-i-play,\n.rmp-overlay-button .rmp-i-pause,\n.rmp-overlay-button .rmp-i-replay,\n.rmp-mobile-central-ui .rmp-i-play,\n.rmp-mobile-central-ui .rmp-i-pause,\n.rmp-mobile-central-ui .rmp-i-replay {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.rmp-doubleextrasmall .rmp-overlay-button,\n.rmp-doubleextrasmall .rmp-mobile-central-ui,\n.rmp-doubleextrasmall .rmp-loading-spin {\n margin-top: -48px;\n}\n/* hide controls layout */\n.rmp-hide-controls > *:not(.rmp-video):not(.rmp-content):not(.rmp-ad-container):not(.rmp-error):not(.rmp-poster),\n.rmp-no-display,\n.rmp-no-central-play .rmp-overlay-button,\n.rmp-no-central-play .rmp-mobile-central-ui,\n.rmp-no-loading-spin .rmp-loading-spin,\n.rmp-force-no-show {\n display: none !important;\n}\n/* force hidding of central play button on iOS */\nvideo.rmp-video::-webkit-media-controls-start-playback-button {\n display: none !important;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n/* poster container */\n.rmp-poster {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n background-color: #000000;\n display: block;\n}\n/* poster image */\n.rmp-poster-img {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.rmp-poster-img-no-object-fit {\n left: 50%;\n top: 50%;\n width: 100%;\n height: auto;\n transform: translate(-50%, -50%);\n}\n/* posterScaleMode setting */\n.rmp-object-fit-contain {\n object-fit: contain;\n}\n.rmp-object-fit-cover {\n object-fit: cover;\n}\n.rmp-object-fit-fill {\n object-fit: fill;\n}\n.rmp-object-fit-none {\n object-fit: none;\n}\n/* rmp-chrome is added to player container while it is active (user is interacting w/ the player)\n * hence player UI is visible */\n.rmp-chrome .rmp-control-bar,\n.rmp-chrome .rmp-title-area,\n.rmp-chrome .rmp-module,\n.rmp-chrome .rmp-logo,\n.rmp-chrome .rmp-360-nav,\n.rmp-chrome .rmp-playlist-left-arrow,\n.rmp-chrome .rmp-playlist-right-arrow,\n.rmp-chrome .rmp-mobile-central-ui {\n opacity: 1;\n visibility: visible;\n}\n/* rmp-no-chrome is added to player container (and rmp-chrome removed) while the player is idle\n * hence player UI is not visible */\n.rmp-no-chrome .rmp-control-bar,\n.rmp-no-chrome .rmp-title-area,\n.rmp-no-chrome .rmp-module,\n.rmp-no-chrome .rmp-logo,\n.rmp-no-chrome .rmp-360-nav,\n.rmp-no-chrome .rmp-playlist-left-arrow,\n.rmp-no-chrome .rmp-playlist-right-arrow,\n.rmp-no-chrome .rmp-mobile-central-ui {\n opacity: 0;\n visibility: hidden;\n}\n/* when player is hidle then we auto-hide the mouse cursor if it is on player */\n.rmp-no-chrome.rmp-container,\n.rmp-no-chrome .rmp-content,\n.rmp-no-chrome .rmp-video,\n.rmp-no-chrome .rmp-poster,\n.rmp-no-chrome .rmp-poster-img {\n cursor: none;\n}\n/* logo layout */\n.rmp-logo {\n position: absolute;\n display: block;\n opacity: 1;\n visibility: visible;\n margin: 8px;\n max-width: 44%;\n cursor: pointer;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-force-show {\n display: block !important;\n opacity: 1 !important;\n visibility: visible !important;\n}\n.rmp-logo-top-left {\n left: 0;\n top: 0;\n}\n.rmp-logo-bottom-left {\n left: 0;\n bottom: 56px;\n}\n.rmp-logo-top-right {\n right: 0;\n top: 56px;\n}\n.rmp-logo-bottom-right {\n right: 0;\n bottom: 56px;\n}\n.rmp-360-ui .rmp-logo-top-left {\n top: 164px;\n}\n.rmp-title-ui .rmp-logo-top-left {\n top: 64px;\n}\n.rmp-title-description-ui .rmp-logo-top-left {\n top: 80px;\n}\n.rmp-audio-only .rmp-logo,\n.rmp-doubleextrasmall .rmp-logo {\n display: none !important;\n}\n.rmp-fullscreen-on {\n position: fixed !important;\n width: 100% !important;\n height: 100% !important;\n background: #000000 !important;\n overflow: hidden !important;\n z-index: 9999 !important;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n}\n/* 360 video on iOS or where native fullscreen is not available */\n.rmp-full-window-on {\n position: fixed !important;\n background: #000000 !important;\n overflow: hidden !important;\n z-index: 9999 !important;\n width: 100% !important;\n height: 100% !important;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n}\n/* fullscreen on iPadOS */\n.rmp-fullscreen-ipad-os .rmp-360-nav,\n.rmp-fullscreen-ipad-os .rmp-module-overlay-icons {\n top: 76px;\n}\n.rmp-fullscreen-ipad-os .rmp-module,\n.rmp-fullscreen-ipad-os .rmp-ad-click-ui-mobile {\n top: 24px;\n}\n/* fullscreen enhancers for related content */\n.rmp-fullscreen-on .rmp-related-up-next,\n.rmp-fullscreen-on .rmp-related-title,\n.rmp-fullscreen-on .rmp-related-duration {\n height: 28px;\n line-height: 28px;\n font-size: 16px;\n}\n/* ==========================================================================\n General module layout - applies to all modules\n Modules are: RELATED, SHARING, SPEED, CAST, AIRPLAY, CHAPTERS, PiP\n Modules with overlay are: RELATED, SHARING, SPEED, CHAPTERS\n ========================================================================== */\n.rmp-module {\n position: absolute;\n width: 48px;\n height: 48px;\n cursor: pointer;\n opacity: 1;\n visibility: visible;\n top: 8px;\n right: 8px;\n transition-property: opacity, background, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-module ~ .rmp-module {\n right: 64px;\n}\n.rmp-module ~ .rmp-module ~ .rmp-module {\n right: 120px;\n}\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module {\n right: 176px;\n}\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module {\n right: 232px;\n}\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module {\n right: 288px;\n}\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module {\n right: 344px;\n}\n.rmp-module-button {\n width: 48px;\n height: 48px;\n}\n.rmp-module ~ .rmp-module .rmp-module-extended-menu,\n.rmp-module ~ .rmp-module ~ .rmp-module .rmp-module-extended-menu,\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module .rmp-module-extended-menu,\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module .rmp-module-extended-menu,\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module .rmp-module-extended-menu,\n.rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module ~ .rmp-module .rmp-module-extended-menu {\n right: -46px;\n}\n.rmp-module-open-ui .rmp-title-area,\n.rmp-module-open-ui .rmp-logo,\n.rmp-module-open-ui .rmp-control-bar,\n.rmp-module-open-ui .rmp-loading-spin,\n.rmp-module-open-ui .rmp-mobile-central-ui,\n.rmp-module-open-ui .rmp-overlay-button,\n.rmp-module-open-ui .rmp-module,\n.rmp-module-open-ui .rmp-360-nav,\n.rmp-module-open-ui .rmp-360-text,\n.rmp-module-open-ui .rmp-playlist-left-arrow,\n.rmp-module-open-ui .rmp-playlist-right-arrow {\n visibility: hidden !important;\n opacity: 0 !important;\n}\n.rmp-custom-module-icon {\n width: 30px;\n height: 30px;\n background-repeat: no-repeat;\n display: block;\n position: absolute;\n left: 9px;\n top: 9px;\n background-position: center;\n background-size: 100%;\n transition-property: background-image;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-module-overlay {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n background: rgba(0, 0, 0, 0.5);\n opacity: 0;\n visibility: hidden;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-module-overlay-icons {\n cursor: pointer;\n position: absolute;\n top: 8px;\n width: 48px;\n height: 48px;\n}\n.rmp-module-overlay-close {\n right: 8px;\n}\n.rmp-module-overlay-play-pause {\n left: 8px;\n}\n.rmp-module-overlay label {\n display: none;\n}\n.rmp-overlay-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n overflow-x: hidden;\n}\n.rmp-overlay-levels-area {\n margin-bottom: 12px;\n}\n.rmp-overlay-level {\n position: relative;\n height: 30px;\n line-height: 26px;\n width: 172px;\n padding: 0 4px;\n left: 50%;\n margin-left: -86px;\n margin-top: 8px;\n margin-bottom: 8px;\n border: 2px solid;\n cursor: pointer;\n font-family: "Arial", "Helvetica", sans-serif !important;\n transition-property: background, color, border-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-large .rmp-overlay-level {\n height: 48px;\n line-height: 44px;\n width: 276px;\n margin-left: -138px;\n font-size: 18px;\n margin-top: 12px;\n margin-bottom: 12px;\n}\n.rmp-overlay-title {\n position: relative;\n height: 40px;\n margin-top: 8px;\n margin-bottom: 16px;\n line-height: 40px;\n overflow: hidden;\n}\n.rmp-overlay-title-text {\n font-size: 16px;\n}\n.rmp-large .rmp-overlay-title-text {\n font-size: 22px;\n}\n.rmp-sup {\n vertical-align: top;\n top: -4px;\n position: relative;\n font-size: 10px;\n line-height: inherit;\n}\n/* hint for module */\n.rmp-hint,\n.rmp-in-module-hint {\n display: inline-block;\n opacity: 0;\n right: 0;\n font-size: 14px;\n position: absolute;\n top: 52px;\n padding: 0 8px;\n height: 24px;\n line-height: 24px;\n white-space: nowrap;\n font-family: "Arial", "Helvetica", sans-serif !important;\n transition-property: opacity;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-in-module-hint {\n right: auto;\n left: 50%;\n transform: translateX(-50%);\n}\n.rmp-mobile .rmp-hint,\n.rmp-no-hint .rmp-hint,\n.rmp-doubleextrasmall .rmp-hint,\n.rmp-mobile .rmp-in-module-hint,\n.rmp-no-hint .rmp-in-module-hint,\n.rmp-doubleextrasmall .rmp-in-module-hint {\n display: none !important;\n}\n.rmp-module-overlay-close .rmp-in-module-hint {\n right: 0;\n left: auto;\n transform: none;\n}\n.rmp-module-overlay-play-pause .rmp-in-module-hint {\n right: auto;\n left: 0;\n transform: none;\n}\n.rmp-module:hover .rmp-hint,\n.rmp-module-overlay-icons:hover .rmp-in-module-hint {\n opacity: 1;\n}\n/**\n * quality module\n */\n.rmp-quality-indicator {\n border: 1px solid #ffffff;\n padding: 4px;\n}\n/**\n * sharing module\n */\n.rmp-sharing-social {\n position: relative;\n margin-bottom: 16px;\n}\n.rmp-sharing-social-icons {\n margin: 0 10px;\n cursor: pointer;\n}\n.rmp-sharing-link {\n position: relative;\n height: 30px;\n width: 100%;\n margin-bottom: 16px;\n}\n.rmp-sharing-input {\n position: absolute;\n left: 20%;\n width: 60%;\n height: 26px;\n line-height: 26px;\n vertical-align: top;\n color: #000000;\n padding: 0 6px;\n background: #ffffff;\n border: none;\n border-radius: 4px;\n background-clip: padding-box;\n}\n.rmp-sharing-code {\n position: relative;\n height: 30px;\n width: 100%;\n margin-bottom: 16px;\n}\n.rmp-i-link,\n.rmp-i-code {\n position: absolute;\n left: 8%;\n width: 8%;\n}\n.rmp-i-copy {\n position: absolute;\n right: 8%;\n width: 8%;\n cursor: pointer;\n}\n/**\n * chaptering module\n */\n.rmp-chapters-text {\n width: 320px;\n margin-left: -160px;\n}\n.rmp-extrasmall .rmp-chapters-text {\n width: 208px;\n margin-left: -104px;\n font-size: 12px;\n}\n/**\n * Info module\n */\n.rmp-info-text {\n padding: 0 56px;\n text-align: left;\n}\n/**\n * This section applies to FCC settings in the CC menu\n */\n.rmp-module-fcc-settings {\n left: 50%;\n margin-left: -86px;\n height: 30px;\n line-height: 26px;\n width: 172px;\n position: relative;\n border: 2px solid;\n background: none;\n transition-property: color, border-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-module-fcc-settings-default {\n margin-top: 20px;\n margin-bottom: 22px;\n}\n.rmp-overlay-fcc-settings-area .rmp-select {\n position: relative;\n display: block;\n text-align: center;\n text-transform: capitalize;\n left: 50%;\n padding: 2px;\n color: #333;\n border: 1px solid #333;\n border-radius: 4px;\n background-clip: padding-box;\n transform: translate(-50%, 0);\n}\n.rmp-overlay-fcc-settings-area .rmp-option {\n text-transform: capitalize;\n}\n.rmp-module-overlay .rmp-overlay-fcc-settings-area label {\n position: relative;\n display: block;\n text-align: center;\n margin: 12px 0 6px;\n}\n.rmp-overlay-level-active > span:first-of-type::before {\n content: "\\2714";\n padding: 0 4px 0 0;\n}\n/**\n * floating module\n */\n#rmp-anchor-element {\n box-sizing: border-box;\n background-color: #000000;\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n}\n/* Movable element - when player is in detached mode */\n.rmp-container.rmp-detach {\n width: 240px !important;\n height: 135px !important;\n position: fixed;\n bottom: 8px;\n right: 8px;\n z-index: 999999;\n box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.3);\n}\n@media (min-width: 400px) {\n .rmp-container.rmp-detach {\n width: 320px !important;\n height: 180px !important;\n }\n}\n@media (min-width: 576px) {\n .rmp-container.rmp-detach {\n width: 480px !important;\n height: 270px !important;\n }\n}\n.rmp-floating {\n display: none;\n}\n.rmp-detach .rmp-floating {\n display: block;\n}\n/* \n * Live UI (not DVR UI)\n */\n.rmp-live .rmp-time-elapsed-text::before {\n content: "\\2022";\n margin-right: 2px;\n font-size: 50px;\n vertical-align: top;\n}\n.rmp-live .rmp-seek-bar,\n.rmp-live .rmp-duration-text,\n.rmp-live .rmp-time-separator {\n display: none;\n}\n.rmp-live.rmp-small .rmp-time,\n.rmp-live.rmp-extrasmall .rmp-time,\n.rmp-live.rmp-doubleextrasmall .rmp-time {\n height: 24px;\n line-height: 16px;\n}\n/* \n * DVR UI \n */\n/* when casting is engaged DVR streams are handled as simple live streams by Google Cast receiving app */\n.rmp-casting.rmp-dvr .rmp-time-total,\n.rmp-casting.rmp-dvr .rmp-duration-text,\n.rmp-dvr .rmp-time-separator {\n display: none;\n}\n.rmp-dvr .rmp-time {\n cursor: pointer;\n}\n.rmp-dvr .rmp-time-elapsed-text {\n padding: 3px 6px;\n top: -6px;\n}\n.rmp-dvr.rmp-dvr-vod .rmp-time-elapsed-text::before {\n content: "\\21BA";\n padding-right: 2px;\n}\n.rmp-dvr.rmp-dvr-vod .rmp-i-dvr {\n display: none;\n}\n.rmp-dvr.rmp-dvr-vod .rmp-duration-text {\n display: inline;\n margin-left: 8px;\n font-size: 12px;\n}\n.rmp-dvr.rmp-dvr-vod .rmp-time-elapsed-text {\n top: 0;\n}\n.rmp-dvr.rmp-dvr-vod .rmp-time {\n overflow: visible;\n}\n.rmp-dvr.rmp-dvr-vod.rmp-small .rmp-quality .rmp-control-bar-hint,\n.rmp-dvr.rmp-dvr-vod.rmp-small .rmp-fullscreen .rmp-control-bar-hint,\n.rmp-dvr.rmp-dvr-vod.rmp-extrasmall .rmp-quality .rmp-control-bar-hint,\n.rmp-dvr.rmp-dvr-vod.rmp-extrasmall .rmp-fullscreen .rmp-control-bar-hint {\n display: none;\n}\n.rmp-dvr.rmp-dvr-vod.rmp-small .rmp-time,\n.rmp-dvr.rmp-dvr-vod.rmp-extrasmall .rmp-time,\n.rmp-dvr.rmp-dvr-vod.rmp-doubleextrasmall .rmp-time {\n height: 36px;\n line-height: 28px;\n width: 120px;\n}\n/* rmp-dvr-live class is on when we are in live mode inside a DVR stream */\n.rmp-dvr.rmp-dvr-live .rmp-i-dvr {\n margin-left: 16px;\n display: inline;\n}\n.rmp-dvr.rmp-dvr-live.rmp-small .rmp-i-dvr,\n.rmp-dvr.rmp-dvr-live.rmp-extrasmall .rmp-i-dvr {\n margin-left: 8px;\n}\n.rmp-dvr.rmp-dvr-live .rmp-duration-text {\n display: none;\n}\n/* Google Cast - .rmp-cast is the module for casting - also has the .rmp-module class */\n.rmp-cast {\n position: absolute;\n cursor: pointer;\n display: block;\n opacity: 1;\n}\n/* the Google-provided cast button within the module */\ngoogle-cast-launcher {\n padding: 0;\n margin: 0;\n border: none;\n display: inline-block;\n background: transparent;\n width: 30px;\n height: 30px;\n margin-top: 9px;\n cursor: pointer;\n outline: none;\n float: none;\n text-align: center;\n -webkit-filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.2));\n filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.2));\n}\n/* when casting is engaged .rmp-casting is applied on player container (.rmp-container) */\n.rmp-casting-module-overlay-open .rmp-cast-diplay-message-area {\n display: none !important;\n}\n.rmp-casting .rmp-cast-diplay-message-area {\n display: block;\n}\n/* when casting all modules, logo, fullscreen, chapters should be hidden ... */\n.rmp-casting .rmp-module,\n.rmp-casting .rmp-quality,\n.rmp-casting .rmp-logo,\n.rmp-casting .rmp-loaded,\n.rmp-casting .rmp-fullscreen,\n.rmp-casting .rmp-title-area {\n display: none !important;\n}\n/* ... except for the closed captions, related, audio and cast modules\n * on Android Google Cast module is adjusted with physical devices */\n.rmp-casting:not(.rmp-casting-module-overlay-open) .rmp-module.rmp-cast,\n.rmp-casting:not(.rmp-casting-module-overlay-open) .rmp-module.rmp-related,\n.rmp-casting:not(.rmp-casting-module-overlay-open) .rmp-control-bar,\n.rmp-casting:not(.rmp-casting-module-overlay-open):not(.rmp-waiting) .rmp-mobile-central-ui,\n.rmp-casting:not(.rmp-casting-module-overlay-open) .rmp-playlist-left-arrow,\n.rmp-casting:not(.rmp-casting-module-overlay-open) .rmp-playlist-right-arrow {\n display: block !important;\n visibility: visible !important;\n opacity: 1 !important;\n}\n/* we do not support casting captions and multi audio tracks with Google Cast Cordova as of now */\n.rmp-casting.rmp-casting-cordova .rmp-module.rmp-captions,\n.rmp-casting.rmp-casting-cordova .rmp-module.rmp-audio {\n display: none !important;\n}\n.rmp-casting .rmp-module-overlay {\n z-index: 1;\n}\n.rmp-casting .rmp-poster {\n display: block !important;\n}\n/* 360 layout */\n.rmp-360-ui .rmp-content {\n touch-action: none;\n}\n.rmp-canvas-360 {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.rmp-360-nav {\n position: absolute;\n top: 8px;\n left: 8px;\n width: 114px;\n height: 156px;\n opacity: 1;\n visibility: visible;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-small .rmp-360-nav {\n height: 106px;\n width: 106px;\n}\n.rmp-doubleextrasmall .rmp-360-nav,\n.rmp-extrasmall .rmp-360-nav,\n.rmp-doubleextrasmall .rmp-360-text {\n display: none !important;\n}\n.rmp-360-text {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 80px;\n height: 40px;\n line-height: 40px;\n font-size: 24px;\n margin-left: -40px;\n margin-top: -78px;\n text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n}\n.rmp-extrasmall .rmp-360-text {\n font-size: 16px;\n width: 48px;\n height: 24px;\n line-height: 24px;\n margin-left: -24px;\n margin-top: -58px;\n}\n.rmp-360-nav-button {\n width: 30px;\n height: 30px;\n position: absolute;\n}\n.rmp-360-nav-top {\n top: 6px;\n left: 42px;\n}\n.rmp-small .rmp-360-nav-top {\n top: 4px;\n left: 38px;\n}\n.rmp-360-nav-bottom {\n left: 42px;\n top: 78px;\n}\n.rmp-small .rmp-360-nav-bottom {\n left: 38px;\n top: 72px;\n}\n.rmp-360-nav-left {\n left: 6px;\n top: 42px;\n}\n.rmp-small .rmp-360-nav-left {\n left: 4px;\n top: 38px;\n}\n.rmp-360-nav-right {\n left: 78px;\n top: 42px;\n}\n.rmp-small .rmp-360-nav-right {\n left: 72px;\n top: 38px;\n}\n.rmp-360-nav-plus {\n left: 78px;\n top: 120px;\n}\n.rmp-360-nav-reset {\n left: 42px;\n top: 120px;\n}\n.rmp-360-nav-minus {\n left: 6px;\n top: 120px;\n}\n.rmp-small .rmp-360-nav-plus,\n.rmp-small .rmp-360-nav-reset,\n.rmp-small .rmp-360-nav-minus {\n display: none;\n}\n/* ==========================================================================\n This section applies to styling CC/subtitles when they are rendered\n with vtt.js or natively\n This includes styling for CC/subtitles according to FCC settings\n ========================================================================== */\n/**\n * vtt.js\n */\n/* closed caption rendering area */\n.rmp-cc-area {\n width: 100%;\n height: 100%;\n position: absolute;\n bottom: 0;\n left: 0;\n margin: 0;\n padding: 0;\n background: transparent;\n transition-property: bottom;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* when control bar is visible move up CAPTIONS area so that captions are not hidden by control bar */\n.rmp-chrome .rmp-cc-area {\n bottom: 40px;\n}\n/* when control bar is NOT visible move down CAPTIONS area */\n.rmp-no-chrome .rmp-cc-area {\n bottom: 0;\n}\n/* .rmp-cc-display is child of .rmp-cc-container child of .rmp-cc-area - apply CSS if required\n for FCC settings this is the window area */\n.rmp-cc-display {\n padding: 1px 2px;\n font-size: 17px !important;\n background-color: rgba(0, 0, 0, 0) !important;\n}\n/* .rmp-cc-cue is child of .rmp-cc-display */\n.rmp-cc-cue {\n margin: 0;\n float: none;\n text-transform: none;\n vertical-align: baseline;\n border: none;\n padding: 1px 2px;\n color: #ffffff !important;\n text-shadow: none;\n font-size: 100% !important;\n background-color: rgba(0, 0, 0, 0.5) !important;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n.rmp-fullscreen-on .rmp-cc-cue {\n font-size: 150% !important;\n}\n/**\n * This section applies to CC when they are rendered through DASH & hls.js (in-band or in-manifest) \n * In this case we use the native browser CC rendering engine\n */\n.rmp-chrome.rmp-s1 video.rmp-video::-webkit-media-text-track-container {\n transform: translateY(-48px);\n}\n.rmp-no-chrome.rmp-s1 video.rmp-video::-webkit-media-text-track-container {\n transform: translateY(0);\n}\n.rmp-chrome.rmp-s2 video.rmp-video::-webkit-media-text-track-container {\n transform: translateY(-54px);\n}\n.rmp-no-chrome.rmp-s2 video.rmp-video::-webkit-media-text-track-container {\n transform: translateY(0);\n}\nvideo.rmp-video::-webkit-media-text-track-container {\n transition-property: transform;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-transcripts-container {\n width: 100%;\n height: auto;\n margin: 0 auto;\n box-sizing: border-box;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n.rmp-transcripts-container * {\n box-sizing: border-box;\n}\n.rmp-transcripts-player-wrapper {\n float: none;\n}\n/* transcripts side menu */\n.rmp-transcripts-side-menu {\n overflow: auto;\n overflow-x: hidden;\n position: relative;\n float: none;\n height: auto;\n max-height: 480px;\n width: 100%;\n}\n/* transcripts side menu header */\n.rmp-transcripts-header {\n position: relative;\n width: 100%;\n text-align: center;\n height: 32px;\n line-height: 32px;\n font-size: 16px;\n}\n.rmp-transcripts-body {\n padding: 5px 10px;\n text-align: left;\n background: rgba(0, 0, 0, 0.3);\n}\n/* transcripts side menu item */\n.rmp-transcripts-item {\n height: 64px;\n position: relative;\n cursor: pointer;\n font-size: 14px;\n padding: 2px;\n transition-property: color, background;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n@media (min-width: 768px) {\n .rmp-transcripts-container {\n width: 740px;\n height: 270px;\n }\n .rmp-transcripts-player-wrapper {\n width: 480px;\n height: 270px;\n float: left;\n }\n .rmp-transcripts-side-menu {\n float: left;\n width: 260px;\n height: 270px;\n }\n}\n@media (min-width: 992px) {\n .rmp-transcripts-container {\n width: 980px;\n height: 360px;\n }\n .rmp-transcripts-player-wrapper {\n width: 640px;\n height: 360px;\n float: left;\n }\n .rmp-transcripts-side-menu {\n float: left;\n width: 340px;\n height: 360px;\n }\n}\n@media (min-width: 1200px) {\n .rmp-transcripts-container {\n width: 1180px;\n height: 468px;\n }\n .rmp-transcripts-player-wrapper {\n width: 832px;\n height: 468px;\n float: left;\n }\n .rmp-transcripts-side-menu {\n float: left;\n width: 348px;\n height: 468px;\n }\n}\n/* control bar related skip button */\n.rmp-related-skip-next {\n cursor: pointer;\n position: absolute;\n left: 104px;\n width: 48px;\n height: 48px;\n white-space: nowrap;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-container.rmp-related-ui .rmp-time {\n left: 152px;\n}\n.rmp-container.rmp-related-ui.rmp-small .rmp-time,\n.rmp-container.rmp-related-ui.rmp-extrasmall .rmp-time {\n left: auto;\n right: 8px;\n}\n.rmp-container.rmp-related-ui .rmp-seek-bar {\n left: 264px;\n width: calc(100% - 264px - 120px);\n}\n.rmp-container.rmp-related-ui.rmp-small .rmp-seek-bar,\n.rmp-container.rmp-related-ui.rmp-extrasmall .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 120px);\n}\n.rmp-container.rmp-related-ui.rmp-extrasmall .rmp-related-skip-preview,\n.rmp-container.rmp-related-ui.rmp-doubleextrasmall .rmp-related-skip-preview,\n.rmp-container.rmp-related-ui.rmp-doubleextrasmall .rmp-seek-bar {\n display: none !important;\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui .rmp-seek-bar,\n.rmp-container.rmp-related-ui.rmp-audio-ui .rmp-seek-bar {\n width: calc(100% - 264px - 168px);\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui.rmp-small .rmp-seek-bar,\n.rmp-container.rmp-related-ui.rmp-audio-ui.rmp-small .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 168px);\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui.rmp-extrasmall .rmp-seek-bar,\n.rmp-container.rmp-related-ui.rmp-audio-ui.rmp-extrasmall .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 120px);\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar {\n left: 264px;\n width: calc(100% - 264px - 216px);\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui.rmp-audio-ui.rmp-small .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 216px);\n}\n.rmp-container.rmp-related-ui.rmp-captions-ui.rmp-audio-ui.rmp-extrasmall .rmp-seek-bar {\n left: 168px;\n width: calc(100% - 168px - 120px);\n}\n/* skip overlay */\n.rmp-related-skip-preview {\n position: absolute;\n top: -152px;\n left: 20px;\n margin-left: -25px;\n width: 192px;\n height: 152px;\n opacity: 0;\n visibility: hidden;\n font-size: 14px;\n cursor: pointer;\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-small .rmp-related-skip-preview {\n top: -124px;\n width: 156px;\n height: 124px;\n}\n.rmp-extrasmall .rmp-related-skip-preview {\n top: -96px;\n width: 120px;\n height: 96px;\n font-size: 12px;\n}\n.rmp-related-skip-preview-img {\n object-fit: cover;\n position: absolute;\n left: 0;\n top: 22px;\n width: 192px;\n height: 108px;\n}\n.rmp-small .rmp-related-skip-preview-img {\n width: 156px;\n height: 80px;\n}\n.rmp-extrasmall .rmp-related-skip-preview-img {\n width: 120px;\n height: 52px;\n}\n.rmp-related-skip-preview-up-next {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 22px;\n line-height: 22px;\n padding: 0 4px;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n.rmp-related-ui .rmp-related-skip-preview-title {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 22px;\n line-height: 22px;\n padding: 0 4px;\n font-family: "Arial", "Helvetica", sans-serif !important;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n/* related wall */\n.rmp-related-item {\n cursor: pointer;\n position: absolute;\n background: #000000;\n margin-bottom: 12px;\n transition-property: border-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-related-thumbnail {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.rmp-related-title {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 24px;\n line-height: 24px;\n padding: 0 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-related-duration {\n position: absolute;\n top: 0;\n right: 0;\n width: auto;\n padding: 0 5px;\n height: 24px;\n line-height: 24px;\n}\n.rmp-related-up-next {\n position: absolute;\n top: 0;\n left: 0;\n width: auto;\n padding: 0 5px;\n height: 24px;\n line-height: 24px;\n}\n.rmp-related-item-bottom-margin {\n position: absolute;\n left: 0;\n width: 100%;\n height: 28px;\n background-color: transparent;\n}\n/* Audio only related */\n.rmp-related-audio-only .rmp-poster {\n display: block !important;\n}\n/* playlist slider + player container */\n.rmp-playlist-container {\n width: 100%;\n height: auto;\n margin: 0 auto;\n box-sizing: border-box;\n font-family: "Arial", "Helvetica", sans-serif !important;\n}\n.rmp-playlist-container * {\n box-sizing: border-box;\n}\n.rmp-playlist-player-wrapper {\n float: none;\n}\n/* in-player navigation arrows */\n.rmp-playlist-left-arrow {\n left: 8px;\n width: 50px;\n height: 50px;\n position: absolute;\n top: 50%;\n opacity: 1;\n visibility: visible;\n cursor: pointer;\n border-radius: 4px;\n background-clip: padding-box;\n transform: translateY(-50%);\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-playlist-right-arrow {\n right: 8px;\n width: 50px;\n height: 50px;\n position: absolute;\n top: 50%;\n opacity: 1;\n visibility: visible;\n cursor: pointer;\n border-radius: 4px;\n background-clip: padding-box;\n transform: translateY(-50%);\n transition-property: opacity, visibility;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n/* playlist side menu */\n.rmp-playlist-side-menu {\n overflow: auto;\n overflow-x: hidden;\n position: relative;\n float: none;\n height: auto;\n max-height: 480px;\n width: 100%;\n}\n/* playlist side menu header */\n.rmp-playlist-header {\n position: relative;\n width: 100%;\n text-align: center;\n height: 32px;\n line-height: 32px;\n font-size: 16px;\n}\n/* playlist side menu item */\n.rmp-playlist-item {\n height: 64px;\n position: relative;\n cursor: pointer;\n background: rgba(0, 0, 0, 0.3);\n}\n.rmp-playlist-item:focus {\n outline: none;\n}\n.rmp-playlist-item:hover {\n border-color: transparent;\n background: rgba(255, 255, 255, 0.3);\n}\n/* playlist side menu item number */\n.rmp-playlist-item-number {\n position: absolute;\n left: 0;\n width: 6%;\n text-align: center;\n line-height: 64px;\n font-size: 14px;\n}\n/* playlist side menu item img */\n.rmp-playlist-item-thumbnail-wrapper {\n position: absolute;\n top: 50%;\n width: 15%;\n height: auto;\n left: 9%;\n}\n.rmp-playlist-item-thumbnail {\n width: 100%;\n height: auto;\n max-height: 49px;\n max-width: 84px;\n transform: translateY(-50%);\n}\n/* playlist side menu item text section */\n.rmp-playlist-item-text-area {\n position: absolute;\n left: 27%;\n width: 70%;\n top: 50%;\n max-height: 100%;\n overflow: hidden;\n padding: 2px 2px 2px 0;\n transform: translateY(-50%);\n}\n/* playlist side menu item title */\n.rmp-playlist-item-title {\n width: 100%;\n font-size: 14px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n/* playlist side menu item description */\n.rmp-playlist-item-description {\n width: 100%;\n opacity: 0.85;\n font-size: 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n box-orient: vertical;\n}\n.rmp-playlist-item-active {\n border-color: transparent;\n background: rgba(255, 255, 255, 0.3);\n}\n.rmp-doubleextrasmall .rmp-playlist-right-arrow,\n.rmp-doubleextrasmall .rmp-playlist-left-arrow {\n display: none !important;\n}\n/* Audio only playlist */\n.rmp-playlist-audio-only .rmp-poster {\n display: block !important;\n}\n/* media queries */\n@media (min-width: 768px) {\n .rmp-playlist-player-wrapper {\n width: 480px;\n height: 270px;\n float: left;\n }\n .rmp-playlist-container {\n width: 720px;\n height: 270px;\n }\n .rmp-playlist-side-menu {\n float: left;\n width: 240px;\n height: 270px;\n }\n .rmp-playlist-item-number {\n width: 25px;\n }\n .rmp-playlist-item-thumbnail {\n max-height: none;\n max-width: none;\n height: 100%;\n }\n .rmp-playlist-item-thumbnail-wrapper {\n left: 25px;\n width: 69px;\n height: 40px;\n }\n .rmp-playlist-item-text-area {\n left: 104px;\n width: 126px;\n }\n}\n@media (min-width: 992px) {\n .rmp-playlist-player-wrapper {\n width: 640px;\n height: 360px;\n float: left;\n }\n .rmp-playlist-container {\n width: 960px;\n height: 360px;\n }\n .rmp-playlist-side-menu {\n float: left;\n width: 320px;\n height: 360px;\n }\n .rmp-playlist-item-number {\n width: 25px;\n }\n .rmp-playlist-item-thumbnail-wrapper {\n left: 25px;\n width: 84px;\n height: 49px;\n }\n .rmp-playlist-item-text-area {\n left: 119px;\n width: 179px;\n }\n}\n@media (min-width: 1200px) {\n .rmp-playlist-player-wrapper {\n width: 832px;\n height: 468px;\n float: left;\n }\n .rmp-playlist-container {\n width: 1140px;\n height: 468px;\n }\n .rmp-playlist-side-menu {\n float: left;\n width: 308px;\n height: 468px;\n }\n}\n/* audio-only */\n/* audio only */\n.rmp-audio-only .rmp-title-area,\n.rmp-audio-only .rmp-module:not(.rmp-cast):not(.rmp-airplay),\n.rmp-audio-only .rmp-quality,\n.rmp-audio-only .rmp-audio,\n.rmp-audio-only .rmp-captions,\n.rmp-audio-only .rmp-overlay-button,\n.rmp-audio-only .rmp-mobile-central-ui,\n.rmp-audio-only .rmp-indicator,\n.rmp-audio-only .rmp-fullscreen,\n.rmp-audio-only .rmp-volume-container {\n display: none !important;\n}\n/* do not auto hide controls bar */\n.rmp-audio-only .rmp-control-bar {\n opacity: 1 !important;\n visibility: visible !important;\n display: block !important;\n}\n/* error when audioOnly */\n.rmp-audio-only .rmp-error-text {\n position: absolute;\n top: 0;\n left: 0;\n background: #000000;\n color: #ffffff;\n height: 100%;\n width: 100%;\n line-height: 48px;\n padding: 0;\n border: none;\n z-index: 1000;\n margin-top: 0;\n font-size: 14px;\n transform: none;\n}\n.rmp-audio-only .rmp-volume,\n.rmp-audio-only.rmp-small .rmp-volume,\n.rmp-audio-only.rmp-extrasmall .rmp-volume,\n.rmp-audio-only .rmp-volume-container,\n.rmp-audio-only.rmp-small .rmp-volume-container,\n.rmp-audio-only.rmp-extrasmall .rmp-volume-container {\n left: 56px;\n}\n.rmp-audio-only .rmp-i-minus {\n position: absolute;\n cursor: pointer;\n width: 48px;\n height: 48px;\n left: 104px;\n}\n.rmp-audio-only .rmp-i-plus {\n position: absolute;\n cursor: pointer;\n width: 48px;\n height: 48px;\n left: 152px;\n}\n.rmp-audio-only .rmp-time {\n left: 200px;\n}\n.rmp-audio-only.rmp-small .rmp-time,\n.rmp-audio-only.rmp-extrasmall .rmp-time {\n left: 200px;\n right: auto;\n bottom: 0;\n background: none;\n height: 48px;\n line-height: 48px;\n padding: 0;\n font-size: 12px;\n width: 84px;\n}\n.rmp-audio-only .rmp-seek-bar {\n left: 312px;\n width: calc(100% - 312px - 24px);\n}\n.rmp-audio-only.rmp-cast-ui .rmp-seek-bar,\n.rmp-audio-only.rmp-airplay-ui .rmp-seek-bar {\n width: calc(100% - 312px - 72px);\n}\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n left: 360px;\n width: calc(100% - 360px - 24px);\n}\n.rmp-audio-only.rmp-cast-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-audio-only.rmp-airplay-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n width: calc(100% - 360px - 72px);\n}\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n left: 408px;\n width: calc(100% - 408px - 24px);\n}\n.rmp-audio-only.rmp-cast-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar,\n.rmp-audio-only.rmp-airplay-ui.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n width: calc(100% - 408px - 72px);\n}\n.rmp-audio-only .rmp-cast,\n.rmp-audio-only .rmp-airplay {\n right: 8px !important;\n top: 0;\n width: 48px;\n height: 48px;\n opacity: 1 !important;\n visibility: visible !important;\n display: block !important;\n}\n.rmp-audio-only.rmp-extrasmall .rmp-cast,\n.rmp-audio-only.rmp-extrasmall .rmp-airplay,\n.rmp-audio-only.rmp-small .rmp-seek-bar,\n.rmp-audio-only.rmp-extrasmall .rmp-seek-bar,\n.rmp-audio-only.rmp-doubleextrasmall .rmp-seek-bar,\n.rmp-audio-only.rmp-doubleextrasmall .rmp-airplay,\n.rmp-audio-only.rmp-doubleextrasmall .rmp-cast,\n.rmp-audio-only.rmp-doubleextrasmall .rmp-quick-rewind-or-forward,\n.rmp-audio-only.rmp-doubleextrasmall .rmp-quick-rewind-and-forward {\n display: none !important;\n}\n.rmp-audio-only.rmp-small .rmp-quick-rewind-or-forward,\n.rmp-audio-only.rmp-extrasmall .rmp-quick-rewind-or-forward,\n.rmp-audio-only.rmp-small .rmp-quick-rewind-and-forward,\n.rmp-audio-only.rmp-extrasmall .rmp-quick-rewind-and-forward {\n display: block !important;\n}\n.rmp-audio-only.rmp-doubleextrasmall .rmp-i-minus {\n left: auto;\n right: 56px;\n}\n.rmp-audio-only.rmp-doubleextrasmall .rmp-i-plus {\n left: auto;\n right: 8px;\n}\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-volume-container,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-volume-container,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume-container {\n left: 104px;\n}\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-i-minus,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-i-minus,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-i-minus {\n left: 152px;\n}\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-i-plus,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-i-plus,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-i-plus {\n left: 200px;\n}\n.rmp-audio-only.rmp-quick-rewind-or-forward-ui .rmp-time {\n left: 248px;\n}\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-time,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-time,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-or-forward-ui .rmp-seek-bar {\n display: none !important;\n}\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-volume-container,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-volume-container,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-volume-container {\n left: 152px;\n}\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-i-minus,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-i-minus,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-i-minus {\n left: 200px;\n}\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-i-plus,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-i-plus,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-i-plus {\n left: 248px;\n}\n.rmp-audio-only.rmp-quick-rewind-and-forward-ui .rmp-time {\n left: 296px;\n}\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-time,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-time,\n.rmp-audio-only.rmp-small.rmp-quick-rewind-and-forward-ui .rmp-seek-bar,\n.rmp-audio-only.rmp-extrasmall.rmp-quick-rewind-and-forward-ui .rmp-seek-bar {\n display: none !important;\n}\n.rmp-audio-only.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-audio-only.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-volume-container {\n left: 56px;\n}\n.rmp-audio-only.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-i-minus {\n left: 104px;\n}\n.rmp-audio-only.rmp-doubleextrasmall.rmp-quick-rewind-or-forward-ui .rmp-i-plus {\n left: 152px;\n}\n/* DVR adjustment */\n.rmp-dvr.rmp-small .rmp-time,\n.rmp-dvr.rmp-extrasmall .rmp-time {\n display: none !important;\n}\n/* \n * spinner \n */\n.rmp-audio-only .rmp-loading-spin {\n left: 8px;\n top: 0;\n width: 48px;\n height: 48px;\n margin-top: 0;\n margin-left: 0;\n}\n.rmp-audio-only .rmp-loading-spin-circle {\n width: 34px;\n height: 34px;\n top: 7px;\n left: 7px;\n}\n.rmp-audio-only.rmp-waiting .rmp-play-pause {\n display: none !important;\n}\n.rmp-audio-only-use-video-layout .rmp-poster {\n display: block !important;\n}\n/* ads */\n/* ad container where ads are rendered */\n.rmp-ad-container {\n position: absolute;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n outline: none;\n display: block;\n text-align: initial;\n}\n/* non-linear (overlay ads) bottom offset\n this is not applied in case non-linear ad is taking the full height of the player */\n.rmp-ad-overlay {\n top: -48px;\n}\n.rmp-ad-no-auto-align {\n top: 0;\n}\n/* ad information within control bar */\n.rmp-ad-info {\n position: absolute;\n left: 112px;\n height: 48px;\n line-height: 48px;\n text-align: initial;\n max-width: calc(100% - 112px - 64px);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rmp-ad-info-message {\n padding: 3px 6px;\n font-weight: bold;\n}\n.rmp-ad-info-pod,\n.rmp-ad-info-countdown {\n margin-left: 8px;\n}\n/* remaining time bar for ads */\n.rmp-ad-current-time {\n position: absolute;\n bottom: 48px;\n height: 4px;\n transition-property: width;\n transition-duration: 0.2s;\n transition-timing-function: linear;\n}\n/* \n * skip button \n * This is used for Google Cast \n * When casting is engaged you can skip ad on the remote player\n */\n.rmp-ad-skip {\n position: absolute;\n right: 0;\n bottom: 44px;\n width: 138px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n cursor: pointer;\n background-color: #333;\n border: 1px solid #333;\n transition-property: border-color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-ad-skip:hover {\n border-color: #000000;\n}\n.rmp-ad-skip-waiting {\n width: 100%;\n position: absolute;\n padding: 0 4px;\n color: #cfcfcf;\n top: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-ad-skip-message {\n width: 65%;\n position: absolute;\n left: 5%;\n top: 0;\n color: #ffffff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.rmp-ad-skip-icon {\n position: absolute;\n top: 0;\n left: 75%;\n width: 20%;\n background-image: url('+m+');\n height: 100%;\n background-repeat: no-repeat;\n background-position: center;\n opacity: 0.75;\n transition-property: opacity;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-ad-skip:hover .rmp-ad-skip-icon {\n opacity: 1;\n}\n/* rmp-vast - adjustments */\n.rmp-ad-container .rmp-ad-non-linear-container,\n.rmp-ad-container .rmp-ad-container-skip {\n bottom: 52px;\n}\n/* IMA DAI */\n.rmp-ima-dai-click-area {\n display: none;\n position: absolute;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n}\n/* ad scheduler */\n.rmp-ad-markers {\n position: absolute;\n top: 0;\n height: 100%;\n width: 6px;\n}\n.rmp-linear-ad-ui .rmp-title-area,\n.rmp-linear-ad-ui .rmp-module,\n.rmp-linear-ad-ui .rmp-quality,\n.rmp-linear-ad-ui .rmp-audio,\n.rmp-linear-ad-ui .rmp-captions,\n.rmp-linear-ad-ui .rmp-fullscreen .rmp-control-bar-hint,\n.rmp-linear-ad-ui .rmp-quick-rewind-or-forward,\n.rmp-linear-ad-ui .rmp-quick-rewind-and-forward,\n.rmp-linear-ad-ui .rmp-fast-rewind,\n.rmp-linear-ad-ui .rmp-fast-forward,\n.rmp-linear-ad-ui .rmp-i-plus,\n.rmp-linear-ad-ui .rmp-i-minus {\n display: none !important;\n}\n/* \n * VPAID \n *\n * VPAID with no controls or full-slot ad sense === no UI while ad is on stage \n */\n.rmp-ad-no-ui .rmp-control-bar,\n.rmp-ad-no-ui .rmp-module,\n.rmp-ad-no-ui .rmp-loading-spin,\n.rmp-ad-no-ui .rmp-mobile-central-ui,\n.rmp-ad-no-ui .rmp-overlay-button {\n display: none !important;\n}\n/* VPAID with adVpaidControls: true - force display of controls */\n.rmp-ad-vpaid-force-controls .rmp-control-bar {\n display: block !important;\n opacity: 1 !important;\n visibility: visible !important;\n}\n.rmp-linear-ad-ui.rmp-quick-rewind-or-forward-ui .rmp-volume,\n.rmp-linear-ad-ui.rmp-quick-rewind-or-forward-ui .rmp-volume-container {\n left: 56px;\n}\n/* icons */\n.rmp-i {\n font-family: \'rmp-font\' !important;\n /* stylelint-disable-line font-family-no-missing-generic-family-keyword */\n speak: never;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n transition-property: color;\n transition-duration: 0.4s;\n transition-timing-function: ease-in;\n}\n.rmp-i-captions::before {\n content: "\\e048";\n}\n.rmp-i-facebook::before {\n content: "\\f09a";\n}\n.rmp-i-twitter::before {\n content: "\\f099";\n}\n.rmp-i-linkedin::before {\n content: "\\f0e1";\n}\n.rmp-i-reddit::before {\n content: "\\f281";\n}\n.rmp-i-whatsapp::before {\n content: "\\f232";\n}\n.rmp-i-email::before {\n content: "\\f003";\n}\n.rmp-i-code::before {\n content: "\\f121";\n}\n.rmp-i-link::before {\n content: "\\f0c1";\n}\n.rmp-i-copy::before {\n content: "\\f0c5";\n}\n.rmp-i-left::before {\n content: "\\f137";\n}\n.rmp-i-right::before {\n content: "\\f138";\n}\n.rmp-i-up::before {\n content: "\\f139";\n}\n.rmp-i-down::before {\n content: "\\f13a";\n}\n.rmp-i-plus-360::before {\n content: "\\f055";\n}\n.rmp-i-minus-360::before {\n content: "\\f056";\n}\n.rmp-i-reset-360::before {\n content: "\\f192";\n}\n.rmp-i-dvr::before {\n content: "\\e91b";\n}\n.rmp-i-quick-rewind-5::before {\n content: "\\e05b";\n}\n.rmp-i-quick-rewind-10::before {\n content: "\\e059";\n}\n.rmp-i-quick-rewind-30::before {\n content: "\\e05a";\n}\n.rmp-i-quick-rewind-tv::before {\n content: "\\e059";\n}\n.rmp-i-quick-forward-5::before {\n content: "\\e058";\n}\n.rmp-i-quick-forward-10::before {\n content: "\\e05d";\n}\n.rmp-i-quick-forward-30::before {\n content: "\\e057";\n}\n.rmp-i-quick-forward-tv::before {\n content: "\\e05d";\n}\n.rmp-i-airplay::before {\n content: "\\e055";\n}\n.rmp-i-airplay-connected {\n color: #2196f3;\n}\n.rmp-i-google-cast::before {\n content: "\\e307";\n}\n.rmp-i-google-cast-connected::before {\n content: "\\e308";\n color: #2196f3;\n}\n.rmp-i-pip::before {\n content: "\\e926";\n}\n.rmp-i-info::before {\n content: "\\e88f";\n}\n.rmp-i-loop::before {\n content: "\\e041";\n}\n.rmp-i-theater::before {\n content: "\\e3bc";\n}\n.rmp-theater-on .rmp-i-theater::before {\n content: "\\e3c0";\n}\n.rmp-i-chapters::before {\n content: "\\f02e";\n}\n.grabbing {\n cursor: grab;\n}\n/* icons in the control bar */\n.rmp-control-bar .rmp-i {\n font-size: 1.86em;\n}\n/* icons when a module is open */\n.rmp-module-overlay .rmp-i {\n font-size: 2.14em;\n}\n/* playlist navigation icons */\n.rmp-playlist-left-arrow,\n.rmp-playlist-right-arrow {\n font-size: 2.42em;\n}\n/* module icons */\n.rmp-module .rmp-i {\n position: absolute;\n left: 50%;\n top: 50%;\n font-size: 2.14em;\n transform: translate(-50%, -50%);\n}\n/* 360 nav icon */\n.rmp-360-nav-button {\n font-size: 2.14em;\n}\n/* social icons when sharing module is open */\n.rmp-module-overlay .rmp-sharing-social .rmp-i {\n font-size: 2.14em;\n}\n/* central play icon */\n.rmp-overlay-button .rmp-i-play,\n.rmp-overlay-button .rmp-i-pause,\n.rmp-overlay-button .rmp-i-replay,\n.rmp-mobile-central-ui .rmp-i-play,\n.rmp-mobile-central-ui .rmp-i-pause,\n.rmp-mobile-central-ui .rmp-i-replay {\n font-size: 3.14em;\n}\n.rmp-font-awesome .rmp-i-play::before {\n content: "\\f04b";\n}\n.rmp-font-awesome .rmp-i-replay::before {\n content: "\\f0e2";\n}\n.rmp-font-awesome .rmp-i-pause::before {\n content: "\\f04c";\n}\n.rmp-font-awesome .rmp-i-volume::before {\n content: "\\f028";\n}\n.rmp-font-awesome .rmp-i-volume-half::before {\n content: "\\f027";\n}\n.rmp-font-awesome .rmp-i-off-volume::before {\n content: "\\f026";\n}\n.rmp-font-awesome .rmp-i-resize-full::before {\n content: "\\f065";\n}\n.rmp-font-awesome .rmp-i-resize-small::before {\n content: "\\f066";\n}\n.rmp-font-awesome .rmp-i-close::before,\n.rmp-font-awesome .rmp-i-floating::before {\n content: "\\f00d";\n}\n/* module icons */\n.rmp-font-awesome .rmp-i-speed::before {\n content: "\\f017";\n}\n.rmp-font-awesome .rmp-i-quality::before {\n content: "\\f013";\n}\n.rmp-font-awesome .rmp-i-audio::before {\n content: "\\f025";\n}\n.rmp-font-awesome .rmp-i-sharing::before {\n content: "\\f1e0";\n}\n.rmp-font-awesome .rmp-i-chapters::before {\n content: "\\f02e";\n}\n/* related */\n.rmp-font-awesome .rmp-i-related::before {\n content: "\\f00a";\n}\n.rmp-font-awesome .rmp-i-skip-next::before {\n content: "\\f051";\n}\n/* audio only */\n.rmp-font-awesome .rmp-i-plus::before {\n content: "\\f067";\n}\n.rmp-font-awesome .rmp-i-minus::before {\n content: "\\f068";\n}\n/* navigation icons */\n.rmp-font-awesome .rmp-i-previous::before {\n content: "\\f053";\n}\n.rmp-font-awesome .rmp-i-next::before {\n content: "\\f054";\n}\n/* rewind/forward icons */\n.rmp-font-awesome .rmp-i-fast-rewind::before {\n content: "\\e905";\n}\n.rmp-font-awesome .rmp-i-fast-fast-rewind::before {\n content: "\\e903";\n}\n.rmp-font-awesome .rmp-i-fast-fast-fast-rewind::before {\n content: "\\e901";\n}\n.rmp-font-awesome .rmp-i-fast-forward::before {\n content: "\\e904";\n}\n.rmp-font-awesome .rmp-i-fast-fast-forward::before {\n content: "\\e902";\n}\n.rmp-font-awesome .rmp-i-fast-fast-fast-forward::before {\n content: "\\e900";\n}\n.rmp-font-material .rmp-i-play::before {\n content: "\\e037";\n}\n.rmp-font-material .rmp-i-replay::before {\n content: "\\e042";\n}\n.rmp-font-material .rmp-i-pause::before {\n content: "\\e034";\n}\n.rmp-font-material .rmp-i-volume::before {\n content: "\\e050";\n}\n.rmp-font-material .rmp-i-volume-half::before {\n content: "\\e04d";\n}\n.rmp-font-material .rmp-i-off-volume::before {\n content: "\\e04e";\n}\n.rmp-font-material .rmp-i-resize-full::before {\n content: "\\e5d0";\n}\n.rmp-font-material .rmp-i-resize-small::before {\n content: "\\e5d1";\n}\n.rmp-font-material .rmp-i-close::before,\n.rmp-font-material .rmp-i-floating::before {\n content: "\\e5cd";\n}\n/* module icons */\n.rmp-font-material .rmp-i-speed::before {\n content: "\\e425";\n}\n.rmp-font-material .rmp-i-quality::before {\n content: "\\e8b8";\n}\n.rmp-font-material .rmp-i-audio::before {\n content: "\\e310";\n}\n.rmp-font-material .rmp-i-sharing::before {\n content: "\\e80d";\n}\n/* related */\n.rmp-font-material .rmp-i-related::before {\n content: "\\e5c3";\n}\n.rmp-font-material .rmp-i-skip-next::before {\n content: "\\e044";\n}\n/* audio only */\n.rmp-font-material .rmp-i-plus::before {\n content: "\\e145";\n}\n.rmp-font-material .rmp-i-minus::before {\n content: "\\e15b";\n}\n/* navigation icons */\n.rmp-font-material .rmp-i-previous::before {\n content: "\\e314";\n}\n.rmp-font-material .rmp-i-next::before {\n content: "\\e315";\n}\n/* spinner */\n/* \n * spinner animation\n */\n.rmp-loading-spin-circle {\n top: 0;\n left: 0;\n width: 60px;\n height: 60px;\n border-radius: 50%;\n display: inline-block;\n position: absolute;\n border: 4px solid;\n border-color: #ffffff #ffffff transparent;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n}\n@keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n/* skin specific CSS */\n/* s1 specific CSS */\n/* applying s1 colors to player */\n.rmp-s1 .rmp-color-bg,\n.rmp-s1 .rmp-module-overlay-icons,\n.rmp-s1 .rmp-related-duration,\n.rmp-s1 .rmp-related-up-next,\n.rmp-s1 .rmp-related-title,\n.rmp-s1 .rmp-volume-indicator,\n.rmp-s1 .rmp-volume-hint,\n.rmp-playlist-side-menu,\n.rmp-transcripts-side-menu,\n.rmp-s1.rmp-small .rmp-time,\n.rmp-s1.rmp-extrasmall .rmp-time,\n.rmp-s1.rmp-doubleextrasmall .rmp-time {\n background: rgba(33, 33, 33, 0.85);\n}\n.rmp-s1 .rmp-ad-markers {\n background: #82b1ff;\n}\n.rmp-s1 .rmp-overlay-level {\n border-color: rgba(33, 33, 33, 0.85);\n}\n.rmp-s1 .rmp-overlay-level-active {\n background: #ffffff;\n color: rgba(33, 33, 33, 0.85);\n border-color: #ffffff;\n}\n/* border-radius adjustment */\n.rmp-s1 .rmp-360-nav,\n.rmp-s1 .rmp-360-text,\n.rmp-s1 .rmp-module,\n.rmp-s1 .rmp-overlay-button,\n.rmp-s1 .rmp-mobile-central-ui,\n.rmp-s1 .rmp-loading-spin,\n.rmp-s1 .rmp-hint,\n.rmp-s1 .rmp-in-module-hint,\n.rmp-s1 .rmp-control-bar-hint,\n.rmp-s1 .rmp-volume-hint,\n.rmp-s1 .rmp-indicator,\n.rmp-s1 .rmp-overlay-level,\n.rmp-s1 .rmp-module-overlay-icons,\n.rmp-s1 .rmp-module-fcc-settings,\n.rmp-s1 .rmp-duration,\n.rmp-s1 .rmp-cue-point-text,\n.rmp-s1.rmp-dvr .rmp-time-elapsed-text,\n.rmp-s1 .rmp-quality-indicator,\n.rmp-s1.rmp-small .rmp-time,\n.rmp-s1.rmp-extrasmall .rmp-time,\n.rmp-s1.rmp-doubleextrasmall .rmp-time {\n border-radius: 4px;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-volume-indicator,\n.rmp-s1.rmp-extrasmall .rmp-volume-container {\n border-radius: 4px 4px 0 0;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-duration {\n border-radius: 4px 0 0 4px;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-volume-handle,\n.rmp-s1 .rmp-handle {\n border-radius: 14px;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-volume-bar,\n.rmp-s1 .rmp-volume-bar-container,\n.rmp-s1 .rmp-time-total,\n.rmp-s1 .rmp-current,\n.rmp-s1 .rmp-loaded {\n border-radius: 11px;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-current {\n min-width: 12px;\n}\n.rmp-s1 .rmp-loaded {\n min-width: 18px;\n}\n.rmp-s1 .rmp-related-skip-preview-up-next {\n border-radius: 4px 4px 0 0;\n background-clip: padding-box;\n}\n/* seek bar adjustment */\n.rmp-s1 .rmp-time-total {\n top: 13px;\n height: 22px;\n}\n.rmp-s1 .rmp-seek-bar-thumbnails .rmp-indicator {\n border-radius: 0 0 4px 4px;\n background-clip: padding-box;\n}\n.rmp-s1 .rmp-seek-bar-thumbnails .rmp-thumbnails {\n border-radius: 4px 4px 0 0;\n background-clip: padding-box;\n}\n/* logo */\n.rmp-s1.rmp-small .rmp-logo-bottom-right,\n.rmp-s1.rmp-extrasmall .rmp-logo-bottom-right {\n bottom: 80px;\n}\n/* Colors for s2 */\n/* applying s2 colors to player */\n.rmp-s2 .rmp-color-bg,\n.rmp-s2 .rmp-module-overlay-icons,\n.rmp-s2 .rmp-related-duration,\n.rmp-s2 .rmp-related-up-next,\n.rmp-s2 .rmp-related-title,\n.rmp-s2 .rmp-volume-indicator,\n.rmp-s2 .rmp-volume-hint {\n background: rgba(0, 0, 0, 0);\n}\n.rmp-s2 .rmp-control-bar {\n background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));\n}\n.rmp-s2 .rmp-ad-markers,\n.rmp-s2 .rmp-cue-point {\n background: #ffffff;\n}\n.rmp-s2 .rmp-volume-handle,\n.rmp-s2 .rmp-handle,\n.rmp-s2 .rmp-current,\n.rmp-s2 .rmp-volume-bar {\n background: #82b1ff;\n}\n.rmp-s2 .rmp-overlay-level:hover:not(.rmp-overlay-level-active) {\n color: #82b1ff;\n}\n.rmp-s2 .rmp-overlay-level {\n background: rgba(0, 0, 0, 0.8);\n border-color: rgba(0, 0, 0, 0.8);\n}\n.rmp-s2 .rmp-loaded {\n background: rgba(255, 255, 255, 0.3);\n}\n.rmp-s2 .rmp-overlay-level-active {\n background: #ffffff;\n color: #82b1ff;\n border-color: #ffffff;\n}\n.rmp-s2 .rmp-overlay-level-active.rmp-abr-active,\n.rmp-s2 .rmp-time-total {\n border-color: #ffffff;\n}\n.rmp-s2 .rmp-related-skip-preview-up-next,\n.rmp-s2 .rmp-related-skip-preview-title,\n.rmp-s2 .rmp-indicator,\n.rmp-s2 .rmp-volume-hint,\n.rmp-s2 .rmp-volume-indicator,\n.rmp-s2 .rmp-cue-point-text,\n.rmp-s2 .rmp-related-title {\n background: rgba(0, 0, 0, 0.8);\n}\n.rmp-s2 .rmp-hint,\n.rmp-s2 .rmp-in-module-hint,\n.rmp-s2 .rmp-control-bar-hint {\n background: rgba(0, 0, 0, 0.8);\n border: none;\n}\n.rmp-s2 .rmp-playlist-header,\n.rmp-s2 .rmp-playlist-item {\n color: rgba(0, 0, 0, 0.8);\n}\n/* border-radius adjustment */\n.rmp-s2 .rmp-overlay-level,\n.rmp-s2 .rmp-time,\n.rmp-s2 .rmp-time-total,\n.rmp-s2 .rmp-hint,\n.rmp-s2 .rmp-module-fcc-settings,\n.rmp-s2 .rmp-in-module-hint,\n.rmp-s2 .rmp-control-bar-hint,\n.rmp-s2 .rmp-volume-hint,\n.rmp-s2 .rmp-indicator,\n.rmp-s2 .rmp-volume-indicator,\n.rmp-s2 .rmp-current,\n.rmp-s2 .rmp-loaded,\n.rmp-s2 .rmp-volume-bar,\n.rmp-s2 .rmp-volume-bar-container,\n.rmp-s2 .rmp-cue-point-text,\n.rmp-s2.rmp-dvr .rmp-time-elapsed-text,\n.rmp-s2 .rmp-quality-indicator {\n border-radius: 2px;\n background-clip: padding-box;\n}\n.rmp-s2 .rmp-related-skip-preview-up-next {\n border-radius: 2px 2px 0 0;\n background-clip: padding-box;\n}\n.rmp-s2 .rmp-related-skip-preview-title,\n.rmp-s2 .rmp-seek-bar-thumbnails .rmp-indicator {\n border-radius: 0 0 2px 2px;\n background-clip: padding-box;\n}\n.rmp-s2 .rmp-seek-bar-thumbnails .rmp-thumbnails {\n border-radius: 2px 2px 0 0;\n background-clip: padding-box;\n}\n/* .rmp-time */\n.rmp-s2 .rmp-time,\n.rmp-s2.rmp-small .rmp-time,\n.rmp-s2.rmp-extrasmall .rmp-time,\n.rmp-s2.rmp-live.rmp-small .rmp-time,\n.rmp-s2.rmp-live.rmp-extrasmall .rmp-time,\n.rmp-s2.rmp-live.rmp-doubleextrasmall .rmp-time {\n bottom: 0;\n}\n.rmp-s2.rmp-small .rmp-time,\n.rmp-s2.rmp-extrasmall .rmp-time {\n left: 104px;\n right: auto;\n height: 48px;\n line-height: 48px;\n background: none;\n padding: 0;\n}\n.rmp-s2.rmp-quick-rewind-or-forward-ui.rmp-small .rmp-time {\n left: 152px;\n}\n.rmp-s2.rmp-quick-rewind-and-forward-ui.rmp-small .rmp-time {\n left: 200px;\n}\n.rmp-s2.rmp-small .rmp-time-separator,\n.rmp-s2.rmp-extrasmall .rmp-time-separator,\n.rmp-s2.rmp-small .rmp-duration-text,\n.rmp-s2.rmp-extrasmall .rmp-duration-text {\n display: none !important;\n}\n.rmp-s2.rmp-small .rmp-time-elapsed-text,\n.rmp-s2.rmp-extrasmall .rmp-time-elapsed-text {\n margin-left: -50%;\n}\n.rmp-s2.rmp-dvr.rmp-dvr-vod .rmp-duration-text {\n font-size: 14px;\n}\n.rmp-s2.rmp-quick-rewind-or-forward-ui.rmp-extrasmall .rmp-time,\n.rmp-s2.rmp-small.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-time,\n.rmp-s2.rmp-small.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-time,\n.rmp-s2.rmp-extrasmall.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-time,\n.rmp-s2.rmp-extrasmall.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-time {\n display: none !important;\n}\n.rmp-s2.rmp-related-ui.rmp-small .rmp-time {\n left: 152px;\n right: auto;\n}\n.rmp-s2.rmp-related-ui.rmp-extrasmall .rmp-time {\n display: none !important;\n}\n.rmp-s2 .rmp-related-skip-preview {\n top: -166px;\n}\n/* .rmp-seek-bar */\n.rmp-s2 .rmp-seek-bar,\n.rmp-s2.rmp-captions-ui .rmp-seek-bar,\n.rmp-s2.rmp-audio-ui .rmp-seek-bar,\n.rmp-s2.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar,\n.rmp-s2.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-s2.rmp-quick-rewind-and-forward-ui .rmp-seek-bar,\n.rmp-s2.rmp-captions-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-s2.rmp-audio-ui.rmp-quick-rewind-or-forward-ui .rmp-seek-bar,\n.rmp-s2.rmp-related-ui .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-small .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-extrasmall .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-audio-ui .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui.rmp-small .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-audio-ui.rmp-small .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui.rmp-audio-ui.rmp-small .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui.rmp-extrasmall .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-audio-ui.rmp-extrasmall .rmp-seek-bar,\n.rmp-s2.rmp-related-ui.rmp-captions-ui.rmp-audio-ui.rmp-extrasmall .rmp-seek-bar {\n left: 8px;\n width: calc(100% - 16px);\n top: -6px;\n height: 6px;\n}\n.rmp-s2 .rmp-seek-bar:hover,\n.rmp-s2.rmp-captions-ui .rmp-seek-bar:hover,\n.rmp-s2.rmp-audio-ui .rmp-seek-bar:hover,\n.rmp-s2.rmp-captions-ui.rmp-audio-ui .rmp-seek-bar:hover {\n top: -8px;\n height: 10px;\n cursor: pointer;\n transition-property: top, height;\n transition-duration: 0.2s;\n transition-timing-function: linear;\n}\n.rmp-s2 .rmp-time-total {\n height: 100%;\n background: rgba(255, 255, 255, 0.3);\n}\n.rmp-s2 .rmp-volume {\n z-index: 1;\n}\n.rmp-s2 .rmp-volume-handle {\n width: 16px;\n height: 16px;\n margin-top: -8px;\n margin-left: -8px;\n box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);\n border-radius: 16px;\n background-clip: padding-box;\n}\n.rmp-s2 .rmp-handle {\n width: 0;\n height: 0;\n box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);\n}\n.rmp-s2 .rmp-seek-bar:hover .rmp-handle {\n width: 16px;\n height: 16px;\n margin-top: -8px;\n margin-left: -8px;\n border-radius: 16px;\n background-clip: padding-box;\n}\n.rmp-s2 .rmp-indicator {\n top: -32px;\n}\n/* volume */\n.rmp-s2 .rmp-volume-container {\n background: none;\n bottom: 30px;\n}\n.rmp-s2 .rmp-volume-bar-container {\n left: 20px;\n width: 8px;\n background: rgba(255, 255, 255, 0.3);\n}\n.rmp-s2 .rmp-volume-indicator {\n top: -48px;\n}\n.rmp-s2 .rmp-volume-hint {\n top: -78px;\n}\n.rmp-s2 .rmp-control-bar-hint {\n top: -36px;\n}\n/* Ads CSS */\n.rmp-s2 .rmp-ad-info {\n line-height: 30px;\n height: 30px;\n top: 9px;\n padding-left: 8px;\n padding-right: 8px;\n}\n.rmp-s2 .rmp-ad-info-message {\n padding: 0;\n}\n.rmp-s2 .rmp-ad-container.rmp-ad-overlay {\n top: -58px;\n}\n/* cue points */\n.rmp-s2 .rmp-cue-point-text {\n top: -34px;\n}\n/* outstream skin */\n.rmp-outstream .rmp-control-bar {\n opacity: 1 !important;\n visibility: visible !important;\n}\n.rmp-outstream .rmp-overlay-button,\n.rmp-outstream .rmp-mobile-central-ui,\n.rmp-outstream .rmp-loading-spin,\n.rmp-outstream .rmp-volume-indicator,\n.rmp-outstream .rmp-volume-hint,\n.rmp-outstream .rmp-control-bar-hint,\n.rmp-outstream .rmp-hint {\n background-color: rgba(0, 0, 0, 0.8);\n border-radius: 2px;\n background-clip: padding-box;\n}\n.rmp-outstream .rmp-seek-bar,\n.rmp-outstream .rmp-time,\n.rmp-outstream .rmp-module {\n display: none !important;\n}\n.rmp-outstream .rmp-ad-current-time {\n bottom: 0;\n}\n/* TV skin specific CSS\n * Note that TV skin is based on s2 skin\n */\n.rmp-tv .rmp-control-bar {\n height: 96px !important;\n}\n.rmp-tv .rmp-seek-bar {\n top: -34px !important;\n height: 12px !important;\n left: 96px !important;\n width: calc(100% - 192px) !important;\n}\n.rmp-medium.rmp-tv .rmp-seek-bar,\n.rmp-small.rmp-tv .rmp-seek-bar,\n.rmp-extrasmall.rmp-tv .rmp-seek-bar,\n.rmp-doubleextrasmall.rmp-tv .rmp-seek-bar {\n left: 48px !important;\n width: calc(100% - 96px) !important;\n}\n.rmp-tv .rmp-time {\n left: 96px !important;\n height: 48px !important;\n line-height: 48px !important;\n font-size: 32px;\n top: 14px !important;\n width: auto !important;\n}\n.rmp-medium.rmp-tv .rmp-time {\n left: 48px !important;\n font-size: 16px;\n}\n.rmp-small.rmp-tv .rmp-time,\n.rmp-extrasmall.rmp-tv .rmp-time,\n.rmp-doubleextrasmall.rmp-tv .rmp-time {\n display: none;\n}\n.rmp-tv .rmp-play-pause {\n left: 50% !important;\n margin-left: -24px !important;\n width: 70px;\n height: 70px;\n}\n.rmp-tv .rmp-control-bar .rmp-i {\n font-size: 3.72em;\n}\n.rmp-tv.rmp-dvr.rmp-dvr-vod .rmp-duration-text {\n font-size: 32px;\n}\n.rmp-tv.rmp-dvr.rmp-dvr-live .rmp-i-dvr {\n font-size: 1.25em;\n}\n.rmp-tv .rmp-control-bar .rmp-fast-forward,\n.rmp-tv .rmp-control-bar .rmp-fast-rewind {\n font-size: 4.84em;\n}\n.rmp-tv .rmp-control-bar .rmp-indicator {\n font-size: 24px;\n height: 40px;\n line-height: 40px;\n width: 160px;\n margin-left: -80px;\n top: -50px;\n}\n.rmp-tv .rmp-control-bar .rmp-fast-indicator {\n font-size: 1.86em;\n height: 40px;\n line-height: 40px;\n left: 8px;\n width: 40px;\n display: inline-block;\n position: absolute;\n}\n.rmp-tv .rmp-control-bar .rmp-time-indicator {\n height: 40px;\n line-height: 40px;\n display: inline-block;\n position: absolute;\n left: 56px;\n width: 96px;\n text-align: center;\n}\n.rmp-medium.rmp-tv .rmp-control-bar .rmp-i,\n.rmp-small.rmp-tv .rmp-control-bar .rmp-i,\n.rmp-extrasmall.rmp-tv .rmp-control-bar .rmp-i,\n.rmp-doubleextrasmall.rmp-tv .rmp-control-bar .rmp-i {\n font-size: 1.86em;\n}\n.rmp-tv .rmp-seek-bar:hover .rmp-handle,\n.rmp-tv .rmp-overlay-button,\n.rmp-extrasmall.rmp-tv .rmp-fast-rewind,\n.rmp-extrasmall.rmp-tv .rmp-fast-forward,\n.rmp-doubleextrasmall.rmp-tv .rmp-fast-rewind,\n.rmp-doubleextrasmall.rmp-tv .rmp-fast-forward {\n display: none !important;\n}\n.rmp-tv .rmp-loading-spin {\n height: 120px !important;\n width: 120px !important;\n margin-top: -60px !important;\n margin-left: -60px !important;\n}\n.rmp-tv .rmp-loading-spin-circle {\n width: 120px !important;\n height: 120px !important;\n border-width: 6px !important;\n}\n.rmp-tv .rmp-ad-info {\n left: 3%;\n height: 48px;\n line-height: 48px;\n padding-right: 8px;\n top: 14px;\n font-size: 32px;\n}\n.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-or-forward {\n left: 50%;\n margin-left: calc(-24px - 96px);\n width: 70px;\n height: 70px;\n}\n.rmp-medium.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-or-forward,\n.rmp-small.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-or-forward,\n.rmp-extrasmall.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-or-forward {\n left: 50%;\n margin-left: calc(-24px - 48px);\n}\n.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-and-forward {\n left: 50%;\n margin-left: calc(-24px + 96px);\n width: 70px;\n height: 70px;\n}\n.rmp-medium.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-and-forward,\n.rmp-small.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-and-forward,\n.rmp-extrasmall.rmp-tv.rmp-quick-rewind-and-forward-ui .rmp-quick-rewind-and-forward {\n left: 50%;\n margin-left: calc(-24px + 48px);\n}\n.rmp-tv .rmp-fast-rewind {\n position: absolute;\n left: 50%;\n width: 70px;\n height: 70px;\n margin-left: calc(-24px - 192px);\n}\n.rmp-medium.rmp-tv .rmp-fast-rewind,\n.rmp-small.rmp-tv .rmp-fast-rewind,\n.rmp-extrasmall.rmp-tv .rmp-fast-rewind {\n left: 50%;\n margin-left: calc(-24px - 96px);\n}\n.rmp-tv .rmp-fast-forward {\n position: absolute;\n left: 50%;\n width: 70px;\n height: 70px;\n margin-left: calc(-24px + 192px);\n}\n.rmp-medium.rmp-tv .rmp-fast-forward,\n.rmp-small.rmp-tv .rmp-fast-forward,\n.rmp-extrasmall.rmp-tv .rmp-fast-forward {\n left: 50%;\n margin-left: calc(-24px + 96px);\n}\n.rmp-tv .rmp-cc-area {\n bottom: 120px !important;\n}\n.rmp-tv .rmp-overlay-level {\n height: 60px;\n line-height: 56px;\n width: 344px;\n font-size: 28px;\n margin-left: -172px;\n margin-bottom: 16px;\n}\n.rmp-tv .rmp-overlay-title {\n margin-top: 16px;\n margin-bottom: 32px;\n}\n.rmp-tv .rmp-overlay-title-text {\n font-size: 28px;\n}\n.rmp-tv .rmp-module-overlay .rmp-i {\n font-size: 3.72em;\n}\n.rmp-tv .rmp-module-overlay-close {\n right: 104px !important;\n}\n.rmp-tv .rmp-module-overlay-icons.rmp-module-overlay-play-pause,\n.rmp-tv .rmp-module-fcc-settings {\n display: none !important;\n}\n',""]),e.Z=p},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",r=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),r&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),r&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,r,a,n){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var o=0;o0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=n),i&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=i):h[2]=i),a&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=a):h[4]="".concat(a)),e.push(h))}},e}},1667:function(t){"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},8081:function(t){"use strict";t.exports=function(t){return t[1]}},3379:function(t){"use strict";var e=[];function i(t){for(var i=-1,r=0;r0?" ".concat(i.layer):""," {")),r+=i.css,a&&(r+="}"),i.media&&(r+="}"),i.supports&&(r+="}");var n=i.sourceMap;n&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,i)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:function(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},6622:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpi/P//PwMUNADxXyBuZsAPcoA4CIjfA/EuIJ4JFgUZBMU3/kNAMZIYNnz8PwIcgokzIdl0A0r3AHEbHhf9RGJ/hjGQDWJFYlcC8SQgZibgzf/YDEIHuUC8CIi58ahhJMYgEIgC4mVALIFNMzIgZBAI+AHxRiCWRfcOqQaBgBkQrwRiMSB+iE0BCwPxwBKIDwLxH0pcBAMPkKOcXIPmALEnED+lxKDJQJwKZUuQa1AVEOch8f+SE9hZQDydGCcjG/QPif0H6pUF+LIFriwCy1dvgTgChyEMaPmPBZuLVKA2RALxbjy+IGjQCiD+RcAQEFgF9fpHIN4GEwQIMACnXWgupdnzwwAAAABJRU5ErkJggg=="},4418:function(t,e,i){t.exports=i(1955)},2373:function(t,e,i){t.exports=i(6064)},1679:function(t,e,i){t.exports=i(1577)},8118:function(t,e,i){t.exports=i(3778)},1882:function(t,e,i){t.exports=i(9373)},7269:function(t,e,i){t.exports=i(1022)},439:function(t,e,i){t.exports=i(8427)},4278:function(t,e,i){t.exports=i(2073)},2578:function(t,e,i){t.exports=i(2856)},9940:function(t,e,i){t.exports=i(2348)},7043:function(t,e,i){t.exports=i(5178)},1607:function(t,e,i){t.exports=i(6361)},5627:function(t,e,i){t.exports=i(8933)},6986:function(t,e,i){t.exports=i(3383)},6718:function(t,e,i){t.exports=i(1910)},2018:function(t,e,i){t.exports=i(6209)},8222:function(t,e,i){t.exports=i(3059)},2357:function(t,e,i){t.exports=i(6877)},40:function(t,e,i){t.exports=i(4888)},6226:function(t,e,i){t.exports=i(7460)},3460:function(t,e,i){t.exports=i(7641)}},e={};function i(r){var a=e[r];if(void 0!==a)return a.exports;var n=e[r]={id:r,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.exports}i.m=t,i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.b=document.baseURI||self.location.href,i.nc=void 0;var r={};!function(){"use strict";var t="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==t&&t,e="URLSearchParams"in t,i="Symbol"in t&&"iterator"in Symbol,r="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in t,n="ArrayBuffer"in t;if(n)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],o=ArrayBuffer.isView||function(t){return t&&s.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,i){t.onload=function(){e(t.result)},t.onerror=function(){i(t.error)}}))}function u(t){var e=new FileReader,i=m(e);return e.readAsArrayBuffer(t),i}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){var i;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():n&&r&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n&&(ArrayBuffer.prototype.isPrototypeOf(t)||o(t))?this._bodyArrayBuffer=f(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=c(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(u)}),this.text=function(){var t,e,i,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,i=m(e),e.readAsText(t),i;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),i=new Array(e.length),r=0;r-1?r:i),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var i=t.split("="),r=i.shift().replace(/\+/g," "),a=i.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(a))}})),e}function k(t,e){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},g.call(y.prototype),g.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},k.error=function(){var t=new k(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];k.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new k(null,{status:e,headers:{location:t}})};var _=t.DOMException;try{new _}catch(S){(_=function(t,e){this.message=t,this.name=e;var i=Error(t);this.stack=i.stack}).prototype=Object.create(Error.prototype),_.prototype.constructor=_}function C(e,i){return new Promise((function(a,s){var o=new y(e,i);if(o.signal&&o.signal.aborted)return s(new _("Aborted","AbortError"));var l=new XMLHttpRequest;function h(){l.abort()}l.onload=function(){var t,e,i={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var i=t.split(":"),r=i.shift().trim();if(r){var a=i.join(":").trim();e.append(r,a)}})),e)};i.url="responseURL"in l?l.responseURL:i.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;setTimeout((function(){a(new k(r,i))}),0)},l.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){s(new _("Aborted","AbortError"))}),0)},l.open(o.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(i){return e}}(o.url),!0),"include"===o.credentials?l.withCredentials=!0:"omit"===o.credentials&&(l.withCredentials=!1),"responseType"in l&&(r?l.responseType="blob":n&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof p?o.headers.forEach((function(t,e){l.setRequestHeader(e,t)})):Object.getOwnPropertyNames(i.headers).forEach((function(t){l.setRequestHeader(t,d(i.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",h),l.onreadystatechange=function(){4===l.readyState&&o.signal.removeEventListener("abort",h)}),l.send(void 0===o._bodyInit?null:o._bodyInit)}))}C.polyfill=!0,t.fetch||(t.fetch=C,t.Headers=p,t.Request=y,t.Response=k)}(),function(){"use strict";i.d(r,{default:function(){return Fs}});var t=i(621),e=i(2201),a=i(4193);function n(t){return n="function"==typeof e&&"symbol"==typeof a?function(t){return typeof t}:function(t){return t&&"function"==typeof e&&t.constructor===e&&t!==e.prototype?"symbol":typeof t},n(t)}var s=i(6189);function o(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[s];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}function l(e,i,r){return(i=o(i))in e?t(e,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[i]=r,e}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(e,i){for(var r=0;r0?document.documentElement.scrollLeft:document.body&&"number"==typeof document.body.scrollLeft&&document.body.scrollLeft>0?document.body.scrollLeft:0},G=function(){return"number"==typeof pageYOffset?pageYOffset:document.documentElement&&"number"==typeof document.documentElement.scrollTop&&document.documentElement.scrollTop>0?document.documentElement.scrollTop:document.body&&"number"==typeof document.body.scrollTop&&document.body.scrollTop>0?document.body.scrollTop:0},J=function(t,e){var i=function(t,e){var i="";if(t&&"undefined"!=typeof getComputedStyle){var r=getComputedStyle(t,null);r&&(i=(i=r.getPropertyValue(e)).toString().toLowerCase())}return i}(t,e);return i=i.toString(),m()(i).call(i,"px")>-1&&(i=i.replace("px","")),T()(i)},K=function(){function t(){d(this,t)}return p(t,null,[{key:"blackFrame",get:function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="}},{key:"getPosX",value:function(t){if(t){if("number"==typeof t.pageX)return t.pageX;if("number"==typeof t.clientX)return t.clientX+j()}return 0}},{key:"getPosXTouch",value:function(e){return e&&e.changedTouches&&e.changedTouches[0]&&t.isNumber(e.changedTouches[0].pageX)?e.changedTouches[0].pageX:0}},{key:"getPosY",value:function(t){if(t){if("number"==typeof t.pageY)return t.pageY;if("number"==typeof t.clientY)return t.clientY+G()}return 0}},{key:"getPosYTouch",value:function(e){return e&&e.changedTouches&&e.changedTouches[0]&&t.isNumber(e.changedTouches[0].pageY)?e.changedTouches[0].pageY:0}},{key:"isNumber",value:function(t){return!("number"!=typeof t||!Number.isFinite(t))}},{key:"getWidth",value:function(t){return t?"number"==typeof t.offsetWidth&&0!==t.offsetWidth?t.offsetWidth:J(t,"width"):0}},{key:"getTrueWidth",value:function(e){var i=0;if(e&&(i=t.getWidth(e))>0){var r=0,a=J(e,"padding-left");a>0&&(r+=a);var n=J(e,"padding-right");n>0&&(r+=n);var s=J(e,"border-left-width");s>0&&(r+=s);var o=J(e,"border-right-width");o>0&&(r+=o),i-=r}return i}},{key:"getHeight",value:function(t){return t?"number"==typeof t.offsetHeight&&0!==t.offsetHeight?t.offsetHeight:J(t,"height"):0}},{key:"getTrueHeight",value:function(e){var i=0;if(e&&(i=t.getHeight(e))>0){var r=0,a=J(e,"padding-top");a>0&&(r+=a);var n=J(e,"padding-bottom");n>0&&(r+=n);var s=J(e,"border-top-width");s>0&&(r+=s);var o=J(e,"border-bottom-width");o>0&&(r+=o),i-=r}return i}},{key:"getAbsLeft",value:function(t){return t&&t.getBoundingClientRect().left+j()||0}},{key:"getAbsTop",value:function(t){return t&&t.getBoundingClientRect().top+G()||0}},{key:"setText",value:function(t,e){void 0!==t&&"string"==typeof e&&(t.textContent=e)}},{key:"removeElement",value:function(t){if(t&&t.parentNode)try{t.parentNode.removeChild(t)}catch(e){console.trace(e)}}},{key:"createSyntheticEvent",value:function(t,e){if(e&&"function"==typeof Event){var i=new Event(t);e.dispatchEvent(i)}}},{key:"isVisible",value:function(t){return!(!t||"visible"!==t.style.visibility)}},{key:"show",value:function(t){t&&(t.style.display="block")}},{key:"hide",value:function(t){t&&(t.style.display="none")}},{key:"fadeIn",value:function(t){t&&"1"!==t.style.opacity&&(t.style.opacity="1",t.style.visibility="visible")}},{key:"fadeOut",value:function(t){t&&"0"!==t.style.opacity&&(t.style.opacity="0",t.style.visibility="hidden")}},{key:"readableTime",value:function(t){if("number"==typeof t&&t>=0){var e=Math.floor(t%60),i=Math.floor(1*t/60),r=0,a="",n="";return i>59&&(r=Math.floor(1*t/3600),i=Math.floor(1*t/3600%1*60),e=Math.floor(t%60)),a=e<10?"0"+e.toString():e.toString(),r>0?n=r+":":0===r&&(n=""),n+(i<10?"0"+i.toString():i.toString())+":"+a}return""}},{key:"dateToSeconds",value:function(t){if(t){var e=t.match(/(\d+:)?(\d+):(\d\d?)\.?(\d+)?/);if(e)if(e.length>1){e.shift();var i=0;if(e[0]){var r=e[0];m()(r).call(r,":")>-1&&(r=r.replace(":","")),i+=60*f()(r)*60}return e[1]&&(i+=60*f()(e[1])),e[2]&&(i+=f()(e[2])),e[3]&&(i+=f()(e[3])/1e3),i}}return 0}},{key:"filterInitialBitrate",value:function(t,e){return t<0||"string"!=typeof e[t]?0:t}},{key:"isEmptyObject",value:function(t){return!(!function(t){return"object"===n(t)&&null!==t}(t)||0!==E()(t).length)}},{key:"ajax",value:function(t,e,i,r){return new(b())((function(a,n){if("undefined"!=typeof XMLHttpRequest){var s=new XMLHttpRequest;s.open(r,t,!0),s.timeout=e,i&&(s.withCredentials=!0),s.onloadend=function(){"number"==typeof s.status&&s.status>=200&&s.status<300?"HEAD"===r?a(""):"string"==typeof s.responseText&&""!==s.responseText?a(s.responseText):n():n()},s.ontimeout=function(){n()},s.send(null)}else n()}))}},{key:"getNow",value:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?Math.round(performance.now()):"undefined"!=typeof Date?Date.now():0}},{key:"getRandomInt",value:function(t,e){var i=Math.ceil(t),r=Math.floor(e);return Math.floor(Math.random()*(r-i))+i}},{key:"cssPropertySupport",value:function(t){return void 0!==document.createElement("div").style[t]}},{key:"stopPropagation",value:function(t){t&&t.stopPropagation()}},{key:"contextMenuInteraction",value:function(t){t&&(t.stopPropagation(),t.preventDefault())}},{key:"appendToHead",value:function(t){try{var e=document.head;e||(e=document.body),e&&t&&e.appendChild(t)}catch(i){console.trace(i)}}},{key:"log",value:function(t,e,i,r){if("undefined"!=typeof navigator&&navigator.userAgent&&/(edge|xbox|msie|trident)/i.test(navigator.userAgent))console.log(t.toUpperCase()+" "+e);else switch(t){case"warning":console.log("%crmp%c"+t+"%c"+e,W,"color: white; background-color: #FF6D00; padding:1px 3px; border-radius: 3px; margin-right: 7px; text-transform: uppercase;","");break;case"error":console.log("%crmp%c"+t+"%c"+e,W,"color: white; background-color: #D50000; padding:1px 3px; border-radius: 3px; margin-right: 7px; text-transform: uppercase;","");break;case"google-ima":case"google-ima-dai":console.log("%crmp%c"+t+"%c"+e,W,"color: white; background-color: #00ACC1; padding:1px 3px; border-radius: 3px; margin-right: 7px; text-transform: uppercase;","");break;default:console.log("%crmp%c"+t+"%c"+e,W,"color: white; background-color: #0091EA; padding:1px 3px; border-radius: 3px; margin-right: 7px; text-transform: uppercase;","")}i&&console.log(i),r&&console.log(r)}},{key:"appendStyle",value:function(e){if(e){var i=document.createElement("style");i.appendChild(document.createTextNode(e)),t.appendToHead(i)}}},{key:"filterNativeTextTracks",value:function(t){var e=[];if(t.length>0){for(var i=/(captions|subtitles|subtitle|caption|text)/i,r=0,a=t.length;r=0?e.currentTime:-1}},{key:"getMediaDuration",value:function(e){return e&&void 0!==e.duration&&t.isNumber(e.duration)&&e.duration>=0?e.duration:-1}},{key:"clearNativeHtml5Buffer",value:function(t){try{t&&(t.removeAttribute("src"),t.load())}catch(e){console.trace(e)}}},{key:"createElement",value:function(t,e,i,r,a){var n=document.createElement(t);if("string"==typeof e&&""!==e?(r&&n.setAttribute("dir","rtl"),n.className=e):null===e&&r&&n.setAttribute("dir","rtl"),"string"==typeof i)if(a){var s=document.createElement("span");s.textContent=i,n.appendChild(s)}else n.textContent=i;return n}},{key:"precisionRound",value:function(t,e){var i=Math.pow(10,e);return Math.round(t*i)/i}},{key:"getClientWidth",value:function(t){return t&&"number"==typeof t.clientWidth&&t.clientWidth>0?t.clientWidth:0}},{key:"b64EncodeUnicode",value:function(t){return btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode("0x"+e)})))}},{key:"trimStr",value:function(t,e){return t.length>e?t.substring(0,e):t}},{key:"makeStrId",value:function(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r0&&(t.width>=7680?i="8K":t.width>=3840?i="4K":t.width>=1280&&(i="HD")),"number"==typeof t.height&&t.height>0&&(e+=t.height.toString()+"p",i&&(e+=''+i+"")),r.innerHTML=e,r}},{key:"getBandwidth",value:function(e,i){var r=Math.round(e/1e3),a=t.precisionRound(r/1e3,1),n=document.createElement("span");return"kbps"===i?n.textContent=r+" kbps":"mbps"===i&&(n.textContent=a+" Mbps"),n}},{key:"rfc3986EncodeURIComponent",value:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16)}))}},{key:"getPoster",value:function(t){var e=devicePixelRatio||1,i=F()(t).call(t,(function(t,i){return i+1>=e}));return 0===i.length?t[t.length-1]:i[0]}},{key:"filterContentMetadata",value:function(t){var e=E()(z.contentMetadata),i=t;t||(i=z.contentMetadata),e.forEach((function(t){void 0!==i[t]&&n(i[t])===n(z.contentMetadata[t])||(i[t]=z.contentMetadata[t])}));for(var r=E()(i),a=0,s=r.length;a0)for(var l=0,d=i.poster.length;l>2,n=(3&e)<<4|(i=h>4,s=(15&i)<<2|(r=h>6,o=63&r,Number.isNaN(i)?s=o=64:Number.isNaN(r)&&(o=64),d+=l.charAt(a)+l.charAt(n)+l.charAt(s)+l.charAt(o);return d}},{key:"base64DecodeUint8Array",value:function(t){var e;try{e=atob(t)}catch(n){return console.trace(n),new Uint8Array(0)}for(var i=e.length,r=new Uint8Array(new ArrayBuffer(i)),a=0;a"===n.substr(0,5)&&""===n.substr(-6)&&(n=H()(n).call(n,5,-6));var s=t.base64DecodeUint8Array(n);a.update(s)}},{key:"hexToRgb",value:function(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,r){return e+e+i+i+r+r}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:f()(e[1],16),g:f()(e[2],16),b:f()(e[3],16)}:null}},{key:"eventStopPrevent",value:function(t){t&&(t.stopPropagation(),"touchend"===t.type&&t.preventDefault())}}]),t}(),Q=document.createElement("video"),Y=document.createElement("audio"),X=/(ipad|iphone|ipod)/i,Z=/os\s+(\d+)/i,$=/(macintosh|mac\s+os)/i,tt=/android/i,et=/android\s*(\d+)/i,it=/safari\/[.0-9]*/i,rt=/version\/(\d+)/i,at=/(samsungbrowser\/|firefox\/|opr\/|edg\/|edge\/|fxios)/i,nt=/(chrome|chromium|crios)/i,st=/chrome\/[.0-9]*/i,ot=/tizen/i,lt=/smart-tv/i,dt=/(web0s|webos)/i,ht=/smarttv/i,pt=/macintel/i,ct=/wv/,mt=/version\/[.0-9]*/i,ut='video/mp4; codecs="avc1.42E01E,mp4a.40.2"',ft='video/mp4; codecs="hvc1.1.6.L63.90,mp4a.40.29"',gt='video/mp4; codecs="hev1.1.6.L63.90,mp4a.40.29"',vt=!1,yt=function(){function t(){d(this,t)}return p(t,null,[{key:"filterVersion",value:function(t,e){if(null!==navigator.userAgent){var i=navigator.userAgent.match(t);if(e&&Array.isArray(i)&&void 0!==i[2])return f()(i[2],10);if(Array.isArray(i)&&void 0!==i[1])return f()(i[1],10)}return-1}},{key:"html5Video",get:function(){return void 0!==Q.canPlayType}},{key:"html5Audio",get:function(){return void 0!==Y.canPlayType}},{key:"userAgent",get:function(){return navigator.userAgent||"null"}},{key:"platform",get:function(){return navigator.platform||"null"}},{key:"protocol",get:function(){return location.protocol?location.protocol.toLowerCase():null}},{key:"primaryPointerIsTouchScreen",get:function(){try{return!("undefined"==typeof matchMedia||!matchMedia("(pointer: coarse)").matches)}catch(t){return console.trace(t),!1}}},{key:"isIos",get:function(){return t.primaryPointerIsTouchScreen&&X.test(t.userAgent)?[!0,t.filterVersion(Z,!1)]:[!1,-1]}},{key:"isIpadOS",get:function(){return!!(!t.isIos[0]&&t.primaryPointerIsTouchScreen&&pt.test(t.platform)&&t.devicePixelRatio>1&&navigator.maxTouchPoints&&navigator.maxTouchPoints>=2)}},{key:"isMacOS",get:function(){return!(t.isIos[0]||!$.test(t.userAgent)||t.isIpadOS)}},{key:"isSafari",get:function(){return!it.test(t.userAgent)||nt.test(t.userAgent)||at.test(t.userAgent)||t.isAndroid[0]?[!1,-1]:[!0,t.filterVersion(rt,!1)]}},{key:"isMacosSafari",get:function(){return t.isMacOS&&t.isSafari[0]&&!t.isIpadOS?[!0,t.isSafari[1]]:[!1,-1]}},{key:"isApple",get:function(){return!!(t.isIos[0]||t.isMacosSafari[0]||t.isIpadOS)}},{key:"isAndroid",get:function(){return t.isIos[0]||!t.primaryPointerIsTouchScreen?[!1,-1]:tt.test(t.userAgent)?[!0,t.filterVersion(et,!1)]:[!1,-1]}},{key:"isMobile",get:function(){return vt},set:function(t){vt=t}},{key:"smartTVData",get:function(){return ot.test(t.userAgent)&<.test(t.userAgent)?{tv:!0,webos:!1,tizen:!0}:dt.test(t.userAgent)&&ht.test(t.userAgent)?{tv:!0,webos:!0,tizen:!1}:{tv:!1,webos:!1,tizen:!1}}},{key:"devicePixelRatio",get:function(){return"number"==typeof devicePixelRatio&&devicePixelRatio>1?devicePixelRatio:1}},{key:"isStandalone",get:function(){return!(!t.isIos[0]||void 0===navigator.standalone||!navigator.standalone)||!(!t.isAndroid[0]||"function"!=typeof matchMedia||!matchMedia("(display-mode: standalone)").matches)}},{key:"isAndroidMobileOrTabletWebView",get:function(){return!(at.test(t.userAgent)||!t.isAndroid[0]||t.isStandalone)&&(!!(t.isAndroid[1]<5&&mt.test(t.userAgent))||!!(t.isAndroid[1]>=5&&st.test(t.userAgent)&&ct.test(t.userAgent)))}},{key:"okMp4",get:function(){if(t.html5Video&&""!==Q.canPlayType(ut))return!0;return!1}},{key:"okWebM",get:function(){if(t.html5Video&&""!==Q.canPlayType('video/webm; codecs="vp9,opus"'))return!0;return!1}},{key:"okM4a",get:function(){if(t.html5Audio&&""!==Y.canPlayType('audio/mp4; codecs="mp4a.40.2"'))return!0;return!1}},{key:"okMp3",get:function(){if(t.html5Audio&&""!==Y.canPlayType("audio/mpeg"))return!0;return!1}},{key:"okOgg",get:function(){if(t.html5Audio&&""!==Y.canPlayType('audio/ogg; codecs="opus"'))return!0;return!1}},{key:"okMse",get:function(){return!(!t.html5Video||"undefined"==typeof MediaSource||"function"!=typeof MediaSource.isTypeSupported)}},{key:"okDashShaka",get:function(){return!(t.isMacosSafari[0]&&t.isMacosSafari[1]<13||t.isIos[0]&&t.isIos[1]<13)&&!(!t.okMse||void 0===b()||"undefined"==typeof Uint8Array||void 0===Array.prototype.forEach)}},{key:"okHlsJS",get:function(){return!(!t.okMse||!MediaSource.isTypeSupported(ut))}},{key:"okHls",get:function(){if(t.html5Video&&t.okMp4){var e=Q.canPlayType("application/vnd.apple.mpegurl"),i=Q.canPlayType("application/x-mpegurl");if(""!==e||""!==i)return!0}return!1}},{key:"okEme",get:function(){return"undefined"!=typeof MediaKeys||"undefined"!=typeof WebKitMediaKeys||"undefined"!=typeof MSMediaKeys}},{key:"okFps",get:function(){return!!(t.html5Video&&t.okEme&&(t.isMacosSafari[0]&&t.isMacosSafari[1]>=9||t.isIos[0]&&t.isIos[1]>10||t.isIpadOS))}},{key:"ok360",get:function(){var t=document.createElement("canvas");try{return!(!window.WebGLRenderingContext||!t.getContext("webgl")&&!t.getContext("experimental-webgl"))}catch(e){console.trace(e);try{return!(!window.WebGL2RenderingContext||!t.getContext("webgl2"))}catch(e){return console.trace(e),!1}}}},{key:"isInIframe",get:function(){try{if(window.parent!==window)return!0}catch(t){return console.trace(t),!1}return!1}},{key:"hasHevcSupport",get:function(){return!t.isApple&&!(!t.html5Video||""===Q.canPlayType(ft)&&""===Q.canPlayType(gt))}},{key:"hasMseHevcSupport",get:function(){return!(!t.okMse||!MediaSource.isTypeSupported(ft)&&!MediaSource.isTypeSupported(gt))}},{key:"hasIntersectionObserver",get:function(){return"undefined"!=typeof IntersectionObserver}},{key:"viewportSize",get:function(){var t=-1,e=-1,i="number"==typeof innerWidth&&innerWidth>0?innerWidth:-1,r="number"==typeof innerHeight&&innerHeight>0?innerHeight:-1;return i>0&&r>0&&(t=i,e=r),{width:t,height:e}}},{key:"hasPassiveEventListeners",get:function(){var t=!1;try{var e=x()({},"passive",{get:function(){return t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(i){console.trace(i)}return t}},{key:"hasScreenOrientationAPI",get:function(){return!(!screen.orientation||"string"!=typeof screen.orientation.type||"function"!=typeof screen.orientation.addEventListener||"function"!=typeof screen.orientation.lock)}},{key:"isMobilePhoneButNotTablet",get:function(){return"undefined"!=typeof matchMedia&&matchMedia("(orientation: portrait) and (max-device-width: 768px)").matches}},{key:"hasOlderScreenOrientationAPI",get:function(){return void 0!==window.onorientationchange&&"number"==typeof window.orientation}},{key:"orientation",get:function(){if(t.hasScreenOrientationAPI){var e=screen.orientation.type;if("landscape-primary"===e||"landscape-secondary"===e)return"landscape";if("portrait-secondary"===e||"portrait-primary"===e)return"portrait"}else if(t.hasOlderScreenOrientationAPI)return 0===window.orientation||180===window.orientation?"portrait":"landscape";return""}},{key:"screenDimension",get:function(){var e={width:-1,height:-1},i=screen&&"number"==typeof screen.width&&screen.width>0?screen.width:-1,r=screen&&"number"==typeof screen.height&&screen.height>0?screen.height:-1;return t.orientation?"landscape"===t.orientation?(e.width=Math.max(i,r),e.height=Math.min(i,r)):(e.width=Math.min(i,r),e.height=Math.max(i,r)):(e.width=i,e.height=r),e}},{key:"isModern",get:function(){return"noModule"in HTMLScriptElement.prototype}},{key:"localStorage",value:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){if(!t)return!1;if(window.localStorage)try{var e="__storage_test__";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(i){return console.trace(i),!1}return!1}))},{key:"isOnline",get:function(){return"boolean"!=typeof navigator.onLine||!1!==navigator.onLine}},{key:"hasNativeFullscreenSupport",get:function(){var t=document.documentElement;return!(!t||void 0===t.requestFullscreen&&void 0===t.webkitRequestFullscreen&&void 0===t.mozRequestFullScreen&&void 0===t.msRequestFullscreen&&void 0===Q.webkitEnterFullscreen)}},{key:"requestFullscreen",value:function(t,e){if(t&&e)try{void 0!==t.requestFullscreen?t.requestFullscreen().catch((function(t){})):void 0!==t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):void 0!==t.mozRequestFullScreen?t.mozRequestFullScreen():void 0!==t.msRequestFullscreen?t.msRequestFullscreen():e&&void 0!==e.webkitEnterFullscreen&&e.webkitEnterFullscreen()}catch(i){console.trace(i)}}},{key:"exitFullscreen",value:function(t){try{void 0!==document.exitFullscreen?document.exitFullscreen().catch((function(t){})):void 0!==document.webkitExitFullscreen?document.webkitExitFullscreen():void 0!==document.mozCancelFullScreen?document.mozCancelFullScreen():void 0!==document.msExitFullscreen?document.msExitFullscreen():t&&void 0!==t.webkitExitFullscreen&&t.webkitExitFullscreen()}catch(e){console.trace(e)}}},{key:"getEstimateBW",value:function(e){var i=window.rmpGlobals.rmpConnection.bandwidthData.estimate;if(i>0)i=Math.round(1e3*i*1e3);else{if(e)return-1;i=7e5,(t.isIos[0]||t.isAndroid[0]||t.isIpadOS)&&(i=35e4)}return i}}]),t}(),bt=function(){return null},kt={resetReading:function(){this.readingMp4=!1,this.readingWebM=!1,this.readingM4a=!1,this.readingMp3=!1,this.readingOgg=!1,this.readingDashShaka=!1,this.readingHlsJS=!1,this.readingHlsShaka=!1,this.readingShaka=!1,this.readingHls=!1,this.readingFps=!1,this.readingPDorNative=!0,this.readingOutstream=!1,this.readingMse=!1},resetNextReading:function(){this.nextReadingMp4=!1,this.nextReadingWebM=!1,this.nextReadingM4a=!1,this.nextReadingMp3=!1,this.nextReadingOgg=!1,this.nextReadingDash=!1,this.nextReadingHlsJS=!1,this.nextReadingHlsShaka=!1,this.nextReadingShaka=!1,this.nextReadingHls=!1,this.nextReadingFps=!1,this.nextReadingPDorNative=!0,this.nextReadingMse=!1},resetHasStreamType:function(){this.hasMp4=!1,this.hasWebM=!1,this.hasDash=!1,this.hasHls=!1,this.hasFps=!1,this.hasM4a=!1,this.hasMp3=!1,this.hasOgg=!1}};kt.set=function(){var t;this.playerVersion="9.6.6",this.playerReady=!1,this.hasLoadedMetadata=!1,this.timeReady=-1,this.isInFullscreen=!1,this.isVod=!0,this.isHTML5=!0,this.setSrcPDModule=!1,this.startingBitratePath="",this.firstPlay=!0,this.draggingTimeCursor=!1,this.touchDown=!1,this.mouseupDoc=bt,this.mousemoveDoc=bt,this.volumeMouseup=bt,this.volumeMousemove=bt,this.volumeBeforeMute=1,this.onClickVolumeIconFn=bt,this.throttledResize=bt,this.parentElementWidth=-1,this.firstFrameReached=!1,this.msePreloadRequested=!1,this.msePreloadCompleted=!1,this.abrAutoMode=!0,this.currentTimeBeforeSeek=-1,this.currentTimeBeforeAd=-1,this.elementsFocus=[],this.firstHint=!0,this.validatedLanguage="english",this.loopEventFired=!1,this.autoplayMode="unresolved",this.isLive=!1,this.detectLive=!0,this.tvPlayerSkin=!1,this.rtl=!1,this.poster="",this.endOfVideoPoster="",this.onErrorSetBackupSrc=bt,this.firstTimeupdate=!1,this.bwEstimate=-1,this.onClickSkipAdFn=null,this.outlineInteractionFn=null,this.quickForwardFn=null,this.quickRewindFn=null,this.fccDisplaySettingsFn=null,this.resetFCCSettingsFn=null,this.audioOnlyMinusFn=null,this.skipInteractionFn=null,this.onXRClickFn=null,this.menuItemInteractionFn=null,this.environment=null,this.hideIndicatorTimeout=null,this.fastRewindClickFn=null,this.fastRewindInterval=null,this.fastForwardClickFn=null,this.fastForwardInterval=null,this.fastTier=0,this.fastSeekLastCurrentTime=0,this.fastOffsetTime=0,this.fastSeekIndex=[1,1,1,1],this.fastForwardSeekingOn=!1,this.fastRewindSeekingOn=!1,this.unstalledBuffer=bt,this.playerWaiting=!1,this.updateHeightForQualityIndicatorInterval=null,this.events={},this.filteredSharingNetworks=[],this.changingSrc=!1,this.afterMp4BitrateSwitch=bt,this.afterSrcSwitch=null,this.copyBackupSrc=[],this.initialAspectRatio=1.7777777778,this.initialWidth=-1,this.initialHeight=-1,this.hasNativeFullscreenSupport=!1,this.throttledResizeTimeout=null,this.onPosterLoad=bt,this.onPosterError=bt,this.logoAppended=!1,this.onLogoLoad=bt,this.onLogoError=bt,this.openLogoUrl=bt,this.windowOnline=bt,this.windowOffline=bt,this.offlineStoreOperation=null,kt.resetReading.call(this),kt.resetNextReading.call(this),kt.resetHasStreamType.call(this),this.fpsCertificate=null,this.okDashShaka=!1,this.okHlsJS=!1,this.okFps=!1,this.okHls=!1,this.okWebM=!1,this.okMp4=!1,this.okM4a=!1,this.okMp3=!1,this.okOgg=!1,this.viewablePreviousRatio=.5,this.viewableObserver=null,this.playerVisible=!1,this.processInitiatePlayback=null,this.initiatePlayback=bt,this.bindKeyboard=bt,this.showChrome=bt,this.containerTouch=bt,this.containerClick=bt,this.containerDBClick=bt,this.removeFocusToContainer=bt,this.addTabKeyDetection=bt,this.controls=!0,this.fullscreenchange=bt,this.fullscreenerror=bt,this.manageFSOnOrientationChange=bt,this.onPlayingAddFSOnOrientationChange=bt,this.licenseFailedDestroyRequested=!1,this.destroyRunning=!1,this.forceResetTimer=!1,this.chromeTimer=null,this.touchRmp=!1,this.durationchangeFn=bt,this.loadedmetadataFn=bt,this.waitingFn=bt,this.pauseFn=bt,this.playFn=bt,this.timeupdateFn=bt,this.webkitbeginfullscreenFn=bt,this.webkitendfullscreenFn=bt,this.onVolumeChange=bt,this.onMobileStartAutoHideCentralUI=bt,this.setSrcResetAdInterval=null,this.logRetryTimeout=null,this.orientationChangeResizeTimeout=null,this.siteCheckerRetryTimeout=null,this.postStop=null,this.firstDurationChange=!0,this.startUpPlay=0,this.startUpPlaying=0,this.ended=bt,this.generateError=bt,this.errorData=null,this.adOnStage=!1,this.contentCompleteCalled=!1,this.isLinear=!1,this.adPaused=!1,this.adDCInitialized=!1,this.adID="",this.adSystem="",this.adAdvertiserName="",this.adApiFramework="",this.adContentType="",this.adCreativeAdId="",this.adCreativeId="",this.adDealId="",this.adDescription="",this.adDuration=-1,this.adNonLinearHeight=-1,this.adMediaUrl="",this.adSkipTimeOffset=-1,this.adSurveyUrl="",this.adTitle="",this.adTraffickingParameters=null,this.adTraffickingParametersString="",this.adUniversalAdIds=[],this.adVastMediaHeight=0,this.adVastMediaWidth=0,this.adNonLinearWidth=-1,this.adWrapperAdIds=[],this.adWrapperAdSystems=[],this.adWrapperCreativeIds=[],this.hasAdUI=!1,this.playerInitialized=!1,this.emptyInitAdTagUrl=!1,this.adScheduleInput=!1,this.scheduledMidRolls=!1,this.currentAdForCompanion=null,this.adPodInfo=null,this.originalAdTagUrl=null,this.originalAdTagWaterfall=[],this.isVPAID=!1,this.adCountdownInterval=null,this.onEndedWaitForPlay=bt,this.onRePlayLoadAdTag=bt,this.currentiOSSrc="",this.adSkipInterval=null,this.onAdDestroyLoadAds=bt,this.onAdStartedPostRollUpdateCentralUI=bt,this.setSrcAdReset=!1,this.setSrcResetIMA=bt,this.postImaAdDestroy=null,this.adVmapInput=!1,this.adDisableCustomPlaybackForIOS10Plus=!1,this.adSkipOffset=!0,this.rmpAdsWithIma=null,this.imaAdsManager=null,this.imaDaiStreamManager=null,this.imaDaiLive=!1,this.imaDaiVod=!1,this.imaDaiPod=!1,this.imaDaiAdCurrentTime=-1,this.imaDaiIsSkippable=!1,this.imaDaiErrorMessage="",this.imaDaiUseNativeHls=!1,this.rmpAdsWithRmpVast=null,this.rmpVast=null,this.setSrcResetRmpVast=bt,this.initialAutoplayRequest=!1,this.onAdAutoplayFailed=bt,this.onAdAutoplaySuccess=bt,this.liveAdSchedulerChecker=null,this.liveAdSchedulerCheckerIndex=0,this.adSchedulerChecker=bt,this.adSchedulerEnded=bt,this.playScheduler=bt,this.adScheduleOnAdStarted=bt,this.adScheduleOnAdError=bt,this.adScheduleOnContentResumeRequested=bt,this.adScheduleOnAdDestroyed=bt,this.adParserLoaded=!1,this.adParserLoadError=!1,this.adRemainingTimeBarInterval=null,this.rmpGoogleAnalytics=null,this.analyticsSecondsPlayed=0,this.startUpTime=-1,this.startUpLogPlaying=bt,this.appendFormDataAndSendLog=bt,this.gaCommand="send",this.analyticsInterval=null,this.bitmovinAnalytics={},this.runLogs=bt,this.runLogsOnSrcChanged=bt,this.licUrl="",this.isLicValid="false",this.shakaPlayer=null,this.shakaVideoRenditions=[],this.shakaOfflineList=null,this.shakaOfflineDownloadProgress=-1,this.rmpShaka=null,this.hlsJS=null,this.hlsJSLevelDuration=-1,this.rawProgramDateTime=-1,this.hlsJSNeedsToResumeLoad=!1,this.rmpHlsJS=null,this.rmpFps=null,this.rmpHls=null,this.exitFSDestroy=null,this.proceedDestroy=!0,this.adsDestroyed=!1,this.isDvrLiveMode=!0,this.dvrCurrentTime=-1,this.pauseDvr=bt,this.playingDvr=bt,this.resyncDvrCurrentTime=0,this.resyncPauseTime=0,this.pdCurrentTime=0,this.dvrSetLiveModeFn=null,this.isDvr=!1,this.castMedia=null,this.castMediaEnded=!1,this.remotePlayer=null,this.remotePlayerController=null,this.castSession=null,this.castConnected=!1,this.castUrl="",this.remotePlayerState="",this.pauseRequestedByLoadCastMedia=!1,this.googleCastInit=!1,this.rmpGoogleCast=null,this.castMediaTracks=[],this.onAirPlayClick=bt,this.onAirPlayAvailabilityChanged=bt,this.onAirPlayCurrentPlaybackTargetIsWirelessChanged=bt,this.onMediaLoadedForcePlayOnLocalPlayer=bt,this.airplayUIOn=!1,this.airplayConnectTimeout=null,this.defaultTextTrackIndex=0,this.textTracks=[],this.hasExternalCCFiles=!1,this.updateCuesResize=null,this.ccData=null,this.ccCues=[],this.ccEnabled=!1,this.loadedCCFiles=[],this.ccFilesReady=!1,this.loadVTTFiles=bt,this.resizeNativeCues=bt,this.textTracksList=[],this.textTrackProcessCues=[],this.onAddTrack=bt,this.textTracksLangList=[],this.readingCaptionsFromHls=!1,this.ccFilesNativeTracksLoaded=0,this.iosAddTrackElementsFn=bt,this.fccFontColor="white",this.fccFontOpacity=1,this.fccFontSize=1,this.fccFontFamily="arial",this.fccFontEdge="none",this.fccBackgroundColor="black",this.fccBackgroundOpacity=.5,this.fccWindowColor="black",this.fccWindowOpacity=0,this.rmpThreeSixty=null,this.streamrootWrapper=null,this.thumbnailsArray=[],this.thumbnailURIs=[],this.thumbnailURIsTimestamps=[],this.currentThumbnailURI="",this.hasThumbnails=!1,this.dummyThumbnailsImg=null,this.onThumbnailsLoad=bt,this.onThumbnailsError=bt,this.hasShakaThumbnail=!1,this.chaptersArray=[],this.chapterDivs=[],this.hasChapters=!1,this.updateCurrentChapter=bt,this.licType="rmp",this.hasRelated=!1,this.relatedList=[],this.currentRelatedIndex=0,this.relatedOnSrcChangedLoadAd=bt,this.hasPlaylist=!1,this.playlistList=[],this.currentPlaylistIndex=0,this.playlistOnSrcChangedLoadAd=bt,this.hasTranscripts=!1,this.ajaxInternalTimeout=1e4,this.onPipClick=null,this.onPipClickSafari=null,this.floatingPlayerIsAnchored=!0,this.floatingViewablePreviousRatio=.5,this.floatingFirstView=!1,this.onClosingFloatingClick=bt,this.floatingViewableObserver=null,this.onLoopInteraction=null,this.onTheaterInteraction=null,this.theatherModeEnabled=!1,this.refTime=0,this.ragnarok=(t=null,"string"==typeof window.rmpGetRagnarok?t=window.rmpGetRagnarok:"undefined"!=typeof location&&location.hostname&&(t=location.hostname),t?t.toLowerCase().replace(/^www\./,""):t),this.rmpDev="site.rmp",this.originLocal="localhost",this.altLocal="127.0.0.1",this.altLocalBis="bs-local.com",this.muxData=!1,this.onErrorEmitMuxError=bt,this.shakaPlayerMux=null,this.meta={},this.meta.data={},this.meta.type="",this.currentCuePointTime=-1,this.currentCuePointText="",this.cuePointsInterval=null,this.vgsUri="radiantmediatechs.com/rmp/rr/vgs-o.json",this.vgtUri="radiantmediatechs.com/rmp/rr/vgt-o.json",this.vgrpUri="radiantmediatechs.com/rmp/rr/vgrp-o.json",this.platformArrayList=[],this.platformAppArrayList=[],this.platformListType=""};var wt=kt,_t=i(6986),Ct=i.n(_t),St={};function xt(t){return Ct()({muted:!1,timeout:250,inline:!1},t)}function At(t,e){var i,r,a,n=t.muted,s=t.timeout,o=t.inline,l=e(),d=l.element,h=l.source;return d.muted=n,!0===n&&d.setAttribute("muted","muted"),!0===o&&d.setAttribute("playsinline","playsinline"),d.src=h,new(b())((function(t){i=d.play(),r=setTimeout((function(){a(!1,new Error("Timeout "+s+" ms has been reached"))}),s),a=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;d.removeAttribute("src"),d.load(),clearTimeout(r),t({result:e,error:i})},void 0!==i?i.then((function(){return a(!0)})).catch((function(t){return a(!1,t)})):a(!0)}))}St.video=function(t){var e="";try{e=U().createObjectURL(new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"}))}catch(i){console.trace(i)}return At(t=xt(t),(function(){return{element:document.createElement("video"),source:e}}))},St.audio=function(t){var e="";try{e=U().createObjectURL(new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"}))}catch(i){console.trace(i)}return At(t=xt(t),(function(){return{element:document.createElement("audio"),source:e}}))},St.detect=function(t,e,i){return yt.smartTVData.tv?new(b())((function(t){t("autoplay-with-sound")})):i?new(b())((function(i){St[t]({inline:!0,muted:!0,timeout:e}).then((function(t){var e=t.result;t.error;i(!1===e?"no-autoplay":"muted-autoplay")}))})):new(b())((function(i){St[t]({inline:!0,timeout:e}).then((function(r){var a=r.result;r.error;!1===a?St[t]({inline:!0,muted:!0,timeout:e}).then((function(t){var e=t.result;t.error;i(!1===e?"no-autoplay":"muted-autoplay")})):i("autoplay-with-sound")}))}))};var Tt=St,Lt=i(439),Et=i.n(Lt),Pt=i(9940),It=i.n(Pt),Mt={},Ft=function(){var t=!1;return this.forceResetTimer&&(t=!0),this.getAdOnStage()?(this.getAdLinear()&&this.getAdPaused()||!this.getAdLinear()&&this.getPaused())&&(t=!0):this.getPaused()&&(t=!0),t},Dt=function t(){var e=this;clearInterval(this.chromeTimer),this.chromeTimer=setInterval((function(){Ft.call(e)?t.call(e):Mt.hideChrome.call(e)}),this.delayToFade)};Mt.hideChrome=function(){this.dom.container.classList.replace("rmp-chrome","rmp-no-chrome")},Mt.showChrome=function(){this.dom.container.classList.replace("rmp-no-chrome","rmp-chrome"),Dt.call(this)},Mt.showCentralPlay=function(){Mt.hideLoadingSpin.call(this),yt.isMobile?this.dom.centralMobileUI.classList.add("rmp-mobile-show-play"):K.fadeIn(this.dom.overlayButton),Mt.showChrome.call(this)},Mt.hideCentralPlay=function(){yt.isMobile?this.dom.centralMobileUI.classList.remove("rmp-mobile-show-play"):K.fadeOut(this.dom.overlayButton)},Mt.showLoadingSpin=function(){this.getWaitingUI()||(this.dom.container.classList.add("rmp-waiting"),K.fadeIn(this.dom.loadingSpin))},Mt.hideLoadingSpin=function(){this.getWaitingUI()&&(this.dom.container.classList.remove("rmp-waiting"),K.fadeOut(this.dom.loadingSpin))},Mt.protoHideControls=function(){this.dom.container.classList.add("rmp-hide-controls"),this.controls=!1},Mt.protoShowControls=function(){this.dom.container.classList.remove("rmp-hide-controls"),Mt.showChrome.call(this),this.controls=!0},Mt.restorePlayUI=function(){this.dom.playPause.classList.replace("rmp-i-pause","rmp-i-play"),K.setText(this.dom.playPauseHint,this.labels.hint.play+" (k)"),yt.isMobile&&this.dom.centralMobileUIIcon.classList.replace("rmp-i-pause","rmp-i-play"),Mt.showCentralPlay.call(this),this.showPoster(),this.dispatch("mousemove")},Mt.appendContentTitle=function(){this.dom.contentTitleArea=K.createElement("div","rmp-title-area"),this.dom.contentTitle=K.createElement("div","rmp-title",null,this.rtl),this.dom.contentTitle.innerHTML=this.contentMetadata.title,this.dom.contentTitle.setAttribute("title",this.contentMetadata.title),this.dom.contentTitleArea.appendChild(this.dom.contentTitle),this.dom.container.classList.add("rmp-title-ui"),this.dom.container&&this.dom.controlBar&&this.dom.container.insertBefore(this.dom.contentTitleArea,this.dom.content.nextSibling)},Mt.appendContentDescription=function(){this.dom.description=K.createElement("div","rmp-description",null,this.rtl),this.dom.description.innerHTML=this.contentMetadata.description,this.dom.container.classList.add("rmp-title-description-ui"),this.dom.contentTitleArea.appendChild(this.dom.description)},Mt.setLive=function(){this.isVod=!1,this.isLive=!0,this.ads&&(this.adTagReloadOnEnded=!1),this.dom.container.classList.add("rmp-live"),K.setText(this.dom.timeElapsedText,this.labels.hint.live)};var Ot=Mt,Rt=i(478),Ut=i(382),Bt=i(7088),Vt=i(4225);function Nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){l=!0,s=t},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}var zt={},Wt={fontColor:["white","black","red","green","blue","yellow","magenta","cyan"],fontOpacity:["100%","75%","50%","25%"],fontSize:["300%","200%","175%","150%","125%","100%","75%","50%"],fontFamily:["arial","courier","georgia","impact","lucida console","tahoma","times new roman","trebuchet ms","verdana"],fontEdge:["none","raised","depressed","outline","drop shadow"],backgroundColor:["white","black","red","green","blue","yellow","magenta","cyan"],backgroundOpacity:["100%","75%","50%","25%","0%"],windowColor:["white","black","red","green","blue","yellow","magenta","cyan"],windowOpacity:["100%","75%","50%","25%","0%"]};zt.displaySettings=function(t){K.eventStopPrevent(t),"none"===this.dom.captionsOverlayFCCSettingsArea.style.display?(K.hide(this.dom.captionsOverlayLevelsArea),K.show(this.dom.captionsOverlayFCCSettingsArea),ae.closeButtonAdjust.call(this,"captions",!0)):(K.show(this.dom.captionsOverlayLevelsArea),K.hide(this.dom.captionsOverlayFCCSettingsArea),ae.closeButtonAdjust.call(this,"captions",!1))};var jt=function(t,e){var i;switch(t){case"white":i="rgba(255, 255, 255, "+e+")";break;case"black":i="rgba(0, 0, 0, "+e+")";break;case"red":i="rgba(255, 0, 0, "+e+")";break;case"green":i="rgba(0, 128, 0, "+e+")";break;case"blue":i="rgba(0, 0, 255, "+e+")";break;case"yellow":i="rgba(255, 255, 0, "+e+")";break;case"magenta":i="rgba(255, 0, 255, "+e+")";break;case"cyan":i="rgba(0, 255, 255, "+e+")";break;default:i="rgba(255, 255, 255, 1)"}return i},Gt=function(t,e,i,r){var a,n,s,o,l;switch(K.eventStopPrevent(r),t){case"fontColor":e?(this.fccFontColor="white",this.fccFontOpacity=1):i?(this.fccFontColor=this.ccFontColor,this.fccFontOpacity=this.ccFontOpacity):this.fccFontColor=r.target.value,o="{color: "+jt(this.fccFontColor,this.fccFontOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"fontOpacity":this.fccFontOpacity=f()(H()(a=r.target.value).call(a,0,-1))/100,o="{color: "+jt(this.fccFontColor,this.fccFontOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"fontSize":if(e)this.fccFontSize=1;else if(i)this.fccFontSize=this.ccFontSize;else{var d;this.fccFontSize=f()(H()(d=r.target.value).call(d,0,-1))/100}o="{font-size: "+17*this.fccFontSize+"px !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue {font-size: "+100*this.fccFontSize+"% !important;":".rmp-cc-display "+o;break;case"fontFamily":this.fccFontFamily=e?"Arial, Helvetica, sans-serif":i?this.ccFontFamily+", Helvetica, sans-serif":r.target.value+", Helvetica, sans-serif",o="{font-family: "+this.fccFontFamily+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"fontEdge":switch(this.fccFontEdge=e?"none":i?this.ccFontEdge:r.target.value,this.fccFontEdge){case"none":default:o="{text-shadow: none !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"raised":o="{text-shadow: rgb(0, 0, 0) 0px 0px 5px, rgb(0, 0, 0) 0px 1px 5px, rgb(0, 0, 0) 0px 2px 5px !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"depressed":o="{text-shadow: rgb(0, 0, 0) 0px -2px 1px !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"outline":o="{text-shadow: rgb(0, 0, 0) -2px 0px 1px, rgb(0, 0, 0) 2px 0px 1px, rgb(0, 0, 0) 0px -2px 1px, rgb(0, 0, 0) 0px 2px 1px, rgb(0, 0, 0) -1px 1px 1px, rgb(0, 0, 0) 1px 1px 1px, rgb(0, 0, 0) 1px -1px 1px, rgb(0, 0, 0) 1px 1px 1px !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"drop shadow":o="{text-shadow: rgb(0, 0, 0) 0px 2px 1px !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::cue "+o:".rmp-cc-cue "+o}break;case"backgroundColor":e?(this.fccBackgroundColor="black",this.fccBackgroundOpacity=.5):i?(this.fccBackgroundColor=this.ccBackgroundColor,this.fccBackgroundOpacity=this.ccBackgroundOpacity):this.fccBackgroundColor=r.target.value,o="{background-color: "+jt(this.fccBackgroundColor,this.fccBackgroundOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?yt.isApple?"video::-webkit-media-text-track-display-backdrop "+o:"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"backgroundOpacity":this.fccBackgroundOpacity=f()(H()(n=r.target.value).call(n,0,-1))/100,o="{background-color: "+jt(this.fccBackgroundColor,this.fccBackgroundOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?yt.isApple?"video::-webkit-media-text-track-display-backdrop "+o:"video.rmp-video::cue "+o:".rmp-cc-cue "+o;break;case"windowColor":e?(this.fccWindowColor="black",this.fccWindowOpacity=0):i?(this.fccWindowColor=this.ccWindowColor,this.fccWindowOpacity=this.ccWindowOpacity):this.fccWindowColor=r.target.value,o="{background-color: "+jt(this.fccWindowColor,this.fccWindowOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::-webkit-media-text-track-display "+o:".rmp-cc-display "+o;break;case"windowOpacity":this.fccWindowOpacity=f()(H()(s=r.target.value).call(s,0,-1))/100,o="{background-color: "+jt(this.fccWindowColor,this.fccWindowOpacity)+" !important;}",l=!this.hasExternalCCFiles||this.hasExternalCCFiles&&yt.isIos[0]?"video.rmp-video::-webkit-media-text-track-display "+o:".rmp-cc-display "+o}l&&K.appendStyle(l)},Jt=function(t,e){Gt.call(this,"fontColor",t,e,null),Gt.call(this,"fontSize",t,e,null),Gt.call(this,"fontFamily",t,e,null),Gt.call(this,"fontEdge",t,e,null),Gt.call(this,"backgroundColor",t,e,null),Gt.call(this,"windowColor",t,e,null)},Kt=function(t){K.eventStopPrevent(t),this.rmpGoogleCast&&this.rmpGoogleCast.resetCastTextSettings(),Jt.call(this,!0,!1);var e,i=this.dom.container.querySelectorAll(".rmp-select");if(i.length>0)for(var r=0,a=i.length;r0)for(var s=0,o=n.length;s0){for(var r=0,a=i.length;r=0;--r){var n=this.tryEntries[r],s=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var o=a.call(n,"catchLoc"),l=a.call(n,"finallyLoc");if(o&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),A(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var a=r.arg;A(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:L(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},i}function me(t,e,i,r,a,n,s){try{var o=t[n](s),l=o.value}catch(d){return void i(d)}o.done?e(l):he.resolve(l).then(r,a)}var ue=i(2578),fe=i.n(ue),ge=i(7043),ve=i.n(ge),ye={},be=function(t){this.dummyThumbnailsImg.removeEventListener("load",this.onThumbnailsLoad),this.dummyThumbnailsImg.removeEventListener("error",this.onThumbnailsError),this.dummyThumbnailsImg=null,this.hasThumbnails=!0,this.dom.thumbnailsImg=K.createElement("div","rmp-thumbnails"),this.dom.seekBar.classList.add("rmp-seek-bar-thumbnails"),this.dom.thumbnailsImg.style.backgroundImage='url("'+t+'")',this.dom.indicator.appendChild(this.dom.thumbnailsImg)},ke=function(t){this.dummyThumbnailsImg.removeEventListener("load",this.onThumbnailsLoad),this.dummyThumbnailsImg.removeEventListener("error",this.onThumbnailsError),this.dummyThumbnailsImg=null,Oa.warning.call(this,8001,t)},we=function(t,e){var i=t.split("/"),r=e.split("/");i.pop();for(var a=0;a\s*\d*?:?\d*?:?\d+(\.\d+)?\s*$/,l=0,d=r.length;l1&&(this.thumbnailURIs,this.thumbnailURIsTimestamps),this.thumbnailsArray,this.dummyThumbnailsImg=document.createElement("img"),this.currentThumbnailURI=this.thumbnailURIs[0],this.onThumbnailsLoad=be.bind(this,this.currentThumbnailURI),this.onThumbnailsError=ke.bind(this),this.dummyThumbnailsImg.addEventListener("load",this.onThumbnailsLoad),this.dummyThumbnailsImg.addEventListener("error",this.onThumbnailsError),this.dummyThumbnailsImg.src=this.currentThumbnailURI):Oa.warning.call(this,8003)}else Oa.warning.call(this,8002)};ye.destroy=function(){this.dummyThumbnailsImg&&(this.dummyThumbnailsImg.removeEventListener("load",this.onThumbnailsLoad),this.dummyThumbnailsImg.removeEventListener("error",this.onThumbnailsError),this.dummyThumbnailsImg=null),this.dom.seekBar.classList.remove("rmp-seek-bar-thumbnails"),K.removeElement(this.dom.thumbnailsImg),this.hasThumbnails=!1},ye.init=function(){var t=this;K.ajax(this.seekBarThumbnailsLoc,this.ajaxTimeout,this.ajaxWithCredentials,"GET").then((function(e){t.seekBarThumbnailsLoc,t.dispatch("thumbnailsloaded"),"string"==typeof e&&_e.call(t,e)})).catch((function(e){Oa.warning.call(t,8e3,e)}))};var Ce=ye,Se={},xe=function(t){if(t&&t.target){var e=t.target.getAttribute("data-start-time"),i=1e3*K.dateToSeconds(e);this.seekTo(i)}},Ae=function(){if(this.dom.transcriptsContainer=this.dom.container.parentNode.parentNode,this.dom.transcriptsContainer.classList.contains("rmp-transcripts-container")){this.dom.transcriptsSideMenu=K.createElement("div","rmp-transcripts-side-menu rmp-color-bg rmp-color-button");var t=K.createElement("div","rmp-transcripts-header",this.labels.hint.transcript,this.rtl);this.dom.transcriptsSideMenu.appendChild(t);for(var e=K.createElement("div","rmp-transcripts-body"),i="",r=0,a=this.transcriptsData.length;r'+this.transcriptsData[r].text+"";e.innerHTML=i,e.addEventListener("click",xe.bind(this)),this.dom.transcriptsSideMenu.appendChild(e),this.dom.transcriptsContainer.appendChild(this.dom.transcriptsSideMenu)}else Oa.warning.call(this,9004)},Te=function(t){for(var e=t.split(/(\r\n|\r|\n)/g),i=/^\s*$/,r=[],a=0,n=e.length;a\s*\d*?:?\d*?:?\d+(\.\d+)?(\s*|\s+.+)$/,o=/^\d+$/,l=0,d=r.length;l1)for(var y=1,b=f.length;y=0)for(var r=0,a=this.chaptersArray.length;rthis.chaptersArray[a-1].start){s.classList.add("rmp-overlay-level-active");break}if(!(i>=n)){(s=this.chapterDivs[r-1]).classList.add("rmp-overlay-level-active");break}}},Me=function(){var t=this,e=this.getDuration();if(e>0&&this.chaptersArray.length>0){ae.append.call(this,"chapters"),ae.appendOverlay.call(this,"chapters"),this.chapterDivs=[];for(var i=[],r=0,a=this.chaptersArray.length;r=e)i.push(r);else{var s="rmp-button rmp-overlay-level rmp-color-bg rmp-chapters-text";0===r&&(s+=" rmp-overlay-level-active"),this.chapterDivs[r]=K.createElement("button",s,this.chaptersArray[r].title,this.rtl,!0),Ga.make.call(this,this.chapterDivs[r],this.chaptersArray[r].title,!0),this.chapterDivs[r].addEventListener("touchend",Pe.bind(this,n)),this.chapterDivs[r].addEventListener("click",Pe.bind(this,n)),this.dom.chaptersOverlayLevelsArea.appendChild(this.chapterDivs[r])}}i.length>0&&i.forEach((function(e){var i;It()(i=t.chaptersArray).call(i,e,1)})),this.updateCurrentChapter=Ie.bind(this),this.on("timeupdate",this.updateCurrentChapter),this.hasChapters=!0}},Fe=function(t){var e=t.split(/(\r\n|\r|\n)/g),i=/^\s*$/,r=[];e.forEach((function(t){i.test(t)||r.push(t)}));if(/WEBVTT/i.test(r[0])){r.shift();for(var a=/^\s*\d*?:?\d*?:?\d+(\.\d+)?\s*-->\s*\d*?:?\d*?:?\d+(\.\d+)?\s*$/,n=0,s=r.length;n5&&(m=m.replace(/^00:/i,"")),this.chaptersArray.push({start:1e3*K.dateToSeconds(p),end:1e3*K.dateToSeconds(c),title:l+" - "+m})}}this.chaptersArray,this.dispatch("chaptersparsed"),this.hasLoadedMetadata?Me.call(this):this.one("loadedmetadata",Me.bind(this))}else Oa.warning.call(this,15001)};Ee.init=function(){var t=this;K.ajax(this.chaptersLoc,this.ajaxTimeout,this.ajaxWithCredentials,"GET").then((function(e){t.chaptersLoc,t.dispatch("chaptersloaded"),"string"==typeof e&&Fe.call(t,e)})).catch((function(e){Oa.warning.call(t,15e3,e)}))};var De=Ee,Oe={codes:{arabic:["ar","ar-AR","ar-MA","ar-SA"],chinese:["zh","zh-SG","zh-Hans","zh-CN"],danish:["da","da-DK"],finnish:["fi","fi-FI"],dutch:["nl","nl-BE","nl-NL"],english:["en","en-GB","en-AU","en-CA","en-IE","en-IN","en-PI","en-UD","en-US","en-ZA","en@pirate"],french:["fr","fr-CA","fr-FR","fr-BE","fr-CH"],german:["de","de-AT","de-DE","de-CH","yi-DE"],hebrew:["he","he-IL"],hindi:["hi","hi-IN"],hungarian:["hu","hu-HU"],indonesian:["id","id-ID"],italian:["it","it-IT"],japanese:["ja","ja-JP"],korean:["ko","ko-KR"],norwegian:["no"],polish:["pl","pl-PL"],portuguese:["pt","pt-PT","pt-BR"],russian:["ru","ru-RU"],spanish:["es","es-AR","es-419","es-CL","es-CO","es-EC","es-ES","es-LA","es-NI","es-MX","es-US","es-VE"],swedish:["sv","sv-SE"],taiwanese:["zh-TW"],thai:["th","th-TH"],turkish:["tr","tr-TR"],vietnamese:["vi","vi-VN"]},english:{bitrates:{auto:"Auto",renditions:["Low","Medium","High","Maximum"]},hint:{auto:"Auto",play:"Play",pause:"Pause",seek:"Seek bar",enterFullscreen:"Enter full screen",exitFullscreen:"Exit full screen",rewind:"Rewind",forward:"Forward",sharing:"Share",sharingLink:"Link to video",sharingEmbedCode:"Embed video",quality:"Quality",volume:"Volume",mute:"Mute",unmute:"Unmute",minus:"Minus",plus:"Plus",speed:"Speed",captions:"Closed captions",track:"Track",transcript:"Transcript",audio:"Audio languages",chapters:"Chapters",live:"LIVE",close:"Close",floating:"Close",settings:"Settings",back:"Back",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlist",next:"Next",previous:"Previous",related:"Related",upNext:"Up next",up:"Up",down:"Down",left:"Left",right:"Right",default:"Default",off:"Off",loop:"Loop",theater:"Theater mode",info:"Information",keyboardShortcut:"Keyboard shortcut"},fccCaptions:{fontColor:"Font color",fontOpacity:"Font opacity",fontSize:"Font size",fontFamily:"Font family",fontEdge:"Font edge",backgroundColor:"Background color",backgroundOpacity:"Background opacity",windowColor:"Window color",windowOpacity:"Window opacity"},error:{error:"Error",customErrorMessage:"This content is currently unavailable",noSupportMessage:"This content cannot be played on this device",noSupportInstallChrome:"Using the latest version of Google Chrome may help to view this content"},ads:{controlBarCustomMessage:"Ad",skipMessage:"Skip ad",textForClickUIOnMobile:"Learn more"}},arabic:{bitrates:{auto:"آلي",renditions:["قليل","متوسط","عالٍ","أقصى"]},hint:{auto:"آلي",play:"قراءة",pause:"إيقاف",seek:"بحث",enterFullscreen:"أدخل ملء الشاشة",exitFullscreen:"الخروج من الشاشة الكاملة",rewind:"الترجيع",forward:"إلى الأمام",sharing:"تقاسم",sharingLink:"الرابط نحو الفيديو",sharingEmbedCode:"تضمين الفيديو",quality:"الجودة",volume:"الصوت",mute:"كتم الصوت",unmute:"إلغاء كتم الصوت",minus:"أقلّ",plus:"أكثر",speed:"السرعة",captions:"صور توضيحية",track:"مسار",transcript:"نسخة طبق الأصل",audio:"لغات الصوت",chapters:"الفصول",live:"مباشر",close:"اغلاق",floating:"اغلاق",settings:"إعدادات",back:"عودة",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"قائمة القراءة",next:"التالي",previous:"السابق",related:"ذات صلة",upNext:"الموالي",up:"فوق",down:"أسفل",left:"اليسار",right:"حق",default:"إفتراضي",off:"انهاء",theater:"وضع المسرح",loop:"حلقة",info:"معلومة",keyboardShortcut:"اختصار لوحة المفاتيح"},fccCaptions:{fontColor:"لون الخط",fontOpacity:"تعتيم الخط",fontSize:"حجم الخط",fontFamily:"خط العائلة",fontEdge:"حافة",backgroundColor:"لون الخلفية",backgroundOpacity:"تعتيم الخلفية",windowColor:"لون النافذة",windowOpacity:"تعتيم النافذة"},error:{error:"خطأ",customErrorMessage:"هذا المحتوى غير متوفّر حالياً",noSupportMessage:"لا يمكن قراءة هذا المحتوى على هذا الجهاز",noSupportInstallChrome:"قد يساعد استخدام أحدث اصدار من جوجل كروم على مشاهدة هذا المحتوى"},ads:{controlBarCustomMessage:"اعلان",skipMessage:"تخطّي الاعلان",textForClickUIOnMobile:"معرفة المزيد"}},french:{bitrates:{auto:"Auto",renditions:["Basse","Moyenne","Haute","Maximale"]},hint:{auto:"Auto",play:"Lire",pause:"Pause",seek:"Barre de recherche",enterFullscreen:"Passer en mode plein écran",exitFullscreen:"Quitter le mode plein écran",rewind:"Retour",forward:"Avance",sharing:"Partager",sharingLink:"Lien vers la vidéo",sharingEmbedCode:"Intégrer la vidéo",quality:"Qualité",volume:"Volume",mute:"Désactiver le son",unmute:"Activer le son",minus:"Moins",plus:"Plus",speed:"Vitesse",captions:"Sous-titres",track:"Piste",transcript:"Transcription",audio:"Langues audio",chapters:"Chapitres",live:"DIRECT",close:"Fermer",floating:"Fermer",settings:"Réglages",back:"Retour",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlist",next:"Suivant",previous:"Précédent",related:"Médias liés",upNext:"A suivre",up:"Vers le haut",down:"Vers le bas",left:"Vers la gauche",right:"Vers la droite",default:"Remise à zéro",off:"Désactivé",loop:"En boucle",theater:"Mode Cinéma",info:"Information",keyboardShortcut:"Raccourci clavier"},fccCaptions:{fontColor:"Couleur de la police",fontOpacity:"Transparence de la police",fontSize:"Taille de la police",fontFamily:"Type de la police",fontEdge:"Contour de la police",backgroundColor:"Couleur du fond",backgroundOpacity:"Transparence du fond",windowColor:"Couleur de la fenêtre",windowOpacity:"Transparence de la fenêtre"},error:{error:"Erreur",customErrorMessage:"Ce contenu n'est pas disponible pour le moment",noSupportMessage:"Ce contenu ne peut être lu sur cet appareil",noSupportInstallChrome:"Utiliser la dernière version de Google Chrome peut vous aider à lire ce contenu"},ads:{controlBarCustomMessage:"Publicité",skipMessage:"Passer la publicité",textForClickUIOnMobile:"En savoir plus"}},german:{bitrates:{auto:"Automatisch",renditions:["Geringe","Mittlere","Gute","Beste"]},hint:{auto:"Automatisch",play:"Wiedergabe",pause:"Pause",seek:"Schieberegler für Suche",enterFullscreen:"Vollbildmodus aktivieren",exitFullscreen:"Vollbildmodus beenden",rewind:"Zurückspulen",forward:"Nach vorne",sharing:"Teilen",sharingLink:"Link zum Video",sharingEmbedCode:"Video teilen",quality:"Qualität",volume:"Lautstärke",mute:"Stummschalten",unmute:"Stummschaltung aufheben",minus:"Minus",plus:"Plus",speed:"Geschwindigkeit",captions:"Untertitel",track:"Spur",transcript:"Transkript",audio:"Audiosprache",chapters:"Kapitel",live:"LIVE",close:"Zurück",floating:"schließen",settings:"Einstellungen",back:"Zurück",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Wiedergabeliste",next:"Nächster",previous:"Bisherige",related:"Ähnliche Inhalte",upNext:"Als nächstes",up:"Oben",down:"Nach unten",left:"Links",right:"Rechts",default:"Zurücksetzen",off:"Aus",loop:"Schleife",theater:"Theatermodus",info:"Information",keyboardShortcut:"Tastaturkürzel"},fccCaptions:{fontColor:"Schriftfarbe",fontOpacity:"Schriftopazität",fontSize:"Schriftgröße",fontFamily:"Schriftfamilie",fontEdge:"Schriftkante",backgroundColor:"Hintergrundfarbe",backgroundOpacity:"Hintergrundopazität",windowColor:"Fensterfarbe",windowOpacity:"Fensteropazität"},error:{error:"Fehler",customErrorMessage:"Dieser Inhalt ist zurzeit nicht erreichbar",noSupportMessage:"Dieser Inhalt kann auf diesem Gerät nicht wiedergegeben werden",noSupportInstallChrome:"Mithilfe der neuesten Version von Google Chrome können Sie diesen Inhalt möglicherweise anzeigen"},ads:{controlBarCustomMessage:"Werbung",skipMessage:"Werbung überspringen",textForClickUIOnMobile:"Mehr erfahren"}},hebrew:{bitrates:{auto:"אוטומטי",renditions:["נָמוּך","בינוני","גָבוֹהַ","מַקסִימוּם"]},hint:{auto:"אוטומטי",play:"נגן",pause:"השהה",seek:"חפש",enterFullscreen:"היכנס למסך מלא",exitFullscreen:"יציאה ממסך מלא",rewind:"להריץ לאחור",forward:"קָדִימָה",sharing:"שיתוף",sharingLink:"קישור לסרטון",sharingEmbedCode:"הטמעת סרטון",quality:"איכות",volume:"עוצמת קול",mute:"השתקה",unmute:"ביטול השתקה",minus:"פחות",plus:"יותר",speed:"מהירות",captions:"כתוביות",track:"מַסלוּל",transcript:"תעתיק",audio:"שפות אודיו",chapters:"פרקים",live:"לייב",close:"סגור",floating:"סגור",settings:"הגדרות",back:"חזור",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"רשימת שמע",next:"הבא",previous:"הקודם",related:"קשור",upNext:"הבא",up:"למעלה",down:"מטה",left:"שמאלה",right:"ימין",default:"לאפס",off:"כבוי",loop:"לוּלָאָה",theater:"מצב תיאטרון",info:"מֵידָע",keyboardShortcut:"קיצור מקלדת"},fccCaptions:{fontColor:"צבע גופן",fontOpacity:"אטימות גופנים",fontSize:"גודל גופן",fontFamily:"משפחת גופן",fontEdge:"קצה הגופן",backgroundColor:"צבע רקע",backgroundOpacity:"אטימות רקע",windowColor:"צבע חלון",windowOpacity:"אטימות חלונות"},error:{error:"שְׁגִיאָה",customErrorMessage:"תוכן זה אינו זמין כרגע",noSupportMessage:"לא ניתן לנגן תוכן זה על התקן זה",noSupportInstallChrome:"שימוש בגרסה העדכנית ביותר של Google Chrome יכולה לעזור לצפות בתוכן זה"},ads:{controlBarCustomMessage:"פרסומת",skipMessage:"דלג על הפרסומת",textForClickUIOnMobile:"מידע נוסף"}},spanish:{bitrates:{auto:"Auto",renditions:["Baja","Media","Alta","Máxima"]},hint:{auto:"Auto",play:"Botón de reproducción",pause:"Pausa",seek:"Barra deslizante de búsqueda",enterFullscreen:"Ingrese a pantalla completa",exitFullscreen:"Salir del modo de pantalla completa",rewind:"Rebobinar",forward:"Avanzar",sharing:"Compartir",sharingLink:"Enlace al video",sharingEmbedCode:"Compartir video",quality:"Calidad",volume:"Volumen",mute:"Silenciar",unmute:"Activar sonido",minus:"Menos",plus:"Más",speed:"Velocidad",captions:"Subtítulos",track:"Pista",transcript:"Transcripción",audio:"Idiomas",chapters:"Capítulos",live:"DIRECTO",close:"Atrás",floating:"Atrás",settings:"Configuraciones",back:"Atrás",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlist",next:"Siguiente",previous:"Anterior",related:"Relacionados",upNext:"Siguiente",up:"Arriba",down:"Abajo",left:"Izquierda",right:"Derecha",default:"Reajustar",off:"Desactivado",loop:"Círculo",theater:"Modo Teatro",info:"Información",keyboardShortcut:"Atajo de teclado"},fccCaptions:{fontColor:"Color de fuente",fontOpacity:"Opacidad de fuente",fontSize:"Tamaño de fuente",fontFamily:"Familia tipográfica",fontEdge:"Borde de fuente",backgroundColor:"Color de fondo",backgroundOpacity:"Opacidad de fondo",windowColor:"Color de ventana",windowOpacity:"Opacidad de la ventana"},error:{error:"Error",customErrorMessage:"Contenido no disponible actualmente",noSupportMessage:"Este contenido no se puede reproducir en este dispositivo",noSupportInstallChrome:"Usar la última versión de Google Chrome puede ayudar a ver este contenido"},ads:{controlBarCustomMessage:"Publicidad",skipMessage:"Saltar publicidad",textForClickUIOnMobile:"Saber más"}},portuguese:{bitrates:{auto:"Auto",renditions:["Baixa","Média","Alta","Máxima"]},hint:{auto:"Auto",play:"Reproduzir",pause:"Pausa",seek:"Botão deslizante de busca",enterFullscreen:"Entrar em tela cheia",exitFullscreen:"Sair do ecrã inteiro",rewind:"Retroceder",forward:"Enviar",sharing:"Partilhar",sharingLink:"Link para vídeo",sharingEmbedCode:"Compartilhar vídeo",quality:"Qualidade",volume:"Volume",mute:"Desativar som",unmute:"Ativar som",minus:"Menos",plus:"Mais",speed:"Velocidade",captions:"Legendas ocultas",track:"Acompanhar",transcript:"Transcrição",audio:"Idiomas de áudio",chapters:"Capítulos",live:"EM DIRETO",close:"Voltar",floating:"Voltar",settings:"Configurações",back:"Costas",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Lista de reprodução",next:"Próximo",previous:"Anterior",related:"Relacionados",upNext:"À seguir",up:"Acima",down:"Para baixo",left:"A esquerda",right:"Certa",default:"Restabelecer",off:"Desativado",loop:"Ciclo",theater:"Modo Teatro",info:"Em formação",keyboardShortcut:"Atalho de teclado"},fccCaptions:{fontColor:"Cor da fonte",fontOpacity:"Opacidade da fonte",fontSize:"Tamanho da fonte",fontFamily:"Família de fontes",fontEdge:"Beira",backgroundColor:"Cor de fundo",backgroundOpacity:"Opacidade de fundo",windowColor:"Cor da janela",windowOpacity:"Opacidade da janela"},error:{error:"Erro",customErrorMessage:"Este conteúdo está neste momento indisponível",noSupportMessage:"Este conteúdo não pode ser reproduzido neste dispositivo",noSupportInstallChrome:"Usar a versão mais recente do Google Chrome pode ajudar a visualizar esse conteúdo"},ads:{controlBarCustomMessage:"Publicidade",skipMessage:"Ignorar publicidade",textForClickUIOnMobile:"Saber mais"}},italian:{bitrates:{auto:"Auto",renditions:["Di bassa","Media","Alta","Massima"]},hint:{auto:"Auto",play:"Riproduci",pause:"Pausa",seek:"Dispositivo di scorrimento",enterFullscreen:"Entra a schermo intero",exitFullscreen:"Esci dalla modalità a schermo intero",rewind:"Riavvolgere",forward:"Inoltrare",sharing:"Condividi",sharingLink:"Link al video",sharingEmbedCode:"Condividi il Video",quality:"Qualità",volume:"Volume",mute:"Disattiva audio",unmute:"Riattiva audio",minus:"Meno",plus:"Più",speed:"Velocità",captions:"Sottotitoli",track:"Traccia",transcript:"Trascrizione",audio:"Lingue audio",chapters:"Capitoli",live:"LIVE",close:"Indietro",floating:"Indietro",settings:"Impostazioni",back:"Indietro",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlist",next:"Il prossimo",previous:"Precedente",related:"Correlati",upNext:"Avanti il prossimo",up:"Su",down:"Giù",left:"Sinistra",right:"Destra",default:"Il reset",off:"Disattivato",loop:"Ciclo continuo",theater:"Modalità teatro",info:"Informazione",keyboardShortcut:"Scorciatoia da tastiera"},fccCaptions:{fontColor:"Colore del carattere",fontOpacity:"Opacità dei caratteri",fontSize:"Dimensione del font",fontFamily:"Famiglia di font",fontEdge:"Bordo",backgroundColor:"Colore di sfondo",backgroundOpacity:"Opacità dello sfondo",windowColor:"Colore finestra",windowOpacity:"Opacità della finestra"},error:{error:"Errore",customErrorMessage:"Questo contenuto al momento non è disponibile",noSupportMessage:"Questo contenuto non può essere riprodotto su questo dispositivo",noSupportInstallChrome:"L'utilizzo dell'ultima versione di Google Chrome può aiutare a visualizzare questo contenuto"},ads:{controlBarCustomMessage:"Messaggio pubblicitario",skipMessage:"Salta pubblicità",textForClickUIOnMobile:"Per saperne di più"}},russian:{bitrates:{auto:"Автонастройка",renditions:["Низкое","Среднее","Высокое","Максимальное"]},hint:{auto:"Автонастройка",play:"Воспроизведение",pause:"Пауза",seek:"Поиск",enterFullscreen:"Войти в полноэкранный режим",exitFullscreen:"Выход из полноэкранного режима",rewind:"перематывать",forward:"пересылать",sharing:"Поделиться",sharingLink:"Ссылка на видео",sharingEmbedCode:"Поделиться видео",quality:"Качество",volume:"Громкость",mute:"Отключить звук",unmute:"Включить звук",minus:"Минус",plus:"Плюс",speed:"Скорость",captions:"Субтитры",track:"Oтслеживать",transcript:"Pасшифровка",audio:"Языки аудио",chapters:"Главы",live:"ЖИТЬ",close:"Назад",floating:"Назад",settings:"Настройки",back:"Назад",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Плейлист",next:"Далее",previous:"Назад",related:"Похожее",upNext:"Следующее",up:"Bверх",down:"Bниз",left:"Oсталось",right:"Право",default:"Oстальные",off:"Выкл",loop:"петля",theater:"Театральный режим",info:"Информация",keyboardShortcut:"Сочетание клавиш"},fccCaptions:{fontColor:"Цвет шрифта",fontOpacity:"Непрозрачность шрифта",fontSize:"Размер шрифта",fontFamily:"Семейство шрифтов",fontEdge:"Край",backgroundColor:"Фоновый цвет",backgroundOpacity:"Прозрачность фона",windowColor:"Цвет окна",windowOpacity:"Непрозрачность окна"},error:{error:"Ошибка",customErrorMessage:"В настоящее время данный контент недоступен",noSupportMessage:"Данный контент не может быть воспроизведен на используемом устройстве",noSupportInstallChrome:"Для просмотра данного контента рекомендуется использование последней версии Google Chrome"},ads:{controlBarCustomMessage:"Pеклама",skipMessage:"Пропустить рекламу",textForClickUIOnMobile:"Подробнее"}},taiwanese:{bitrates:{auto:"自動",renditions:["低","中","高","最高"]},hint:{auto:"自動",play:"播放",pause:"暫停",seek:"時間軸",enterFullscreen:"進入全屏",exitFullscreen:"結束全螢幕",rewind:"倒帶",forward:"快轉",sharing:"分享",sharingLink:"影片連結",sharingEmbedCode:"嵌入影片",quality:"畫質",volume:"音量",mute:"靜音",unmute:"解除靜音",minus:"減",plus:"加",speed:"播放速度",captions:"字幕",track:"追踪",transcript:"字幕",audio:"語言",chapters:"章節",live:"直播",close:"關閉",floating:"關閉",settings:"設置",back:"返回",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"播放清單",next:"下一個",previous:"上一個",related:"相關影片",upNext:"即將播放",up:"上",down:"下",left:"左",right:"右",default:"默認",off:"關閉",loop:"循環",theater:"劇院模式",info:"詳細資訊",keyboardShortcut:"鍵盤快捷鍵"},fccCaptions:{fontColor:"字體顏色",fontOpacity:"字體透明度",fontSize:"字體大小",fontFamily:"字型",fontEdge:"字體邊緣",backgroundColor:"背景顏色",backgroundOpacity:"背景透明度",windowColor:"視窗顏色",windowOpacity:"視窗透明度"},error:{error:"錯誤",customErrorMessage:"找不到檔案",noSupportMessage:"無法在此裝置播放",noSupportInstallChrome:"請點此下載與安裝最新版本的Google Chrome來觀看"},ads:{controlBarCustomMessage:"廣告",skipMessage:"略過廣告",textForClickUIOnMobile:"了解更多"}},dutch:{bitrates:{auto:"Automatisch",renditions:["Lage","Gemiddelde","Hoge","Maximale"]},hint:{auto:"Automatisch",play:"Afspelen",pause:"Pauzeren",seek:"Zoekschuifbalk",enterFullscreen:"Voer het volledige scherm in",exitFullscreen:"Volledig scherm sluiten",rewind:"Terugspoelen",forward:"Doorzenden",sharing:"Delen",sharingLink:"Link naar video",sharingEmbedCode:"Deel Video",quality:"Kwaliteit",volume:"Volume",mute:"Dempen",unmute:"Dempen opheffen",minus:"Min",plus:"Plus",speed:"Snelheid",captions:"Gesloten bijschriften",track:"Spoor",transcript:"Vertaling",audio:"Taal",chapters:"Hoofdstukken",live:"LIVE",close:"Terug",floating:"Terug",settings:"Instellingen",back:"Terug",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Afspeellijst",next:"Volgende",previous:"Voorgaand",related:"Gelijkaardig",upNext:"Volgende",up:"Omhoog",down:"Beneden",left:"Links",right:"Rechtsaf",default:"Opnieuw instellen",off:"Uit",loop:"Lus",theater:"Theatermodus",info:"Informatie",keyboardShortcut:"Toetsenbord sneltoets"},fccCaptions:{fontColor:"Letterkleur",fontOpacity:"Ondoorzichtigheid",fontSize:"Lettertypegrootte",fontFamily:"Lettertypefamilie",fontEdge:"Rand",backgroundColor:"Achtergrond kleur",backgroundOpacity:"Achtergronddekking",windowColor:"Venster kleur",windowOpacity:"Venster ondoorzichtigheid"},error:{error:"Fout",customErrorMessage:"Deze inhoud is momenteel niet beschikbaar",noSupportMessage:"Deze inhoud kan niet op dit apparaat worden afgespeeld",noSupportInstallChrome:"Het gebruik van de nieuwste versie van Google Chrome kan helpen om deze inhoud te bekijken"},ads:{controlBarCustomMessage:"Advertentie",skipMessage:"Advertentie overslaan",textForClickUIOnMobile:"Kom meer te weten"}},polish:{bitrates:{auto:"Auto",renditions:["Niska","Średnia","Wysoka","Najwyższa"]},hint:{auto:"Auto",play:"Odtwarzaj",pause:"Zatrzymaj",seek:"Suwak przewijania",enterFullscreen:"Wejdź na pełny ekran",exitFullscreen:"Zamknij pełny ekran",rewind:"Przewijać",forward:"Popierać",sharing:"Udostępnij",sharingLink:"Link do wideo",sharingEmbedCode:"Udostępnij film",quality:"Jakość",volume:"Głośność",mute:"Wycisz",unmute:"Wyłącz wyciszenie",minus:"Minus",plus:"Plus",speed:"Prędkość",captions:"Zamknięte napisy",track:"Tor",transcript:"Transkrypcja",audio:"Język",chapters:"Odcinki",live:"Na żywo",close:"Wstecz",floating:"Wstecz",settings:"Ustawienia",back:"Z powrotem",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlista",next:"Kolejny",previous:"Poprzedni",related:"Treści powiązane",upNext:"Następny",up:"W górę",down:"Na dół",left:"Lewo",right:"Dobrze",default:"Resetowanie",off:"Wyłączone",loop:"Pętla",theater:"Tryb teatralny",info:"Informacja",keyboardShortcut:"Skrót klawiszowy"},fccCaptions:{fontColor:"Kolor czcionki",fontOpacity:"Krycie czcionki",fontSize:"Rozmiar czcionki",fontFamily:"Rodzina czcionek",fontEdge:"Krawędź",backgroundColor:"Kolor tła",backgroundOpacity:"Krycie tła",windowColor:"Kolor okna",windowOpacity:"Krycie okna"},error:{error:"Błąd",customErrorMessage:"Ta treść jest aktualnie niedostępna",noSupportMessage:"Tej treści nie można odtworzyć na tym urządzeniu",noSupportInstallChrome:"Aby wyświetlić tę treść, użyj najnowszej wersji Google Chrome"},ads:{controlBarCustomMessage:"Reklama",skipMessage:"Pomiń reklamę",textForClickUIOnMobile:"Więcej informacji"}},japanese:{bitrates:{auto:"自動",renditions:["低い","中くらい","高い","最大"]},hint:{auto:"自動",play:"再生",pause:"一時停止",seek:"シーク バー",enterFullscreen:"フルスクリーンに入る",exitFullscreen:"全画面モードの終了",rewind:"巻き戻し",forward:"回す",sharing:"共有",sharingLink:"ビデオへのリンク",sharingEmbedCode:"動画をシェアする",quality:"画質・音質",volume:"音量",mute:"ミュート",unmute:"ミュート解除",minus:"マイナス",plus:"プラス",speed:"再生速度",captions:"字幕",track:"追跡",transcript:"筆記録",audio:"言語",chapters:"チャプター",live:"住む",close:"戻る",floating:"戻る",settings:"設定",back:"バック",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"再生リスト",next:"次",previous:"前",related:"関連コンテンツ",upNext:"次に再生",up:"アップ",down:"ダウン",left:"左",right:"正しい",default:"リセットする",off:"オフ",loop:"ループ",theater:"シアターモード",info:"情報",keyboardShortcut:"キーボード ショートカット"},fccCaptions:{fontColor:"フォントカラー",fontOpacity:"フォントの不透明度",fontSize:"フォントサイズ",fontFamily:"フォントファミリー",fontEdge:"縁",backgroundColor:"背景色",backgroundOpacity:"背景の不透明度",windowColor:"ウィンドウの色",windowOpacity:"ウィンドウの不透明度"},error:{error:"エラー",customErrorMessage:"このコンテンツは現在利用できません",noSupportMessage:"このコンテンツは、このデバイスでは再生できません",noSupportInstallChrome:"Google Chromeの最新版を使用すると、このコンテンツを視聴できます"},ads:{controlBarCustomMessage:"広告",skipMessage:"広告をスキップ",textForClickUIOnMobile:"詳細はこちら"}},chinese:{bitrates:{auto:"自动",renditions:["低的","中等的","高的","最大"]},hint:{auto:"自动",play:"播放",pause:"暂停",seek:"定位",enterFullscreen:"进入全屏",exitFullscreen:"退出全屏",rewind:"倒带",forward:"发送",sharing:"共享",sharingLink:"链接到视频",sharingEmbedCode:"嵌入视频",quality:"分辨率",volume:"音量",mute:"静音",unmute:"取消静音",minus:"减少",plus:"增加",speed:"速度",captions:"字幕",track:"追踪",transcript:"成绩单",audio:"音频语言",chapters:"章节",live:"居住",close:"返回",floating:"返回",settings:"设定值",back:"背部",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"播放列表",next:"下一个",previous:"上一个",related:"相关",upNext:"即将播放",up:"上",down:"下",left:"剩下",right:"对",default:"重启",off:"关闭",loop:"环形",theater:"剧院模式",info:"信息",keyboardShortcut:"键盘快捷键"},fccCaptions:{fontColor:"字体颜色",fontOpacity:"字体不透明度",fontSize:"字体大小",fontFamily:"字体系列",fontEdge:"边缘",backgroundColor:"背景颜色",backgroundOpacity:"背景不透明度",windowColor:"窗户颜色",windowOpacity:"窗口不透明度"},error:{error:"错误",customErrorMessage:"此内容当前不可用",noSupportMessage:"无法在此设备上播放此内容",noSupportInstallChrome:"使用最新版本的 Google Chrome 可能有助于观看此内容"},ads:{controlBarCustomMessage:"广告",skipMessage:"跳过广告",textForClickUIOnMobile:"了解更多详情"}},korean:{bitrates:{auto:"자동",renditions:["낮은","중간","높은","최고"]},hint:{auto:"자동",play:"재생",pause:"일시정지",seek:"탐색",enterFullscreen:"전체 화면 입력",exitFullscreen:"전체화면 종료",rewind:"되감기",forward:"전송하다",sharing:"공유하기",sharingLink:"동영상 링크",sharingEmbedCode:"동영상 퍼가기",quality:"품질",volume:"음량",mute:"음소거",unmute:"음소거 해제",minus:"작게",plus:"크게",speed:"재생속도",captions:"자막",track:"과정",transcript:"성적 증명서",audio:"오디오 언어",chapters:"챕터",live:"라이브",close:"닫기",floating:"닫기",settings:"설정",back:"뒤",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"재생목록",next:"다음",previous:"이전",related:"관련 콘텐츠",upNext:"다음 콘텐츠",up:"쪽으로",down:"내려가는",left:"왼쪽",right:"권리",default:"초기화",off:"끄기",loop:"고리",theater:"극장 모드",info:"정보",keyboardShortcut:"키보드 단축키"},fccCaptions:{fontColor:"글자 색",fontOpacity:"글꼴 불투명도",fontSize:"글꼴 크기",fontFamily:"글꼴 군",fontEdge:"가장자리",backgroundColor:"배경색",backgroundOpacity:"배경 불투명도",windowColor:"창 색상",windowOpacity:"창 불투명도"},error:{error:"오류",customErrorMessage:"현재 이용할 수 없는 콘텐츠입니다",noSupportMessage:"이 기기에서 재생되지 않는 콘텐츠입니다",noSupportInstallChrome:"최신 버전의 Google Chrome을 사용하면 이 콘텐츠 시청에 도움이 될 것입니다"},ads:{controlBarCustomMessage:"광고",skipMessage:"광고 건너뛰기",textForClickUIOnMobile:"자세히 알아보기"}},swedish:{bitrates:{auto:"Auto",renditions:["Låg","Medium","Hög","Maximal"]},hint:{auto:"Auto",play:"Spela",pause:"Pausa",seek:"Sök",enterFullscreen:"Öppna helskärm",exitFullscreen:"Gå ur fullskärm",rewind:"Spola tillbaka",forward:"Vidarebefordra",sharing:"Dela",sharingLink:"Länk till video",sharingEmbedCode:"Bädda in video",quality:"Kvalitet",volume:"Volym",mute:"Ljud av",unmute:"Ljud på",minus:"Minus",plus:"Plus",speed:"Hastighet",captions:"Dold bildtext",track:"Spår",transcript:"Transkript",audio:"Ljudspråk",chapters:"Kapitel",live:"LIVE",close:"Stäng",floating:"Stäng",settings:"Inställningar",back:"Tillbaka",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Spellista",next:"Nästa",previous:"Föregående",related:"Relaterat",upNext:"Kommande",up:"Upp",down:"Ner",left:"Vänster",right:"Rätt",default:"Återställa",off:"Av",loop:"Slinga",theater:"Teaterläge",info:"Information",keyboardShortcut:"Tangentbordsgenväg"},fccCaptions:{fontColor:"Fontfärg",fontOpacity:"Typ av teckensnitt",fontSize:"Textstorlek",fontFamily:"Typsnittsfamilj",fontEdge:"Kant",backgroundColor:"Bakgrundsfärg",backgroundOpacity:"Bakgrundens opacitet",windowColor:"Fönsterfärg",windowOpacity:"Fönster Opacitet"},error:{error:"Fel",customErrorMessage:"Detta innehåll är för tillfället inte tillgängligt",noSupportMessage:"Detta innehåll kan inte spelas upp på denna enhet",noSupportInstallChrome:"Att använda senaste versionen av Google Chrome kan möjligen underlätta att se detta innehåll"},ads:{controlBarCustomMessage:"Annons",skipMessage:"Hoppa över annons",textForClickUIOnMobile:"Läs mer"}},thai:{bitrates:{auto:"อัตโนมัติ",renditions:["ต่ำ","ปานกลาง","สูง","ขีดสุด"]},hint:{auto:"อัตโนมัติ",play:"เล่น",pause:"หยุดชั่วคราว",seek:"แถบเลื่อนค้นหา",enterFullscreen:"เข้าสู่แบบเต็มหน้าจอ",exitFullscreen:"ออกจากโหมดเต็มหน้าจอ",rewind:"ย้อนกลับ",forward:"ล่วงหน้า",sharing:"แชร์",sharingLink:"ลิงก์ไปยังวิดีโอ",sharingEmbedCode:"คัดลอกโค้ดเพื่อนำวิดีโอไปแสดงโชว์ที่อื่น",quality:"ความละเอียด",volume:"ระดับเสียง",mute:"ปิดเสียง",unmute:"เปิดเสียง",minus:"ลด",plus:"เพิ่ม",speed:"อัตราความเร็วในการเล่น",captions:"คำอธิบายวิดีโอ",track:"ติดตาม",transcript:"สำเนา",audio:"ภาษาเสียง",chapters:"ตอน",live:"สด",close:"ปิด",floating:"ปิด",settings:"การตั้งค่า",back:"กลับ",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"เพลย์ลิสต์",next:"ถัดไป",previous:"ก่อนหน้า",related:"เนื้อหาที่เกี่ยวข้อง",upNext:"ต่อไป",up:"ขึ้น",down:"ลง",left:"ซ้าย",right:"ขวา",default:"รีเซ็ต",off:"ปิด",loop:"ห่วง",theater:"โหมดโรงละคร",info:"ข้อมูล",keyboardShortcut:"แป้นพิมพ์ลัด"},fccCaptions:{fontColor:"สีตัวอักษร",fontOpacity:"ความทึบของตัวอักษร",fontSize:"ขนาดตัวอักษร",fontFamily:"ตระกูลฟอนต์",fontEdge:"ขอบ",backgroundColor:"สีพื้นหลัง",backgroundOpacity:"ความทึบของพื้นหลัง",windowColor:"สีหน้าต่าง",windowOpacity:"ความทึบของหน้าต่าง"},error:{error:"ข้อผิดพลาด",customErrorMessage:"ไม่สามารถแสดงเนื้อหาได้ในขณะนี้",noSupportMessage:"ไม่สามารถแสดงเนื้อหาได้บนอุปกรณ์เครื่องนี้",noSupportInstallChrome:"การใช้ Google Chrome เวอร์ชันล่าสุดช่วยให้คุณสามารถดูเนื้อหานี้ได้"},ads:{controlBarCustomMessage:"โฆษณา",skipMessage:"ข้ามโฆษณา",textForClickUIOnMobile:"ดูเพิ่มเติม"}},turkish:{bitrates:{auto:"Otomatik",renditions:["Düşük","Orta","Yüksek","Maksimum"]},hint:{auto:"Otomatik",play:"Oynat",pause:"Duraklat",seek:"Arama kaydırma çubuğu",enterFullscreen:"Tam ekran yap",exitFullscreen:"Tam ekrandan çık",rewind:"Yeniden sarmak",forward:"Ilerletmek",sharing:"Paylaş",sharingLink:"Video bağlantısı",sharingEmbedCode:"Videoyu göm",quality:"Çözünürlük",volume:"Ses düzeyi",mute:"Sesi kapat",unmute:"Sesi aç",minus:"Eksi",plus:"Artı",speed:"Hız",captions:"Altyazılar",track:"Izlemek",transcript:"Transcript",audio:"Ses dilleri",chapters:"Bölümler",live:"Canlı",settings:"Ayarlar",back:"Geri",close:"Geri",floating:"Geri",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Çalma listesi",next:"Sonraki",previous:"Önceki",related:"İlgili",upNext:"Bir sonraki",up:"Yukarı",down:"Aşağı",left:"Ayrıldı",right:"Sağ",default:"Sıfırla",off:"Kapalı",loop:"Döngü",theater:"Tiyatro Modu",info:"Bilgi",keyboardShortcut:"Klavye kısayolu"},fccCaptions:{fontColor:"Yazı rengi",fontOpacity:"Yazı Tipi Opaklığı",fontSize:"Yazı Boyutu",fontFamily:"Font ailesi",fontEdge:"Kenar",backgroundColor:"Arka plan rengi",backgroundOpacity:"Arka Plan Şeffaflığı",windowColor:"Pencere Rengi",windowOpacity:"Pencere Şeffaflığı"},error:{error:"Hata",customErrorMessage:"Bu içerik şu anda kullanılamıyor",noSupportMessage:"Bu içerik bu cihazda oynatılamıyor",noSupportInstallChrome:"Google Chrome'un en son sürümünü kullanmak bu içeriği görüntülemenize yardımcı olabilir"},ads:{controlBarCustomMessage:"Reklam",skipMessage:"Reklamı atla",textForClickUIOnMobile:"Daha fazla bilgi"}},vietnamese:{bitrates:{auto:"Tự động",renditions:["Thấp","Trung bình","Cao","Tối đa"]},hint:{auto:"Tự động",play:"Đọc",pause:"Dừng",seek:"Tìm",enterFullscreen:"Vào toàn màn hình",exitFullscreen:"Thoát khỏi chế độ toàn màn hình",rewind:"Tua lại",forward:"Chuyển",sharing:"Chia sẻ",sharingLink:"Đường dẫn đến video",sharingEmbedCode:"Gắn video",quality:"Chất lượng",volume:"Âm lượng",mute:"Tắt tiếng",unmute:"Bật tiếng",minus:"Trừ",plus:"Cộng",speed:"Tốc độ",captions:"Phụ đề chi tiết",track:"Theo dõi",transcript:"Bảng điểm",audio:"Ngôn ngữ âm thanh",chapters:"Chương",live:"TRỰC TIẾP",settings:"Cài đặt",back:"Trở lại",close:"Đóng",floating:"Đóng",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Playlist",next:"Tiếp theo",previous:"Trước",related:"Có liên quan",upNext:"Lên tiếp",up:"Lên",down:"Xuống",left:"Trái",right:"Đúng",default:"Cài lại",off:"Tắt",loop:"Vòng",theater:"Chế độ rạp hát",info:"Thông tin",keyboardShortcut:"Phim tăt"},fccCaptions:{fontColor:"Màu chữ",fontOpacity:"Độ mờ phông chữ",fontSize:"Cỡ chữ",fontFamily:"Họ Phông chữ",fontEdge:"Cạnh",backgroundColor:"Màu nền",backgroundOpacity:"Độ mờ nền",windowColor:"Màu cửa sổ",windowOpacity:"Độ mờ cửa sổ"},error:{error:"Lỗi",customErrorMessage:"Nội dung này hiện không có",noSupportMessage:"Nội dung này không thể đọc trên thiết bị này",noSupportInstallChrome:"Sử dụng phiên bản mới nhất của Google Chrome có thể giúp xem nội dung này"},ads:{controlBarCustomMessage:"Quảng cáo",skipMessage:"Bỏ quảng cáo",textForClickUIOnMobile:"Tìm hiểu thêm"}},danish:{bitrates:{auto:"Automatisk",renditions:["Lav","Medium","Høj","Maksimal"]},hint:{auto:"Automatisk",play:"Afspil",pause:"Pause",seek:"Søg",enterFullscreen:"Gå ind i fuld skærm",exitFullscreen:"Annuller fuld skærm",rewind:"Spole tilbage",forward:"Frem",sharing:"Del",sharingLink:"Link til video",sharingEmbedCode:"Indlejr video",quality:"Kvalitet",volume:"Lydstyrke",mute:"Lydløs",unmute:"Annuller lydløs",minus:"Minus",plus:"Plus",speed:"Hastighed",captions:"Lukkede billedtekster",track:"Spore",transcript:"Udskrift",audio:"Lydsprog",chapters:"Kapitler",live:"LIVE",close:"Luk",floating:"Luk",settings:"Indstillinger",back:"Tilbage",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Afspilningsliste",next:"Næste",previous:"Forrige",related:"Relateret",upNext:"Næste",up:"Op",down:"Ned",left:"Venstre",right:"Ret",default:"Nulstil",off:"Fra",loop:"Sløjfe",theater:"Teatertilstand",info:"Information",keyboardShortcut:"Tastaturgenvej"},fccCaptions:{fontColor:"Skrift farve",fontOpacity:"Skrifttæthed",fontSize:"Skriftstørrelse",fontFamily:"Fontfamilie",fontEdge:"Kant",backgroundColor:"Baggrundsfarve",backgroundOpacity:"Baggrundsdensitet",windowColor:"Vinduesfarve",windowOpacity:"Vinduesgennemsigtighed"},error:{error:"Fejl",customErrorMessage:"Dette indhold er ikke tilgængeligt for øjeblikket",noSupportMessage:"Dette indhold kan ikke afspilles på denne enhed",noSupportInstallChrome:"Hvis du bruger den nyeste version af Google Chrome, kan det hjælpe til at få vist dette indhold"},ads:{controlBarCustomMessage:"Annonce",skipMessage:"Spring annonce over",textForClickUIOnMobile:"Lær mere"}},finnish:{bitrates:{auto:"Automaattinen",renditions:["Matala","Keskitasoinen","Hyvä","Enimmäismäärä"]},hint:{auto:"Automaattinen",play:"Toista",pause:"Keskeytä",seek:"Hae",enterFullscreen:"Siirry koko näyttöön",exitFullscreen:"Poistu koko näytöstä",rewind:"Kelaa taaksepäin",forward:"Edistää",sharing:"Jaa",sharingLink:"Linkki videoon",sharingEmbedCode:"Liitä video",quality:"Laatu",volume:"Äänenvoimakkuus",mute:"Mykistä",unmute:"Peru mykistys",minus:"Miinus",plus:"Plus",speed:"Nopeus",captions:"Tekstitys",track:"Seurata",transcript:"Jäljennös",audio:"Audiokielet",chapters:"Kappaleet",live:"LIVE",close:"Sulje",floating:"Sulje",settings:"Asetukset",back:"Takaisin",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Soittolista",next:"Seuraava",previous:"Edellinen",related:"Asiaan liittyvä",upNext:"Seuraava ylös",up:"Ylös",down:"Alas",left:"Vasen",right:"Oikea",default:"Nollaa",off:"Off",loop:"Silmukka",theater:"Teatteritila",info:"Tiedot",keyboardShortcut:"Pikanäppäin"},fccCaptions:{fontColor:"Fontin väri",fontOpacity:"Fontin läpinäkyvyys",fontSize:"Fonttikoko",fontFamily:"Fonttiperhe",fontEdge:"Reuna",backgroundColor:"Taustaväri",backgroundOpacity:"Taustan peittävyys",windowColor:"Ikkunan väri",windowOpacity:"Ikkunan peittävyys"},error:{error:"Virhe",customErrorMessage:"Tämä sisältö ei ole nyt käytettävissä",noSupportMessage:"Sisältöä ei voi toistaa tällä laitteeella",noSupportInstallChrome:"Jos käytät uusinta Google Chrome -versiota, tämän sisällön katsominen voi olla helpompaa"},ads:{controlBarCustomMessage:"Mainos",skipMessage:"Jätä mainos väliin",textForClickUIOnMobile:"Lisätietoja"}},norwegian:{bitrates:{auto:"Automatisk",renditions:["Lav","Middels","Høy","Maksimal"]},hint:{auto:"Automatisk",play:"Spill av",pause:"Pause",seek:"Hopp",enterFullscreen:"Gå inn i fullskjerm",exitFullscreen:"Avslutt fullskjerm",rewind:"Spole",forward:"Framover",sharing:"Del",sharingLink:"Link til videoen",sharingEmbedCode:"Bygg inn videoen",quality:"Kvalitet",volume:"Volum",mute:"Kutt lyden",unmute:"Slå på lyden",minus:"Minus",plus:"Pluss",speed:"Hastighet",captions:"Lukkede bildetekster",track:"Spor",transcript:"Transkripsjon",audio:"Lydspråk",chapters:"Kapitler",live:"LIVE",close:"Lukk",floating:"Lukk",settings:"Innstillinger",back:"Tilbake",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Spilleliste",next:"Neste",previous:"Forrige",related:"Relatert",upNext:"Neste",up:"Opp",down:"Ned",left:"Venstre",right:"Ikke sant",default:"Nullstille",off:"Av",loop:"Løkke",theater:"Teatermodus",info:"Informasjon",keyboardShortcut:"Tastatursnarvei"},fccCaptions:{fontColor:"Fontin väri",fontOpacity:"Fontin läpinäkyvyys",fontSize:"Fonttikoko",fontFamily:"Fonttiperhe",fontEdge:"Reuna",backgroundColor:"Taustaväri",backgroundOpacity:"Taustan peittävyys",windowColor:"Ikkunan väri",windowOpacity:"Ikkunan peittävyys"},error:{error:"Feil",customErrorMessage:"Dette innholdet er for tiden ikke tilgjengelig",noSupportMessage:"Dette innholdet kan ikke spilles av på denne enheten",noSupportInstallChrome:"Bruk den nyeste versjonen av Google Chrome hvis du opplever problemer med å se dette innholdet"},ads:{controlBarCustomMessage:"Annonse",skipMessage:"Hopp over annonsen",textForClickUIOnMobile:"Finn ut mer"}},indonesian:{bitrates:{auto:"Otomatis",renditions:["Rendah","Sedang","Tinggi","Maksimal"]},hint:{auto:"Otomatis",play:"Mainkan",pause:"Jeda",seek:"Cari",enterFullscreen:"Memasuki layar penuh",exitFullscreen:"Keluar layar penuh",rewind:"Memutar ulang",forward:"Meneruskan",sharing:"Bagikan",sharingLink:"Tautan ke video",sharingEmbedCode:"Tempel video",quality:"Kualitas",volume:"Volume",mute:"Bisukan",unmute:"Bersuara",minus:"Dikurangi",plus:"Plus",speed:"Kecepatan",captions:"Keterangan tertutup",track:"Jalur",transcript:"Transkrip",audio:"Bahasa audio",chapters:"Bab",live:"Langsung",close:"Tutup",floating:"Tutup",settings:"Pengaturan",back:"Kembali",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Daftar putar",next:"Selanjutnya",previous:"Sebelumnya",related:"Terkait",upNext:"Teruskan selanjutnya",up:"Naik",down:"Turun",left:"Kiri",right:"Baik",default:"Atur ulang",off:"Mati",loop:"Lingkaran",theater:"Mode Teater",info:"Informasi",keyboardShortcut:"Pintasan keyboard"},fccCaptions:{fontColor:"Warna huruf",fontOpacity:"Opasitas Font",fontSize:"Ukuran huruf",fontFamily:"Keluarga Font",fontEdge:"Tepi",backgroundColor:"Warna latar belakang",backgroundOpacity:"Opasitas Latar Belakang",windowColor:"Warna Jendela",windowOpacity:"Opasitas Jendela"},error:{error:"Kesalahan",customErrorMessage:"Saat ini konten tidak tersedia",noSupportMessage:"Konten ini tidak dapat dimainkan pada perangkat",noSupportInstallChrome:"Menggunakaan versi terbaru dari Google Chrome dapat membantu melihat konten ini"},ads:{controlBarCustomMessage:"Iklan",skipMessage:"Lewati iklan",textForClickUIOnMobile:"Pelajari lebih lanjut"}},hindi:{bitrates:{auto:"स्वचालित",renditions:["कम","मध्यम","उच्च","ज्यादा से ज्यादा"]},hint:{auto:"स्वचालित",play:"चलाएँ",pause:"रोकें",seek:"खोजें",enterFullscreen:"पूर्ण स्क्रीन दर्ज करें",exitFullscreen:"फुल स्क्रीन से बाहर निकलें",rewind:"रिवाइंड",forward:"आगे",sharing:"साझा करें",sharingLink:"वीडियो से लिंक करें",sharingEmbedCode:"वीडियो एम्बेड करें",quality:"क्वालिटी",volume:"वॉल्यूम",mute:"म्यूट करें",unmute:"अनम्यूट करें",minus:"माइनस",plus:"प्लस",speed:"गति",captions:"कैप्शन",track:"धावन पथ",transcript:"प्रतिलिपि",audio:"ऑडियो भाषाएँ",chapters:"चैप्टर",live:"लाइव",close:"बंद करें",floating:"बंद करें",settings:"समायोजन",back:"वापस",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"प्लेलिस्ट",next:"अगला",previous:"पिछला",related:"संबंधित",upNext:"आगे का",up:"यूपी",down:"नीचे",left:"बाएं",right:"सही",default:"रीसेट",off:"बंद",loop:"कुंडली",theater:"थिएटर मोड",info:"जानकारी",keyboardShortcut:"कुंजीपटल संक्षिप्त रीति"},fccCaptions:{fontColor:"लिपि का रंग",fontOpacity:"फ़ॉन्ट अपारदर्शिता",fontSize:"फ़ॉन्ट आकार",fontFamily:"फ़ॉन्ट परिवार",fontEdge:"धार",backgroundColor:"पीछे का रंग",backgroundOpacity:"पृष्ठभूमि की अस्पष्टता",windowColor:"खिड़की का रंग",windowOpacity:"विंडो अपारदर्शिता"},error:{error:"गलती",customErrorMessage:"यह सामग्री फ़िलहाल अनुपलब्ध है",noSupportMessage:"यह सामग्री इस डिवाइस पर नहीं चलाई जा सकती",noSupportInstallChrome:"Google Chrome के नवीनतम संस्करण का इस्तेमाल करने से यह सामग्री देखने में मदद मिल सकती है"},ads:{controlBarCustomMessage:"विज्ञापन",skipMessage:"विज्ञापन छोड़ें",textForClickUIOnMobile:"अधिक जानें"}},hungarian:{bitrates:{auto:"Automatikus",renditions:["Gyenge","Közepes","Jó","Legjobb"]},hint:{auto:"Automatikus",play:"Lejátszás",pause:"Szünet",seek:"Keresés",enterFullscreen:"Lépjen be a teljes képernyőre",exitFullscreen:"Kilépés teljes képernyőből",rewind:"Visszatekerés",forward:"Előmozdít",sharing:"Megosztás",sharingLink:"Hivatkozás a videóra",sharingEmbedCode:"Videó beágyazása",quality:"Minőség",volume:"Hangerő",mute:"Némítás",unmute:"Némítás feloldás",minus:"Mínusz",plus:"Plusz",speed:"Sebesség",captions:"Zárt feliratok",track:"Vágány",transcript:"Másolat",audio:"Nyelvek",chapters:"Fejezetek",live:"Élő",close:"Bezárás",floating:"Bezárás",settings:"Beállítások",back:"Vissza",cast:"Google Cast",airplay:"AirPlay",pip:"PiP",playlist:"Lejátszási lista",next:"Következő",previous:"Előző",related:"Kapcsolódó tartalom",upNext:"Következő",up:"Fel",down:"Le",left:"Balra",right:"Jobbra",default:"Alapértelmezett",off:"Kikapcsolva",loop:"Hurok",theater:"Színházi mód",info:"Információ",keyboardShortcut:"Billentyűparancs"},fccCaptions:{fontColor:"Betű szín",fontOpacity:"Betű átlátszatlansága",fontSize:"Betűméret",fontFamily:"Betűtípus család",fontEdge:"Él",backgroundColor:"Háttérszín",backgroundOpacity:"Háttér átlátszatlansága",windowColor:"Ablak színe",windowOpacity:"Ablak átlátszatlansága"},error:{error:"Hiba",customErrorMessage:"A tartalom jelenleg nem elérhető",noSupportMessage:"A tartalom nem lejátszható az eszközön",noSupportInstallChrome:"A tartalom megtekintéséhez ajánlott a legfrisebb Google Chrome használata"},ads:{controlBarCustomMessage:"Hirdetés",skipMessage:"Hirdetés átugrása",textForClickUIOnMobile:"Bővebben"}}},Re=Oe;function Ue(t){return function(t){if(Ut(t))return Nt(t)}(t)||function(t){if(void 0!==e&&null!=Rt(t)||null!=t["@@iterator"])return Vt(t)}(t)||Ht(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Be=function(){function t(){d(this,t)}return p(t,null,[{key:"_onRePlayLoadAdTag",value:function(){this.off("play",this.onRePlayLoadAdTag),this.imaAdsManager?this.contentCompleteCalled=!1:this.rmpVast&&this.rmpVast.setContentPlayerCompleted(!1);var t=this.originalAdTagUrl;if(this.adScheduleInput){if(this.adSchedule=this.originalAdSchedule,this.adTagWaterfall=Ue(this.originalAdTagWaterfall),this.emptyInitAdTagUrl)return void this.on("ended",this.onEndedWaitForPlay);t=this.adSchedule.preroll,this.on("ended",this.adSchedulerEnded)}else this.adTagWaterfall=Ue(this.originalAdTagWaterfall),t=this.adTagUrl=this.originalAdTagUrl;this.loadAds(t),this.on("ended",this.onEndedWaitForPlay)}},{key:"_onEndedWaitForPlay",value:function(){this.off("ended",this.onEndedWaitForPlay),this.onRePlayLoadAdTag=t._onRePlayLoadAdTag.bind(this),this.on("play",this.onRePlayLoadAdTag)}},{key:"_onAdLoadedAfterReload",value:function(){var t=this;yt.isMobile?(this.dom.centralMobileUI.classList.remove("rmp-mobile-show-play"),this.dom.centralMobileUIIcon.classList.remove("rmp-i-replay"),this.dom.centralMobileUIIcon.classList.add("rmp-i-pause")):setTimeout((function(){t.dom.overlayButtonIcon.classList.replace("rmp-i-replay","rmp-i-play")}),400)}},{key:"_onClickSkipAd",value:function(t){if((K.eventStopPrevent(t),this.googleCast&&this.remotePlayer&&this.remotePlayer.whenSkippable&&this.remotePlayer.isPlayingBreak&&this.castSession)&&1e3*this.remotePlayer.currentBreakClipTime>1e3*this.adSkipOffset){var e=this.castSession.getMediaSession();this.castSession.sendMessage("urn:x-cast:com.google.cast.media",{type:"SKIP_AD",requestId:1,mediaSessionId:e.mediaSessionId}),this.dispatch("adskipped")}}},{key:"_adSkipIntervalFn",value:function(){if(this.googleCast&&this.remotePlayer&&this.remotePlayer.isMediaLoaded&&this.remotePlayer.isPlayingBreak&&this.remotePlayer.currentBreakClipTime){var t=1e3*this.remotePlayer.currentBreakClipTime;if(t>1e3*this.adSkipOffset)clearInterval(this.adSkipInterval),K.hide(this.dom.adSkipWaiting),K.show(this.dom.adSkipMessage),K.show(this.dom.skipIcon);else if(t>-1){var e=Math.round((1e3*this.adSkipOffset-t)/1e3);e>0&&K.setText(this.dom.adSkipWaiting,this.labels.ads.skipMessage+" "+e+"s")}}}},{key:"_handleFullSlotAdSense",value:function(){/adsense/i.test(this.adSystem)&&/(text|image\/)/i.test(this.adContentType)&&this.dom.container.classList.add("rmp-ad-no-ui")}},{key:"_adCountdownIntervalFn",value:function(){var t=-1;this.imaAdsManager?t=this.imaAdsManager.getRemainingTime():this.rmpVast&&(t=(this.getAdDuration()-this.getAdCurrentTime())/1e3),"number"==typeof t&&t>=0&&(t=K.readableTime(Math.round(t)),K.setText(this.dom.adCountdown,t))}},{key:"_adRemainingTimeBar",value:function(){var t=-1,e=this.getAdDuration();if(this.imaAdsManager)t=this.imaAdsManager.getRemainingTime();else if(this.rmpVast){var i=this.rmpVast.getAdRemainingTime();i>-1&&(t=i/1e3)}if(t>0&&e>0){var r=Math.floor(100*(1-1e3*t/e));r<0&&(r=0),this.dom.adCurrentTime.style.width=r+"%"}}},{key:"_setVPAIDUI",value:function(t){t?this.adVpaidControls?this.dom.container.classList.add("rmp-ad-vpaid-force-controls"):this.dom.container.classList.add("rmp-ad-no-ui"):this.adVpaidControls?this.dom.container.classList.remove("rmp-ad-vpaid-force-controls"):this.dom.container.classList.remove("rmp-ad-no-ui")}},{key:"_onInteractionReloadAdTag",value:function(e){K.eventStopPrevent(e),this.dom.controlBar&&this.dom.controlBar.classList.remove("rmp-no-display"),yt.isMobile?(this.dom.centralMobileUI.removeEventListener("touchend",this.onInteractionReloadAdTag),this.dom.centralMobileUI.removeEventListener("click",this.onInteractionReloadAdTag)):(this.dom.overlayButton.removeEventListener("touchend",this.onInteractionReloadAdTag),this.dom.overlayButton.removeEventListener("click",this.onInteractionReloadAdTag),this.dom.container.removeEventListener("click",this.onInteractionReloadAdTag)),this.adTagWaterfall=Ue(this.originalAdTagWaterfall),this.adTagUrl=this.originalAdTagUrl,this.loadAds(this.adTagUrl),this.one("adloaded",t._onAdLoadedAfterReload.bind(this))}},{key:"endedOutStreamUI",value:function(){this.contentMetadata.endOfVideoPoster.length>0&&(this.endOfVideoPoster=K.getPoster(this.contentMetadata.endOfVideoPoster)),""!==this.endOfVideoPoster&&this.setPoster(this.endOfVideoPoster),""!==this.poster&&this.showPoster(),this.dom.controlBar&&this.dom.controlBar.classList.add("rmp-no-display"),Ot.showCentralPlay.call(this),this.adTagReloadOnEnded&&!this.adParserLoadError?(this.onInteractionReloadAdTag=t._onInteractionReloadAdTag.bind(this),yt.isMobile?(this.dom.centralMobileUIIcon.classList.remove("rmp-i-pause","rmp-i-play"),this.dom.centralMobileUIIcon.classList.add("rmp-i-replay"),this.dom.centralMobileUI.addEventListener("touchend",this.onInteractionReloadAdTag),this.dom.centralMobileUI.addEventListener("click",this.onInteractionReloadAdTag)):(this.dom.overlayButtonIcon.classList.replace("rmp-i-play","rmp-i-replay"),this.dom.overlayButton.addEventListener("touchend",this.onInteractionReloadAdTag),this.dom.overlayButton.addEventListener("click",this.onInteractionReloadAdTag),this.dom.container.addEventListener("click",this.onInteractionReloadAdTag))):(this.dom.playPause.removeEventListener("touchend",this.initiatePlayback),this.dom.playPause.removeEventListener("click",this.initiatePlayback),yt.isMobile?(this.dom.centralMobileUI.removeEventListener("touchend",this.initiatePlayback),this.dom.centralMobileUI.removeEventListener("click",this.initiatePlayback)):(this.dom.overlayButton.removeEventListener("touchend",this.initiatePlayback),this.dom.overlayButton.removeEventListener("click",this.initiatePlayback)),this.adParserLoadError&&(this.playerInitialized=!0))}},{key:"seekToOffsetStartPosition",value:function(){this.getCurrentTime()<100&&this.seekTo(this.offsetStartPosition),this.offsetStartPosition=0}},{key:"createControlBarAdInfo",value:function(){this.dom.adInfo=K.createElement("div","rmp-ad-info"),K.hide(this.dom.adInfo),yt.isMobile&&"ima"===this.adParser&&"s2"===this.skin&&this.dom.adInfo.classList.add("rmp-no-display"),this.dom.controlBar.appendChild(this.dom.adInfo),""!==this.labels.ads.controlBarCustomMessage&&(this.dom.adMessage=K.createElement("span","rmp-ad-info-message",this.labels.ads.controlBarCustomMessage,this.rtl),this.dom.adInfo.appendChild(this.dom.adMessage))}},{key:"appendSkipUI",value:function(){if(void 0===this.dom.adSkipButton)if(this.dom.adSkipButton=K.createElement("button","rmp-button rmp-ad-skip",null,null),Ga.make.call(this,this.dom.adSkipButton,this.labels.ads.skipMessage,!0),this.dom.adSkipWaiting=K.createElement("div","rmp-ad-skip-waiting",null,this.rtl),this.dom.adSkipMessage=K.createElement("div","rmp-ad-skip-message",this.labels.ads.skipMessage,this.rtl),this.dom.skipIcon=K.createElement("div","rmp-ad-skip-icon"),this.onClickSkipAdFn=t._onClickSkipAd.bind(this),this.dom.adSkipButton.addEventListener("touchend",this.onClickSkipAdFn),this.dom.adSkipButton.addEventListener("click",this.onClickSkipAdFn),this.dom.adSkipButton.appendChild(this.dom.adSkipWaiting),this.dom.adSkipButton.appendChild(this.dom.adSkipMessage),this.dom.adSkipButton.appendChild(this.dom.skipIcon),"ima"===this.adParser)this.dom.adContainer.appendChild(this.dom.adSkipButton);else{var e=this.dom.container.querySelector(".rmp-ad-container");null!==e&&e.appendChild(this.dom.adSkipButton)}K.show(this.dom.adSkipButton),this.adSkipOffset<=0?(K.hide(this.dom.adSkipWaiting),K.show(this.dom.adSkipMessage),K.show(this.dom.skipIcon)):(K.show(this.dom.adSkipWaiting),K.hide(this.dom.adSkipMessage),K.hide(this.dom.skipIcon)),this.adSkipOffset>0&&(t._adSkipIntervalFn.call(this),clearInterval(this.adSkipInterval),this.adSkipInterval=setInterval(t._adSkipIntervalFn.bind(this),250))}},{key:"setUIForAds",value:function(e){if(e&&!this.hasAdUI){if(this.dom.container.classList.add("rmp-linear-ad-ui"),!this.adOutStream&&(ae.closeAll.call(this),K.hide(this.dom.seekBar),K.hide(this.dom.time),K.hide(this.dom.logoImg),K.hide(this.dom.relatedSkip),this.audioOnlyUseVideoLayout&&this.dom.container.classList.remove("rmp-audio-only-use-video-layout"),this.hasPlaylist&&(K.hide(this.dom.playlistLeftArrow),K.hide(this.dom.playlistRightArrow),this.playlistAudioOnly&&this.dom.container.classList.remove("rmp-playlist-audio-only")),this.hasRelated&&this.relatedAudioOnly&&this.dom.container.classList.remove("rmp-related-audio-only"),this.video360)){var i=this.dom.container.querySelector(".rmp-360-text");null!==i&&K.removeElement(i),K.hide(this.dom.ui360),K.show(this.dom.adContainer)}this.dom.adInfo||t.createControlBarAdInfo.call(this),!1===this.adCountDown&&""===this.labels.ads.controlBarCustomMessage||K.show(this.dom.adInfo),this.isVPAID&&t._setVPAIDUI.call(this,!0),t._handleFullSlotAdSense.call(this),this.hasAdUI=!0}else!e&&this.hasAdUI&&(this.dom.container.classList.remove("rmp-linear-ad-ui"),this.adOutStream||(ae.closeAll.call(this),this.dom.seekBar?(K.show(this.dom.seekBar),this.isDvr&&this.isDvrLiveMode&&K.setText(this.dom.timeElapsedText,this.labels.hint.live)):K.setText(this.dom.timeElapsedText,this.labels.hint.live),K.show(this.dom.time),K.show(this.dom.relatedSkip),this.audioOnlyUseVideoLayout&&this.dom.container.classList.add("rmp-audio-only-use-video-layout"),this.hasPlaylist&&(K.show(this.dom.playlistLeftArrow),K.show(this.dom.playlistRightArrow),this.playlistAudioOnly&&this.dom.container.classList.add("rmp-playlist-audio-only")),this.hasRelated&&this.relatedAudioOnly&&this.dom.container.classList.add("rmp-related-audio-only"),this.video360&&(K.hide(this.dom.adContainer),K.show(this.dom.ui360))),K.hide(this.dom.adInfo),this.adShowRemainingTime&&(K.hide(this.dom.adCurrentTime),clearInterval(this.adRemainingTimeBarInterval)),this.isVPAID&&t._setVPAIDUI.call(this,!1),this.dom.logoImg&&K.show(this.dom.logoImg),this.dom.container.classList.remove("rmp-ad-no-ui"),clearInterval(this.adCountdownInterval),this.dom.adSkipButton&&(clearInterval(this.adSkipInterval),K.hide(this.dom.adSkipButton)),this.hasAdUI=!1)}},{key:"updateVPAIDStatus",value:function(e){var i=this.getAdContentType();/\/javascript/i.test(i)&&(this.isVPAID=!0,e&&t._setVPAIDUI.call(this,!0))}},{key:"udpatePlayPause",value:function(){this.getAdPaused()?(this.dom.playPause.classList.replace("rmp-i-pause","rmp-i-play"),K.setText(this.dom.playPauseHint,this.labels.hint.play+" (k)"),ae.updatePlayPauseUI.call(this,!0),yt.isMobile&&this.dom.centralMobileUIIcon.classList.replace("rmp-i-pause","rmp-i-play"),Ot.showCentralPlay.call(this)):(this.dom.playPause.classList.replace("rmp-i-play","rmp-i-pause"),K.setText(this.dom.playPauseHint,this.labels.hint.pause+" (k)"),ae.updatePlayPauseUI.call(this,!1),yt.isMobile&&this.dom.centralMobileUIIcon.classList.replace("rmp-i-play","rmp-i-pause"),Ot.hideCentralPlay.call(this))}},{key:"addCountDown",value:function(){this.dom.adCountdown||(this.dom.adCountdown=K.createElement("span","rmp-ad-info-countdown"),this.dom.adInfo.appendChild(this.dom.adCountdown)),t._adCountdownIntervalFn.call(this),clearInterval(this.adCountdownInterval),this.adCountdownInterval=setInterval(t._adCountdownIntervalFn.bind(this),1e3)}},{key:"createMarkers",value:function(t,e){if(this.dom.timetotal&&this.dom.handle)for(var i=0;i=100)continue;0===(a=t[i])?(r.style.left="0",r.style.borderRadius="8px 0 0 8px",r.style.width="8px"):(n<2?r.style.marginLeft="2px":n>97&&(r.style.marginLeft="-10px"),r.style.left=n+"%")}r.setAttribute("data-marker-timestamp",a),this.dom.timetotal.insertBefore(r,this.dom.handle)}}},{key:"initRemainingTimeBar",value:function(){this.dom.adCurrentTime||(this.dom.adCurrentTime=K.createElement("div","rmp-ad-current-time"),this.dom.controlBar.appendChild(this.dom.adCurrentTime)),K.show(this.dom.adCurrentTime),this.dom.adCurrentTime.style.width=0,t._adRemainingTimeBar.call(this),clearInterval(this.adRemainingTimeBarInterval),this.adRemainingTimeBarInterval=setInterval(t._adRemainingTimeBar.bind(this),200)}},{key:"processAdScheduleCallback",value:function(t,e){var i=this;"function"==typeof this.adScheduleCallback?this.adScheduleCallback().then((function(t){i.loadAds(t,e)})).catch((function(t){console.trace(t)})):this.loadAds(t,e)}},{key:"_adSchedulerChecker",value:function(){var e,i,r;if(this.isVod){var a=this.getCurrentTime();a>-1&&(e=Math.round(a/100)/10)}else e=this.liveAdSchedulerCheckerIndex;Array.isArray(this.adSchedule.midroll)&&Array.isArray(this.adSchedule.midroll[0])&&(i=this.adSchedule.midroll[0][0],r=this.adSchedule.midroll[0][1],"number"==typeof i&&"number"==typeof e&&e>i&&"string"==typeof r&&""!==r&&(this.isVod&&(this.off("timeupdate",this.adSchedulerChecker),this.adScheduleOnAdStarted=function(){this.off("adstarted",this.adScheduleOnAdStarted),this.getAdLinear()||this.on("timeupdate",this.adSchedulerChecker)}.bind(this),this.on("adstarted",this.adScheduleOnAdStarted),"ima"===this.adParser?(this.adScheduleOnContentResumeRequested=function(){this.off("adstarted",this.adScheduleOnAdStarted),this.off("aderror",this.adScheduleOnAdError),this.off("adcontentresumerequested",this.adScheduleOnContentResumeRequested),this.on("timeupdate",this.adSchedulerChecker)}.bind(this),this.on("adcontentresumerequested",this.adScheduleOnContentResumeRequested),this.adScheduleOnAdError=function(){this.off("adstarted",this.adScheduleOnAdStarted),this.off("aderror",this.adScheduleOnAdError),this.off("adcontentresumerequested",this.adScheduleOnContentResumeRequested),this.on("timeupdate",this.adSchedulerChecker)}.bind(this),this.on("aderror",this.adScheduleOnAdError)):(this.adScheduleOnAdDestroyed=function(){this.off("adstarted",this.adScheduleOnAdStarted),this.off("addestroyed",this.adScheduleOnAdDestroyed),this.on("timeupdate",this.adSchedulerChecker)}.bind(this),this.on("addestroyed",this.adScheduleOnAdDestroyed))),t.processAdScheduleCallback.call(this,r,!1),this.adSchedule.midroll.shift()))}},{key:"_adSchedulerEnded",value:function(){this.off("ended",this.adSchedulerEnded),this.adSchedule.postroll&&t.processAdScheduleCallback.call(this,this.adSchedule.postroll,!1)}},{key:"_playScheduler",value:function(){var e=this;this.off("play",this.playScheduler),this.liveAdSchedulerChecker=setInterval((function(){e.getPaused()||(!e.getAdOnStage()||e.getAdOnStage()&&!e.getAdLinear())&&(e.liveAdSchedulerCheckerIndex++,t._adSchedulerChecker.call(e))}),1e3)}},{key:"destroyAdScheduler",value:function(){this.off("addestroyed",this.adScheduleOnAdDestroyed),this.off("adstarted",this.adScheduleOnAdStarted),this.off("aderror",this.adScheduleOnAdError),this.off("adcontentresumerequested",this.adScheduleOnContentResumeRequested),this.off("timeupdate",this.adSchedulerChecker),this.off("ended",this.adSchedulerEnded),this.off("play",this.playScheduler),clearInterval(this.liveAdSchedulerChecker)}},{key:"initAdScheduler",value:function(){this.adScheduleInput&&this.ads&&(this.adSchedulerChecker=t._adSchedulerChecker.bind(this),this.isVod?(this.on("timeupdate",this.adSchedulerChecker),this.adSchedulerEnded=t._adSchedulerEnded.bind(this),this.on("ended",this.adSchedulerEnded)):(this.playScheduler=t._playScheduler.bind(this),this.on("play",this.playScheduler)))}},{key:"hasAdblock",value:function(){var t=this;return new(b())((function(e){var i=["https://securepubads.g.doubleclick.net/pagead/ppub_config","https://ads.stickyadstv.com/user-registering","https://static.criteo.net/images/pixel.gif?ch=2"],r=i[K.getRandomInt(0,i.length)];K.ajax(r,t.ajaxTimeout,!1,"HEAD").then((function(t){e(""!==t)})).catch((function(){e(!0)}))}))}}]),t}(),Ve={},Ne=function(t,e,i,r,a){var n=new google.ima.dai.api.VODStreamRequest;n.contentSourceId=t,n.videoId=e,i&&(n.apiKey=i),K.isEmptyObject(r)||(n.adTagParameters=r),a&&(n.streamActivityMonitorId=a),this.imaDaiStreamManager.requestStream(n)},He=function(t,e,i,r){var a=new google.ima.dai.api.LiveStreamRequest;a.assetKey=t,e&&(a.apiKey=e),K.isEmptyObject(i)||(a.adTagParameters=i),r&&(a.streamActivityMonitorId=r),this.imaDaiStreamManager.requestStream(a)},qe=function(t,e,i,r,a){var n=new google.ima.dai.api.PodStreamRequest;e&&(n.networkCode=e),t&&(n.customAssetKey=t),i&&(n.apiKey=i),K.isEmptyObject(r)||(n.adTagParameters=r),a&&(n.streamActivityMonitorId=a),this.imaDaiStreamManager.requestStream(n)},ze=function(t){if(t&&"function"==typeof t.getStreamData){var e=t.getStreamData().adProgressData,i=e.adPosition,r=e.totalAds,a=e.currentTime;this.imaDaiAdCurrentTime=a;var n=e.duration,s=Math.floor(n-a);this.adCountDown&&s>=0&&(s=K.readableTime(s),K.setText(this.dom.adCountdown,s)),"number"==typeof r&&r>1&&(this.dom.adPod||(this.dom.adPod=K.createElement("span","rmp-ad-info-pod"),this.dom.adCountdown?this.dom.adInfo.insertBefore(this.dom.adPod,this.dom.adCountdown):this.dom.adInfo.appendChild(this.dom.adPod)),"number"==typeof i&&K.setText(this.dom.adPod,i+"/"+r))}},We=function(t){if(t&&(this.adCountDown&&this.dom.adInfo&&(this.dom.adCountdown||(this.dom.adCountdown=K.createElement("span","rmp-ad-info-countdown"),this.dom.adInfo.appendChild(this.dom.adCountdown))),"function"==typeof t.getAd)){var e=t.getAd();this.adID=e.getAdId(),this.adPodInfo=e.getAdPodInfo(),this.adSystem=e.getAdSystem(),this.adAdvertiserName=e.getAdvertiserName(),this.adApiFramework=e.getApiFramework(),this.adCreativeAdId=e.getCreativeAdId(),this.adCreativeId=e.getCreativeId(),this.adDealId=e.getDealId(),this.adDescription=e.getDescription(),this.adDuration=e.getDuration(),this.adSkipTimeOffset=e.getSkipTimeOffset(),this.adTitle=e.getTitle(),this.adUniversalAdIds=e.getUniversalAdIds(),this.adVastMediaHeight=e.getVastMediaHeight(),this.adVastMediaWidth=e.getVastMediaWidth(),this.adWrapperAdIds=e.getWrapperAdIds(),this.adWrapperAdSystems=e.getWrapperAdSystems(),this.adWrapperCreativeIds=e.getWrapperCreativeIds(),this.imaDaiIsSkippable=e.isSkippable(),this.currentAdForCompanion=e}},je=function(t){if(t&&t.type)switch(t.type,t.type){case google.ima.dai.api.StreamEvent.Type.LOADED:this.imaDaiPod||(t.getStreamData().url,this.startingBitratePath=t.getStreamData().url,this.rmpHlsJS?this.rmpHlsJS.initFinised():this.imaDaiUseNativeHls&&(this.dom.video.src=this.startingBitratePath)),this.dispatch("adloaded");break;case google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED:this.adOnStage=!0,this.isLinear=!0,Be.setUIForAds.call(this,!0),K.show(this.dom.imaDaiClickElement),this.dispatch("adbreakstarted");break;case google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED:this.isLinear=!1,this.adOnStage=!1,Be.setUIForAds.call(this,!1),K.hide(this.dom.imaDaiClickElement),this.dispatch("adbreakended");break;case google.ima.dai.api.StreamEvent.Type.AD_PERIOD_STARTED:this.dispatch("adperiodstarted");break;case google.ima.dai.api.StreamEvent.Type.AD_PERIOD_ENDED:this.dispatch("adperiodended");break;case google.ima.dai.api.StreamEvent.Type.AD_PROGRESS:ze.call(this,t),this.dispatch("adprogress");break;case google.ima.dai.api.StreamEvent.Type.CUEPOINTS_CHANGED:this.dispatch("adcuepointschanged");break;case google.ima.dai.api.StreamEvent.Type.CLICK:this.dispatch("adclick");break;case google.ima.dai.api.StreamEvent.Type.ERROR:this.imaDaiErrorMessage=t.getStreamData().errorMessage,this.dispatch("aderror"),this.adImaDaiBackupStream?(this.startingBitratePath=this.adImaDaiBackupStream,this.rmpHlsJS?this.rmpHlsJS.initFinised():this.imaDaiUseNativeHls&&(this.dom.video.src=this.startingBitratePath)):Oa.error.call(this,202,t);break;case google.ima.dai.api.StreamEvent.Type.STARTED:We.call(this,t),this.dispatch("adstarted");break;case google.ima.dai.api.StreamEvent.Type.FIRST_QUARTILE:this.dispatch("adfirstquartile");break;case google.ima.dai.api.StreamEvent.Type.MIDPOINT:this.dispatch("admidpoint");break;case google.ima.dai.api.StreamEvent.Type.STREAM_INITIALIZED:if(this.imaDaiPod){var e,i=t.getStreamData().streamId;e=i?this.startingBitratePath.replace("[[STREAMID]]",i):this.adImaDaiBackupStream,this.startingBitratePath=e,this.rmpHlsJS?this.rmpHlsJS.initFinised():this.imaDaiUseNativeHls&&(this.dom.video.src=this.startingBitratePath)}this.dispatch("adstreaminitialized");break;case google.ima.dai.api.StreamEvent.Type.THIRD_QUARTILE:this.dispatch("adthirdquartile");break;case google.ima.dai.api.StreamEvent.Type.COMPLETE:this.dispatch("adcomplete");break;case google.ima.dai.api.StreamEvent.Type.SKIPPABLE_STATE_CHANGED:this.dispatch("adskippablestatechanged");break;case google.ima.dai.api.StreamEvent.Type.SKIPPED:this.dispatch("adskipped");break;case google.ima.dai.api.StreamEvent.Type.VIDEO_CLICKED:Ot.showChrome.call(this),this.dispatch("advideoclicked")}},Ge=function(){this.adImaDaiBackupStream?(this.startingBitratePath=this.adImaDaiBackupStream,this.rmpHlsJS&&this.rmpHlsJS.initFinised()):Oa.error.call(this,202)},Je=function(){var t=this;this.dom.imaDaiClickElement=K.createElement("div","rmp-ima-dai-click-area"),this.dom.content.appendChild(this.dom.imaDaiClickElement);var e=new google.ima.dai.api.UiSettings;if("auto"===this.adLocale&&(this.adLocale=Re.codes[this.validatedLanguage][0]),e.setLocale(this.adLocale),this.imaDaiStreamManager=new google.ima.dai.api.StreamManager(this.dom.video,this.dom.imaDaiClickElement,e),this.imaDaiStreamManager.addEventListener([google.ima.dai.api.StreamEvent.Type.LOADED,google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED,google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED,google.ima.dai.api.StreamEvent.Type.AD_PERIOD_STARTED,google.ima.dai.api.StreamEvent.Type.AD_PERIOD_ENDED,google.ima.dai.api.StreamEvent.Type.AD_PROGRESS,google.ima.dai.api.StreamEvent.Type.CUEPOINTS_CHANGED,google.ima.dai.api.StreamEvent.Type.CLICK,google.ima.dai.api.StreamEvent.Type.ERROR,google.ima.dai.api.StreamEvent.Type.STARTED,google.ima.dai.api.StreamEvent.Type.FIRST_QUARTILE,google.ima.dai.api.StreamEvent.Type.MIDPOINT,google.ima.dai.api.StreamEvent.Type.STREAM_INITIALIZED,google.ima.dai.api.StreamEvent.Type.THIRD_QUARTILE,google.ima.dai.api.StreamEvent.Type.COMPLETE,google.ima.dai.api.StreamEvent.Type.SKIPPABLE_STATE_CHANGED,google.ima.dai.api.StreamEvent.Type.SKIPPED,google.ima.dai.api.StreamEvent.Type.VIDEO_CLICKED],je.bind(this),!1),this.imaDaiUseNativeHls?this.dom.video.textTracks.addEventListener("addtrack",(function(e){var i=e.track;"metadata"===i.kind&&(i.mode="hidden",i.addEventListener("cuechange",(function(){var e,r=qt(i.activeCues);try{for(r.s();!(e=r.n()).done;){var a=e.value,n={};n[a.value.key]=a.value.data,t.imaDaiStreamManager.onTimedMetadata(n)}}catch(s){r.e(s)}finally{r.f()}})))})):this.hlsJS.on(Hls.Events.FRAG_PARSING_METADATA,(function(e,i){t.imaDaiStreamManager&&i&&i.samples.forEach((function(e){t.imaDaiStreamManager.processMetadata("ID3",e.data,e.pts)}))})),this.imaDaiLive)He.call(this,this.adImaDaiLiveAssetKey,this.adImaDaiApiKey,this.adImaDaiAdTagParameters,this.adImaDaiStreamActivityMonitorId);else if(this.imaDaiVod){var i,r;this.dom.video.addEventListener("seeked",(function(){if(i)i=!1;else{var e=t.dom.video.currentTime,a=t.imaDaiStreamManager.previousCuePointForStreamTime(e);a&&!a.played&&(a.start,i=!0,r=e,t.dom.video.currentTime=a.start)}})),this.imaDaiStreamManager.addEventListener(google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED,(function(){r&&r>t.dom.video.currentTime&&(t.dom.video.currentTime=r,r=null)})),Ne.call(this,this.adImaDaiVodContentSourceId,this.adImaDaiVodVideoId,this.adImaDaiApiKey,this.adImaDaiAdTagParameters,this.adImaDaiStreamActivityMonitorId)}else this.imaDaiPod&&qe.call(this,this.adImaDaiCustomAssetKey,this.adImaDaiPodNetworkCode,this.adImaDaiApiKey,this.adImaDaiAdTagParameters,this.adImaDaiStreamActivityMonitorId)};Ve.init=function(){var t=this;"undefined"!=typeof google&&void 0!==google.ima&&void 0!==google.ima.dai?this.adParserLoadError?Ge.call(this):Je.call(this):setTimeout((function(){t.adParserLoadError?Ge.call(t):Ve.init.call(t)}),40)};var Ke=Ve,Qe=function(){function t(){d(this,t)}return p(t,null,[{key:"destroy",value:function(){if(this.off("error",this.onErrorEmitMuxError),this.readingShaka)try{this.shakaPlayer.mux.destroy()}catch(t){console.trace(t)}}},{key:"detect",value:function(){void 0===window.mux&&void 0===window.initShakaPlayerMux||K.isEmptyObject(this.muxDataSettings)||K.isEmptyObject(this.muxDataSettings.data)||"string"!=typeof this.muxDataSettings.data.env_key||""===this.muxDataSettings.data.env_key||(this.muxData=!0,this.muxDataSettings.data.player_init_time=Date.now(),"string"==typeof this.muxDataSettings.data.player_name&&""!==this.muxDataSettings.data.player_name||(this.muxDataSettings.data.player_name="radiantmediaplayer"),"string"==typeof this.muxDataSettings.data.player_version&&""!==this.muxDataSettings.data.player_version||(this.muxDataSettings.data.player_version=this.playerVersion))}},{key:"_onErrorEmitMuxError",value:function(){window.mux.emit("#"+this.id+" .rmp-video","error",{player_error_code:this.errorData.code,player_error_message:this.errorData.message})}},{key:"initHlsJS",value:function(){void 0!==window.mux&&(this.muxDataSettings.hlsjs=this.hlsJS,this.muxDataSettings.Hls=window.Hls,this.onErrorEmitMuxError=t._onErrorEmitMuxError.bind(this),this.on("error",this.onErrorEmitMuxError),this.muxDataSettings,window.mux.monitor("#"+this.id+" .rmp-video",this.muxDataSettings))}},{key:"initShakaPlayer",value:function(){void 0!==window.initShakaPlayerMux&&(this.muxDataSettings,this.shakaPlayerMux=window.initShakaPlayerMux(this.shakaPlayer,this.muxDataSettings))}},{key:"initHTML5",value:function(){this.muxDataSettings,void 0!==window.mux&&(this.onErrorEmitMuxError=t._onErrorEmitMuxError.bind(this),this.on("error",this.onErrorEmitMuxError),window.mux.monitor("#"+this.id+" .rmp-video",this.muxDataSettings))}}]),t}(),Ye=function(){function t(){d(this,t)}return p(t,null,[{key:"initialListParsing",value:function(t){if(this.src=t.src,this.seekBarThumbnailsLoc=t.seekBarThumbnailsLoc,K.isValidTextTracksSet(t.ccFiles)&&nn.setCCFiles.call(this,t.ccFiles),this.ads&&(this.adTagUrl=t.adTagUrl,""===t.adTagUrl&&(this.emptyInitAdTagUrl=!0),t.adTagWaterfall&&(this.adTagWaterfall=Ue(t.adTagWaterfall))),t.shakaDrm&&(this.shakaDrm=t.shakaDrm),t.shakaRequestConfiguration&&(this.shakaRequestConfiguration=t.shakaRequestConfiguration),t.chaptersLoc&&(this.chaptersLoc=t.chaptersLoc),t.logo&&(this.logo=t.logo,t.logoLoc&&(this.logoLoc=t.logoLoc)),t.sharingUrl&&(this.sharingUrl=t.sharingUrl),t.sharingCode&&(this.sharingCode=t.sharingCode),this.setContentMetadata(t.contentMetadata,!0),this.enableGAVideoTracking&&this.setGaEventParameters({video_title:this.contentMetadata.title}),this.muxData&&this.muxDataUseListData&&(this.muxDataSettings.data.video_title=this.contentMetadata.title),!K.isEmptyObject(this.bitmovinAnalyticsConfig)){var e={};e.key=this.bitmovinAnalyticsConfig.key,e.title=this.contentMetadata.title,e.videoId=this.contentMetadata.id||K.generateUuid(),this.setBitmovinAnalytics(e)}}},{key:"listParsing",value:function(t){if(this.ads&&("string"==typeof t.adTagUrl&&""!==t.adTagUrl?(this.adTagUrl=t.adTagUrl,t.adTagWaterfall?this.adTagWaterfall=Ue(t.adTagWaterfall):this.adTagWaterfall=[]):this.adTagUrl=null),K.isValidTextTracksSet(t.ccFiles)?nn.setCCFiles.call(this,t.ccFiles):nn.unsetCCFiles.call(this),this.setContentMetadata(t.contentMetadata,!0),this.enableGAVideoTracking&&this.setGaEventParameters({video_title:t.contentMetadata.title}),this.muxData&&this.muxDataUseListData&&(this.muxDataSettings.data.video_title=t.contentMetadata.title,window.mux.emit("#"+this.id+" .rmp-video","videochange",{video_title:this.muxDataSettings.data.video_title})),!K.isEmptyObject(this.bitmovinAnalyticsConfig)){var e={};e.key=this.bitmovinAnalyticsConfig.key,e.title=t.contentMetadata.title,e.videoId=t.contentMetadata.id||K.generateUuid(),this.setBitmovinAnalytics(e)}}},{key:"filter",value:function(t){for(var e,i=t,r=[],a=0,s=i.length;a0)for(var p=r.length-1;p>=0;p--)It()(i).call(i,r[p],1);return i}}]),t}(),Xe=function(){function t(e){d(this,t),this._rmp=e,this._resetVars()}return p(t,[{key:"_resetVars",value:function(){this._nativeHlsResizeLevelSwitchFn=null,this._nativeHlsSetUpAudioTracksFn=null,this._nativeHlsSetUpCCTracksFn=null,this._hlsTextTracksCheckingIntervalFn=null,this._nativeHlsMetaExtXProgramDatetimeIntervalFn=null,this._nativeHlsSetUpQualityFn=null,this._previousLivePresentationStartTimeAsDate=-1}},{key:"destroy",value:function(){clearInterval(this._hlsTextTracksCheckingIntervalFn),clearInterval(this._nativeHlsMetaExtXProgramDatetimeIntervalFn),this._rmp.dom.video.removeEventListener("resize",this._nativeHlsResizeLevelSwitchFn),this._rmp.dom.video.removeEventListener("playing",this._nativeHlsSetUpQualityFn),this._rmp.dom.video.removeEventListener("playing",this._nativeHlsSetUpAudioTracksFn),this._rmp.dom.video.removeEventListener("playing",this._nativeHlsSetUpCCTracksFn),clearInterval(this.updateHeightForQualityIndicatorInterval),this._resetVars()}},{key:"_nativeHlsResizeLevelSwitch",value:function(){this._rmp.dom.video.videoHeight&&(this._rmp.dom.video.videoHeight,Oa.fireLevelSwitchEvents.call(this._rmp))}},{key:"_nativeHlsSetUpAudioTracks",value:function(){var t=this;if(this._rmp.dom.video.audioTracks&&this._rmp.dom.video.audioTracks.length>1){this._rmp.dom.video.audioTracks,ae.appendToControlBar.call(this._rmp,"audio"),ae.appendOverlay.call(this._rmp,"audio");for(var e=0;e0&&this._rmp.customTrackNames.audio[e]?this._rmp.customTrackNames.audio[e]:"string"==typeof i.label&&""!==i.label?i.label:"string"==typeof i.language&&""!==i.language?i.language:"Audio "+e;var n=K.createElement("button",r,a,this._rmp.rtl,!0);Ga.make.call(this._rmp,n,a,!0);var s=Oa.selectAudioTrack.bind(this._rmp,e);n.addEventListener("touchend",s),n.addEventListener("click",s),this._rmp.dom.audioOverlayLevelsArea.appendChild(n)}}this._nativeHlsMetaExtXProgramDatetimeIntervalFn=setInterval((function(){var e=t._rmp.getLivePresentationStartTimeAsDate();if(e>-1){var i=new Date(e).getTime();i===t._previousLivePresentationStartTimeAsDate&&-1!==t._previousLivePresentationStartTimeAsDate||(t._rmp.meta.type="program-date-time",t._rmp.meta.data={},t._previousLivePresentationStartTimeAsDate=i,t._rmp.meta.data.programDateTime=i,t._rmp.meta.data.rawProgramDateTime=e,t._rmp.dispatch("meta"),t._rmp.meta)}}),1e3)}},{key:"_hlsTextTracksCheckingInterval",value:function(){var t=this;this._rmp.dom.video.textTracks.length>0&&(this._rmp.dom.video.textTracks,clearInterval(this._hlsTextTracksCheckingIntervalFn),this._rmp.readingCaptionsFromHls=!0,this._rmp.textTracks=K.filterNativeTextTracks(this._rmp.dom.video.textTracks),this._rmp.textTracks,this._rmp.textTracks.length>0&&(this._rmp.textTracks.forEach((function(e,i){t._rmp.loadedCCFiles[i]=[];var r=e.language||e.lang;r||(r=t._rmp.labels.hint.track+" "+(i+1)),t._rmp.loadedCCFiles[i].push(r);var a=e.label||e.name;a||(a=r),t._rmp.loadedCCFiles[i].push(a),e.mode&&"showing"===e.mode&&(t._rmp.loadedCCFiles[i].push(""),t._rmp.loadedCCFiles[i].push("default"))})),nn.appendUI.call(this._rmp)))}},{key:"_nativeHlsSetUpCCTracks",value:function(){this._rmp.dom.video.textTracks.length>0?(this._rmp.dom.video.textTracks,this._hlsTextTracksCheckingInterval.call(this)):this._hlsTextTracksCheckingIntervalFn=setInterval(this._hlsTextTracksCheckingInterval.bind(this),1e3)}},{key:"_nativeHlsSetUpQuality",value:function(){ae.appendToControlBar.call(this._rmp,"quality")}},{key:"init",value:function(){this._nativeHlsResizeLevelSwitchFn=this._nativeHlsResizeLevelSwitch.bind(this),this._rmp.dom.video.addEventListener("resize",this._nativeHlsResizeLevelSwitchFn),this._nativeHlsSetUpQualityFn=this._nativeHlsSetUpQuality.bind(this),this._rmp.dom.video.addEventListener("playing",this._nativeHlsSetUpQualityFn,{once:!0}),this._nativeHlsSetUpAudioTracksFn=this._nativeHlsSetUpAudioTracks.bind(this),this._rmp.dom.video.addEventListener("playing",this._nativeHlsSetUpAudioTracksFn,{once:!0}),this._rmp.hasExternalCCFiles||(this._nativeHlsSetUpCCTracksFn=this._nativeHlsSetUpCCTracks.bind(this),this._rmp.dom.video.addEventListener("playing",this._nativeHlsSetUpCCTracksFn,{once:!0}))}}],[{key:"showCaptions",value:function(t){this.textTracks.forEach((function(t){t.mode="hidden"})),this.textTracks[t].mode="showing"}}]),t}(),Ze=function(){function t(e){d(this,t),this._rmp=e}return p(t,[{key:"licenseRequestReady",value:function(t){var e=this,i=t.target,r=t.message,a=new XMLHttpRequest;a.responseType=this._rmp.fpsDrm.licenseResponseType,a.session=i,a.addEventListener("load",this._rmp.fpsDrm.licenseRequestLoaded.bind(this._rmp),{once:!0}),a.addEventListener("error",(function(t){Oa.error.call(e._rmp,604,t)}),{once:!0});var n=this._rmp.fpsDrm.licenseRequestMessage(r,i);a.open("POST",this._rmp.fpsDrm.processSpcPath,!0),K.setXMLHttpRequestHeaders(a,this._rmp.fpsDrm.licenseRequestHeaders),a.send(n)}},{key:"onNeedKey",value:function(t,e){var i=this,r=e.initData,a=this._rmp.fpsDrm.extractContentId(r);if(r=K.concatInitDataIdAndCertificate(r,a,t),!this._rmp.dom.video.webkitKeys){var n="com.apple.fps.1_0";if("string"==typeof this._rmp.fpsDrm.keySystem&&""!==this._rmp.fpsDrm.keySystem&&(n=this._rmp.fpsDrm.keySystem),!WebKitMediaKeys.isTypeSupported(n,"video/mp4"))return void Oa.error.call(this._rmp,601);this._rmp.dom.video.webkitSetMediaKeys(new WebKitMediaKeys(n))}if(this._rmp.dom.video.webkitKeys){var s=this._rmp.dom.video.webkitKeys.createSession("video/mp4",r);s?(s.contentId=a,K.waitForEvent("webkitkeymessage",this.licenseRequestReady.bind(this),s),K.waitForEvent("webkitkeyadded",(function(t){}),s),K.waitForEvent("webkitkeyerror",(function(t){Oa.warning.call(i._rmp,6e3,t)}),s)):Oa.error.call(this._rmp,603)}else Oa.error.call(this._rmp,602)}},{key:"init",value:function(){var t=this;this._rmp.fpsDrm;var e=new XMLHttpRequest;e.responseType="arraybuffer",e.addEventListener("load",(function(e){var i,r=e.target;i="function"==typeof t._rmp.fpsDrm.prepareCertificate?t._rmp.fpsDrm.prepareCertificate(r.response):new Uint8Array(r.response),t._rmp.dom.video.addEventListener("webkitneedkey",t.onNeedKey.bind(t,i)),t._rmp.dom.video.addEventListener("error",(function(e){Oa.warning.call(t._rmp,6001,e)})),t._rmp.dom.video.src=t._rmp.startingBitratePath}),{once:!0}),e.addEventListener("error",(function(e){Oa.error.call(t._rmp,600,e)}),{once:!0}),e.open("GET",this._rmp.fpsDrm.certificatePath,!0),K.setXMLHttpRequestHeaders(e,this._rmp.fpsDrm.certificateRequestHeaders),this._rmp.fpsDrm.certificatePath,e.send()}}]),t}(),$e={},ti=function(){this.readingFps?(this.rmpFps=new Ze(this),this.rmpFps.init()):this.imaDaiUseNativeHls?Ke.init.call(this):this.dom.video.src=this.startingBitratePath,Ta.append.call(this)},ei=function(t){Ta.prepare.call(this),Oa.checkStreams.call(this,ti.bind(this),this.backupSrc,t)},ii=function(t){if(this.readingHls=!0,"fps"===t)this.preload="auto",this.airplay=!1,this.readingFps=!0;this.startingBitratePath=this.src[t],this.startingBitratePath,this.rmpHls=new Xe(this),this.rmpHls.init(),ei.call(this,t)},ri=function(){this.readingMp4=!0,this.readingWebM=!0,this.src.mp4=this.src.webm,this.initialBitrate=K.filterInitialBitrate(this.initialBitrate,this.src.mp4),this.startingBitratePath=this.src.mp4[this.initialBitrate],this.startingBitratePath,ei.call(this,"webm")},ai=function(){this.readingMp4=!0,this.readingWebM=!1,this.initialBitrate=K.filterInitialBitrate(this.initialBitrate,this.src.mp4),this.startingBitratePath=this.src.mp4[this.initialBitrate],this.startingBitratePath,ei.call(this,"mp4")},ni=function(){this.hasLoadedMetadata=!0,this.readingOutstream=!0,Ta.prepare.call(this),Ta.append.call(this)},si=function(t){switch(t){case"m4a":this.readingM4a=!0;break;case"mp3":this.readingMp3=!0;break;case"ogg":this.readingOgg=!0}this.startingBitratePath=this.src[t],this.startingBitratePath,ei.call(this,t)},oi=function(){this.hasM4a&&(this.okM4a||this.pdCheckCodecsDone)?si.call(this,"m4a"):this.hasMp3&&(this.okMp3||this.pdCheckCodecsDone)?si.call(this,"mp3"):this.hasOgg&&(this.okOgg||this.pdCheckCodecsDone)?si.call(this,"ogg"):Oa.error.call(this,107)};$e.init=function(){K.getNow(),this.refTime,yt.isAndroid[0]&&void 0!==this.dom.video.disableRemotePlayback&&(this.dom.video.disableRemotePlayback=!0),this.adOutStream?ni.call(this):this.hasDash&&this.okDashShaka&&this.dashFirst?(this.readingDashShaka=!0,this.readingShaka=!0,this.startingBitratePath=this.src.dash,Ta.prepare.call(this),Ta.append.call(this)):this.hasFps&&this.okFps?ii.call(this,"fps"):this.hasHls&&this.okHlsJS&&"hlsjs"===this.hlsEngine?(this.readingHlsJS=!0,this.startingBitratePath=this.src.hls,Ta.prepare.call(this),Ta.append.call(this)):this.hasHls&&this.okDashShaka&&"shakaplayer"===this.hlsEngine?(this.readingHlsShaka=!0,this.readingShaka=!0,this.startingBitratePath=this.src.hls,Ta.prepare.call(this),Ta.append.call(this)):this.hasHls&&this.okHls?ii.call(this,"hls"):this.hasDash&&this.okDashShaka&&!this.dashFirst?(this.readingDashShaka=!0,this.readingShaka=!0,this.startingBitratePath=this.src.dash,Ta.prepare.call(this),Ta.append.call(this)):this.audioOnly?oi.call(this):this.hasMp4&&(this.okMp4||this.pdCheckCodecsDone)?ai.call(this):this.hasWebM&&(this.okWebM||this.pdCheckCodecsDone)?ri.call(this):this.playlistAudioOnly||this.relatedAudioOnly||this.audioOnlyUseVideoLayout?oi.call(this):Oa.error.call(this,107)};var li=$e,di=function(){function t(){d(this,t)}return p(t,null,[{key:"_sendLog",value:function(t,e){return new(b())((function(i,r){if("undefined"!=typeof XMLHttpRequest){var a=new XMLHttpRequest;a.open("POST","https://www.rmp-data.com/ls/increment.php",!0),a.timeout=e,a.onloadend=function(){"number"==typeof a.status&&a.status>=200&&a.status<300?i():r()},a.ontimeout=function(){r()},a.send(t)}else r()}))}},{key:"_getCheckSum",value:function(t){var e=t.split(".");if(3===e.length){var i=f()(e[0])+f()(e[1])+f()(e[2]),r=[89,251,307,523,907,1171,1423],a=Math.floor(Math.random()*r.length);if("number"==typeof r[a])return i*r[a]}return 0}},{key:"_getRmpBackLog",value:function(){var t=0;if("plus"===this.licType&&yt.localStorage(this.allowLocalStorage))try{if(null!==localStorage.getItem("rmpBacklog")){var e=localStorage.getItem("rmpBacklog");null!==e&&(e=JSON.parse(e)).value&&(t=f()(e.value))}}catch(i){console.trace(i)}return t}},{key:"_hasFormData",value:function(){if("undefined"!=typeof FormData)try{return(new FormData).append("test","test"),!0}catch(t){return console.trace(t),!1}return!1}},{key:"_appendFormDataAndSendLog",value:function(){var e=this;if(yt.isOnline){if(t._hasFormData()){var i=new FormData;if(i.append("licType",this.licType),i.append("licenseKey",this.licenseKey),"file:"===yt.protocol||"ms-appx-web:"===yt.protocol||void 0!==window.Capacitor||void 0!==window.cordova){var r="app";this.appName&&(r=r+"."+this.appName.replace(/\s/g,"-").toLowerCase()),i.append("hostname",r)}else this.ragnarok?i.append("hostname",this.ragnarok):i.append("hostname","unknown");i.append("version",this.playerVersion),i.append("cs",t._getCheckSum(this.playerVersion)),t._sendLog(i,this.ajaxInternalTimeout).then((function(){0})).catch((function(){clearTimeout(e.logRetryTimeout),e.logRetryTimeout=setTimeout((function(){t._sendLog(i,e.ajaxInternalTimeout).then((function(){0})).catch((function(){0}))}),1e4)}))}}else{var a=t._getRmpBackLog.call(this);try{localStorage.setItem("rmpBacklog",O()({value:(a+1).toString()}))}catch(n){console.trace(n)}}}},{key:"_runLogsOnSrcChanged",value:function(){this.off("srcchanged",this.runLogsOnSrcChanged),this.on("playing adloaded",this.runLogs)}},{key:"_runLogs",value:function(){t.destroy.call(this),this.on("srcchanged",this.runLogsOnSrcChanged),this.appendFormDataAndSendLog()}},{key:"destroy",value:function(){this.off("srcchanged",this.runLogsOnSrcChanged),this.off("playing adloaded",this.runLogs)}},{key:"init",value:function(){var e=Math.floor(10*Math.random()+1);if("plus"===this.licType&&(4===e||5===e)||5===e){this.runLogs=t._runLogs.bind(this),this.runLogsOnSrcChanged=t._runLogsOnSrcChanged.bind(this),this.appendFormDataAndSendLog=t._appendFormDataAndSendLog.bind(this),this.on("playing adloaded",this.runLogs);var i=t._getRmpBackLog.call(this);if("plus"===this.licType&&i>0&&yt.isOnline){for(var r=0;r0&&this.relatedList[0]?(Ye.initialListParsing.call(this,this.relatedList[0]),this.relatedOnSrcChangedLoadAd=ci.bind(this),this.relatedOnSrcChangeError=mi.bind(this),Oa.detectSrc.call(this),this.rmpGoogleAnalytics&&this.rmpGoogleAnalytics.init(),di.init.call(this),li.init.call(this),wi.call(this),Ci.call(this)):Oa.error.call(this,102)};hi.init=function(){var t=this;""===this.relatedLoc?Si.call(this,this.relatedData):K.ajax(this.relatedLoc,this.ajaxTimeout,this.ajaxWithCredentials,"GET").then((function(e){var i;t.relatedLoc;try{i=JSON.parse(e)}catch(r){return console.trace(r),void Oa.error.call(t,102)}Array.isArray(i.playlist)?Si.call(t,i.playlist):Oa.error.call(t,102)})).catch((function(e){console.trace(e),Oa.error.call(t,102)}))};var xi=hi,Ai={},Ti=function(){if(this.off("srcchanged",this.playlistOnSrcChangedLoadAd),this.off("error",this.playlistOnSrcChangeError),this.dispatch("playlistitem"),K.isValidTextTracksSet(this.ccFiles)&&this.setCaptionsList(this.ccFiles),null===this.playlistCallback&&this.ads&&this.adTagUrl&&this.loadAds(this.adTagUrl),this.chaptersLoc&&this.setChapters(this.chaptersLoc),this.logo){var t={img:this.logo};this.logoLoc&&(t.logoLoc=this.logoLoc),this.setLogo(t)}},Li=function(){this.off("srcchanged",this.playlistOnSrcChangedLoadAd),this.off("error",this.playlistOnSrcChangeError)},Ei=function(t){if(this.dom.playlistContainer){for(var e=this.dom.playlistContainer.querySelectorAll(".rmp-playlist-item"),i=0,r=e.length;i0&&this.playlistList[0]?(Ye.initialListParsing.call(this,this.playlistList[0]),this.playlistOnSrcChangedLoadAd=Ti.bind(this),this.playlistOnSrcChangeError=Li.bind(this),Oa.detectSrc.call(this),this.rmpGoogleAnalytics&&this.rmpGoogleAnalytics.init(),di.init.call(this),li.init.call(this),Ui.call(this)):Oa.error.call(this,101)};Ai.init=function(){var t=this;""===this.playlistLoc?Bi.call(this,this.playlistData):K.ajax(this.playlistLoc,this.ajaxTimeout,this.ajaxWithCredentials,"GET").then((function(e){var i;t.playlistLoc;try{i=JSON.parse(e)}catch(r){return void Oa.error.call(t,101,r)}Array.isArray(i.playlist)?Bi.call(t,i.playlist):Oa.error.call(t,101)})).catch((function(e){Oa.error.call(t,101,e)}))};var Vi=Ai,Ni={append:function(){var t=this,e=this.getDuration();if(e>-1&&this.dom.timetotal&&this.dom.handle){this.cuePointsVisibleOnTimeline&&this.cuePoints.forEach((function(i){var r,a=K.createElement("div","rmp-cue-point");if("number"==typeof i.time&&(0===i.time?(a.style.left="0",a.style.borderRadius="8px 0 0 8px",a.style.width="8px"):i.time===1/0&&(r=100,a.style.left="100%",a.style.borderRadius="0 8px 8px 0",a.style.marginLeft="-8px",a.style.width="8px"),100!==r&&(r=100*i.time/e),a.style.left=r+"%",t.dom.timetotal.insertBefore(a,t.dom.handle),i.text)){var n=K.createElement("span","rmp-cue-point-text rmp-color-bg");K.setText(n,i.text),a.appendChild(n),a.addEventListener("mouseenter",(function(e){e&&e.stopPropagation(),n.style.opacity=1,n.style.visibility="visible",K.hide(t.dom.indicator)})),a.addEventListener("mouseleave",(function(e){e&&e.stopPropagation(),n.style.opacity=0,n.style.visibility="hidden",K.show(t.dom.indicator)}))}}));var i=!0;this.cuePointsInterval=setInterval((function(){if(!t.getPaused())for(var e=t.getCurrentTime(),r=0;r=0;s--)if(a>=i.start(s)){n=s;break}r>0&&K.isNumber(t)&&(e=i.end(n)/t*100)}catch(o){return void console.trace(o)}K.isNumber(e)&&this.dom.loaded&&(this.dom.loaded.style.width=e+"%")}};qi.durationchange=function(){var t=this,e=this.getDuration();if(this.readingHls&&this.detectLive&&("number"==typeof this.dom.video.duration&&Math.abs(this.dom.video.duration)===1/0?Ot.setLive.call(this):Ta.appendSeekBar.call(this),this.detectLive=!1),this.audioOnlyIcecast&&(this.audioOnly||this.audioOnlyUseVideoLayout)&&this.detectLive&&("number"==typeof this.dom.video.duration&&Math.abs(this.dom.video.duration)===1/0?Ot.setLive.call(this):Ta.appendSeekBar.call(this),this.detectLive=!1),this.isVod&&e>-1&&this.dom.timeSeparator&&(this.dom.timeSeparator.classList.remove("rmp-no-display"),Oa.updateDurationText.call(this,e,this.getCurrentTime())),this.isDvr&&this.isDvrLiveMode&&K.setText(this.dom.timeElapsedText,this.labels.hint.live),this.firstDurationChange&&(this.firstDurationChange=!1,this.dom.container.classList.remove("rmp-wait-for-duration"),this.ads&&this.adScheduleInput)){if(Be.initAdScheduler.call(this),this.scheduledMidRolls){var i,r=[];if(this.adSchedule.midroll.forEach((function(i,a){if("string"==typeof i[0])if(t.isVod&&e>-1){var n,s=v()(n=i[0]).call(n).split("%");s=s[0],i[0]=e*s/100/1e3}else r.push(a)})),r.length>0)for(var a=r.length-1;a>=0;a--){var n;It()(n=this.adSchedule.midroll).call(n,r[a],1)}fe()(i=this.adSchedule.midroll).call(i,(function(t,e){return t[0]-e[0]})),this.adSchedule.midroll}if(this.adShowMarkers&&this.isVod){var s=[];this.adSchedule.preroll&&s.push(0),Array.isArray(this.adSchedule.midroll)&&this.adSchedule.midroll.forEach((function(t){s.push(1e3*t[0])})),this.adSchedule.postroll&&s.push(1/0),Be.createMarkers.call(this,s,e)}}this.dispatch("durationchange")},qi.loadedmetadata=function(){this.hasLoadedMetadata||(this.hasPlaylist&&this.dispatch("playlistitem"),this.hasRelated&&this.dispatch("relateditem"),this.cuePoints.length>0&&Hi.append.call(this),this.hasLoadedMetadata=!0),this.dispatch("loadedmetadata")},qi.unstalled=function(){this.readingShaka&&(this.playerWaiting=!1,this.dispatch("playing")),Ot.hideLoadingSpin.call(this),this.dom.video.removeEventListener("playing",this.unstalledBuffer),this.dom.video.removeEventListener("canplay",this.unstalledBuffer),this.dom.video.removeEventListener("canplaythrough",this.unstalledBuffer),this.dispatch("buffernotstalledanymore")};var Wi=function(){Ot.showLoadingSpin.call(this),this.dispatch("waiting"),this.unstalledBuffer=qi.unstalled.bind(this),this.dom.video.addEventListener("playing",this.unstalledBuffer),this.dom.video.addEventListener("canplay",this.unstalledBuffer),this.dom.video.addEventListener("canplaythrough",this.unstalledBuffer),this.dispatch("bufferstalled")};qi.waiting=function(){this.readingShaka?this.playerWaiting||(this.playerWaiting=!0,Wi.call(this)):Wi.call(this)};var ji=function(){this.off("adstarted",this.onAdStartedPostRollUpdateCentralUI),this.isVod&&(yt.isMobile?this.dom.centralMobileUIIcon.classList.contains("rmp-i-replay")&&this.dom.centralMobileUIIcon.classList.replace("rmp-i-replay","rmp-i-pause"):this.dom.overlayButtonIcon.classList.contains("rmp-i-replay")&&this.dom.overlayButtonIcon.classList.replace("rmp-i-replay","rmp-i-play"))};qi.endedPlaylistRelated=function(){this.hasRelated&&(void 0===this.relatedList[this.currentRelatedIndex+1]&&this.dispatch("relatedcomplete"),this.relatedUpNextAutoplay?(this.relatedEndedLoop||!this.relatedEndedLoop&&void 0!==this.relatedList[this.currentRelatedIndex+1])&&(this.dom.relatedSkipPreview.classList.remove("rmp-force-show"),xi.loadItem.call(this,this.currentRelatedIndex+1,null)):this.setModuleOverlayVisible("related",!0)),this.hasPlaylist&&(void 0===this.playlistList[this.currentPlaylistIndex+1]&&this.dispatch("playlistcomplete"),this.playlistUpNextAutoplay&&(this.playlistEndedLoop||!this.playlistEndedLoop&&void 0!==this.playlistList[this.currentPlaylistIndex+1])&&Vi.loadItem.call(this,this.currentPlaylistIndex+1,null))},qi.ended=function(){if(!this.loop){if(this.ads){if(this.rmpAdsWithIma){this.contentCompleteCalled=!0;try{this.rmpAdsWithIma.adsLoader.contentComplete()}catch(t){console.trace(t)}}this.onAdStartedPostRollUpdateCentralUI=ji.bind(this),this.on("adstarted",this.onAdStartedPostRollUpdateCentralUI)}if(this.dom.poster){this.contentMetadata.endOfVideoPoster.length>0&&(this.endOfVideoPoster=K.getPoster(this.contentMetadata.endOfVideoPoster));""===this.endOfVideoPoster||this.endOfVideoPoster;yt.devicePixelRatio,""!==this.endOfVideoPoster&&this.endOfVideoPoster!==this.poster&&this.setPoster(this.endOfVideoPoster),this.showPoster()}yt.isMobile?(this.dom.centralMobileUIIcon.classList.remove("rmp-i-pause","rmp-i-play"),this.dom.centralMobileUIIcon.classList.add("rmp-i-replay")):this.dom.overlayButtonIcon.classList.replace("rmp-i-play","rmp-i-replay")}qi.endedPlaylistRelated.call(this),this.dispatch("ended")},qi.auxiliaryEvents=function(){var t=this;["loadstart","loadeddata","progress","canplay","canplaythrough","ratechange","seeking","seeked","playing"].forEach((function(e){t.dom.video.addEventListener(e,(function(e){var i=e.type;if(i){switch(i){case"playing":case"seeked":Ot.hideLoadingSpin.call(t);break;case"loadeddata":case"progress":zi.call(t)}t.dispatch(i)}}))}))},qi.pause=function(){this.googleCast&&this.pauseRequestedByLoadCastMedia?this.pauseRequestedByLoadCastMedia=!1:(this.dom.playPause.classList.replace("rmp-i-pause","rmp-i-play"),this.dom.playPause.setAttribute("aria-label",this.labels.hint.play+" "+this.labels.hint.keyboardShortcut+" k"),K.setText(this.dom.playPauseHint,this.labels.hint.play+" (k)"),yt.isMobile&&(this.dom.centralMobileUIIcon.classList.replace("rmp-i-pause","rmp-i-play"),this.dom.centralMobileUI.setAttribute("aria-label",this.labels.hint.play)),Ot.showCentralPlay.call(this),ae.updatePlayPauseUI.call(this,!0),this.dispatch("pause"))},qi.play=function(){this.dom.playPause.classList.replace("rmp-i-play","rmp-i-pause"),this.dom.playPause.setAttribute("aria-label",this.labels.hint.pause+" "+this.labels.hint.keyboardShortcut+" k"),K.setText(this.dom.playPauseHint,this.labels.hint.pause+" (k)"),yt.isMobile&&(this.dom.centralMobileUIIcon.classList.replace("rmp-i-play","rmp-i-pause"),this.dom.centralMobileUI.setAttribute("aria-label",this.labels.hint.pause)),Ot.hideCentralPlay.call(this),yt.isMobile?this.dom.centralMobileUIIcon.classList.contains("rmp-i-replay")&&this.dom.centralMobileUIIcon.classList.replace("rmp-i-replay","rmp-i-pause"):this.dom.overlayButtonIcon.classList.contains("rmp-i-replay")&&this.dom.overlayButtonIcon.classList.replace("rmp-i-replay","rmp-i-play"),ae.updatePlayPauseUI.call(this,!1),this.hidePoster(),this.dispatch("play")};var Gi=function(){for(var t=this.dom.transcriptsSideMenu.querySelectorAll(".rmp-transcripts-item"),e=0,i=t.length;e=i&&n<=r};qi.timeupdate=function(){var t=this;if(!(this.ads&&"rmp-vast"===this.adParser&&this.readingPDorNative&&this.getAdOnStage())){if(this.rememberQuality&&yt.localStorage(this.allowLocalStorage)&&!this.isLinearAdOn()){var e=this.getCurrentBitrateIndex();-2!==e&&function(t){var e={value:Math.round(t).toString()};try{localStorage.setItem("rmpQuality",O()(e))}catch(i){console.trace(i)}}(e)}this.firstTimeupdate||(this.firstTimeupdate=!0);var i=this.getCurrentTime();if(this.isLinearAdOn()||(this.currentTimeBeforeAd=i),this.currentTimeBeforeSeek=i,this.isLive||this.isDvr&&this.isDvrLiveMode)this.dispatch("timeupdate");else{if(this.isVod&&this.currentTimeBeforeSeek>0&&this.rememberCurrentTime&&yt.localStorage(this.allowLocalStorage)&&!this.isLinearAdOn()&&function(t,e){var i={value:Math.round(t).toString()},r=e||"default";try{localStorage.setItem("rmpCurrentTime-"+r,O()(i))}catch(a){console.trace(a)}}(this.currentTimeBeforeSeek,this.contentMetadata.id),this.hasTranscripts)for(var r=this.dom.transcriptsSideMenu.querySelectorAll(".rmp-transcripts-item"),a=0,n=r.length;athis.currentTimeBeforeSeek){Gi.call(this);break}}var o=r[a].getAttribute("data-end-time"),l=1e3*K.dateToSeconds(o);if(a===n-1&&this.currentTimeBeforeSeek>l){Gi.call(this);break}if(l>this.currentTimeBeforeSeek){r[a].classList.contains("rmp-transcripts-current-item")||(Ji(this.dom.transcriptsSideMenu,r[a])||(this.dom.transcriptsSideMenu.scrollTop=r[a].offsetTop-1),Gi.call(this),r[a].classList.add("rmp-transcripts-current-item"));break}}if(this.dom.video&&this.dom.current&&this.dom.handle&&!this.draggingTimeCursor&&!this.touchDown){var d,h,p,c,m,u;if(this.googleCast&&this.castConnected){var f=this.getCurrentTime();h=f>-1?Math.round(f/1e3):f,d=this.getDuration()/1e3}else if(d=K.getMediaDuration(this.dom.video),h=K.getMediaCurrentTime(this.dom.video),this.isDvr)if(this.readingHlsJS){var g=d-this.hlsJSLevelDuration;d=this.hlsJSLevelDuration,h-=g}else this.readingShaka&&(c=(p=this.shakaPlayer.seekRange()).start,d=m=p.end,K.isNumber(m)&&K.isNumber(c)&&m>0&&c>0&&(u=1-(m-h)/(m-c)));if(K.isNumber(d)&&d>0&&K.isNumber(h)&&h>=0){var v,y,b;if(v=this.isDvr&&this.readingShaka?100*u:100/d*h,this.dom.current.style.width=v+"%",this.dom.handle.style.left=v+"%",this.isDvr&&this.dom.durationText)b=this.dom.durationText,y="-"+K.readableTime(d-h),this.readingHlsJS?this.dvrCurrentTime=h:this.readingShaka&&(this.dvrCurrentTime=h-c);else if(this.dom.timeElapsedText){b=this.dom.timeElapsedText,y=K.readableTime(h);var k=this.getDuration();k>-1&&Oa.updateDurationText.call(this,k,this.getCurrentTime())}K.setText(b,y)}}var w=this.currentTimeBeforeSeek,_=this.getDuration();if(_>-1&&w>-1){var C=K.precisionRound(100*w/_,2).toString(),S=K.readableTime(w/1e3)+" of "+K.readableTime(_/1e3);0,this.dom.seekBar.setAttribute("aria-valuenow",C),this.dom.seekBar.setAttribute("aria-valuetext",S)}if((!this.googleCast||!this.castConnected)&&this.hasRelated&&this.relatedUpNextOffset>0)if(w>-1&&_>-1)_-w<=1e3*this.relatedUpNextOffset?this.isLinearAdOn()?this.dom.relatedSkipPreview.classList.remove("rmp-force-show"):(this.dispatch("mousemove"),this.dom.relatedSkipPreview.classList.add("rmp-force-show")):this.dom.relatedSkipPreview.classList.remove("rmp-force-show");if(this.ads&&(this.adScheduleInput||this.adVmapInput)&&!this.adTagReloadOnEnded&&this.adShowMarkers&&this.isVod){var x=document.querySelectorAll(".rmp-ad-markers");if(w>-1)for(var A=0,T=x.length;A=x[A].getAttribute("data-marker-timestamp")&&this.dom.timetotal.removeChild(x[A])}}if(this.loop&&this.isVod&&w>-1&&_>-1)_-w<250&&!this.loopEventFired&&(this.loopEventFired=!0,setTimeout((function(){t.loopEventFired=!1}),251),this.dispatch("loop"));this.dispatch("timeupdate")}}};var Ki=qi,Qi=function(){function t(e){d(this,t),this._rmp=e,this._resetVars()}return p(t,[{key:"_resetVars",value:function(){this._hasStreamroot=!1,this._hlsJSEnableCaptions=!0,this._hlsManifestData={},this._hlsSessionData=[],this._hlsFragmentData=null,this._hlsFragmentBeingPlayed=null,this._hlsJSValidatedConfig={},this._hlsTextTracksCheckingIntervalFn=null,this._hlsManifestParsedFn=null,this._hlsJSAttachMultiAudioFn=null,this._onPlayingCurrentLevelResetTriedFn=null,this._hlsJSAbrIntervalFn=null}},{key:"hlsManifestData",get:function(){return this._hlsManifestData}},{key:"hlsSessionData",get:function(){return this._hlsSessionData}},{key:"hlsFragmentData",get:function(){return this._hlsFragmentData}},{key:"hlsFilteredAudioTracks",get:function(){return this._hlsFilteredAudioTracks}},{key:"hlsFragmentBeingPlayedData",get:function(){return this._hlsFragmentBeingPlayed}},{key:"_appendCCContainer",value:function(t,e){var i=K.createElement("div","rmp-cc-container rmp-no-display");i.setAttribute("data-lang",t),i.setAttribute("data-id",e),i.style.display="none",this._rmp.dom.ccArea.appendChild(i)}},{key:"_hlsTextTracksCheckingInterval",value:function(){var t=this;this._rmp.dom.video.textTracks.length>0&&(this._rmp.dom.video.textTracks,clearInterval(this._hlsTextTracksCheckingIntervalFn),this._rmp.readingCaptionsFromHls=!0,this._rmp.textTracks=K.filterNativeTextTracks(this._rmp.dom.video.textTracks),this._rmp.textTracks,this._rmp.textTracks.length>0&&(this._rmp.textTracks.forEach((function(e,i){t._rmp.loadedCCFiles[i]=[];var r=e.language||e.lang;r||(r=t._rmp.labels.hint.track+" "+(i+1)),t._rmp.loadedCCFiles[i].push(r);var a=e.label||e.name;a||(a=r),t._rmp.customTrackNames.captions.length>0&&t._rmp.customTrackNames.captions[i]&&(a=t._rmp.customTrackNames.captions[i]),t._rmp.loadedCCFiles[i].push(a),e.mode&&"showing"===e.mode&&(t._rmp.loadedCCFiles[i].push(""),t._rmp.loadedCCFiles[i].push("default"))})),nn.appendUI.call(this._rmp)))}},{key:"_initHlsJS",value:function(){this._rmp.startingBitratePath,this._rmp.hlsJS.loadSource(this._rmp.startingBitratePath)}},{key:"_hlsJSAbrInterval",value:function(){var t=-1;try{t=this._rmp.hlsJS.currentLevel}catch(a){console.trace(a)}if(t>-1&&this._rmp.dom.qualityOverlayLevelsArea){var e=this._rmp.dom.qualityOverlayLevelsArea.querySelectorAll(".rmp-overlay-level");if(e.length>0){for(var i=0,r=e.length;i0){if(fe()(e).call(e,(function(t,e){return t.height&&e.height?t.height-e.height:0})),this._rmp.capLevelToPlayerSize){for(var i=0,r=e.length;i-1){for(var s=-1,o=-1,l=!1,d=0,h=e.length;ds&&(s=c,o=d);var m=p.bitrate;if(c>=n&&this._rmp.bwEstimate>=m){this._rmp.hlsJS.startLevel=d,l=!0;break}}}!l&&n>s&&(this._rmp.hlsJS.startLevel=o,l=!0),l||(this._rmp.hlsJS.startLevel=-1)}else this._rmp.hlsJS.startLevel=-1}}if(Oa.setUpAbrUI.call(this._rmp),this._rmp.dom.qualityAuto){var u=Oa.selectRendition.bind(this._rmp,0);this._rmp.dom.qualityAuto.addEventListener("touchend",u),this._rmp.dom.qualityAuto.addEventListener("click",u),e.forEach((function(e,i){var r=K.createElement("button","rmp-button rmp-overlay-level rmp-color-bg rmp-q"+(i+1),null,t._rmp.rtl),a="",n=t._rmp.labels.hint.track+" "+(i+1);if(e)if("string"==typeof e.name&&""!==e.name)a+=e.name,n=e.name,K.setText(r,a);else if("number"==typeof e.bitrate||"number"==typeof e.height){if("number"==typeof e.height&&e.height>0&&(a="on",n=e.height.toString()+"p",r.appendChild(K.getLevelHeight(e))),"number"==typeof e.bitrate&&e.bitrate>1e4&&("kbps"===t._rmp.bitrateDataDisplayed||"mbps"===t._rmp.bitrateDataDisplayed))if(a="on","number"==typeof e.height&&e.height>0){var s=document.createElement("span");K.setText(s," @ "),r.appendChild(s),r.appendChild(K.getBandwidth(e.bitrate,t._rmp.bitrateDataDisplayed))}else r.appendChild(K.getBandwidth(e.bitrate,t._rmp.bitrateDataDisplayed));""===a&&"number"==typeof e.bitrate&&e.bitrate>1e4&&(a="on","none"===t._rmp.bitrateDataDisplayed&&(t._rmp.bitrateDataDisplayed="kbps"),n=Math.round(e.bitrate/1e3),r.appendChild(K.getBandwidth(e.bitrate,t._rmp.bitrateDataDisplayed)))}t._rmp.customTrackNames.quality.length>0&&t._rmp.customTrackNames.quality[i]?(n=t._rmp.customTrackNames.quality[i],K.setText(r,t._rmp.customTrackNames.quality[i])):""===a&&K.setText(r,t._rmp.labels.hint.track+" "+(i+1)),Ga.make.call(t._rmp,r,n,!0);var o=Oa.selectRendition.bind(t._rmp,i+1);r.addEventListener("touchend",o),r.addEventListener("click",o),t._rmp.dom.qualityOverlayLevelsArea.appendChild(r)}))}}}},{key:"_hlsManifestParsed",value:function(){this._rmp.hlsJS.off(Hls.Events.MANIFEST_PARSED,this._hlsManifestParsedFn),this._attachHlsJSStreams(),this._rmp.dispatch("hlsmanifestparsed")}},{key:"_prepareHlsJSConfig",value:function(){var t=this,e=!1;this._rmp.hasExternalCCFiles?this._hlsJSEnableCaptions=!1:this._hlsJSEnableCaptions=!0;var i=6e7;this._rmp.hlsJSMaxBufferAhead>30&&(i=12e7);var r={default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:this._rmp.retryParameters.manifest.timeout,timeoutRetry:{maxNumRetry:this._rmp.retryParameters.manifest.maxAttempts-1,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:this._rmp.retryParameters.manifest.maxAttempts-2,retryDelayMs:this._rmp.retryParameters.manifest.delay,maxRetryDelayMs:8e3}}},a={default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:this._rmp.retryParameters.levels.timeout,timeoutRetry:{maxNumRetry:this._rmp.retryParameters.levels.maxAttempts-1,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:this._rmp.retryParameters.levels.maxAttempts-1,retryDelayMs:this._rmp.retryParameters.levels.delay,maxRetryDelayMs:8e3}}},n={default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:this._rmp.retryParameters.segment.timeout,timeoutRetry:{maxNumRetry:this._rmp.retryParameters.segment.maxAttempts-1,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:this._rmp.retryParameters.segment.maxAttempts+1,retryDelayMs:this._rmp.retryParameters.segment.delay,maxRetryDelayMs:8e3}}},s={default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:this._rmp.retryParameters.steering.timeout,timeoutRetry:{maxNumRetry:this._rmp.retryParameters.steering.maxAttempts-1,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:this._rmp.retryParameters.steering.maxAttempts-2,retryDelayMs:this._rmp.retryParameters.steering.delay,maxRetryDelayMs:8e3}}},o={debug:e,capLevelToPlayerSize:this._rmp.capLevelToPlayerSize,ignoreDevicePixelRatio:this._rmp.ignoreDevicePixelRatio,maxMaxBufferLength:this._rmp.hlsJSMaxBufferAhead,maxBufferSize:i,backBufferLength:this._rmp.hlsJSMaxBufferBehind,minAutoBitrate:this._rmp.hlsJSMinAutoBitrate,enableCEA708Captions:this._hlsJSEnableCaptions,enableWebVTT:this._hlsJSEnableCaptions,enableIMSC1:this._hlsJSEnableCaptions,renderTextTracksNatively:this._hlsJSEnableCaptions,captionsTextTrack1Label:this._rmp.hlsJSCaptionsTextTrack1Label,captionsTextTrack1LanguageCode:"cc1",captionsTextTrack2Label:this._rmp.hlsJSCaptionsTextTrack2Label,captionsTextTrack2LanguageCode:"cc2",captionsTextTrack3Label:this._rmp.hlsJSCaptionsTextTrack3Label,captionsTextTrack3LanguageCode:"cc3",captionsTextTrack4Label:this._rmp.hlsJSCaptionsTextTrack4Label,captionsTextTrack4LanguageCode:"cc4",manifestLoadPolicy:r,playlistLoadPolicy:a,fragLoadPolicy:n,steeringManifestLoadPolicy:s};("mp4a.40.2"!==this._rmp.hlsJSDefaultAudioCodec&&"mp4a.40.5"!==this._rmp.hlsJSDefaultAudioCodec||(o.defaultAudioCodec=this._rmp.hlsJSDefaultAudioCodec),this._rmp.hlsJSFetchXhrWithCredentials&&(o.xhrSetup=function(t){t.withCredentials=!0},o.fetchSetup=function(t,e){return e.credentials="include",new Request(t.url,e)}),this._rmp.hlsJSAppleAppStoreCompliance&&(o.minAutoBitrate=192001,this._rmp.hlsJSStartLevel=-1),this._rmp.hlsJSStartLevel>=0&&(o.startLevel=f()(this._rmp.hlsJSStartLevel)),-1===this._rmp.hlsJSStartLevel&&(o.startLevel=-1,this._rmp.bwEstimate=yt.getEstimateBW(!0),this._rmp.bwEstimate>0&&(o.testBandwidth=!1,o.abrEwmaDefaultEstimate=this._rmp.bwEstimate)),this._rmp.enableCMCD&&(o.cmcd={contentId:this._rmp.cmcdContentId||K.getCMCDContentId(this._rmp.contentMetadata.id),sessionId:this._rmp.cmcdSessionId||K.generateUuid(),useHeaders:this._rmp.useHeadersForCMCD}),this._rmp.hlsJSProgressive&&(o.progressive=!0),this._rmp.autoLowLatencyMode||(o.lowLatencyMode=!1),K.isEmptyObject(this._rmp.hlsJSCustomConfig))||E()(this._rmp.hlsJSCustomConfig).forEach((function(e){o[e]=t._rmp.hlsJSCustomConfig[e]}));return o}},{key:"_hlsJSAttachMultiAudio",value:function(){var t=this;if(this._rmp.hlsJS.off(Hls.Events.AUDIO_TRACKS_UPDATED,this._hlsJSAttachMultiAudioFn),this._rmp.hlsJS.audioTracks,this._rmp.hlsJS.audioTracks.length>1){var e,i;ae.appendToControlBar.call(this._rmp,"audio"),ae.appendOverlay.call(this._rmp,"audio");var r=C()(e=this._rmp.hlsJS.audioTracks).call(e,(function(t){return!0===t.default}));r<0&&(r=0),this._rmp.hlsJS.audioTracks.forEach((function(e,a){if("AUDIO"===e.type){var n;n=a===r?"rmp-button rmp-overlay-level rmp-color-bg rmp-overlay-level-active":"rmp-button rmp-overlay-level rmp-color-bg";var s="";s=t._rmp.customTrackNames.audio.length>0&&t._rmp.customTrackNames.audio[a]?t._rmp.customTrackNames.audio[a]:"string"==typeof e.name&&""!==e.name?e.name:"string"==typeof e.lang&&""!==e.lang?e.lang:"Audio "+a,i=K.createElement("button",n,s,t._rmp.rtl,!0),Ga.make.call(t._rmp,i,s,!0);var o=Oa.selectAudioTrack.bind(t._rmp,a);i.addEventListener("touchend",o),i.addEventListener("click",o),t._rmp.dom.audioOverlayLevelsArea.appendChild(i)}}))}}},{key:"_liveToVOD",value:function(){this._rmp.isDvr=!1,this._rmp.isVod=!0,this._rmp.detectLive=!1,this._rmp.firstDurationChange=!0,this._rmp.dom.container.classList.remove("rmp-dvr-vod","rmp-dvr-live","rmp-dvr"),K.hide(this._rmp.dom.dvrIcon),this._rmp.dom.time.removeEventListener("touchend",this._rmp.dvrSetLiveModeFn),this._rmp.dom.time.removeEventListener("click",this._rmp.dvrSetLiveModeFn),this._rmp.off("pause",this._rmp.pauseDvr),this._rmp.off("timeupdate",this._rmp.playingDvr),K.setText(this._rmp.dom.timeElapsedText,"00:00"),Ki.durationchange.call(this._rmp),this._rmp.ended=Ki.ended.bind(this._rmp),this._rmp.dom.video.addEventListener("ended",this.this._rmp)}},{key:"_hlsJSEventHandling",value:function(){var t=this;this._hlsManifestParsedFn=this._hlsManifestParsed.bind(this),this._rmp.hlsJS.on(Hls.Events.MANIFEST_PARSED,this._hlsManifestParsedFn),this._rmp.hlsJSStopDownloadWhilePaused&&this._rmp.dom.video.addEventListener("playing",(function(){t._rmp.dom.video.addEventListener("pause",(function(){t._rmp.hlsJS.stopLoad()})),t._rmp.dom.video.addEventListener("play",(function(){t._rmp.hlsJS.startLoad()}))}),{once:!0}),this._rmp.hlsJS.on(Hls.Events.FRAG_LOADED,(function(e,i){i&&void 0!==i.frag&&(t._hlsFragmentData=i.frag,t._rmp.dispatch("hlsfragmentloaded"))})),this._hlsJSAbrInterval(),clearInterval(this._hlsJSAbrIntervalFn),this._hlsJSAbrIntervalFn=setInterval(this._hlsJSAbrInterval.bind(this),1e3),this._rmp.hlsJS.on(Hls.Events.LEVEL_SWITCHING,(function(){t._rmp.dispatch("levelswitching")})),this._rmp.hlsJS.on(Hls.Events.LEVEL_SWITCHED,(function(){t._rmp.dispatch("levelswitched")})),this._rmp.hlsJS.on(Hls.Events.LEVEL_LOADED,(function(e,i){i&&i.details&&(i.details.live&&"number"==typeof i.details.totalduration&&i.details.totalduration>t._rmp.dvrUIThreshold&&(t._rmp.isDvr||Oa.appendDvrUI.call(t._rmp),t._rmp.isDvr=!0,t._rmp.hlsJSLevelDuration=i.details.totalduration),t._rmp.isDvr?i.details.live||t._liveToVOD():t._rmp.detectLive&&(i.details.live,i.details.live?Ot.setLive.call(t._rmp):Ta.appendSeekBar.call(t._rmp),t._rmp.detectLive=!1),t._rmp.dispatch("hlslevelloaded"))})),this._rmp.hlsJS.on(Hls.Events.MANIFEST_LOADED,(function(e,i){"metadata"!==t._rmp.preload||t._rmp.hlsJSNeedsToResumeLoad||(t._rmp.hlsJS.stopLoad(),t._rmp.hlsJSNeedsToResumeLoad=!0,t._rmp.dom.video.addEventListener("play",(function(){t.hlsJSNeedsToResumeLoad&&(t.hlsJSNeedsToResumeLoad=!1,t.hlsJS.startLoad())}),{once:!0})),void 0!==i&&(t._hlsManifestData.levels=[],t._hlsManifestData.audioTracks=[],t._hlsManifestData.subtitles=[],t._hlsManifestData.captions=[],Array.isArray(i.levels)&&(t._hlsManifestData.levels=i.levels),Array.isArray(i.audioTracks)&&(t._hlsManifestData.audioTracks=i.audioTracks),Array.isArray(i.subtitles)&&(t._hlsManifestData.subtitles=i.subtitles),Array.isArray(i.captions)&&(t._hlsManifestData.captions=i.captions),t._hlsManifestData,"object"===n(i.sessionData)&&(t._hlsSessionData=i.sessionData),t._hlsSessionData),t._rmp.dispatch("hlsmanifestloaded")})),this._rmp.hlsJS.on(Hls.Events.FRAG_CHANGED,(function(e,i){i&&void 0!==i.frag&&(t._hlsFragmentBeingPlayed=i.frag,t._rmp.dispatch("hlsfragmentbeingplayedchanged"),"number"==typeof i.frag.programDateTime&&(t._rmp.meta.type="program-date-time",t._rmp.meta.data={},t._rmp.meta.data.programDateTime=i.frag.programDateTime,"number"==typeof i.frag.endProgramDateTime&&(t._rmp.meta.data.endProgramDateTime=i.frag.endProgramDateTime),"string"==typeof i.frag.rawProgramDateTime&&(t._rmp.meta.data.rawProgramDateTime=i.frag.rawProgramDateTime,t._rmp.rawProgramDateTime=i.frag.rawProgramDateTime),"number"==typeof i.frag.start&&(t._rmp.meta.data.start=i.frag.start),"number"==typeof i.frag.duration&&"number"==typeof i.frag.start&&(t._rmp.meta.data.end=i.frag.duration+i.frag.start),t._rmp.dispatch("meta"),t._rmp.meta))})),this._hlsJSEnableCaptions&&this._rmp.one("loadedmetadata",(function(){t._rmp.hlsJS.subtitleTracks.length>0?(t._rmp.hlsJS.subtitleTracks,t._hlsTextTracksCheckingInterval()):t._hlsTextTracksCheckingIntervalFn=setInterval(t._hlsTextTracksCheckingInterval.bind(t),1e3)})),this._rmp.hlsJS.on(Hls.Events.FRAG_PARSING_USERDATA,(function(e,i){i&&void 0!==i.samples&&(t._rmp.meta.type="sei",t._rmp.meta.data={},t._rmp.meta.data.samples=i.samples,t._rmp.dispatch("meta"),t._rmp.meta)})),this._rmp.hlsJS.on(Hls.Events.FRAG_PARSING_METADATA,(function(t,e){})),this._rmp.hlsJS.on(Hls.Events.AUDIO_TRACK_SWITCHING,(function(){t._rmp.dispatch("audiotrackswitching")})),this._rmp.hlsJS.on(Hls.Events.AUDIO_TRACK_SWITCHED,(function(){t._rmp.dispatch("audiotrackswitched")})),this._hlsJSAttachMultiAudioFn=this._hlsJSAttachMultiAudio.bind(this),this._rmp.hlsJS.on(Hls.Events.AUDIO_TRACKS_UPDATED,this._hlsJSAttachMultiAudioFn)}},{key:"_initEcdn",value:function(){this._hasStreamroot&&"undefined"!=typeof HlsjsDnaWrapper&&(this._rmp.streamrootConfig,this._rmp.streamrootWrapper=new HlsjsDnaWrapper(this._rmp.hlsJS,this._rmp.streamrootConfig.streamrootKey,this._rmp.streamrootConfig.dnaConfig))}},{key:"syncToLiveEdge",value:function(){"number"==typeof this._rmp.hlsJS.liveSyncPosition&&this._rmp.hlsJS.liveSyncPosition>0&&(this._rmp.hlsJS.liveSyncPosition,this._rmp.dom.video.currentTime=this._rmp.hlsJS.liveSyncPosition)}},{key:"_createHlsJSInstance",value:function(){var t=this;if(K.isEmptyObject(this._rmp.hlsJSFullCustomConfig)?this._hlsJSValidatedConfig=this._prepareHlsJSConfig():this._hlsJSValidatedConfig=this._rmp.hlsJSFullCustomConfig,this._hlsJSValidatedConfig,this._rmp.hlsJS=new Hls(this._hlsJSValidatedConfig),window.bitmovin&&this._rmp.bitmovinAnalyticsConfig.key&&"string"==typeof this._rmp.bitmovinAnalyticsConfig.key&&(this._rmp.bitmovinAnalyticsConfig,this._rmp.bitmovinAnalytics=new bitmovin.analytics.adapters.HlsAdapter(this._rmp.bitmovinAnalyticsConfig,this._rmp.hlsJS),this._rmp.bitmovinAnalytics),this._rmp.liveOnResumeKeepSyncWithEdge&&this._rmp.dom.video.addEventListener("pause",(function(){t._rmp.dom.video.addEventListener("play",(function(){t.syncToLiveEdge()}),{once:!0})})),this._initEcdn(),this._hlsJSEventHandling(),this._rmp.adImaDai)Ke.init.call(this._rmp);else{var e=0,i=0,r=[Hls.ErrorDetails.LEVEL_LOAD_ERROR,Hls.ErrorDetails.LEVEL_LOAD_TIMEOUT,Hls.ErrorDetails.FRAG_LOAD_ERROR,Hls.ErrorDetails.FRAG_LOAD_TIMEOUT],a=!1;this._onPlayingCurrentLevelResetTriedFn=function(){this._rmp.off("playing",this._onPlayingCurrentLevelResetTriedFn),a=!1}.bind(this),this._rmp.hlsJS.on(Hls.Events.ERROR,(function(n,s){if(s&&"boolean"==typeof s.fatal&&s.details&&s.type)if(s.fatal){if(s.type===Hls.ErrorTypes.NETWORK_ERROR)return m()(r).call(r,s.details)>-1&&!t._rmp.abrAutoMode?(s.details,t._rmp.setBitrate(-1),void t._rmp.hlsJS.startLoad()):s.details===Hls.ErrorDetails.MANIFEST_PARSING_ERROR?void Oa.error.call(t._rmp,203,s):void Oa.error.call(t._rmp,204,s);if(s.type!==Hls.ErrorTypes.MEDIA_ERROR)return void Oa.error.call(t._rmp,201,s);if(s.details===Hls.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR)return void Oa.error.call(t._rmp,205,s);var o=K.getNow();if(0===e||o-e>3e3)e=K.getNow(),t._rmp.hlsJS.config.capLevelToPlayerSize?(t._rmp.hlsJS.config.capLevelToPlayerSize=!1,e=0,t._rmp.hlsJS.autoLevelCapping=-1,t._rmp.hlsJS.recoverMediaError()):a?(t._rmp.off("playing",t._onPlayingCurrentLevelResetTriedFn),t._rmp.hlsJS.recoverMediaError()):(a=!0,t._rmp.on("playing",t._onPlayingCurrentLevelResetTriedFn),e=0,t._rmp.hlsJS.currentLevel=0,t._rmp.hlsJS.recoverMediaError());else{if(!(0===i||o-i>3e3))return void Oa.error.call(t._rmp,206,s);i=K.getNow(),t._rmp.hlsJS.swapAudioCodec(),t._rmp.hlsJS.recoverMediaError()}}else Oa.warning.call(t._rmp,2e3,s)})),this.initFinised()}}},{key:"_loadHlsJS",value:function(){if("undefined"!=typeof Hls)this._createHlsJSInstance();else{var t=this._rmp.pathToRmpFiles+"hls/hls.min.js";yt.isModern||(t=this._rmp.pathToRmpFiles+"hls/hls.legacy.min.js"),K.getNow(),this._rmp.refTime,K.getScript(t,this._createHlsJSInstance.bind(this),Oa.error.bind(this._rmp,200))}}},{key:"destroy",value:function(){this._rmp.hlsJS&&(this._rmp.hlsJS.destroy(),this._rmp.hlsJS.bufferTimer=void 0,clearInterval(this._rmp.hlsJS.bufferTimer)),this._rmp.hlsJSLevelDuration=-1,this._rmp.rawProgramDateTime=-1,this._rmp.off("playing",this._onPlayingCurrentLevelResetTriedFn),clearInterval(this._hlsJSAbrIntervalFn),clearInterval(this._hlsTextTracksCheckingIntervalFn),this._resetVars()}},{key:"init",value:function(){if(this._rmp.msePreloadRequested)this._rmp.msePreloadRequested=!1;else if(!K.isEmptyObject(this._rmp.streamrootConfig)&&this._rmp.streamrootConfig.streamrootKey&&"hlsjs"===this._rmp.streamrootConfig.type)if(this._hasStreamroot=!0,"undefined"!=typeof HlsjsDnaWrapper)this._loadHlsJS();else{K.getScript("https://cdn.streamroot.io/hlsjs-dna-wrapper/1/stable/hlsjs-dna-wrapper.js",this._loadHlsJS.bind(this),this._loadHlsJS.bind(this))}else this._loadHlsJS()}},{key:"initFinised",value:function(){this._rmp.hlsJS.attachMedia(this._rmp.dom.video),Oa.checkStreams.call(this._rmp,this._initHlsJS.bind(this),this._rmp.backupSrc,"hls"),this._rmp.msePreloadCompleted=!0,this._rmp.muxData&&Qe.initHlsJS.call(this._rmp),this._rmp.dispatch("hlsinstancecreated")}}]),t}();function Yi(t,i){return function(t){if(Ut(t))return t}(t)||function(t,i){var r=null==t?null:void 0!==e&&Rt(t)||t["@@iterator"];if(null!=r){var a,n,s,o,l=[],d=!0,h=!1;try{if(s=(r=r.call(t)).next,0===i){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(le(l).call(l,a.value),l.length!==i);d=!0);}catch(p){h=!0,n=p}finally{try{if(!d&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(h)throw n}}return l}}(t,i)||Ht(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xi=i(2018),Zi=i.n(Xi),$i=function(){function t(e){d(this,t),this._rmp=e,this._resetVars()}return p(t,[{key:"_resetVars",value:function(){this._hasStreamroot=!1,this._configureShakaCapLevelToPlayerSizeFn=null,this._variantsAudioLng=[],this._variantsAudioLngAndRoles=[],this._variantsPerLng=[],this._shakaErrorFn=null,this._shakaAdaptationChangedFn=null,this._shakaTracksChangedFn=null,this._shakaManifestParsedFn=null,this._shakaDurationChangeFn=null}},{key:"variantsPerLng",get:function(){return this._variantsPerLng}},{key:"_getActiveLanguage",value:function(){var t=this._rmp.shakaPlayer.getVariantTracks(),e=w()(t).call(t,(function(t){return!0===t.active}));return e?e.language:t[0].language}},{key:"_filterVideoVariants",value:function(t){fe()(t).call(t,(function(t,e){return t.height-e.height})),fe()(t).call(t,(function(t,e){return e.audioBandwidth-t.audioBandwidth}));var e=w()(t).call(t,(function(t){return t.active}));return e&&(t=F()(t).call(t,(function(t){return t.language==e.language&&t.channelsCount==e.channelsCount}))),t}},{key:"_updateUIAbrActiveTrack",value:function(){var t=this._rmp.shakaPlayer.getVariantTracks();if(t.length>0&&this._rmp.dom.qualityOverlayLevelsArea){var e=this._rmp.dom.qualityOverlayLevelsArea.querySelectorAll(".rmp-overlay-level");if(e.length>0){for(var i=0,r=e.length;i0){var o,l=w()(o=t._variantsAudioLngAndRoles).call(o,(function(t){return t.language===i}));l.label&&(n=l.label)}n?s=n:i&&"und"!==i&&(s=i),t._rmp.customTrackNames.audio.length>0&&t._rmp.customTrackNames.audio[r]&&(s=t._rmp.customTrackNames.audio[r]);var d=K.createElement("button",a,s,t._rmp.rtl,!0);Ga.make.call(t._rmp,d,s,!0);var h=Oa.selectAudioTrack.bind(t._rmp,r);d.addEventListener("touchend",h),d.addEventListener("click",h),t._rmp.dom.audioOverlayLevelsArea.appendChild(d)}))}},{key:"_setUpTextTracks",value:function(){var t=this;this._rmp.textTracks=K.filterNativeTextTracks(this._rmp.shakaPlayer.getTextTracks()),this._rmp.textTracks.length>0&&(this._rmp.textTracks,this._rmp.textTracks.forEach((function(e,i){t._rmp.loadedCCFiles[i]=[];var r=e.language||e.lang;r||(r=t._rmp.labels.hint.track+" "+(i+1)),t._rmp.loadedCCFiles[i].push(r);var a=e.label||e.name;a||(a=r),t._rmp.customTrackNames.captions.length>0&&t._rmp.customTrackNames.captions[i]&&(a=t._rmp.customTrackNames.captions[i]),t._rmp.loadedCCFiles[i].push(a),e.active&&(t._rmp.loadedCCFiles[i].push(""),t._rmp.loadedCCFiles[i].push("default"))})),nn.appendUI.call(this._rmp))}},{key:"_shakaTracksChanged",value:function(){var t=this;this._rmp.dom.quality&&ae.destroy.call(this._rmp,"quality"),this._rmp.dom.audio&&ae.destroy.call(this._rmp,"audio"),!this._rmp.hasExternalCCFiles&&this._rmp.dom.captions&&nn.destroy.call(this._rmp),this._variantsAudioLng=this._rmp.shakaPlayer.getAudioLanguages();var e=this._rmp.shakaPlayer.getVariantTracks();this._variantsPerLng=[],this._variantsAudioLng.forEach((function(i){var r=F()(e).call(e,(function(t){return t.language===i}));fe()(r).call(r,(function(t,e){return t.bandwidth-e.bandwidth}));var a={};a[i]=r,t._variantsPerLng.push(a)})),this._variantsPerLng.length>0&&this._variantsPerLng,this._rmp.shakaPlayer.getTextTracks().length>0&&this._rmp.shakaPlayer.getTextTracks(),this._variantsPerLng.length>0&&(Oa.setUpAbrUI.call(this._rmp),this.setUpVideoRenditions(),this._variantsPerLng.length>1&&this._setUpAudioTracks(),!this._rmp.hasExternalCCFiles&&this._rmp.shakaPlayer.getTextTracks().length>0&&this._setUpTextTracks()),this._rmp.dispatch("shakatrackschanged")}},{key:"_shakaAdaptationChanged",value:function(){var t=this._rmp.shakaPlayer.getConfiguration();t&&t.abr&&t.abr.enabled&&this._updateUIAbrActiveTrack(),Oa.fireLevelSwitchEvents.call(this._rmp)}},{key:"_shakaError",value:function(t){if(t){this._rmp.muxData&&this._rmp.shakaPlayerMux&&this._rmp.shakaPlayerMux.loadErrorHandler(t);var e=t;if(t&&t.detail&&(e=t.detail),"number"==typeof e.severity&&2===e.severity&&"number"==typeof e.category){var i=301;switch(e.category){case 1:i=303;break;case 2:i=304;break;case 3:i=305;break;case 4:i=306;break;case 5:i=307;break;case 6:i=308;break;case 9:i=309}Oa.error.call(this._rmp,i,e)}else Oa.warning.call(this._rmp,3e3,e)}}},{key:"_shakaDurationChange",value:function(){if(this._rmp.detectLive){var t=this._rmp.shakaPlayer.isLive();if(t){var e=this._rmp.shakaPlayer.seekRange();e.end-e.start>this._rmp.dvrUIThreshold?(this._rmp.isDvr||Oa.appendDvrUI.call(this._rmp),this._rmp.isDvr=!0):Ot.setLive.call(this._rmp)}else Ta.appendSeekBar.call(this._rmp);this._rmp.detectLive=!1}}},{key:"_shakaManifestParsed",value:function(){this._rmp.dispatch("shakamanifestparsed")}},{key:"_returnAverageVariant",value:function(t){var e=t.length;return 1===e?t[0]:t[Math.floor(e/2)]}},{key:"_offlineSelectTracks",value:function(t){var e,i,r=F()(t).call(t,(function(t){return"variant"===t.type}));if(0===r.length)return[t[0]];var a=this._rmp.shakaPlayer.getVariantTracks(),n=w()(a).call(a,(function(t){return!0===t.active}));if(!n)return[this._returnAverageVariant(r)];var s=n.language,o=fe()(e=F()(r).call(r,(function(t){return t.language===s}))).call(e,(function(t,e){return t.bandwidth>e.bandwidth}));if(0===o.length)return[this._returnAverageVariant(r)];switch(this._rmp.shakaOfflinePreferredTrackQuality){case-3:i=o[o.length-1];break;case-2:i=o[0];break;case-1:i=this._returnAverageVariant(o);break;default:this._rmp.shakaOfflinePreferredTrackQuality>=0&&o[this._rmp.shakaOfflinePreferredTrackQuality]?(this._rmp.shakaOfflinePreferredTrackQuality,i=o[this._rmp.shakaOfflinePreferredTrackQuality]):i=this._returnAverageVariant(o)}return[i]}},{key:"_shakaOfflineInit",value:function(){rmpGlobals.rmpStorage=new shaka.offline.Storage(this._rmp.shakaPlayer);var t={offline:{progressCallback:this.offlineDownloadProgress.bind(this._rmp)}};-4!==this._rmp.shakaOfflinePreferredTrackQuality&&(t.offline.trackSelectionCallback=this._offlineSelectTracks.bind(this)),this._rmp.shakaPlayer.configure(t)}},{key:"_createShakaInstance",value:function(){var t,e=this;if(this._rmp.shakaPlayer=new shaka.Player(this._rmp.dom.video),this._hasStreamroot&&"undefined"!=typeof ShakaPlayerDnaWrapper&&(this._rmp.streamrootConfig,this._rmp.streamrootWrapper=new ShakaPlayerDnaWrapper(this._rmp.shakaPlayer,this._rmp.streamrootConfig.streamrootKey,this._rmp.streamrootConfig.dnaConfig)),window.bitmovin&&this._rmp.bitmovinAnalyticsConfig.key&&"string"==typeof this._rmp.bitmovinAnalyticsConfig.key&&(this._rmp.bitmovinAnalyticsConfig,this._rmp.bitmovinAnalytics=new bitmovin.analytics.adapters.ShakaAdapter(this._rmp.bitmovinAnalyticsConfig,this._rmp.shakaPlayer),this._rmp.bitmovinAnalytics),K.isEmptyObject(this._rmp.shakaFullCustomConfig)){if(t=this._initConfig(),!K.isEmptyObject(this._rmp.shakaCustomConfig))for(var i=0,r=Zi()(this._rmp.shakaCustomConfig);i0&&(e._rmp.hasShakaThumbnail=!0)}}),{once:!0}),this._rmp.shakaPlayer.addEventListener("buffering",(function(t){t&&void 0!==t.buffering&&(t.buffering,t.buffering?Ki.waiting.call(e._rmp):Ki.unstalled.call(e._rmp))})),this._rmp.shakaOffline&&this._rmp.isVod&&(this._rmp.hasDownloadSupport()?this._shakaOfflineInit():Oa.warning.call(this._rmp,3007)),this._rmp.startingBitratePath,this._rmp.muxData&&Qe.initShakaPlayer.call(this._rmp),this._rmp.shakaPlayer.load(this._rmp.startingBitratePath).catch(this._shakaErrorFn),this._rmp.msePreloadCompleted=!0,this._rmp.dispatch("shakainstancecreated")}},{key:"_initShaka",value:function(){shaka.polyfill.installAll(),shaka.Player.isBrowserSupported()?this._rmp.readingDashShaka?Oa.checkStreams.call(this._rmp,this._createShakaInstance.bind(this),this._rmp.backupSrc,"dash"):this._rmp.readingHlsShaka&&Oa.checkStreams.call(this._rmp,this._createShakaInstance.bind(this),this._rmp.backupSrc,"hls"):Oa.error.call(this._rmp,302)}},{key:"_loadShaka",value:function(){if("undefined"!=typeof shaka)this._initShaka();else{var t=this._rmp.pathToRmpFiles+"dash/shaka-player.ui.js";yt.isModern||(t=this._rmp.pathToRmpFiles+"dash/shaka-player.legacy.js"),K.getNow(),this._rmp.refTime,K.getScript(t,this._initShaka.bind(this),Oa.error.bind(this._rmp,300))}}},{key:"_getShakaCapLevelToPlayerSizeConfiguration",value:function(t){var e=this._rmp.getPlayerWidth(),i=0;i=this._rmp.ignoreDevicePixelRatio?1:yt.devicePixelRatio,e<=0?e=640:e*=i;var r=this._rmp.getPlayerHeight();r<=0?r=360:r*=i;var a={maxWidth:e,maxHeight:r};if(t&&t.abr)return t.abr.restrictions=a,t;var n={abr:{}};return n.abr.restrictions=a,n}},{key:"_configureShakaCapLevelToPlayerSize",value:function(){var t=this._getShakaCapLevelToPlayerSizeConfiguration();t&&this._rmp.shakaPlayer.configure(t)}},{key:"_initConfig",value:function(){var t={abr:{},drm:{},manifest:{},restrictions:{},streaming:{}},e={};if(this._rmp.bwEstimate=yt.getEstimateBW(),this._rmp.consumeLessEnergy&&(t.abr.bandwidthUpgradeTarget=.7,t.abr.bandwidthDowngradeTarget=.75,this._rmp.capLevelToPlayerSize=!0,this._rmp.ignoreDevicePixelRatio=!0),t.abr.defaultBandwidthEstimate=this._rmp.bwEstimate,t.abr.restrictToElementSize=!1,this._rmp.capLevelToPlayerSize){var i=this._getShakaCapLevelToPlayerSizeConfiguration(t);i&&(t=i),this._configureShakaCapLevelToPlayerSizeFn=this._configureShakaCapLevelToPlayerSize.bind(this),this._rmp.on("resize",this._configureShakaCapLevelToPlayerSizeFn)}return this._rmp.ignoreDevicePixelRatio&&(t.abr.ignoreDevicePixelRatio=this._rmp.ignoreDevicePixelRatio),t.preferredAudioLanguage=this._rmp.shakaPreferredAudioLanguage,t.preferredTextLanguage=this._rmp.shakaPreferredTextLanguage,t.streaming.bufferingGoal=this._rmp.shakaMaxBufferAhead,t.streaming.bufferBehind=this._rmp.shakaMaxBufferBehind,t.streaming.ignoreTextStreamFailures=this._rmp.shakaStreamingIgnoreTextStreamFailures,t.streaming.startAtSegmentBoundary=this._rmp.shakaStartAtSegmentBoundary,2!==this._rmp.shakaInaccurateManifestTolerance&&(t.streaming.inaccurateManifestTolerance=this._rmp.shakaInaccurateManifestTolerance),this._rmp.autoLowLatencyMode&&(t.streaming.autoLowLatencyMode=this._rmp.autoLowLatencyMode),this._rmp.disableAudio&&(t.manifest.disableAudio=this._rmp.disableAudio),this._rmp.disableVideo&&(t.manifest.disableVideo=this._rmp.disableVideo),t.manifest.dash={},t.manifest.dash.ignoreMinBufferTime=this._rmp.shakaIgnoreMinBufferTime,K.isEmptyObject(this._rmp.shakaKeySystemsByURI)||(t.manifest.dash.keySystemsByURI=this._rmp.shakaKeySystemsByURI),t.manifest.retryParameters={maxAttempts:this._rmp.retryParameters.manifest.maxAttempts,baseDelay:this._rmp.retryParameters.manifest.delay},t.streaming.retryParameters={maxAttempts:this._rmp.retryParameters.segment.maxAttempts,baseDelay:this._rmp.retryParameters.segment.delay},t.drm.retryParameters={maxAttempts:this._rmp.retryParameters.drm.maxAttempts,baseDelay:this._rmp.retryParameters.drm.delay},t.manifest.retryParameters.timeout=this._rmp.retryParameters.manifest.timeout,t.streaming.retryParameters.timeout=this._rmp.retryParameters.segment.timeout,t.drm.retryParameters.timeout=this._rmp.retryParameters.drm.timeout,K.isEmptyObject(this._rmp.shakaDrm)||(this._rmp.shakaDrm.servers&&(t.drm.servers=this._rmp.shakaDrm.servers),this._rmp.shakaDrm.clearKeys&&(t.drm.clearKeys=this._rmp.shakaDrm.clearKeys),this._rmp.shakaDrm.advanced&&(t.drm.advanced=this._rmp.shakaDrm.advanced),this._rmp.preferredKeySystems.length>0&&(t.drm.preferredKeySystems=this._rmp.preferredKeySystems)),K.isEmptyObject(this._rmp.shakaRestrictions)||("number"==typeof this._rmp.shakaRestrictions.minWidth&&(e.minWidth=this._rmp.shakaRestrictions.minWidth),"number"==typeof this._rmp.shakaRestrictions.maxWidth&&(e.maxWidth=this._rmp.shakaRestrictions.maxWidth),"number"==typeof this._rmp.shakaRestrictions.minHeight&&(e.minHeight=this._rmp.shakaRestrictions.minHeight),"number"==typeof this._rmp.shakaRestrictions.maxHeight&&(e.maxHeight=this._rmp.shakaRestrictions.maxHeight),"number"==typeof this._rmp.shakaRestrictions.minPixels&&(e.minPixels=this._rmp.shakaRestrictions.minPixels),"number"==typeof this._rmp.shakaRestrictions.maxPixels&&(e.maxPixels=this._rmp.shakaRestrictions.maxPixels),"number"==typeof this._rmp.shakaRestrictions.minAudioBandwidth&&(e.minAudioBandwidth=this._rmp.shakaRestrictions.minAudioBandwidth),"number"==typeof this._rmp.shakaRestrictions.maxAudioBandwidth&&(e.maxAudioBandwidth=this._rmp.shakaRestrictions.maxAudioBandwidth),"number"==typeof this._rmp.shakaRestrictions.minVideoBandwidth&&(e.minVideoBandwidth=this._rmp.shakaRestrictions.minVideoBandwidth),"number"==typeof this._rmp.shakaRestrictions.maxVideoBandwidth&&(e.maxVideoBandwidth=this._rmp.shakaRestrictions.maxVideoBandwidth),K.isEmptyObject(e)||(t.restrictions=e)),this._rmp.consumeLessEnergy&&(t.preferredDecodingAttributes=["powerEfficient","bandwidth","smooth"]),this._rmp.preferredVideoCodecs.length>0&&(t.preferredVideoCodecs=this._rmp.preferredVideoCodecs),this._rmp.preferredAudioCodecs.length>0&&(t.preferredAudioCodecs=this._rmp.preferredAudioCodecs),this._rmp.enableCMCD&&(t.cmcd={enabled:!0,contentId:this._rmp.cmcdContentId||K.getCMCDContentId(this._rmp.contentMetadata.id),sessionId:this._rmp.cmcdSessionId||K.generateUuid(),useHeaders:this._rmp.useHeadersForCMCD}),K.isEmptyObject(t.drm)&&delete t.drm,K.isEmptyObject(t.manifest)&&delete t.manifest,K.isEmptyObject(t.restrictions)&&delete t.restrictions,t}},{key:"offlineDownloadProgress",value:function(t,e){this.shakaOfflineDownloadProgress=e,this.dispatch("downloadprogress")}},{key:"init",value:function(){if(this._rmp.msePreloadRequested)this._rmp.msePreloadRequested=!1;else if(!K.isEmptyObject(this._rmp.streamrootConfig)&&this._rmp.streamrootConfig.streamrootKey&&"shakaplayer"===this._rmp.streamrootConfig.type)if(this._hasStreamroot=!0,"undefined"!=typeof ShakaPlayerDnaWrapper)this._loadShaka();else{K.getScript("https://cdn.streamroot.io/shakaplayer-dna-wrapper/1/stable/shakaplayer-dna-wrapper.js",this._loadShaka.bind(this),this._loadShaka.bind(this))}else this._loadShaka()}},{key:"destroy",value:function(){this._rmp.shakaPlayer&&(this._rmp.shakaPlayer.removeEventListener("error",this._shakaErrorFn),this._rmp.shakaPlayer.removeEventListener("adaptation",this._shakaAdaptationChangedFn),this._rmp.shakaPlayer.removeEventListener("trackschanged",this._shakaTracksChangedFn),this._rmp.shakaPlayer.removeEventListener("shakamanifestparsed",this._shakaManifestParsedFn)),this._rmp.dom.video&&this._rmp.dom.video.removeEventListener("durationchange",this._shakaDurationChangeFn),this._rmp.dom.container&&this._rmp.off("resize",this._configureShakaCapLevelToPlayerSizeFn),this._resetVars()}},{key:"setUpVideoRenditions",value:function(){var t,e=this;this._rmp.shakaVideoRenditions=[];var i=this._getActiveLanguage(),r=F()(t=this._variantsPerLng).call(t,(function(t){return E()(t)[0]===i}));if(r=void 0!==r[0][i]?r[0][i]:[],r=this._filterVideoVariants(r),-1===this._rmp.frameRate&&r[0]&&(this._rmp.frameRate=r[0].frameRate,this._rmp.frameRate,this._rmp.dispatch("framerateavailable")),r.forEach((function(t,i){var r=K.createElement("button","rmp-button rmp-overlay-level rmp-color-bg rmp-q"+(i+1),null,e._rmp.rtl),a=e._rmp.labels.hint.track+" "+(i+1);r.setAttribute("data-track-id",t.id),e._rmp.shakaVideoRenditions.push(t.id);var n=!1,s=t.height;if("number"==typeof s&&s>0&&(n=!0,a=s.toString()+"p",r.appendChild(K.getLevelHeight(t))),"number"==typeof t.bandwidth&&t.bandwidth>10&&("kbps"===e._rmp.bitrateDataDisplayed||"mbps"===e._rmp.bitrateDataDisplayed))if(n=!0,s){var o=document.createElement("span");K.setText(o," @ "),r.appendChild(o),r.appendChild(K.getBandwidth(t.bandwidth,e._rmp.bitrateDataDisplayed))}else r.appendChild(K.getBandwidth(t.bandwidth,e._rmp.bitrateDataDisplayed));e._rmp.customTrackNames.quality.length>0&&e._rmp.customTrackNames.quality[i]?(a=e._rmp.customTrackNames.quality[i],K.setText(r,e._rmp.customTrackNames.quality[i])):n||K.setText(r,e._rmp.labels.hint.track+" "+(i+1)),Ga.make.call(e._rmp,r,a,!0),e._rmp.dom.qualityOverlayLevelsArea.appendChild(r)})),this._rmp.dom.qualityOverlayLevelsArea)for(var a=this._rmp.dom.qualityOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),n=0,s=a.length;n0&&t.startUpPlaying>t.startUpPlay&&(t.startUpTime=t.startUpPlaying-t.startUpPlay),t.startUpTime,t.firstFrameReached=!0,t.dispatch("firstframe"),t.dispatch("startuptimeavailable")}),1)},ir=function(){Oa.autoplayFailureRestorePlayUI.call(this)},rr=function(){var t=this.getAdLinear();null!==t&&(t||!t&&"rmp-vast"===this.adParser)&&Oa.fireAutoplaySuccess.call(this)},ar=function(){this.onAdAutoplaySuccess=rr.bind(this),this.on("adstarted adinitialplayrequestsucceeded",this.onAdAutoplaySuccess),this.onAdAutoplayFailed=ir.bind(this),this.on("adinitialplayrequestfailed",this.onAdAutoplayFailed)},nr=function(){this.emptyInitAdTagUrl?Oa.playPromise.call(this):this.adScheduleInput?(this.adTagUrl=this.adSchedule.preroll,Be.processAdScheduleCallback.call(this,this.adTagUrl,!0)):this.loadAds(this.adTagUrl,!0)},sr=function(){this.startUpLogPlaying=er.bind(this),this.on("playing adloaded",this.startUpLogPlaying),this.ads&&!this.adImaDai?(this.autoplay&&ar.call(this),nr.call(this)):Oa.playPromise.call(this)},or=function(){if(this.rmpGoogleCast){if(this.googleCastCordova&&this.rmpGoogleCast.isCastMediaLoaded())return this.castMediaEnded?void this.rmpGoogleCast.loadCastMedia():void(this.getPaused()?(this.castMedia.play({}),Ki.play.call(this)):(this.castMedia.pause({}),Ki.pause.call(this)));if(this.rmpGoogleCast.isCastMediaLoaded())return void this.remotePlayerController.playOrPause();if(this.castConnected&&"LOADING"===this.remotePlayerState)return}if(this.firstPlay)return this.firstPlay=!1,void sr.call(this);this.dom.video.paused?Oa.playPromise.call(this):this.dom.video.pause()},lr=function t(){var e=this;null!==this.processInitiatePlayback&&this.off("loadedmetadata",this.processInitiatePlayback),this.video360&&this.firstPlay&&"undefined"==typeof THREE?setTimeout((function(){t.call(e)}),10):this.ads&&this.firstPlay&&this.adParserLoaded?or.call(this):this.isLinearAdOn()&&!this.adImaDai?this.rmpAdsWithIma?this.getAdPaused()?this.rmpAdsWithIma.resumeAds():this.rmpAdsWithIma.pauseAds():this.rmpAdsWithRmpVast&&(this.getAdPaused()?this.rmpAdsWithRmpVast.resumeAds.call(this):this.rmpAdsWithRmpVast.pauseAds.call(this)):this.adOutStream||or.call(this)},dr=function(){if(!this.playerInitialized){var t=!1;if(this.readingMse||this.hasLoadedMetadata&&"none"!==this.preload||(t=!0),this.playerInitialized=!0,this.hidePoster(),Ot.showLoadingSpin.call(this),this.ads&&!this.adImaDai)if(this.rmpAdsWithIma){try{this.rmpAdsWithIma.adDisplayContainer.initialize()}catch(e){console.trace(e)}this.adDCInitialized=!0,t&&this.dom.video.load()}else this.rmpVast&&(this.rmpVast.initialize(),t&&this.dom.video.load());else t&&this.dom.video.load();this.readingHlsJS?(this.rmpHlsJS||(this.rmpHlsJS=new Qi(this)),this.rmpHlsJS.init()):this.readingShaka&&(this.rmpShaka||(this.rmpShaka=new $i(this)),this.rmpShaka.init())}this.hasLoadedMetadata?lr.call(this):null===this.processInitiatePlayback&&(this.processInitiatePlayback=lr.bind(this),this.on("loadedmetadata",this.processInitiatePlayback))};tr.init=function(t){var e=this;if(K.eventStopPrevent(t),this.getReady()){if(this.firstPlay){if(this.ads&&!this.adParserLoaded)return;this.hlsJSNeedsToResumeLoad&&(this.hlsJSNeedsToResumeLoad=!1,this.hlsJS.startLoad()),this.startUpPlay=K.getNow()}this.hasPlaylist&&null!==this.playlistCallback&&this.firstPlay?(this.ads&&""===this.adTagUrl&&(this.emptyInitAdTagUrl=!1),Vi.callbackPromise.call(this).then((function(){dr.call(e)})).catch((function(t){console.trace(t),dr.call(e)}))):this.hasRelated&&null!==this.relatedCallback&&this.firstPlay?(this.ads&&""===this.adTagUrl&&(this.emptyInitAdTagUrl=!1),xi.callbackPromise.call(this).then((function(){dr.call(e)})).catch((function(t){console.trace(t),dr.call(e)}))):dr.call(this)}else Oa.warning.call(this,1012,t)};var hr=tr,pr={},cr=function(t,e){t&&(t.classList.remove("rmp-i-fast-forward","rmp-i-fast-fast-forward","rmp-i-fast-fast-fast-forward","rmp-i-fast-rewind","rmp-i-fast-fast-rewind","rmp-i-fast-fast-fast-rewind"),t.classList.add(e))};pr.rewind=function(t,e){if(K.eventStopPrevent(e),this.tvPlayerSkin&&(this.fastForwardSeekingOn||this.fastRewindSeekingOn))this.play();else if("number"==typeof t&&t>0){var i=this.getCurrentTime(),r=1e3*t;i>r&&(this.isDvr?this.dvrSeekTo(i-r):this.seekTo(i-r))}};var mr=function(t){var e=1e3;switch(this.fastTier){case 1:break;case 2:e=5e3;break;case 3:e=1e4}switch(this.fastSeekLastCurrentTime=this.fastOffsetTime-e*this.fastSeekIndex[this.fastTier],this.fastSeekLastCurrentTime<=0&&(this.fastSeekLastCurrentTime=0),K.setText(this.dom.timeIndicator,K.readableTime(this.fastSeekLastCurrentTime/1e3)),this.dom.indicator.style.left=100*this.fastSeekLastCurrentTime/t+"%",this.fastTier){case 1:case 2:case 3:this.fastSeekIndex[this.fastTier]++}};pr.fastRewindClick=function(t){var e=this;if(K.eventStopPrevent(t),this.fastForwardSeekingOn)this.play();else{this.fastRewindSeekingOn||this.dom.video.addEventListener("play",(function(){pr.reset.call(e)}),{once:!0}),this.fastRewindSeekingOn=!0,this.pause(),clearInterval(this.fastRewindInterval),this.dom.indicator.style.display="block";var i=this.getCurrentTime(),r=this.getDuration();switch(this.fastTier++,this.fastTier>3&&(this.fastTier=1),this.fastSeekIndex=[1,1,1,1],this.fastTier){case 1:this.fastOffsetTime=this.fastSeekLastCurrentTime||i,cr(this.dom.fastIndicator,"rmp-i-fast-rewind"),mr.call(this,r),this.fastRewindInterval=setInterval((function(){mr.call(e,r)}),50);break;case 2:this.fastOffsetTime=this.fastSeekLastCurrentTime,cr(this.dom.fastIndicator,"rmp-i-fast-fast-rewind"),mr.call(this,r),this.fastRewindInterval=setInterval((function(){mr.call(e,r)}),50);break;case 3:this.fastOffsetTime=this.fastSeekLastCurrentTime,cr(this.dom.fastIndicator,"rmp-i-fast-fast-fast-rewind"),mr.call(this,r),this.fastRewindInterval=setInterval((function(){mr.call(e,r)}),50)}}};var ur=function(){this.dom.container.classList.add("rmp-quick-rewind-or-forward-ui");var t="5";this.quickRewind>7.5&&this.quickRewind<20?t="10":this.quickRewind>20&&(t="30"),this.tvPlayerSkin&&(t="tv"),this.dom.quickRewind=K.createElement("button","rmp-quick-rewind-or-forward rmp-button rmp-i rmp-i-quick-rewind-"+t,null,null);var e=t+"s "+this.labels.hint.rewind;Ga.make.call(this,this.dom.quickRewind,e+" "+this.labels.hint.keyboardShortcut+" j",!0,null,"j"),this.tvPlayerSkin&&(t="10",this.dom.fastRewind=K.createElement("button","rmp-fast-rewind rmp-button rmp-i rmp-i-fast-rewind",null,null),Ga.make.call(this,this.dom.fastRewind,this.labels.hint.rewind,!0),this.dom.controlBar.appendChild(this.dom.fastRewind),this.fastRewindClickFn=pr.fastRewindClick.bind(this),this.dom.fastRewind.addEventListener("touchend",this.fastRewindClickFn),this.dom.fastRewind.addEventListener("click",this.fastRewindClickFn)),this.dom.quickRewindHint=K.createElement("div","rmp-control-bar-hint rmp-color-bg",e+" (j)",this.rtl),this.dom.quickRewind.appendChild(this.dom.quickRewindHint),this.quickRewindFn=pr.rewind.bind(this,f()(t)),this.dom.quickRewind.addEventListener("touchend",this.quickRewindFn),this.dom.quickRewind.addEventListener("click",this.quickRewindFn),this.dom.controlBar.insertBefore(this.dom.quickRewind,this.dom.volume)};pr.reset=function(){this.fastForwardSeekingOn=!1,this.fastRewindSeekingOn=!1,clearInterval(this.fastForwardInterval),clearInterval(this.fastRewindInterval),this.dom.indicator.style.display="none",this.getCurrentTime()!==this.fastSeekLastCurrentTime&&this.seekTo(this.fastSeekLastCurrentTime),this.fastTier=0,this.fastSeekIndex=[1,1,1,1],this.fastSeekLastCurrentTime=0,cr(this.dom.fastIndicator,"rmp-i-fast-forward")},pr.forward=function(t,e){if(K.eventStopPrevent(e),this.tvPlayerSkin&&(this.fastForwardSeekingOn||this.fastRewindSeekingOn))this.play();else if("number"==typeof t&&t>0){var i=this.getCurrentTime(),r=1e3*t;if(this.isDvr&&this.isDvrLiveMode)return;this.isDvr?this.isDvrLiveMode||this.dvrSeekTo(i+r):this.seekTo(i+r)}};var fr=function(t){var e=1e3;switch(this.fastTier){case 1:break;case 2:e=5e3;break;case 3:e=1e4}switch(this.fastSeekLastCurrentTime=this.fastOffsetTime+e*this.fastSeekIndex[this.fastTier],this.fastSeekLastCurrentTime>=t&&(this.fastSeekLastCurrentTime=t),K.setText(this.dom.timeIndicator,K.readableTime(this.fastSeekLastCurrentTime/1e3)),this.dom.indicator.style.left=100*this.fastSeekLastCurrentTime/t+"%",this.fastTier){case 1:case 2:case 3:this.fastSeekIndex[this.fastTier]++}};pr.fastForwardClick=function(t){var e=this;if(K.eventStopPrevent(t),this.fastRewindSeekingOn)this.play();else{this.fastForwardSeekingOn||this.dom.video.addEventListener("play",(function(){pr.reset.call(e)}),{once:!0}),this.fastForwardSeekingOn=!0,this.pause(),clearInterval(this.fastForwardInterval),this.dom.indicator.style.display="block";var i=this.getCurrentTime(),r=this.getDuration();switch(this.fastTier++,this.fastTier>3&&(this.fastTier=1),this.fastSeekIndex=[1,1,1,1],this.fastTier){case 1:this.fastOffsetTime=this.fastSeekLastCurrentTime||i,cr(this.dom.fastIndicator,"rmp-i-fast-forward"),fr.call(this,r),this.fastForwardInterval=setInterval((function(){fr.call(e,r)}),50);break;case 2:this.fastOffsetTime=this.fastSeekLastCurrentTime,cr(this.dom.fastIndicator,"rmp-i-fast-fast-forward"),fr.call(this,r),this.fastForwardInterval=setInterval((function(){fr.call(e,r)}),50);break;case 3:this.fastOffsetTime=this.fastSeekLastCurrentTime,cr(this.dom.fastIndicator,"rmp-i-fast-fast-fast-forward"),fr.call(this,r),this.fastForwardInterval=setInterval((function(){fr.call(e,r)}),50)}}};var gr=function(){this.quickRewind>0?this.dom.container.classList.add("rmp-quick-rewind-and-forward-ui"):this.dom.container.classList.add("rmp-quick-rewind-or-forward-ui");var t="5";this.quickForward>7.5&&this.quickForward<20?t="10":this.quickForward>20&&(t="30"),this.tvPlayerSkin&&(t="tv"),this.quickRewind>0?this.dom.quickForward=K.createElement("button","rmp-quick-rewind-or-forward rmp-button rmp-quick-rewind-and-forward rmp-i rmp-i-quick-forward-"+t,null,null):this.dom.quickForward=K.createElement("button","rmp-quick-rewind-or-forward rmp-button rmp-i rmp-i-quick-forward-"+t,null,null);var e=t+"s "+this.labels.hint.forward;Ga.make.call(this,this.dom.quickForward,e+" "+this.labels.hint.keyboardShortcut+" l",!0,null,"l"),this.tvPlayerSkin&&(t="10",this.dom.fastForward=K.createElement("button","rmp-fast-forward rmp-button rmp-i rmp-i-fast-forward",null,null),Ga.make.call(this,this.dom.fastForward,this.labels.hint.forward,!0),this.dom.controlBar.appendChild(this.dom.fastForward),this.fastForwardClickFn=pr.fastForwardClick.bind(this),this.dom.fastForward.addEventListener("touchend",this.fastForwardClickFn),this.dom.fastForward.addEventListener("click",this.fastForwardClickFn)),this.dom.quickForwardHint=K.createElement("div","rmp-control-bar-hint rmp-color-bg",e,this.rtl),this.dom.quickForward.appendChild(this.dom.quickForwardHint),this.quickForwardFn=pr.forward.bind(this,f()(t)),this.dom.quickForward.addEventListener("touchend",this.quickForwardFn),this.dom.quickForward.addEventListener("click",this.quickForwardFn),this.dom.controlBar.insertBefore(this.dom.quickForward,this.dom.volume)};pr.init=function(){this.quickRewind>0&&ur.call(this),this.quickForward>0&&gr.call(this),this.tvPlayerSkin&&(this.dom.fastIndicator=K.createElement("span","rmp-fast-indicator rmp-i rmp-i-fast-forward",null,null),this.dom.indicator.insertBefore(this.dom.fastIndicator,this.dom.timeIndicator))};var vr=pr,yr={},br=function(){this.isDvrLiveMode=!1,this.dom.container.classList.replace("rmp-dvr-live","rmp-dvr-vod"),K.setText(this.dom.durationText,"-"),this.dispatch("dvrisvod")};yr.do=function(t){var e,i,r;if(this.googleCast&&this.castConnected){var a=this.getDuration();i=(e=-1===a?-1:Math.round(a/1e3))*t}else if(this.isDvr){if(this.isDvrLiveMode&&(this.resyncPauseTime>0||this.resyncDvrCurrentTime>0)&&(this.off("timeupdate",this.playingDvr),this.resyncPauseTime=0,this.resyncDvrCurrentTime=0,this.on("pause",this.pauseDvr)),this.readingHlsJS){if(e=K.getMediaDuration(this.dom.video),!K.isNumber(e))return;(r=e-this.hlsJSLevelDuration)<=0&&(r=0),i=this.hlsJSLevelDuration*t+r}else if(this.readingShaka){var n=this.shakaPlayer.seekRange(),s=n.start,o=n.end;K.isNumber(o)&&K.isNumber(s)&&s>=0&&o>0&&(e=o,i=s+(o-s)*t)}}else i=(e=K.getMediaDuration(this.dom.video))*t;if(K.isNumber(e)&&!(e<=0)&&K.isNumber(t)&&!(i<0||i>e))if(this.isDvr&&br.call(this),this.dom.current.style.width=100*t+"%",this.dom.handle.style.left=100*t+"%",this.googleCast&&this.castConnected)this.seekTo(1e3*i);else try{this.dom.video.currentTime=i}catch(l){console.trace(l)}};var kr=function(t){if(t){var e,i=0;e=(i="touchend"===t.type||"touchmove"===t.type?(K.getPosXTouch(t)-K.getAbsLeft(this.dom.seekBar))/K.getWidth(this.dom.seekBar)*100:(K.getPosX(t)-K.getAbsLeft(this.dom.timetotal))/K.getWidth(this.dom.timetotal)*100)>=100?100:i<0?0:i;var r,a,n=this.getDuration();if(n>-1)this.dom.current.style.width=e+"%",this.dom.handle.style.left=e+"%",this.isDvr&&this.dom.durationText?(this.dom.container.classList.replace("rmp-dvr-live","rmp-dvr-vod"),a=this.dom.durationText,r="-"+K.readableTime((n-e/100*n)/1e3)):this.dom.timeElapsedText&&(a=this.dom.timeElapsedText,r=K.readableTime(e*(n/1e3)/100),Oa.updateDurationText.call(this,n,e*n/100)),K.setText(a,r)}};yr.touchend=function(t){if(t){t.stopPropagation(),t.preventDefault();var e=(K.getPosXTouch(t)-K.getAbsLeft(this.dom.seekBar))/K.getWidth(this.dom.seekBar);if(!K.isNumber(e))return;e>=1?e=1:e<0&&(e=0),kr.call(this,t),yr.do.call(this,e),this.touchDown=!1}},yr.touchmove=function(t){this.touchDown=!0,Ot.showChrome.call(this),kr.call(this,t)},yr.mouseupDoc=function(t){if(t){t.stopPropagation(),this.draggingTimeCursor=!1,this.dom.timetotal.classList.remove("grabbing"),document.removeEventListener("mouseup",this.mouseupDoc),document.removeEventListener("mousemove",this.mousemoveDoc);var e,i=K.getPosX(t),r=K.getAbsLeft(this.dom.timetotal),a=K.getWidth(this.dom.timetotal);e=ir+a?.99:(i-r)/a,kr.call(this,t),yr.do.call(this,e)}},yr.mousemoveDoc=function(t){kr.call(this,t)};var wr=yr,_r={destroy:function(){this.readingMp4&&this.off("srcchanged",this.afterMp4BitrateSwitch),ae.destroy.call(this,"quality")}},Cr=function(t){this.off("srcchanged",this.afterMp4BitrateSwitch),ae.setActiveLevel.call(this,"quality",t),this.getPlayerInitialized()&&this.pdCurrentTime>-1&&(this.pdCurrentTime,this.seekTo(this.pdCurrentTime)),this.dispatch("levelswitched")};_r.setMp4Bitrate=function(t,e){K.eventStopPrevent(e),this.off("srcchanged",this.afterMp4BitrateSwitch),this.afterMp4BitrateSwitch=Cr.bind(this,t),this.one("srcchanged",this.afterMp4BitrateSwitch),this.pdCurrentTime=this.getCurrentTime(),this.setSrcPDModule=!0,this.dispatch("levelswitching"),this.setSrc(this.src,null,t),this.setSrcPDModule=!1},_r.setUpMP4UI=function(){ae.appendToControlBar.call(this,"quality"),ae.appendOverlay.call(this,"quality");for(var t=0;t0&&this.customTrackNames.quality[t]?this.customTrackNames.quality[t]:this.labels.bitrates.renditions[t]?this.labels.bitrates.renditions[t]+" "+this.labels.hint.quality:this.labels.hint.track+" "+t;var a=K.createElement("button",e,r,this.rtl,!0);a.setAttribute("data-src",i),Ga.make.call(this,a,r,!0),a.addEventListener("touchend",_r.setMp4Bitrate.bind(this,t)),a.addEventListener("click",_r.setMp4Bitrate.bind(this,t)),this.dom.qualityOverlayLevelsArea.appendChild(a)}};var Sr=_r,xr={},Ar=function(t,e){K.eventStopPrevent(e);var i=this.dom.speedOverlayLevelsArea.querySelectorAll(".rmp-overlay-level");if(i.length>0&&i[t]){var r=i[t],a=r.textContent;if("string"==typeof a&&""!==a){a=T()(a.replace("x","")),this.setPlaybackRate(a);for(var n=0,s=i.length;ne.floatingViewablePreviousRatio?(e.floatingFirstView||(e.floatingFirstView=!0),e.floatingPlayerIsAnchored||Dr.attachPlayer.call(e)):e.floatingPlayerIsAnchored&&e.floatingFirstView&&Dr.detachPlayer.call(e),e.floatingViewablePreviousRatio=t.intersectionRatio}))},Rr=function(t){K.eventStopPrevent(t),this.floatingViewableObserver.disconnect(),Dr.attachPlayer.call(this),K.removeElement(this.dom.floating)},Ur=function(){ae.append.call(this,"floating"),this.onClosingFloatingClick=Rr.bind(this),this.dom.floating.addEventListener("touchend",this.onClosingFloatingClick),this.dom.floating.addEventListener("click",this.onClosingFloatingClick)},Br=function(){if("undefined"!=typeof IntersectionObserver){var t={root:null,rootMargin:"0px",threshold:this.floatingThreshold};this.floatingViewableObserver=new IntersectionObserver(Or.bind(this),t),this.floatingViewableObserver.observe(this.dom.floatingAnchorElement),Ur.call(this)}};Dr.init=function(){this.dom.floatingAnchorElement=document.getElementById("rmp-anchor-element"),this.dom.floatingAnchorElement?(this.poster&&(this.dom.floatingAnchorElement.style.backgroundImage="url("+this.poster+")"),this.one("ready",Br.bind(this))):Oa.warning.call(this,14e3)};var Vr=Dr,Nr={},Hr=function(t){var e=t.target.parentNode.querySelector("input");e.select(),e.setSelectionRange(0,99999),document.execCommand("copy")},qr=function(){var t,e,i,r,a,n,s=this,o=K.createElement("div","rmp-sharing-social");if(m()(t=this.filteredSharingNetworks).call(t,"facebook")>-1){var l=K.createElement("a","rmp-button rmp-inline rmp-i rmp-i-facebook rmp-sharing-social-icons",null,null);l.setAttribute("target","_blank"),l.setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(this.sharingUrl)),Ga.make.call(this,l,"Facebook",!1),o.appendChild(l)}if(m()(e=this.filteredSharingNetworks).call(e,"twitter")>-1){var d=K.createElement("a","rmp-button rmp-inline rmp-i rmp-i-twitter rmp-sharing-social-icons",null,null);d.setAttribute("target","_blank"),d.setAttribute("href","https://twitter.com/share?url="+encodeURIComponent(this.sharingUrl)),Ga.make.call(this,d,"Twitter",!1),o.appendChild(d)}if(m()(i=this.filteredSharingNetworks).call(i,"linkedin")>-1){var h=K.createElement("a","rmp-button rmp-inline rmp-i rmp-i-linkedin rmp-sharing-social-icons",null,null);h.setAttribute("target","_blank"),h.setAttribute("href","https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(this.sharingUrl)),Ga.make.call(this,h,"LinkedIn",!1),o.appendChild(h)}if(m()(r=this.filteredSharingNetworks).call(r,"reddit")>-1){var p=K.createElement("a","rmp-button rmp-inline rmp-i rmp-i-reddit rmp-sharing-social-icons",null,null);p.setAttribute("target","_blank"),p.setAttribute("href","https://www.reddit.com/submit?url="+encodeURIComponent(this.sharingUrl)),Ga.make.call(this,p,"Reddit",!1),o.appendChild(p)}if(m()(a=this.filteredSharingNetworks).call(a,"whatsapp")>-1){var c=K.createElement("a","rmp-button rmp-inline rmp-i rmp-i-whatsapp rmp-sharing-social-icons",null,null);c.setAttribute("target","_blank"),c.setAttribute("href","whatsapp://send?text="+encodeURIComponent(this.sharingUrl)),Ga.make.call(this,c,"WhatsApp",!1),o.appendChild(c)}if(m()(n=this.filteredSharingNetworks).call(n,"email")>-1){var u=K.createElement("button","rmp-button rmp-inline rmp-i rmp-i-email rmp-sharing-social-icons",null,null);u.addEventListener("click",(function(){try{location.href="mailto:?body="+encodeURIComponent(s.sharingUrl)}catch(t){console.trace(t)}})),Ga.make.call(this,u,"Email",!0),o.appendChild(u)}this.dom.sharingOverlayLevelsArea.appendChild(o);var f=K.createElement("div","rmp-sharing-link");f.className="rmp-sharing-link";var g='';if(g+='',g+='';y+='',y+='0)for(var r=i.length-1;r>=0;r--)It()(t).call(t,i[r],1);return t}(this.sharingNetworks),ae.append.call(this,"sharing"),ae.appendOverlay.call(this,"sharing"),qr.call(this)};var zr=Nr,Wr={},jr=function(t){K.eventStopPrevent(t);var e=this.getVolume();e<=1&&e>=0&&((e+=.1)>=1&&(e=1),this.setVolume(e))},Gr=function(t){K.eventStopPrevent(t);var e=this.getVolume();e<=1&&e>=0&&((e-=.1)<=0&&(e=0),this.setVolume(e))},Jr=function(){var t=0;this.getMute()||(t=this.getVolume()),t>=0&&t<=1&&this.rememberVolume&&yt.localStorage(this.allowLocalStorage)&&K.writeVolumeToLocalStorage(t),this.dispatch("volumechange")};Wr.init=function(){var t=K.createElement("button","rmp-button rmp-i rmp-i-minus",null,null);this.dom.controlBar.appendChild(t),Ga.make.call(this,t,this.labels.hint.minus,!0),this.audioOnlyMinusFn=Gr.bind(this),t.addEventListener("touchend",this.audioOnlyMinusFn),t.addEventListener("click",this.audioOnlyMinusFn);var e=K.createElement("button","rmp-button rmp-i rmp-i-plus",null,null);this.dom.controlBar.appendChild(e),Ga.make.call(this,e,this.labels.hint.plus,!0),this.audioOnlyPlusFn=jr.bind(this),e.addEventListener("touchend",this.audioOnlyPlusFn),e.addEventListener("click",this.audioOnlyPlusFn),this.onVolumeChange=Jr.bind(this),this.dom.video.addEventListener("volumechange",this.onVolumeChange)};var Kr=Wr,Qr={},Yr=function(t){t&&t.stopPropagation(),this.touchRmp=!0,Ot.showChrome.call(this)},Xr=function(t){if(this.getReady()&&!this.touchRmp){if(t&&t.stopPropagation(),this.isLinearAdOn())return;if(this.video360&&!this.firstPlay)return;this.initiatePlayback()}},Zr=function(t){t&&t.stopPropagation(),this.isInFullscreen?this.setFullscreen(!1):this.setFullscreen(!0)},$r=function(t){K.eventStopPrevent(t),Ot.showChrome.call(this)},ta=function(){this.off("playing adloaded aderror",this.onMobileStartAutoHideCentralUI),this.dom.centralMobileUI.classList.remove("rmp-mobile-show-play")},ea=function(){this.dom.centralMobileUI=K.createElement("button","rmp-button rmp-mobile-central-ui rmp-mobile-show-play rmp-color-bg",null,null),Ga.make.call(this,this.dom.centralMobileUI,this.labels.hint.play,!0),this.dom.centralMobileUIIcon=K.createElement("span","rmp-i rmp-i-play"),this.dom.centralMobileUI.appendChild(this.dom.centralMobileUIIcon),this.dom.container.appendChild(this.dom.centralMobileUI),this.onMobileStartAutoHideCentralUI=ta.bind(this),this.on("playing adloaded aderror",this.onMobileStartAutoHideCentralUI)},ia=function(){this.dom.overlayButton=K.createElement("button","rmp-button rmp-overlay-button rmp-color-bg",null,null),Ga.make.call(this,this.dom.overlayButton,this.labels.hint.play,!0),this.dom.overlayButtonIcon=K.createElement("span","rmp-i rmp-i-play"),this.dom.overlayButton.appendChild(this.dom.overlayButtonIcon),this.dom.container.appendChild(this.dom.overlayButton)},ra=function(){this.dom.loadingSpin=K.createElement("div","rmp-loading-spin");var t=K.createElement("div","rmp-loading-spin-circle");this.dom.loadingSpin.appendChild(t),this.dom.container.appendChild(this.dom.loadingSpin)},aa=function(t){var e;if("cuechange"===t.type&&t&&t.target&&t.target.activeCues&&t.target.activeCues.length>0&&(e=t.target.activeCues),e){this.meta.type="id3",this.meta.data={},this.meta.raw=[];for(var i,r=/http(s)?:.+\.(jpg|png|gif|avif)/,a=0,n=e.length;a=0&&("number"==typeof this.meta.data.start&&this.meta.data.start===s.startTime||(this.meta.data.start=s.startTime)),"number"==typeof s.endTime&&s.endTime>=0&&("number"==typeof this.meta.data.end&&this.meta.data.end===s.endTime||(this.meta.data.end=s.endTime)),this.meta.raw.push(o),o.key){case"TALB":this.meta.data.albumTitle=o.data.replace(/"/g,"");break;case"TDRC":this.meta.data.recordingTime=o.data.replace(/"/g,"");break;case"TDRL":this.meta.data.releaseTime=o.data.replace(/"/g,"");break;case"TCOM":this.meta.data.composer=o.data.replace(/"/g,"");break;case"TCON":this.meta.data.contentType=o.data.replace(/"/g,"");break;case"TFLT":this.meta.data.fileType=o.data.replace(/"/g,"");break;case"TIT1":this.meta.data.contentGroup=o.data.replace(/"/g,"");break;case"TIT2":this.meta.data.title=o.data.replace(/"/g,"");break;case"TLEN":this.meta.data.duration=o.data.replace(/"/g,"");break;case"TPE1":this.meta.data.artist=o.data.replace(/"/g,"");break;case"TPE2":this.meta.data.band=o.data.replace(/"/g,"");break;case"TPE3":this.meta.data.conductor=o.data.replace(/"/g,"");break;case"TRSN":this.meta.data.radioStationName=o.data.replace(/"/g,"");break;case"TRSO":this.meta.data.radioStationOwner=o.data.replace(/"/g,"");break;case"TSRC":this.meta.data.isrc=o.data.replace(/"/g,"");break;case"WCOM":this.meta.data.commercialInfo=o.data.replace(/"/g,"");break;case"WCOP":this.meta.data.copyrightInfo=o.data.replace(/"/g,"");break;case"WXXX":o.info&&r.test(o.info)?this.meta.data.url=o.info.replace(/"/g,""):o.data&&r.test(o.data)&&(this.meta.data.url=o.data.replace(/"/g,"")),(i=this.meta.data.url.match(r))&&i[0]?this.meta.data.url=i[0]:delete this.meta.data.url}}if(this.audioOnlyID3UI){var l="";this.meta.data.artist&&(l+=this.meta.data.artist,this.meta.data.albumTitle&&(l+=" - "+this.meta.data.albumTitle,this.meta.data.recordingTime&&(l+=" ("+this.meta.data.recordingTime+")")));var d="";this.meta.data.title&&(d+=this.meta.data.title,this.meta.data.duration&&(d+=" ("+this.meta.data.duration+")"));var h="";i&&i[0]&&(h=i[0]),this.setContentMetadata({description:l,poster:[h],title:d})}this.dispatch("meta"),this.meta}},na=function(t){if(t&&t.track&&t.track.kind&&"metadata"===t.track.kind){t.track;var e=t.track;"disabled"===e.mode&&(e.mode="hidden"),e.addEventListener("cuechange",aa.bind(this))}},sa=function(t){if(t&&t.target){var e=t.target;if(e&&e.error&&"number"==typeof e.error.code){var i=e.error.code;if("string"==typeof e.error.message&&e.error.message,i.toString(),this.firstFrameReached&&2===i||4===i)return void Oa.error.call(this,100,t)}Oa.warning.call(this,1014,t)}};Qr.prepareVideoElementForAppending=function(){this.readingPDorNative&&(this.generateError=sa.bind(this),this.dom.video.addEventListener("error",this.generateError,!0))},Qr.prepare=function(){(this.readingDashShaka||this.readingHlsJS||this.readingHlsShaka)&&(this.readingMse=!0),(this.readingMse||this.readingOutstream)&&(this.readingPDorNative=!1),(this.readingOutstream||this.readingMp4||(this.readingM4a||this.readingMp3||this.readingOgg)&&!this.audioOnlyIcecast)&&(this.detectLive=!1),this.ads&&"rmp-vast"===this.adParser&&!this.autoplay&&(this.preload="none"),Qr.prepareVideoElementForAppending.call(this),this.dom.content=K.createElement("div","rmp-content"),this.dom.content.appendChild(this.dom.video),""!==this.contentMetadata.description&&(this.dom.descriptionLabel=document.createElement("label",null,this.contentMetadata.description),K.hide(this.dom.descriptionLabel),this.dom.descriptionLabel.id="media-description-for-"+this.id,this.dom.content.appendChild(this.dom.descriptionLabel)),this.dom.container.appendChild(this.dom.content),this.ads&&"ima"===this.adParser&&!this.adImaDai&&(this.dom.adContainer=K.createElement("div","rmp-ad-container"),this.dom.container.appendChild(this.dom.adContainer)),this.preload,this.readingPDorNative?this.dom.video.preload=this.preload:"none"!==this.preload&&(this.readingHlsJS?(this.rmpHlsJS||(this.rmpHlsJS=new Qi(this)),this.rmpHlsJS.init(),this.msePreloadRequested=!0):this.readingShaka&&(this.rmpShaka||(this.rmpShaka=new $i(this)),this.rmpShaka.init(),this.msePreloadRequested=!0)),yt.isMobile?ea.call(this):ia.call(this),this.hideCentralPlayButton&&this.dom.container.classList.add("rmp-no-central-play"),ra.call(this),this.hideCentralBuffering&&this.dom.container.classList.add("rmp-no-loading-spin"),this.hideControls&&Ot.protoHideControls.call(this),(this.hideExternalPlayerLabels||yt.isMobile)&&this.dom.container.classList.add("rmp-no-hint"),this.readingPDorNative&&(this.muxData&&Qe.initHTML5.call(this),window.bitmovin&&this.bitmovinAnalyticsConfig.key&&"string"==typeof this.bitmovinAnalyticsConfig.key&&(this.bitmovinAnalyticsConfig,this.bitmovinAnalytics=new bitmovin.analytics.adapters.HTMLVideoElementAdapter(this.bitmovinAnalyticsConfig,this.dom.video),this.bitmovinAnalytics));try{this.dom.video.textTracks.addEventListener("addtrack",na.bind(this))}catch(t){console.trace(t)}this.dispatch("htmlmediaelementappendedtodom")};var oa=function(){var t=this;if(this.shakaPlayer.getImageTracks){var e=this.shakaPlayer.getImageTracks();if(e&&e.length>0){for(var i=function(){var i,n=a[r],s=t.shakaPlayer.getStats().estimatedBandwidth,o=fe()(i=F()(e).call(e,(function(t){return t.mimeType.toLowerCase()===n&&t.bandwidth<.01*s}))).call(i,(function(t,e){return e.bandwidth-t.bandwidth}));if(o&&o.length>0)return{v:o[0]}},r=0,a=["image/jpeg","image/png","image/svg+xml"];r=a&&(r=a);var n,s,o=r/a;(n=this.isDvr?i-o*i:o*i)>=i?n=i:n<=0&&(n=0),s=this.isDvr?0===n?this.labels.hint.live:"-"+K.readableTime(n):K.readableTime(n),K.setText(this.dom.timeIndicator,s),this.dom.indicator.style.left=r+"px";var l=K.getAbsLeft(this.dom.container),d=K.getWidth(this.dom.container);if(this.thumbnailsArray.length>0)this.thumbnailsArray.forEach((function(t){if(null!==t[0]&&null!==t[1]&&"string"==typeof t[2]&&n>=t[0]&&n1)e.thumbnailURIsTimestamps.forEach((function(t,i){n>=t&&(o=e.thumbnailURIs[i])})),o&&o!==e.currentThumbnailURI&&(e.currentThumbnailURI=o,e.dom.thumbnailsImg.style.backgroundImage='url("'+e.currentThumbnailURI+'")');var h=t[2].split(","),p=v()(i=h[0]).call(i),c=v()(r=h[1]).call(r),m=v()(a=h[2]).call(a),u=v()(s=h[3]).call(s);e.dom.thumbnailsImg.style.backgroundPosition="-"+p+"px -"+c+"px",e.dom.thumbnailsImg.style.height=u+"px",e.dom.thumbnailsImg.style.width=m+"px",e.dom.thumbnailsImg.style.top="-"+u+"px",e.dom.indicator.style.width=m+"px",e.dom.indicator.style.marginLeft=-m/2+"px";var f=K.getAbsLeft(e.dom.thumbnailsImg);"s2"===e.skin&&(fl+d&&(e.dom.indicator.style.left=d-16-T()(m)/2+"px"))}}));else if(this.shakaPlayer&&this.hasShakaThumbnail){this.dom.thumbnailsImg||(this.dom.thumbnailsImg=K.createElement("div","rmp-thumbnails"),this.dom.seekBar.classList.add("rmp-seek-bar-thumbnails"),this.dom.indicator.appendChild(this.dom.thumbnailsImg));var h=oa.call(this);h&&la.call(this,h,n)}}},pa=function(){this.hasLoadedMetadata&&(clearTimeout(this.hideIndicatorTimeout),K.show(this.dom.indicator))},ca=function(){var t=this;this.hasLoadedMetadata&&(clearTimeout(this.hideIndicatorTimeout),this.hideIndicatorTimeout=setTimeout((function(){K.hide(t.dom.indicator)}),400))},ma=function(){var t=ha.bind(this),e=ca.bind(this);this.dom.timetotal.addEventListener("mousemove",t),this.dom.timetotal.addEventListener("touchmove",t,!!yt.hasPassiveEventListeners&&{passive:!0}),this.dom.timetotal.addEventListener("mouseenter",pa.bind(this)),this.dom.timetotal.addEventListener("mouseleave",e),this.dom.timetotal.addEventListener("touchend",e)};Qr.appendSeekBar=function(){var t=this;if(void 0===this.dom.seekBar){this.dom.seekBar=K.createElement("div","rmp-seek-bar"),this.hideSeekBar&&this.dom.seekBar.classList.add("rmp-no-display"),this.dom.timetotal=K.createElement("div","rmp-time-total"),this.dom.loaded=K.createElement("div","rmp-loaded"),this.dom.timetotal.appendChild(this.dom.loaded),this.dom.current=K.createElement("div","rmp-current rmp-color-bg-button"),this.dom.timetotal.appendChild(this.dom.current),this.dom.handle=K.createElement("div","rmp-handle rmp-color-bg-button"),this.dom.timetotal.appendChild(this.dom.handle),this.dom.seekBar.addEventListener("touchend",wr.touchend.bind(this)),this.dom.seekBar.addEventListener("touchmove",wr.touchmove.bind(this),!!yt.hasPassiveEventListeners&&{passive:!0}),this.mouseupDoc=wr.mouseupDoc.bind(this),this.mousemoveDoc=wr.mousemoveDoc.bind(this),this.dom.timetotal.addEventListener("mousedown",(function(e){e&&e.stopPropagation(),t.draggingTimeCursor=!0,t.dom.timetotal.classList.add("grabbing"),document.addEventListener("mouseup",t.mouseupDoc),document.addEventListener("mousemove",t.mousemoveDoc)})),this.dom.indicator=K.createElement("div","rmp-indicator rmp-color-bg"),this.dom.timeIndicator=K.createElement("span","rmp-time-indicator",null,this.rtl),this.dom.indicator.appendChild(this.dom.timeIndicator),this.dom.timetotal.appendChild(this.dom.indicator),ma.call(this),vr.init.call(this),""!==this.seekBarThumbnailsLoc&&Ce.init.call(this),this.hasTranscripts&&Le.init.call(this),this.dom.seekBar.appendChild(this.dom.timetotal),this.dom.time.nextSibling?this.dom.controlBar.insertBefore(this.dom.seekBar,this.dom.time.nextSibling):this.dom.controlBar.appendChild(this.dom.seekBar),Ga.make.call(this,this.dom.seekBar,this.labels.hint.seek,!1),this.dom.durationText=K.createElement("span","rmp-duration-text",null,this.rtl);var e="rmp-time-separator rmp-no-display";this.audioOnly&&(e="rmp-time-separator"),this.dom.timeSeparator=K.createElement("span",e,"/",this.rtl),this.dom.time.appendChild(this.dom.timeSeparator),this.dom.time.appendChild(this.dom.durationText);var i=this.getDuration(),r=this.getCurrentTime();if(this.isVod&&i>-1&&!this.audioOnly&&(this.dom.timeSeparator.classList.remove("rmp-no-display"),Oa.updateDurationText.call(this,i,r)),i>-1&&r>-1){var a=K.precisionRound(100*r/i,2).toString(),n=K.readableTime(r/1e3)+" of "+K.readableTime(i/1e3);this.dom.seekBar.setAttribute("aria-valuenow",a),this.dom.seekBar.setAttribute("aria-valuetext",n)}}};var ua=function(t){K.eventStopPrevent(t),this.getLoop()?(this.dom.loop.firstChild.firstChild.classList.remove("rmp-color-accent"),this.setLoop(!1)):(this.dom.loop.firstChild.firstChild.classList.add("rmp-color-accent"),this.setLoop(!0))},fa=function(t){if(K.eventStopPrevent(t),this.theatherModeEnabled)this.theatherModeEnabled=!1,this.dom.container.classList.remove("rmp-theater-on"),this.setPlayerSize(this.initialTheaterWidth,this.initialTheaterHeight);else{this.theatherModeEnabled=!0;var e=this.dom.container.parentNode,i=K.getTrueWidth(e);this.dom.container.classList.add("rmp-theater-on");var r=i*this.initialTheaterHeight/this.initialTheaterWidth;this.setPlayerSize(i,r)}},ga=function(){var t=K.createElement("div","rmp-info-text");t.innerHTML=this.infoModule,this.dom.infoOverlayLevelsArea.appendChild(t)},va=function(t){if(t&&t.type&&"orientationchange"===t.type)90===Math.abs(window.orientation)?this.setFullscreen(!0):this.isInFullscreen&&this.setFullscreen(!1);else if(t&&t.type&&"change"===t.type){var e;ve()(e=window.screen.orientation.type).call(e,"landscape")?this.setFullscreen(!0):this.isInFullscreen&&this.setFullscreen(!1)}},ya=function(t){K.eventStopPrevent(t),Ot.showChrome.call(this),Va.fullscreenInteraction.call(this),this.automaticFullscreenOnLandscape&&yt.hasScreenOrientationAPI&&(this.isInFullscreen||screen.orientation.lock("landscape").then((function(){var t;window.addEventListener("deviceorientation",(function e(i){if(Math.abs(i.gamma)>20||Math.abs(i.beta)<20)return t,void(t="landscape");(Math.abs(i.gamma)<20||Math.abs(i.beta)>20)&&"landscape"==t&&(screen.orientation.unlock(),window.removeEventListener("deviceorientation",e))}))})).catch((function(t){console.trace(t)})))},ba=function(){this.dom.fullscreen=K.createElement("button","rmp-fullscreen rmp-button rmp-i rmp-i-resize-full",null,null),this.dom.fullscreenHint=K.createElement("div","rmp-control-bar-hint rmp-color-bg",this.labels.hint.enterFullscreen+" (f)",this.rtl),this.dom.fullscreen.appendChild(this.dom.fullscreenHint),this.hideFullscreen&&this.dom.fullscreen.classList.add("rmp-no-display"),this.dom.controlBar.appendChild(this.dom.fullscreen),this.dom.container.appendChild(this.dom.controlBar),this.fullscreenButtonInteractionFn=ya.bind(this),this.hasNativeFullscreenSupport?(yt.isIos[0]?(this.webkitbeginfullscreenFn=Va.webkitbeginfullscreen.bind(this),this.dom.video.addEventListener("webkitbeginfullscreen",this.webkitbeginfullscreenFn),this.webkitendfullscreenFn=Va.webkitendfullscreen.bind(this),this.dom.video.addEventListener("webkitendfullscreen",this.webkitendfullscreenFn)):(this.fullscreenchange=Va.fullscreenchange.bind(this),document.addEventListener("fullscreenchange",this.fullscreenchange),this.fullscreenerror=Va.fullscreenerror.bind(this),document.addEventListener("fullscreenerror",this.fullscreenerror)),this.dom.fullscreen.addEventListener("touchend",this.fullscreenButtonInteractionFn),this.dom.fullscreen.addEventListener("click",this.fullscreenButtonInteractionFn)):this.fullscreenFullWindowMode&&(this.dom.fullscreen.addEventListener("touchend",this.fullscreenButtonInteractionFn),this.dom.fullscreen.addEventListener("click",this.fullscreenButtonInteractionFn)),this.automaticFullscreenOnLandscape&&(this.manageFSOnOrientationChange=va.bind(this),yt.hasScreenOrientationAPI?window.screen.orientation.addEventListener("change",this.manageFSOnOrientationChange):yt.hasOlderScreenOrientationAPI&&window.addEventListener("orientationchange",this.manageFSOnOrientationChange))},ka=function(t){var e=Math.round(100*t)+"%",i=100*t+"%";this.dom.volumeBar.style.height=i,K.setText(this.dom.volumeIndicator,e)};Qr.updateVolumeIcon=function(t){t<=0?this.dom.volume.classList.add("rmp-i-off-volume"):t>.5?this.dom.volume.classList.add("rmp-i-volume"):this.dom.volume.classList.add("rmp-i-volume-half")};var wa=function(){var t=this.getMute(),e=0;this.dom.volume.classList.remove("rmp-i-off-volume","rmp-i-volume-half","rmp-i-volume"),t?(this.dom.volume.setAttribute("aria-label",this.labels.hint.unmute+" "+this.labels.hint.keyboardShortcut+" m"),this.dom.volume.classList.add("rmp-i-off-volume")):(this.dom.volume.setAttribute("aria-label",this.labels.hint.mute+" "+this.labels.hint.keyboardShortcut+" m"),e=this.getVolume(),Qr.updateVolumeIcon.call(this,e)),e>=0&&e<=1&&(this.rememberVolume&&yt.localStorage(this.allowLocalStorage)&&K.writeVolumeToLocalStorage(e),ka.call(this,e)),this.dom.volumeContainer.setAttribute("aria-valuenow",K.precisionRound(100*e,2)),this.dom.volumeContainer.setAttribute("aria-valuetext",K.precisionRound(100*e,2).toString()+"%"),this.dispatch("volumechange")},_a=function(t){if(t){this.dom.volumeBar.classList.remove("grabbing"),t.stopPropagation(),document.removeEventListener("mouseup",this.volumeMouseup),document.removeEventListener("mousemove",this.volumeMousemove);var e,i=K.getPosY(t),r=K.getHeight(this.dom.volumeBarContainer),a=K.getAbsTop(this.dom.volumeBarContainer);e=i>=a+r?0:i<=a?1:1-Math.abs(i-a)/r,this.setVolume(e)}},Ca=function(t){var e,i=K.getPosY(t),r=K.getHeight(this.dom.volumeBarContainer),a=K.getAbsTop(this.dom.volumeBarContainer);e=i>=a+r?0:i<=a?1:1-Math.abs(i-a)/r,K.isNumber(e)&&e>=0&&(ka.call(this,e),this.setVolume(e))},Sa=function(t){K.eventStopPrevent(t),this.getMute()?this.setMute(!1):this.setMute(!0)},xa=function(){var t=this;this.dom.volume=K.createElement("button","rmp-button rmp-volume rmp-i rmp-i-volume",null,null),this.dom.controlBar.appendChild(this.dom.volume);var e=this.labels.hint.mute;this.getMute()&&(e=this.labels.hint.unmute),Ga.make.call(this,this.dom.volume,e,!0,null,"m"),this.onClickVolumeIconFn=Sa.bind(this),this.dom.volume.addEventListener("touchend",this.onClickVolumeIconFn),this.dom.volume.addEventListener("click",this.onClickVolumeIconFn),this.dom.volumeContainer=K.createElement("div","rmp-volume-container rmp-color-bg"),Ga.make.call(this,this.dom.volumeContainer,this.labels.hint.volume,!1),this.dom.volumeBarContainer=K.createElement("div","rmp-volume-bar-container"),this.dom.volumeContainer.addEventListener("touchend",K.stopPropagation),this.dom.volumeContainer.addEventListener("click",K.stopPropagation),this.dom.volumeContainer.appendChild(this.dom.volumeBarContainer),this.dom.volumeBar=K.createElement("div","rmp-volume-bar"),this.dom.volumeHandle=K.createElement("div","rmp-volume-handle rmp-color-bg-button"),this.dom.volumeBar.appendChild(this.dom.volumeHandle),this.dom.volumeBarContainer.appendChild(this.dom.volumeBar),this.dom.controlBar.appendChild(this.dom.volumeContainer);var i=!1;"s2"===this.skin&&(i=!0),this.dom.volume.addEventListener("mouseenter",(function(){i&&t.dom.seekBar&&t.dom.seekBar.classList.add("rmp-no-display"),K.show(t.dom.volumeContainer)})),this.dom.volume.addEventListener("mouseleave",(function(){i&&t.dom.seekBar&&t.dom.seekBar.classList.remove("rmp-no-display"),K.hide(t.dom.volumeContainer)})),this.dom.volumeContainer.addEventListener("mouseenter",(function(){i&&t.dom.seekBar&&t.dom.seekBar.classList.add("rmp-no-display"),K.show(t.dom.volumeContainer)})),this.dom.volumeContainer.addEventListener("mouseleave",(function(){i&&t.dom.seekBar&&t.dom.seekBar.classList.remove("rmp-no-display"),K.hide(t.dom.volumeContainer)})),this.dom.volumeIndicator=K.createElement("div","rmp-volume-indicator rmp-color-bg"),this.dom.volumeContainer.appendChild(this.dom.volumeIndicator);var r=this.initialVolume;"number"==typeof this.dom.video.volume&&this.dom.video.volume>=0&&(r=this.dom.video.volume),ka.call(this,r);var a=K.createElement("div","rmp-volume-hint rmp-color-bg",this.labels.hint.volume,this.rtl);this.dom.volumeContainer.appendChild(a),this.volumeMouseup=_a.bind(this),this.volumeMousemove=Ca.bind(this),this.dom.volumeContainer.addEventListener("mousedown",(function(e){e&&e.stopPropagation(),t.dom.volumeBar.classList.add("grabbing"),document.addEventListener("mouseup",t.volumeMouseup),document.addEventListener("mousemove",t.volumeMousemove)}))},Aa=function(){var t=this;xa.call(this),this.onVolumeChange=wa.bind(this),this.dom.video.addEventListener("volumechange",this.onVolumeChange),this.ads&&this.on("advolumechanged",(function(){var e=t.getVolume();t.dom.volumeContainer.setAttribute("aria-valuenow",K.precisionRound(100*e,2)),t.dom.volumeContainer.setAttribute("aria-valuetext",K.precisionRound(100*e,2).toString()+"%")}))};Qr.append=function(){var t=this;if(this.adOutStream||this.tvPlayerSkin||this.dom.container.classList.add("rmp-wait-for-duration"),this.dom.container.addEventListener("contextmenu",K.contextMenuInteraction),this.tvPlayerSkin||(this.containerTouch=Yr.bind(this),this.dom.container.addEventListener("touchend",this.containerTouch),this.pauseContentWhenViewingAreaIsClicked&&(this.containerClick=Xr.bind(this),this.dom.container.addEventListener("click",this.containerClick)),this.doubleClickForFullscreen&&(this.containerDBClick=Zr.bind(this),this.dom.container.addEventListener("dblclick",this.containerDBClick))),this.dom.controlBar=K.createElement("div","rmp-control-bar rmp-color-bg"),this.dom.playPause=K.createElement("button","rmp-play-pause rmp-button rmp-i rmp-i-play",null,null),this.dom.playPauseHint=K.createElement("div","rmp-control-bar-hint rmp-color-bg",this.labels.hint.play+" (k)",this.rtl),this.dom.playPause.appendChild(this.dom.playPauseHint),this.dom.controlBar.appendChild(this.dom.playPause),Aa.call(this),this.hideVolume&&this.dom.volume.classList.add("rmp-force-no-show"),this.dom.time=K.createElement("div","rmp-time"),this.dom.timeElapsedText=K.createElement("span","rmp-time-elapsed-text",null,this.rtl),this.dom.time.appendChild(this.dom.timeElapsedText),this.dom.controlBar.appendChild(this.dom.time),(this.readingMp4||this.readingOutstream||(this.readingM4a||this.readingMp3||this.readingOgg)&&!this.audioOnlyIcecast)&&Qr.appendSeekBar.call(this),this.audioOnly&&Kr.init.call(this),ba.call(this),this.readingMp4&&this.src.mp4.length>0&&Sr.setUpMP4UI.call(this),this.speed&&Tr.init.call(this),this.pip&&Fr.init.call(this),this.floating&&Vr.init.call(this),this.sharing&&this.sharingUrl&&zr.init.call(this),this.loopModule&&(ae.append.call(this,"loop"),this.onLoopInteraction=ua.bind(this),this.dom.loop.addEventListener("touchend",this.onLoopInteraction),this.dom.loop.addEventListener("click",this.onLoopInteraction)),this.infoModule&&(ae.append.call(this,"info"),ae.appendOverlay.call(this,"info"),ga.call(this)),this.theaterModeModule&&(ae.append.call(this,"theater"),this.initialTheaterWidth=this.initialWidth,this.initialTheaterHeight=this.initialHeight,this.onTheaterInteraction=fa.bind(this),this.dom.theater.addEventListener("touchend",this.onTheaterInteraction),this.dom.theater.addEventListener("click",this.onTheaterInteraction)),this.showChrome=Ot.showChrome.bind(this),this.dom.container.addEventListener("mousemove",this.showChrome),this.initiatePlayback=hr.init.bind(this),this.dom.playPause.addEventListener("touchend",this.initiatePlayback),this.dom.playPause.addEventListener("click",this.initiatePlayback),yt.isMobile?(this.dom.centralMobileUI.addEventListener("touchend",this.initiatePlayback),this.dom.centralMobileUI.addEventListener("click",this.initiatePlayback)):(this.dom.overlayButton.addEventListener("touchend",this.initiatePlayback),this.dom.overlayButton.addEventListener("click",this.initiatePlayback)),this.outlineInteractionFn=$r.bind(this),this.dom.controlBar.addEventListener("touchend",this.outlineInteractionFn),this.dom.controlBar.addEventListener("click",this.outlineInteractionFn),this.dom.controlBar.addEventListener("dblclick",K.stopPropagation),yt.isMobile||(this.dom.controlBar.addEventListener("mouseenter",(function(e){e&&e.stopPropagation(),t.forceResetTimer=!0})),this.dom.controlBar.addEventListener("mouseleave",(function(e){e&&e.stopPropagation(),t.forceResetTimer=!1}))),this.isVod&&""!==this.chaptersLoc&&De.init.call(this),this.iconsSize>0&&1!==this.iconsSize){var e=".rmp-control-bar .rmp-i {font-size: "+K.precisionRound(1.86*this.iconsSize,2)+"em;}";e+=".rmp-module-overlay .rmp-i {font-size: "+K.precisionRound(2.14*this.iconsSize,2)+"em;}",e+=".rmp-playlist-left-arrow, .rmp-playlist-right-arrow {font-size: "+K.precisionRound(2.42*this.iconsSize,2)+"em;}",e+=".rmp-module .rmp-i {font-size: "+K.precisionRound(2.14*this.iconsSize,2)+"em;}",e+=".rmp-360-nav-button {font-size: "+K.precisionRound(2.14*this.iconsSize,2)+"em;}",e+=".rmp-module-overlay .rmp-sharing-social .rmp-i {font-size: "+K.precisionRound(2.14*this.iconsSize,2)+"em;}",e+=".rmp-module-overlay .rmp-sharing-link .rmp-i, .rmp-module-overlay .rmp-sharing-code .rmp-i {font-size: "+K.precisionRound(1.57*this.iconsSize,2)+"em;}",e+=".rmp-overlay-button .rmp-i-play, .rmp-overlay-button .rmp-i-pause, .rmp-overlay-button .rmp-i-replay, .rmp-mobile-central-ui .rmp-i-play, .rmp-mobile-central-ui .rmp-i-pause, .rmp-mobile-central-ui .rmp-i-replay {font-size: "+3.14*this.iconsSize+"em;}",e+=".rmp-quick-rewind-or-forward {font-size: "+K.precisionRound(1.71*this.iconsSize,2)+"em;}",e+="google-cast-launcher {width: "+30*this.iconsSize+"px;}",K.appendStyle(e)}Ga.make.call(this,this.dom.playPause,this.labels.hint.play+" "+this.labels.hint.keyboardShortcut+" k",!0,null,"k"),Ga.make.call(this,this.dom.fullscreen,this.labels.hint.enterFullscreen+" "+this.labels.hint.keyboardShortcut+" f",!0,null,"f"),xn.init.call(this)};var Ta=Qr,La=/HD/,Ea=/4K/,Pa=/8K/,Ia=/(#EXT-X-STREAM-INF|#EXTINF)/,Ma=/( cannot send data to Google Analytics",14e3:"Floating feature requires an anchor element, this element appears to be missing -> disabling feature",15e3:"Failed at loading chapters WEBVTT file",15001:"Not a valid WEBVTT file for chapters - exit"},Oa=function(){function t(){d(this,t)}return p(t,null,[{key:"openUrl",value:function(t,e,i){i&&i.stopPropagation(),Ot.showChrome.call(this),"touchend"!==i.type&&"string"==typeof t&&""!==t&&(this.pauseContentOnLogoClick&&"logo"===e&&!this.getPaused()&&this.pause(),window.open(t,"_blank"),"logo"===e&&this.dispatch("logoclick"))}},{key:"updateQualityModuleIcon",value:function(t){var e=t.innerHTML;Pa.test(e)?(K.setText(this.dom.qualityHD,"8K"),this.dom.qualityHD.style.display="inline"):Ea.test(e)?(K.setText(this.dom.qualityHD,"4K"),this.dom.qualityHD.style.display="inline"):La.test(e)?(K.setText(this.dom.qualityHD,"HD"),this.dom.qualityHD.style.display="inline"):this.dom.qualityHD.style.display="none"}},{key:"checkStreams",value:function(t,e,i){if(!Array.isArray(e)||e.length<1)t();else{var r=e;r.unshift(this.src);var a=[];r.forEach((function(t){t[i]&&a.push(t)}));var n,s=0,o=function(){s===a.length-1?(this.startingBitratePath,t()):(s++,n.call(this))};(n=function(){var e=this,r=a[s],n=r[i],l=n;Array.isArray(n)&&("string"==typeof n[this.initialBitrate]?l=n[this.initialBitrate]:"string"==typeof n[0]&&(this.initialBitrate=0,l=n[this.initialBitrate])),this.src=r,this.startingBitratePath=l,this.castUrl=l;var d="GET";(this.readingMp4||this.readingWebM||this.readingM4a||this.readingMp3||this.readingOgg)&&(d="HEAD"),K.ajax(this.startingBitratePath,this.ajaxTimeout,this.ajaxWithCredentials,d).then((function(i){e.startingBitratePath,e.readingHlsJS||e.readingHlsShaka||e.readingHls?Ia.test(i)?t():o.call(e):e.readingDashShaka?Ma.test(i)?t():o.call(e):t()})).catch(o.bind(this))}).call(this)}}},{key:"filterInput",value:function(t){var e={};for(var i in z){var r;if(Object.prototype.hasOwnProperty.call(z,i))if(void 0!==t[i]?"shakaCustomRequestFilter"===i||"shakaCustomResponseFilter"===i||"playlistCallback"===i||"relatedCallback"===i||"adScheduleCallback"===i||"cuePointsCallback"===i?"function"==typeof t[i]?e[i]=t[i]:e[i]=null:n(t[i])!==n(z[i])?e[i]=z[i]:e[i]=t[i]:e[i]=z[i],"string"==typeof e[i])e[i]=v()(r=e[i]).call(r)}for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(this[a]=e[a])}},{key:"filterFpsDrm",value:function(){var t=["blob","json","text","arraybuffer"],e="text";"string"==typeof this.fpsDrm.licenseResponseType&&m()(t).call(t,this.fpsDrm.licenseResponseType)>-1&&(e=this.fpsDrm.licenseResponseType),this.fpsDrm.licenseResponseType=e,Array.isArray(this.fpsDrm.licenseRequestHeaders)||(this.fpsDrm.licenseRequestHeaders=[]),Array.isArray(this.fpsDrm.certificateRequestHeaders)||(this.fpsDrm.certificateRequestHeaders=[{name:"Pragma",value:"Cache-Control: no-cache"},{name:"Cache-Control",value:"max-age=0"}]),"function"!=typeof this.fpsDrm.extractContentId&&(this.fpsDrm.extractContentId=K.defaultExtractContentId),"function"!=typeof this.fpsDrm.licenseRequestMessage&&(this.fpsDrm.licenseRequestMessage=K.defaultLicenseRequestMessage),"function"!=typeof this.fpsDrm.licenseRequestLoaded&&(this.fpsDrm.licenseRequestLoaded=K.defaultLicenseRequestLoaded)}},{key:"detectSrc",value:function(){this.audioOnly||this.audioOnlyUseVideoLayout||this.relatedAudioOnly||this.playlistAudioOnly?(this.src.m4a&&(this.hasM4a=!0),this.src.mp3&&(this.hasMp3=!0),this.src.ogg&&(this.hasOgg=!0)):(this.src.mp4&&this.src.mp4[0]&&(this.hasMp4=!0),this.src.webm&&this.src.webm[0]&&(this.hasWebM=!0)),this.src.hls&&(this.hasHls=!0),this.src.dash&&(this.hasDash=!0),K.isEmptyObject(this.shakaDrm)||(this.dashFirst=!0,yt.isApple&&(this.okDashShaka=!1)),this.src.fps&&this.fpsDrm.certificatePath&&this.fpsDrm.processSpcPath&&(t.filterFpsDrm.call(this),this.hasFps=!0,this.airplay=!1)}},{key:"clearAdAutoplayEvents",value:function(){this.off("adstarted adinitialplayrequestsucceeded",this.onAdAutoplaySuccess),this.off("adinitialplayrequestfailed",this.onAdAutoplayFailed)}},{key:"fireAutoplayFailure",value:function(){this.viewableAutoplay=!1,this.autoplay=!1,this.dispatch("autoplayfailure")}},{key:"autoplayFailureRestorePlayUI",value:function(){this.initialAutoplayRequest=!1,this.ads&&t.clearAdAutoplayEvents.call(this),Ot.restorePlayUI.call(this),t.fireAutoplayFailure.call(this)}},{key:"fireAutoplaySuccess",value:function(){if(this.initialAutoplayRequest=!1,this.ads&&t.clearAdAutoplayEvents.call(this),yt.localStorage(this.allowLocalStorage)&&this.autoplayCount!==1/0)try{if(null!==localStorage.getItem("rmpAutoplayCount")){var e=JSON.parse(localStorage.getItem("rmpAutoplayCount")),i=0;(i=null===e||"number"!=typeof e.value?this.autoplayCount-1:e.value-1)<0&&(i=0),localStorage.setItem("rmpAutoplayCount",O()({value:i}))}}catch(r){console.trace(r)}this.dispatch("autoplaysuccess")}},{key:"playPromise",value:function(){var e=this,i=!1;this.autoplay&&this.initialAutoplayRequest&&(i=!0,this.initialAutoplayRequest=!1);var r=this.dom.video.play();void 0!==r?r.then((function(){i&&t.fireAutoplaySuccess.call(e),e.googleCastInit&&(e.googleCastInit=!1,e.pause())})).catch((function(r){i?t.autoplayFailureRestorePlayUI.call(e):Ot.restorePlayUI.call(e),e.googleCastInit&&(e.googleCastInit=!1,e.pause())})):i&&(t.fireAutoplaySuccess.call(this),this.googleCastInit&&(this.googleCastInit=!1,this.pause()))}},{key:"filterRetryParameters",value:function(){var t=this;K.isEmptyObject(this.retryParameters)?this.retryParameters=z.retryParameters:E()(z.retryParameters).forEach((function(e){void 0===t.retryParameters[e]?t.retryParameters[e]=z.retryParameters[e]:E()(z.retryParameters[e]).forEach((function(i){("number"!=typeof t.retryParameters[e][i]||t.retryParameters[e][i]<0)&&(t.retryParameters[e][i]=z.retryParameters[e][i])}))}));this.retryParameters}},{key:"playOrPause",value:function(){(this.isLinearAdOn()?this.getAdPaused():this.getPaused())?this.play():this.pause()}},{key:"fireLevelSwitchEvents",value:function(){var t=this;this.dispatch("levelswitching"),setTimeout((function(){t.dispatch("levelswitched")}),1)}},{key:"error",value:function(t,e){var i=this;this.errorData={code:t,fatal:!0,message:"",event:null},Fa[t.toString()]&&(this.errorData.message=Fa[t.toString()]),e&&(console.error(e),this.errorData.event=e),this.playerReady||(this.googleCast=!1,xn.minimalFire.call(this));var r=this.dom.container.querySelector(".rmp-error");null!==r&&K.removeElement(r);var a=K.createElement("div","rmp-error");this.dom.content||(this.dom.content=K.createElement("div","rmp-content"),this.dom.container.insertBefore(this.dom.content,this.dom.container.firstChild)),a.appendChild(K.createElement("div","rmp-error-overlay"));var n=K.createElement("div","rmp-error-terminal"),s='
';this.errorOnlyShowCustomText?s+="".concat(this.labels.error.customErrorMessage):s+="".concat(this.labels.error.error," "),this.errorOnlyShowCustomText||(s+=''.concat(this.errorData.code,"")),s+="
",this.errorOnlyShowCustomText||(s+='

'.concat(this.errorData.message,"

"),107===this.errorData.code?(s+='

'.concat(this.labels.error.noSupportMessage,"

"),""!==this.labels.error.noSupportInstallChrome&&(s+='

'.concat(this.labels.error.noSupportInstallChrome,"

"))):""!==this.labels.error.customErrorMessage&&(s+='

'.concat(this.labels.error.customErrorMessage,"

"))),s+="
",n.innerHTML=s,a.appendChild(n),this.dom.content.appendChild(a);var o=!1;if((this.readingMp4&&this.src.mp4.length>0||this.hasPlaylist||this.hasRelated)&&(o=!0),this.changingSrc&&(this.changingSrc=!1),ae.closeAll.call(this),o||this.readingPDorNative&&this.dom.video&&this.dom.video.removeEventListener("error",this.generateError,!0),this.dom.container.classList.add("rmp-error-ui"),this.dom.container.classList.remove("rmp-wait-for-duration"),this.rmpHlsJS)this.rmpHlsJS.destroy(),this.dispatch("error");else if(this.readingShaka)if(this.shakaPlayer&&this.rmpShaka){this.rmpShaka.destroy();var l=!0;this.shakaPlayer.destroy().then((function(){l&&(l=!1,i.dispatch("error"))})),setTimeout((function(){l&&(l=!1,i.dispatch("error"))}),1e3)}else this.dispatch("error");else K.clearNativeHtml5Buffer(this.dom.video),this.dispatch("error");this.errorData.message,this.errorData}},{key:"warning",value:function(t,e){this.errorData={code:t,message:"",event:null,fatal:!1},Da[t.toString()]&&(this.errorData.message=Da[t.toString()]),e&&(console.warn(e),this.errorData.event=e),this.errorData.message,this.errorData,this.dispatch("warning")}},{key:"selectRendition",value:function(t,e){K.eventStopPrevent(e),Ot.showChrome.call(this),this.setBitrate(t-1),ae.close.call(this,"quality",null)}},{key:"selectAudioTrack",value:function(t,e){K.eventStopPrevent(e),Ot.showChrome.call(this),this.setAudioTrack(t),ae.close.call(this,"audio",null)}},{key:"setUpAbrUI",value:function(){var t;ae.appendToControlBar.call(this,"quality"),ae.appendOverlay.call(this,"quality"),this.labels.hint.auto?t=this.labels.hint.auto:this.labels.bitrates.auto&&(t=this.labels.bitrates.auto),this.dom.qualityAuto=K.createElement("button","rmp-button rmp-overlay-level rmp-color-bg rmp-overlay-level-active rmp-q0",t,this.rtl,!0),Ga.make.call(this,this.dom.qualityAuto,t,!0),this.dom.qualityOverlayLevelsArea.appendChild(this.dom.qualityAuto)}},{key:"assignPoster",value:function(){this.autoplay?(this.poster="",0===this.contentMetadata.endOfVideoPoster.length&&this.contentMetadata.poster.length>0&&(this.contentMetadata.endOfVideoPoster=this.contentMetadata.poster)):this.contentMetadata.poster.length>0&&(this.poster=K.getPoster(this.contentMetadata.poster));""===this.poster||this.poster;yt.devicePixelRatio,this.contentMetadata.endOfVideoPoster.length>0&&(this.endOfVideoPoster=K.getPoster(this.contentMetadata.endOfVideoPoster));""===this.endOfVideoPoster||this.endOfVideoPoster;yt.devicePixelRatio}},{key:"setAdVolume",value:function(t){var e;e=t<0?0:t>1?1:t,this.imaAdsManager?this.imaAdsManager.setVolume(e):this.rmpVast&&this.rmpVast.setVolume(e)}},{key:"setAdMute",value:function(e){if(e)this.imaAdsManager?t.setAdVolume.call(this,0):this.rmpVast&&this.rmpVast.setMute(!0);else{var i=this.getVolume();if(i<0||i>1)return;this.imaAdsManager?(0===i&&(i=this.volumeBeforeMute),t.setAdVolume.call(this,i)):this.rmpVast&&(this.rmpVast.setMute(!1),0===i&&(i=this.volumeBeforeMute,t.setAdVolume.call(this,i)))}}},{key:"_backgroundColor",value:function(){var t=".rmp-s1 .rmp-color-bg,.rmp-s1 .rmp-module-overlay-icons,.rmp-s1 .rmp-related-duration,.rmp-s1 .rmp-related-up-next,.rmp-s1 .rmp-related-title,.rmp-s1 .rmp-volume-indicator,.rmp-s1 .rmp-volume-hint,.rmp-playlist-side-menu,.rmp-transcripts-side-menu,.rmp-s1.rmp-small .rmp-time,.rmp-s1.rmp-extrasmall .rmp-time,.rmp-s1.rmp-doubleextrasmall .rmp-time{background: "+this.skinBackgroundColor+";}";t+=".rmp-s1 .rmp-overlay-level{border-color: "+this.skinBackgroundColor+";}",t+=".rmp-s1 .rmp-overlay-level-active{color: "+this.skinBackgroundColor+";}",t+=".rmp-s2 .rmp-color-bg,.rmp-s2 .rmp-module-overlay-icons,.rmp-s2 .rmp-related-duration,.rmp-s2 .rmp-related-up-next,.rmp-s2 .rmp-related-title,.rmp-s2 .rmp-volume-indicator,.rmp-s2 .rmp-volume-hint{background: "+this.skinBackgroundColor+";}",K.appendStyle(t)}},{key:"_buttonColor",value:function(){var t=".rmp-color-button,.rmp-control-bar-hint,.rmp-time-elapsed-text,.rmp-duration-text,.rmp-hint,.rmp-in-module-hint,.rmp-quality-hd,.rmp-related-skip-preview-up-next,.rmp-transcripts-current-item:hover,.rmp-volume-indicator,.rmp-volume-hint,.rmp-related-skip-preview-title{color: "+this.skinButtonColor+";}";t+=".rmp-color-bg-button,.rmp-volume-bar{background: "+this.skinButtonColor+";}",t+=".rmp-module-fcc-settings, .rmp-quality-indicator{border-color: "+this.skinButtonColor+";}",t+=".rmp-loading-spin-circle{border-color: "+this.skinButtonColor+" "+this.skinButtonColor+" transparent;}",t+=".rmp-s1 .rmp-overlay-level-active{background: "+this.skinButtonColor+"; border-color: "+this.skinButtonColor+";}",t+=".rmp-s2 .rmp-ad-markers,.rmp-s2 .rmp-cue-point{background: "+this.skinButtonColor+";}",t+=".rmp-s2 .rmp-overlay-level-active.rmp-abr-active,.rmp-s2 .rmp-time-total{border-color: "+this.skinButtonColor+";}",t+=".rmp-s2 .rmp-overlay-level-active{background: "+this.skinButtonColor+"; border-color: "+this.skinButtonColor+";}",K.appendStyle(t)}},{key:"_accentColor",value:function(){var t=".rmp-color-accent,.rmp-overlay-level:hover:not(.rmp-overlay-level-active),.rmp-i:hover,.rmp-module:hover .rmp-i,.rmp-ad-info-message,.rmp-sup,.rmp-transcripts-item:hover:not(.rmp-transcripts-current-item),.rmp-live .rmp-time-elapsed-text::before,.rmp-pip-on .rmp-i-pip,.rmp-theater-on .rmp-i-theater,.rmp-related-item:hover .rmp-related-title{color: "+this.skinAccentColor+";}";t+=".rmp-ad-current-time,.rmp-quality-hd,.rmp-cue-point,.rmp-transcripts-current-item,.rmp-playlist-side-menu::-webkit-scrollbar-thumb,.rmp-transcripts-side-menu::-webkit-scrollbar-thumb,.rmp-dvr .rmp-time-elapsed-text,.rmp-s1 .rmp-ad-markers,.rmp-dvr-vod .rmp-time-elapsed-text:hover{background: "+this.skinAccentColor+";}",t+=".rmp-abr-active, .rmp-button.rmp-overlay-level.rmp-abr-active{border-color: "+this.skinAccentColor+";}",t+=".rmp-module-fcc-settings:hover{border-color: "+this.skinAccentColor+"; color: "+this.skinAccentColor+";}",t+=".rmp-related-item:hover{box-shadow: 0 0 0 1px "+this.skinAccentColor+";}";var e=K.hexToRgb(this.skinAccentColor);e&&(t+=".rmp-dvr-vod .rmp-time-elapsed-text{background: rgba("+e.r+","+e.g+","+e.b+",0.7);}"),t+=".rmp-s2 .rmp-volume-handle,.rmp-s2 .rmp-handle,.rmp-s2 .rmp-current,.rmp-s2 .rmp-volume-bar{background: "+this.skinAccentColor+";}",t+=".rmp-s2 .rmp-overlay-level:hover:not(.rmp-overlay-level-active){color: "+this.skinAccentColor+";}",t+=".rmp-s2 .rmp-overlay-level-active{color: "+this.skinAccentColor+";}",K.appendStyle(t)}},{key:"applySkinColors",value:function(){var e,i,r;""!==this.skinBackgroundColor&&"s1"===this.skin&&(-1===m()(e=this.skinBackgroundColor).call(e,"rgba")&&(this.skinBackgroundColor="#"+this.skinBackgroundColor),t._backgroundColor.call(this));""!==this.skinButtonColor&&(-1===m()(i=this.skinButtonColor).call(i,"rgba")&&(this.skinButtonColor="#"+this.skinButtonColor),t._buttonColor.call(this));""!==this.skinAccentColor&&(-1===m()(r=this.skinAccentColor).call(r,"rgba")&&(this.skinAccentColor="#"+this.skinAccentColor),t._accentColor.call(this));if(this.googleCast){""===this.skinButtonColor&&(this.skinButtonColor="rgba(255, 255, 255, 1)"),""===this.skinAccentColor&&(this.skinAccentColor="rgba(130, 177, 255, 1)");var a="google-cast-launcher{--disconnected-color: "+this.skinButtonColor+";--connected-color: "+this.skinAccentColor+";}";""===this.customIconsLoc&&(a+="google-cast-launcher:hover{--disconnected-color: "+this.skinAccentColor+";}"),K.appendStyle(a)}}},{key:"_playingDvr",value:function(){if(this.off("timeupdate",this.playingDvr),this.readingHlsJS){var t=K.getMediaDuration(this.dom.video)-this.hlsJSLevelDuration;K.isNumber(t)&&K.isNumber(this.resyncDvrCurrentTime)&&this.resyncDvrCurrentTime>0&&this.dvrSeekTo(1e3*(this.resyncDvrCurrentTime-t))}else if(this.readingShaka){var e=this.shakaPlayer.seekRange(),i=e.end,r=e.start;this.resyncPauseTime=(K.getNow()-this.resyncPauseTime)/1e3,K.isNumber(i)&&i>0&&this.dvrSeekTo(1e3*(i-r-this.resyncPauseTime))}this.resyncPauseTime=0,this.resyncDvrCurrentTime=0,this.on("pause",this.pauseDvr)}},{key:"_pauseDvr",value:function(){this.isDvrLiveMode&&(this.off("pause",this.pauseDvr),this.readingHlsJS?this.resyncDvrCurrentTime=K.getMediaCurrentTime(this.dom.video):this.readingShaka&&(this.resyncPauseTime=K.getNow()),this.on("timeupdate",this.playingDvr))}},{key:"_setLiveModeUI",value:function(){this.isDvrLiveMode=!0,this.dom.container.classList.replace("rmp-dvr-vod","rmp-dvr-live"),this.dom.current.style.width="100%",this.dom.handle.style.left="100%",this.dispatch("dvrislive")}},{key:"_setLiveMode",value:function(e){K.eventStopPrevent(e),this.isDvrLiveMode||(this.rmpHlsJS?this.rmpHlsJS.syncToLiveEdge():this.shakaPlayer&&this.shakaPlayer.goToLive(),t._setLiveModeUI.call(this))}},{key:"appendDvrUI",value:function(){this.isVod=!1,this.detectLive=!1,this.adTagReloadOnEnded=!1,Ta.appendSeekBar.call(this),K.setText(this.dom.timeElapsedText,this.labels.hint.live),this.dom.container.classList.add("rmp-dvr","rmp-dvr-live"),this.dom.dvrIcon=K.createElement("span","rmp-i rmp-i-dvr",null,this.rtl),this.dom.time.appendChild(this.dom.dvrIcon),this.dvrSetLiveModeFn=t._setLiveMode.bind(this),this.dom.time.addEventListener("touchend",this.dvrSetLiveModeFn),this.dom.time.addEventListener("click",this.dvrSetLiveModeFn),this.pauseDvr=t._pauseDvr.bind(this),this.playingDvr=t._playingDvr.bind(this),this.on("pause",this.pauseDvr),t._setLiveModeUI.call(this)}},{key:"updateDurationText",value:function(t,e){var i=t;this.displayRemainingTimeInPlaceOfDuration&&e>-1&&(i=t-e),K.setText(this.dom.durationText,K.readableTime(i/1e3))}}]),t}(),Ra={};Ra.auxResize=function(){if(this.isHTML5){var t=this.getPlayerWidth();if(t>0){var e="rmp-large";this.dom.container.classList.remove("rmp-large","rmp-medium","rmp-small","rmp-extrasmall","rmp-doubleextrasmall"),t<280?e="rmp-doubleextrasmall":t<375?e="rmp-extrasmall":t<480?e="rmp-small":t<1024&&(e="rmp-medium"),this.dom.container.classList.add(e)}this.getAdOnStage()&&Ra.resizeAds.call(this),this.rmpThreeSixty&&this.rmpThreeSixty.resize(),this.hasRelated&&Ra.related.call(this),this.dispatch("resize")}},Ra.resizeAds=function(){var t=-1,e=-1;if(this.isInFullscreen&&(this.hasNativeFullscreenSupport?(t=yt.screenDimension.width,e=yt.screenDimension.height):this.fullscreenFullWindowMode&&(t=yt.viewportSize.width,e=yt.viewportSize.height)),this.rmpVast)if(this.isInFullscreen){if(t>0&&e>0)if(this.hasNativeFullscreenSupport)try{this.rmpVast.resizeAd(t,e,"fullscreen")}catch(i){console.trace(i)}else if(this.fullscreenFullWindowMode)try{this.rmpVast.resizeAd(t,e,"normal")}catch(i){console.trace(i)}}else try{this.rmpVast.resizeAd(this.width,this.height,"normal")}catch(i){console.trace(i)}else this.imaAdsManager&&(this.isInFullscreen?t>0&&e>0&&(this.hasNativeFullscreenSupport?this.imaAdsManager.resize(t,e,google.ima.ViewMode.FULLSCREEN):this.fullscreenFullWindowMode&&this.imaAdsManager.resize(t,e,google.ima.ViewMode.NORMAL)):this.imaAdsManager.resize(this.width,this.height,google.ima.ViewMode.NORMAL))};var Ua=function(t){if(this.dom.relatedOverlay){for(var e=this.dom.relatedOverlay.querySelectorAll(".rmp-related-up-next"),i=0,r=e.length;i0&&(d=l),p.style.right=(8+h-l).toString()+"px"):p.style.right="8px");var c=2;this.dom.container.classList.contains("rmp-medium")&&(c=3);var m=(d-16-8*(c-1))/c,u=9*m/16;if(m>0&&u>0){var f=1;e.forEach((function(t,e){e>=c*f&&f++;var r=e-(f-1)*c,a=r*m+8*(r+1),n=s+8+u*(f-1)+8*(f-1);t.style.left=a+"px",t.style.top=n+"px",t.style.width=m+"px",t.style.height=u+"px",i=n+u})),this.dom.relatedOverlayLevelsArea.querySelector(".rmp-related-item-bottom-margin").style.top=i.toString()+"px"}}},Ra.fullscreenchange=function(t){(yt.isMacosSafari[0]||yt.isIpadOS)&&t&&t.target===this.dom.container||(this.isInFullscreen?(this.isInFullscreen=!1,this.dom.fullscreen.classList.replace("rmp-i-resize-small","rmp-i-resize-full"),this.dom.container.classList.remove("rmp-fullscreen-on"),this.dom.fullscreen.setAttribute("aria-label",this.labels.hint.enterFullscreen+" "+this.labels.hint.keyboardShortcut+" f"),K.setText(this.dom.fullscreenHint,this.labels.hint.enterFullscreen+" (f)"),Ra.resize.call(this),yt.isIpadOS&&this.dom.container.classList.remove("rmp-fullscreen-ipad-os"),this.dispatch("exitfullscreen")):(this.isInFullscreen=!0,this.dom.fullscreen.classList.replace("rmp-i-resize-full","rmp-i-resize-small"),this.dom.container.classList.add("rmp-fullscreen-on"),this.dom.fullscreen.setAttribute("aria-label",this.labels.hint.exitFullscreen+" "+this.labels.hint.keyboardShortcut+" f"),K.setText(this.dom.fullscreenHint,this.labels.hint.exitFullscreen+" (f)"),Ra.auxResize.call(this),yt.isIpadOS&&this.dom.container.classList.add("rmp-fullscreen-ipad-os"),this.dispatch("enterfullscreen")))},Ra.fullscreenerror=function(t){Oa.warning.call(this,1003,t)},Ra.webkitbeginfullscreen=function(){this.isInFullscreen=!0,yt.isIos[0]&&this.dom.container.classList.add("rmp-fullscreen-ios"),this.dispatch("enterfullscreen")},Ra.webkitendfullscreen=function(){this.isInFullscreen=!1,Ra.resize.call(this),yt.isIos[0]&&this.dom.container.classList.remove("rmp-fullscreen-ios"),this.dispatch("exitfullscreen")},Ra.resize=function(t){if(this.isInFullscreen)this.fullscreenFullWindowMode?yt.viewportSize.width>-1&&yt.viewportSize.height>-1&&this.setPlayerSize(yt.viewportSize.width,yt.viewportSize.height,!0):Ra.auxResize.call(this);else{var e=this.dom.container.parentNode;if(e)if(this.dom.floatingAnchorElement&&this.floating&&(e=this.dom.floatingAnchorElement.parentNode),this.iframeMode)t&&(this.dom.container.style.width="100%",this.dom.container.style.height="100%",this.audioOnly&&(this.dom.container.style.height="48px")),this.width=K.getTrueWidth(e),this.height=K.getTrueHeight(e),Ra.auxResize.call(this);else{var i=0,r=0,a=K.getTrueWidth(e);a>=this.initialWidth?(i=this.initialWidth,r=this.initialHeight):(i=a,r=a/this.initialAspectRatio),0===i||0===r?(this.autoHeightMode&&(this.autoHeightMode=!1,this.initialWidth=640,this.initialHeight=360,this.initialAspectRatio=1.7777777778),this.width=this.initialWidth,this.height=this.initialHeight,i=this.initialWidth+"px",r=this.initialHeight+"px"):(this.width=i,this.height=r,this.autoHeightMode?(i="100%",r+="px"):(this.audioOnly&&(r=48),i+="px",r+="px")),this.dom.container.style.width=i,this.dom.container.style.height=r,this.dom.floatingAnchorElement&&this.floating&&(this.dom.floatingAnchorElement.style.width=i,this.dom.floatingAnchorElement.style.height=r),Ra.auxResize.call(this)}}},Ra.fullscreenInteraction=function(){var t=this;if(this.hasNativeFullscreenSupport)this.isInFullscreen?this.ads&&"rmp-vast"===this.adParser&&this.isLinearAdOn()&&this.rmpVast?yt.exitFullscreen(this.rmpVast.getVastPlayer()):yt.exitFullscreen(this.dom.video):this.ads&&"rmp-vast"===this.adParser&&this.isLinearAdOn()&&this.rmpVast?yt.requestFullscreen(this.dom.container,this.rmpVast.getVastPlayer()):yt.requestFullscreen(this.dom.container,this.dom.video);else if(this.fullscreenFullWindowMode){var e=-1,i=-1;if(this.isInFullscreen)this.isInFullscreen=!1,e=this.initialWidth,i=this.initialHeight,this.dom.fullscreen.classList.replace("rmp-i-resize-small","rmp-i-resize-full"),this.dom.container.classList.remove("rmp-full-window-on"),this.dom.fullscreenHint.setAttribute("aria-label",this.labels.hint.enterFullscreen),K.setText(this.dom.fullscreenHint,this.labels.hint.enterFullscreen+" (f)"),this.dispatch("exitfullscreen"),this.setPlayerSize(e,i),setTimeout((function(){Ra.resize.call(t)}),1);else{if(!(yt.viewportSize.width>-1&&yt.viewportSize.height>-1))return;e=yt.viewportSize.width,i=yt.viewportSize.height,this.isInFullscreen=!0,this.dom.fullscreen.classList.replace("rmp-i-resize-full","rmp-i-resize-small"),this.dom.container.classList.add("rmp-full-window-on"),this.dom.fullscreenHint.setAttribute("aria-label",this.labels.hint.exitFullscreen),K.setText(this.dom.fullscreenHint,this.labels.hint.exitFullscreen+" (f)"),this.dispatch("enterfullscreen"),this.setPlayerSize(e,i,!0)}}};var Ba=function(t){var e=this;t&&("orientationchange"===t.type?(clearTimeout(this.orientationChangeResizeTimeout),this.orientationChangeResizeTimeout=setTimeout((function(){Ra.resize.call(e)}),200)):"resize"===t.type&&null===this.throttledResizeTimeout&&(clearTimeout(this.throttledResizeTimeout),this.throttledResizeTimeout=setTimeout((function(){Ra.resize.call(e),e.throttledResizeTimeout=null}),66)))};Ra.initialSizing=function(){var t=this;this.iframeMode&&this.autoHeightMode&&(this.autoHeightMode=!1);var e=this.dom.container.parentNode;if(e)if(this.iframeMode?(this.width=K.getTrueWidth(e),this.height=K.getTrueHeight(e)):this.autoHeightMode?(this.width=K.getTrueWidth(e),this.height=this.width/this.autoHeightModeRatio):(this.autoHeightMode=!1,this.iframeMode=!1,this.width=f()(this.width,10),this.height=f()(this.height,10)),this.initialWidth=this.width,this.initialHeight=this.height,this.initialAspectRatio=this.initialWidth/this.initialHeight,this.autoHeightMode&&(this.initialWidth=999999,this.initialAspectRatio=this.autoHeightModeRatio),Ra.resize.call(this,!0),"undefined"!=typeof ResizeObserver){var i=new ResizeObserver((function(e){var i,r=qt(e);try{for(r.s();!(i=r.n()).done;){var a=i.value.contentRect.width;if(a<=0)return;if(t.parentElementWidth<=0)return t.parentElementWidth=a,void Ra.resize.call(t);a!==t.parentElementWidth&&(t.parentElementWidth=a,Ra.resize.call(t))}}catch(n){r.e(n)}finally{r.f()}}));i.observe(e)}else this.throttledResize=Ba.bind(this),window.addEventListener("resize",this.throttledResize),yt.hasScreenOrientationAPI?window.screen.orientation.addEventListener("change",this.throttledResize):yt.hasOlderScreenOrientationAPI&&window.addEventListener("orientationchange",this.throttledResize)};var Va=Ra,Na={},Ha=function(t){t&&(t.id===this.id||t.classList.contains("rmp-related-item")?t.classList.add("rmp-alt-focus"):t.classList.add("rmp-focus")),this.forceResetTimer||(this.forceResetTimer=!0)},qa=function(t){t&&(t.id===this.id||t.classList.contains("rmp-related-item")?t.classList.remove("rmp-alt-focus"):t.classList.remove("rmp-focus")),this.forceResetTimer&&(this.forceResetTimer=!1)},za=function(){var t=this.getAudioTracks(),e=w()(t).call(t,(function(t){return!0===t.active})),i=0;e.id!==t.length-1&&(i=e.id+1),this.setAudioTrack(i)},Wa=function(t){if(t&&"string"==typeof t.key&&""!==t.key){t.key,t.target;var e,i=this.getCurrentTime(),r=this.getDuration(),a=this.getVolume();switch(Ot.showChrome.call(this),t.key){case" ":case"k":Oa.playOrPause.call(this);break;case"a":za.call(this);break;case"j":if(this.hasAdUI)break;if(this.isVod&&!this.hideSeekBar&&i>-1){var n=1e4;this.quickRewind&&(n=1e3*this.quickRewind);var s=i-n;this.seekTo(s)}break;case"l":if(this.hasAdUI)break;if(this.isVod&&!this.hideSeekBar&&i>-1){var o=1e4;this.quickForward&&(o=1e3*this.quickForward);var l=i+o;this.seekTo(l)}break;case"f":this.hideFullscreen||this.castConnected||this.audioOnly||Va.fullscreenInteraction.call(this);break;case"c":if(this.dom.captionsOverlayLevelsArea){var d=this.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level");if(d.length>0){for(var h=0,p=0,c=d.length;p-1){var m=i-5e3;this.seekTo(m)}break;case"ArrowRight":if(this.hasAdUI)break;if(this.isVod&&!this.hideSeekBar&&i>-1){var u=i+5e3;this.seekTo(u)}break;case"ArrowUp":this.hideVolume||(a>=0||a<=1)&&(e=a<=.9?a+.1:1,this.setVolume(e));break;case"ArrowDown":this.hideVolume||(a>=0||a<=1)&&(e=a>=.1?a-.1:0,this.setVolume(e));break;case"m":this.hideVolume||(this.getMute()?this.setMute(!1):this.setMute(!0));break;case"Escape":if(this.dom.container.classList.contains("rmp-module-overlay-open")){var f=this.dom.container.className;if(f){var g=f.match(/rmp-module-overlay-(quality|sharing|audio|captions|speed|related|chapters|volume)/i);g&&g[1]&&this.setModuleOverlayVisible(g[1],!1)}}break;case"0":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(0);break;case"1":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.1*r);break;case"2":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.2*r);break;case"3":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.3*r);break;case"4":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.4*r);break;case"5":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.5*r);break;case"6":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.6*r);break;case"7":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.7*r);break;case"8":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.8*r);break;case"9":this.isVod&&!this.hideSeekBar&&i>-1&&r>-1&&this.seekTo(.9*r)}}};Na.make=function(t,e,i,r,a){var n=this;t&&(this.elementsFocus.push(t),this.dom.seekBar&&t===this.dom.seekBar||this.dom.volumeContainer&&t===this.dom.volumeContainer?(t.setAttribute("role","slider"),t.setAttribute("tabindex","0"),t.setAttribute("aria-valuemin","0"),t.setAttribute("aria-valuemax","100")):t===this.dom.container?(t.setAttribute("tabindex","0"),t.setAttribute("role","complementary")):"string"==typeof t.nodeName&&"button"===t.nodeName.toLowerCase()?t.setAttribute("type","button"):r&&"playlist"===r&&(t.setAttribute("role","button"),t.setAttribute("tabindex","0"),this.disableKeyboardControl||t.addEventListener("keydown",(function(t){t&&"string"==typeof t.key&&" "===t.key&&(t.preventDefault(),t.stopPropagation(),Oa.playOrPause.call(n))}))),e&&t.setAttribute("aria-label",e),a&&t.setAttribute("aria-keyshortcuts",a),this.disableKeyboardControl||(i?t.addEventListener("keyup",(function(e){if(e&&"string"==typeof e.key&&"Enter"===e.key)if(n.dom.cast&&t===n.dom.cast){var i=t.querySelector("google-cast-launcher");null!==i&&K.createSyntheticEvent("click",i)}else K.createSyntheticEvent("click",t)})):this.dom.seekBar&&t===this.dom.seekBar&&t.addEventListener("keyup",(function(t){t&&"string"==typeof t.key&&"Enter"===t.key&&(t.stopPropagation(),Oa.playOrPause.call(n))}))),t.addEventListener("blur",(function(){qa.call(n,t)})))};var ja=function(t){if(t&&"string"==typeof t.key&&"tab"===t.key.toLowerCase()){for(var e=document.activeElement,i=0,r=this.elementsFocus.length;i=0&&t<=e.length-1&&(this.shakaPlayer.selectTextTrack(e[t]),this.shakaPlayer.setTextTrackVisibility(!0))},Za=function(){if(this.hasExternalCCFiles)yt.isIos[0]?Ka.call(this):(this.ccEnabled=!1,K.hide(this.dom.ccArea),this.ccData=null);else if(this.readingShaka)Ya.call(this);else if(this.readingCaptionsFromHls)for(var t=0,e=this.textTracks.length;t0?this.textTracks:null};var $a=function(t){if("string"==typeof t)try{this.ccCues=[];var e=new WebVTT.Parser(window,WebVTT.StringDecoder());e.oncue=function(t){this.ccCues.push(t)}.bind(this),e.onparsingerror=function(t){Oa.warning.call(this,4001,t)}.bind(this),e.parse(t),e.flush(),this.ccCues}catch(i){console.trace(i)}};Ja.menuItemInteraction=function(t){if(this.dom.captionsOverlayLevelsArea){var e=null,i=null;if(t&&t.type&&t.target?(K.eventStopPrevent(t),i=(e="span"===t.target.tagName.toLowerCase()?t.target.parentNode:t.target).getAttribute("lang")):"string"==typeof t&&""!==t&&(i=t,e=this.dom.captionsOverlayLevelsArea.querySelector('[lang="'+i+'"]')),null!==e&&null!==i){Ot.showChrome.call(this);for(var r=this.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),a=0,n=r.length;a0&&(a.setAttribute("lang",e),Ga.make.call(this,a,i,!0)),r===this.defaultTextTrackIndex&&(a.classList.add("rmp-overlay-level-active"),"captions-off"!==t&&r-1>-1&&(this.hasExternalCCFiles?yt.isIos[0]?Qa.call(this,r-1):(this.ccEnabled=!0,K.show(this.dom.ccArea),$a.call(this,this.loadedCCFiles[r-1][2]),this.ccData=this.ccCues):this.readingShaka?Xa.call(this,r-1):this.readingCaptionsFromHls&&Xe.showCaptions.call(this,r-1),this.dispatch("texttrackchanged"))),this.dom.ccItems.push(a),this.menuItemInteractionFn=Ja.menuItemInteraction.bind(this),a.addEventListener("touchend",this.menuItemInteractionFn),a.addEventListener("click",this.menuItemInteractionFn),a};Ja.appendUI=function(){var t=this;if(this.hasExternalCCFiles){if(!yt.isIos[0]){if(this.loadedCCFiles.forEach((function(e,i){var r;null===e&&It()(r=t.loadedCCFiles).call(r,i,1)})),this.loadedCCFiles.length<1)return;this.dom.ccArea=K.createElement("div","rmp-cc-area"),K.hide(this.dom.ccArea),this.dom.content.insertBefore(this.dom.ccArea,this.dom.video.nextSibling)}this.ccFilesReady=!0}for(var e=0,i=this.loadedCCFiles.length;e0&&t.customTrackNames.captions[i]&&(a=t.customTrackNames.captions[i]),t.dom.captionsOverlayLevelsArea.appendChild(tn.call(t,"captions-"+r,r,a,i+1))}})),this.dispatch("alltexttracksloaded")};var en=function(t){var e=this;return K.ajax(this.ccFiles[t][2],this.ajaxTimeout,this.ajaxWithCredentials,"GET").then((function(i){if(e.ccFiles[t][2],"string"==typeof i){var r="";"string"==typeof e.ccFiles[t][3]&&"default"===e.ccFiles[t][3]&&(r=e.ccFiles[t][3]),e.loadedCCFiles[t]=[e.ccFiles[t][0],e.ccFiles[t][1],i,r],e.dispatch("texttrackloaded")}})).catch((function(i){e.loadedCCFiles[t]=null,e.dispatch("texttrackloaderror"),Oa.warning.call(e,4002,i)}))},rn=function(t){var e=this.getCurrentTime();if(e>-1){e/=1e3;var i=[];this.ccCues.forEach((function(t){var r=t.startTime,a=t.endTime;e>=r&&e<=a&&i.push(t)})),i[0]&&this.ccEnabled?(K.show(this.dom.ccArea),this.dom.ccArea.style.width=this.getPlayerWidth()+"px",this.dom.ccArea.style.height=this.getPlayerHeight()+"px",WebVTT.processCues(window,i,this.dom.ccArea,t)):K.hide(this.dom.ccArea)}},an=function(){var t=this;this.updateCuesResize=rn.bind(this,!0),this.on("timeupdate resize",this.updateCuesResize);for(var e=[],i=0,r=this.ccFiles.length;i0&&Be.seekToOffsetStartPosition.call(this._rmp)),yt.isIos[0]&&!this._rmp.adDisableCustomPlaybackForIOS10Plus&&200===this._adErrorCode?setTimeout((function(){Oa.playPromise.call(t._rmp)}),1):Oa.playPromise.call(this._rmp)),this._rmp.dispatch("adcontentresumerequested")}},{key:"_waterfall",value:function(){Array.isArray(this._rmp.adTagWaterfall)&&"string"==typeof this._rmp.adTagWaterfall[0]&&""!==this._rmp.adTagWaterfall[0]?(this._rmp.adTagUrl=this._rmp.adTagWaterfall[0],this._rmp.adTagWaterfall.length>0&&this._rmp.adTagWaterfall.shift(),this._rmp.loadAds(this._rmp.adTagUrl),this._rmp.dispatch("adclientsidewaterfallrequested")):(this._destroyAdsManager(),this._onContentResumeRequested()),this._resetImaAdError()}},{key:"_onAdError",value:function(t){var e=t.getError();if(void 0!==e&&(this._adErrorCode=e.getErrorCode(),this._adErrorMessage=e.getMessage(),this._adErrorType=e.getType(),this._adVastErrorCode=e.getVastErrorCode(),this._adErrorCode,this._adErrorMessage,this._adErrorType,this._adVastErrorCode,m()(sn).call(sn,this._adVastErrorCode)>-1))return this._rmp.dispatch("adlog"),void this._resetImaAdError();Ot.hideLoadingSpin.call(this._rmp),this._rmp.dispatch("aderror"),this._waterfall()}},{key:"_handleAdPod",value:function(t){if(this._rmp.adPodInfo=t.getAdPodInfo(),this._rmp.adPodInfo.getAdPosition(),this._rmp.adPodInfo.getIsBumper(),this._rmp.adPodInfo.getMaxDuration(),this._rmp.adPodInfo.getPodIndex(),this._rmp.adPodInfo.getTimeOffset(),this._rmp.adPodInfo.getTotalAds(),K.setText(this._rmp.dom.adPod,""),this._rmp.adPodInfo&&this._rmp.dom.adInfo){var e=this._rmp.adPodInfo.getTotalAds();if("number"==typeof e&&e>1){this._rmp.dom.adPod||(this._rmp.dom.adPod=K.createElement("span","rmp-ad-info-pod"),this._rmp.dom.adCountdown?this._rmp.dom.adInfo.insertBefore(this._rmp.dom.adPod,this._rmp.dom.adCountdown):this._rmp.dom.adInfo.appendChild(this._rmp.dom.adPod));var i=this._rmp.adPodInfo.getAdPosition();"number"==typeof i&&K.setText(this._rmp.dom.adPod,i+"/"+e)}}}},{key:"_handleAdLog",value:function(t){var e=t.getAdData();if("object"===n(e)&&e.adError){var i=e.adError;this._adErrorCode=i.getErrorCode(),this._adErrorMessage=i.getMessage(),this._adErrorType=i.getType(),this._adVastErrorCode=i.getVastErrorCode(),this._rmp.dispatch("adlog"),this._adErrorCode,this._adErrorMessage,this._adErrorType,this._adVastErrorCode,this._resetImaAdError()}}},{key:"_handleAdComplete",value:function(){if(!this._rmp.isLive){K.setText(this._rmp.dom.timeElapsedText,K.readableTime(K.getMediaCurrentTime(this._rmp.dom.video)));var t=this._rmp.getDuration();t>-1&&Oa.updateDurationText.call(this._rmp,t,this._rmp.getCurrentTime())}this._rmp.dispatch("adcomplete")}},{key:"_handleAllAdsCompleted",value:function(){if(yt.isIos[0]&&this._rmp.adForceNativeFullscreenOnIosForAds&&this._rmp.isVod&&(this._rmp.adOnStage=!1),this._rmp.dispatch("adalladscompleted"),this._rmp.contentCompleteCalled&&(this._rmp.contentCompleteCalled=!1,this._rmp.loop||Ot.restorePlayUI.call(this._rmp),!this._rmp.adDisableCustomPlaybackForIOS10Plus&&yt.isIos[0]&&this._rmp.dom.video.src!==this._rmp.currentiOSSrc)){this._rmp.srcChangeAutoplay=!1;var t=this._rmp.getStreamType();this._rmp.setSrc(l({},t,this._rmp.currentiOSSrc))}}},{key:"_beforeLoadAndStart",value:function(t,e){this._rmp.isVPAID=!1;var i=t.isLinear();"boolean"==typeof i&&(this._rmp.isLinear=i,this._rmp.isLinear&&"adloaded"===e&&(this._rmp.muted?Oa.setAdMute.call(this._rmp,!0):Oa.setAdVolume.call(this._rmp,this._rmp.getVolume()))),"adstarted"===e&&(this._rmp.adOnStage=!0,Ot.hideLoadingSpin.call(this._rmp),Va.resizeAds.call(this._rmp),this._rmp.dom.adContainer.classList.remove("rmp-ad-overlay"),this._rmp.adID=t.getAdId(),this._rmp.adSystem=t.getAdSystem(),this._rmp.adAdvertiserName=t.getAdvertiserName(),this._rmp.adApiFramework=t.getApiFramework(),this._rmp.adContentType=t.getContentType(),this._rmp.adCreativeAdId=t.getCreativeAdId(),this._rmp.adCreativeId=t.getCreativeId(),this._rmp.adDealId=t.getDealId(),this._rmp.adDescription=t.getDescription(),this._rmp.adDuration=t.getDuration(),this._rmp.adNonLinearHeight=t.getHeight(),this._rmp.adMediaUrl=t.getMediaUrl(),this._rmp.adSkipTimeOffset=t.getSkipTimeOffset(),this._rmp.adSurveyUrl=t.getSurveyUrl(),this._rmp.adTitle=t.getTitle(),this._rmp.adTraffickingParameters=t.getTraffickingParameters(),this._rmp.adTraffickingParametersString=t.getTraffickingParametersString(),this._rmp.adUniversalAdIds=t.getUniversalAdIds(),this._rmp.adVastMediaHeight=t.getVastMediaHeight(),this._rmp.adVastMediaWidth=t.getVastMediaWidth(),this._rmp.adNonLinearWidth=t.getWidth(),this._rmp.adWrapperAdIds=t.getWrapperAdIds(),this._rmp.adWrapperAdSystems=t.getWrapperAdSystems(),this._rmp.adWrapperCreativeIds=t.getWrapperCreativeIds(),this._rmp.currentAdForCompanion=t)}},{key:"_handleAdLoaded",value:function(t){this._beforeLoadAndStart(t,"adloaded"),this._rmp.dispatch("adloaded")}},{key:"_handleAdStarted",value:function(t){if(this._beforeLoadAndStart(t,"adstarted"),this._rmp.googleCast&&this._rmp.castConnected||this._rmp.video360&&!this._rmp.isLinear)return this._rmp.video360&&K.hide(this._rmp.dom.adContainer),this._rmp.stopAds(),void this._rmp.play();Be.updateVPAIDStatus.call(this._rmp,this._rmp.isLinear),this._rmp.isLinear?(this._rmp.adPaused=!1,Be.udpatePlayPause.call(this._rmp),this._rmp.adCountDown&&this._rmp.dom.adInfo&&Be.addCountDown.call(this._rmp),this._handleAdPod(t),this._rmp.hidePoster()):this._rmp.adOutStream?(this._rmp.stopAds(),this._waterfall()):(this._restoreContentUI(),this._rmp.adNonLinearHeight+400&&Be.seekToOffsetStartPosition.call(this._rmp),Oa.playPromise.call(this._rmp)),this._rmp.dispatch("adstarted")}},{key:"_handleResumed",value:function(){this._rmp.adPaused=!1,Be.udpatePlayPause.call(this._rmp),this._rmp.dispatch("adresumed")}},{key:"_handlePaused",value:function(){this._rmp.adPaused=!0,Be.udpatePlayPause.call(this._rmp),this._rmp.dispatch("adpaused")}},{key:"_onAdEvent",value:function(t){if("object"===n(t)){0;var e=t.getAd();if("object"===n(e)&&t.type)switch(t.type){case google.ima.AdEvent.Type.LOADED:this._handleAdLoaded(e);break;case google.ima.AdEvent.Type.STARTED:this._handleAdStarted(e);break;case google.ima.AdEvent.Type.COMPLETE:this._handleAdComplete();break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this._handleAllAdsCompleted();break;case google.ima.AdEvent.Type.RESUMED:this._handleResumed();break;case google.ima.AdEvent.Type.PAUSED:this._handlePaused();break;case google.ima.AdEvent.Type.CLICK:this._rmp.dispatch("adclick");break;case google.ima.AdEvent.Type.AD_BREAK_READY:this._rmp.dispatch("adbreakready");break;case google.ima.AdEvent.Type.AD_METADATA:this._rmp.dispatch("admetadata");break;case google.ima.AdEvent.Type.DURATION_CHANGE:this._rmp.dispatch("addurationchange");break;case google.ima.AdEvent.Type.FIRST_QUARTILE:this._rmp.dispatch("adfirstquartile");break;case google.ima.AdEvent.Type.MIDPOINT:this._rmp.dispatch("admidpoint");break;case google.ima.AdEvent.Type.THIRD_QUARTILE:this._rmp.dispatch("adthirdquartile");break;case google.ima.AdEvent.Type.IMPRESSION:this._rmp.dispatch("adimpression");break;case google.ima.AdEvent.Type.INTERACTION:this._rmp.dispatch("adinteraction");break;case google.ima.AdEvent.Type.LINEAR_CHANGED:this._rmp.dispatch("adlinearchanged");break;case google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED:this._rmp.dispatch("adskippablestatechanged");break;case google.ima.AdEvent.Type.SKIPPED:this._rmp.dispatch("adskipped");break;case google.ima.AdEvent.Type.USER_CLOSE:this._rmp.dispatch("aduserclose");break;case google.ima.AdEvent.Type.VOLUME_CHANGED:this._rmp.dispatch("advolumechanged");break;case google.ima.AdEvent.Type.VOLUME_MUTED:this._rmp.dispatch("advolumemuted");break;case google.ima.AdEvent.Type.AD_PROGRESS:this._rmp.dispatch("adprogress");break;case google.ima.AdEvent.Type.LOG:this._handleAdLog(t)}}}},{key:"_onContentPauseRequested",value:function(){!this._rmp.adDisableCustomPlaybackForIOS10Plus&&yt.isIos[0]&&this._rmp.dom.video.src&&(this._rmp.currentiOSSrc=this._rmp.dom.video.src),this._rmp.adShowRemainingTime&&Be.initRemainingTimeBar.call(this._rmp),this._rmp.isVod&&this._rmp.dom.video.removeEventListener("ended",this._rmp.ended),this._rmp.readingPDorNative&&this._rmp.dom.video.removeEventListener("error",this._rmp.generateError,!0),Be.setUIForAds.call(this._rmp,!0),this._rmp.adOutStream||this._rmp.dom.video.paused||this._rmp.dom.video.pause(),this._rmp.dispatch("adcontentpauserequested")}},{key:"_runProcessAdsManager",value:function(t){var e=this,i=new google.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0;var r=!0;(yt.isIos[0]||yt.isAndroid[0]&&yt.isAndroid[1]<4||yt.smartTVData.tv)&&(r=!1),this._rmp.adEnablePreloading&&r?i.enablePreloading=!0:i.enablePreloading=!1,this._rmp.adLoadMediaTimeout>0&&(i.loadVideoTimeout=this._rmp.adLoadMediaTimeout),this._rmp.adAutoAlign||(i.autoAlign=this._rmp.adAutoAlign),yt.isIpadOS&&(i.useStyledLinearAds=!0);var a=yt.getEstimateBW();a>-1&&(i.bitrate=Math.round(a/1e3)),this._rmp.adUseStyledNonLinearAds&&(i.useStyledNonLinearAds=!0),yt.isMobile&&this._rmp.dom.container.classList.contains("rmp-outstream")&&(i.uiElements=[]),this._rmp.imaAdsManager=t.getAdsManager(this._rmp.dom.video,i),this._rmp.dispatch("adadsmanagerloaded"),[google.ima.AdEvent.Type.AD_METADATA,google.ima.AdEvent.Type.LOG,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,google.ima.AdEvent.Type.CLICK,google.ima.AdEvent.Type.COMPLETE,google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,google.ima.AdEvent.Type.DURATION_CHANGE,google.ima.AdEvent.Type.FIRST_QUARTILE,google.ima.AdEvent.Type.IMPRESSION,google.ima.AdEvent.Type.INTERACTION,google.ima.AdEvent.Type.LINEAR_CHANGED,google.ima.AdEvent.Type.LOADED,google.ima.AdEvent.Type.MIDPOINT,google.ima.AdEvent.Type.PAUSED,google.ima.AdEvent.Type.RESUMED,google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,google.ima.AdEvent.Type.SKIPPED,google.ima.AdEvent.Type.STARTED,google.ima.AdEvent.Type.THIRD_QUARTILE,google.ima.AdEvent.Type.USER_CLOSE,google.ima.AdEvent.Type.VOLUME_CHANGED,google.ima.AdEvent.Type.VOLUME_MUTED].forEach((function(t){e._rmp.imaAdsManager.addEventListener(t,e._onAdEvent.bind(e))})),this._rmp.imaAdsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this._onContentPauseRequested.bind(this)),this._rmp.imaAdsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this._onContentResumeRequested.bind(this)),this._rmp.imaAdsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError.bind(this));var n=this._rmp.imaAdsManager.getCuePoints();if(Array.isArray(n)&&n.length>0&&this._rmp.adShowMarkers&&this._rmp.isVod){var s=[];n.forEach((function(t){-1===t?s.push(1/0):s.push(t)}));var o=this._rmp.getDuration();o>-1&&(o/=1e3,this._rmp.adVmapInput=!0,Be.createMarkers.call(this._rmp,s,o))}try{this._rmp.imaAdsManager.init(this._rmp.width,this._rmp.height,google.ima.ViewMode.NORMAL),this._rmp.imaAdsManager.start()}catch(l){console.trace(l),this._rmp.play()}}},{key:"_onAdsManagerLoaded",value:function(t){var e=this;this._rmp.hasLoadedMetadata?this._runProcessAdsManager(t):(clearInterval(this._runAdsManagerInterval),this._runAdsManagerInterval=setInterval((function(){e._rmp.hasLoadedMetadata&&(clearInterval(e._runAdsManagerInterval),e._runProcessAdsManager(t))}),10))}},{key:"_onImaAvailable",value:function(){if(K.getNow(),this._rmp.refTime,"undefined"!=typeof google&&void 0!==google.ima&&(this._rmp.adParserLoaded=!0,this._rmp.dom.adContainer&&this._rmp.dom.video)){"auto"===this._rmp.adLocale&&(this._rmp.adLocale=Re.codes[this._rmp.validatedLanguage][0]),google.ima.settings.setLocale(this._rmp.adLocale),google.ima.settings.setNumRedirects(this._rmp.adMaxNumRedirects),google.ima.settings.setCookiesEnabled(this._rmp.adCookiesEnabled),"enabled"===this._rmp.adVpaidMode?google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED):"insecure"===this._rmp.adVpaidMode?google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE):google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.DISABLED),yt.isIos[0]&&yt.isIos[1]>=10&&google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this._rmp.adDisableCustomPlaybackForIOS10Plus),google.ima.settings.setPlayerType("radiantmediaplayer"),google.ima.settings.setPlayerVersion(this._rmp.playerVersion),google.ima.settings.getFeatureFlags();try{this._adDisplayContainer=new google.ima.AdDisplayContainer(this._rmp.dom.adContainer,this._rmp.dom.video),this._adsLoader=new google.ima.AdsLoader(this._adDisplayContainer),this._adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this._onAdsManagerLoaded.bind(this)),this._adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError.bind(this))}catch(t){return console.trace(t),void xn.fire.call(this._rmp)}Be.createControlBarAdInfo.call(this._rmp)}xn.fire.call(this._rmp)}},{key:"_imaLoadError",value:function(){Oa.warning.call(this._rmp,10001),Oa.warning.call(this._rmp,11e3),this._rmp.adParserLoadError=!0,this._rmp.ads=!1,this._rmp.dispatch("adparserloaderror"),xn.fire.call(this._rmp),this._rmp.adOutStream&&Be.endedOutStreamUI.call(this._rmp)}},{key:"destroy",value:function(){clearInterval(this._runAdsManagerInterval),clearInterval(this._rmp.adRemainingTimeBarInterval);try{this._adsLoader.destroy(),this._adDisplayContainer.destroy()}catch(t){console.trace(t)}}},{key:"resetAdsForNewRequest",value:function(){clearInterval(this._rmp.adRemainingTimeBarInterval),this._rmp.adOnStage=!1,this._rmp.adPaused=!1,this._rmp.isVPAID=!1,this._rmp.isLinearAdOn()&&this._restoreContentUI(),this._destroyAdsManager()}},{key:"requestAds",value:function(t,e){if(this._rmp.adParserLoaded&&this._adsLoader){var i;e&&Ot.showLoadingSpin.call(this._rmp);try{i=new google.ima.AdsRequest}catch(s){return console.trace(s),void this._rmp.play()}/^<\?xml.+\?>/i.test(t)?i.adsResponse=t:i.adTagUrl=t,this._rmp.adPageUrl&&(i.pageUrl=this._rmp.adPageUrl),i.linearAdSlotWidth=this._rmp.width,i.linearAdSlotHeight=this._rmp.height;var r=this._rmp.width;this._rmp.adNonLinearAdSlotWidth>=0&&(r=this._rmp.adNonLinearAdSlotWidth),i.nonLinearAdSlotWidth=r;var a=this._rmp.height;this._rmp.adNonLinearAdSlotHeight>=0&&(a=this._rmp.adNonLinearAdSlotHeight),i.nonLinearAdSlotHeight=a,i.vastLoadTimeout=this._rmp.adLoadVastTimeout,this._rmp.adForceNonLinearFullSlot&&(i.forceNonLinearFullSlot=!0);var n=this._rmp.getDuration();this._rmp.adContentDuration>0?i.contentDuration=this._rmp.adContentDuration:this._rmp.isVod&&n>-1&&(i.contentDuration=n/1e3),""!==this._rmp.adContentKeywords&&(i.contentKeywords=this._rmp.adContentKeywords),""!==this._rmp.adContentTitle&&(i.contentTitle=this._rmp.adContentTitle),this._rmp.adLiveStreamPrefetchSeconds>0&&(i.liveStreamPrefetchSeconds=this._rmp.adLiveStreamPrefetchSeconds),i.setAdWillAutoPlay(this._rmp.autoplay),i.setAdWillPlayMuted(this._rmp.muted),K.isEmptyObject(this._rmp.omidAccessModeRules)||(i.omidAccessModeRules=this._getOmidAccessModeRules(this._rmp.omidAccessModeRules)),"auto"===this._rmp.adContinuousPlayback?this._rmp.hasPlaylist&&this._rmp.playlistUpNextAutoplay||this._rmp.hasRelated&&this._rmp.relatedUpNextAutoplay?i.setContinuousPlayback(!0):i.setContinuousPlayback(!1):"yes"===this._rmp.adContinuousPlayback?i.setContinuousPlayback(!0):i.setContinuousPlayback(!1);try{this._adsLoader.requestAds(i)}catch(s){console.trace(s),this._rmp.play()}}else this._rmp.play()}},{key:"init",value:function(){var t;"undefined"!=typeof google&&void 0!==google.ima?this._onImaAvailable():(t=this._rmp.adImaTest?"https://imasdk.googleapis.com/js/sdkloader/ima3_test.js":"https://imasdk.googleapis.com/js/sdkloader/ima3.js",K.getNow(),this._rmp.refTime,K.getScript(t,this._onImaAvailable.bind(this),this._imaLoadError.bind(this)))}},{key:"resumeAds",value:function(){this._rmp.imaAdsManager&&this._rmp.imaAdsManager.resume()}},{key:"pauseAds",value:function(){this._rmp.imaAdsManager&&this._rmp.imaAdsManager.pause()}}]),t}(),ln=function(){function t(e){d(this,t),this._rmp=e,this._onRmpVastAdPlayPauseFn=null,this._onAdTagStartLoadingFn=null,this._onRmpVastAdStartedFn=null,this._onRmpVastAdDestroyedFn=null,this._onRmpVastAdErrorFn=null,this._onRmpVastAdInteractionFn=null,this._onRmpVastAdLinearChangedFn=null,this._adErrorDetected=!1}return p(t,[{key:"_unwireAdEvents",value:function(){clearInterval(this._rmp.adRemainingTimeBarInterval),this._rmp.off("adresumed adpaused",this._onRmpVastAdPlayPauseFn),this._rmp.off("adtagstartloading",this._onAdTagStartLoadingFn),this._rmp.off("adstarted",this._onRmpVastAdStartedFn),this._rmp.off("addestroyed",this._onRmpVastAdDestroyedFn),this._rmp.off("aderror",this._onRmpVastAdErrorFn),this._rmp.off("adinteraction",this._onRmpVastAdInteractionFn),this._rmp.off("adlinearchange",this._onRmpVastAdLinearChangedFn)}},{key:"_handleAdPod",value:function(){if(this._rmp.adPodInfo=this._rmp.rmpVast.getAdPodInfo(),K.setText(this._rmp.dom.adPod,""),this._rmp.adPodInfo&&this._rmp.dom.adInfo){var t=this._rmp.adPodInfo.adPodLength;if("number"==typeof t&&t>1){this._rmp.adPodInfo.adPodCurrentIndex,this._rmp.dom.adPod||(this._rmp.dom.adPod=K.createElement("span","rmp-ad-info-pod"),this._rmp.dom.adCountdown?this._rmp.dom.adInfo.insertBefore(this._rmp.dom.adPod,this._rmp.dom.adCountdown):this._rmp.dom.adInfo.appendChild(this._rmp.dom.adPod));var e=this._rmp.adPodInfo.adPodCurrentIndex;"number"==typeof e&&K.setText(this._rmp.dom.adPod,e+"/"+t)}}}},{key:"_onRmpVastAdStarted",value:function(){if(Ot.hideLoadingSpin.call(this._rmp),this._rmp.googleCast&&this._rmp.castConnected)return this._rmp.stopAds(),void this._rmp.play();Va.resizeAds.call(this._rmp);var t=this._rmp.dom.container.querySelector(".rmp-ad-container");null!==t&&t.classList.remove("rmp-ad-overlay");var e=this._rmp.getAdLinear();if(Be.updateVPAIDStatus.call(this._rmp,e),e)if(this._rmp.isVod&&this._rmp.dom.video.removeEventListener("ended",this._rmp.ended),Be.udpatePlayPause.call(this._rmp),Be.setUIForAds.call(this._rmp,!0),this._rmp.adCountDown&&this._rmp.dom.adInfo&&Be.addCountDown.call(this._rmp),this._rmp.adShowRemainingTime&&Be.initRemainingTimeBar.call(this._rmp),null===this._rmp.adPodInfo&&this._handleAdPod(),this._rmp.muted)Oa.setAdMute.call(this._rmp,!0);else{var i=this._rmp.getVolume();Oa.setAdVolume.call(this._rmp,i)}else{var r=this._rmp.getAdMediaHeight();r>-1&&r+400&&Be.seekToOffsetStartPosition.call(this._rmp)}}},{key:"_onRmpVastAdDestroyed",value:function(){if(this._rmp.adPodInfo=this._rmp.rmpVast.getAdPodInfo(),this._rmp.adPodInfo.adPodLength>0&&this._rmp.adPodInfo.adPodCurrentIndex!==this._rmp.adPodInfo.adPodLength){var t=this._rmp.adPodInfo.adPodCurrentIndex,e=this._rmp.adPodInfo.adPodLength;return"number"==typeof t&&"number"==typeof e&&K.setText(this._rmp.dom.adPod,t+1+"/"+e),void this._rmp.one("adstarted",this._onRmpVastAdStartedFn)}if(this._rmp.adPodInfo=null,this._adErrorDetected&&(this._adErrorDetected=!1,Array.isArray(this._rmp.adTagWaterfall)&&"string"==typeof this._rmp.adTagWaterfall[0]&&""!==this._rmp.adTagWaterfall[0]))return this._rmp.adTagUrl=this._rmp.adTagWaterfall[0],this._rmp.adTagWaterfall.length>0&&this._rmp.adTagWaterfall.shift(),this._rmp.loadAds(this._rmp.adTagUrl),void this._rmp.dispatch("adclientsidewaterfallrequested");this._rmp.adOutStream?Be.endedOutStreamUI.call(this._rmp):(this._rmp.readingPDorNative&&this._rmp.dom.video.addEventListener("error",this._rmp.generateError,!0),this._rmp.offsetStartPosition>0&&Be.seekToOffsetStartPosition.call(this._rmp),this.restoreContentUI())}},{key:"_onRmpVastAdError",value:function(){this._rmp.getAdErrorMessage(),this._rmp.getAdVastErrorCode(),this._rmp.getAdErrorType(),this._adErrorDetected=!0}},{key:"_onRmpVastAdPlayPause",value:function(){Be.udpatePlayPause.call(this._rmp)}},{key:"_onRmpVastAdInteraction",value:function(){this._rmp.dispatch("adinteraction")}},{key:"_onRmpVastAdLinearChanged",value:function(){this._rmp.dispatch("adlinearchanged")}},{key:"_onAdTagStartLoading",value:function(){this._rmp.readingPDorNative&&this._rmp.dom.video.removeEventListener("error",this._rmp.generateError,!0),this._rmp.rmpVast.getIsUsingContentPlayerForAds()||(this._onRmpVastAdPlayPauseFn=this._onRmpVastAdPlayPause.bind(this),this._rmp.on("adresumed",this._onRmpVastAdPlayPauseFn),this._rmp.on("adpaused",this._onRmpVastAdPlayPauseFn)),this._onRmpVastAdStartedFn=this._onRmpVastAdStarted.bind(this),this._rmp.one("adstarted",this._onRmpVastAdStartedFn),this._onRmpVastAdDestroyedFn=this._onRmpVastAdDestroyed.bind(this),this._rmp.on("addestroyed",this._onRmpVastAdDestroyedFn),this._onRmpVastAdErrorFn=this._onRmpVastAdError.bind(this),this._rmp.on("aderror",this._onRmpVastAdErrorFn),this._onRmpVastAdInteractionFn=this._onRmpVastAdInteraction.bind(this),this._rmp.on("adinteraction",this._onRmpVastAdInteractionFn),this._onRmpVastAdLinearChangedFn=this._onRmpVastAdLinearChanged.bind(this),this._rmp.on("adlinearchange",this._onRmpVastAdLinearChangedFn)}},{key:"_transferEvents",value:function(){var t=this;["adloaded","addurationchange","adclick","adclosed","adimpression","adcollapse","adstarted","adtagloaded","adprogress","adviewable","adviewundetermined","adinitialplayrequestfailed","adinitialplayrequestsucceeded","adpaused","adresumed","adtagstartloading","advolumemuted","advolumechanged","adcomplete","adskipped","adskippablestatechanged","adfirstquartile","admidpoint","adthirdquartile","aderror","addestroyed","adpodcompleted","adlinearchange","adsizechange","adexpandedchange","adremainingtimechange","adinteraction","aduseracceptinvitation","adcollapse"].forEach((function(e){t._rmp.rmpVast.on(e,(function(){t._rmp.dispatch(e)}))}))}},{key:"_runRmpVast",value:function(){K.getNow(),this._rmp.refTime,this._rmp.adParserLoaded=!0;var t=!1;/^<\?xml.+\?>/i.test(this._rmp.adTagUrl)&&(t=!0);var e={vastXmlInput:t,omidSupport:this._rmp.adOmidSupport,omidAllowedVendors:this._rmp.omidAllowedVendors,omidAutoplay:this._rmp.autoplay,partnerName:"radiantmediaplayer",partnerVersion:this._rmp.playerVersion,ajaxTimeout:this._rmp.adLoadVastTimeout,creativeLoadTimeout:this._rmp.adLoadMediaTimeout,ajaxWithCredentials:this._rmp.adAjaxWithCredentials,maxNumRedirects:this._rmp.adMaxNumRedirects,labels:{skipMessage:this._rmp.labels.ads.skipMessage,closeAd:this._rmp.labels.hint.close,textForClickUIOnMobile:this._rmp.labels.ads.textForClickUIOnMobile},outstream:this._rmp.adOutStream,useHlsJS:this._rmp.adSupportHlsCreatives,showControlsForVastPlayer:!1};if(this._rmp.adRmpVastEnableVpaid){e.enableVpaid=this._rmp.adRmpVastEnableVpaid;var i="normal";this._rmp.isInFullscreen&&(i="fullscreen");var r=500;window.rmpGlobals.rmpConnection.bandwidthData.estimate>0&&(r=1e3*window.rmpGlobals.rmpConnection.bandwidthData.estimate*.75),e.vpaidSettings={width:this._rmp.width,height:this._rmp.height,viewMode:i,desiredBitrate:r}}this._rmp.rmpVast=new RmpVast(this._rmp.id,e),this._transferEvents(),Be.createControlBarAdInfo.call(this._rmp),xn.fire.call(this._rmp)}},{key:"requestAds",value:function(t){this._rmp.isVPAID=!1,Ot.showLoadingSpin.call(this._rmp),this._onAdTagStartLoadingFn=this._onAdTagStartLoading.bind(this),this._rmp.one("adtagstartloading",this._onAdTagStartLoadingFn);var e=v()(t).call(t);try{this._rmp.rmpVast.loadAds(e)}catch(i){console.trace(i)}}},{key:"restoreContentUI",value:function(){this._unwireAdEvents(),Ot.hideLoadingSpin.call(this._rmp),Be.setUIForAds.call(this._rmp,!1),this._rmp.isVod&&this._rmp.dom.video.addEventListener("ended",this._rmp.ended);var t=this._rmp.getDuration(),e=this._rmp.getCurrentTime();t>-1&&e>-1&&e===t&&Ki.pause.call(this._rmp)}},{key:"_rmpVastLoadError",value:function(){Oa.warning.call(this._rmp,1e4),this._rmp.adParserLoadError=!0,this._rmp.ads=!1,this._rmp.dispatch("adparserloaderror"),xn.fire.call(this._rmp),this._rmp.adOutStream&&Be.endedOutStreamUI.call(this._rmp)}},{key:"init",value:function(){if("undefined"!=typeof RmpVast)this._runRmpVast();else{var t=this._rmp.pathToRmpFiles+"rmp-vast/rmp-vast.min.js";0,K.getNow(),this._rmp.refTime,K.getScript(t,this._runRmpVast.bind(this),this._rmpVastLoadError.bind(this))}}},{key:"resumeAds",value:function(){this.rmpVast&&this.rmpVast.play()}},{key:"pauseAds",value:function(){this.rmpVast&&this.rmpVast.pause()}}]),t}(),dn={destroy:function(){clearTimeout(this.airplayConnectTimeout)}},hn=function(t){K.eventStopPrevent(t);try{this.dom.video.webkitShowPlaybackTargetPicker()}catch(e){console.trace(e)}},pn=function(t){var e=this;if(t)if("available"===t.availability)this.dom.airplay||(ae.append.call(this,"airplay"),this.onAirPlayClick=hn.bind(this),this.dom.airplay.addEventListener("touchend",this.onAirPlayClick),this.dom.airplay.addEventListener("click",this.onAirPlayClick),this.dom.container.classList.add("rmp-airplay-ui"),this.dom.airPlayIcon=this.dom.container.querySelector(".rmp-i-airplay")),this.hasLoadedMetadata||(K.hide(this.dom.airplay),this.one("loadedmetadata",(function(){K.show(e.dom.airplay)})));else K.hide(this.dom.airplay)},cn=function(){this.off("pause",this.onMediaLoadedForcePlayOnLocalPlayer),this.play()},mn=function(t){var e=this;t&&(this.airplayUIOn?(this.airplayUIOn=!1,this.dom.volumeContainer&&K.show(this.dom.volumeContainer),clearTimeout(this.airplayConnectTimeout),this.off("pause",this.onMediaLoadedForcePlayOnLocalPlayer),this.dom.airPlayIcon.classList.remove("rmp-i-airplay-connected"),this.dispatch("airplaymediaunloaded")):(this.on("pause",this.onMediaLoadedForcePlayOnLocalPlayer),this.airplayConnectTimeout=setTimeout((function(){e.off("pause",e.onMediaLoadedForcePlayOnLocalPlayer)}),5e3),this.airplayUIOn=!0,this.dom.volumeContainer&&K.hide(this.dom.volumeContainer),this.dom.airPlayIcon.classList.add("rmp-i-airplay-connected"),this.dispatch("airplaymedialoaded")))};dn.init=function(){"undefined"!=typeof WebKitPlaybackTargetAvailabilityEvent&&(this.onAirPlayAvailabilityChanged=pn.bind(this),this.dom.video.addEventListener("webkitplaybacktargetavailabilitychanged",this.onAirPlayAvailabilityChanged),this.onMediaLoadedForcePlayOnLocalPlayer=cn.bind(this),this.onAirPlayCurrentPlaybackTargetIsWirelessChanged=mn.bind(this),this.dom.video.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.onAirPlayCurrentPlaybackTargetIsWirelessChanged))};var un=dn,fn=/(\.png|\.jpg|\.gif|\.avif)/i,gn=function(){function t(){d(this,t)}return p(t,null,[{key:"_onLogoLoad",value:function(){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),this.logoAppended||(this.dom.container.insertBefore(this.dom.logoImg,this.dom.controlBar.nextSibling),this.logoAppended=!0)}},{key:"_onLogoError",value:function(t){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),this.dom.logoImg.removeEventListener("touchend",this.openLogoUrl),this.dom.logoImg.removeEventListener("click",this.openLogoUrl),Oa.warning.call(this,1e3,t)}},{key:"init",value:function(){""!==this.logo&&"bottomleft"!==this.logoPosition&&"topleft"!==this.logoPosition&&"topright"!==this.logoPosition&&"bottomright"!==this.logoPosition&&(this.logoPosition="topleft")}},{key:"append",value:function(){fn.test(this.logo)&&(this.dom.logoImg=document.createElement("img"),this.dom.logoImg.alt="Media player logo",this.logoWatermark?this.dom.logoImg.className="rmp-logo rmp-force-show":this.dom.logoImg.className="rmp-logo","8px"!==this.logoMargin&&(this.dom.logoImg.style.margin=this.logoMargin),"topleft"===this.logoPosition?this.dom.logoImg.classList.add("rmp-logo-top-left"):"bottomleft"===this.logoPosition?this.dom.logoImg.classList.add("rmp-logo-bottom-left"):"topright"===this.logoPosition?this.dom.logoImg.classList.add("rmp-logo-top-right"):"bottomright"===this.logoPosition&&this.dom.logoImg.classList.add("rmp-logo-bottom-right"),this.onLogoLoad=t._onLogoLoad.bind(this),this.onLogoError=t._onLogoError.bind(this),this.dom.logoImg.addEventListener("load",this.onLogoLoad),this.dom.logoImg.addEventListener("error",this.onLogoError),this.openLogoUrl=Oa.openUrl.bind(this,this.logoLoc,"logo"),this.dom.logoImg.addEventListener("touchend",this.openLogoUrl),this.dom.logoImg.addEventListener("click",this.openLogoUrl),this.dom.logoImg.src=this.logo)}},{key:"update",value:function(){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),this.dom.logoImg.removeEventListener("touchend",this.openLogoUrl),this.dom.logoImg.removeEventListener("click",this.openLogoUrl),this.dom.logoImg.addEventListener("load",this.onLogoLoad),this.dom.logoImg.addEventListener("error",this.onLogoError),this.openLogoUrl=Oa.openUrl.bind(this,this.logoLoc,"logo"),this.dom.logoImg.addEventListener("touchend",this.openLogoUrl),this.dom.logoImg.addEventListener("click",this.openLogoUrl),this.dom.logoImg.src=this.logo}}]),t}(),vn={dispatchEvent:function(){var t=this;this.timeReady=K.getNow()-this.refTime,this.timeReady,this.frameRate>-1&&this.dispatch("framerateavailable"),this.adParserLoadError?this.dispatch("adblock"):this.ads&&Be.hasAdblock.call(this).then((function(e){e&&t.dispatch("adblock")})),this.dispatch("ready")},minimalFire:function(){this.playerReady||(this.playerReady=!0,Va.resize.call(this),vn.dispatchEvent.call(this))}},yn=function(t){0===t?this.setMute(!0):t<1&&t>0?this.setVolume(t):1===t&&(this.setVolume(t),this.onVolumeChange())};vn.fire=function(){var t=this;if(!this.playerReady){this.playerReady=!0,Va.resize.call(this);var e="00:00";if(this.dom.time&&this.dom.timeElapsedText&&K.setText(this.dom.timeElapsedText,e),this.dom.durationText&&(this.dom.durationText.textContent||K.setText(this.dom.durationText,e)),(yt.isIos[0]||yt.isIpadOS)&&(this.initialVolume=1,this.rememberVolume=!1),this.rememberQuality&&(this.readingOutstream||this.readingPDorNative)&&(this.rememberQuality=!1),this.rememberCurrentTime&&yt.localStorage(this.allowLocalStorage)){var i=this.contentMetadata.id||"default";try{if(null!==localStorage.getItem("rmpCurrentTime-"+i)){var r=JSON.parse(localStorage.getItem("rmpCurrentTime-"+i));r.value&&(this.offsetStartPosition=f()(r.value),this.offsetStartPosition)}}catch(o){console.trace(o)}}var a=this.muted;if(this.initialVolume>1?this.initialVolume=1:this.initialVolume<0&&(this.initialVolume=0),this.forceInitialVolume)this.setVolume(this.initialVolume);else if(this.rememberVolume&&yt.localStorage(this.allowLocalStorage))try{if(null!==localStorage.getItem("rmpVolume")){var n=JSON.parse(localStorage.getItem("rmpVolume"));if(n.value){var s=T()(n.value);yn.call(this,s)}}}catch(o){console.trace(o)}else yn.call(this,this.initialVolume);a&&this.setMute(!0),this.autoplay?(this.onVolumeChange(),this.initialAutoplayRequest=!0,this.initiatePlayback()):Ot.showCentralPlay.call(this),this.offsetStartPosition>0&&this.isVod&&!this.ads&&this.one("loadedmetadata",(function(){t.dom.video&&t.dom.video.seekable.length>0&&t.seekTo(t.offsetStartPosition)})),this.rememberQuality&&this.one("playing",(function(){if(yt.localStorage(t.allowLocalStorage))try{if(null!==localStorage.getItem("rmpQuality")){var e=JSON.parse(localStorage.getItem("rmpQuality"));if(e.value&&e.value>-1){var i=f()(e.value),r=t.getBitrates();i>r.length-1&&(i=r.length-1),-1===i&&t.readingPDorNative&&(i=0),t.setBitrate(i)}}}catch(o){console.trace(o)}})),vn.dispatchEvent.call(this),this.hasExternalCCFiles&&nn.init.call(this)}};var bn=function(){K.getNow(),this.refTime,this.adParserLoaded=!0,Be.createControlBarAdInfo.call(this),vn.fire.call(this)},kn=function(){K.getNow(),this.refTime,this.adParserLoadError=!0,this.ads=!1,this.dispatch("adparserloaderror"),vn.fire.call(this)},wn=function(){if(this.adImaDai)if("undefined"!=typeof google&&void 0!==google.ima&&void 0!==google.ima.dai)bn.call(this);else{K.getScript("https://imasdk.googleapis.com/js/sdkloader/ima3_dai.js",bn.bind(this),kn.bind(this))}else"ima"===this.adParser?(this.rmpAdsWithIma=new on(this),this.rmpAdsWithIma.init()):(this.rmpAdsWithRmpVast=new ln(this),this.rmpAdsWithRmpVast.init())},_n=function(){this.dom.posterImg.removeEventListener("load",this.onPosterLoad),this.dom.posterImg.removeEventListener("error",this.onPosterError),this.dom.poster.contains(this.dom.posterImg)||this.dom.poster.appendChild(this.dom.posterImg)},Cn=function(t){this.dom.posterImg.src,this.dom.posterImg.removeEventListener("load",this.onPosterLoad),this.dom.posterImg.removeEventListener("error",this.onPosterError),Oa.warning.call(this,1001,t)},Sn=function(){if(this.dom.poster=K.createElement("div","rmp-poster"),this.dom.poster.style.backgroundColor="#"+this.backgroundColor,this.dom.content.appendChild(this.dom.poster),this.dom.posterImg=K.createElement("img","rmp-poster-img"),this.dom.posterImg.alt="Media player poster frame",K.cssPropertySupport("objectFit"))switch(this.posterScaleMode){case"letterbox":default:this.dom.posterImg.classList.add("rmp-object-fit-contain");break;case"zoom":this.dom.posterImg.classList.add("rmp-object-fit-cover");break;case"stretch":this.dom.posterImg.classList.add("rmp-object-fit-fill");break;case"none":this.dom.posterImg.classList.add("rmp-object-fit-none")}else this.dom.posterImg.classList.add("rmp-poster-img-no-object-fit");var t;this.onPosterLoad=_n.bind(this),this.onPosterError=Cn.bind(this),this.dom.posterImg.addEventListener("load",this.onPosterLoad),this.dom.posterImg.addEventListener("error",this.onPosterError),""!==this.poster?t=this.poster:this.hideInitialBlackFrameWhenNoPoster?this.dom.poster.classList.add("rmp-no-display"):t=K.blackFrame,t&&(this.autoplay&&!(this.audioOnlyUseVideoLayout||this.playlistAudioOnly||this.relatedAudioOnly)?(this.hidePoster(),this.contentMetadata.endOfVideoPoster[0]||(this.contentMetadata.endOfVideoPoster=[t])):this.dom.posterImg.src=t)};vn.init=function(){this.audioOnly||Sn.call(this),this.enableMatomoTracking&&void 0!==window._paq&&(this.id,window._paq.push(["MediaAnalytics::scanForMedia",document.getElementById(this.id)])),this.airplay&&!this.readingDashShaka&&un.init.call(this),""!==this.logo&&gn.append.call(this),""!==this.contentMetadata.title&&(Ot.appendContentTitle.call(this),""!==this.contentMetadata.description&&Ot.appendContentDescription.call(this)),Array.isArray(this.customModule)&&this.customModule.length>0&&this.customModule[0]?(ae.customFilter.call(this),this.customModule.length>0&&ae.customInit.call(this),this.customModule):this.customModule=[],this.dispatch("mousemove"),this.ads?wn.call(this):vn.fire.call(this)};var xn=vn,An={},Tn=/radiantmediatechs\.com\/rmp\/rr\/vg(s-o|t-o|rp-o)\.json/i,Ln=/(qqtv\.|freestreams-live1.com|redditsport.live|mgstrm.website|lionsdelatlas.ma|digi-hdsport.com|fomny.com|streams.rip|brstreams.xyz|liluka-site.eu|epgssiptv.tk|mygoodstream.pw|elahmad.com|hdtvku.com|sportstreamshd.com|mygoaltv.com|trgooltv5.co|tvpoztmo.com|cialis99.com|adreach.co|rumahtv.com|mygstrm748463.tk|nhl.ru|diag-auto.site|onhockey.tv|purakuraplay.com|dailysport.club|minifreeza.eu|megatelevisionhd.tk|tvlatinohd.ml|megatelehd.tk|megamundotv.tk|cms.e.jimdo.com|portenavirtualestereo.jimdofree.com|cambelltv.blogspot.com|spl.sa|koora-shoot.online)/i,En=!1,Pn=!1,In={"=":"a","+":"b",y:"c",z:"d",v:"e",u:"f",d:"g",b:"h",s:"i",q:"j",a:"k",c:"l",i:"m",k:"n",e:"o",g:"p",n:"q",o:"r",0:"s",7:"t",8:"u",9:"v",4:"w",5:"x",6:"y",1:"z",2:".",3:"-"},Mn=function(t){var e;if(m()(t).call(t,"!")>-1){e=t.split("!");var i={s:0,c:1,o:2,g:3,i:4,k:5,m:6,e:7,q:8,a:9},r=e[0].replace(/[scogikmeqa]/g,(function(t){return i[t]}));if(/^\d+$/.test(r)){var a=f()(r,10),n=new Date,s=n.getTime();return a>(n=Math.round(s/1e3))+1382400||n>a?[!0,e[1],"expired"]:[!0,e[1],"notexpired"]}return[!0,e[1],"expired"]}return[!1,null,"notexpired"]},Fn=function(t){if(!t)return!1;if(t===this.originLocal&&/host$/.test(t)||t===this.rmpDev&&/\.rmp$/.test(t))return!0;if(/^\d+\.\d+\.\d+\.\d+$/i.test(t)){if(t===this.altLocal||t===this.altLocalBis||/^192\.168\./i.test(t)||/^172\.[1-3]/i.test(t)||/^10\./i.test(t))return!0}return!1},Dn=function(){var t=document.getElementById(this.id);t&&(this.off("destroycompleted",this.licenseDestroyCompleted),K.removeElement(t))};An.endPlayer=function(t){this.licenseFailedDestroyRequested=!0,xn.minimalFire.call(this),this.licenseDestroyCompleted=Dn.bind(this),this.on("destroycompleted",this.licenseDestroyCompleted),this.destroy()};var On=function(t){var e;this.isLicValid="true";try{var i;e=JSON.parse(t).data,e=Et()(i=e.replace(/---------------------/g,"").split("")).call(i).join(""),e=atob(e),e=JSON.parse(e)}catch(f){return void console.trace(f)}if(e&&e.sites&&e.permanentBL&&this.ragnarok){for(var r=!1,a=0,n=e.permanentBL.length;a-1){r=!0;break}}if(r)An.endPlayer.call(this,this.licType.toUpperCase()+" Edition auth failed"),this.isLicValid="false";else for(var l=e.sites,d=0,h=l.length;d-1){var c=l[d].split("."),u=c[c.length-2]+"."+c[c.length-1];if(m()(u).call(u,this.ragnarok)>-1){An.endPlayer.call(this,this.licType.toUpperCase()+" Edition auth failed"),this.isLicValid="false";break}}}}},Rn=function(t){var e=this;this.licUrl=t;var i=On.bind(this);K.ajax(this.licUrl,this.ajaxInternalTimeout,!1,"GET").then(i).catch((function(t){console.trace(t),clearTimeout(e.siteCheckerRetryTimeout),e.siteCheckerRetryTimeout=setTimeout((function(){K.ajax(e.licUrl,e.ajaxInternalTimeout,!1,"GET").then(i).catch((function(t){console.trace(t)}))}),1e4)}))},Un=function(t){En?Array.isArray(t.appWhitelist)&&t.appWhitelist.length>0&&(this.platformAppArrayList=t.appWhitelist):Array.isArray(t.blacklist)&&t.blacklist.length>0?(this.platformArrayList=t.blacklist,this.platformListType="blacklist"):Array.isArray(t.whitelist)&&t.whitelist.length>0&&(this.platformArrayList=t.whitelist,this.platformListType="whitelist")},Bn=function(){if("false"!==this.isLicValid)if(Pn)this.isLicValid="true";else{if(!En&&this.platformArrayList.length>0){if("blacklist"===this.platformListType){this.isLicValid="true";for(var t=0,e=this.platformArrayList.length;t-1){this.isLicValid="false";break}}}else if("whitelist"===this.platformListType){this.isLicValid="false";for(var r=0,a=this.platformArrayList.length;r-1){this.isLicValid="true";break}}}}else if(En&&this.platformAppArrayList.length>0&&"string"==typeof this.platformAppArrayList[0]&&""!==this.platformAppArrayList[0]){var s=this.dom.container.getAttribute("data-rwlan");if(s){var o;this.isLicValid="false";try{o=atob(s)}catch(h){o=null,console.trace(h)}if(o)for(var l=0,d=this.platformAppArrayList.length;l-1){this.isLicValid="true";break}}else this.isLicValid="false"}"false"===this.isLicValid&&An.endPlayer.call(this,"PLATFORM Edition auth failed")}else An.endPlayer.call(this,"PLATFORM Edition auth failed")},Vn=function(t){var e=this;""!==this.customAllowDenyListUrl?K.ajax(this.customAllowDenyListUrl,this.ajaxInternalTimeout,!1,"GET").then((function(i){var r;try{r=JSON.parse(i)}catch(a){return console.trace(a),Un.call(e,t),void Bn.call(e)}r.allowlist&&(t.whitelist=r.allowlist),r.denylist&&(t.blacklist=r.denylist),r.appAllowlist&&(t.appWhitelist=r.appAllowlist),Un.call(e,t),Bn.call(e)})).catch((function(i){console.trace(i),Un.call(e,t),Bn.call(e)})):Un.call(this,t)},Nn=function(t){var e;try{var i;e=JSON.parse(t).data,e=Et()(i=e.replace(/---------------------/g,"").split("")).call(i).join(""),e=atob(e),e=JSON.parse(e)}catch(u){return void console.trace(u)}if(e&&e.sites&&e.permanentBL){for(var r=!1,a=0,n=e.permanentBL.length;a-1){r=!0;break}}if(r)this.isLicValid="false";else for(var l=e.sites,d=0,h=l.length;d-1&&("rom5dasis30db0A"===i.split("?")[1]&&(r=!0,i=i.replace("?rom5dasis30db0A","")));var a=Mn.call(this,i),n=a[0];if(n&&(this.licType="trial",i=a[1],"expired"===a[2]))return 0;if(En&&!n)return 0;if(Pn){if(r||n)return 2;if(!r)return 1}var s=i.replace(/[=+yzvudbsqacikegno0789456123]/g,(function(t){return In[t]}));n?En||Rn.call(this,this.vgtUri,s):Rn.call(this,this.vgsUri,s);var o=!1;if(En)o=!0;else{var l=e.replace(/\d/g,"");m()(l).call(l,s)>-1&&(o=!0)}return(n||r)&&o?2:r||n||!o?0:1};An.ck=function(){if(yt.isInIframe&&null===this.ragnarok&&document.referrer)try{this.ragnarok=new(U())(document.referrer).hostname.toLowerCase().replace(/^www\./,"")}catch(e){console.trace(e)}var t=qn.call(this,this.licenseKey,this.ragnarok);return 1===t||2===t||3===t};var zn=An,Wn=20,jn=function(){function t(e){d(this,t),this._rmp=e,this._resetVars()}return p(t,[{key:"fov",get:function(){return this._fov}},{key:"lon",get:function(){return this._lon}},{key:"lat",get:function(){return this._lat}},{key:"_resetVars",value:function(){this._requestAnimation360=null,this._texture360=null,this._scene360=null,this._mesh360=null,this._canvas360=null,this._renderer360=null,this._camera360=null,this._dragStart360={},this._mouseDown360=!1,this._moveInProgress360=!1,this._lat=0,this._lon=0,this._fov=65,this._progressiveInterval360=null,this._UI360InteractionFn=null,this._setCamLatLongFovTopFn=null,this._setCamLatLongFovBottomFn=null,this._setCamLatLongFovLeftFn=null,this._setCamLatLongFovRightFn=null,this._setCamLatLongFovMinusFn=null,this._setCamLatLongFovResetFn=null,this._setCamLatLongFovPlusFn=null}},{key:"destroy",value:function(){try{this._requestAnimation360&&cancelAnimationFrame(this._requestAnimation360),this._texture360&&this._texture360.dispose(),this._scene360&&this._mesh360&&this._scene360.remove(this._mesh360)}catch(t){console.trace(t)}clearInterval(this._progressiveInterval360),K.removeElement(this._canvas360),this._resetVars()}},{key:"resize",value:function(){if(this._renderer360&&this._camera360){var t=-1,e=-1;this._rmp.isInFullscreen?this._rmp.hasNativeFullscreenSupport?(t=yt.screenDimension.width,e=yt.screenDimension.height):this._rmp.fullscreenFullWindowMode&&yt.viewportSize.width>-1&&yt.viewportSize.height>-1&&(t=yt.viewportSize.width,e=yt.viewportSize.height):(t=this._rmp.width,e=this._rmp.height),t>0&&e>0&&(this._renderer360.setSize(t,e),this._camera360.aspect=t/e,this._camera360.updateProjectionMatrix())}}},{key:"_tsOnMouseDownIos",value:function(t){if(t){try{t.preventDefault()}catch(e){console.trace(e)}this._dragStart360.x=K.getPosXTouch(t),this._dragStart360.y=K.getPosYTouch(t),this._canvas360.classList.add("grabbing"),this._mouseDown360=!0}}},{key:"_tsOnMouseDown",value:function(t){t&&("mousedown"===t.type?(this._dragStart360.x=K.getPosX(t),this._dragStart360.y=K.getPosY(t)):"touchstart"===t.type&&(this._dragStart360.x=K.getPosXTouch(t),this._dragStart360.y=K.getPosYTouch(t)),this._canvas360.classList.add("grabbing"),this._mouseDown360=!0)}},{key:"_tsOnMouseUp",value:function(){this._canvas360.classList.remove("grabbing"),this._mouseDown360=!1}},{key:"_tsOnMouseMove",value:function(t){if(!this._moveInProgress360&&this._mouseDown360){var e,i,r,a;"mousemove"===t.type?(r=K.getPosX(t),a=K.getPosY(t)):"touchmove"===t.type&&(r=K.getPosXTouch(t),a=K.getPosYTouch(t)),e=this._dragStart360.x-r,i=this._dragStart360.y-a,this._dragStart360.x=r,this._dragStart360.y=a;var n=this._rmp.getPlayerWidth()/this._rmp.getPlayerHeight(),s=1;this._rmp.dom.container.classList.contains("rmp-extrasmall")?s=2:this._rmp.dom.container.classList.contains("rmp-small")&&(s=1.5),this._lon+=.1*e*s,this._lat+=.1*i*n*s}}},{key:"_setFocalLength",value:function(){this._camera360&&(this._fov>this._rmp.video360MaxFocalLength?this._fov=this._rmp.video360MaxFocalLength:this._fov0?this._fov-=10:this._fov+=10,this._setFocalLength())}},{key:"_tsWireUI",value:function(){yt.isMobile?(yt.isIos[0]?this._rmp.dom.content.addEventListener("touchstart",this._tsOnMouseDownIos.bind(this)):this._rmp.dom.content.addEventListener("touchstart",this._tsOnMouseDown.bind(this),!!yt.hasPassiveEventListeners&&{passive:!0}),this._rmp.dom.content.addEventListener("touchend",this._tsOnMouseUp.bind(this)),this._rmp.dom.content.addEventListener("touchmove",this._tsOnMouseMove.bind(this),!!yt.hasPassiveEventListeners&&{passive:!0})):(this._rmp.dom.content.addEventListener("mousedown",this._tsOnMouseDown.bind(this)),this._rmp.dom.content.addEventListener("mouseup",this._tsOnMouseUp.bind(this)),this._rmp.dom.content.addEventListener("mouseleave",this._tsOnMouseUp.bind(this)),this._rmp.dom.content.addEventListener("mousemove",this._tsOnMouseMove.bind(this)),this._rmp.dom.content.addEventListener("wheel",this._tsOnWheel.bind(this)))}},{key:"_animate360",value:function(){try{this._requestAnimation360=requestAnimationFrame(this._animate360.bind(this))}catch(r){console.trace(r)}this._lat=Math.max(-85,Math.min(85,this._lat));var t=THREE.MathUtils.degToRad(90-this._lat),e=THREE.MathUtils.degToRad(this._lon),i=50*Math.sin(t);this._camera360.position.x=i*Math.cos(e),this._camera360.position.y=50*Math.cos(t),this._camera360.position.z=i*Math.sin(e),this._camera360.lookAt(this._camera360.target),this._renderer360.render(this._scene360,this._camera360)}},{key:"setCamLatLongFov",value:function(t,e,i,r,a){var n=this;if(!this._moveInProgress360){if(this._moveInProgress360=!0,K.eventStopPrevent(a),r)return this._lon=e,this._lat=t,this._fov=i,this._setFocalLength(),void(this._moveInProgress360=!1);Ot.showChrome.call(this._rmp),0!==e&&(this._lon+=e/Wn),0!==t&&(this._lat-=t/Wn),0!==i&&(this._fov-=i/Wn,this._setFocalLength());var s=1;clearInterval(this._progressiveInterval360),this._progressiveInterval360=setInterval((function(){0!==e&&(n._lon+=e/Wn),0!==t&&(n._lat-=t/Wn),0!==i&&(n._fov-=i/Wn,n._setFocalLength()),++s===Wn&&(n._moveInProgress360=!1,clearInterval(n._progressiveInterval360))}),Wn)}}},{key:"_onPlayingUpdate360UI",value:function(){this._tsWireUI.call(this);var t=this._rmp.dom.container.querySelector(".rmp-360-text");null!==t&&K.removeElement(t),K.show(this._rmp.dom.ui360);var e=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-top rmp-i rmp-i-up",null,null);this._setCamLatLongFovTopFn=this.setCamLatLongFov.bind(this,20,0,0,!1),e.addEventListener("touchend",this._setCamLatLongFovTopFn),e.addEventListener("click",this._setCamLatLongFovTopFn),this._rmp.dom.ui360.appendChild(e);var i=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-bottom rmp-i rmp-i-down",null,null);this._setCamLatLongFovBottomFn=this.setCamLatLongFov.bind(this,-20,0,0,!1),i.addEventListener("touchend",this._setCamLatLongFovBottomFn),i.addEventListener("click",this._setCamLatLongFovBottomFn),this._rmp.dom.ui360.appendChild(i);var r=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-left rmp-i rmp-i-left",null,null);this._setCamLatLongFovLeftFn=this.setCamLatLongFov.bind(this,0,-20,0,!1),r.addEventListener("touchend",this._setCamLatLongFovLeftFn),r.addEventListener("click",this._setCamLatLongFovLeftFn),this._rmp.dom.ui360.appendChild(r);var a=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-right rmp-i rmp-i-right",null,null);this._setCamLatLongFovRightFn=this.setCamLatLongFov.bind(this,0,20,0,!1),a.addEventListener("touchend",this._setCamLatLongFovRightFn),a.addEventListener("click",this._setCamLatLongFovRightFn),this._rmp.dom.ui360.appendChild(a);var n=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-minus rmp-i rmp-i-minus-360",null,null);this._setCamLatLongFovMinusFn=this.setCamLatLongFov.bind(this,0,0,-10,!1),n.addEventListener("touchend",this._setCamLatLongFovMinusFn),n.addEventListener("click",this._setCamLatLongFovMinusFn),this._rmp.dom.ui360.appendChild(n);var s=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-reset rmp-i rmp-i-reset-360",null,null);this._setCamLatLongFovResetFn=this.setCamLatLongFov.bind(this,this._rmp.video360InitialLat,this._rmp.video360InitialLon,this._rmp.video360FocalLength,!0),s.addEventListener("touchend",this._setCamLatLongFovResetFn),s.addEventListener("click",this._setCamLatLongFovResetFn),this._rmp.dom.ui360.appendChild(s);var o=K.createElement("button","rmp-button rmp-360-nav-button rmp-360-nav-plus rmp-i rmp-i-plus-360",null,null);this._setCamLatLongFovPlusFn=this.setCamLatLongFov.bind(this,0,0,10,!1),o.addEventListener("touchend",this._setCamLatLongFovPlusFn),o.addEventListener("click",this._setCamLatLongFovPlusFn),this._rmp.dom.ui360.appendChild(o),Ga.make.call(this._rmp,e,"360 "+this._rmp.labels.hint.up,!0),Ga.make.call(this._rmp,i,"360 "+this._rmp.labels.hint.down,!0),Ga.make.call(this._rmp,r,"360 "+this._rmp.labels.hint.left,!0),Ga.make.call(this._rmp,a,"360 "+this._rmp.labels.hint.right,!0),Ga.make.call(this._rmp,n,"360 "+this._rmp.labels.hint.minus,!0),Ga.make.call(this._rmp,s,"360 "+this._rmp.labels.hint.default,!0),Ga.make.call(this._rmp,o,"360 "+this._rmp.labels.hint.plus,!0)}},{key:"_UI360Interaction",value:function(t){K.eventStopPrevent(t),Ot.showChrome.call(this._rmp)}},{key:"_onReadyMain360",value:function(){var t=this;K.getNow(),this._rmp.refTime,this._rmp.one("playing",this._onPlayingUpdate360UI.bind(this));var e=this._rmp.getPlayerWidth(),i=this._rmp.getPlayerHeight(),r=e/i;this._lat=this._rmp.video360InitialLat,this._lon=this._rmp.video360InitialLon,this._fov=this._rmp.video360FocalLength,this._camera360=new THREE.PerspectiveCamera(this._rmp.video360FocalLength,r,1,1100),this._camera360.target=new THREE.Vector3(0,0,0),this._scene360=new THREE.Scene;var a=2*Math.round(60/r/2),n=new THREE.SphereBufferGeometry(500,60,a);n.scale(-1,1,1),this._texture360=new THREE.VideoTexture(this._rmp.dom.video);var s=new THREE.MeshBasicMaterial({map:this._texture360});this._mesh360=new THREE.Mesh(n,s),this._scene360.add(this._mesh360),this._renderer360=new THREE.WebGLRenderer,this._renderer360.setPixelRatio(yt.devicePixelRatio),this._renderer360.setSize(e,i),this._canvas360=this._renderer360.domElement,this._canvas360.className="rmp-canvas-360 rmp-grab",this._rmp.dom.content.insertBefore(this._canvas360,this._rmp.dom.poster),K.hide(this._rmp.dom.video),this._rmp.dom.ui360=K.createElement("div","rmp-360-nav rmp-color-bg"),this._UI360InteractionFn=this._UI360Interaction.bind(this),this._rmp.dom.ui360.addEventListener("touchend",this._UI360InteractionFn),this._rmp.dom.ui360.addEventListener("click",this._UI360InteractionFn),this._rmp.dom.ui360.addEventListener("dblclick",K.stopPropagation),yt.isMobile||(this._rmp.dom.ui360.addEventListener("mouseenter",(function(e){e&&e.stopPropagation(),t._rmp.forceResetTimer=!0})),this._rmp.dom.ui360.addEventListener("mouseleave",(function(e){e&&e.stopPropagation(),t._rmp.forceResetTimer=!1}))),K.hide(this._rmp.dom.ui360),this._rmp.dom.container.appendChild(this._rmp.dom.ui360);var o=K.createElement("div","rmp-360-text rmp-color-bg","360°",this._rmp.rtl);this._rmp.dom.container.appendChild(o),this._animate360()}},{key:"_run360",value:function(){K.getNow(),this._rmp.refTime,this._rmp.getReady()?this._onReadyMain360():this._rmp.one("ready",this._onReadyMain360.bind(this))}},{key:"init",value:function(){if("undefined"!=typeof THREE)this._run360();else{var t=this._rmp.pathToRmpFiles+"three/three.min.js";0,K.getNow(),this._rmp.refTime,K.getScript(t,this._run360.bind(this),Oa.error.bind(this._rmp,500))}}}]),t}(),Gn={},Jn=function(){if(this.firstTimeupdate){var t=this.getErrorData().code,e=this.copyBackupSrc.shift();switch(t){case 201:case 203:case 204:case 205:case 301:case 303:case 306:case 307:this.setSrc(e,this.copyBackupSrc)}}},Kn=function(t){var e=this;t.forEach((function(t){var i=e.getPlayerInitialized();if(t.intersectionRatio>e.viewablePreviousRatio){if(e.viewableAutoplay&&e.play(),!e.viewablePlayPause&&!i)try{e.viewableObserver.disconnect()}catch(r){console.trace(r)}e.playerVisible=!0,e.dispatch("playerinview")}else e.viewablePlayPause&&i&&e.pause(),e.playerVisible=!1,e.dispatch("playeroutofview");e.viewablePreviousRatio=t.intersectionRatio}))},Qn=function(){var t={root:null,rootMargin:"0px",threshold:[this.viewableThreshold]};this.viewablePreviousRatio=this.viewableThreshold,this.viewableObserver=new IntersectionObserver(Kn.bind(this),t),this.viewableObserver.observe(this.dom.container)},Yn=function(){var t=this;navigator.mediaSession.playbackState="playing";var e={};["title","artist","album","artwork"].forEach((function(i){("artwork"!==i&&t.contentMetadata[i]||Array.isArray(t.contentMetadata[i])&&t.contentMetadata[i].length>0)&&(e[i]=t.contentMetadata[i])})),navigator.mediaSession.metadata=new MediaMetadata(this.contentMetadata),this.dom.video.addEventListener("playing",(function(){navigator.mediaSession.playbackState="playing"})),this.dom.video.addEventListener("pause",(function(){navigator.mediaSession.playbackState="paused"}));try{navigator.mediaSession.setActionHandler("seekbackward",(function(){vr.rewind.call(t,10,null)})),navigator.mediaSession.setActionHandler("play",(function(){t.play()})),navigator.mediaSession.setActionHandler("stop",(function(){t.stop()})),navigator.mediaSession.setActionHandler("pause",(function(){t.pause()})),navigator.mediaSession.setActionHandler("seekforward",(function(){vr.forward.call(t,10,null)})),(this.hasPlaylist||this.hasRelated)&&(navigator.mediaSession.setActionHandler("previoustrack",(function(){if(t.hasPlaylist){var e=t.getCurrentPlaylistItemIndex();t.setPlaylistItem(e-1)}else if(t.hasRelated){var i=t.getCurrentRelatedItemIndex();t.setRelatedItem(i-1)}})),navigator.mediaSession.setActionHandler("nexttrack",(function(){if(t.hasPlaylist){var e=t.getCurrentPlaylistItemIndex();t.setPlaylistItem(e+1)}else if(t.hasRelated){var i=t.getCurrentRelatedItemIndex();t.setRelatedItem(i+1)}})))}catch(i){console.trace(i)}},Xn=function(){var t=this;this.ccFiles.forEach((function(e){var i=document.createElement("track");i.setAttribute("kind","captions"),i.setAttribute("srclang",e[0]),i.setAttribute("label",e[1]),i.setAttribute("src",e[2]),t.dom.video.appendChild(i)}))};Gn.createVideoTag=function(){var t=this;if(this.audioOnly?this.dom.video=document.createElement("audio"):this.dom.video=document.createElement("video"),this.hasExternalCCFiles&&yt.isIos[0]&&(this.dom.video.textTracks.addEventListener("addtrack",(function(){t.ccFilesNativeTracksLoaded++,t.ccFiles.length===t.ccFilesNativeTracksLoaded+1&&(t.loadedCCFiles=t.ccFiles,nn.appendUI.call(t))})),this.dom.video.textTracks.addEventListener("change",(function(){if(t.isInFullscreen){for(var e=t.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),i=0,r=e.length;i-1){this.validatedLanguage=i[a],r.test(this.validatedLanguage)&&(this.rtl=!0);break}}var l,d=Re[this.validatedLanguage];if(this.fixedLabelsLanguage)d=m()(i).call(i,this.fixedLabelsLanguage)>-1?Re[this.fixedLabelsLanguage]:Re.english;else if(this.detectViewerLanguage||K.isEmptyObject(this.labels)){if(!K.isEmptyObject(this.labels)&&this.labels[this.validatedLanguage]&&!K.isEmptyObject(this.labels[this.validatedLanguage]))for(var h=E()(Re[this.validatedLanguage]),p=function(e){var i=E()(Re[t.validatedLanguage][h[e]]);if(void 0===t.labels[t.validatedLanguage][h[e]])return"continue";i.forEach((function(i){n(t.labels[t.validatedLanguage][h[e]][i])===n(Re[t.validatedLanguage][h[e]][i])&&(d[h[e]][i]=t.labels[t.validatedLanguage][h[e]][i])}))},c=0,u=h.length;c0&&(this.adTagWaterfall=this.adScheduleWaterfall),this.adSchedule.postroll&&this.loop&&delete this.adSchedule.postroll,this.adSchedule.preroll||(this.emptyInitAdTagUrl=!0,this.adSchedule.preroll=""),this.adSchedule.postroll||(this.adSchedule.postroll=""))}""!==this.adTagUrl||""===this.adsResponse||this.adScheduleInput||this.hasRelated||this.hasPlaylist||(this.adTagUrl=this.adsResponse),(this.isVod||this.adOutStream)&&this.adTagReloadOnEnded&&(this.originalAdTagUrl=this.adTagUrl,this.originalAdTagWaterfall=Ue(this.adTagWaterfall),this.adScheduleInput&&(this.originalAdSchedule={},this.originalAdSchedule.preroll=this.adSchedule.preroll,this.scheduledMidRolls&&(this.originalAdSchedule.midroll=Ue(this.adSchedule.midroll)),this.originalAdSchedule.postroll=this.adSchedule.postroll),this.adOutStream||(this.onEndedWaitForPlay=Be._onEndedWaitForPlay.bind(this),this.on("ended",this.onEndedWaitForPlay))),this.hasRelated||this.hasPlaylist||this.adScheduleInput||""!==this.adTagUrl||(this.emptyInitAdTagUrl=!0)}(Array.isArray(this.backupSrc)&&this.backupSrc.length>0&&(this.copyBackupSrc=Ue(this.backupSrc),this.copyBackupSrc.push(this.src),this.onErrorSetBackupSrc=Jn.bind(this),this.on("error",this.onErrorSetBackupSrc)),yt.hasIntersectionObserver&&this.viewableAutoplay&&this.one("ready",Qn.bind(this)),this.audioOnly&&(this.dom.container.classList.add("rmp-audio-only"),this.labels.error.noSupportInstallChrome="",this.sharing=!1,this.contentMetadata.title="",this.seekBarThumbnailsLoc="",this.speed=!1,this.ads&&(this.adParser="ima")),this.hasRelated||this.hasPlaylist||this.adOutStream||Oa.detectSrc.call(this),this.sharing&&""===this.sharingUrl&&(this.sharingUrl=document.URL),gn.init.call(this),this.video360&&(yt.ok360?(this.dom.container.classList.add("rmp-360-ui"),yt.isApple&&(this.ads&&"rmp-vast"===this.adParser&&(this.ads=!1),yt.isIos[0]&&(this.fullscreenFullWindowMode=!0)),this.rmpThreeSixty=new jn(this),this.rmpThreeSixty.init()):K.isEmptyObject(this.video360FallbackSrc)?(wt.resetHasStreamType.call(this),this.video360=!1):(this.src=this.video360FallbackSrc,this.video360=!1,wt.resetHasStreamType.call(this),Oa.detectSrc.call(this))),this.hasNativeFullscreenSupport=yt.hasNativeFullscreenSupport,this.ads&&yt.isIos[0]&&yt.isIos[1]>=10&&!this.adForceNativeFullscreenOnIosForAds&&(this.fullscreenFullWindowMode=!0,this.adDisableCustomPlaybackForIOS10Plus=!0),yt.isInIframe&&(this.fullscreenFullWindowMode=!1,this.adDisableCustomPlaybackForIOS10Plus=!1),this.fullscreenFullWindowMode&&(this.hasNativeFullscreenSupport=!1,this.automaticFullscreenOnLandscape=!1),yt.isMobile&&yt.isMobilePhoneButNotTablet&&this.hasNativeFullscreenSupport||(this.automaticFullscreenOnLandscape=!1),this.contentMetadata=K.filterContentMetadata(this.contentMetadata),Oa.assignPoster.call(this),this.contentMetadata,navigator.mediaSession&&!yt.isApple&&this.dom.video.addEventListener("playing",Yn.bind(this),{once:!0}),this.enableMatomoTracking)&&(this.dataMatomoTitle?l=this.dataMatomoTitle:this.contentMetadata.title&&(l=this.contentMetadata.title),this.dom.video.setAttribute("data-matomo-title",l));if(Ga.init.call(this),this.licenseFailedDestroyRequested)Oa.error.call(this,104);else{if(this.hasRelated)return this.relatedAudioOnly&&this.dom.container.classList.add("rmp-related-audio-only"),void xi.init.call(this);if(this.hasPlaylist)return this.playlistAudioOnly&&this.dom.container.classList.add("rmp-playlist-audio-only"),void Vi.init.call(this);this.rmpGoogleAnalytics&&this.rmpGoogleAnalytics.init(),di.init.call(this),li.init.call(this)}};Gn.postAutoplayDetection=function(){(""!==this.relatedLoc||Array.isArray(this.relatedData)&&this.relatedData[0])&&(this.hasRelated=!0,""!==this.relatedLoc&&Array.isArray(this.relatedData)&&this.relatedData[0]&&(this.relatedLoc=""),this.quickRewind=0,this.quickForward=0,this.srcChangeAutoplay||(this.relatedUpNextAutoplay=!1),this.relatedUpNextAutoplay&&(this.loop=!1)),(""!==this.playlistLoc||Array.isArray(this.playlistData)&&this.playlistData[0])&&(this.hasPlaylist=!0,""!==this.playlistLoc&&Array.isArray(this.playlistData)&&this.playlistData[0]&&(this.playlistLoc=""),this.autoHeightMode=!0,this.srcChangeAutoplay||(this.playlistUpNextAutoplay=!1),this.playlistUpNextAutoplay&&(this.loop=!1)),Le.detect.call(this)&&(this.hasTranscripts=!0,this.autoHeightMode=!0),(this.hasPlaylist||this.hasRelated)&&(this.audioOnly=!1,this.adTagReloadOnEnded=!1,this.adSchedule={},this.backupSrc=[],this.chaptersLoc=""),this.bitrateDataDisplayed=this.bitrateDataDisplayed.toLowerCase(),this.audioOnly&&(this.capLevelToPlayerSize=!1,this.ignoreDevicePixelRatio=!1,this.autoHeightMode=!1,this.height=48,this.pip=!1,this.skin="s1",""===this.skinBackgroundColor&&(this.skinBackgroundColor="212121")),this.audioOnlyUseVideoLayout&&(this.pip=!1),Zn.call(this)};var $n=Gn,ts={fireSrcChanged:function(){this.changingSrc=!1,this.dispatch("srcchanged")},afterSrcSwitch:function(t){this.off("loadedmetadata error",this.afterSrcSwitch),t&&t.type&&("loadedmetadata"===t.type?(this.srcChangeAutoplay?this.play():(Ot.showCentralPlay.call(this),this.showPoster()),this.rmpGoogleCast&&this.castConnected&&this.rmpGoogleCast.loadCastMedia(!0),ts.fireSrcChanged.call(this)):"error"===t.type&&(this.changingSrc=!1))},resetStatus:function(){this.abrAutoMode||!this.readingMse&&!this.readingHls||(this.abrAutoMode=!0),this.analyticsSecondsPlayed=0},resetUI:function(t){this.hasChapters&&De.destroy.call(this),this.hasThumbnails&&Ce.destroy.call(this);var e=this.dom.content.querySelector(".rmp-error");e&&K.removeElement(e);var i=this.dom.content.querySelector(".rmp-error-text");i&&K.removeElement(i),this.dom.container.classList.remove("rmp-linear-ad-ui","rmp-module-open-ui","rmp-ad-no-ui","rmp-audio-ui");var r=!1;"number"==typeof t&&t>-1&&(r=!0),r||this.dom.container.classList.remove("rmp-captions-ui"),Ot.showLoadingSpin.call(this),Ot.showChrome.call(this),ae.closeAll.call(this),this.setSrcPDModule||(this.dom.quality&&Sr.destroy.call(this),this.dom.audio&&ae.destroy.call(this,"audio"),this.dom.captions&&nn.destroy.call(this),this.dom.current&&this.dom.handle&&this.dom.timeElapsedText&&(this.dom.current.style.width=0,this.dom.handle.style.left=0,K.setText(this.dom.timeElapsedText,"00:00")))}},es=function(){this.off("adcontentresumerequested",this.setSrcResetIMA),this.rmpAdsWithIma.resetAdsForNewRequest(),this.setSrcAdReset=!0},is=function(){this.off("addestroyed",this.setSrcResetRmpVast),this.setSrcAdReset=!0};ts.resetAds=function(){this.imaAdsManager?this.getAdLinear()?(this.setSrcResetIMA=es.bind(this),this.on("adcontentresumerequested",this.setSrcResetIMA),this.stopAds()):(this.rmpAdsWithIma.resetAdsForNewRequest(),this.setSrcAdReset=!0):this.rmpVast&&(this.setSrcResetRmpVast=is.bind(this),this.on("addestroyed",this.setSrcResetRmpVast),this.stopAds())};var rs=function(){this.dom.video.src=this.startingBitratePath;try{this.dom.video.load()}catch(t){console.trace(t)}};ts.resetNativeHtml5MediaBufferAction=function(t){Oa.checkStreams.call(this,rs.bind(this),this.backupSrc,t)},ts.readingNextSrc=function(){wt.resetNextReading.call(this),this.hasDash&&this.okDashShaka&&this.dashFirst?(this.nextReadingDash=!0,this.nextReadingShaka=!0,this.nextReadingPDorNative=!1,this.nextReadingMse=!0,this.startingBitratePath=this.src.dash):this.hasFps&&this.okFps?(this.nextReadingHls=!0,this.nextReadingFps=!0,this.nextReadingPDorNative=!0,this.nextReadingMse=!1,this.startingBitratePath=this.src.fps):this.hasHls&&this.okHlsJS&&"hlsjs"===this.hlsEngine?(this.nextReadingHlsJS=!0,this.nextReadingPDorNative=!1,this.nextReadingMse=!0,this.startingBitratePath=this.src.hls):this.hasHls&&this.okDashShaka&&"shakaplayer"===this.hlsEngine?(this.nextReadingHlsShaka=!0,this.nextReadingShaka=!0,this.nextReadingPDorNative=!1,this.nextReadingMse=!0,this.startingBitratePath=this.src.hls):this.hasHls&&this.okHls?(this.nextReadingHls=!0,this.nextReadingPDorNative=!0,this.nextReadingMse=!1,this.startingBitratePath=this.src.hls):this.hasDash&&this.okDashShaka&&!this.dashFirst?(this.nextReadingDash=!0,this.nextReadingShaka=!0,this.nextReadingPDorNative=!1,this.nextReadingMse=!0,this.startingBitratePath=this.src.dash):(this.nextReadingPDorNative=!0,this.nextReadingMse=!1,this.audioOnly?this.hasM4a&&(this.okM4a||this.pdCheckCodecsDone)?(this.nextReadingM4a=!0,this.startingBitratePath=this.src.m4a):this.hasMp3&&(this.okMp3||this.pdCheckCodecsDone)?(this.nextReadingMp3=!0,this.startingBitratePath=this.src.mp3):this.hasOgg&&(this.okOgg||this.pdCheckCodecsDone)?(this.nextReadingOgg=!0,this.startingBitratePath=this.src.ogg):Oa.error.call(this,107):this.hasMp4&&(this.okMp4||this.pdCheckCodecsDone)?(this.nextReadingMp4=!0,this.nextReadingWebM=!1,this.startingBitratePath=this.src.mp4[0]):this.hasWebM&&(this.okWebM||this.pdCheckCodecsDone)?(this.nextReadingMp4=!0,this.nextReadingWebM=!0,this.startingBitratePath=this.src.webm[0]):this.playlistAudioOnly||this.relatedAudioOnly||this.audioOnlyUseVideoLayout?this.hasM4a&&(this.okM4a||this.pdCheckCodecsDone)?(this.nextReadingM4a=!0,this.startingBitratePath=this.src.m4a):this.hasMp3&&(this.okMp3||this.pdCheckCodecsDone)?(this.nextReadingMp3=!0,this.startingBitratePath=this.src.mp3):this.hasOgg&&(this.okOgg||this.pdCheckCodecsDone)?(this.nextReadingOgg=!0,this.startingBitratePath=this.src.ogg):Oa.error.call(this,107):Oa.error.call(this,107))},ts.updateReadingSrc=function(){wt.resetReading.call(this),this.hasDash&&this.okDashShaka&&this.dashFirst?(this.readingDashShaka=!0,this.readingShaka=!0,this.readingPDorNative=!1,this.readingMse=!0):this.hasFps&&this.okFps?(this.readingHls=!0,this.readingFps=!0,this.readingPDorNative=!0,this.readingMse=!1):this.hasHls&&this.okHlsJS&&"hlsjs"===this.hlsEngine?(this.readingHlsJS=!0,this.readingPDorNative=!1,this.readingMse=!0):this.hasHls&&this.okDashShaka&&"shakaplayer"===this.hlsEngine?(this.readingHlsShaka=!0,this.readingShaka=!0,this.readingPDorNative=!1,this.readingMse=!0):this.hasHls&&this.okHls?(this.readingHls=!0,this.readingPDorNative=!0,this.readingMse=!1):this.hasDash&&this.okDashShaka&&!this.dashFirst?(this.readingDashShaka=!0,this.readingShaka=!0,this.readingPDorNative=!1,this.readingMse=!0):(this.readingPDorNative=!0,this.readingMse=!1,this.audioOnly?this.hasM4a&&(this.okM4a||this.pdCheckCodecsDone)?this.readingM4a=!0:this.hasMp3&&(this.okMp3||this.pdCheckCodecsDone)?this.readingMp3=!0:this.hasOgg&&(this.okOgg||this.pdCheckCodecsDone)?this.readingOgg=!0:Oa.error.call(this,107):this.hasMp4&&(this.okMp4||this.pdCheckCodecsDone)?(this.readingMp4=!0,this.readingWebM=!1):this.hasWebM&&(this.okWebM||this.pdCheckCodecsDone)?(this.readingMp4=!0,this.readingWebM=!0):this.playlistAudioOnly||this.relatedAudioOnly||this.audioOnlyUseVideoLayout?this.hasM4a&&(this.okM4a||this.pdCheckCodecsDone)?this.readingM4a=!0:this.hasMp3&&(this.okMp3||this.pdCheckCodecsDone)?this.readingMp3=!0:this.hasOgg&&(this.okOgg||this.pdCheckCodecsDone)?this.readingOgg=!0:Oa.error.call(this,107):Oa.error.call(this,107))};var as=function(){if(ts.updateReadingSrc.call(this),this.nextReadingHlsJS)this.rmpShaka=null,this.rmpHlsJS||(this.rmpHlsJS=new Qi(this)),this.rmpHlsJS.init();else if(this.nextReadingShaka)this.rmpHlsJS=null,this.rmpShaka||(this.rmpShaka=new $i(this)),this.rmpShaka.init();else{this.rmpHlsJS=null,this.rmpShaka=null;var t="mp4";this.nextReadingMp4?(Sr.setUpMP4UI.call(this),this.nextReadingWebM&&(t="webm")):this.nextReadingHls?(this.rmpHls=new Xe(this),this.rmpHls.init(),t="hls"):this.nextReadingM4a?t="m4a":this.nextReadingMp3?t="mp3":this.nextReadingOgg&&(t="ogg"),ts.resetNativeHtml5MediaBufferAction.call(this,t)}};ts.resetBuffer=function(){var t=this;if(this.on("loadedmetadata error",this.afterSrcSwitch),this.readingHlsJS){if(this.rmpHlsJS&&this.rmpHlsJS.destroy(),this.textTracksList.length>0){this.textTracksList=[],this.textTrackProcessCues=[],this.textTracksLangList=[],this.dom.content.removeChild(this.dom.video),$n.createVideoTag.call(this),Ta.prepareVideoElementForAppending.call(this),this.dom.content.appendChild(this.dom.video);try{this.dom.video.load()}catch(e){console.trace(e)}}as.call(this)}else this.readingShaka?(this.rmpShaka&&this.rmpShaka.destroy(),this.shakaPlayer?this.shakaPlayer.destroy().then((function(){as.call(t)})):as.call(this)):(this.rmpHls&&this.rmpHls.destroy(),as.call(this))};var ns=ts,ss={},os=function(){var t=this;setTimeout((function(){t.destroyRunning=!1,t.dispatch("destroycompleted")}),1)};ss.checkForPiP=function(){var t=this;this.pip?Fr.destroy.call(this).then((function(){os.call(t)})):os.call(this)};var ls=function(){this.off("adcontentresumerequested",this.postImaAdDestroy),this.rmpAdsWithIma&&(this.rmpAdsWithIma.resetAdsForNewRequest(),this.rmpAdsWithIma.destroy()),this.adsDestroyed=!0},ds=function(){var t=this;this.off("play",this.onRePlayLoadAdTag),this.off("ended",this.onEndedWaitForPlay),this.adScheduleInput&&Be.destroyAdScheduler.call(this),Oa.clearAdAutoplayEvents.call(this),"ima"===this.adParser?(null===this.postImaAdDestroy&&(this.postImaAdDestroy=ls.bind(this)),this.getAdOnStage()?this.getAdLinear()?(this.on("adcontentresumerequested",this.postImaAdDestroy),this.stopAds()):(this.stopAds(),this.postImaAdDestroy()):this.postImaAdDestroy()):this.getAdOnStage()?this.getAdLinear()?(this.on("addestroyed",(function(){t.adsDestroyed=!0})),this.stopAds()):(this.stopAds(),this.adsDestroyed=!0):this.adsDestroyed=!0},hs=function(){var t=this;if(this.readingShaka){if(null===this.shakaPlayer)return void ss.checkForPiP.call(this);this.rmpShaka&&this.rmpShaka.destroy();var e=!0;this.shakaPlayer.destroy().then((function(){e&&(e=!1,ss.checkForPiP.call(t))})),setTimeout((function(){e&&(e=!1,ss.checkForPiP.call(t))}),1e3)}else if(this.readingHlsJS){if(null===this.hlsJS)return void ss.checkForPiP.call(this);this.rmpHlsJS&&this.rmpHlsJS.destroy(),ss.checkForPiP.call(this)}else this.readingPDorNative?(K.clearNativeHtml5Buffer(this.dom.video),ss.checkForPiP.call(this)):this.readingOutstream&&ss.checkForPiP.call(this)},ps=function(){nn.destroy.call(this),this.rmpThreeSixty&&this.rmpThreeSixty.destroy(),hs.call(this)};ss.html5Destroy=function(){var t=this;if(document.removeEventListener("fullscreenchange",this.fullscreenchange),document.removeEventListener("fullscreenerror",this.fullscreenerror),document.removeEventListener("mouseup",this.mouseupDoc),document.removeEventListener("mousemove",this.mousemoveDoc),document.removeEventListener("mouseup",this.volumeMouseup),document.removeEventListener("mousemove",this.volumeMousemove),this.rmpHls&&this.rmpHls.destroy(),clearTimeout(this.throttledResizeTimeout),clearTimeout(this.cssLinkTimeout),clearTimeout(this.logRetryTimeout),clearTimeout(this.orientationChangeResizeTimeout),clearTimeout(this.siteCheckerRetryTimeout),clearTimeout(this.rmpPlusCheckerRetryTimeout),clearTimeout(this.hideIndicatorTimeout),clearInterval(this.adSkipInterval),clearInterval(this.adCountdownInterval),clearInterval(this.liveAdSchedulerChecker),clearInterval(this.setSrcResetAdInterval),clearInterval(this.chromeTimer),clearInterval(this.cuePointsInterval),clearInterval(this.nativeHlsMetaExtXProgramDatetimeInterval),clearInterval(this.analyticsInterval),clearInterval(this.adRemainingTimeBarInterval),this.viewableObserver)try{this.viewableObserver.disconnect()}catch(i){console.trace(i)}if(this.rmpGoogleCast&&this.rmpGoogleCast.destroy(),un.destroy.call(this),this.dummyThumbnailsImg&&Ce.destroy.call(this),this.ads){ds.call(this);var e=setInterval((function(){t.adsDestroyed&&(clearInterval(e),ps.call(t))}),10)}else ps.call(this)},ss.exitFSDestroy=function(){this.exitFSDestroy&&this.off("exitfullscreen",this.exitFSDestroy),this.proceedDestroy=!0};var cs=ss,ms={white:"FFFFFF",black:"000000",red:"FF0000",green:"008000",blue:"0000FF",yellow:"FFFF00",magenta:"FF00FF",cyan:"00FFFF"},us=function(){function t(e){d(this,t),this._rmp=e,this._castSessionResumed=!1,this._castDisplayMessage=null,this._castDisplayMessageStatus=null,this._castError=!1,this._castContentType="",this._castModuleSet=!1,this._castTitle="Media",this._castContext=null,this._castTextForegroundColor="FFFFFF99",this._castTextBackgroundColor="00000050",this._castTextFontScale=1,this._castTextFontFamily="arial",this._castTextEdgeType="NONE",this._castTextWindowColor="00000000",this._castPlayerStateChangedFn=null,this._castPlayerIsConnectedChangedFn=null,this._castVolumeLevelChangedFn=null,this._castIsPausedChangedFn=null,this._castSessionInfoFn=null,this._castCurrentTimeChangedFn=null,this._castDurationChangedFn=null,this._castStateChangedFn=null,this._castIsPlayingBreakChangedFn=null,this._castWhenSkippableChangedFn=null,this._onEndedReloadMediaOnCastingDeviceFn=null,this._onPlayingSetupRemotePlayerFn=null,this._castInteractionFn=null,this._initCastFn=null}return p(t,[{key:"_resetCast",value:function(){this._rmp.castConnected=!1,this._rmp.castMedia=null,this._rmp.remotePlayerState="",this._rmp.dom.container.classList.remove("rmp-casting");try{this._rmp.castSession.endSession(!0)}catch(t){K.catch(t)}}},{key:"_updateCastDisplayMessage",value:function(){var t;if(this._rmp.remotePlayer){switch(this._rmp.remotePlayerState){case"LOADING":case"BUFFERING":Ot.showLoadingSpin.call(this._rmp);break;case"LOADED":case"ENDED":case"IDLE":case"PLAYING":case"PAUSED":Ot.hideLoadingSpin.call(this._rmp)}t=this._rmp.remotePlayerState}if(t||(t="STANDBY"),!this._castDisplayMessage){var e=K.createElement("div","rmp-cast-diplay-message-area");this._castDisplayMessage=K.createElement("div","rmp-cast-diplay-message-title"),this._castDisplayMessageStatus=K.createElement("div","rmp-cast-diplay-message-status"),e.appendChild(this._castDisplayMessage),e.appendChild(this._castDisplayMessageStatus);var i=this._rmp.dom.container.querySelectorAll(".rmp-button");i.length>0?this._rmp.dom.container.insertBefore(e,i[0]):this._rmp.dom.container.insertBefore(e,this._rmp.dom.controlBar)}var r=t;this._rmp.castSession&&(r+=" on "+this._rmp.castSession.getCastDevice().friendlyName),K.setText(this._castDisplayMessage,this._castTitle),K.setText(this._castDisplayMessageStatus,r)}},{key:"_onEndedReloadMediaOnCastingDevice",value:function(){this._rmp.off("play",this._onEndedReloadMediaOnCastingDeviceFn),this.loadCastMedia()}},{key:"_setupCastRemotePlayer",value:function(){this._rmp.dom.container.classList.add("rmp-casting"),this._rmp.castSession=this._castContext.getCurrentSession(),this._rmp.castSession&&(this._rmp.castConnected=!0,this._onEndedReloadMediaOnCastingDeviceFn=this._onEndedReloadMediaOnCastingDevice.bind(this),this._rmp.castSession.addMessageListener("urn:x-cast:com.radiantmediaplayer.cast",function(t,e){var i=JSON.parse(e);"STATUS"===i.type&&"MEDIA_FINISHED"===i.message&&(this._rmp.remotePlayerState="ENDED",this._updateCastDisplayMessage(),Ki.pause.call(this._rmp),this._rmp.hasRelated||this._rmp.hasPlaylist?Ki.endedPlaylistRelated.call(this._rmp):this._rmp.on("play",this._onEndedReloadMediaOnCastingDeviceFn),this._rmp.dispatch("ended"))}.bind(this)),this._castSessionResumed?(this._rmp.castMedia=this._rmp.castSession.getMediaSession(),this._rmp.castMedia,this._rmp.castMedia?this._rmp.pause():this.loadCastMedia()):this.loadCastMedia(),this._castSessionResumed=!1)}},{key:"_castPlayerStateChanged",value:function(){if(this._rmp.remotePlayer&&this._rmp.remotePlayer.playerState){switch(this._rmp.remotePlayer.playerState,this._rmp.remotePlayer.playerState){case"BUFFERING":this._rmp.remotePlayerState="BUFFERING",this._rmp.dispatch("castwaiting");break;case"PLAYING":this._rmp.remotePlayerState="PLAYING",this._rmp.dispatch("castplaying");break;case"IDLE":this._rmp.remotePlayerState="IDLE";break;case"PAUSED":this._rmp.remotePlayerState="PAUSED"}this._updateCastDisplayMessage()}}},{key:"_onPlayingSetupRemotePlayer",value:function(){this._rmp.off("playing",this._onPlayingSetupRemotePlayerFn),this._setupCastRemotePlayer()}},{key:"_castPlayerIsConnectedChanged",value:function(){if(this._rmp.remotePlayer.isConnected,this._rmp.remotePlayer.isConnected)this._rmp.getPlayerInitialized()?this._setupCastRemotePlayer():(this._rmp.initiatePlayback(),this._onPlayingSetupRemotePlayerFn=this._onPlayingSetupRemotePlayer.bind(this),this._rmp.on("playing",this._onPlayingSetupRemotePlayerFn));else{if(this._rmp.off("play",this._onEndedReloadMediaOnCastingDeviceFn),this._castError)this._rmp.play();else if(this._rmp.remotePlayer){if(this._rmp.remotePlayer.savedPlayerState.isPaused||this._rmp.play(),this._rmp.isVod&&this._rmp.remotePlayer&&this._rmp.remotePlayer.savedPlayerState&&this._rmp.remotePlayer.savedPlayerState.currentTime){var t=this._rmp.remotePlayer.savedPlayerState.currentTime;K.isNumber(t)&&t>=0&&this._rmp.seekTo(1e3*t)}else this._rmp.isDvr&&this._rmp.dvrJumpToLive();if(this._rmp.remotePlayer.isMuted)this._rmp.setMute(!0);else{var e,i=this._rmp.remotePlayer.volumeLevel;e=i<=0?0:i>=1?1:i,this._rmp.dom.video.volume=e}this._rmp.dom.captionsOverlayLevelsArea&&K.show(this._rmp.dom.fccCompliantSettings)}this._resetCast(),this._rmp.dispatch("castmediaunloaded")}}},{key:"_castIsPausedChanged",value:function(){this._rmp.remotePlayer&&(this._rmp.remotePlayer.isPaused?Ki.pause.call(this._rmp):Ki.play.call(this._rmp))}},{key:"_castCurrentTimeChanged",value:function(){Ki.timeupdate.call(this._rmp)}},{key:"_castDurationChanged",value:function(){(this._rmp.remotePlayer.duration||this._rmp.remotePlayer.mediaInfo&&this._rmp.remotePlayer.mediaInfo.duration)&&Ki.durationchange.call(this._rmp)}},{key:"_castVolumeLevelChanged",value:function(t){if(this._rmp.remotePlayer)if(this._rmp.remotePlayer.isMuted)t.type,this._rmp.setMute(!0);else{var e,i=this._rmp.remotePlayer.volumeLevel;e=i<=0?0:i>=1?1:i,t.type,this._rmp.dom.video.volume=e}}},{key:"_castIsPlayingBreakChanged",value:function(){this._rmp.remotePlayer.isPlayingBreak,this._rmp.remotePlayer.isPlayingBreak?(Be.setUIForAds.call(this._rmp,!0),this._rmp.adOnStage=!0,this._rmp.dispatch("adstarted")):(Be.setUIForAds.call(this._rmp,!1),this._rmp.adOnStage=!1,this._rmp.dispatch("adcomplete"))}},{key:"_castWhenSkippableChanged",value:function(){this._rmp.remotePlayer.whenSkippable,"number"==typeof this._rmp.remotePlayer.whenSkippable&&this._rmp.remotePlayer.whenSkippable>0&&(this._rmp.adSkipOffset=this._rmp.remotePlayer.whenSkippable,Be.appendSkipUI.call(this._rmp))}},{key:"_castInteraction",value:function(t){t&&t.stopPropagation(),this._rmp.getPlayerInitialized()||this._rmp.googleCastInit||(this._rmp.googleCastInit=!0,this._rmp.emptyInitAdTagUrl=!0,this._rmp.initiatePlayback()),Ot.showChrome.call(this._rmp)}},{key:"_setupCastModule",value:function(){this._castModuleSet=!0,this._rmp.dom.container.classList.add("rmp-cast-ui"),ae.append.call(this._rmp,"cast"),this._castInteractionFn=this._castInteraction.bind(this),this._rmp.dom.cast.addEventListener("touchend",this._castInteractionFn),this._rmp.dom.cast.addEventListener("click",this._castInteractionFn),this._rmp.readingDashShaka?this._castContentType="application/dash+xml":this._rmp.readingHls||this._rmp.readingHlsJS||this._rmp.readingHlsShaka?this._castContentType="application/vnd.apple.mpegurl":this._rmp.readingMp4&&!this._rmp.readingWebM?this._castContentType="video/mp4":this._rmp.readingMp4&&this._rmp.readingWebM?this._castContentType="video/webm":(this._rmp.audioOnly||this._rmp.audioOnlyUseVideoLayout||this._rmp.playlistAudioOnly||this._rmp.relatedAudioOnly)&&(this._rmp.readingM4a?this._castContentType="audio/mp4":this._rmp.readingMp3?this._castContentType="audio/mp3":this._rmp.readingOgg&&(this._castContentType="audio/ogg")),this._rmp.castUrl=this._rmp.startingBitratePath,this._castPlayerStateChangedFn=this._castPlayerStateChanged.bind(this),this._castPlayerIsConnectedChangedFn=this._castPlayerIsConnectedChanged.bind(this),this._castVolumeLevelChangedFn=this._castVolumeLevelChanged.bind(this),this._castIsPausedChangedFn=this._castIsPausedChanged.bind(this),this._castIsPlayingBreakChangedFn=this._castIsPlayingBreakChanged.bind(this),this._castWhenSkippableChangedFn=this._castWhenSkippableChanged.bind(this),this._rmp.isVod&&(this._castCurrentTimeChangedFn=this._castCurrentTimeChanged.bind(this),this._castDurationChangedFn=this._castDurationChanged.bind(this)),this._rmp.remotePlayer=new cast.framework.RemotePlayer,this._rmp.remotePlayerController=new cast.framework.RemotePlayerController(this._rmp.remotePlayer),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_CONNECTED_CHANGED,this._castPlayerIsConnectedChangedFn),this._rmp.isVod&&(this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.CURRENT_TIME_CHANGED,this._castCurrentTimeChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.DURATION_CHANGED,this._castDurationChangedFn)),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_PAUSED_CHANGED,this._castIsPausedChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.VOLUME_LEVEL_CHANGED,this._castVolumeLevelChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_MUTED_CHANGED,this._castVolumeLevelChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.PLAYER_STATE_CHANGED,this._castPlayerStateChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_PLAYING_BREAK_CHANGED,this._castIsPlayingBreakChangedFn),this._rmp.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.WHEN_SKIPPABLE_CHANGED,this._castWhenSkippableChangedFn)}},{key:"_castStateChanged",value:function(t){if(t)switch(t.castState){case cast.framework.CastState.NO_DEVICES_AVAILABLE:break;case cast.framework.CastState.NOT_CONNECTED:case cast.framework.CastState.CONNECTED:this._castModuleSet||this._setupCastModule();case cast.framework.CastState.CONNECTING:}}},{key:"_castSessionInfo",value:function(t){if(t)switch(t.sessionState){case cast.framework.SessionState.NO_SESSION:case cast.framework.SessionState.SESSION_STARTING:case cast.framework.SessionState.SESSION_STARTED:break;case cast.framework.SessionState.SESSION_START_FAILED:this._resetCast();break;case cast.framework.SessionState.SESSION_ENDING:case cast.framework.SessionState.SESSION_ENDED:break;case cast.framework.SessionState.SESSION_RESUMED:this._castSessionResumed=!0}}},{key:"_initCast",value:function(){if(this._rmp.off("adcontentresumerequested",this._initCastFn),"undefined"!=typeof cast&&void 0!==cast.framework&&void 0!==cast.framework.CastContext&&(this._castContext=cast.framework.CastContext.getInstance(),this._castContext)){var t=this._rmp.googleCastReceiverAppId;"cast-default"===t&&(t=chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID),this._castContext.setOptions({receiverApplicationId:t,autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,androidReceiverCompatible:this._rmp.googleCastAndroidReceiverCompatible}),this._castStateChangedFn=this._castStateChanged.bind(this),this._castContext.addEventListener(cast.framework.CastContextEventType.CAST_STATE_CHANGED,this._castStateChangedFn),this._castSessionInfoFn=this._castSessionInfo.bind(this),this._castContext.addEventListener(cast.framework.CastContextEventType.SESSION_STATE_CHANGED,this._castSessionInfoFn);var e=this._castContext.getCastState();e!==cast.framework.CastState.NO_DEVICES_AVAILABLE&&this._setupCastModule(),this._rmp.dispatch("castapiavailable")}}},{key:"resetCastTextSettings",value:function(){this._castTextForegroundColor="FFFFFF99",this._castTextBackgroundColor="00000050",this._castTextFontScale=1,this._castTextFontFamily="arial",this._castTextEdgeType="NONE",this._castTextWindowColor="00000000"}},{key:"setCastTextStyle",value:function(){var t=this._rmp.fccFontColor;switch(this._rmp.fccFontColor){case"white":case"black":case"red":case"green":case"blue":case"yellow":case"magenta":case"cyan":t=ms[this._rmp.fccFontColor];break;default:t="FFFFFF"}var e=this._rmp.fccFontOpacity;e>=1&&(e=.99),this._castTextForegroundColor=t+(100*e).toString();var i=this._rmp.fccBackgroundColor;switch(this._rmp.fccBackgroundColor){case"white":case"black":case"red":case"green":case"blue":case"yellow":case"magenta":case"cyan":i=ms[this._rmp.fccBackgroundColor];break;default:i="FFFFFF"}var r=this._rmp.fccBackgroundOpacity;r>=1&&(r=.99),this._castTextBackgroundColor=i+(100*r).toString(),this._castTextEdgeType=this._rmp.fccFontEdge.toUpperCase(),this._castTextFontFamily=this._rmp.fccFontFamily,this._castTextFontScale=this._rmp.fccFontSize;var a=this._rmp.fccWindowColor;switch(this._rmp.fccWindowColor){case"white":case"black":case"red":case"green":case"blue":case"yellow":case"magenta":case"cyan":a=ms[this._rmp.fccWindowColor];break;default:a="FFFFFF"}var n=this._rmp.fccWindowOpacity;n>=1&&(n=.99),this._castTextWindowColor=a+(100*n).toString();var s=new chrome.cast.media.TextTrackStyle;return s.foregroundColor="#"+this._castTextForegroundColor,s.backgroundColor="#"+this._castTextBackgroundColor,s.fontScale=this._castTextFontScale,s.fontFamily=this._castTextFontFamily,s.edgeType=this._castTextEdgeType.replace(/\s+/g,"_"),"00000000"!==this._castTextWindowColor&&(s.windowType="NORMAL",s.windowColor="#"+this._castTextWindowColor),s}},{key:"setCastTextTrack",value:function(t){if(this._rmp.remotePlayer&&this._rmp.remotePlayer.isMediaLoaded&&this._rmp.castMedia&&this._rmp.castMediaTracks.length>0){var e;if(-1===t){try{var i=new chrome.cast.media.EditTracksInfoRequest([]);this.castMedia.editTracksInfo(i,(function(){}),console.trace)}catch(o){console.trace(o)}return}var r=F()(e=this._rmp.castMediaTracks).call(e,(function(t){return"TEXT"===t.type}));if(r[t]&&"number"==typeof r[t].trackId){var a=r[t].trackId,n=this.setCastTextStyle(),s=new chrome.cast.media.EditTracksInfoRequest([a],n);this._rmp.castMedia.editTracksInfo(s,(function(){}),console.trace)}}}},{key:"setCastAudioTrack",value:function(t){if(this._rmp.remotePlayer&&this._rmp.remotePlayer.isMediaLoaded&&this._rmp.castMedia&&this._rmp.castMediaTracks.length>0){var e,i=F()(e=this._rmp.castMediaTracks).call(e,(function(t){return"AUDIO"===t.type}));if(i[t]&&"number"==typeof i[t].trackId){var r=i[t].trackId,a=new chrome.cast.media.EditTracksInfoRequest([r]);this._rmp.castMedia.editTracksInfo(a,(function(){}),console.trace)}}}},{key:"isCastMediaLoaded",value:function(){return!!(this._rmp.googleCast&&this._rmp.remotePlayer&&this._rmp.remotePlayer.isMediaLoaded&&this._rmp.remotePlayerController&&this._rmp.castMedia)}},{key:"loadCastMedia",value:function(t){var e=this;this._castError=!1,this._rmp.pauseRequestedByLoadCastMedia=!0,this._rmp.pause();var i=this._rmp.getVolume(),r=this._rmp.getMute(),a=new chrome.cast.media.MediaInfo(this._rmp.castUrl,this._castContentType);a.metadata=new chrome.cast.media.GenericMediaMetadata,"MOVIE"===this._rmp.contentMetadata.googleCastType||"TV_SHOW"===this._rmp.contentMetadata.googleCastType?a.metadata.metadataType=this._rmp.contentMetadata.googleCastType:a.metadata.metadataType=chrome.cast.media.MetadataType.GENERIC,this._rmp.contentMetadata.title&&(this._castTitle=this._rmp.contentMetadata.title),a.metadata.title=this._castTitle;var n=this._rmp.poster;this._rmp.contentMetadata.poster.length>0&&(n=this._rmp.contentMetadata.poster[this._rmp.contentMetadata.poster.length-1]),a.metadata.images=[{url:n}],""!==this._rmp.contentMetadata.releaseDate&&(a.metadata.subtitle=this._rmp.contentMetadata.releaseDate),a.customData={},this._rmp.isVod?a.streamType=chrome.cast.media.StreamType.BUFFERED:(a.streamType=chrome.cast.media.StreamType.LIVE,a.customData.isLive=!0);var s=this._rmp.getCurrentTime();if(this._rmp.ads&&this._rmp.adTagUrl&&(a.customData.adTagUrl=this._rmp.adTagUrl),this._rmp.googleCastAdTagUrl&&(a.customData.adTagUrl=this._rmp.googleCastAdTagUrl),a.customData.adTagUrl&&this._rmp.googleCastDisableAds&&(a.customData.adTagUrl=""),this._rmp.googleCastVmapAdsRequest&&(a.customData.vmapAdsRequest=this._rmp.googleCastVmapAdsRequest,a.customData.adTagUrl=""),K.isEmptyObject(this._rmp.shakaDrm)||this._rmp.shakaDrm.servers&&this._rmp.shakaDrm.servers["com.widevine.alpha"]&&(a.customData.licenseUrl=this._rmp.shakaDrm.servers["com.widevine.alpha"]),K.isEmptyObject(this._rmp.shakaRequestConfiguration)||this._rmp.shakaRequestConfiguration.license&&(this._rmp.shakaRequestConfiguration.license.headers&&(a.customData.licenseHeaders=this._rmp.shakaRequestConfiguration.license.headers),"boolean"==typeof this._rmp.shakaRequestConfiguration.license.credentials&&(a.customData.credentials=this._rmp.shakaRequestConfiguration.license.credentials)),this._rmp.googleCastDrmToday&&(a.customData.drmToday=this._rmp.googleCastDrmToday),this._rmp.googleCastEnableUITextDisplayer&&(a.customData.enableUITextDisplayer=this._rmp.googleCastEnableUITextDisplayer),(this._rmp.hlsJSFetchXhrWithCredentials||this._rmp.shakaRequestConfiguration.manifest&&!0===this._rmp.shakaRequestConfiguration.manifest.credentials||this._rmp.shakaRequestConfiguration.segment&&!0===this._rmp.shakaRequestConfiguration.segment.credentials)&&(a.customData.credentials=!0),K.isEmptyObject(this._rmp.googleCastHeaders)||(a.customData.headers=this._rmp.googleCastHeaders),K.isEmptyObject(this._rmp.googleCastData)||(a.customData.additionalData=this._rmp.googleCastData),this._rmp.hasExternalCCFiles){var o=[];this._rmp.ccFiles.forEach((function(t,e){o[e]=new chrome.cast.media.Track(e+1,chrome.cast.media.TrackType.TEXT),o[e].trackContentId=t[2],o[e].trackContentType="text/vtt",o[e].subtype=chrome.cast.media.TextTrackType.SUBTITLES,o[e].name=t[1],o[e].language=t[0],o[e].customData=null})),a.streamType=chrome.cast.media.StreamType.BUFFERED,a.textTrackStyle=this.setCastTextStyle(),a.duration=null,a.tracks=o}this._rmp.remotePlayerState="LOADING",this._updateCastDisplayMessage();var l=new chrome.cast.media.LoadRequest(a);this._rmp.hasExternalCCFiles&&this._rmp.defaultTextTrackIndex>0&&(l.activeTrackIds=[this._rmp.defaultTextTrackIndex]),this._rmp.castSession.loadMedia(l).then((function(){if(e._rmp.pauseRequestedByLoadCastMedia=!1,e._rmp.remotePlayerState="LOADED",e._updateCastDisplayMessage(),Ki.play.call(e._rmp),e._rmp.castMedia=e._rmp.castSession.getMediaSession(),t&&(s=0),s>0&&e._rmp.seekTo(s),e._rmp.castMediaTracks=e._rmp.castMedia.media.tracks,e._rmp.castMediaTracks,e._rmp.dom.captions&&e._rmp.dom.captionsOverlayLevelsArea){for(var a=e._rmp.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),n=0,o=0,l=a.length;o0&&e.setCastTextTrack(n-1),K.show(e._rmp.dom.captionsOverlayLevelsArea),K.hide(e._rmp.dom.captionsOverlayFCCSettingsArea),ae.closeButtonAdjust.call(e._rmp,"captions",!1),K.hide(e._rmp.dom.fccCompliantSettings)}if(e._rmp.dom.audio&&e._rmp.dom.audioOverlayLevelsArea){for(var d=e._rmp.dom.audioOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),h=0,p=0,c=d.length;p0&&e.setCastAudioTrack(h)}r?e._rmp.remotePlayer.isMuted||e._rmp.remotePlayerController.muteOrUnmute():i>=0&&i<=1&&(e._rmp.remotePlayer.volumeLevel=i,e._rmp.remotePlayerController.setVolumeLevel()),e._rmp.dispatch("castmedialoaded")})).catch((function(t){e._resetCast(),e._castError=!0,e._rmp.dispatch("castmediaerror"),Oa.warning.call(e._rmp,7001,t)}))}},{key:"destroy",value:function(){this._rmp.castConnected&&this._resetCast(),this._rmp.remotePlayerController&&(this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.PLAYER_STATE_CHANGED,this._castPlayerStateChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.IS_CONNECTED_CHANGED,this._castPlayerIsConnectedChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.VOLUME_LEVEL_CHANGED,this._castVolumeLevelChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.IS_PAUSED_CHANGED,this._castIsPausedChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.IS_PLAYING_BREAK_CHANGED,this._castIsPlayingBreakChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.WHEN_SKIPPABLE_CHANGED,this._castWhenSkippableChangedFn),this._rmp.isVod&&(this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.CURRENT_TIME_CHANGED,this._castCurrentTimeChangedFn),this._rmp.remotePlayerController.removeEventListener(cast.framework.RemotePlayerEventType.DURATION_CHANGED,this._castDurationChangedFn))),this._castContext&&(this._castContext.removeEventListener(cast.framework.CastContextEventType.CAST_STATE_CHANGED,this._castStateChangedFn),this._castContext.removeEventListener(cast.framework.CastContextEventType.SESSION_STATE_CHANGED,this._castSessionInfoFn)),this._rmp.ads&&this._rmp.off("adcontentresumerequested",this._initCastFn)}},{key:"ready",value:function(){if(this._rmp.googleCast)if(this._initCastFn=this._initCast.bind(this),chrome.cast&&chrome.cast.isAvailable)this._initCastFn();else{window.__onGCastApiAvailable=function(t){t&&chrome.cast&&(K.getNow(),this._rmp.refTime,this._rmp.isLinearAdOn()?this._rmp.on("adcontentresumerequested",this._initCastFn):this._initCastFn(),delete window.__onGCastApiAvailable)}.bind(this),K.getNow(),this._rmp.refTime,K.getScript("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",(function(){}),Oa.warning.bind(this._rmp,7e3))}}}]),t}(),fs=function(){function t(e){d(this,t),this._rmp=e,this._castContentType="",this._castTitle="Media",this._castDisplayMessageElement=null,this._remoteCurrentTime=0,this._remoteVolume=0,this._castSessionStopping=!1,this._castMediaStatusInterval=null,this._castInteractionFn=null,this._castMediaStatusUpdatedFn=null,this._initCastFn=null}return p(t,[{key:"_resetCast",value:function(){this._rmp.castMedia&&this._rmp.castMedia.removeUpdateListener(this._castMediaStatusUpdatedFn),this._castMediaStatusUpdatedFn=null,this._castSessionStopping=!1,this._rmp.castMediaEnded=!1,this._rmp.castConnected=!1,this._rmp.castMedia=null,this._rmp.castSession=null,clearInterval(this._castMediaStatusInterval)}},{key:"_castUpdateDisplayMessage",value:function(t){var e;e=t||"STANDBY",this._castDisplayMessageElement||(this._castDisplayMessageElement=K.createElement("div","rmp-cast-diplay-message-title"),this._rmp.dom.container.appendChild(this._castDisplayMessageElement)),K.setText(this._castDisplayMessageElement,this._castTitle+" "+e)}},{key:"_setupLocalPlayer",value:function(){this._castUpdateDisplayMessage("DISCONNECTING"),this._rmp.dom.container.classList.remove("rmp-casting","rmp-casting-cordova");var t=this._rmp.dom.cast.querySelector("span.rmp-i");null!==t&&t.classList.replace("rmp-i-google-cast-connected","rmp-i-google-cast"),this.destroy(!0)}},{key:"_addCastingCordovaUI",value:function(){Ot.hideLoadingSpin.call(this._rmp),this._rmp.dom.container.classList.add("rmp-casting","rmp-casting-cordova");var t=this._rmp.dom.cast.querySelector("span.rmp-i");null!==t&&t.classList.replace("rmp-i-google-cast","rmp-i-google-cast-connected")}},{key:"_castInteraction",value:function(t){var e=this;K.eventStopPrevent(t),this._rmp.getPlayerInitialized()||this._rmp.googleCastInit||(this._rmp.googleCastInit=!0,this._rmp.emptyInitAdTagUrl=!0,this._rmp.initiatePlayback()),Ot.showChrome.call(this._rmp),this._castSessionStopping||(this._rmp.castConnected?this._setupLocalPlayer():chrome.cast.requestSession((function(t){e._rmp.castSession=t,e.loadCastMedia()}),(function(t){e._resetCast(),Oa.warning.call(e._rmp,7002,t)})))}},{key:"_handleMediaEnded",value:function(){var t=this;this._rmp.castSession.addMessageListener("urn:x-cast:com.radiantmediaplayer.cast",(function(e,i){var r=JSON.parse(i);"STATUS"===r.type&&"MEDIA_FINISHED"===r.message&&(t._castUpdateDisplayMessage("ENDED"),Ki.pause.call(t._rmp),t._rmp.castMediaEnded=!0,(t._rmp.hasRelated||t._rmp.hasPlaylist)&&Ki.endedPlaylistRelated.call(t._rmp),t._rmp.dispatch("ended"))}))}},{key:"_castMediaStatusUpdated",value:function(t){if(t){var e=this._rmp.getCurrentTime();e!==this._remoteCurrentTime&&(this._remoteCurrentTime=e,Ki.timeupdate.call(this._rmp));var i=this._rmp.getVolume();i!==this._remoteVolume&&(this._remoteVolume=i,this._rmp.onVolumeChange())}}},{key:"_setUpCastModule",value:function(){this._rmp.dom.container.classList.add("rmp-cast-ui"),ae.append.call(this._rmp,"cast"),this._castInteractionFn=this._castInteraction.bind(this),this._rmp.dom.cast.addEventListener("touchend",this._castInteractionFn),this._rmp.dom.cast.addEventListener("click",this._castInteractionFn),this._rmp.readingDashShaka?this._castContentType="application/dash+xml":this._rmp.readingHls||this._rmp.readingHlsJS||this._rmp.readingHlsShaka?this._castContentType="application/vnd.apple.mpegurl":this._rmp.readingMp4&&!this._rmp.readingWebM?this._castContentType="video/mp4":this._rmp.readingMp4&&this._rmp.readingWebM?this._castContentType="video/webm":(this._rmp.audioOnly||this._rmp.audioOnlyUseVideoLayout||this._rmp.playlistAudioOnly||this._rmp.relatedAudioOnly)&&(this._rmp.readingM4a?this._castContentType="audio/mp4":this._rmp.readingMp3?this._castContentType="audio/mp3":this._rmp.readingOgg&&(this._castContentType="audio/ogg")),this._rmp.castUrl=this._rmp.startingBitratePath}},{key:"_initCast",value:function(){this._rmp.off("adcontentresumerequested",this._initCastFn),this._rmp.playerReady?this.ready():this._rmp.one("ready",this.ready.bind(this))}},{key:"loadDebug",value:function(){if(this._initCastFn=this._initCast.bind(this),chrome.cast&&chrome.cast.isAvailable)this._initCastFn();else{window.__onGCastApiAvailable=function(t){t&&chrome.cast&&(K.getNow(),this._rmp.refTime,this._rmp.isLinearAdOn()?this._rmp.on("adcontentresumerequested",this._initCastFn):this._initCastFn(),delete window.__onGCastApiAvailable)}.bind(this),K.getNow(),this._rmp.refTime,K.getScript("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",(function(){}),Oa.warning.bind(this._rmp,7e3))}}},{key:"resetCastTextSettings",value:function(){}},{key:"setCastTextStyle",value:function(){}},{key:"setCastTextTrack",value:function(){}},{key:"setCastAudioTrack",value:function(){}},{key:"isCastMediaLoaded",value:function(){return!!(this._rmp.googleCast&&this._rmp.googleCastCordova&&this._rmp.castConnected)}},{key:"loadCastMedia",value:function(t){var e=this;Ot.showLoadingSpin.call(this._rmp),this._castUpdateDisplayMessage("LOADING"),this._rmp.pauseRequestedByLoadCastMedia=!0,this._rmp.pause();var i=new chrome.cast.media.MediaInfo(this._rmp.castUrl,this._castContentType);i.metadata=new chrome.cast.media.GenericMediaMetadata,"MOVIE"===this._rmp.contentMetadata.googleCastType||"TV_SHOW"===this._rmp.contentMetadata.googleCastType?i.metadata.metadataType=this._rmp.contentMetadata.googleCastType:i.metadata.metadataType=chrome.cast.media.MetadataType.GENERIC,this._rmp.contentMetadata.title&&(this._castTitle=this._rmp.contentMetadata.title),i.metadata.title=this._castTitle;var r=this._rmp.poster;this._rmp.contentMetadata.poster.length>0&&(r=this._rmp.contentMetadata.poster[this._rmp.contentMetadata.poster.length-1]),i.metadata.images=[{url:r}],""!==this._rmp.contentMetadata.releaseDate&&(i.metadata.subtitle=this._rmp.contentMetadata.releaseDate),i.customData={},this._rmp.isVod?i.streamType=chrome.cast.media.StreamType.BUFFERED:(i.streamType=chrome.cast.media.StreamType.LIVE,i.customData.isLive=!0),this._rmp.ads&&this._rmp.adTagUrl&&(i.customData.adTagUrl=this._rmp.adTagUrl),this._rmp.googleCastAdTagUrl&&(i.customData.adTagUrl=this._rmp.googleCastAdTagUrl),i.customData.adTagUrl&&this._rmp.googleCastDisableAds&&(i.customData.adTagUrl=""),this._rmp.googleCastVmapAdsRequest&&(i.customData.vmapAdsRequest=this._rmp.googleCastVmapAdsRequest,i.customData.adTagUrl=""),K.isEmptyObject(this._rmp.shakaDrm)||this._rmp.shakaDrm.servers&&this._rmp.shakaDrm.servers["com.widevine.alpha"]&&(i.customData.licenseUrl=this._rmp.shakaDrm.servers["com.widevine.alpha"]),K.isEmptyObject(this._rmp.shakaRequestConfiguration)||this._rmp.shakaRequestConfiguration.license&&(this._rmp.shakaRequestConfiguration.license.headers&&(i.customData.licenseHeaders=this._rmp.shakaRequestConfiguration.license.headers),"boolean"==typeof this._rmp.shakaRequestConfiguration.license.credentials&&(i.customData.credentials=this._rmp.shakaRequestConfiguration.license.credentials)),this._rmp.googleCastDrmToday&&(i.customData.drmToday=this._rmp.googleCastDrmToday);var a=new chrome.cast.media.LoadRequest(i),n=this._rmp.getCurrentTime();this._rmp.castSession.loadMedia(a,(function(i){e._rmp.pauseRequestedByLoadCastMedia=!1,e._rmp.castConnected=!0,Ki.play.call(e._rmp),e._castUpdateDisplayMessage("PLAYING"),e._rmp.castMedia=i,e._castMediaStatusUpdatedFn=e._castMediaStatusUpdated.bind(e),e._rmp.castMedia.addUpdateListener(e._castMediaStatusUpdatedFn),clearInterval(e._castMediaStatusInterval),e._castMediaStatusInterval=setInterval((function(){e._rmp.castMedia.getStatus()}),1e3),e._addCastingCordovaUI(),e._handleMediaEnded(),t&&(n=0),n>0&&e._rmp.seekTo(n),e._rmp.dispatch("castmedialoaded")}),(function(t){e._setupLocalPlayer(),Ot.hideLoadingSpin.call(e._rmp),e._rmp.dispatch("castmediaerror"),Oa.warning.call(e._rmp,7001,t)}))}},{key:"destroy",value:function(t){var e=this;this._rmp.castSession?(this._castSessionStopping=!0,this._rmp.castSession.stop((function(){e._resetCast(),t&&(e._rmp.play(),e._rmp.seekTo(e._remoteCurrentTime))}),(function(){e._resetCast(),t&&(e._rmp.play(),e._rmp.seekTo(e._remoteCurrentTime))}))):this._resetCast()}},{key:"ready",value:function(){var t=this;if("undefined"!=typeof chrome&&void 0!==chrome.cast&&"function"==typeof chrome.cast.ApiConfig&&"function"==typeof chrome.cast.initialize){var e=this._rmp.googleCastReceiverAppId;"cast-default"===e&&(e=chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID);var i=new chrome.cast.ApiConfig(new chrome.cast.SessionRequest(e,[],null,this._rmp.googleCastAndroidReceiverCompatible,null),function(t){this._rmp.castSession=t}.bind(this),function(t){t&&void 0===this._rmp.dom.cast&&this._setUpCastModule()}.bind(this));chrome.cast.initialize(i,(function(){}),(function(e){Oa.warning.call(t._rmp,7003,e)})),this._rmp.dispatch("castapiavailable")}}}]),t}(),gs=function(){function t(e){d(this,t),this._rmp=e,this._gaContext=!1,this._fullMinuteWatchedInterval=null,this._fullMinuteWatchedTicker=0,this._errorFn=null,this._adErrorFn=null,this._playerStartFn=null,this._srcChangedFn=null,this._adImpressionFn=null,this._bufferStalledFn=null,this._bufferNotStalledAnymoreFn=null,this._enterFullscreenFn=null,this._exitFullscreenFn=null,this._endedFn=null,this._adClickFn=null,this._readyFn=null,this._seekingFn=null,this._pauseFn=null,this._adParserLoadErrorFn=null}return p(t,[{key:"_ready",value:function(){if("undefined"!=typeof gtag){if(gtag("event","ready",this._rmp.gaEventParameters),this._gaContext){var t=this._rmp.getStreamType();gtag("event",t,this._rmp.gaEventParameters)}}else Oa.warning.call(this._rmp,13e3)}},{key:"_playerStart",value:function(){this._rmp.off("playing adstarted",this._playerStartFn),"undefined"!=typeof gtag?gtag("event","playerstart",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_srcChanged",value:function(){this._rmp.off("playing adstarted",this._playerStartFn),this._rmp.on("playing adstarted",this._playerStartFn)}},{key:"_error",value:function(){"undefined"!=typeof gtag?gtag("event","error",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_pause",value:function(){var t=this;"undefined"!=typeof gtag?(this._rmp.one("play",(function(){gtag("event","resume",t._rmp.gaEventParameters)})),gtag("event","pause",this._rmp.gaEventParameters)):Oa.warning.call(this._rmp,13e3)}},{key:"_adImpression",value:function(){"undefined"!=typeof gtag?gtag("event","adimpression",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_adError",value:function(){if("undefined"!=typeof gtag){var t="adloaderror";"adPlayError"===this._rmp.getAdErrorType()&&(t="adplayerror"),gtag("event",t,this._rmp.gaEventParameters)}else Oa.warning.call(this._rmp,13e3)}},{key:"_adClick",value:function(){"undefined"!=typeof gtag?gtag("event","adclick",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_bufferNotStalledAnymore",value:function(){this._rmp.off("playing canplay canplaythrough",this._bufferNotStalledAnymoreFn),"undefined"!=typeof gtag?gtag("event","buffernotstalledanymore",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_bufferStalled",value:function(){"undefined"!=typeof gtag?(this._rmp.on("playing canplay canplaythrough",this._bufferNotStalledAnymoreFn),gtag("event","bufferstalled",this._rmp.gaEventParameters)):Oa.warning.call(this._rmp,13e3)}},{key:"_enterFullscreen",value:function(){"undefined"!=typeof gtag?gtag("event","enterfullscreen",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_exitFullscreen",value:function(){"undefined"!=typeof gtag?gtag("event","exitfullscreen",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_ended",value:function(){"undefined"!=typeof gtag?gtag("event","ended",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_adParserLoadError",value:function(){"undefined"!=typeof gtag?gtag("event","adparserloaderror",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_seeking",value:function(){"undefined"!=typeof gtag?this._rmp.isVod&>ag("event","seeking",this._rmp.gaEventParameters):Oa.warning.call(this._rmp,13e3)}},{key:"_filterInputGaEvents",value:function(t){var e=["context","ready","pause","playerstart","error","bufferstalled","fullscreen","ended","seeking","fullminutewatched","adimpression","adplayerror","adloaderror","adclick"],i=[];return t.forEach((function(t){m()(e).call(e,t)>-1&&i.push(t)})),i}},{key:"reset",value:function(){clearInterval(this.analyticsInterval),clearInterval(this._fullMinuteWatchedInterval),this._rmp.dom.container&&(this._rmp.off("ready",this._readyFn),this._rmp.off("pause",this._pauseFn),this._rmp.off("playing adstarted",this._playerStartFn),this._rmp.off("srcchanged",this._srcChangedFn),this._rmp.off("error",this._errorFn),this._rmp.off("adimpression",this._adImpressionFn),this._rmp.off("aderror",this._adErrorFn),this._rmp.off("adclick",this._adClickFn),this._rmp.off("enterfullscreen",this._enterFullscreenFn),this._rmp.off("exitfullscreen",this._exitFullscreenFn),this._rmp.off("ended",this._endedFn),this._rmp.off("seeking",this._seekingFn),this._rmp.off("waiting",this._bufferStalledFn),this._rmp.off("playing canplay canplaythrough",this._bufferNotStalledAnymoreFn),this._rmp.off("adparserloaderror",this._adParserLoadErrorFn))}},{key:"init",value:function(){var t=this;0===this._rmp.gaEvents.length&&(this._rmp.gaEvents=["ready","playerstart","bufferstalled","ended","error","adimpression","adparserloaderror","adplayerror","adloaderror"]);var e=this._filterInputGaEvents(this._rmp.gaEvents);e.forEach((function(e){switch(e){case"context":t._gaContext=!0;break;case"ready":t._readyFn=t._ready.bind(t),t._rmp.one("ready",t._readyFn);break;case"playerstart":t._playerStartFn=t._playerStart.bind(t),t._rmp.on("playing",t._playerStartFn),t._rmp.ads&&t._rmp.on("adstarted",t._playerStartFn),t._srcChangedFn=t._srcChanged.bind(t),t._rmp.on("srcchanged",t._srcChangedFn);break;case"error":t._errorFn=t._error.bind(t),t._rmp.on("error",t._errorFn);break;case"pause":t._pauseFn=t._pause.bind(t),t._rmp.on("pause",t._pauseFn);break;case"bufferstalled":t._bufferStalledFn=t._bufferStalled.bind(t),t._bufferNotStalledAnymoreFn=t._bufferNotStalledAnymore.bind(t),t._rmp.on("waiting",t._bufferStalledFn);break;case"fullscreen":t._enterFullscreenFn=t._enterFullscreen.bind(t),t._rmp.on("enterfullscreen",t._enterFullscreenFn),t._exitFullscreenFn=t._exitFullscreen.bind(t),t._rmp.on("exitfullscreen",t._exitFullscreenFn);break;case"ended":t._rmp.isVod&&(t._endedFn=t._ended.bind(t),t._rmp.on("ended",t._endedFn));break;case"seeking":t._rmp.isVod&&(t._seekingFn=t._seeking.bind(t),t._rmp.on("seeking",t._seekingFn));break;case"fullminutewatched":t._fullMinuteWatchedInterval=setInterval((function(){t._rmp.getPaused()||t._rmp.isLinearAdOn()||("undefined"!=typeof gtag?(t._fullMinuteWatchedTicker+=100,t._fullMinuteWatchedTicker>=6e4&&(gtag("event","fullminutewatched",t._rmp.gaEventParameters),t._fullMinuteWatchedTicker=0)):Oa.warning.call(t._rmp,13e3))}),100);break;case"adimpression":t._rmp.ads&&(t._adImpressionFn=t._adImpression.bind(t),t._rmp.on("adimpression",t._adImpressionFn));break;case"adplayerror":t._rmp.ads&&(t._adErrorFn=t._adError.bind(t),t._rmp.off("aderror",t._adErrorFn),t._rmp.on("aderror",t._adErrorFn));break;case"adloaderror":t._rmp.ads&&(t.adErrorFn=t._adError.bind(t),t._rmp.off("aderror",t._adErrorFn),t._rmp.on("aderror",t._adErrorFn));break;case"adclick":t._rmp.ads&&(t._adClickFn=t._adClick.bind(t),t._rmp.on("adclick",t._adClickFn));break;case"adparserloaderror":t._rmp.ads&&(t._adParserLoadErrorFn=t._adParserLoadError.bind(t),t._rmp.on("adparserloaderror",t._adParserLoadErrorFn))}}))}}]),t}(),vs=function(){function t(){d(this,t)}return p(t,[{key:"_getConnectionType",value:function(){if("string"==typeof navigator.connection.type&&""!==navigator.connection.type)switch(navigator.connection.type){case"ethernet":return"ethernet";case"wifi":case"wimax":return"wifi";case"bluetooth":case"cellular":return"cellular";case"none":return"none"}return"unknown"}},{key:"_getBandwidthEstimate",value:function(){if("number"==typeof navigator.connection.downlink&&navigator.connection.downlink>0)return navigator.connection.downlink;if("string"==typeof navigator.connection.effectiveType&&""!==navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"slow-2g":return.025;case"2g":return.035;case"3g":return.35;case"4g":return 1.4}else if("string"==typeof navigator.connection.type&&""!==navigator.connection.type)switch(navigator.connection.type){case"ethernet":case"wifi":case"wimax":return 1.4;case"bluetooth":case"cellular":return.35;case"none":return-1}return.025}},{key:"bandwidthData",get:function(){return void 0===navigator.onLine||navigator.onLine?void 0===navigator.connection?{estimate:-1,connectionType:"unknown"}:{estimate:this._getBandwidthEstimate(),connectionType:this._getConnectionType()}:{estimate:-1,connectionType:"none"}}}]),t}(),ys=function(){function t(e){d(this,t),this.eventName=e,this.callbacks=[]}return p(t,[{key:"registerCallback",value:function(t){this.callbacks.push(t)}},{key:"unregisterCallback",value:function(t){var e,i,r=m()(e=this.callbacks).call(e,t);r>-1&&It()(i=this.callbacks).call(i,r,1)}},{key:"fire",value:function(t){var e;H()(e=this.callbacks).call(e,0).forEach((function(e){e(t)}))}}]),t}(),bs=i(3379),ks=i.n(bs),ws=i(7795),_s=i.n(ws),Cs=i(569),Ss=i.n(Cs),xs=i(3565),As=i.n(xs),Ts=i(609),Ls=i.n(Ts),Es=i(4589),Ps=i.n(Es),Is=i(5373),Ms={};Ms.styleTagTransform=Ps(),Ms.setAttributes=As(),Ms.insert=Ss().bind(null,"head"),Ms.domAPI=_s(),Ms.insertStyleElement=Ls();ks()(Is.Z,Ms),Is.Z&&Is.Z.locals&&Is.Z.locals;var Fs=function(){function t(e){if(d(this,t),"string"==typeof e&&""!==e){if("object"!==n(window.rmpGlobals)&&(window.rmpGlobals={},window.rmpGlobals.rmpInstances=[],window.rmpGlobals.rmpStorage=null,window.rmpGlobals.fullscreenProxyEnabled=!1,window.rmpGlobals.googleCastInitialized=!1,window.rmpGlobals.rmpConnection=new vs,window.rmpGlobals.TCFv2={gdprApplies:"0",tcString:""},window.rmpGlobals.USPData=""),!window.rmpGlobals.fullscreenProxyEnabled){window.rmpGlobals.fullscreenProxyEnabled=!0;var i=function(t){if(t&&t.type){var e=t.type.replace(/^(webkit|moz|MS)/,"").toLowerCase();K.createSyntheticEvent(e,document)}};document.addEventListener("webkitfullscreenchange",i),document.addEventListener("webkitfullscreenerror",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("mozfullscreenerror",i),document.addEventListener("MSFullscreenChange",i),document.addEventListener("MSFullscreenError",i)}if(void 0!==window.__tcfapi){__tcfapi("addEventListener",2,(function(t,e){e&&t&&"boolean"==typeof t.gdprApplies&&t.gdprApplies?(window.rmpGlobals.TCFv2.gdprApplies="1","tcloaded"!==t.eventStatus&&"useractioncomplete"!==t.eventStatus||"string"!=typeof t.tcString||""===t.tcString||(window.rmpGlobals.TCFv2.tcString=t.tcString,window.rmpGlobals.TCFv2.gdprApplies,window.rmpGlobals.TCFv2.tcString,__tcfapi("removeEventListener",2,(function(e){e&&t.listenerId}),t.listenerId))):window.rmpGlobals.TCFv2.gdprApplies}))}void 0!==window.__uspapi&&window.__uspapi("getUSPData",1,(function(t,e){e&&t&&t.uspString&&(t.uspString.toUpperCase(),window.rmpGlobals.USPData=t.uspString.toUpperCase())})),this.id=e,this.dom={},this.dom.container=document.getElementById(this.id),wt.set.call(this),window.rmpGlobals.environment=this.getEnvironment(),navigator.userAgentData&&navigator.userAgentData.mobile||yt.isIos[0]||yt.isAndroid[0]||yt.isIpadOS?yt.isMobile=!0:yt.isMobile=!1}else Oa.error.call(this,105)}return p(t,[{key:"dispatch",value:function(t,e){var i=this.events[t];if(i){var r={type:t};e&&(r.data=e),i.fire(r)}}},{key:"_on",value:function(t,e){var i=this.events[t];i||(i=new ys(t),this.events[t]=i),i.registerCallback(e)}},{key:"on",value:function(t,e){var i=this;"string"==typeof t&&""!==t&&"function"==typeof e&&t.split(" ").forEach((function(t){i._on(t,e)}))}},{key:"_one",value:function(t,e){var i=function(r){this.off(t,i),e(r)}.bind(this);this.on(t,i)}},{key:"one",value:function(t,e){var i=this;"string"==typeof t&&""!==t&&"function"==typeof e&&t.split(" ").forEach((function(t){i._one(t,e)}))}},{key:"_off",value:function(t,e){var i,r=this.events[t];r&&m()(i=r.callbacks).call(i,e)>-1&&(r.unregisterCallback(e),0===r.callbacks.length&&delete this.events[t])}},{key:"off",value:function(t,e){var i=this;"string"==typeof t&&""!==t&&"function"==typeof e&&t.split(" ").forEach((function(t){i._off(t,e)}))}},{key:"_analyticsPlay",value:function(){this.changingSrc||this.getAdOnStage()&&this.getAdLinear()||this.getPaused()||(this.analyticsSecondsPlayed+=.1)}},{key:"_prepForFullWindowSkin",value:function(){this.fullWindowSkin&&(this.iframeMode=!0,K.appendStyle("html, body { height: 100%; width: 100%; background-color: #000; overflow: hidden; margin: 0; padding: 0;}"))}},{key:"init",value:function(t){var e=this;if(this.dom.container){if(this.refTime=K.getNow(),window.rmpGlobals.inputSettings=t,window.rmpGlobals.rmpInstances.push(this),this.getEnvironment(),Oa.filterInput.call(this,t),Oa.filterRetryParameters.call(this),K.isEmptyObject(this.customTrackNames)||(this.customTrackNames.captions||(this.customTrackNames.captions=[]),this.customTrackNames.quality||(this.customTrackNames.quality=[]),this.customTrackNames.audio||(this.customTrackNames.audio=[])),"smart"===this.preload)if(yt.isModern)if(yt.isMobile)switch(window.rmpGlobals.rmpConnection.bandwidthData.connectionType){case"wifi":case"ethernet":case"wimax":this.preload="metadata";break;default:this.preload="none"}else this.preload="metadata";else this.preload="none";if("auto"!==this.preload&&"metadata"!==this.preload&&(this.preload="none"),this.autoplay&&(this.preload="auto"),this.one("playing",(function(){e._analyticsPlay(),e.analyticsInterval=setInterval((function(){e._analyticsPlay()}),100)})),this.enableGAVideoTracking&&(this.rmpGoogleAnalytics=new gs(this)),"string"==typeof this.src.mp4&&""!==this.src.mp4&&(this.src.mp4=[this.src.mp4]),"string"==typeof this.src.webm&&""!==this.src.webm&&(this.src.webm=[this.src.webm]),""!==this.licenseKey)if(this.playerVersion,this.dom.container.classList.add("rmp-container","rmp-color-button","rmp-chrome"),Ot.showChrome.call(this),!yt.isInIframe||(document.referrer,document.location.href,this.iframeAllowed))if("/"!==this.pathToRmpFiles.substr(this.pathToRmpFiles.length-1)&&(this.pathToRmpFiles=this.pathToRmpFiles+"/"),zn.ck.call(this)){this.windowOnline=function(){this.dispatch("online")}.bind(this),window.addEventListener("online",this.windowOnline);this.windowOffline=function(){this.dispatch("offline")}.bind(this),window.addEventListener("offline",this.windowOffline),this.okDashShaka=yt.okDashShaka,this.okHls=yt.okHls,this.okHlsJS=yt.okHlsJS,this.forceNativeHlsOverHlsJS&&this.okHlsJS&&this.okHls&&(this.okHlsJS=!1),yt.isIos[0]&&(this.usingNativeHlsOnAppleDevices=!0),!this.forceHlsJSOnIpadOS&&this.okHlsJS&&this.okHls&&yt.isIpadOS&&(this.okHlsJS=!1,this.usingNativeHlsOnAppleDevices=!0),!this.forceHlsJSOnMacOSSafari&&this.okHlsJS&&this.okHls&&yt.isMacosSafari[0]&&(this.okHlsJS=!1,this.usingNativeHlsOnAppleDevices=!0),this.okHlsJS&&this.okHls&&this.video360&&yt.isApple&&(this.okHlsJS=!1,this.dashFirst=!1),yt.isIpadOS&&this.dom.container.classList.add("rmp-ipad-os"),this.okFps=yt.okFps,this.okWebM=yt.okWebM,this.okMp4=yt.okMp4,(this.audioOnly||this.playlistAudioOnly||this.relatedAudioOnly||this.audioOnlyUseVideoLayout)&&(this.okM4a=yt.okM4a,this.okMp3=yt.okMp3,this.okOgg=yt.okOgg),this.audioOnly?(this.dom.container.style.backgroundColor="transparent",this.skin="s1"):"000000"!==this.backgroundColor&&(this.dom.container.style.backgroundColor="#"+this.backgroundColor),this.adOutStream&&(this.ads=!0,this.skin="outstream");var i="html, body { height: 100%; width: 100%; background-color: #000; overflow: hidden; margin: 0; padding: 0;}";switch(this.skin){case"s1":this._prepForFullWindowSkin(),this.dom.container.classList.add("rmp-s1");break;case"s2":this._prepForFullWindowSkin(),this.dom.container.classList.add("rmp-s2");break;case"tv":this.tvPlayerSkin=!0,this.skin="s2",this.iconsSet="font-awesome",this.iframeMode=!0,this.hideFullscreen=!0,this.hideVolume=!0,i+=".rmp-quality {display: none !important}",this.quickForward=10,this.quickRewind=10,this.hideExternalPlayerLabels=!0,yt.isMobile=!1,this.dom.container.classList.add("rmp-s2","rmp-tv"),K.appendStyle(i);break;case"outstream":this.skin="s2",this.adShowRemainingTime=!0,this.dom.container.classList.add("rmp-s2","rmp-outstream");break;default:this.skin="s1",this._prepForFullWindowSkin(),this.dom.container.classList.add("rmp-s1")}"material"===this.iconsSet?this.dom.container.classList.add("rmp-font-material"):this.dom.container.classList.add("rmp-font-awesome");var r="";"number"!=typeof this.flipVideo.x||"number"!=typeof this.flipVideo.y||"number"!=typeof this.flipVideo.z||0===this.flipVideo.x&&0===this.flipVideo.y&&0===this.flipVideo.z||(r="#"+this.id+" .rmp-video { transform: rotateX("+this.flipVideo.x+"deg) rotateY("+this.flipVideo.y+"deg) rotateZ("+this.flipVideo.z+"deg) }"),r&&K.appendStyle(r),this.permanentMuted&&(this.rememberVolume=!1,this.pip=!1,this.googleCast=!1,this.airplay=!1,this.muted=!0),(this.video360&&yt.ok360||this.adOutStream)&&(this.pip=!1,this.googleCast=!1,this.airplay=!1,this.capLevelToPlayerSize=!1,this.ignoreDevicePixelRatio=!1),this.tvPlayerSkin&&(this.pip=!1,this.googleCast=!1,this.airplay=!1),this.video360&&yt.ok360&&""===this.crossorigin&&(this.crossorigin="anonymous"),void 0===window.chrome&&(this.googleCast=!1),this.hideControls&&this.ads&&(this.adForceNativeFullscreenOnIosForAds=!0),this.googleCast&&!window.rmpGlobals.googleCastInitialized&&(window.rmpGlobals.googleCastInitialized=!0,this.googleCastCordova?(this.rmpGoogleCast=new fs(this),this.googleCastCordovaDebug?this.rmpGoogleCast.loadDebug():this.one("ready",this.rmpGoogleCast.ready.bind(this.rmpGoogleCast))):(this.rmpGoogleCast=new us(this),this.one("ready",this.rmpGoogleCast.ready.bind(this.rmpGoogleCast)))),Qe.detect.call(this),this.audioOnly&&this.audioOnlyUseVideoLayout&&(this.dom.container.classList.add("rmp-audio-only-use-video-layout"),this.audioOnly=!1);var a="video";this.audioOnly&&(a="audio");var n=this.detectAutoplayTimeout;if(n<=0&&(n=2500,yt.isMobile&&(n=5e3)),this.viewablePlayPause&&(this.viewableAutoplay=!0),this.autoplay||this.viewableAutoplay){if(this.adOutStream&&this.adOutStreamMutedAutoplay&&(this.muted=!0),yt.localStorage(this.allowLocalStorage)&&this.autoplayCount!==1/0)try{if(null!==localStorage.getItem("rmpAutoplayCount")){var s=JSON.parse(localStorage.getItem("rmpAutoplayCount"));s.value,s&&"number"==typeof s.value&&s.value<=0&&(this.autoplay=!1)}}catch(o){console.trace(o)}Tt.detect(a,n,this.muted).then((function(t){switch(e.autoplayMode=t,e.autoplayMode){case"no-autoplay":Oa.fireAutoplayFailure.call(e);break;case"muted-autoplay":e.muted||(e.muted=!0)}e.dispatch("autoplaymodedetected"),e.autoplayMode,$n.postAutoplayDetection.call(e)}))}else this.requestAutoplayCapabilitiesData?(Tt.detect(a,n,this.muted).then((function(t){e.autoplayMode=t,e.dispatch("autoplaymodedetected"),e.autoplayMode})),$n.postAutoplayDetection.call(this)):$n.postAutoplayDetection.call(this)}else zn.endPlayer.call(this,"license key check failed");else zn.endPlayer.call(this,"iframe embedding not allowed");else console.error("no license key provided for Radiant Media Player - exit")}else Oa.error.call(this,106)}},{key:"getReady",value:function(){return this.playerReady}},{key:"getPlayerInitialized",value:function(){return this.playerInitialized}},{key:"getEnvironment",value:function(){return{userAgent:yt.userAgent,platform:yt.platform,protocol:yt.protocol,primaryPointerIsTouchScreen:yt.primaryPointerIsTouchScreen,isIos:yt.isIos,isIpadOS:yt.isIpadOS,isMacOS:yt.isMacOS,isSafari:yt.isSafari,isMacosSafari:yt.isMacosSafari,isApple:yt.isApple,isAndroid:yt.isAndroid,isMobile:yt.isMobile,smartTVData:yt.smartTVData,devicePixelRatio:yt.devicePixelRatio,isStandalone:yt.isStandalone,isAndroidMobileOrTabletWebView:yt.isAndroidMobileOrTabletWebView,okMp4:yt.okMp4,okWebM:yt.okWebM,okM4a:yt.okM4a,okMp3:yt.okMp3,okMse:yt.okMse,okDashShaka:yt.okDashShaka,okHlsJS:yt.okHlsJS,okHls:yt.okHls,okEme:yt.okEme,okFps:yt.okFps,ok360:yt.ok360,isInIframe:yt.isInIframe,hasHevcSupport:yt.hasHevcSupport,hasMseHevcSupport:yt.hasMseHevcSupport,hasIntersectionObserver:yt.hasIntersectionObserver,viewportSize:yt.viewportSize,hasPassiveEventListeners:yt.hasPassiveEventListeners,hasScreenOrientationAPI:yt.hasScreenOrientationAPI,hasOlderScreenOrientationAPI:yt.hasOlderScreenOrientationAPI,screenDimension:yt.screenDimension,isOnline:yt.isOnline,hasNativeFullscreenSupport:yt.hasNativeFullscreenSupport,bwEstimate:yt.getEstimateBW(!1),isModern:yt.isModern}}},{key:"getPlayerVersion",value:function(){return this.playerVersion}},{key:"getPreload",value:function(){return this.preload}},{key:"getPaused",value:function(){if(this.getReady()){if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())return this.googleCastCordova?"PAUSED"===this.castMedia.playerState:this.remotePlayer.isPaused;if(this.dom.video&&"boolean"==typeof this.dom.video.paused)return this.dom.video.paused}return!1}},{key:"isLinearAdOn",value:function(){return this.getAdOnStage()&&this.getAdLinear()}},{key:"_getCastCurrentTime",value:function(){if(this.googleCast)if(this.googleCastCordova){if(this.castMedia){var t=this.castMedia.getEstimatedTime();if(K.isNumber(t)&&t>=0)return Math.round(1e3*t)}}else if(this.remotePlayer&&K.isNumber(this.remotePlayer.currentTime)&&this.remotePlayer.currentTime>=0)return Math.round(1e3*this.remotePlayer.currentTime);return-1}},{key:"getCurrentTime",value:function(){if(this.isLive)return-1;if(this.isDvr){if(!this.isDvrLiveMode)return this.dvrCurrentTime>=0?1e3*this.dvrCurrentTime:-1;if(this.readingHlsJS)return 1e3*this.dom.video.currentTime;if(this.readingShaka){var t=this.shakaPlayer.seekRange().start;return 1e3*(this.dom.video.currentTime-t)}}if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())return this._getCastCurrentTime();if(this.isLinearAdOn()&&!this.adImaDai&&this.usingNativeHlsOnAppleDevices)return this.currentTimeBeforeAd;var e=K.getMediaCurrentTime(this.dom.video);return e>=0?Math.round(1e3*e):-1}},{key:"getCurrentTimeBeforeSeek",value:function(){return this.currentTimeBeforeSeek}},{key:"_getCastDuration",value:function(){var t;if(this.googleCast)if(this.googleCastCordova){if(this.castMedia){var e=this.castMedia.media.duration;if(K.isNumber(e)&&e>=0)return Math.round(1e3*e)}}else if(this.remotePlayer&&K.isNumber(this.remotePlayer.duration)&&this.remotePlayer.duration>=0&&(t=this.remotePlayer.duration),t)return Math.round(1e3*t);return-1}},{key:"getDuration",value:function(){if(this.isLive)return-1;if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())return this._getCastDuration();if(this.isLinearAdOn()&&!this.adImaDai&&this.usingNativeHlsOnAppleDevices)return-1;if(this.isDvr){if(this.readingHlsJS&&this.hlsJSLevelDuration>=0)return Math.round(1e3*this.hlsJSLevelDuration);if(this.shakaPlayer){var t=this.shakaPlayer.seekRange(),e=t.start,i=t.end;if(K.isNumber(i)&&K.isNumber(e)&&i>0&&e>=0){var r=i-e;return Math.round(1e3*r)}}return-1}var a=K.getMediaDuration(this.dom.video);return a>=0?Math.round(1e3*a):-1}},{key:"getStreamType",value:function(){var t="nosupport";return this.readingDashShaka?t="dash":this.readingHlsJS||this.readingHls||this.readingHlsShaka?t="hls":this.readingMp4&&!this.readingWebM?t="mp4":this.readingMp4&&this.readingWebM?t="webm":this.readingM4a?t="m4a":this.readingMp3?t="mp3":this.readingOgg?t="ogg":this.readingOutstream&&(t="outstream"),t}},{key:"getBufferLength",value:function(t){if("string"!=typeof t||"behind"!==t&&"ahead"!==t)return-1;if(this.getReady()){if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())return-1;if(this.isLinearAdOn()&&!this.adImaDai&&this.usingNativeHlsOnAppleDevices)return-1;var e=K.getMediaCurrentTime(this.dom.video);if(e<0)return-1;if(e=Math.round(1e3*e),this.dom.video&&void 0!==this.dom.video.buffered&&"function"==typeof this.dom.video.buffered.start&&"function"==typeof this.dom.video.buffered.end){for(var i=this.dom.video.buffered,r=0;r=e)return"behind"===t?Math.round(e-a):Math.round(n-e)}return-1}}return-1}},{key:"getLoop",value:function(){return!(!this.dom.video||"boolean"!=typeof this.dom.video.loop)&&this.dom.video.loop}},{key:"setLoop",value:function(t){!this.isVod||this.ads&&yt.isIos[0]||"boolean"==typeof t&&this.dom.video&&(this.dom.video.loop=t)}},{key:"getControls",value:function(){return this.controls}},{key:"setControls",value:function(t){"boolean"==typeof t&&this.getReady()&&(t?Ot.protoShowControls.call(this):Ot.protoHideControls.call(this))}},{key:"getControlsVisible",value:function(){if(!this.hideControls){if(this.dom.container.classList.contains("rmp-chrome"))return!0;if(this.dom.container.classList.contains("rmp-no-chrome"))return!1}return!1}},{key:"setControlsVisible",value:function(t){"boolean"==typeof t&&this.getReady()&&!this.hideControls&&(t?Ot.showChrome.call(this):Ot.hideChrome.call(this))}},{key:"getFullscreen",value:function(){return this.isInFullscreen}},{key:"setFullscreen",value:function(t){if(this.getReady()&&"boolean"==typeof t){if(this.isInFullscreen&&t||!this.isInFullscreen&&!t)return;Va.fullscreenInteraction.call(this)}}},{key:"play",value:function(){this.getReady()&&(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded()?this.googleCastCordova?this.getPaused()&&this.castMedia.play({}):this.remotePlayer.isPaused&&this.remotePlayerController.playOrPause():this.isLinearAdOn()&&!this.adImaDai?this.getAdPaused()&&(this.rmpAdsWithIma?this.rmpAdsWithIma.resumeAds():this.rmpAdsWithRmpVast&&this.rmpAdsWithRmpVast.resumeAds.call(this)):this.getPaused()&&this.initiatePlayback())}},{key:"pause",value:function(){this.getReady()&&(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded()?this.googleCastCordova?this.getPaused()||this.castMedia.pause({}):this.remotePlayer.isPaused||this.remotePlayerController.playOrPause():this.isLinearAdOn()&&!this.adImaDai?this.getAdPaused()||(this.rmpAdsWithIma?this.rmpAdsWithIma.pauseAds():this.rmpAdsWithRmpVast&&this.rmpAdsWithRmpVast.pauseAds.call(this)):this.getPaused()||this.initiatePlayback())}},{key:"_postStop",value:function(){this.ads&&this.postStop&&(this.imaAdsManager?this.off("adalladscompleted",this.postStop):this.rmpVast&&this.off("addestroyed",this.postStop)),this.getPaused()||this.pause(),this.isVod&&this.seekTo(0),this.showPoster(),this.dispatch("stopcompleted")}},{key:"stop",value:function(){if(this.getReady()){if(this.googleCast&&this.castConnected)return this.pause(),this.isVod&&(this.seekTo(0),this.dom.current.style.width=0,this.dom.handle.style.left=0,K.setText(this.dom.timeElapsedText,"00:00")),void this.dispatch("stopcompleted");this.postStop||(this.postStop=this._postStop.bind(this)),this.getAdOnStage()?this.imaAdsManager?this.getAdLinear()?(this.on("adalladscompleted",this.postStop),this.stopAds()):(this.stopAds(),this.postStop()):this.rmpVast&&(this.on("addestroyed",this.postStop),this.stopAds()):this.postStop()}}},{key:"seekTo",value:function(t){if(this.getReady()){if(!K.isNumber(t))return;if(this.isLive)return;if(this.isDvr)return;if(this.isLinearAdOn())return;if(0===this.dom.video.seekable.length)return;if(t>=0){var e=K.precisionRound(t/1e3,2);if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded()){if(this.googleCastCordova){var i=new chrome.cast.media.SeekRequest;return i.currentTime=e,void this.castMedia.seek(i)}return this.remotePlayer.currentTime=e,void this.remotePlayerController.seek()}try{this.dom.video.currentTime=e}catch(r){console.trace(r)}}}}},{key:"dvrSeekTo",value:function(t){if(this.isDvr&&this.getReady()){if(!K.isNumber(t))return;if(this.isLinearAdOn())return;var e=this.getDuration();if(e>0){var i=t/e;if(i>=1)return;wr.do.call(this,i)}}}},{key:"syncToLiveEdge",value:function(){if(this.getReady()){if(this.getAdOnStage()&&this.getAdLinear())return;this.isLive?this.rmpHlsJS?this.rmpHlsJS.syncToLiveEdge():this.shakaPlayer&&this.shakaPlayer.goToLive():this.isDvr&&this.dvrSetLiveModeFn()}}},{key:"fastForward",value:function(){this.getReady()&&vr.fastForwardClick.call(this,null)}},{key:"fastRewind",value:function(){this.getReady()&&vr.fastRewindClick.call(this,null)}},{key:"getStreamMode",value:function(){if(this.getReady()){if(this.isDvr)return this.isDvrLiveMode?"livedvr":"voddvr";if(!this.detectLive)return this.isLive?"live":"vod"}return"unresolved"}},{key:"getLiveCurrentTime",value:function(){if(this.getReady()){if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())return this._getCastCurrentTime();var t=this.getStreamMode();if("live"===t||"livedvr"===t){if(this.isLinearAdOn()&&!this.adImaDai&&this.usingNativeHlsOnAppleDevices)return-1;var e=K.getMediaCurrentTime(this.dom.video);if(e>=0)return Math.round(1e3*e)}}return-1}},{key:"getLiveDuration",value:function(){if(this.getReady()){if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded()){if(this.googleCastCordova){if(this.castMedia.media.duration===Number.POSITIVE_INFINITY||this.castMedia.media.duration===Number.NEGATIVE_INFINITY)return Number.POSITIVE_INFINITY}else if(this.remotePlayer.duration===Number.POSITIVE_INFINITY||this.remotePlayer.duration===Number.NEGATIVE_INFINITY)return Number.POSITIVE_INFINITY;return this._getCastDuration()}var t=this.getStreamMode();if("live"===t||"livedvr"===t){if(this.isLinearAdOn()&&!this.adImaDai&&this.usingNativeHlsOnAppleDevices)return-1;if(this.dom.video&&"number"==typeof this.dom.video.duration&&!Number.isNaN(this.dom.video.duration)){if(Number.isFinite(this.dom.video.duration))return Math.round(1e3*this.dom.video.duration);if(this.dom.video.duration===Number.POSITIVE_INFINITY||this.dom.video.duration===Number.NEGATIVE_INFINITY)return Number.POSITIVE_INFINITY}}}return-1}},{key:"getLivePresentationStartTimeAsDate",value:function(){if(this.shakaPlayer){var t=this.shakaPlayer.getPresentationStartTimeAsDate();if(t)return t}else{if(this.hlsJS)return this.rawProgramDateTime;if(this.dom.video&&"function"==typeof this.dom.video.getStartDate){var e=this.dom.video.getStartDate();return e&&"function"==typeof e.getTime&&isNaN(e.getTime())?-1:e}}return-1}},{key:"_getVolumeAds",value:function(){return this.imaAdsManager?this.imaAdsManager.getVolume():this.rmpVast?this.rmpVast.getVolume():-2}},{key:"getVolume",value:function(){if(this.getReady()){var t;if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())t=this.googleCastCordova?this.castMedia.volume.level:this.remotePlayer.volumeLevel;else if(this.isLinearAdOn()&&!this.adImaDai)t=this._getVolumeAds.call(this);else try{t=this.dom.video.volume}catch(e){console.trace(e),t=-1}if(K.isNumber(t)&&-2!==t)return t}return-1}},{key:"setVolume",value:function(t){if(K.isNumber(t)&&this.getReady()){var e;e=t<0?0:t>1?1:t,this.getMute()&&this.setMute(!1);var i=this.getVolume();if(i>=0&&i<=1&&i===e)return;if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())if(this.googleCastCordova){var r=new chrome.cast.Volume(e,this.getMute()),a=new chrome.cast.media.VolumeRequest(r);this.castMedia.setVolume(a)}else this.remotePlayer.volumeLevel=e,this.remotePlayerController.setVolumeLevel();else{try{this.dom.video.volume=e}catch(n){console.trace(n)}this.isLinearAdOn()&&!this.adImaDai&&Oa.setAdVolume.call(this,e)}}}},{key:"getMute",value:function(){return this.muted}},{key:"_mute",value:function(){this.volumeBeforeMute=this.getVolume(),(this.volumeBeforeMute<0||this.volumeBeforeMute>1)&&(this.volumeBeforeMute=.5),this.muted=!0;try{this.dom.video.muted=!0}catch(i){console.trace(i)}if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())if(this.googleCastCordova){var t=new chrome.cast.Volume(this.volumeBeforeMute,!0),e=new chrome.cast.media.VolumeRequest(t);this.castMedia.setVolume(e)}else this.remotePlayer.isMuted||this.remotePlayerController.muteOrUnmute();else this.isLinearAdOn()&&!this.adImaDai&&Oa.setAdMute.call(this,!0);this.dom.volume.classList.remove("rmp-i-off-volume","rmp-i-volume-half","rmp-i-volume"),this.dom.volume.classList.add("rmp-i-off-volume")}},{key:"_unmute",value:function(){if(!this.permanentMuted){this.muted=!1;try{this.dom.video.muted=!1}catch(r){console.trace(r)}if(this.rmpGoogleCast&&this.rmpGoogleCast.isCastMediaLoaded())if(this.googleCastCordova){var t=new chrome.cast.Volume(this.volumeBeforeMute,!1),e=new chrome.cast.media.VolumeRequest(t);this.castMedia.setVolume(e)}else this.remotePlayer.isMuted&&this.remotePlayerController.muteOrUnmute();else this.isLinearAdOn()&&!this.adImaDai&&Oa.setAdMute.call(this,!1);this.dom.volume.classList.remove("rmp-i-off-volume","rmp-i-volume-half","rmp-i-volume");var i=this.getVolume();Ta.updateVolumeIcon.call(this,i)}}},{key:"setMute",value:function(t){this.getReady()&&(t?this._mute.call(this):this._unmute.call(this))}},{key:"getPlaybackRate",value:function(){return this.dom.video?this.dom.video.playbackRate:-1}},{key:"setPlaybackRate",value:function(t){if(this.getReady()){if(!K.isNumber(t))return;var e=this.getPaused();!e&&yt.isIos[0]&&this.pause();try{this.dom.video.playbackRate=t}catch(i){console.trace(i)}!e&&yt.isIos[0]&&this.play()}}},{key:"showCaptions",value:function(t){"string"==typeof t&&this.getReady()&&nn.menuItemInteraction.call(this,t)}},{key:"hideCaptions",value:function(){this.getReady()&&nn.menuItemInteraction.call(this,"off")}},{key:"getCCVisibleLanguage",value:function(){if(this.dom.captionsOverlayLevelsArea)for(var t=this.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),e=0,i=t.length;e0?this.chaptersArray:[{}]}},{key:"seekToChapter",value:function(t){this.getReady()&&this.chaptersArray.length>0&&"number"==typeof t&&t>-1&&void 0!==this.chaptersArray[t]&&this.seekTo(this.chaptersArray[t].start)}},{key:"setChapters",value:function(t){"string"==typeof t&&""!==t&&(De.destroy.call(this),this.chaptersLoc=t,De.init.call(this))}},{key:"getCastMediaLoaded",value:function(){return this.googleCast&&this.googleCastCordova?this.castConnected:!(!this.googleCast||!this.remotePlayer)&&this.remotePlayer.isMediaLoaded}},{key:"getCastConnected",value:function(){return this.castConnected}},{key:"getCastUrl",value:function(){return this.castUrl}},{key:"getMetadata",value:function(){return K.isEmptyObject(this.meta)?{data:{},type:""}:this.meta}},{key:"getHlsManifestData",value:function(){return this.rmpHlsJS?this.rmpHlsJS.hlsManifestData:{levels:[{}],audioTracks:[{}],subtitles:[{}],captions:[{}]}}},{key:"getHlsSessionData",value:function(){return this.rmpHlsJS?this.rmpHlsJS.hlsSessionData:{}}},{key:"getHlsLevelData",value:function(){return this.rmpHlsJS?this.rmpHlsJS.hlsLevelData:{}}},{key:"getHlsFragmentData",value:function(){return this.rmpHlsJS?this.rmpHlsJS.hlsFragmentData:{}}},{key:"getHlsFragmentBeingPlayedData",value:function(){return this.rmpHlsJS?this.rmpHlsJS.hlsFragmentBeingPlayedData:{}}},{key:"hlsStartLoad",value:function(){this.hlsJS&&this.hlsJS.startLoad()}},{key:"hlsStopLoad",value:function(){this.hlsJS&&this.hlsJS.stopLoad()}},{key:"getHlsJSInstance",value:function(){return this.hlsJS?this.hlsJS:{}}},{key:"getShakaPlayerInstance",value:function(){return this.shakaPlayer?this.shakaPlayer:{}}},{key:"getHtmlMediaElement",value:function(){return this.dom.video?this.dom.video:{}}},{key:"getBitmovinAnalytics",value:function(){return this.bitmovinAnalytics}},{key:"setBitmovinAnalytics",value:function(t){this.bitmovinAnalyticsConfig=t}},{key:"getBandwidthEstimate",value:function(){var t=-1;return this.readingHlsJS?this.hlsJS&&!isNaN(this.hlsJS.bandwidthEstimate)&&(t=Math.round(this.hlsJS.bandwidthEstimate)):this.readingShaka&&this.shakaPlayer&&"function"==typeof this.shakaPlayer.getStats&&(t=(t=this.shakaPlayer.getStats())&&K.isNumber(t.estimatedBandwidth)?Math.round(t.estimatedBandwidth):-1),t<=0&&(t=yt.getEstimateBW(!1)),t}},{key:"getErrorData",value:function(){return this.errorData?this.errorData:{}}},{key:"setModuleOverlayVisible",value:function(t,e){var i;"boolean"==typeof e&&"string"==typeof t&&m()(i=ae.openableTypes).call(i,t)>-1&&this.dom[t+"Overlay"]&&(e&&!K.isVisible(this.dom[t+"Overlay"])?ae.open.call(this,t,null):!e&&K.isVisible(this.dom[t+"Overlay"])&&ae.close.call(this,t,null))}},{key:"getModuleOverlayVisible",value:function(t){var e;return!!("string"==typeof t&&m()(e=ae.openableTypes).call(e,t)>-1&&this.dom[t+"Overlay"])&&K.isVisible(this.dom[t+"Overlay"])}},{key:"resetAutoplayCount",value:function(){window.localStorage&&localStorage.rmpAutoplayCount&&delete localStorage.rmpAutoplayCount}},{key:"getAutoplayMode",value:function(){return this.autoplayMode}},{key:"getPlayerVisible",value:function(){return this.playerVisible}},{key:"getRatio",value:function(){var t={player:-1,media:-1},e=this.getPlayerWidth(),i=this.getPlayerHeight();if(e>0&&i>0&&(t.player=e/i),this.dom.video){var r=this.dom.video.videoWidth,a=this.dom.video.videoHeight;r>0&&a>0&&(t.media=r/a)}return t}},{key:"getFramerate",value:function(){return this.enableFrameNavigation?this.frameRate:-1}},{key:"getDroppedFramesCount",value:function(){return this.enableFrameNavigation&&this.dom.video&&this.dom.video.getVideoPlaybackQuality?this.dom.video.getVideoPlaybackQuality().droppedVideoFrames:-1}},{key:"getCurrentFrameNumber",value:function(){if(this.enableFrameNavigation&&this.frameRate>-1){var t=this.getCurrentTime();if(t>=0){var e=Math.round(t*this.frameRate/1e3);return 0===e?1:e}}return-1}},{key:"getTotalFramesNumber",value:function(){if(this.enableFrameNavigation&&this.frameRate>-1){var t=this.getDuration();if(t>-1)return Math.round(t*this.frameRate/1e3)}return-1}},{key:"seekToFrame",value:function(t){if("string"==typeof t&&("next"===t||"previous"===t||K.isNumber(f()(t)))&&this.enableFrameNavigation&&this.frameRate>-1){var e=this.getCurrentTime(),i=this.getDuration();if(e>-1&&i>-1){var r;if("next"===t)r=e+1/this.frameRate*1e3;else if("previous"===t)r=e-1/this.frameRate*1e3;else{var a=f()(t);a>1?r=a/this.frameRate*1e3:1===a&&(r=0)}this.seekTo(r)}}}},{key:"getSharingUrl",value:function(){return this.sharingUrl}},{key:"setSharingUrl",value:function(t){if("string"==typeof t&&t&&this.filteredSharingNetworks.length>0){var e,i,r,a,n;if(this.sharingUrl=t,m()(e=this.filteredSharingNetworks).call(e,"facebook")>-1){var s=this.dom.container.querySelector(".rmp-i-facebook");null!==s&&s.setAttribute("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(this.sharingUrl))}if(m()(i=this.filteredSharingNetworks).call(i,"twitter")>-1){var o=this.dom.container.querySelector(".rmp-i-twitter");null!==o&&o.setAttribute("href","https://twitter.com/share?url="+encodeURIComponent(this.sharingUrl))}if(m()(r=this.filteredSharingNetworks).call(r,"linkedin")>-1){var l=this.dom.container.querySelector(".rmp-i-linkedin");null!==l&&l.setAttribute("href","https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(this.sharingUrl))}if(m()(a=this.filteredSharingNetworks).call(a,"reddit")>-1){var d=this.dom.container.querySelector(".rmp-i-reddit");null!==d&&d.setAttribute("href","https://www.reddit.com/submit?url="+encodeURIComponent(this.sharingUrl))}if(m()(n=this.filteredSharingNetworks).call(n,"whatsapp")>-1){var h=this.dom.container.querySelector(".rmp-i-whatsapp");null!==h&&h.setAttribute("href","whatsapp://send?text="+encodeURIComponent(this.sharingUrl))}var p=this.dom.container.querySelector("#rmp-sharing-link-"+this.id);null!==p&&(p.value=this.sharingUrl)}}},{key:"getSharingCode",value:function(){return this.sharingCode}},{key:"setSharingCode",value:function(t){var e=this.dom.container.querySelector("#rmp-sharing-code-"+this.id);"string"==typeof t&&t&&null!==e&&(this.sharingCode=t,e.value=this.sharingCode)}},{key:"getCurrentCuePointData",value:function(){return{time:this.currentCuePointTime,text:this.currentCuePointText}}},{key:"getAdLinear",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.isLinear;if(this.rmpVast)return this.rmpVast.getAdLinear()}return!1}},{key:"getAdSystem",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adSystem;if(this.rmpVast){var t=this.rmpVast.getAdSystem();if(t.value)return t.value}}return""}},{key:"getAdContentType",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adContentType;if(this.rmpVast)return this.rmpVast.getAdContentType()}return""}},{key:"getAdTitle",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adTitle;if(this.rmpVast)return this.rmpVast.getAdTitle()}return""}},{key:"getAdDescription",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adDescription;if(this.rmpVast)return this.rmpVast.getAdDescription()}return""}},{key:"getAdMediaUrl",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adMediaUrl;if(this.rmpVast)return this.rmpVast.getAdMediaUrl()}return""}},{key:"getAdMediaHeight",value:function(){var t;if(this.getAdOnStage())if(this.imaAdsManager){if("number"==typeof(t=this.isLinear?this.adVastMediaHeight:this.adNonLinearHeight))return t}else if(this.rmpVast)return this.rmpVast.getAdMediaHeight();return-1}},{key:"getAdMediaWidth",value:function(){var t;if(this.getAdOnStage())if(this.imaAdsManager){if("number"==typeof(t=this.isLinear?this.adVastMediaWidth:this.adNonLinearWidth))return t}else if(this.rmpVast)return this.rmpVast.getAdMediaWidth();return-1}},{key:"getAdCurrentTime",value:function(){if(this.adImaDai&&this.imaDaiAdCurrentTime>=0)return Math.round(1e3*this.imaDaiAdCurrentTime);if(this.isLinearAdOn())if(this.imaAdsManager){var t=this.getAdDuration(),e=this.imaAdsManager.getRemainingTime();if(K.isNumber(e)&&e>=0&&t>=0)return Math.round(t-1e3*e)}else if(this.rmpVast)return this.rmpVast.getAdCurrentTime();return-1}},{key:"getAdDuration",value:function(){if(this.isLinearAdOn())if(this.imaAdsManager){if(K.isNumber(this.adDuration)&&this.adDuration>=0)return 1e3*this.adDuration}else if(this.rmpVast)return this.rmpVast.getAdDuration();return-1}},{key:"getAdOnStage",value:function(){if(this.ads){if(this.imaAdsManager)return this.adOnStage;if(this.rmpVast)return this.rmpVast.getAdOnStage()}return!1}},{key:"getAdPaused",value:function(){if(this.adImaDai)return this.getPaused();if(this.isLinearAdOn()){if(this.imaAdsManager)return this.adPaused;if(this.rmpVast)return this.rmpVast.getAdPaused()}return!1}},{key:"getAdTagUrl",value:function(){return this.getAdOnStage()?this.adTagUrl:""}},{key:"_resetOutstreamAdUI",value:function(){this.dom.playPause.addEventListener("touchend",this.initiatePlayback),this.dom.playPause.addEventListener("click",this.initiatePlayback),yt.isMobile?(this.dom.centralMobileUI.addEventListener("touchend",this.initiatePlayback),this.dom.centralMobileUI.addEventListener("click",this.initiatePlayback)):(this.dom.overlayButton.addEventListener("touchend",this.initiatePlayback),this.dom.overlayButton.addEventListener("click",this.initiatePlayback)),Ot.showCentralPlay.call(this)}},{key:"_onAdDestroyLoadAds",value:function(){this.rmpAdsWithIma?(this.off("adcontentresumerequested",this.onAdDestroyLoadAds),this.rmpAdsWithIma.resetAdsForNewRequest(),this.rmpAdsWithIma.requestAds(this.adTagUrl)):this.rmpAdsWithRmpVast&&(this.off("addestroyed",this.onAdDestroyLoadAds),this.rmpAdsWithRmpVast.restoreContentUI(),this.rmpAdsWithRmpVast.requestAds(this.adTagUrl)),this.adOutStream&&this._resetOutstreamAdUI.call(this)}},{key:"_replaceAdTagVar",value:function(t){var e=t;if(!/__.+__/i.test(e))return e;var i=["__domain__","__player-height__","__player-width__","__random-number__","__page-url__","__timestamp__","__referrer__","__mobile__","__ima__","__item-title__","__item-description__","__item-duration__","__current-time__","__device-ua__"];void 0!==window.__tcfapi&&(i.push("__gdpr__"),i.push("__gdpr-consent__")),void 0!==window.__uspapi&&i.push("__uspdata__");var r=[],a="";"undefined"!=typeof location&&location.hostname&&(a=location.hostname.toLowerCase()),r.push(K.rfc3986EncodeURIComponent(a));var n=this.height;this.isInFullscreen&&(n=yt.screenDimension.height),("number"!=typeof n||n<=0)&&(n=""),r.push(K.rfc3986EncodeURIComponent(Math.round(n).toString()));var s=this.width;this.isInFullscreen&&(s=yt.screenDimension.width),("number"!=typeof s||s<=0)&&(s=""),r.push(K.rfc3986EncodeURIComponent(Math.round(s).toString()));for(var o="",l=0;l<12;l++)o+=K.getRandomInt(0,9).toString();r.push(K.rfc3986EncodeURIComponent(o));var d="";document.URL&&(d=document.URL),r.push(K.rfc3986EncodeURIComponent(d));var h=Date.now();("number"!=typeof h||h<=0)&&(h=""),r.push(K.rfc3986EncodeURIComponent(h.toString()));var p="";document.referrer&&(p=document.referrer),r.push(K.rfc3986EncodeURIComponent(p));var c="";yt.isMobile&&(c="mobile"),r.push(K.rfc3986EncodeURIComponent(c));var m="";"ima"===this.adParser&&(m=this.adParser),r.push(K.rfc3986EncodeURIComponent(m));var u="";""!==this.contentMetadata.title&&(u=this.contentMetadata.title),r.push(K.rfc3986EncodeURIComponent(u));var f="";""!==this.contentMetadata.description&&(f=this.contentMetadata.description),r.push(K.rfc3986EncodeURIComponent(f));var g=this.getDuration();g=-1!==g&&this.isVod?Math.round(g/1e3).toString():"",r.push(K.rfc3986EncodeURIComponent(g));var y=this.getCurrentTime();y=-1!==y&&this.isVod?Math.round(y/1e3).toString():"",r.push(K.rfc3986EncodeURIComponent(y));var b="";return yt.userAgent&&"null"!==yt.userAgent&&(b=yt.userAgent),r.push(K.rfc3986EncodeURIComponent(b)),void 0!==window.__tcfapi&&(r.push(K.rfc3986EncodeURIComponent(window.rmpGlobals.TCFv2.gdprApplies)),r.push(K.rfc3986EncodeURIComponent(window.rmpGlobals.TCFv2.tcString))),void 0!==window.__uspapi&&r.push(K.rfc3986EncodeURIComponent(window.rmpGlobals.USPData)),i.forEach((function(t,i){e=e.replace(t,r[i])})),v()(e).call(e)}},{key:"loadAds",value:function(t,e){if(this.ads&&this.getReady()){if("string"!=typeof t)return;if(this.adImaDai)return;if(this.googleCast&&this.castConnected)return;if(this.adTagUrl=this._replaceAdTagVar(t),e)return void(this.rmpAdsWithIma?this.rmpAdsWithIma.requestAds(this.adTagUrl,e):this.rmpAdsWithRmpVast&&this.rmpAdsWithRmpVast.requestAds(this.adTagUrl,e));if(this.adTagUrl,this.onAdDestroyLoadAds=this._onAdDestroyLoadAds.bind(this),this.rmpAdsWithIma){if(!this.adDCInitialized)return;this.isLinearAdOn()?(this.on("adcontentresumerequested",this.onAdDestroyLoadAds),this.stopAds()):this.onAdDestroyLoadAds()}else if(this.rmpAdsWithRmpVast){if(!this.rmpVast.getInitialized())return;this.isLinearAdOn()?(this.on("addestroyed",this.onAdDestroyLoadAds),this.stopAds()):this.onAdDestroyLoadAds()}}}},{key:"stopAds",value:function(){this.imaAdsManager?(this.adOnStage=!1,this.imaAdsManager.stop()):this.rmpVast&&this.rmpVast.stopAds()}},{key:"skipAd",value:function(){this.ads&&this.getAdSkippableState()&&(this.imaAdsManager?this.imaAdsManager.skip():this.rmpVast&&(this.rmpVast.getIsSkippableAd()||this.isVpaidCreative())&&this.rmpVast.skipAd())}},{key:"getAdSkippableState",value:function(){if(this.adImaDai)return this.imaDaiIsSkippable;if(this.getAdOnStage()){if(this.imaAdsManager)return this.imaAdsManager.getAdSkippableState();if(this.rmpVast&&(this.rmpVast.getIsSkippableAd()||this.isVpaidCreative()))return this.rmpVast.getAdSkippableState()}return!1}},{key:"getAdUI",value:function(){return this.hasAdUI}},{key:"setAdUI",value:function(t){"boolean"==typeof t&&this.getReady()&&Be.setUIForAds.call(this,t)}},{key:"getAdErrorMessage",value:function(){if(this.adImaDai)return this.imaDaiErrorMessage;if(this.getAdOnStage()){if(this.rmpAdsWithIma)return this.rmpAdsWithIma.adErrorMessage;if(this.rmpVast)return this.rmpVast.getAdErrorMessage()}return""}},{key:"getAdVastErrorCode",value:function(){if(this.getAdOnStage()){if(this.rmpAdsWithIma)return this.rmpAdsWithIma.adVastErrorCode;if(this.rmpVast)return this.rmpVast.getAdVastErrorCode()}return-1}},{key:"getAdErrorType",value:function(){if(this.getAdOnStage()){if(this.rmpAdsWithIma)return this.rmpAdsWithIma.adErrorType;if(this.rmpVast)return this.rmpVast.getAdErrorType()}return""}},{key:"getAdPodInfo",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adPodInfo||{};if(this.rmpVast)return this.rmpVast.getAdPodInfo()}return{}}},{key:"getAdSkipTimeOffset",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adSkipTimeOffset;if(this.rmpVast)return this.rmpVast.getSkipTimeOffset()}}},{key:"getAdUniversalAdIds",value:function(){if(this.getAdOnStage())if(this.imaAdsManager){if(this.adUniversalAdIds.length>0){var t=[];return this.adUniversalAdIds.forEach((function(e){t.push({idRegistry:e.getAdIdRegistry(),value:e.getAdIdValue()})})),t}}else if(this.rmpVast)return this.rmpVast.getAdUniversalAdIds();return[{}]}},{key:"getAdvertiserName",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adAdvertiserName;if(this.rmpVast){var t=this.rmpVast.getAdAdvertiser();if(t.value)return t.value}}return""}},{key:"getAdSurveyUrl",value:function(){if(this.getAdOnStage()){if(this.imaAdsManager)return this.adSurveyUrl;if(this.rmpVast)return this.rmpVast.getAdSurvey()}}},{key:"getCompanionAds",value:function(t,e,i){if(this.ads&&this.getReady()){var r=300;"number"==typeof t&&t>0&&(r=t);var a=250;if("number"==typeof e&&e>0&&(a=e),"ima"===this.adParser){if(this.adImaDai){if("function"==typeof this.currentAdForCompanion.getCompanionAds)return this.currentAdForCompanion.getCompanionAds()}else if(this.imaAdsManager){var n=this.currentAdForCompanion.getCompanionAds(r,a,i);if(Array.isArray(n)&&n.length>0)return n}}else if(this.rmpVast){var s=this.rmpVast.getCompanionAdsList(r,a);if(Array.isArray(s)&&s.length>0)return s}}return[{}]}},{key:"getAdBlock",value:function(){var t=this;return new(b())((function(e,i){t.adParserLoadError?e():Be.hasAdblock.call(t).then((function(t){t?e():i(new Error("no adblocker detected"))}))}))}},{key:"getAdsManager",value:function(){return this.imaAdsManager?this.imaAdsManager:{}}},{key:"getAdID",value:function(){return this.getAdOnStage()?this.adID:""}},{key:"getAdCreativeAdId",value:function(){return this.getAdOnStage()?this.adCreativeAdId:""}},{key:"getAdCreativeId",value:function(){return this.getAdOnStage()?this.adCreativeId:""}},{key:"getAdDealId",value:function(){return this.getAdOnStage()?this.adDealId:""}},{key:"getAdApiFramework",value:function(){return this.getAdOnStage()&&"string"==typeof this.adApiFramework?this.adApiFramework:""}},{key:"getAdTraffickingParameters",value:function(){return this.getAdOnStage()&&"object"===n(this.adTraffickingParameters)?this.adTraffickingParameters:{}}},{key:"getAdTraffickingParametersString",value:function(){if(this.getAdOnStage())return this.adTraffickingParametersString}},{key:"getAdWrapperAdIds",value:function(){return this.getAdOnStage()&&Array.isArray(this.adWrapperAdIds)?this.adWrapperAdIds:[""]}},{key:"getAdWrapperAdSystems",value:function(){return this.getAdOnStage()&&Array.isArray(this.adWrapperAdSystems)?this.adWrapperAdSystems:[""]}},{key:"getAdWrapperCreativeIds",value:function(){return this.getAdOnStage()&&Array.isArray(this.adWrapperCreativeIds)?this.adWrapperCreativeIds:[""]}},{key:"getAdErrorCode",value:function(){return this.getAdOnStage()&&this.rmpAdsWithIma?this.rmpAdsWithIma.adErrorCode:-1}},{key:"getCompanionAd",value:function(t){return this.rmpVast?this.rmpVast.getCompanionAd(t):{}}},{key:"getAdParser",value:function(){return this.adParser}},{key:"getAdParserBlocked",value:function(){return this.adParserLoadError}},{key:"isVpaidCreative",value:function(){if(this.getAdOnStage())return this.isVPAID}},{key:"getTimeViewed",value:function(){return Math.round(1e3*this.analyticsSecondsPlayed)}},{key:"getPercentViewed",value:function(){var t=this.getDuration();return t>-1?K.precisionRound(1e3*this.analyticsSecondsPlayed*100/t,2):-1}},{key:"getCurrentTimeInPercent",value:function(){var t=this.getCurrentTime(),e=this.getDuration();return t>-1&&e>-1?100*t/e:-1}},{key:"getTimeReady",value:function(){return this.timeReady}},{key:"getStartUpTime",value:function(){return this.startUpTime}},{key:"getGaEventParameters",value:function(){return this.gaEventParameters}},{key:"setGaEventParameters",value:function(t){K.isEmptyObject(t)||(this.gaEventParameters=t)}},{key:"getFloating",value:function(){return!this.floatingPlayerIsAnchored}},{key:"setFloating",value:function(t){"boolean"==typeof t&&(t?this.floatingPlayerIsAnchored&&Vr.detachPlayer.call(this):this.floatingPlayerIsAnchored||Vr.attachPlayer.call(this))}},{key:"getAudioTracks",value:function(){if(this.getReady()){var t=[];if(this.readingHls&&this.dom.video&&this.dom.video.audioTracks&&this.dom.video.audioTracks.length>1)for(var e=0;e0){var r=this.hlsJS.audioTrack;this.hlsJS.audioTracks.forEach((function(e,i){e.id===r?t.push({language:e.lang,active:!0,id:i}):t.push({language:e.lang,active:!1,id:i})}))}else if(this.shakaPlayer){var a=this.shakaPlayer.getAudioLanguages(),n=this.shakaPlayer.getVariantTracks(),s=w()(n).call(n,(function(t){return!0===t.active}));if(s){var o=s.language;a.forEach((function(e,i){e===o?t.push({language:e,active:!0,id:i}):t.push({language:e,active:!1,id:i})}))}}if(t.length>0)return t}return[{active:!1,id:-1,language:""}]}},{key:"setAudioTrack",value:function(t){var e=this;if(this.getReady()){if("number"!=typeof t)return void Oa.warning.call(this,12e3);var i=this.getAudioTracks().length;if(t>i-1||t<0)return void Oa.warning.call(this,12001);if(this.rmpGoogleCast&&this.rmpGoogleCast.setCastAudioTrack(t),this.readingHls&&this.dom.video&&this.dom.video.audioTracks&&this.dom.video.audioTracks.length>1){for(var r=0;r1)this.hlsJS.audioTrack=t;else if(this.readingShaka&&this.shakaPlayer){var a=this.getAudioTracks(),n=w()(a).call(a,(function(e){return e.id===t}));if(n){if(this.shakaPlayer.selectAudioLanguage(n.language),this.abrAutoMode=!0,this.shakaPlayer.configure({abr:{enabled:!0}}),this.dom.qualityOverlayLevelsArea){for(var s=this.dom.qualityOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),o=[],l=0,d=s.length;l0&&this.rmpShaka.setUpVideoRenditions()}var p=this.shakaPlayer.getTextTracks();if(!this.hasExternalCCFiles&&p.length>0&&this.dom.captionsOverlayLevelsArea){this.defaultTextTrackIndex=0;for(var c=this.dom.captionsOverlayLevelsArea.querySelectorAll(".rmp-overlay-level"),m=0,u=c.length;m0){var i=this.hlsJS.currentLevel;return this.hlsJS.levels.forEach((function(t,r){var a={};a.id=r,a.active=!1,r===i&&(a.active=!0),t.bitrate&&(a.bitrate=t.bitrate),t.width&&(a.width=t.width),t.height&&(a.height=t.height),t.videoCodec&&(a.videoCodec=t.videoCodec),t.audioCodec&&(a.audioCodec=t.audioCodec),e.push(a)})),e}}else{if(this.readingMp4){var r=this.getCurrentBitrateIndex();return this.src.mp4.forEach((function(t,i){var a=!1;i===r&&(a=!0),e.push({active:a,id:i})})),e}if(this.readingM4a||this.readingMp3||this.readingOgg)return e.push({active:!0,id:0}),e}}return[{active:!1,audioCodec:"",bitrate:-1,height:-1,id:-1,videoCodec:"",width:-1}]}},{key:"setBitrate",value:function(t){if(this.getReady()){if("number"!=typeof t)return;if(this.isLinearAdOn())return;var e=this.getBitrates();if(-1!==t&&void 0===e[t]||this.readingMp4&&-1===t)return;if(this.readingMp4)Sr.setMp4Bitrate.call(this,t);else if(this.shakaPlayer){if(-1===t)this.abrAutoMode=!0,this.shakaPlayer.configure({abr:{enabled:!0}});else{this.abrAutoMode=!1,this.shakaPlayer.configure({abr:{enabled:!1}});var i=this.shakaVideoRenditions[t],r=this.shakaPlayer.getVariantTracks(),a=w()(r).call(r,(function(t){return t.id===i}));a&&("instant"===this.manualSwitchingMode?this.shakaPlayer.selectVariantTrack(a,!0):"smooth"===this.manualSwitchingMode?this.shakaPlayer.selectVariantTrack(a,!0,4):this.shakaPlayer.selectVariantTrack(a,!1),Oa.fireLevelSwitchEvents.call(this))}if(this.dom.qualityOverlayLevelsArea){var n=this.dom.qualityOverlayLevelsArea.querySelectorAll(".rmp-overlay-level");if(n.length>0&&n[t+1]){for(var s=0,o=n.length;s=0&&t=0&&Vi.loadItem.call(this,t,null)}},{key:"isPlaylist",value:function(){return this.hasPlaylist}},{key:"getPlaylistData",value:function(){return this.hasPlaylist&&this.playlistList.length>0?this.playlistList:[{}]}},{key:"getPlaylistItem",value:function(t){return this.hasPlaylist&&"number"==typeof t&&t>=0&&this.playlistList.length>0&&this.playlistList[t]?this.playlistList[t]:{}}},{key:"setPlaylistItemCallback",value:function(t){this.hasPlaylist&&"function"==typeof t&&(this.playlistCallback=t)}},{key:"resetPlaylistItemCallback",value:function(){this.hasPlaylist&&(this.playlistCallback=null)}},{key:"setPlaylistData",value:function(t){this.hasPlaylist&&("string"==typeof t&&""!==t||Array.isArray(t)&&"object"===n(t[0]))&&Vi.setData.call(this,t,!1)}},{key:"getCurrentRelatedItemIndex",value:function(){return this.currentRelatedIndex}},{key:"setRelatedItem",value:function(t){this.getReady()&&"number"==typeof t&&t>=0&&xi.loadItem.call(this,t,null)}},{key:"isRelated",value:function(){return this.hasRelated}},{key:"getRelatedData",value:function(){return this.hasRelated&&this.relatedList.length>0?this.relatedList:[{}]}},{key:"getRelatedItem",value:function(t){return this.hasRelated&&"number"==typeof t&&t>=0&&this.relatedList.length>0&&this.relatedList[t]?this.relatedList[t]:{}}},{key:"setRelatedItemCallback",value:function(t){this.hasRelated&&"function"==typeof t&&(this.relatedCallback=t)}},{key:"resetRelatedItemCallback",value:function(){this.hasRelated&&(this.relatedCallback=null)}},{key:"setRelatedData",value:function(t){this.hasRelated&&("string"==typeof t&&""!==t||Array.isArray(t)&&"object"===n(t[0]))&&xi.setData.call(this,t,!1)}},{key:"setSrc",value:function(t,e,i){var r=this;if(this.getReady()&&!this.readingFps&&!this.readingOutstream)if(this.changingSrc)Oa.warning.call(this,1005);else if("object"===n(t)){if(this.readingMse&&this.msePreloadRequested){if(!this.msePreloadCompleted)return;this.msePreloadRequested=!1}var a;if(this.changingSrc=!0,this.preload="auto",this.dispatch("srcchanging"),this.readingPDorNative&&this.bitmovinAnalyticsConfig.key&&"string"==typeof this.bitmovinAnalyticsConfig.key&&(this.bitmovinAnalyticsConfig,this.bitmovinAnalytics.sourceChange(this.bitmovinAnalyticsConfig),this.bitmovinAnalytics),void 0!==e&&Array.isArray(e)&&(a=e),this.backupSrc=[],a&&(this.backupSrc=e),this.src=t,wt.resetHasStreamType.call(this),Oa.detectSrc.call(this),ns.readingNextSrc.call(this),this.startingBitratePath,this.castUrl=this.startingBitratePath,this.dom.container.classList.remove("rmp-error-ui"),this.readingMp4&&(Array.isArray(t.webm)&&t.webm.length>0||Array.isArray(t.mp4)&&t.mp4.length>0)&&(Array.isArray(t.webm)&&this.readingWebM?this.src.mp4=t.webm:Array.isArray(t.mp4)&&(this.src.mp4=t.mp4),"number"==typeof i&&i>-1?this.castUrl=this.startingBitratePath=this.src.mp4[i]:(this.initialBitrate=K.filterInitialBitrate(this.initialBitrate,this.src.mp4),this.castUrl=this.startingBitratePath=this.src.mp4[this.initialBitrate])),this.afterSrcSwitch?this.off("loadedmetadata error",this.afterSrcSwitch):this.afterSrcSwitch=ns.afterSrcSwitch.bind(this),ns.resetStatus.call(this),ns.resetUI.call(this,i),this.isVod=!0,this.isLive=!1,this.detectLive=!0,this.firstDurationChange=!0,this.dom.container.classList.remove("rmp-live"),this.dom.timeElapsedText&&K.setText(this.dom.timeElapsedText,"00:00"),this.getPlayerInitialized())this.ads?(this.imaAdsManager?this.contentCompleteCalled=!1:this.rmpVast&&this.rmpVast.setContentPlayerCompleted(!1),this.getAdOnStage()?(ns.resetAds.call(this),clearInterval(this.setSrcResetAdInterval),this.setSrcResetAdInterval=setInterval((function(){r.setSrcAdReset&&(clearInterval(r.setSrcResetAdInterval),r.setSrcAdReset=!1,ns.resetBuffer.call(r))}),10)):ns.resetBuffer.call(this)):ns.resetBuffer.call(this);else{if(this.readingPDorNative){var s="mp4";this.readingHls?s="hls":this.readingWebM?s="webm":this.readingM4a?s="m4a":this.readingMp3?s="mp3":this.readingOgg&&(s="ogg"),ns.resetNativeHtml5MediaBufferAction.call(this,s),Ot.showCentralPlay.call(this)}else if(this.readingHlsJS)this.msePreloadCompleted?(this.rmpHlsJS?this.rmpHlsJS.destroy():this.rmpHlsJS=new Qi(this),Ot.showCentralPlay.call(this),this.rmpHlsJS.init(),this.msePreloadRequested=!0):Ot.showCentralPlay.call(this);else if(this.readingShaka){if(this.msePreloadCompleted){this.rmpShaka&&this.rmpShaka.destroy();var o=!0;return this.shakaPlayer.destroy().then((function(){o&&(o=!1,Ot.showCentralPlay.call(r),r.rmpShaka||(r.rmpShaka=new $i(r)),r.rmpShaka.init(),r.msePreloadRequested=!0,ns.fireSrcChanged.call(r))})),void setTimeout((function(){o&&(o=!1,Ot.showCentralPlay.call(r),r.rmpShaka||(r.rmpShaka=new $i(r)),r.msePreloadRequested=!0,ns.fireSrcChanged.call(r))}),1e3)}Ot.showCentralPlay.call(this)}ns.fireSrcChanged.call(this)}}}},{key:"getSrc",value:function(){return this.startingBitratePath}},{key:"isChangingSrc",value:function(){return this.changingSrc}},{key:"getShakaCustomRequestFilter",value:function(){return this.shakaCustomRequestFilter}},{key:"setShakaCustomRequestFilter",value:function(t){"function"==typeof t&&(this.shakaCustomRequestFilter=t)}},{key:"getShakaRequestConfiguration",value:function(){return this.shakaRequestConfiguration}},{key:"setShakaRequestConfiguration",value:function(t){"object"===n(t)&&(this.shakaRequestConfiguration=t)}},{key:"getShakaDrm",value:function(){return this.shakaDrm}},{key:"setShakaDrm",value:function(t){K.isEmptyObject(t)||(this.shakaDrm=t)}}]),t}();window.RadiantMP=Fs,Array.isArray(window.rmpAsyncPlayers)&&"object"===n(window.rmpAsyncPlayers[0])&&"string"==typeof window.rmpAsyncPlayers[0].asyncElementID&&""!==window.rmpAsyncPlayers[0].asyncElementID&&(window.rmpAsyncPlayerInstances=[],window.rmpAsyncPlayers.forEach((function(t){var e=t.asyncElementID,i=document.getElementById(e);if(i){var r=new window.RadiantMP(e);window.rmpAsyncPlayerInstances.push(r),K.createSyntheticEvent("rmpasyncplayerinstanceavailable",i),delete t.asyncElementID,r.init(t)}})))}(),window.RadiantMP=r.default}();