// Youtube's JavaScript challenge via yt-dlp 2025-11-12. // Expected output: {"type":"result","responses":[{"type":"result","data":{"BRNXwd52DUmo-T1EP":"NWVR8L904qyK1Q","Nsvsw-Rcz-Ri5hVYC":"5tKLDcWB5IDgrA"}}],... /*! * SPDX-License-Identifier: Unlicense * This file was automatically generated by https://github.com/yt-dlp/ejs * * Bundled Dependencies: * * --- * Name: meriyah * Version: 6.1.4 * License: ISC * Repository: git+https://github.com/meriyah/meriyah.git * Author: Kenny F. (https://github.com/KFlash) * * ISC License * * Copyright (c) 2019 and later, KFlash and others. * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * --- * * --- * Name: astring * Version: 1.9.0 * License: MIT * Repository: https://github.com/davidbonnet/astring.git * Author: David Bonnet * * Copyright (c) 2015, David Bonnet * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * --- */ var lib=function(e){"use strict";const t=((e,t)=>{const r=new Uint32Array(69632);let n=0,o=0;for(;n<2571;){const i=e[n++];if(i<0)o-=i;else{let a=e[n++];2&i&&(a=t[a]),1&i?r.fill(a,o,o+=e[n++]):r[o++]=a}}return r})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,63,2,64,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,65,2,0,0,4294836735,0,3221225471,0,4294901942,2,66,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,18,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,60,2,7,2,6,0,4286611199,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,660618719,0,65487,0,4294828015,0,4092591615,0,1616920031,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,71,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,72,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,10,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,2151677951,2,29,2,9,0,909311,3,0,2,0,814743551,2,49,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,110,2,51,2,0,2,81,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,17,-1,3,0,2,2,53,0,1046528,3,0,3,2,9,2,0,2,54,0,4294960127,2,10,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,0,12288,2,55,0,1048577,2,86,2,14,-1,2,14,0,131042,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,90,2,2,0,-16,2,91,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,2,133,2,0,0,3220242431,3,0,3,2,19,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,2,0,0,4351,2,0,2,9,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,9,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,101,2,102,2,22,2,23,3,0,3,0,67057663,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,2,25,0,1638399,0,57344,2,109,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,67,2,6,2,12,2,10,2,0,2,115,-1,3,0,4,2,10,2,23,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,48,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,57,0,4026531840,2,20,2,43,2,36,2,18,2,37,2,18,2,126,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,144,2,0,2,58,2,56,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,61,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,134,0,4190109695,2,52,-2,2,135,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,68,2,18,2,0,2,42,-6,2,0,2,45,2,59,2,44,2,45,2,46,2,47,0,8388351,-2,2,136,0,3028287487,2,48,2,138,0,33259519,2,49,-9,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,2,57,-13,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,0,4294954999,2,0,-16,2,0,2,92,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,154,-6,0,4194303871,0,4294903771,2,0,2,60,2,100,-3,2,0,0,1073684479,0,17407,-9,2,18,2,17,2,0,2,32,-14,2,18,2,32,-6,2,18,2,12,-15,2,155,3,0,6,0,8323103,-1,3,0,2,2,61,-37,2,62,2,156,2,157,2,158,2,159,2,160,-105,2,26,-32,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-22250,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,63,2,64,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,65,2,0,2,34,-1,2,18,2,66,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,67,3,0,2,0,131135,2,98,0,70256639,0,71303167,0,272,2,42,2,6,0,32511,2,0,2,49,-1,2,99,2,68,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,70,2,69,0,33554435,2,131,2,70,0,2952790016,0,131075,0,3594373096,0,67094296,2,69,-1,0,4294828e3,0,603979263,0,654311424,0,3,0,4294828001,0,602930687,0,1610612736,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,71,2,38,-1,2,4,0,917503,2,38,-1,2,72,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,73,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,2147745791,3,19,2,0,122879,2,0,2,9,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,18,2,51,2,0,2,81,2,49,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,9,0,8160,-1,2,127,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,10,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,-3,2,86,2,14,-3,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,90,2,-17,2,91,0,524157950,2,4,2,0,2,92,2,4,2,0,2,22,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,0,3072,2,0,0,2147516415,2,10,3,0,2,2,25,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,0,4294965179,0,7,2,0,2,9,2,95,2,9,-1,0,1761345536,2,98,0,4294901823,2,38,2,20,2,99,2,35,2,100,0,2080440287,2,0,2,34,2,153,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,101,2,102,2,22,2,23,3,0,3,0,7,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,-3,2,109,3,0,3,2,20,-1,3,5,2,2,110,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,67,2,6,2,30,2,10,2,0,2,115,-1,3,0,4,2,10,2,18,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,126,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,98,0,4294934591,2,37,-7,2,0,0,197631,2,57,-1,2,20,2,43,2,37,2,18,0,3,2,18,2,126,2,21,2,127,2,54,-1,0,2490368,2,127,2,25,2,18,2,34,2,127,2,38,0,4294901904,0,4718591,2,127,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,70,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,17,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,133,-3,3,0,2,2,55,2,134,0,2147549183,0,2,-2,2,135,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,18,2,0,2,42,-6,2,0,0,1,2,59,2,17,0,1,2,46,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,-10,2,35,0,4294836212,2,9,-3,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,10,-55,3,0,17,2,42,2,8,2,18,2,0,2,8,2,18,2,60,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,73,-6,3,0,2,-4,3,0,2,0,67583,-1,2,107,-2,0,11,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,2,144,-187,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,2,153,-57,2,8,2,154,-7,2,18,2,0,2,60,-4,2,0,0,1065361407,0,16384,-9,2,18,2,60,2,0,2,133,-14,2,18,2,133,-6,2,18,0,81919,-15,2,155,3,0,6,2,126,-1,3,0,2,0,2063,-37,2,62,2,156,2,157,2,158,2,159,2,160,-138,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-28386],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4294901759,32767,4294901760,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294705152,4294770687,67043583,1023,15,2047999,67043343,67051519,16777215,2147483648,4294902e3,28,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,535511039,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,4294967288,4294705151,3221208447,4294902271,4294549472,4294921215,4095,4285526655,4294966527,4294966143,64,4294966719,3774873592,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901763,4294901761]),r=e=>!!(1&t[(e>>>5)+34816]>>>e);function n(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function o(e){const t=e.currentChar;if(55296!=(64512&t))return 0;const r=e.source.charCodeAt(e.index+1);return 56320!=(64512&r)?0:65536+((1023&t)<<10)+(1023&r)}function i(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,4&t||(e.column=0,e.line++)}function a(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function s(e){return 160===e||65279===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||8201===e||65519===e}function c(e){return e<65?e-48:e-65+10&15}function l(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return 143360&~e?4096&~e?"Punctuator":"Keyword":"Identifier"}}const u=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function g(e){return e<=127?p[e]>0:r(e)}function f(e){return e<=127?d[e]>0:(e=>!!(1&t[(e>>>5)+0]>>>e))(e)||8204===e||8205===e}const h=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function k(e,t,r,n,o,i){return 2&n&&e.report(0),m(e,t,r,o,i)}function m(e,t,r,o,i){const{index:s}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index=e.source.length)return e.report(34)}const o=e.index-1;let i=y.Empty,a=e.currentChar;const{index:s}=e;for(;f(a);){switch(a){case 103:i&y.Global&&e.report(36,"g"),i|=y.Global;break;case 105:i&y.IgnoreCase&&e.report(36,"i"),i|=y.IgnoreCase;break;case 109:i&y.Multiline&&e.report(36,"m"),i|=y.Multiline;break;case 117:i&y.Unicode&&e.report(36,"u"),i&y.UnicodeSets&&e.report(36,"vu"),i|=y.Unicode;break;case 118:i&y.Unicode&&e.report(36,"uv"),i&y.UnicodeSets&&e.report(36,"v"),i|=y.UnicodeSets;break;case 121:i&y.Sticky&&e.report(36,"y"),i|=y.Sticky;break;case 115:i&y.DotAll&&e.report(36,"s"),i|=y.DotAll;break;case 100:i&y.Indices&&e.report(36,"d"),i|=y.Indices;break;default:e.report(35)}a=n(e)}const c=e.source.slice(s,e.index),l=e.source.slice(t,o);return e.tokenRegExp={pattern:l,flags:c},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=function(e,t,r){try{return new RegExp(t,r)}catch{try{return new RegExp(t,r),null}catch{e.report(34)}}}(e,l,c),65540}function x(e,t,r){const{index:o}=e;let i="",a=n(e),s=e.index;for(;!(8&u[a]);){if(a===r)return i+=e.source.slice(s,e.index),n(e),e.options.raw&&(e.tokenRaw=e.source.slice(o,e.index)),e.tokenValue=i,134283267;if(8&~a||92!==a)8232!==a&&8233!==a||(e.column=-1,e.line++);else{if(i+=e.source.slice(s,e.index),a=n(e),a<127||8232===a||8233===a){const r=S(e,t,a);r>=0?i+=String.fromCodePoint(r):v(e,r,0)}else i+=String.fromCodePoint(a);s=e.index+1}e.index>=e.end&&e.report(16),a=n(e)}e.report(16)}function S(e,t,r,o=0){switch(r){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||125!==e.currentChar?-4:t}{if(!(64&u[t]))return-4;const r=e.source.charCodeAt(e.index+1);if(!(64&u[r]))return-4;const n=e.source.charCodeAt(e.index+2);if(!(64&u[n]))return-4;const o=e.source.charCodeAt(e.index+3);return 64&u[o]?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),c(t)<<12|c(r)<<8|c(n)<<4|c(o)):-4}}case 56:case 57:if(o||!e.options.webcompat||1&t)return-3;e.flags|=4096;default:return r}}function v(e,t,r){switch(t){case-1:return;case-2:e.report(r?2:1);case-3:e.report(r?3:14);case-4:e.report(7);case-5:e.report(104)}}function C(e,t){const{index:r}=e;let o=67174409,i="",a=n(e);for(;96!==a;){if(36===a&&123===e.source.charCodeAt(e.index+1)){n(e),o=67174408;break}if(92===a)if(a=n(e),a>126)i+=String.fromCodePoint(a);else{const{index:r,line:n,column:s}=e,c=S(e,1|t,a,1);if(c>=0)i+=String.fromCodePoint(c);else{if(-1!==c&&64&t){e.index=r,e.line=n,e.column=s,i=null,a=E(e,a),a<0&&(o=67174408);break}v(e,c,1)}}else e.index=e.end&&e.report(17),a=n(e)}return n(e),e.tokenValue=i,e.tokenRaw=e.source.slice(r+1,e.index-(67174409===o?1:2)),o}function E(e,t){for(;96!==t;){switch(t){case 36:{const r=e.index+1;if(r=e.end&&e.report(17),t=n(e)}return t}function q(e,t){return e.index>=e.end&&e.report(0),e.index--,e.column--,C(e,t)}!function(e){e[e.Empty=0]="Empty",e[e.Escape=1]="Escape",e[e.Class=2]="Class"}(w||(w={})),function(e){e[e.Empty=0]="Empty",e[e.IgnoreCase=1]="IgnoreCase",e[e.Global=2]="Global",e[e.Multiline=4]="Multiline",e[e.Unicode=16]="Unicode",e[e.Sticky=8]="Sticky",e[e.DotAll=32]="DotAll",e[e.Indices=64]="Indices",e[e.UnicodeSets=128]="UnicodeSets"}(y||(y={}));const N={0:"Unexpected token",30:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"\\8 and \\9 are not allowed in template strings",4:"Private identifier #%0 is not defined",5:"Illegal Unicode escape sequence",6:"Invalid code point %0",7:"Invalid hexadecimal escape sequence",9:"Octal literals are not allowed in strict mode",8:"Decimal integer literals with a leading zero are forbidden in strict mode",10:"Expected number in radix %0",151:"Invalid left-hand side assignment to a destructible right-hand side",11:"Non-number found after exponent indicator",12:"Invalid BigIntLiteral",13:"No identifiers allowed directly after numeric literal",14:"Escapes \\8 or \\9 are not syntactically valid escapes",15:"Escapes \\8 or \\9 are not allowed in strict mode",16:"Unterminated string literal",17:"Unterminated template literal",18:"Multiline comment was not closed properly",19:"The identifier contained dynamic unicode escape that was not closed",20:"Illegal character '%0'",21:"Missing hexadecimal digits",22:"Invalid implicit octal",23:"Invalid line break in string literal",24:"Only unicode escapes are legal in identifier names",25:"Expected '%0'",26:"Invalid left-hand side in assignment",27:"Invalid left-hand side in async arrow",28:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',29:"Member access on super must be in a method",31:"Await expression not allowed in formal parameter",32:"Yield expression not allowed in formal parameter",95:"Unexpected token: 'escaped keyword'",33:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",123:"Async functions can only be declared at the top level or inside a block",34:"Unterminated regular expression",35:"Unexpected regular expression flag",36:"Duplicate regular expression flag '%0'",37:"%0 functions must have exactly %1 argument%2",38:"Setter function argument must not be a rest parameter",39:"%0 declaration must have a name in this context",40:"Function name may not contain any reserved words or be eval or arguments in strict mode",41:"The rest operator is missing an argument",42:"A getter cannot be a generator",43:"A setter cannot be a generator",44:"A computed property name must be followed by a colon or paren",134:"Object literal keys that are strings or numbers must be a method or have a colon",46:"Found `* async x(){}` but this should be `async * x(){}`",45:"Getters and setters can not be generators",47:"'%0' can not be generator method",48:"No line break is allowed after '=>'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate, found %0",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'};class L extends SyntaxError{start;end;range;loc;description;constructor(e,t,r,...n){const o=N[r].replace(/%(\d+)/g,(e,t)=>n[t]);super("["+e.line+":"+e.column+"-"+t.line+":"+t.column+"]: "+o),this.start=e.index,this.end=t.index,this.range=[e.index,t.index],this.loc={start:{line:e.line,column:e.column},end:{line:t.line,column:t.column}},this.description=o}}function A(e,t,r){let o=e.currentChar,i=0,a=9,s=64&r?0:1,l=0,p=0;if(64&r)i="."+I(e,o),o=e.currentChar,110===o&&e.report(12);else{if(48===o)if(o=n(e),120==(32|o)){for(r=136,o=n(e);4160&u[o];)95!==o?(p=1,i=16*i+c(o),l++,o=n(e)):(p||e.report(152),p=0,o=n(e));0!==l&&p||e.report(0===l?21:153)}else if(111==(32|o)){for(r=132,o=n(e);4128&u[o];)95!==o?(p=1,i=8*i+(o-48),l++,o=n(e)):(p||e.report(152),p=0,o=n(e));0!==l&&p||e.report(0===l?0:153)}else if(98==(32|o)){for(r=130,o=n(e);4224&u[o];)95!==o?(p=1,i=2*i+(o-48),l++,o=n(e)):(p||e.report(152),p=0,o=n(e));0!==l&&p||e.report(0===l?0:153)}else if(32&u[o])for(1&t&&e.report(1),r=1;16&u[o];){if(512&u[o]){r=32,s=0;break}i=8*i+(o-48),o=n(e)}else 512&u[o]?(1&t&&e.report(1),e.flags|=64,r=32):95===o&&e.report(0);if(48&r){if(s){for(;a>=0&&4112&u[o];)if(95!==o)p=0,i=10*i+(o-48),o=n(e),--a;else{if(o=n(e),95===o||32&r)throw new L(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);p=1}if(p)throw new L(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(a>=0&&!g(o)&&46!==o)return e.tokenValue=i,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266}i+=I(e,o),o=e.currentChar,46===o&&(95===n(e)&&e.report(0),r=64,i+="."+I(e,e.currentChar),o=e.currentChar)}}const d=e.index;let f=0;if(110===o&&128&r)f=1,o=n(e);else if(101==(32|o)){o=n(e),256&u[o]&&(o=n(e));const{index:t}=e;16&u[o]||e.report(11),i+=e.source.substring(d,t)+I(e,o),o=e.currentChar}return(e.index","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],V={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};function P(e,t){!(1&e.flags)&&1048576&~e.getToken()&&e.report(30,D[255&e.getToken()]),U(e,t,1074790417)||e.options.onInsertedSemicolon?.(e.startIndex)}function R(e,t,r,n){return t-r<13&&"use strict"===n&&(!(1048576&~e.getToken())||1&e.flags)?1:0}function B(e,t,r){return e.getToken()!==r?0:(ee(e,t),1)}function U(e,t,r){return e.getToken()===r&&(ee(e,t),!0)}function O(e,t,r){e.getToken()!==r&&e.report(25,D[255&r]),ee(e,t)}function M(e,t){switch(t.type){case"ArrayExpression":{t.type="ArrayPattern";const{elements:r}=t;for(let t=0,n=r.length;t0)f(t)||e.report(20,String.fromCodePoint(t)),e.currentChar=t,e.index++,e.column++;else if(!f(e.currentChar))break;n(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(a,e.index));const{length:s}=e.tokenValue;if(i&&s>=2&&s<=11){const n=$(V,e.tokenValue);return void 0===n?208897|(r?-2147483648:0):r?209006===n?2050&t?-2147483528:-2147483648|n:1&t?36970===n?-2147483527:36864&~n?20480&~n?-2147274630:262144&t&&!(8&t)?-2147483648|n:-2147483528:-2147483527:!(262144&t)||8&t||20480&~n?241771===n?262144&t?-2147274630:1024&t?-2147483528:-2147483648|n:209005===n?-2147274630:36864&~n?-2147483528:12288|n|-2147483648:-2147483648|n:n}return 208897|(r?-2147483648:0)}function Z(e){let t=n(e);if(92===t)return 130;const r=o(e);return r&&(t=r),g(t)||e.report(96),130}function K(e){return 117!==e.source.charCodeAt(e.index+1)&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,function(e){let t=0;const r=e.currentChar;if(123===r){const r=e.index-2;for(;64&u[n(e)];)if(t=t<<4|c(e.currentChar),t>1114111)throw new L({index:r,line:e.line,column:e.column},e.currentLocation,104);if(125!==e.currentChar)throw new L({index:r,line:e.line,column:e.column},e.currentLocation,7);return n(e),t}64&u[r]||e.report(7);const o=e.source.charCodeAt(e.index+1);64&u[o]||e.report(7);const i=e.source.charCodeAt(e.index+2);64&u[i]||e.report(7);const a=e.source.charCodeAt(e.index+3);64&u[a]||e.report(7);return t=c(r)<<12|c(o)<<8|c(i)<<4|c(a),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,t}(e)}const Q=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];function ee(e,t){e.flags=1^(1|e.flags),e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(te(e,t,0))}function te(e,t,c){const l=0===e.index,{source:u}=e;let p=e.currentLocation;for(;e.index=e.end)return 8391476;const t=e.currentChar;return 61===t?(n(e),4194338):42!==t?8391476:61!==n(e)?8391735:(n(e),4194335)}case 8389959:return 61!==n(e)?8389959:(n(e),4194341);case 25233968:{n(e);const t=e.currentChar;return 43===t?(n(e),33619993):61===t?(n(e),4194336):25233968}case 25233969:{n(e);const r=e.currentChar;if(45===r){if(n(e),(1&c||l)&&62===e.currentChar){e.options.webcompat||e.report(112),n(e),c=k(e,u,c,t,3,p),p=e.tokenStart;continue}return 33619994}return 61===r?(n(e),4194337):25233969}case 8457014:if(n(e),e.index=48&&r<=57)return A(e,t,80);if(46===r){const t=e.index+1;if(t=48&&t<=57)))return n(e),67108990}return 22}}}else{if((8232^d)<=1){c=-5&c|1,a(e);continue}const i=o(e);if(i>0&&(d=i),r(d))return e.tokenValue="",Y(e,t,0,0);if(s(d)){n(e);continue}e.report(20,String.fromCodePoint(d))}}return 1048576}const re={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ne={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function oe(e){return e.replace(/&(?:[a-zA-Z]+|#[xX][\da-fA-F]+|#\d+);/g,e=>{if("#"===e.charAt(1)){const t=e.charAt(2);return function(e){if(e>=55296&&e<=57343||e>1114111)return"�";return String.fromCodePoint($(ne,e)??e)}("X"===t||"x"===t?parseInt(e.slice(3),16):parseInt(e.slice(2),10))}return $(re,e.slice(1,-1))??e})}function ie(e,t){return e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.setToken(8192&u[e.currentChar]?function(e){const t=e.currentChar;let r=n(e);const o=e.index;for(;r!==t;)e.index>=e.end&&e.report(16),r=n(e);r!==t&&e.report(16);e.tokenValue=e.source.slice(o,e.index),n(e),e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index));return 134283267}(e):te(e,t,0)),e.getToken()}function ae(e){if(e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.index>=e.end)return void e.setToken(1048576);if(60===e.currentChar)return n(e),void e.setToken(8456256);if(123===e.currentChar)return n(e),void e.setToken(2162700);let t=0;for(;e.indexe.declareUnboundVariable(t))):(c&&e.report(172),r&&(n.forEach(t=>e.declareUnboundVariable(t)),i.forEach(t=>e.addBindingToExports(t)))),P(e,32|t);break}case 132:case 86094:i=yt(e,t,r,void 0,2);break;case 86104:i=ot(e,t,r,void 0,4,1,2,0,e.tokenStart);break;case 241737:i=Se(e,t,r,void 0,8,64);break;case 86090:i=Se(e,t,r,void 0,16,64);break;case 86088:i=ve(e,t,r,void 0,64);break;case 209005:{const{tokenStart:n}=e;if(ee(e,t),!(1&e.flags)&&86104===e.getToken()){i=ot(e,t,r,void 0,4,1,2,1,n);break}}default:e.report(30,D[255&e.getToken()])}const c={type:"ExportNamedDeclaration",declaration:i,specifiers:o,source:a,attributes:s};return e.finishNode(c,n)}(e,t,r);break;case 86106:n=function(e,t,r){const n=e.tokenStart;ee(e,t);let o=null;const{tokenStart:i}=e;let a=[];if(134283267===e.getToken())o=nt(e,t);else{if(143360&e.getToken()){const n=qe(e,t,r);if(a=[e.finishNode({type:"ImportDefaultSpecifier",local:n},i)],U(e,t,18))switch(e.getToken()){case 8391476:a.push(Ne(e,t,r));break;case 2162700:Le(e,t,r,a);break;default:e.report(107)}}else switch(e.getToken()){case 8391476:a=[Ne(e,t,r)];break;case 2162700:Le(e,t,r,a);break;case 67174411:return Ie(e,t,void 0,n);case 67108877:return Ae(e,t,n);default:e.report(30,D[255&e.getToken()])}o=function(e,t){O(e,t,209011),134283267!==e.getToken()&&e.report(105,"Import");return nt(e,t)}(e,t)}const s=Xe(e,t),c={type:"ImportDeclaration",specifiers:a,source:o,attributes:s};return P(e,32|t),e.finishNode(c,n)}(e,t,r);break;default:n=fe(e,t,r,void 0,4,{})}return e.leadingDecorators?.decorators.length&&e.report(170),n}function fe(e,t,r,n,o,i){const a=e.tokenStart;switch(e.getToken()){case 86104:return ot(e,t,r,n,o,1,0,0,a);case 132:case 86094:return yt(e,t,r,n,0);case 86090:return Se(e,t,r,n,16,0);case 241737:return function(e,t,r,n,o){const{tokenValue:i,tokenStart:a}=e,s=e.getToken();let c=rt(e,t);if(2240512&e.getToken()){const o=Ce(e,t,r,n,8,0);return P(e,32|t),e.finishNode({type:"VariableDeclaration",kind:"let",declarations:o},a)}e.assignable=1,1&t&&e.report(85);if(21===e.getToken())return be(e,t,r,n,o,{},i,c,s,0,a);if(10===e.getToken()){let r;e.options.lexical&&(r=le(e,t,i)),e.flags=128^(128|e.flags),c=ht(e,t,r,n,[c],0,a)}else c=Fe(e,t,n,c,0,0,a),c=Re(e,t,n,0,0,a,c);18===e.getToken()&&(c=Ve(e,t,n,0,a,c));return me(e,t,c,a)}(e,t,r,n,o);case 20564:e.report(103,"export");case 86106:switch(ee(e,t),e.getToken()){case 67174411:return Ie(e,t,n,a);case 67108877:return Ae(e,t,a);default:e.report(103,"import")}case 209005:return we(e,t,r,n,o,i,1);default:return he(e,t,r,n,o,i,1)}}function he(e,t,r,n,o,i,a){switch(e.getToken()){case 86088:return ve(e,t,r,n,0);case 20572:return function(e,t,r){4096&t||e.report(92);const n=e.tokenStart;ee(e,32|t);const o=1&e.flags||1048576&e.getToken()?null:Pe(e,t,r,0,1,e.tokenStart);return P(e,32|t),e.finishNode({type:"ReturnStatement",argument:o},n)}(e,t,n);case 20569:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,t),O(e,32|t,67174411),e.assignable=1;const a=Pe(e,t,n,0,1,e.tokenStart);O(e,32|t,16);const s=Te(e,t,r,n,o);let c=null;20563===e.getToken()&&(ee(e,32|t),c=Te(e,t,r,n,o));return e.finishNode({type:"IfStatement",test:a,consequent:s,alternate:c},i)}(e,t,r,n,i);case 20567:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,t);const a=((2048&t)>0||(2&t)>0&&(8&t)>0)&&U(e,t,209006);O(e,32|t,67174411),r=r?.createChildScope(1);let s,c=null,l=null,u=0,p=null,d=86088===e.getToken()||241737===e.getToken()||86090===e.getToken();const{tokenStart:g}=e,f=e.getToken();if(d)241737===f?(p=rt(e,t),2240512&e.getToken()?(8673330===e.getToken()?1&t&&e.report(67):p=e.finishNode({type:"VariableDeclaration",kind:"let",declarations:Ce(e,131072|t,r,n,8,32)},g),e.assignable=1):1&t?e.report(67):(d=!1,e.assignable=1,p=Fe(e,t,n,p,0,0,g),471156===e.getToken()&&e.report(115))):(ee(e,t),p=e.finishNode(86088===f?{type:"VariableDeclaration",kind:"var",declarations:Ce(e,131072|t,r,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:Ce(e,131072|t,r,n,16,32)},g),e.assignable=1);else if(1074790417===f)a&&e.report(82);else if(2097152&~f)p=je(e,131072|t,n,1,0,1);else{const r=e.tokenStart;p=2162700===f?ut(e,t,void 0,n,1,0,0,2,32):at(e,t,void 0,n,1,0,0,2,32),u=e.destructible,64&u&&e.report(63),e.assignable=16&u?2:1,p=Fe(e,131072|t,n,p,0,0,r)}if(!(262144&~e.getToken())){if(471156===e.getToken()){2&e.assignable&&e.report(80,a?"await":"of"),M(e,p),ee(e,32|t),s=De(e,t,n,1,0,e.tokenStart),O(e,32|t,16);const c=xe(e,t,r,n,o);return e.finishNode({type:"ForOfStatement",left:p,right:s,body:c,await:a},i)}2&e.assignable&&e.report(80,"in"),M(e,p),ee(e,32|t),a&&e.report(82),s=Pe(e,t,n,0,1,e.tokenStart),O(e,32|t,16);const c=xe(e,t,r,n,o);return e.finishNode({type:"ForInStatement",body:c,left:p,right:s},i)}a&&e.report(82);d||(8&u&&1077936155!==e.getToken()&&e.report(80,"loop"),p=Re(e,131072|t,n,0,0,g,p));18===e.getToken()&&(p=Ve(e,t,n,0,g,p));O(e,32|t,1074790417),1074790417!==e.getToken()&&(c=Pe(e,t,n,0,1,e.tokenStart));O(e,32|t,1074790417),16!==e.getToken()&&(l=Pe(e,t,n,0,1,e.tokenStart));O(e,32|t,16);const h=xe(e,t,r,n,o);return e.finishNode({type:"ForStatement",init:p,test:c,update:l,body:h},i)}(e,t,r,n,i);case 20562:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,32|t);const a=xe(e,t,r,n,o);O(e,t,20578),O(e,32|t,67174411);const s=Pe(e,t,n,0,1,e.tokenStart);return O(e,32|t,16),U(e,32|t,1074790417),e.finishNode({type:"DoWhileStatement",body:a,test:s},i)}(e,t,r,n,i);case 20578:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,t),O(e,32|t,67174411);const a=Pe(e,t,n,0,1,e.tokenStart);O(e,32|t,16);const s=xe(e,t,r,n,o);return e.finishNode({type:"WhileStatement",test:a,body:s},i)}(e,t,r,n,i);case 86110:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,t),O(e,32|t,67174411);const a=Pe(e,t,n,0,1,e.tokenStart);O(e,t,16),O(e,t,2162700);const s=[];let c=0;r=r?.createChildScope(8);for(;1074790415!==e.getToken();){const{tokenStart:i}=e;let a=null;const l=[];for(U(e,32|t,20556)?a=Pe(e,t,n,0,1,e.tokenStart):(O(e,32|t,20561),c&&e.report(89),c=1),O(e,32|t,21);20556!==e.getToken()&&1074790415!==e.getToken()&&20561!==e.getToken();)l.push(fe(e,4|t,r,n,2,{$:o}));s.push(e.finishNode({type:"SwitchCase",test:a,consequent:l},i))}return O(e,32|t,1074790415),e.finishNode({type:"SwitchStatement",discriminant:a,cases:s},i)}(e,t,r,n,i);case 1074790417:return function(e,t){const r=e.tokenStart;return ee(e,32|t),e.finishNode({type:"EmptyStatement"},r)}(e,t);case 2162700:return ke(e,t,r?.createChildScope(),n,i,e.tokenStart);case 86112:return function(e,t,r){const n=e.tokenStart;ee(e,32|t),1&e.flags&&e.report(90);const o=Pe(e,t,r,0,1,e.tokenStart);return P(e,32|t),e.finishNode({type:"ThrowStatement",argument:o},n)}(e,t,n);case 20555:return function(e,t,r){const n=e.tokenStart;ee(e,32|t);let o=null;if(!(1&e.flags)&&143360&e.getToken()){const{tokenValue:n}=e;o=rt(e,32|t),J(e,r,n,0)||e.report(138,n)}else 132&t||e.report(69);return P(e,32|t),e.finishNode({type:"BreakStatement",label:o},n)}(e,t,i);case 20559:return function(e,t,r){128&t||e.report(68);const n=e.tokenStart;ee(e,t);let o=null;if(!(1&e.flags)&&143360&e.getToken()){const{tokenValue:n}=e;o=rt(e,32|t),J(e,r,n,1)||e.report(138,n)}return P(e,32|t),e.finishNode({type:"ContinueStatement",label:o},n)}(e,t,i);case 20577:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,32|t);const a=r?.createChildScope(16),s=ke(e,t,a,n,{$:o}),{tokenStart:c}=e,l=U(e,32|t,20557)?function(e,t,r,n,o,i){let a=null,s=r;U(e,t,67174411)&&(r=r?.createChildScope(4),a=qt(e,t,r,n,2097152&~e.getToken()?512:256,0),18===e.getToken()?e.report(86):1077936155===e.getToken()&&e.report(87),O(e,32|t,16));s=r?.createChildScope(32);const c=ke(e,t,s,n,{$:o});return e.finishNode({type:"CatchClause",param:a,body:c},i)}(e,t,r,n,o,c):null;let u=null;if(20566===e.getToken()){ee(e,32|t);const i=r?.createChildScope(4);u=ke(e,t,i,n,{$:o})}l||u||e.report(88);return e.finishNode({type:"TryStatement",block:s,handler:l,finalizer:u},i)}(e,t,r,n,i);case 20579:return function(e,t,r,n,o){const i=e.tokenStart;ee(e,t),1&t&&e.report(91);O(e,32|t,67174411);const a=Pe(e,t,n,0,1,e.tokenStart);O(e,32|t,16);const s=he(e,t,r,n,2,o,0);return e.finishNode({type:"WithStatement",object:a,body:s},i)}(e,t,r,n,i);case 20560:return function(e,t){const r=e.tokenStart;return ee(e,32|t),P(e,32|t),e.finishNode({type:"DebuggerStatement"},r)}(e,t);case 209005:return we(e,t,r,n,o,i,0);case 20557:e.report(162);case 20566:e.report(163);case 86104:e.report(1&t?76:e.options.webcompat?77:78);case 86094:e.report(79);default:return function(e,t,r,n,o,i,a){const{tokenValue:s,tokenStart:c}=e,l=e.getToken();let u;if(241737===l)u=rt(e,t),1&t&&e.report(85),69271571===e.getToken()&&e.report(84);else u=Je(e,t,n,2,0,1,0,1,e.tokenStart);if(143360&l&&21===e.getToken())return be(e,t,r,n,o,i,s,u,l,a,c);u=Fe(e,t,n,u,0,0,c),u=Re(e,t,n,0,0,c,u),18===e.getToken()&&(u=Ve(e,t,n,0,c,u));return me(e,t,u,c)}(e,t,r,n,o,i,a)}}function ke(e,t,r,n,o,i=e.tokenStart,a="BlockStatement"){const s=[];for(O(e,32|t,2162700);1074790415!==e.getToken();)s.push(fe(e,t,r,n,2,{$:o}));return O(e,32|t,1074790415),e.finishNode({type:a,body:s},i)}function me(e,t,r,n){return P(e,32|t),e.finishNode({type:"ExpressionStatement",expression:r},n)}function be(e,t,r,n,o,i,a,s,c,l,u){j(e,t,0,c,1),function(e,t,r){let n=t;for(;n;)n["$"+r]&&e.report(136,r),n=n.$;t["$"+r]=1}(e,i,a),ee(e,32|t);const p=!l||1&t||!e.options.webcompat||86104!==e.getToken()?he(e,t,r,n,o,i,l):ot(e,t,r?.createChildScope(),n,o,0,0,0,e.tokenStart);return e.finishNode({type:"LabeledStatement",label:s,body:p},u)}function we(e,t,r,n,o,i,a){const{tokenValue:s,tokenStart:c}=e,l=e.getToken();let u=rt(e,t);if(21===e.getToken())return be(e,t,r,n,o,i,s,u,l,1,c);const p=1&e.flags;if(!p){if(86104===e.getToken())return a||e.report(123),ot(e,t,r,n,o,1,0,1,c);if(H(t,e.getToken()))return u=bt(e,t,n,1,c),18===e.getToken()&&(u=Ve(e,t,n,0,c,u)),me(e,t,u,c)}return 67174411===e.getToken()?u=wt(e,t,n,u,1,1,0,p,c):(10===e.getToken()&&(X(e,t,l),36864&~l||(e.flags|=256),u=gt(e,2048|t,n,e.tokenValue,u,0,1,0,c)),e.assignable=1),u=Fe(e,t,n,u,0,0,c),u=Re(e,t,n,0,0,c,u),e.assignable=1,18===e.getToken()&&(u=Ve(e,t,n,0,c,u)),me(e,t,u,c)}function ye(e,t,r,n,o){const i=e.startIndex;1074790417!==n&&(e.assignable=2,r=Fe(e,t,void 0,r,0,0,o),1074790417!==e.getToken()&&(r=Re(e,t,void 0,0,0,o,r),18===e.getToken()&&(r=Ve(e,t,void 0,0,o,r))),P(e,32|t));const a={type:"ExpressionStatement",expression:r};return"Literal"===r.type&&"string"==typeof r.value&&(a.directive=e.source.slice(o.index+1,i-1)),e.finishNode(a,o)}function Te(e,t,r,n,o){const{tokenStart:i}=e;return 1&t||!e.options.webcompat||86104!==e.getToken()?he(e,t,r,n,0,{$:o},0):ot(e,t,r?.createChildScope(),n,0,0,0,0,i)}function xe(e,t,r,n,o){return he(e,131072^(131072|t)|128,r,n,0,{loop:1,$:o},0)}function Se(e,t,r,n,o,i){const a=e.tokenStart;ee(e,t);const s=Ce(e,t,r,n,o,i);return P(e,32|t),e.finishNode({type:"VariableDeclaration",kind:8&o?"let":"const",declarations:s},a)}function ve(e,t,r,n,o){const i=e.tokenStart;ee(e,t);const a=Ce(e,t,r,n,4,o);return P(e,32|t),e.finishNode({type:"VariableDeclaration",kind:"var",declarations:a},i)}function Ce(e,t,r,n,o,i){let a=1;const s=[Ee(e,t,r,n,o,i)];for(;U(e,t,18);)a++,s.push(Ee(e,t,r,n,o,i));return a>1&&32&i&&262144&e.getToken()&&e.report(61,D[255&e.getToken()]),s}function Ee(e,t,r,n,o,i){const{tokenStart:a}=e,s=e.getToken();let c=null;const l=qt(e,t,r,n,o,i);if(1077936155===e.getToken()){if(ee(e,32|t),c=De(e,t,n,1,0,e.tokenStart),(32&i||!(2097152&s))&&(471156===e.getToken()||8673330===e.getToken()&&(2097152&s||!(4&o)||1&t)))throw new L(a,e.currentLocation,60,471156===e.getToken()?"of":"in")}else(16&o||(2097152&s)>0)&&262144&~e.getToken()&&e.report(59,16&o?"const":"destructuring");return e.finishNode({type:"VariableDeclarator",id:l,init:c},a)}function qe(e,t,r){return H(t,e.getToken())||e.report(118),537079808&~e.getToken()||e.report(119),r?.addBlockName(t,e.tokenValue,8,0),rt(e,t)}function Ne(e,t,r){const{tokenStart:n}=e;if(ee(e,t),O(e,t,77932),!(134217728&~e.getToken()))throw new L(n,e.currentLocation,30,D[255&e.getToken()]);return e.finishNode({type:"ImportNamespaceSpecifier",local:qe(e,t,r)},n)}function Le(e,t,r,n){for(ee(e,t);143360&e.getToken()||134283267===e.getToken();){let{tokenValue:o,tokenStart:i}=e;const a=e.getToken(),s=_e(e,t);let c;U(e,t,77932)?(134217728&~e.getToken()&&18!==e.getToken()?j(e,t,16,e.getToken(),0):e.report(106),o=e.tokenValue,c=rt(e,t)):"Identifier"===s.type?(j(e,t,16,a,0),c=s):e.report(25,D[108]),r?.addBlockName(t,o,8,0),n.push(e.finishNode({type:"ImportSpecifier",local:c,imported:s},i)),1074790415!==e.getToken()&&O(e,t,18)}return O(e,t,1074790415),n}function Ae(e,t,r){let n=ze(e,t,e.finishNode({type:"Identifier",name:"import"},r),r);return n=Fe(e,t,void 0,n,0,0,r),n=Re(e,t,void 0,0,0,r,n),18===e.getToken()&&(n=Ve(e,t,void 0,0,r,n)),me(e,t,n,r)}function Ie(e,t,r,n){let o=He(e,t,r,0,n);return o=Fe(e,t,r,o,0,0,n),18===e.getToken()&&(o=Ve(e,t,r,0,n,o)),me(e,t,o,n)}function De(e,t,r,n,o,i){let a=Je(e,t,r,2,0,n,o,1,i);return a=Fe(e,t,r,a,o,0,i),Re(e,t,r,o,0,i,a)}function Ve(e,t,r,n,o,i){const a=[i];for(;U(e,32|t,18);)a.push(De(e,t,r,1,n,e.tokenStart));return e.finishNode({type:"SequenceExpression",expressions:a},o)}function Pe(e,t,r,n,o,i){const a=De(e,t,r,o,n,i);return 18===e.getToken()?Ve(e,t,r,n,i,a):a}function Re(e,t,r,n,o,i,a){const s=e.getToken();if(!(4194304&~s)){2&e.assignable&&e.report(26),(!o&&1077936155===s&&"ArrayExpression"===a.type||"ObjectExpression"===a.type)&&M(e,a),ee(e,32|t);const c=De(e,t,r,1,n,e.tokenStart);return e.assignable=2,e.finishNode(o?{type:"AssignmentPattern",left:a,right:c}:{type:"AssignmentExpression",left:a,operator:D[255&s],right:c},i)}return 8388608&~s||(a=Oe(e,t,r,n,i,4,s,a)),U(e,32|t,22)&&(a=Ue(e,t,r,a,i)),a}function Be(e,t,r,n,o,i,a){const s=e.getToken();ee(e,32|t);const c=De(e,t,r,1,n,e.tokenStart);return a=e.finishNode(o?{type:"AssignmentPattern",left:a,right:c}:{type:"AssignmentExpression",left:a,operator:D[255&s],right:c},i),e.assignable=2,a}function Ue(e,t,r,n,o){const i=De(e,131072^(131072|t),r,1,0,e.tokenStart);O(e,32|t,21),e.assignable=1;const a=De(e,t,r,1,0,e.tokenStart);return e.assignable=2,e.finishNode({type:"ConditionalExpression",test:n,consequent:i,alternate:a},o)}function Oe(e,t,r,n,o,i,a,s){const c=8673330&-((131072&t)>0);let l,u;for(e.assignable=2;8388608&e.getToken()&&(l=e.getToken(),u=3840&l,(524288&l&&268435456&a||524288&a&&268435456&l)&&e.report(165),!(u+((8391735===l)<<8)-((c===l)<<12)<=i));)ee(e,32|t),s=e.finishNode({type:524288&l||268435456&l?"LogicalExpression":"BinaryExpression",left:s,right:Oe(e,t,r,n,e.tokenStart,u,l,je(e,t,r,0,n,1)),operator:D[255&l]},o);return 1077936155===e.getToken()&&e.report(26),s}function Me(e,t,r,n,o,i,a){const{tokenStart:s}=e;O(e,32|t,2162700);const c=[];if(1074790415!==e.getToken()){for(;134283267===e.getToken();){const{index:r,tokenStart:n,tokenIndex:o,tokenValue:i}=e,s=e.getToken(),l=nt(e,t);if(R(e,r,o,i)){if(t|=1,128&e.flags)throw new L(n,e.currentLocation,66);if(64&e.flags)throw new L(n,e.currentLocation,9);if(4096&e.flags)throw new L(n,e.currentLocation,15);a?.reportScopeError()}c.push(ye(e,t,l,s,n))}1&t&&(i&&(537079808&~i||e.report(119),36864&~i||e.report(40)),512&e.flags&&e.report(119),256&e.flags&&e.report(118))}for(e.flags=4928^(4928|e.flags),e.destructible=256^(256|e.destructible);1074790415!==e.getToken();)c.push(fe(e,t,r,n,4,{}));return O(e,24&o?32|t:t,1074790415),e.flags&=-4289,1077936155===e.getToken()&&e.report(26),e.finishNode({type:"BlockStatement",body:c},s)}function je(e,t,r,n,o,i){const a=e.tokenStart;return Fe(e,t,r,Je(e,t,r,2,0,n,o,i,a),o,0,a)}function Fe(e,t,r,n,o,i,a){if(33619968&~e.getToken()||1&e.flags){if(!(67108864&~e.getToken())){switch(t=131072^(131072|t),e.getToken()){case 67108877:{ee(e,8^(262152|t)),16&t&&130===e.getToken()&&"super"===e.tokenValue&&e.report(173),e.assignable=1;const o=Ge(e,64|t,r);n=e.finishNode({type:"MemberExpression",object:n,computed:!1,property:o,optional:!1},a);break}case 69271571:{let i=!1;2048&~e.flags||(i=!0,e.flags=2048^(2048|e.flags)),ee(e,32|t);const{tokenStart:s}=e,c=Pe(e,t,r,o,1,s);O(e,t,20),e.assignable=1,n=e.finishNode({type:"MemberExpression",object:n,computed:!0,property:c,optional:!1},a),i&&(e.flags|=2048);break}case 67174411:{if(!(1024&~e.flags))return e.flags=1024^(1024|e.flags),n;let i=!1;2048&~e.flags||(i=!0,e.flags=2048^(2048|e.flags));const s=tt(e,t,r,o);e.assignable=2,n=e.finishNode({type:"CallExpression",callee:n,arguments:s,optional:!1},a),i&&(e.flags|=2048);break}case 67108990:ee(e,8^(262152|t)),e.flags|=2048,e.assignable=2,n=function(e,t,r,n,o){let i,a=!1;69271571!==e.getToken()&&67174411!==e.getToken()||2048&~e.flags||(a=!0,e.flags=2048^(2048|e.flags));if(69271571===e.getToken()){ee(e,32|t);const{tokenStart:a}=e,s=Pe(e,t,r,0,1,a);O(e,t,20),e.assignable=2,i=e.finishNode({type:"MemberExpression",object:n,computed:!0,optional:!0,property:s},o)}else if(67174411===e.getToken()){const a=tt(e,t,r,0);e.assignable=2,i=e.finishNode({type:"CallExpression",callee:n,arguments:a,optional:!0},o)}else{const a=Ge(e,t,r);e.assignable=2,i=e.finishNode({type:"MemberExpression",object:n,computed:!1,optional:!0,property:a},o)}a&&(e.flags|=2048);return i}(e,t,r,n,a);break;default:2048&~e.flags||e.report(166),e.assignable=2,n=e.finishNode({type:"TaggedTemplateExpression",tag:n,quasi:67174408===e.getToken()?Ke(e,64|t,r):Ze(e,t)},a)}n=Fe(e,t,r,n,0,1,a)}}else n=function(e,t,r,n){2&e.assignable&&e.report(55);const o=e.getToken();return ee(e,t),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:r,operator:D[255&o],prefix:!1},n)}(e,t,n,a);return 0!==i||2048&~e.flags||(e.flags=2048^(2048|e.flags),n=e.finishNode({type:"ChainExpression",expression:n},a)),n}function Ge(e,t,r){return 143360&e.getToken()||-2147483528===e.getToken()||-2147483527===e.getToken()||130===e.getToken()||e.report(160),130===e.getToken()?Ct(e,t,r,0):rt(e,t)}function Je(e,t,r,n,o,i,a,s,c){if(!(143360&~e.getToken())){switch(e.getToken()){case 209006:return function(e,t,r,n,o,i){o&&(e.destructible|=128),524288&t&&e.report(177);const a=dt(e,t,r);if("ArrowFunctionExpression"===a.type||!(65536&e.getToken())){if(2048&t)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},176);if(2&t)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);if(8192&t&&2048&t)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);return a}if(8192&t)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},31);if(2048&t||2&t&&8&t){if(n)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},0);const o=je(e,t,r,0,0,1);return 8391735===e.getToken()&&e.report(33),e.assignable=2,e.finishNode({type:"AwaitExpression",argument:o},i)}if(2&t)throw new L(i,{index:e.startIndex,line:e.startLine,column:e.startColumn},98);return a}(e,t,r,o,a,c);case 241771:return function(e,t,r,n,o,i){if(n&&(e.destructible|=256),1024&t){ee(e,32|t),8192&t&&e.report(32),o||e.report(26),22===e.getToken()&&e.report(124);let n=null,a=!1;return 1&e.flags?8391476===e.getToken()&&e.report(30,D[255&e.getToken()]):(a=U(e,32|t,8391476),(77824&e.getToken()||a)&&(n=De(e,t,r,1,0,e.tokenStart))),e.assignable=2,e.finishNode({type:"YieldExpression",argument:n,delegate:a},i)}return 1&t&&e.report(97,"yield"),dt(e,t,r)}(e,t,r,a,i,c);case 209005:return function(e,t,r,n,o,i,a,s){const c=e.getToken(),l=rt(e,t),{flags:u}=e;if(!(1&u)){if(86104===e.getToken())return it(e,t,r,1,n,s);if(H(t,e.getToken()))return o||e.report(0),36864&~e.getToken()||(e.flags|=256),bt(e,t,r,i,s)}return a||67174411!==e.getToken()?10===e.getToken()?(X(e,t,c),a&&e.report(51),36864&~c||(e.flags|=256),gt(e,t,r,e.tokenValue,l,a,i,0,s)):(e.assignable=1,l):wt(e,t,r,l,i,1,0,u,s)}(e,t,r,a,s,i,o,c)}const{tokenValue:l}=e,u=e.getToken(),p=rt(e,64|t);return 10===e.getToken()?(s||e.report(0),X(e,t,u),36864&~u||(e.flags|=256),gt(e,t,r,l,p,o,i,0,c)):(!(16&t)||32768&t||8192&t||"arguments"!==e.tokenValue||e.report(130),73==(255&u)&&(1&t&&e.report(113),24&n&&e.report(100)),e.assignable=1&t&&!(537079808&~u)?2:1,p)}if(!(134217728&~e.getToken()))return nt(e,t);switch(e.getToken()){case 33619993:case 33619994:return function(e,t,r,n,o,i){n&&e.report(56),o||e.report(0);const a=e.getToken();ee(e,32|t);const s=je(e,t,r,0,0,1);return 2&e.assignable&&e.report(55),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:s,operator:D[255&a],prefix:!0},i)}(e,t,r,o,s,c);case 16863276:case 16842798:case 16842799:case 25233968:case 25233969:case 16863275:case 16863277:return function(e,t,r,n,o){n||e.report(0);const{tokenStart:i}=e,a=e.getToken();ee(e,32|t);const s=je(e,t,r,0,o,1);var c;return 8391735===e.getToken()&&e.report(33),1&t&&16863276===a&&("Identifier"===s.type?e.report(121):(c=s).property&&"PrivateIdentifier"===c.property.type&&e.report(127)),e.assignable=2,e.finishNode({type:"UnaryExpression",operator:D[255&a],argument:s,prefix:!0},i)}(e,t,r,s,a);case 86104:return it(e,t,r,0,a,c);case 2162700:return function(e,t,r,n,o){const i=ut(e,t,void 0,r,n,o,0,2,0);64&e.destructible&&e.report(63);8&e.destructible&&e.report(62);return i}(e,t,r,i?0:1,a);case 69271571:return function(e,t,r,n,o){const i=at(e,t,void 0,r,n,o,0,2,0);64&e.destructible&&e.report(63);8&e.destructible&&e.report(62);return i}(e,t,r,i?0:1,a);case 67174411:return function(e,t,r,n,o,i,a){e.flags=128^(128|e.flags);const s=e.tokenStart;ee(e,262176|t);const c=e.createScopeIfLexical()?.createChildScope(512);if(t=131072^(131072|t),U(e,t,16))return ft(e,t,c,r,[],n,0,a);let l,u=0;e.destructible&=-385;let p=[],d=0,g=0,f=0;const h=e.tokenStart;e.assignable=1;for(;16!==e.getToken();){const{tokenStart:n}=e,a=e.getToken();if(143360&a)c?.addBlockName(t,e.tokenValue,1,0),537079808&~a?36864&~a||(f=1):g=1,l=Je(e,t,r,o,0,1,1,1,n),16===e.getToken()||18===e.getToken()?2&e.assignable&&(u|=16,g=1):(1077936155===e.getToken()?g=1:u|=16,l=Fe(e,t,r,l,1,0,n),16!==e.getToken()&&18!==e.getToken()&&(l=Re(e,t,r,1,0,n,l)));else{if(2097152&~a){if(14===a){l=ct(e,t,c,r,16,o,i,0,1,0),16&e.destructible&&e.report(74),g=1,!d||16!==e.getToken()&&18!==e.getToken()||p.push(l),u|=8;break}if(u|=16,l=De(e,t,r,1,1,n),!d||16!==e.getToken()&&18!==e.getToken()||p.push(l),18===e.getToken()&&(d||(d=1,p=[l])),d){for(;U(e,32|t,18);)p.push(De(e,t,r,1,1,e.tokenStart));e.assignable=2,l=e.finishNode({type:"SequenceExpression",expressions:p},h)}return O(e,t,16),e.destructible=u,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:l},s):l}l=2162700===a?ut(e,262144|t,c,r,0,1,0,o,i):at(e,262144|t,c,r,0,1,0,o,i),u|=e.destructible,g=1,e.assignable=2,16!==e.getToken()&&18!==e.getToken()&&(8&u&&e.report(122),l=Fe(e,t,r,l,0,0,n),u|=16,16!==e.getToken()&&18!==e.getToken()&&(l=Re(e,t,r,0,0,n,l)))}if(!d||16!==e.getToken()&&18!==e.getToken()||p.push(l),!U(e,32|t,18))break;if(d||(d=1,p=[l]),16===e.getToken()){u|=8;break}}d&&(e.assignable=2,l=e.finishNode({type:"SequenceExpression",expressions:p},h));O(e,t,16),16&u&&8&u&&e.report(151);if(u|=256&e.destructible?256:128&e.destructible?128:0,10===e.getToken())return 48&u&&e.report(49),2050&t&&128&u&&e.report(31),1025&t&&256&u&&e.report(32),g&&(e.flags|=128),f&&(e.flags|=256),ft(e,t,c,r,d?p:[l],n,0,a);64&u&&e.report(63);8&u&&e.report(144);return e.destructible=256^(256|e.destructible)|u,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:l},s):l}(e,64|t,r,i,1,0,c);case 86021:case 86022:case 86023:return function(e,t){const r=e.tokenStart,n=D[255&e.getToken()],o=86023===e.getToken()?null:"true"===n;return ee(e,t),e.assignable=2,e.finishNode(e.options.raw?{type:"Literal",value:o,raw:n}:{type:"Literal",value:o},r)}(e,t);case 86111:return function(e,t){const{tokenStart:r}=e;return ee(e,t),e.assignable=2,e.finishNode({type:"ThisExpression"},r)}(e,t);case 65540:return function(e,t){const{tokenRaw:r,tokenRegExp:n,tokenValue:o,tokenStart:i}=e;ee(e,t),e.assignable=2;const a={type:"Literal",value:o,regex:n};e.options.raw&&(a.raw=r);return e.finishNode(a,i)}(e,t);case 132:case 86094:return function(e,t,r,n,o){let i=null,a=null;const s=Tt(e,t,r);t=16384^(16385|t),ee(e,t),4096&e.getToken()&&20565!==e.getToken()&&(G(e,t,e.getToken())&&e.report(118),537079808&~e.getToken()||e.report(119),i=rt(e,t));let c=t;U(e,32|t,20565)?(a=je(e,t,r,0,n,0),c|=512):c=512^(512|c);const l=St(e,c,t,void 0,r,2,0,n);return e.assignable=2,e.finishNode({type:"ClassExpression",id:i,superClass:a,body:l,...e.options.next?{decorators:s}:null},o)}(e,t,r,a,c);case 86109:return function(e,t){const{tokenStart:r}=e;switch(ee(e,t),e.getToken()){case 67108990:e.report(167);case 67174411:512&t||e.report(28),e.assignable=2;break;case 69271571:case 67108877:256&t||e.report(29),e.assignable=1;break;default:e.report(30,"super")}return e.finishNode({type:"Super"},r)}(e,t);case 67174409:return Ze(e,t);case 67174408:return Ke(e,t,r);case 86107:return function(e,t,r,n){const{tokenStart:o}=e,i=rt(e,32|t),{tokenStart:a}=e;if(U(e,t,67108877)){if(65536&t&&209029===e.getToken())return e.assignable=2,function(e,t,r,n){const o=rt(e,t);return e.finishNode({type:"MetaProperty",meta:r,property:o},n)}(e,t,i,o);e.report(94)}e.assignable=2,16842752&~e.getToken()||e.report(65,D[255&e.getToken()]);const s=Je(e,t,r,2,1,0,n,1,a);t=131072^(131072|t),67108990===e.getToken()&&e.report(168);const c=mt(e,t,r,s,n,a);return e.assignable=2,e.finishNode({type:"NewExpression",callee:c,arguments:67174411===e.getToken()?tt(e,t,r,n):[]},o)}(e,t,r,a);case 134283388:return Ye(e,t);case 130:return Ct(e,t,r,0);case 86106:return function(e,t,r,n,o,i){let a=rt(e,t);if(67108877===e.getToken())return ze(e,t,a,i);n&&e.report(142);return a=He(e,t,r,o,i),e.assignable=2,Fe(e,t,r,a,o,0,i)}(e,t,r,o,a,c);case 8456256:if(e.options.jsx)return Lt(e,t,r,0,e.tokenStart);default:if(H(t,e.getToken()))return dt(e,t,r);e.report(30,D[255&e.getToken()])}}function ze(e,t,r,n){2&t||e.report(169),ee(e,t);const o=e.getToken();return 209030!==o&&"meta"!==e.tokenValue?e.report(174):-2147483648&o&&e.report(175),e.assignable=2,e.finishNode({type:"MetaProperty",meta:r,property:rt(e,t)},n)}function He(e,t,r,n,o){O(e,32|t,67174411),14===e.getToken()&&e.report(143);const i=De(e,t,r,1,n,e.tokenStart);let a=null;if(18===e.getToken()){if(O(e,t,18),16!==e.getToken()){a=De(e,131072^(131072|t),r,1,n,e.tokenStart)}U(e,t,18)}const s={type:"ImportExpression",source:i,options:a};return O(e,t,16),e.finishNode(s,o)}function Xe(e,t){if(!U(e,t,20579))return[];O(e,t,2162700);const r=[],n=new Set;for(;1074790415!==e.getToken();){const o=e.tokenStart,i=We(e,t);O(e,t,21);const a=$e(e,t),s="Literal"===i.type?i.value:i.name;n.has(s)&&e.report(145,`${s}`),n.add(s),r.push(e.finishNode({type:"ImportAttribute",key:i,value:a},o)),1074790415!==e.getToken()&&O(e,t,18)}return O(e,t,1074790415),r}function $e(e,t){if(134283267===e.getToken())return nt(e,t);e.report(30,D[255&e.getToken()])}function We(e,t){return 134283267===e.getToken()?nt(e,t):143360&e.getToken()?rt(e,t):void e.report(30,D[255&e.getToken()])}function _e(e,t){return 134283267===e.getToken()?(function(e,t){const r=t.length;for(let n=0;n56319||++n>=r||56320!=(64512&t.charCodeAt(n)))&&e.report(171,JSON.stringify(t.charAt(n--)))}}(e,e.tokenValue),nt(e,t)):143360&e.getToken()?rt(e,t):void e.report(30,D[255&e.getToken()])}function Ye(e,t){const{tokenRaw:r,tokenValue:n,tokenStart:o}=e;ee(e,t),e.assignable=2;const i={type:"Literal",value:n,bigint:String(n)};return e.options.raw&&(i.raw=r),e.finishNode(i,o)}function Ze(e,t){e.assignable=2;const{tokenValue:r,tokenRaw:n,tokenStart:o}=e;O(e,t,67174409);const i=[Qe(e,r,n,o,!0)];return e.finishNode({type:"TemplateLiteral",expressions:[],quasis:i},o)}function Ke(e,t,r){t=131072^(131072|t);const{tokenValue:n,tokenRaw:o,tokenStart:i}=e;O(e,-65&t|32,67174408);const a=[Qe(e,n,o,i,!1)],s=[Pe(e,-65&t,r,0,1,e.tokenStart)];for(1074790415!==e.getToken()&&e.report(83);67174409!==e.setToken(q(e,t),!0);){const{tokenValue:n,tokenRaw:o,tokenStart:i}=e;O(e,-65&t|32,67174408),a.push(Qe(e,n,o,i,!1)),s.push(Pe(e,t,r,0,1,e.tokenStart)),1074790415!==e.getToken()&&e.report(83)}{const{tokenValue:r,tokenRaw:n,tokenStart:o}=e;O(e,t,67174409),a.push(Qe(e,r,n,o,!0))}return e.finishNode({type:"TemplateLiteral",expressions:s,quasis:a},i)}function Qe(e,t,r,n,o){const i=e.finishNode({type:"TemplateElement",value:{cooked:t,raw:r},tail:o},n),a=o?1:2;return e.options.ranges&&(i.start+=1,i.range[0]+=1,i.end-=a,i.range[1]-=a),e.options.loc&&(i.loc.start.column+=1,i.loc.end.column-=a),i}function et(e,t,r){const n=e.tokenStart;O(e,32|(t=131072^(131072|t)),14);const o=De(e,t,r,1,0,e.tokenStart);return e.assignable=1,e.finishNode({type:"SpreadElement",argument:o},n)}function tt(e,t,r,n){ee(e,32|t);const o=[];if(16===e.getToken())return ee(e,64|t),o;for(;16!==e.getToken()&&(14===e.getToken()?o.push(et(e,t,r)):o.push(De(e,t,r,1,n,e.tokenStart)),18===e.getToken())&&(ee(e,32|t),16!==e.getToken()););return O(e,64|t,16),o}function rt(e,t){const{tokenValue:r,tokenStart:n}=e,o="await"===r&&!(-2147483648&e.getToken());return ee(e,t|(o?32:0)),e.finishNode({type:"Identifier",name:r},n)}function nt(e,t){const{tokenValue:r,tokenRaw:n,tokenStart:o}=e;return 134283388===e.getToken()?Ye(e,t):(ee(e,t),e.assignable=2,e.finishNode(e.options.raw?{type:"Literal",value:r,raw:n}:{type:"Literal",value:r},o))}function ot(e,t,r,n,o,i,a,s,c){ee(e,32|t);const l=i?B(e,t,8391476):0;let u,p=null,d=r?e.createScope():void 0;if(67174411===e.getToken())1&a||e.report(39,"Function");else{const n=!(4&o)||8&t&&2&t?64|(s?1024:0)|(l?1024:0):4;F(e,t,e.getToken()),r&&(4&n?r.addVarName(t,e.tokenValue,n):r.addBlockName(t,e.tokenValue,n,o),d=d?.createChildScope(128),a&&2&a&&e.declareUnboundVariable(e.tokenValue)),u=e.getToken(),143360&e.getToken()?p=rt(e,t):e.report(30,D[255&e.getToken()])}{const e=28416;t=(t|e)^e|65536|(s?2048:0)|(l?1024:0)|(l?0:262144)}d=d?.createChildScope(256);const g=kt(e,-524289&t|8192,d,n,0,1),f=524428,h=Me(e,36864|(t|f)^f,d?.createChildScope(64),n,8,u,d);return e.finishNode({type:"FunctionDeclaration",id:p,params:g,body:h,async:1===s,generator:1===l},c)}function it(e,t,r,n,o,i){ee(e,32|t);const a=B(e,t,8391476),s=(n?2048:0)|(a?1024:0);let c,l=null,u=e.createScopeIfLexical();const p=552704;143360&e.getToken()&&(F(e,(t|p)^p|s,e.getToken()),u=u?.createChildScope(128),c=e.getToken(),l=rt(e,t)),t=(t|p)^p|65536|s|(a?0:262144),u=u?.createChildScope(256);const d=kt(e,-524289&t|8192,u,r,o,1),g=Me(e,36864|-131229&t,u?.createChildScope(64),r,0,c,u);return e.assignable=2,e.finishNode({type:"FunctionExpression",id:l,params:d,body:g,async:1===n,generator:1===a},i)}function at(e,t,r,n,o,i,a,s,c){const{tokenStart:l}=e;ee(e,32|t);const u=[];let p=0;for(t=131072^(131072|t);20!==e.getToken();)if(U(e,32|t,18))u.push(null);else{let o;const{tokenStart:l,tokenValue:d}=e,g=e.getToken();if(143360&g)if(o=Je(e,t,n,s,0,1,i,1,l),1077936155===e.getToken()){2&e.assignable&&e.report(26),ee(e,32|t),r?.addVarOrBlock(t,d,s,c);const u=De(e,t,n,1,i,e.tokenStart);o=e.finishNode(a?{type:"AssignmentPattern",left:o,right:u}:{type:"AssignmentExpression",operator:"=",left:o,right:u},l),p|=256&e.destructible?256:128&e.destructible?128:0}else 18===e.getToken()||20===e.getToken()?(2&e.assignable?p|=16:r?.addVarOrBlock(t,d,s,c),p|=256&e.destructible?256:128&e.destructible?128:0):(p|=1&s?32:2&s?0:16,o=Fe(e,t,n,o,i,0,l),18!==e.getToken()&&20!==e.getToken()?(1077936155!==e.getToken()&&(p|=16),o=Re(e,t,n,i,a,l,o)):1077936155!==e.getToken()&&(p|=2&e.assignable?16:32));else 2097152&g?(o=2162700===e.getToken()?ut(e,t,r,n,0,i,a,s,c):at(e,t,r,n,0,i,a,s,c),p|=e.destructible,e.assignable=16&e.destructible?2:1,18===e.getToken()||20===e.getToken()?2&e.assignable&&(p|=16):8&e.destructible?e.report(71):(o=Fe(e,t,n,o,i,0,l),p=2&e.assignable?16:0,18!==e.getToken()&&20!==e.getToken()?o=Re(e,t,n,i,a,l,o):1077936155!==e.getToken()&&(p|=2&e.assignable?16:32))):14===g?(o=ct(e,t,r,n,20,s,c,0,i,a),p|=e.destructible,18!==e.getToken()&&20!==e.getToken()&&e.report(30,D[255&e.getToken()])):(o=je(e,t,n,1,0,1),18!==e.getToken()&&20!==e.getToken()?(o=Re(e,t,n,i,a,l,o),3&s||67174411!==g||(p|=16)):2&e.assignable?p|=16:67174411===g&&(p|=1&e.assignable&&3&s?32:16));if(u.push(o),!U(e,32|t,18))break;if(20===e.getToken())break}O(e,t,20);const d=e.finishNode({type:a?"ArrayPattern":"ArrayExpression",elements:u},l);return!o&&4194304&e.getToken()?st(e,t,n,p,i,a,l,d):(e.destructible=p,d)}function st(e,t,r,n,o,i,a,s){1077936155!==e.getToken()&&e.report(26),ee(e,32|t),16&n&&e.report(26),i||M(e,s);const{tokenStart:c}=e,l=De(e,t,r,1,o,c);return e.destructible=72^(72|n)|(128&e.destructible?128:0)|(256&e.destructible?256:0),e.finishNode(i?{type:"AssignmentPattern",left:s,right:l}:{type:"AssignmentExpression",left:s,operator:"=",right:l},a)}function ct(e,t,r,n,o,i,a,s,c,l){const{tokenStart:u}=e;ee(e,32|t);let p=null,d=0;const{tokenValue:g,tokenStart:f}=e;let h=e.getToken();if(143360&h)e.assignable=1,p=Je(e,t,n,i,0,1,c,1,f),h=e.getToken(),p=Fe(e,t,n,p,c,0,f),18!==e.getToken()&&e.getToken()!==o&&(2&e.assignable&&1077936155===e.getToken()&&e.report(71),d|=16,p=Re(e,t,n,c,l,f,p)),2&e.assignable?d|=16:h===o||18===h?r?.addVarOrBlock(t,g,i,a):d|=32,d|=128&e.destructible?128:0;else if(h===o)e.report(41);else{if(!(2097152&h)){d|=32,p=je(e,t,n,1,c,1);const{tokenStart:r}=e,i=e.getToken();return 1077936155===i?(2&e.assignable&&e.report(26),p=Re(e,t,n,c,l,r,p),d|=16):(18===i?d|=16:i!==o&&(p=Re(e,t,n,c,l,r,p)),d|=1&e.assignable?32:16),e.destructible=d,e.getToken()!==o&&18!==e.getToken()&&e.report(161),e.finishNode({type:l?"RestElement":"SpreadElement",argument:p},u)}p=2162700===e.getToken()?ut(e,t,r,n,1,c,l,i,a):at(e,t,r,n,1,c,l,i,a),h=e.getToken(),1077936155!==h&&h!==o&&18!==h?(8&e.destructible&&e.report(71),p=Fe(e,t,n,p,c,0,f),d|=2&e.assignable?16:0,4194304&~e.getToken()?(8388608&~e.getToken()||(p=Oe(e,t,n,1,f,4,h,p)),U(e,32|t,22)&&(p=Ue(e,t,n,p,f)),d|=2&e.assignable?16:32):(1077936155!==e.getToken()&&(d|=16),p=Re(e,t,n,c,l,f,p))):d|=1074790415===o&&1077936155!==h?16:e.destructible}if(e.getToken()!==o)if(1&i&&(d|=s?16:32),U(e,32|t,1077936155)){16&d&&e.report(26),M(e,p);const r=De(e,t,n,1,c,e.tokenStart);p=e.finishNode(l?{type:"AssignmentPattern",left:p,right:r}:{type:"AssignmentExpression",left:p,operator:"=",right:r},f),d=16}else d|=16;return e.destructible=d,e.finishNode({type:l?"RestElement":"SpreadElement",argument:p},u)}function lt(e,t,r,n,o,i){const a=11264|(64&n?0:16896);t=98560|((t|a)^a|(8&n?1024:0)|(16&n?2048:0)|(64&n?16384:0));let s=e.createScopeIfLexical(256);const c=function(e,t,r,n,o,i,a){O(e,t,67174411);const s=[];if(e.flags=128^(128|e.flags),16===e.getToken())return 512&o&&e.report(37,"Setter","one",""),ee(e,t),s;256&o&&e.report(37,"Getter","no","s");512&o&&14===e.getToken()&&e.report(38);t=131072^(131072|t);let c=0,l=0;for(;18!==e.getToken();){let u=null;const{tokenStart:p}=e;if(143360&e.getToken()?(1&t||(36864&~e.getToken()||(e.flags|=256),537079808&~e.getToken()||(e.flags|=512)),u=Nt(e,t,r,1|o,0)):(2162700===e.getToken()?u=ut(e,t,r,n,1,a,1,i,0):69271571===e.getToken()?u=at(e,t,r,n,1,a,1,i,0):14===e.getToken()&&(u=ct(e,t,r,n,16,i,0,0,a,1)),l=1,48&e.destructible&&e.report(50)),1077936155===e.getToken()){ee(e,32|t),l=1;const r=De(e,t,n,1,0,e.tokenStart);u=e.finishNode({type:"AssignmentPattern",left:u,right:r},p)}if(c++,s.push(u),!U(e,t,18))break;if(16===e.getToken())break}512&o&&1!==c&&e.report(37,"Setter","one","");r?.reportScopeError(),l&&(e.flags|=128);return O(e,t,16),s}(e,-524289&t|8192,s,r,n,1,o);s=s?.createChildScope(64);const l=Me(e,36864|-655373&t,s,r,0,void 0,s?.parent);return e.finishNode({type:"FunctionExpression",params:c,body:l,async:(16&n)>0,generator:(8&n)>0,id:null},i)}function ut(e,t,r,n,o,i,a,s,c){const{tokenStart:l}=e;ee(e,t);const u=[];let p=0,d=0;for(t=131072^(131072|t);1074790415!==e.getToken();){const{tokenValue:o,tokenStart:l}=e,g=e.getToken();if(14===g)u.push(ct(e,t,r,n,1074790415,s,c,0,i,a));else{let f,h=0,k=null;if(143360&e.getToken()||-2147483528===e.getToken()||-2147483527===e.getToken())if(-2147483527===e.getToken()&&(p|=16),k=rt(e,t),18===e.getToken()||1074790415===e.getToken()||1077936155===e.getToken())if(h|=4,1&t&&!(537079808&~g)?p|=16:j(e,t,s,g,0),r?.addVarOrBlock(t,o,s,c),U(e,32|t,1077936155)){p|=8;const r=De(e,t,n,1,i,e.tokenStart);p|=256&e.destructible?256:128&e.destructible?128:0,f=e.finishNode({type:"AssignmentPattern",left:e.options.uniqueKeyInPattern?Object.assign({},k):k,right:r},l)}else p|=(209006===g?128:0)|(-2147483528===g?16:0),f=e.options.uniqueKeyInPattern?Object.assign({},k):k;else if(U(e,32|t,21)){const{tokenStart:l}=e;if("__proto__"===o&&d++,143360&e.getToken()){const o=e.getToken(),u=e.tokenValue;f=Je(e,t,n,s,0,1,i,1,l);const d=e.getToken();f=Fe(e,t,n,f,i,0,l),18===e.getToken()||1074790415===e.getToken()?1077936155===d||1074790415===d||18===d?(p|=128&e.destructible?128:0,2&e.assignable?p|=16:143360&~o||r?.addVarOrBlock(t,u,s,c)):p|=1&e.assignable?32:16:4194304&~e.getToken()?(p|=16,8388608&~e.getToken()||(f=Oe(e,t,n,1,l,4,d,f)),U(e,32|t,22)&&(f=Ue(e,t,n,f,l))):(2&e.assignable?p|=16:1077936155!==d?p|=32:r?.addVarOrBlock(t,u,s,c),f=Re(e,t,n,i,a,l,f))}else 2097152&~e.getToken()?(f=je(e,t,n,1,i,1),p|=1&e.assignable?32:16,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):(f=Fe(e,t,n,f,i,0,l),p=2&e.assignable?16:0,18!==e.getToken()&&1074790415!==g&&(1077936155!==e.getToken()&&(p|=16),f=Re(e,t,n,i,a,l,f)))):(f=69271571===e.getToken()?at(e,t,r,n,0,i,a,s,c):ut(e,t,r,n,0,i,a,s,c),p=e.destructible,e.assignable=16&p?2:1,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):8&e.destructible?e.report(71):(f=Fe(e,t,n,f,i,0,l),p=2&e.assignable?16:0,4194304&~e.getToken()?(8388608&~e.getToken()||(f=Oe(e,t,n,1,l,4,g,f)),U(e,32|t,22)&&(f=Ue(e,t,n,f,l)),p|=2&e.assignable?16:32):f=Be(e,t,n,i,a,l,f)))}else 69271571===e.getToken()?(p|=16,209005===g&&(h|=16),h|=2|(209008===g?256:209009===g?512:1),k=pt(e,t,n,i),p|=e.assignable,f=lt(e,t,n,h,i,e.tokenStart)):143360&e.getToken()?(p|=16,-2147483528===g&&e.report(95),209005===g?(1&e.flags&&e.report(132),h|=17):209008===g?h|=256:209009===g?h|=512:e.report(0),k=rt(e,t),f=lt(e,t,n,h,i,e.tokenStart)):67174411===e.getToken()?(p|=16,h|=1,f=lt(e,t,n,h,i,e.tokenStart)):8391476===e.getToken()?(p|=16,209008===g?e.report(42):209009===g?e.report(43):209005!==g&&e.report(30,D[52]),ee(e,t),h|=9|(209005===g?16:0),143360&e.getToken()?k=rt(e,t):134217728&~e.getToken()?69271571===e.getToken()?(h|=2,k=pt(e,t,n,i),p|=e.assignable):e.report(30,D[255&e.getToken()]):k=nt(e,t),f=lt(e,t,n,h,i,e.tokenStart)):134217728&~e.getToken()?e.report(133):(209005===g&&(h|=16),h|=209008===g?256:209009===g?512:1,p|=16,k=nt(e,t),f=lt(e,t,n,h,i,e.tokenStart));else if(134217728&~e.getToken())if(69271571===e.getToken())if(k=pt(e,t,n,i),p|=256&e.destructible?256:0,h|=2,21===e.getToken()){ee(e,32|t);const{tokenStart:o,tokenValue:l}=e,u=e.getToken();if(143360&e.getToken()){f=Je(e,t,n,s,0,1,i,1,o);const d=e.getToken();f=Fe(e,t,n,f,i,0,o),4194304&~e.getToken()?18===e.getToken()||1074790415===e.getToken()?1077936155===d||1074790415===d||18===d?2&e.assignable?p|=16:143360&~u||r?.addVarOrBlock(t,l,s,c):p|=1&e.assignable?32:16:(p|=16,f=Re(e,t,n,i,a,o,f)):(p|=2&e.assignable?16:1077936155===d?0:32,f=Be(e,t,n,i,a,o,f))}else 2097152&~e.getToken()?(f=je(e,t,n,1,0,1),p|=1&e.assignable?32:16,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):(f=Fe(e,t,n,f,i,0,o),p=1&e.assignable?0:16,18!==e.getToken()&&1074790415!==e.getToken()&&(1077936155!==e.getToken()&&(p|=16),f=Re(e,t,n,i,a,o,f)))):(f=69271571===e.getToken()?at(e,t,r,n,0,i,a,s,c):ut(e,t,r,n,0,i,a,s,c),p=e.destructible,e.assignable=16&p?2:1,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):8&p?e.report(62):(f=Fe(e,t,n,f,i,0,o),p=2&e.assignable?16|p:0,4194304&~e.getToken()?(8388608&~e.getToken()||(f=Oe(e,t,n,1,o,4,g,f)),U(e,32|t,22)&&(f=Ue(e,t,n,f,o)),p|=2&e.assignable?16:32):(1077936155!==e.getToken()&&(p|=16),f=Be(e,t,n,i,a,o,f))))}else 67174411===e.getToken()?(h|=1,f=lt(e,t,n,h,i,e.tokenStart),p=16):e.report(44);else if(8391476===g)if(O(e,32|t,8391476),h|=8,143360&e.getToken()){const r=e.getToken();if(k=rt(e,t),h|=1,67174411!==e.getToken())throw new L(e.tokenStart,e.currentLocation,209005===r?46:209008===r||209009===e.getToken()?45:47,D[255&r]);p|=16,f=lt(e,t,n,h,i,e.tokenStart)}else 134217728&~e.getToken()?69271571===e.getToken()?(p|=16,h|=3,k=pt(e,t,n,i),f=lt(e,t,n,h,i,e.tokenStart)):e.report(126):(p|=16,k=nt(e,t),h|=1,f=lt(e,t,n,h,i,e.tokenStart));else e.report(30,D[255&g]);else if(k=nt(e,t),21===e.getToken()){O(e,32|t,21);const{tokenStart:l}=e;if("__proto__"===o&&d++,143360&e.getToken()){f=Je(e,t,n,s,0,1,i,1,l);const{tokenValue:o}=e,u=e.getToken();f=Fe(e,t,n,f,i,0,l),18===e.getToken()||1074790415===e.getToken()?1077936155===u||1074790415===u||18===u?2&e.assignable?p|=16:r?.addVarOrBlock(t,o,s,c):p|=1&e.assignable?32:16:1077936155===e.getToken()?(2&e.assignable&&(p|=16),f=Re(e,t,n,i,a,l,f)):(p|=16,f=Re(e,t,n,i,a,l,f))}else 2097152&~e.getToken()?(f=je(e,t,n,1,0,1),p|=1&e.assignable?32:16,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):(f=Fe(e,t,n,f,i,0,l),p=1&e.assignable?0:16,18!==e.getToken()&&1074790415!==e.getToken()&&(1077936155!==e.getToken()&&(p|=16),f=Re(e,t,n,i,a,l,f)))):(f=69271571===e.getToken()?at(e,t,r,n,0,i,a,s,c):ut(e,t,r,n,0,i,a,s,c),p=e.destructible,e.assignable=16&p?2:1,18===e.getToken()||1074790415===e.getToken()?2&e.assignable&&(p|=16):8&~e.destructible&&(f=Fe(e,t,n,f,i,0,l),p=2&e.assignable?16:0,4194304&~e.getToken()?(8388608&~e.getToken()||(f=Oe(e,t,n,1,l,4,g,f)),U(e,32|t,22)&&(f=Ue(e,t,n,f,l)),p|=2&e.assignable?16:32):f=Be(e,t,n,i,a,l,f)))}else 67174411===e.getToken()?(h|=1,f=lt(e,t,n,h,i,e.tokenStart),p=16|e.assignable):e.report(134);p|=128&e.destructible?128:0,e.destructible=p,u.push(e.finishNode({type:"Property",key:k,value:f,kind:768&h?512&h?"set":"get":"init",computed:(2&h)>0,method:(1&h)>0,shorthand:(4&h)>0},l))}if(p|=e.destructible,18!==e.getToken())break;ee(e,t)}O(e,t,1074790415),d>1&&(p|=64);const g=e.finishNode({type:a?"ObjectPattern":"ObjectExpression",properties:u},l);return!o&&4194304&e.getToken()?st(e,t,n,p,i,a,l,g):(e.destructible=p,g)}function pt(e,t,r,n){ee(e,32|t);const o=De(e,131072^(131072|t),r,1,n,e.tokenStart);return O(e,t,20),o}function dt(e,t,r){const{tokenStart:n}=e,{tokenValue:o}=e;let i=0,a=0;537079808&~e.getToken()?36864&~e.getToken()||(a=1):i=1;const s=rt(e,t);if(e.assignable=1,10===e.getToken()){const c=e.options.lexical?le(e,t,o):void 0;return i&&(e.flags|=128),a&&(e.flags|=256),ht(e,t,c,r,[s],0,n)}return s}function gt(e,t,r,n,o,i,a,s,c){a||e.report(57),i&&e.report(51),e.flags&=-129;return ht(e,t,e.options.lexical?le(e,t,n):void 0,r,[o],s,c)}function ft(e,t,r,n,o,i,a,s){i||e.report(57);for(let t=0;t0&&"constructor"===e.tokenValue&&e.report(109),1074790415===e.getToken()&&e.report(108),U(e,t,1074790417)?a.length>0&&e.report(120):d.push(vt(e,t,n,l,r,i,a,0,s,a.length>0?o:e.tokenStart))}return O(e,8&a?32|t:t,1074790415),l?.validatePrivateIdentifierRefs(),e.flags=-33&e.flags|p,e.finishNode({type:"ClassBody",body:d},c)}function vt(e,t,r,n,o,i,a,s,c,l){let u=s?32:0,p=null;const d=e.getToken();if(176128&d||-2147483528===d)switch(p=rt(e,t),d){case 36970:if(!s&&67174411!==e.getToken()&&1048576&~e.getToken()&&1077936155!==e.getToken())return vt(e,t,r,n,o,i,a,1,c,l);break;case 209005:if(67174411!==e.getToken()&&!(1&e.flags)){if(!(1073741824&~e.getToken()))return Et(e,t,n,p,u,a,l);u|=16|(B(e,t,8391476)?8:0)}break;case 209008:if(67174411!==e.getToken()){if(!(1073741824&~e.getToken()))return Et(e,t,n,p,u,a,l);u|=256}break;case 209009:if(67174411!==e.getToken()){if(!(1073741824&~e.getToken()))return Et(e,t,n,p,u,a,l);u|=512}break;case 12402:if(67174411!==e.getToken()&&!(1&e.flags)){if(!(1073741824&~e.getToken()))return Et(e,t,n,p,u,a,l);e.options.next&&(u|=1024)}}else if(69271571===d)u|=2,p=pt(e,o,n,c);else if(134217728&~d)if(8391476===d)u|=8,ee(e,t);else if(130===e.getToken())u|=8192,p=Ct(e,16|t,n,768);else if(1073741824&~e.getToken()){if(s&&2162700===d)return function(e,t,r,n,o){return r=r?.createChildScope(),ke(e,t=592128|5764^(5764|t),r,n,{},o,"StaticBlock")}(e,16|t,r,n,l);-2147483527===d?(p=rt(e,t),67174411!==e.getToken()&&e.report(30,D[255&e.getToken()])):e.report(30,D[255&e.getToken()])}else u|=128;else p=nt(e,t);if(1816&u&&(143360&e.getToken()||-2147483528===e.getToken()||-2147483527===e.getToken()?p=rt(e,t):134217728&~e.getToken()?69271571===e.getToken()?(u|=2,p=pt(e,t,n,0)):130===e.getToken()?(u|=8192,p=Ct(e,t,n,u)):e.report(135):p=nt(e,t)),2&u||("constructor"===e.tokenValue?(1073741824&~e.getToken()?32&u||67174411!==e.getToken()||(920&u?e.report(53,"accessor"):512&t||(32&e.flags?e.report(54):e.flags|=32)):e.report(129),u|=64):!(8192&u)&&32&u&&"prototype"===e.tokenValue&&e.report(52)),1024&u||67174411!==e.getToken()&&!(768&u))return Et(e,t,n,p,u,a,l);const g=lt(e,16|t,n,u,c,e.tokenStart);return e.finishNode({type:"MethodDefinition",kind:!(32&u)&&64&u?"constructor":256&u?"get":512&u?"set":"method",static:(32&u)>0,computed:(2&u)>0,key:p,value:g,...e.options.next?{decorators:a}:null},l)}function Ct(e,t,r,n){const{tokenStart:o}=e;ee(e,t);const{tokenValue:i}=e;return"constructor"===i&&e.report(128),e.options.lexical&&(r||e.report(4,i),n?r.addPrivateIdentifier(i,n):r.addPrivateIdentifierRef(i)),ee(e,t),e.finishNode({type:"PrivateIdentifier",name:i},o)}function Et(e,t,r,n,o,i,a){let s=null;if(8&o&&e.report(0),1077936155===e.getToken()){ee(e,32|t);const{tokenStart:n}=e;537079927===e.getToken()&&e.report(119);const i=11264|(64&o?0:16896);s=Je(e,16|(t=65792|((t|i)^i|(8&o?1024:0)|(16&o?2048:0)|(64&o?16384:0))),r,2,0,1,0,1,n),!(1073741824&~e.getToken())&&4194304&~e.getToken()||(s=Fe(e,16|t,r,s,0,0,n),s=Re(e,16|t,r,0,0,n,s))}return P(e,t),e.finishNode({type:1024&o?"AccessorProperty":"PropertyDefinition",key:n,value:s,static:(32&o)>0,computed:(2&o)>0,...e.options.next?{decorators:i}:null},a)}function qt(e,t,r,n,o,i){if(143360&e.getToken()||!(1&t)&&-2147483527===e.getToken())return Nt(e,t,r,o,i);2097152&~e.getToken()&&e.report(30,D[255&e.getToken()]);const a=69271571===e.getToken()?at(e,t,r,n,1,0,1,o,i):ut(e,t,r,n,1,0,1,o,i);return 16&e.destructible&&e.report(50),32&e.destructible&&e.report(50),a}function Nt(e,t,r,n,o){const i=e.getToken();1&t&&(537079808&~i?36864&~i&&-2147483527!==i||e.report(118):e.report(119)),20480&~i||e.report(102),241771===i&&(1024&t&&e.report(32),2&t&&e.report(111)),73==(255&i)&&24&n&&e.report(100),209006===i&&(2048&t&&e.report(176),2&t&&e.report(110));const{tokenValue:a,tokenStart:s}=e;return ee(e,t),r?.addVarOrBlock(t,a,n,o),e.finishNode({type:"Identifier",name:a},s)}function Lt(e,t,r,n,o){if(n||O(e,t,8456256),8390721===e.getToken()){const i=function(e,t){return ae(e),e.finishNode({type:"JSXOpeningFragment"},t)}(e,o),[a,s]=function(e,t,r,n){const o=[];for(;;){const i=It(e,t,r,n);if("JSXClosingFragment"===i.type)return[o,i];o.push(i)}}(e,t,r,n);return e.finishNode({type:"JSXFragment",openingFragment:i,children:a,closingFragment:s},o)}8457014===e.getToken()&&e.report(30,D[255&e.getToken()]);let i=null,a=[];const s=function(e,t,r,n,o){143360&~e.getToken()&&4096&~e.getToken()&&e.report(0);const i=Vt(e,t),a=function(e,t,r){const n=[];for(;8457014!==e.getToken()&&8390721!==e.getToken()&&1048576!==e.getToken();)n.push(Rt(e,t,r));return n}(e,t,r),s=8457014===e.getToken();s&&O(e,t,8457014);8390721!==e.getToken()&&e.report(25,D[65]);n||!s?ae(e):ee(e,t);return e.finishNode({type:"JSXOpeningElement",name:i,attributes:a,selfClosing:s},o)}(e,t,r,n,o);if(!s.selfClosing){[a,i]=function(e,t,r,n){const o=[];for(;;){const i=At(e,t,r,n);if("JSXClosingElement"===i.type)return[o,i];o.push(i)}}(e,t,r,n);const o=z(i.name);z(s.name)!==o&&e.report(155,o)}return e.finishNode({type:"JSXElement",children:a,openingElement:s,closingElement:i},o)}function At(e,t,r,n){if(137===e.getToken())return Dt(e,t);if(2162700===e.getToken())return Ut(e,t,r,1,0);if(8456256===e.getToken()){const{tokenStart:o}=e;return ee(e,t),8457014===e.getToken()?function(e,t,r,n){O(e,t,8457014);const o=Vt(e,t);return 8390721!==e.getToken()&&e.report(25,D[65]),r?ae(e):ee(e,t),e.finishNode({type:"JSXClosingElement",name:o},n)}(e,t,n,o):Lt(e,t,r,1,o)}e.report(0)}function It(e,t,r,n){if(137===e.getToken())return Dt(e,t);if(2162700===e.getToken())return Ut(e,t,r,1,0);if(8456256===e.getToken()){const{tokenStart:o}=e;return ee(e,t),8457014===e.getToken()?function(e,t,r,n){return O(e,t,8457014),8390721!==e.getToken()&&e.report(25,D[65]),r?ae(e):ee(e,t),e.finishNode({type:"JSXClosingFragment"},n)}(e,t,n,o):Lt(e,t,r,1,o)}e.report(0)}function Dt(e,t){const r=e.tokenStart;ee(e,t);const n={type:"JSXText",value:e.tokenValue};return e.options.raw&&(n.raw=e.tokenRaw),e.finishNode(n,r)}function Vt(e,t){const{tokenStart:r}=e;se(e);let n=Ot(e,t);if(21===e.getToken())return Bt(e,t,n,r);for(;U(e,t,67108877);)se(e),n=Pt(e,t,n,r);return n}function Pt(e,t,r,n){const o=Ot(e,t);return e.finishNode({type:"JSXMemberExpression",object:r,property:o},n)}function Rt(e,t,r){const{tokenStart:n}=e;if(2162700===e.getToken())return function(e,t,r){const n=e.tokenStart;ee(e,t),O(e,t,14);const o=De(e,t,r,1,0,e.tokenStart);return O(e,t,1074790415),e.finishNode({type:"JSXSpreadAttribute",argument:o},n)}(e,t,r);se(e);let o=null,i=Ot(e,t);if(21===e.getToken()&&(i=Bt(e,t,i,n)),1077936155===e.getToken()){switch(ie(e,t)){case 134283267:o=nt(e,t);break;case 8456256:o=Lt(e,t,r,0,e.tokenStart);break;case 2162700:o=Ut(e,t,r,0,1);break;default:e.report(154)}}return e.finishNode({type:"JSXAttribute",value:o,name:i},n)}function Bt(e,t,r,n){O(e,t,21);const o=Ot(e,t);return e.finishNode({type:"JSXNamespacedName",namespace:r,name:o},n)}function Ut(e,t,r,n,o){const{tokenStart:i}=e;ee(e,32|t);const{tokenStart:a}=e;if(14===e.getToken())return function(e,t,r,n){O(e,t,14);const o=De(e,t,r,1,0,e.tokenStart);return O(e,t,1074790415),e.finishNode({type:"JSXSpreadChild",expression:o},n)}(e,t,r,i);let s=null;return 1074790415===e.getToken()?(o&&e.report(157),s=function(e,t){return e.finishNode({type:"JSXEmptyExpression"},t,e.tokenStart)}(e,{index:e.startIndex,line:e.startLine,column:e.startColumn})):s=De(e,t,r,1,0,a),1074790415!==e.getToken()&&e.report(25,D[15]),n?ae(e):ee(e,t),e.finishNode({type:"JSXExpressionContainer",expression:s},i)}function Ot(e,t){const r=e.tokenStart;143360&e.getToken()||e.report(30,D[255&e.getToken()]);const{tokenValue:n}=e;return ee(e,t),e.finishNode({type:"JSXIdentifier",name:n},r)}const{stringify:Mt}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const jt={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Ft=17,Gt={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Ft,ClassExpression:Ft,FunctionExpression:Ft,ObjectExpression:Ft,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Jt(e,t){const{generator:r}=e;if(e.write("("),null!=t&&t.length>0){r[t[0].type](t[0],e);const{length:n}=t;for(let o=1;o0){e.write(n);for(let t=1;t0){r.VariableDeclarator(n[0],e);for(let t=1;t0){t.write(n),o&&null!=e.comments&&$t(t,e.comments,i,n);const{length:s}=a;for(let e=0;e0){for(;i0&&t.write(", ");const e=r[i],n=e.type[6];if("D"===n)t.write(e.local.name,e),i++;else{if("N"!==n)break;t.write("* as "+e.local.name,e),i++}}if(i0){t.write(" with { ");for(let e=0;e0)for(let e=0;;){const o=r[e],{name:i}=o.local;if(t.write(i,o),i!==o.exported.name&&t.write(" as "+o.exported.name),!(++e0){t.write(" with { ");for(let r=0;r0){t.write(" with { ");for(let r=0;r "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:Zt=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:Zt,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Ht(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:r,expressions:n}=e;t.write("`");const{length:o}=n;for(let e=0;e0){const{elements:r}=e,{length:n}=r;for(let e=0;;){const o=r[e];if(null!=o&&this[o.type](o,t),!(++e0){t.write(n),o&&null!=e.comments&&$t(t,e.comments,i,n);const a=","+n,{properties:s}=e,{length:c}=s;for(let e=0;;){const r=s[e];if(o&&null!=r.comments&&$t(t,r.comments,i,n),t.write(i),this[r.type](r,t),!(++e0){const{properties:r}=e,{length:n}=r;for(let e=0;this[r[e].type](r[e],t),++e1)&&("U"!==o[0]||"n"!==o[1]&&"p"!==o[1]||!n.prefix||n.operator[0]!==r||"+"!==r&&"-"!==r)||t.write(" "),i?(t.write(r.length>1?" (":"("),this[o](n,t),t.write(")")):this[o](n,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:Kt=function(e,t){const r="in"===e.operator;r&&t.write("("),Ht(t,e.left,e,!1),t.write(" "+e.operator+" "),Ht(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:Kt,ConditionalExpression(e,t){const{test:r}=e,n=t.expressionsPrecedence[r.type];n===Ft||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const r=t.expressionsPrecedence[e.callee.type];r===Ft||r0&&(this.lineEndSize>0&&(1===n.length?e[r-1]===n:e.endsWith(n))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}}const or={parse:function(e,t){return de(e,t)}},ir={generate:function(e,t){const r=new nr(t);return r.generator[e.type](e,r),r.output}};return e.astring=ir,e.meriyah=or,e}({}); Object.assign(globalThis, lib); /*! * SPDX-License-Identifier: Unlicense * This file was automatically generated by https://github.com/yt-dlp/ejs */ var jsc=function(e,t){"use strict";function n(e,t){if(Array.isArray(t))return!!Array.isArray(e)&&(t.length===e.length&&t.every((t,r)=>n(e[r],t)));if("object"==typeof t){if(!e)return!t;if("or"in t)return t.or.some(t=>n(e,t));if("anykey"in t&&Array.isArray(t.anykey)){const r=Array.isArray(e)?e:Object.values(e);return t.anykey.every(e=>r.some(t=>n(t,e)))}for(const[r,s]of Object.entries(t))if(!n(e[r],s))return!1;return!0}return t===e}function r(e){let t,n=e[0],r=1;for(;rn.call(t,...e)),t=void 0)}return n}const s={type:"ExpressionStatement",expression:{type:"LogicalExpression",left:{type:"Identifier"},right:{type:"SequenceExpression",expressions:[{type:"AssignmentExpression",left:{type:"Identifier"},operator:"=",right:{type:"CallExpression",callee:{type:"Identifier"},arguments:{or:[[{type:"Literal"},{type:"CallExpression",callee:{type:"Identifier",name:"decodeURIComponent"},arguments:[{type:"Identifier"}],optional:!1}],[{type:"CallExpression",callee:{type:"Identifier",name:"decodeURIComponent"},arguments:[{type:"Identifier"}],optional:!1}]]},optional:!1}},{type:"CallExpression"}]},operator:"&&"}},i={or:[{type:"ExpressionStatement",expression:{type:"AssignmentExpression",operator:"=",left:{type:"Identifier"},right:{type:"FunctionExpression",params:[{},{},{}]}}},{type:"FunctionDeclaration",params:[{},{},{}]},{type:"VariableDeclaration",declarations:{anykey:[{type:"VariableDeclarator",init:{type:"FunctionExpression",params:[{},{},{}]}}]}}]};function o(e){let t,n=e[0],r=1;for(;rn.call(t,...e)),t=void 0)}return n}const p={or:[{type:"VariableDeclaration",kind:"var",declarations:{anykey:[{type:"VariableDeclarator",id:{type:"Identifier"},init:{type:"ArrayExpression",elements:[{type:"Identifier"}]}}]}},{type:"ExpressionStatement",expression:{type:"AssignmentExpression",left:{type:"Identifier"},operator:"=",right:{type:"ArrayExpression",elements:[{type:"Identifier"}]}}}]},a=[{type:"ReturnStatement",argument:{type:"BinaryExpression",left:{type:"MemberExpression",object:{type:"Identifier"},computed:!0,property:{type:"Literal"},optional:!1},right:{type:"Identifier"},operator:"+"}}];function l(e){return{type:"ArrowFunctionExpression",params:[{type:"Identifier",name:"n"}],body:{type:"CallExpression",callee:{type:"Identifier",name:e},arguments:[{type:"Identifier",name:"n"}],optional:!1},async:!1,expression:!1,generator:!1}}const c=e.parse('\nif (typeof globalThis.XMLHttpRequest === "undefined") {\n globalThis.XMLHttpRequest = { prototype: {} };\n}\nconst window = Object.create(null);\nif (typeof URL === "undefined") {\n window.location = {\n hash: "",\n host: "www.youtube.com",\n hostname: "www.youtube.com",\n href: "https://www.youtube.com/watch?v=yt-dlp-wins",\n origin: "https://www.youtube.com",\n password: "",\n pathname: "/watch",\n port: "",\n protocol: "https:",\n search: "?v=yt-dlp-wins",\n username: "",\n };\n} else {\n window.location = new URL("https://www.youtube.com/watch?v=yt-dlp-wins");\n}\nif (typeof globalThis.document === "undefined") {\n globalThis.document = Object.create(null);\n}\nif (typeof globalThis.navigator === "undefined") {\n globalThis.navigator = Object.create(null);\n}\nif (typeof globalThis.self === "undefined") {\n globalThis.self = globalThis;\n}\n').body;function y(e){let t,n=e[0],r=1;for(;rn.call(t,...e)),t=void 0)}return n}function u(u){const f=e.parse(u),d=f.body,m=(()=>{switch(d.length){case 1:{const e=d[0];if("ExpressionStatement"===y([e,"optionalAccess",e=>e.type])&&"CallExpression"===e.expression.type&&"MemberExpression"===e.expression.callee.type&&"FunctionExpression"===e.expression.callee.object.type)return e.expression.callee.object.body;break}case 2:{const e=d[1];if("ExpressionStatement"===y([e,"optionalAccess",e=>e.type])&&"CallExpression"===e.expression.type&&"FunctionExpression"===e.expression.callee.type){const t=e.expression.callee.body;return t.body.splice(0,1),t}break}}throw"unexpected structure"})(),x={n:[],sig:[]},g=m.body.filter(e=>{const t=function(e){if(!n(e,p)){let t=null,r=null;switch(e.type){case"ExpressionStatement":"AssignmentExpression"===e.expression.type&&"Identifier"===e.expression.left.type&&"FunctionExpression"===e.expression.right.type&&1===e.expression.right.params.length&&(t=e.expression.left.name,r=e.expression.right.body);break;case"FunctionDeclaration":1===e.params.length&&(t=o([e,"access",e=>e.id,"optionalAccess",e=>e.name]),r=e.body)}if(!r||!t)return null;const s=r.body.at(-2);return"TryStatement"!==o([s,"optionalAccess",e=>e.type])||"CatchClause"!==o([s,"access",e=>e.handler,"optionalAccess",e=>e.type])?null:n(s.handler.body.body,a)?l(t):null}if("VariableDeclaration"===e.type)for(const t of e.declarations){if("VariableDeclarator"!==t.type||!t.init||"ArrayExpression"!==t.init.type||1!==t.init.elements.length)continue;const[e]=t.init.elements;if(e&&"Identifier"===e.type)return l(e.name)}else if("ExpressionStatement"===e.type){const t=e.expression;if("AssignmentExpression"===t.type&&"Identifier"===t.left.type&&"="===t.operator&&"ArrayExpression"===t.right.type&&1===t.right.elements.length){const[e]=t.right.elements;if(e&&"Identifier"===e.type)return l(e.name)}}return null}(e);t&&x.n.push(t);const c=function(e){if(!n(e,i))return null;let t;if("ExpressionStatement"===e.type&&"AssignmentExpression"===e.expression.type&&"FunctionExpression"===e.expression.right.type)t=e.expression.right.body;else if("VariableDeclaration"===e.type){for(const n of e.declarations)if("VariableDeclarator"===n.type&&"FunctionExpression"===r([n,"access",e=>e.init,"optionalAccess",e=>e.type])&&3===r([n,"access",e=>e.init,"optionalAccess",e=>e.params,"access",e=>e.length])){t=n.init.body;break}}else{if("FunctionDeclaration"!==e.type)return null;t=e.body}const o=r([t,"optionalAccess",e=>e.body,"access",e=>e.at,"call",e=>e(-2)]);if(!n(o,s))return null;if("ExpressionStatement"!==r([o,"optionalAccess",e=>e.type])||"LogicalExpression"!==o.expression.type||"SequenceExpression"!==o.expression.right.type||"AssignmentExpression"!==o.expression.right.expressions[0].type)return null;const p=o.expression.right.expressions[0].right;return"CallExpression"!==p.type||"Identifier"!==p.callee.type?null:{type:"ArrowFunctionExpression",params:[{type:"Identifier",name:"sig"}],body:{type:"CallExpression",callee:{type:"Identifier",name:p.callee.name},arguments:1===p.arguments.length?[{type:"Identifier",name:"sig"}]:[p.arguments[0],{type:"Identifier",name:"sig"}],optional:!1},async:!1,expression:!1,generator:!1}}(e);return c&&x.sig.push(c),"ExpressionStatement"!==e.type||("AssignmentExpression"===e.expression.type||"Literal"===e.expression.type)});m.body=g;for(const[e,n]of Object.entries(x)){const r=new Set(n.map(e=>JSON.stringify(e)));if(1!==r.size){throw`found ${r.size} ${e} function possibilities`+(r.size?`: ${n.map(e=>t.generate(e)).join(", ")}`:"")}g.push({type:"ExpressionStatement",expression:{type:"AssignmentExpression",operator:"=",left:{type:"MemberExpression",computed:!1,object:{type:"Identifier",name:"_result"},property:{type:"Identifier",name:e}},right:n[0]}})}return f.body.splice(0,0,...c),t.generate(f)}return function(e){const t="player"===e.type?u(e.player):e.preprocessed_player,n=function(e){const t={n:null,sig:null};return Function("_result",e)(t),t}(t),r={type:"result",responses:e.requests.map(e=>{if(!function(e,...t){return t.includes(e)}(e.type,"n","sig"))return{type:"error",error:`Unknown request type: ${e.type}`};const t=n[e.type];if(!t)return{type:"error",error:`Failed to extract ${e.type} function`};try{return{type:"result",data:Object.fromEntries(e.challenges.map(e=>[e,t(e)]))}}catch(e){return{type:"error",error:e instanceof Error?`${e.message}\n${e.stack}`:`${e}`}}})};return"player"===e.type&&e.output_preprocessed&&(r.preprocessed_player=t),r}}(meriyah,astring); console.log(JSON.stringify(jsc({"type": "player", "player": "var _yt_player={};(function(g){var window=this;/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n*/\n/*\n\n Copyright Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\n/*\n\n Copyright Google LLC All Rights Reserved.\n\n Use of this source code is governed by an MIT-style license that can be\n found in the LICENSE file at https://angular.dev/license\n*/\n/*\n\n (The MIT License)\n\n Copyright (C) 2014 by Vitaly Puzrin\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n\n -----------------------------------------------------------------------------\n Ported from zlib, which is under the following license\n https://github.com/madler/zlib/blob/master/zlib.h\n\n zlib.h -- interface of the 'zlib' general purpose compression library\n version 1.2.8, April 28th, 2013\n Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler\n This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.\n Permission is granted to anyone to use this software for any purpose,\n including commercial applications, and to alter it and redistribute it\n freely, subject to the following restrictions:\n 1. The origin of this software must not be misrepresented; you must not\n claim that you wrote the original software. If you use this software\n in a product, an acknowledgment in the product documentation would be\n appreciated but is not required.\n 2. Altered source versions must be plainly marked as such, and must not be\n misrepresented as being the original software.\n 3. This notice may not be removed or altered from any source distribution.\n Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu\n The data format used by the zlib library is described by RFCs (Request for\n Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950\n (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).\n*/\n/*\n\n Copyright 2015-present Dan Abramov\n SPDX-License-Identifier: MIT\n*/\n'use strict';var d=\"call{y9{path{length{reverse{local{indexOf{push{X{1969-12-31T16:16:22.000-07:45{cmo={K{J{set{scheme{fromCharCode{toString{1970-01-01T08:00:18.000+08:00{split{clone{rr?[1-9].*\\\\.c\\\\.youtube\\\\.com${U{/{n{{splice{url{={Kb{slice{prototype{file{cmo{get{:{aE{fallback_count{startsWith{undefined{unshift{WZyWgZ{/initplayback{youtube.player.web_20251110_19_RC00{1{assign{/videoplayback{,{Untrusted URL{)\\\"')',{index.m3u8{mn{join{rr{dH{Hh{OQ{1970-01-01T07:15:27.000+07:15{YhWk{www.youtube.com{B{http://local{/file/index.m3u8{cmo=td{://{match{&{r{sp{?{redirector.googlevideo.com{1970-01-01T07:30:41.000+07:30{//{https://local{1970-01-01T01:01:12.000+01:00{forEach{dxxQY7p62IAsp8BzeD-_w8_{pop{\\\\'/\\\\{signatureCipher{/api/manifest{\\\\.googlevideo\\\\.com${cmo=pf{s{1969-12-31T16:31:02.000-07:30{%3D{1969-12-31T14:15:14.000-09:45{playerfallback{1970-01-01T05:01:05.000+05:00{---{Sj{a1.googlevideo.com{\\\\.a1\\\\.googlevideo\\\\.com${replace{\\\\(/;;\\\\/{fvip\".split(\"{\"),\n$v,hz,Sh,ow,E5,Wc,Az,nB,ro,QN,go,Evw,MB,pB,aDh,Now,UB2,WeD,eh,thM,K8,Ri,VH,$V,Aze,Jzw,S8,iE,ZBN,vT,BoB,z$,XcM,xV,k25,ES,ai,Toz,A_,ZB,nvv,IDG,gv5,j8,OBM,jwN,bE,q5D,Mhw,mu,pco,Y5c,dJ,mB2,oK,G2D,uG2,yZ,swB,C_D,eMo,KuN,zB,aK,Rih,fBh,Nd,Jh,V8e,IK,gJ,Oh,jc,Md,bT,$zv,pa,Yn,m1,lBo,FuM,sh,c_c,KC,fC,dN,F8,cb,rN,r_N,y_o,y7,oE,hl,hio,oVv,SSG,i8h,LuD,im,vb,LC,wN,x7,aE,Q7,EV2,UA,tl,Al,Jl,ZP,X8,k7,aBe,Td,Pb,IE,NWG,Uz_,Wuc,gN,jv,q2,bm,pC,mp,Gd,TWv,PEB,nVo,IBB,um,gVG,sA,CC,ev,O8M,KT,jih,M85,Dz,$U,FU,rE,yJ,YS2,pTG,\nCEM,upv,iu,va,az,fLM,Dde,VcD,NV,Wa,Ha_,Ua,XU,SL,nT,$dv,gE,Iz,oz,lLG,Oa,MV,qV,dde,pT,F15,ma,Ga,uu,sa,CT,eL,KU,fU,V5,dB,Fd,rhM,y5,yhz,ono,h__,Shh,ci,iao,LU,wB,z4,L12,xO,wyG,z_B,as,xdG,NJz,Q5,QK_,Env,N8,W1z,UY,Wi,tcz,tQ,AhN,AQ,Zao,Jho,BJB,Xd,TJ2,Xyh,PT_,kO,T4,nnD,ILB,gnc,Pi,nU,OaB,bae,Is,pyB,YhB,CT5,q8,sKz,md5,Kpz,VvB,b6,YO,CU,G4,D2c,eX,KG,Ro,DO,H4,$o,dO,clN,F6,rlv,rO,oo,o7G,wO,xo,ao,QR,Uq,Eq,SAD,ND,W4,z6,tt,At,iCo,Jt,B4,LpN,X6,ko,T6,x25,qD,E7w,jq,Oq,P4,wbe,zgv,aPz,NN5,U2B,Wp_,pG,Yo,mG,tvz,sq,eq,KV,\nRk,Alc,ZC5,Vf,BN2,$T,H$,n7e,l9,d4,IPv,OCM,qAB,r4,Ft,Mve,yf,hI,ok,c$,i9,SF,LV,v$,ak,bCB,w4,xT,Qf,pbM,NR,YAD,JI,ZS,Tu,P$,nV,B$,kT,Xt,g4,m2B,Os,jF,qR,u82,MR,sEc,b9,Es,pV,Gu,egD,u9,CV,KJ,Rl,fJ,VU,D8,HZ,iS,vZ,wk,LJ,zb,xr,Eo,al,QU,NU,Kav,fzw,WZ,VLM,DVB,HTc,A8,J8,Xu,lz2,dVe,FaM,Tb,rBo,PZ,hOB,nJ,Il,gk,oUN,Oo,SaM,ji,iT_,vUD,qU,La_,MU,bS,pJ,wae,mk,Gb,xVz,CJ,QzD,zO5,ei,R_,fD,Wa5,NEo,Dj,$P,tL_,JBB,ZTh,l5,d1,Fv,c9,r1,yu,h3,kaz,TEv,Puw,Iz2,OT2,jzc,qah,Sx,i5,ML2,v9,bT5,paM,uUB,w1,sze,Cu5,eOo,Kb5,RK5,xP,fs5,a_,D8v,\nU0,W9,$8_,t3,A3,J3,lsB,d8z,Xv,kP,P9,nD,cQG,rQh,yQD,Mw,qw,jx,hKo,oO_,SY5,b5,pD,YP,vOv,CD,ex,wiv,zK2,x8N,Ks,Rm,EOG,asc,fs,Qse,NBG,U8c,WbM,$$,D$,lJ,dX,Fm,tXh,AQz,JQD,c5,rX,ZUo,y3,BBB,Xiz,k4v,om,TB_,SJ,iJ,P6e,nOM,Iso,gOw,OUG,jsc,wX,ze,x$,am,bUh,Q3,NJ,pic,MXe,E1,YYo,U1,W5,tc,Jc,Ac,m8B,G4e,udc,Z$,C6h,B5,KGB,Rfw,fOv,VqM,DDc,HGB,$DD,lOM,Te,P5,ns,FG_,dD2,ctc,rth,gX,ytG,O1,hfw,oo_,jJ,qJ,MJ,SqM,bJ,ps,iGN,Y$,mV,Ge,uJ,s1,Cs,eJ,K7,voN,LGD,w4o,zfz,Rx,xDc,aOD,EoB,VT,Dl,NOv,QoM,tqB,ZGc,JtN,Hk,BOo,X4c,k65,PFG,TO5,\nnoo,$8,IO5,goG,db,OG_,joz,qqc,MqM,FL,bGw,ck,p4z,rb,yT,mDG,h5,G6v,ox,Ss,u6e,so2,io,L7,efz,wb,CFc,Kr2,RXo,fSD,DRc,zo,HV_,ax,QT,lSz,dRN,rID,yIo,NL,Up,Wk,Bk,XL,k8,To,Pk,n7,Ix,C9_,dr,$Y,Kkz,eXc,RxN,f8w,Vi2,cK,rr,DUz,HJc,$UM,l8B,dUo,FkN,c8e,r8B,y85,hx5,oA,Sd,i1,vK,Lw,wr,oro,vre,Lkw,wZw,xUN,zxe,Erz,EE,aA,a8v,Ql5,Nke,Qh,Nx,UE,WK,tb,Jb,Zd,UU2,Xg,tie,Tv,A8h,J8N,PK,nw,IA,OE,gr,ZJB,XZ_,jd,o_,gUo,YY,kbB,Tk5,ms,PSv,pw,I8N,nrw,b1,Gv,u1,grw,OJv,jlB,qov,sE,MiB,Cw,iJw,Soe,ed,Rr,VV,Dc,Yow,HE,$d,dC,mU5,Gbz,F3,KRw,or,\nslv,ex_,yV,rC,Lo,wC,RJw,Ed,fjG,ar,QV,Vx2,HDG,ljG,JA,BE,r3c,y3o,hJB,X3,vPN,tA,FRB,w9N,iDe,oPN,S05,zJ2,LRv,Tt,Ir,EPw,ajM,Q_D,N12,Uw2,Od,WR_,qt,txN,ZDM,B1v,Mt,kw5,P5_,T1c,nPh,po,Gt,eo,Ru,fg,Vt,DE,H8,OD_,j_h,q02,$L,lH,Kg,dz,FP,c8,Fg,rz,Mxe,ou,Y0h,Sg,iH,Gwh,mwo,uvM,s_v,C5o,v8,eJG,KVN,RZG,Lg,wz,VJB,$Jz,l$h,zQ,ycv,ccc,hZo,o$h,S1M,xL,isc,dJh,Ex,au,v$G,rcv,Qt,LVG,NX,zZN,xJ2,E$M,a$B,QmM,W8,NXG,UJB,WVo,tJe,Zso,Acc,tn,An,Jn,ZE,B8,XP,kL,TQ,BXB,ng,P8,X5G,gz,PJM,Iu,n$M,I$5,MJB,g$e,Osz,jmG,q1h,Ox,bsB,jg,p55,qX,MX,\nbH,pg,YL,mt,sm_,Y1h,Cg,umB,KW,Vj,Gev,sx,GQ,mJ2,uH,HI,eZB,l7,$l,Kw5,RtG,flN,cI,r_,ho,H7N,yj,SE,$Lw,i7,Vsw,Fwh,c5c,r5_,w_,z_,xl,y5B,EH,aI,Qj,Nk,htz,UH,WI,to,o8_,eg,SpN,Ao,i7w,HsG,Lwc,wkB,zt_,xLB,al_,v8c,QxM,Jo,ZU,Nb2,ULv,J52,BbG,Xk2,kl,T_,koo,n8v,g8h,PI,II,O7D,jxe,qpw,b7B,pkG,Msw,OH,uLv,GoM,jE,Mk,Coz,qk,etv,pW,Ks2,Yl,G_,u7,Rz5,fd2,Vb,VdB,H2,Dxe,Hw2,ot,$xG,dxB,Sy,FsG,cbc,SE5,rbB,wy,zm,xw,at,Qb,zzz,N1,UL,W2,EYD,JF,adD,QAh,Za,UxN,XJ,kw,Tm,P2,Wse,ne,gy,OL,jy,q1,M1,tdN,Abe,Jb_,pe,Yw,m5,Gm,up,sL,Zw2,BrG,\nXKv,kvM,Tr5,P1_,Ce,nYw,Hn,Idv,gYc,Owo,$g,dF,FV,cn,hZ,oY,zI,qE_,aY,QD,NF,MdN,bww,UR,pKo,YEN,tZ,R32,fcB,Voe,AZ,Dtw,Hoe,dtD,Zh,cAh,FqM,rA2,yAD,kg,TI,h3N,Pn,nr,IY,gF,OR,jK,qF,MF,bP,pr,Yg,mY,GI,uP,odc,Sdo,eK,R9,ioM,HS,$A,lj,Iw,dG,cS,rG,z3B,y2,hm,o9,Edz,xtM,vd2,vS,ij,UtM,LI,WS,Q2,tm,Am,toc,ZY,BCD,JA5,ZoG,kth,gdB,TCo,ndM,Icz,Wq_,XN,BS,jrv,Ts,PS,nI,qdw,Mo,MoM,bj,pI,YA,Gs,s$,CI,boG,eO,K4,Yd5,VP,He,$c,le,dm,F4,ce,rm,yP,hq,GtB,oa,ve,ie,srv,RUz,e3o,Kt_,fEe,VgB,Hgc,$XD,DXv,dXM,zk,xc,QP,FtG,cnv,aa,Nm,yno,hUB,vLe,\nigB,Aq,Jq,Zx,Be,X4,w8w,zUG,OX,jz,xXw,ELG,aE5,p4,Yc,m7,QuN,Nzo,Wto,AnN,sX,Jne,KP,C4,Vn,Do,$I,c7,rT,yn,he,S1,i3,LP,Tzo,PHN,zr,nLz,IEM,EN,gLc,Ogv,a8,Qn,jue,qxG,bgB,UN,Ae,Yxo,mX2,W7,GQ2,uPo,CHG,suw,XD,p85,Koh,Rph,gT,nP,fU2,VEv,ON,j1,Dkc,HWB,b3,$k2,lUo,dkB,Fo_,CP,coc,roo,yoB,hpe,ol5,SHB,iWe,vlo,KO,Loe,fO,zpz,xkB,Elz,aUM,QIe,V_,Fq,Uko,AoB,cY,JoD,B_w,N_G,XIc,k_z,T_w,WoG,tE_,DI,HY,dg,ZWe,lO,$6,P75,nlD,IU5,glG,OWB,jIN,YHB,qHD,op,S5,vY,uZ2,epc,C7M,iO,zp,K5h,ap,R25,Vyh,ta,faz,rFB,D1B,F5z,BY,yFc,SLN,Xq,ZI,h2e,\nowN,ieB,Tp,L5e,w2v,z2M,x1h,Ew2,aa_,Qt2,vwM,U1B,W5D,tyv,JFc,AFc,Byz,gg,X2o,OB,j5,qQ,kmN,Ty5,pO,Y6,nwo,PpD,mF,Iav,OeB,qL5,jtB,My_,YLN,beo,Hr,ds,li,m1h,$J,Fh,cr,rs,y1,GmN,oQ,CpM,st_,vr,ii,ws,zO,xJ,e2_,Ee,Q1,KY_,Ue,fhc,t0,A0,VKo,DF_,HrN,$Fv,J0,Br,lho,Xh,kJ,TO,FYw,Pr,n3,cZe,gs,q6,jI,Oe,M6,bi,hBe,wnv,xF_,LYv,vg5,zBB,md,se,NFh,Eg2,ahv,QYM,yZG,kIB,lg,Xnw,ngG,BFB,YJ,du,RV,HR,TFo,eI,SRB,ogv,irh,ui,Zre,yC,MKN,oV,ig,pn_,YR5,vR,mFo,GIw,uVo,CP5,eBB,zN,R7h,xt,fYG,VOo,HIe,$oB,lYG,aV,do2,cm2,QC,rmM,NS,UI,t$,vAN,EAw,\nXY,Q92,WOM,TN,AmB,Jm_,ZIc,Yt,BGM,XSG,bg,sIM,qS,pM,MS,PR,KS,fS,Rh,DQ,$x,TGG,l4,FW,cv,Pjh,nA_,hJ,gAB,OIN,j9w,q$v,vv,MOB,bIh,pSe,LS,Y$w,mow,Gsh,wi,uN2,s9w,zq,Cjv,e72,El,K7B,RVe,fxG,ah,QQ,Nf,Vze,Dmw,H4B,$mD,lxN,dmG,F7B,AJ,JJ,ZQ,cq_,Bv,rqc,kx,hVw,yqD,Pv,nS,Ih,gi,och,Ol,jD,SX5,i4h,qf,Mf,zVB,vce,weh,L7z,b4,pS,Yx,xmv,EcM,axN,m2,NmB,tzB,W7h,Gq,u4,sl,CS,eD,Rv,f0,Vd,DF,HQ,$e,AqD,Jqc,Z4_,ld,dH,cQ,yd,kk5,XeN,ov,Tmo,SC,id,vQ,L0,wH,E_,av,Qd,U_,WQ,tM,AM,JM,Ixv,ZF,BQ,Xc,gcB,jaD,n0,qXe,Iv,gH,peh,YXM,mmh,u42,Ceh,p0,\neVh,mH,Ye,foz,V1h,D7B,ud,s_,$7B,eC,Rn,f$,d7_,VI,DR,HV,FLh,$Q,loN,lZ,d0,ree,ce2,Fi,cV,r0,yI,on,hLc,oI_,iZ,vV,w0,zy,SN_,L$,LLv,w7o,zLc,x7B,EI5,aoh,Q8_,Ez,xQ,vI2,WLo,an,AeB,JeD,t2,ZPN,N4,Uz,BTB,A2,krc,P3D,J2,ZR,nIh,BV,gIv,Xi,Ty,M12,OPv,qNc,j8v,PV,n$,In,g0,Oz,jY,q4,bZ,YNc,uD_,m3,s8o,sk5,Gy,uZ,C3o,REz,C$,fv,eY,Ry,DQM,Kv,HOo,V5G,fIB,$Q_,Vw,lI2,dQc,yaN,D7,$4,o65,lB,dS,Fy,cu,SBv,iOD,rS,yw,hR,v6e,LFB,S6,wS,z7,x4,Eu,ay,Qw,wYc,NI,Uu,Wu,tR,AR,JR,Z7,zE2,xQ5,Bu,Xy,k4,T7,Pu,nv,E6z,aIc,Iy,qI,UQB,WFe,MI,bB,Cv,Aav,\nRd,fY,Jaz,Hs,ZOD,XYG,Bgo,kpB,Tgz,POB,n6G,II2,g6h,jpz,OOB,qBz,pYc,mQe,bOw,Gp2,uqB,CON,lc,dd,Kdv,eEB,F1,cs,rd,fAB,yE,hi,od,D6_,H3w,SQ,VIN,ic,d6o,vs,LY,wd,zL,xX,EP,ad,QE,Ni,UP,Ws,ti,Ai,Ji,ZX,Bs,X1,kX,TL,Ps,nY,Id,gd,OP,jQ,qi,Mi,bc,pY,YX,mf,GL,uc,sP,CY,eQ,Kf,RR,ff,VA,Dv,Hx,$H,lM,dp,FO,cx,rp,yA,hW,oR,Sr,iM,vx,Lf,wp,zU,xH,Ej,aR,QA,NH,Uj,Wx,tW,AW,JW,Zv,Bx,XO,kH,Px,nf,c02,IR,C,gp,TU,Oj,jr,qH,y0G,bM,oJh,MH,SeD,YH,i3c,GU,pf,uM,sj,Cf,RM,Ld_,wre,zGc,x65,EJM,aA5,lV,rI,U6w,Wdz,tIB,A0N,vJw,J0w,KQ,Z3z,BsB,oM,wI,SS,\nVM,Xrw,fQ,yM,iV,zX,TsB,HX,$h,LQ,vX,PiD,xh,EK,aM,QM,nJz,NY,UK,WX,tC,AC,IAG,gJD,jQ2,qeB,BX,XE,b3M,xv,GO2,sQM,eG_,fD5,TX,RDN,f35,jS,VVG,qY,MY,bV,pQ,Yh,m6,DSB,$Sw,l3v,HMB,dSB,FM5,CQ,eS,Rg,Va,Dt,H6,c$B,$p,r$_,lR,dU,Kb,rU,ya,hD,og,y$N,c6,otB,S$,SIc,iM_,iR,vtw,v6,Lb,LM5,wRM,wU,zDc,xSh,zl,EtN,a35,QVG,xp,EU,ag,Nuw,USG,Qa,N9,UU,WMc,W6,tD,AD,JD,tVM,Zt,B6,A$B,Xz,J$h,kp,ZMN,BuN,XRe,kNN,TuD,Pg_,Tl,ntv,I3o,gtN,P6,OMN,nb,jVD,Ig,qI5,gU,MVG,bMo,OU,pb,pRB,Yp,mU,Gl,uR,YID,mSB,Cb,KH,R2,GNG,fH,V4,HM,uY_,$0,lA,sVc,FH,K2h,\nfQG,VDM,RQh,y4,o2,hv,Dfe,HSw,lQG,$fz,cM,dfv,F2c,cJc,rJ2,re,SlM,iSz,vx_,oxG,hQ_,yJe,L2M,Sw,CgB,wvG,eD2,zQe,xfe,Qh5,Exz,iA,aQe,Nie,tDM,Ufc,W25,JJD,AJz,ZS2,Bio,LH,Tiv,XvM,P4M,kqM,nxB,IQD,gxB,OS5,jhM,qlG,MDN,bSe,pvB,Yl5,mfe,GqM,we,shc,Ev,zF,Uv,WM,C45,tv,eQN,Jv,Zu,KHe,R6_,XH,fFB,I2,ge,Ov,Q4,jw,qr,VCv,Mr,bA,pH,DcD,Y0,mI,GF,uA,CH,ew,RT,fy,V9,Dn,Hq,H0z,$c_,lFN,dv,$W,Fn,cq,dcB,rv,y9,hL,FH5,cMD,oT,iU,vq,Ly,wv,zT,EG,aT,NP,Q9,yMe,h6_,oeB,S_c,i02,veB,Wq,wQo,AL,z65,JL,Xn,xc2,Eez,aF2,Qvz,kW,TT,ny,Pq,gv,NHw,Ucz,\nIT,WHe,tCG,qP,AM_,MP,Z05,py,YW,XQ_,BHG,kEz,THD,Pdc,GT,uU,sG,nee,IF5,geG,O0z,jvM,nH_,MrB,pxB,mHD,GUD,Yjc,CM_,K6G,RTG,zn,xi,f6G,VSG,EC,a0,DYo,HQ5,$YN,l6w,Np,dYM,F6G,Wp,tG,rCe,yCG,hTe,iQv,JG,XA,Tn,vh2,Pp,n1,xY2,a65,EhM,NIN,kXc,W6B,p1,gj,QMh,zTN,wXM,L6M,bf,OC,Mp,Gn,nhh,sC,C1,e4,Kn,RG,fn,Vl,I6c,ghc,Dq,HF,l2,jMG,qK5,$q,MSM,YKN,mY5,dM,GXh,rM,uE5,yl,oG,sMv,hH,Sk,CVc,vF,KUw,RuB,wM,zK,Nb,V$N,Ef,Uf,tH,D95,JH,Ql,WF,Hbe,Zq,$9N,BF,lt2,xq,aG,ftc,AH,X0,d9B,FUN,kq,cD5,TK,PF,nn,IG,rDc,Of,gM,jk,qb,yDB,hu5,Mb,b2,pn,\nYq,mC,GK,oph,u2,sf,SUw,ibh,Cn,ek,Kh,LUo,vpN,R5,w6B,zu_,x9N,fh,EpM,atB,QgB,NUh,U9e,Vq,D9,Hf,$a,WUc,t$2,ADw,dl,JDh,FI,cf,ZbG,BUo,rl,X6M,kl2,ItB,gp5,TUh,PR2,npv,hS,o5,S9,il,ObD,jgG,M$c,qU_,YUN,wl,GlB,sg5,uz_,Qq,a5,euv,KID,RWo,N0,fuv,Wf,tS,VwM,HH2,$rM,JS,ka,cvG,BIN,j4,yve,hW2,o0z,Svc,iHz,I0,Z9,nh,I5,zWD,xrB,E0G,gl,Ur5,auh,Q2z,twM,AvN,Oy,WIM,Jvc,j9,q0,M0,ZH2,Bee,bl,ph,XMz,Ya,kF5,m4,T5,Ch,PAM,XXG,UYG,e9,K5,f5,VF,De,Hg,$N,R4,FC,Iuw,rV,OH5,yF,qvw,j2c,g0G,MwG,SA,mrN,bHz,YvB,pM_,iK,vg,GFw,uHM,CA2,L5,PV5,wV,\nKNB,QF,Hyh,$Po,lnB,dP_,FN_,cLB,rL5,yLD,hFN,oWv,vWD,iyB,LNw,wq_,zFz,Nl,xPv,t1,EWc,anB,QTG,A1,NvD,WNh,UPc,G9,YN,uK,C5,eA,o4,Kc,t3w,Tv_,FE,mT,VG,gWB,jTe,Pg,d6,T9,FQ,yG,M3_,byc,p5,hP,GTe,o3,Se,unh,sT2,CUv,eFh,i$,KAB,R$w,vd,fwN,lwc,$5o,VTw,H6B,D5h,Lc,d55,w6,FA5,crG,yrG,h$e,oMG,SkB,z$e,QG,Nv,awe,U2,Wd,Nqw,U5c,tT5,Jr5,Z6N,ki5,Tqc,P0B,nM5,O6_,j6_,MT_,b6c,pOB,Yke,GiM,C0_,KcG,JP,Zb,Bd,XQ,Rs_,VH_,Dao,qv,hs5,daB,Fc2,SQM,Mv,iXe,LcB,vuM,wJ_,pc,Gj,zsD,b$,u$,s2,xaz,EuB,NhD,tHG,Vx,Jd2,RU,QqM,OXv,HD,cD,hN,jqc,qQN,\nMHc,vD,iv,xs,Et,bXB,YQN,mah,aU,zW,GzG,sqh,CWz,Klz,Ut,esN,R8w,f__,tN,D3D,AN,Hu2,KZ,wQ,BhG,aiM,PWD,TW,LZ,ubz,qW,rQ,bv,pZ,vFM,wGD,Llv,yx,oU,z8v,mX,GW,EF2,uv,CZ,a_N,tP,Kl,NW,pJ2,fl,cEo,Vg,Wco,m5N,WA2,Dk,N$5,U3B,$b,WlB,nFe,PQo,gFD,Ouo,Fs,r9,yg,cm,oC,SM,jDv,ir,Mmw,vm,pGD,zV,buN,xb,ED,urN,e85,Kxh,Ny,Rae,V4B,g9,jM,qy,Dp2,pl,H1w,Yb,mK,Cl,eM,K_,RW,f_,$p_,Vi,DJ,cGM,HW,$2,rGv,yGw,l8,dt,ha5,oi_,SCh,yi,h4,Sn,i1z,vW,wpD,zaz,vio,xp5,Eic,a1h,x2,wt,L_,Q0e,zM,Em,NjB,aW,Upc,Qi,WxG,t4M,AGG,Um,WW,JG_,Z1N,t4,XpG,Bjh,A4,\nJ4,ZJ,Tjw,Pfv,BW,niB,I1z,XK,O1z,giB,k2,j0_,TM,M4e,qCo,b12,PW,n_,ppe,mpN,Gn5,IW,gt,Om,uAB,CfD,jn,eah,p_,KCD,M$,Y2,m_,GM,Vk5,Hno,Rb_,DbN,$bc,fq5,lqB,dbe,u8,FCB,rHz,oqD,in5,SfN,D4,Vz,dc,FT,rc,wFc,yz,hO,o7,EqG,iC,aqv,xbN,vh,Ube,Lt,wc,WCD,zA,tkD,lic,yd2,AHe,ZnB,JHo,BMc,xD,EF,a7,Qz,XFB,P2B,Wh,tO,AO,nqM,NK,IqN,gqc,OnB,qfe,JO,C2D,D0o,TA,Hh5,C_,l9B,d02,F42,cSv,nt,rSG,I7,OF,ySG,qK,hRN,pt,oaB,Syo,YD,mj,ihw,vav,L4c,wfv,GA,bC,zRv,uC,EaB,a9o,Q5o,NlG,sF,U0c,W4h,t9G,AS_,Ct,ZhB,ea,Xfe,BlD,k5c,naN,DT,JSo,KL,H3,I9v,\ngav,Oho,j5B,$R,lz,dL,F_,c3,qyN,rL,M92,ye,ob,G5G,s5h,ClD,eRc,LL,KTB,m0M,R5N,Sb,fe2,Dlh,hx,iz,pfw,YyB,v3,H5_,$lN,uIG,bhD,xR,lee,EJ,dlc,FTB,ab,Qe,Nq,c1w,UJ,h5N,r1o,y1G,W3,oNB,tx,Ax,Jx,ZT,ScB,i5G,vNB,B3,wgM,z5v,X_,xlM,kR,Tf,EN_,aeG,Q4o,NVD,Ulw,WTG,BVh,A1D,yHo,P3,k9z,J1c,Z5w,tAw,gL,gNo,Ib,nL,XgG,j4c,Ie5,nNv,PKv,TVG,jb,qch,sm,qq,Mq,bz,MAM,pL,b5B,YR,pgw,$D,YcD,mi,Kt,ft,cHN,CL,Kk,G95,RS,Vm,eb,sJ,DG,Gf,mlB,uz,Hl,uCe,Ve,Pl2,en,$K,fk,s4B,CKh,e5w,lh,Khv,RCh,fb5,Ve5,Dvz,VAe,kD,cl,r8,d8,$vD,QGc,NMh,ym,hp,lbe,dvB,\nFhB,oS,rPG,S0,yPN,o_G,ih,xK,S22,w8,Ui,v_D,ico,zC5,wdD,LhB,Wl,xvh,tp,E_h,Q3D,abe,Ap,x0w,N65,Jp,ZG,Uvv,Bl,tec,APv,JPM,Zco,Xe,Whc,kK,TMw,Tx,kjM,Pl,Xdv,nk,T6D,kK_,UF,P$w,IS,Oi,Oc2,g_G,mg,uh,Gx,bce,si,Ck,pd5,Y2e,mvN,GjD,uQG,s3B,C$5,KN,eCh,KXc,RPz,fN,g8,V7e,DW2,e0,$WD,fNv,RN,lN_,Vr,cN2,FXv,Df,Ho,yNh,lq,dWM,dx,$3,rN_,rx,co,LXo,vsN,wDB,iZ_,zPh,xWB,hPN,osz,Esc,aNc,yr,UWG,WXG,NQz,QUc,hT,JN_,oN,ZZo,t7e,ANw,BQ5,SG,XDB,kWD,ns2,PvM,TQM,iq,INe,gse,vo,OZN,jUh,M7B,LN,wx,bZ5,pDN,Yto,zR,mWN,x3,GW2,uBz,sUe,Cv_,ePB,KKB,\nRcz,fk5,Dyz,Hlw,Nj,U6,AT,dyB,tT,FKw,cXw,JT,rXw,hc2,yXM,SDe,ilz,wmo,k3,LKh,Zf,TR,X9,ob_,nN,Ebv,xyw,IN,ako,QCB,gx,O6,Rb,N9w,Uy2,WK5,jG,Mj,F9,NC,tMG,Zlz,AX_,pN,O5B,Po,bq,JXe,Hh,R7,T95,nb_,Prz,Ikv,OlM,jCG,zcM,Qm,qDe,zx,XmB,MMo,kVG,blc,Lk,pmG,YDc,hC_,StM,Ei,Y3,mQ,GR,myM,uq,GVB,use,sCG,Cr2,ecN,K_v,fJh,VnB,lJv,D$o,$$v,d$e,CN,y4v,c4h,r4v,i_2,v2w,L_B,eG,wWN,s6,zSv,SmM,F_h,Kz,x$c,H_h,E2h,RX,QWM,aJ5,U$h,W_w,tno,NtM,fz,Z_w,J4o,kMM,XWN,BtB,Ttz,P85,VX,n25,DM,g2N,O_o,IJh,qmN,b_w,pWM,sW2,m$e,GMB,uKz,C82,eSN,KjB,\nf4v,R1c,Va_,DKN,HH,Hth,$Kv,dK2,l4N,FjN,cO5,yOc,h1_,it_,oD2,vDD,Ljh,whh,rOG,z1B,SFD,lb,xKD,EDN,a4N,Q7v,Fj,Wjc,UK_,taw,AOM,JO5,Xhe,Ztc,PCv,cH,BcD,nDN,I4e,r7,gD_,hV,oX,yX,SR,OtB,ib,Ma5,qFB,phB,YFh,mKM,GAe,uTz,bte,s7o,vH,CCM,j7N,lkv,d7,KiN,R0B,fTB,VbG,Dqw,HL5,$qh,dqB,w7,FiN,lTN,cxM,rxv,yxG,h0c,iL_,SJc,oRB,vR5,x5,rMD,Lih,w3B,Eg,z0B,xqz,QX,Qb5,NLB,Ug,Uqz,Wic,Ng,aTv,WH,aX,ERe,JV,tV,tbc,ZM,AV,BLc,TL5,nRB,gR2,Jx2,Pze,OLB,ZLo,jbv,qJv,Mbh,TG,BH,YJ2,mqv,bLe,k5,u_B,sbo,kf5,X3e,Gfh,Czc,ITB,p3M,Axh,PH,nz,IX,e0w,\ng7,$Cz,V0h,lG5,DCG,RHz,dCw,Kg_,rpB,Fg2,Og,yp2,fGe,oKB,ikc,Lg5,wlM,zHz,aGD,pz,QS_,xC_,bb,Wgv,t0e,Cz,HZG,jR,ApN,Jph,B8B,Zk2,kxG,UCB,qg,GG,PhN,nKB,IG5,gKB,qj,m9,Okh,qi_,jSc,bkz,M0D,vK2,YiN,plB,ub,Y5,mCB,KE,GxB,uew,sS5,ChD,eHG,eR,EKw,KQv,B92,Xj,RY5,Rj,ffh,VGG,Djv,HNc,$jc,fE,Vv,FQ2,cTv,rTN,lfv,djo,D5,S6h,hYc,o32,iN_,v3z,H_,LQv,woo,zYz,$f,xjN,afB,QNw,Nx_,lI,E3B,d3,Fx,Uj5,WQD,tGB,ATc,JT_,ZNh,Bxh,yv,c_,r3,Xo2,hf,kRe,TxB,PqG,n3v,g3h,Ifh,w3,jNN,q6_,ONh,MGe,z3,bNh,xf,poB,EM,Y6v,GRw,R9B,u9h,CqG,eYB,sNc,mjB,K9o,\nfMD,VRN,Dgw,Hzz,$gw,lMh,Qv,dg5,W_,Nh,F9h,tf,Af,rV5,yVB,Z5,B_,h9v,Jf,Sgv,o55,Xx,v5B,ize,T3,P_,nE,z9G,L9_,wHw,Ij,xgc,N7e,aMh,E5h,QXe,g3,W9c,ZzB,B72,OM,XH5,tR2,kGG,jZ,AV2,n5N,qh,Mh,IMv,g5G,Ozz,jXw,qg5,pE,bzB,mgG,GG_,uj_,mn,pHo,CbB,Yf,G3,uI,MRB,YgN,KnB,Rrz,VZz,f5_,HEN,Dh_,$hG,Fnc,R$,eZ,VW,Kp,dhc,l5h,fp,cfw,DH,rf_,yfB,hrv,Hz,$z,ofe,SMe,iEw,vfB,LnB,w_M,zrG,a5o,xh2,Qjc,N3w,Afe,Jf2,PIw,Lp,gfc,qMM,w2,jj_,OEo,k3o,T3G,ZED,B3_,nf_,zh,xz,p_o,Bm,Yro,YM_,a$,NO,mh5,G3w,vz,I5v,CIc,erD,K$N,Wz,UO,kz,fH2,Vu2,DOB,Th,\nHpz,lHG,$Oc,dON,Pz,np,F$_,yuz,hyz,g2,ruB,ozM,SOv,cu_,qO,ipo,vz_,ju,L$v,wzo,zyD,xOz,aHh,Ezz,UOz,W$N,Q$v,Aue,Ju_,N2e,pp,Yz,ZpB,PYh,m$,B2N,XzG,T2o,khe,nz2,gzM,IHz,OpB,Gh,j$_,qOB,Muw,bpM,pzG,YO_,mOB,ukG,GhB,s$v,CYz,eyN,KZ5,Rnz,VtB,sO,uY,Cp,De2,H9w,fyh,y7z,r7G,hnh,oj5,vj5,i9_,S92,LZ2,wLh,eu,K9,znB,xeo,Ejc,ayc,Nfz,UeN,f9,WZM,RB,Dy,QBo,HL,tt5,A7_,J7B,Z9e,Bfv,lN,XLe,kg2,njD,df,Iy5,PNh,Ff,cL,rf,O9N,jBz,q9D,gjD,b9v,MtD,pLN,yS,Y9e,meh,ufM,enz,GgM,sB_,h7,KEG,fWM,V_v,HqG,$T2,oB,St,lWB,RAe,cgG,FEc,dT_,iN,vL,yg5,\nrgh,L9,wf,zg,hAB,xj,oZG,S7N,iqB,vZM,E9,LEo,aB,wNv,QS,zAv,Ne,U9,xTo,WL,EZN,t7,A7,QF5,WEB,t_G,aWo,Agw,BZG,XNz,kZN,Zqe,Jg5,Pte,TZN,nZG,Oq_,BL,q72,jFM,IWD,gZo,M_5,bqh,Xf,kj,pNB,Y7B,mTw,GZ_,uRo,sFM,eAc,K0o,dGB,Vlh,DGe,R4B,c6c,O9,qe,SwG,ixo,p9,vCe,Yj,L0z,r65,gf,Me,z45,xGN,Gg,aCN,NPv,QLz,uN,bN,IB,EC_,mZ,y6c,wCz,W0D,Tg,s9,tlD,A6N,jt,h4N,C9,et,J6o,Kq,ZxN,RF,BPe,XCe,TPh,Pyw,k0N,fq,nC5,Vp,DW,ICG,gCz,Ox2,jLN,MlG,bxe,YwB,pC2,mGc,$Z,HN,qwB,G0N,uoc,sL2,Cyc,e45,lt,Rd2,K85,dZ,FR,f2N,DuG,HRo,cN,VNc,$uG,l2N,F8h,rZ,\ndu_,cU2,rU_,yU2,hg,oF,SWG,iRc,hdD,oSG,vSB,S_,vN,wAB,L8v,zdh,ESN,xuB,a2v,wZ,NwN,QfD,UuG,xZ,W8o,AUv,tNN,aF,JUM,ZR_,Bww,kPo,TwB,Pxe,XAM,nSo,I2c,gS5,ORh,jf5,qWh,MNB,bR5,pAB,YWw,GPM,uah,sfv,WN,CxM,ede,Kv_,fVM,$EB,DE_,lV5,Roe,Jg,VUe,Ag,Hjz,BN,Fv_,dEv,TZ,kZ,ywe,ho2,okv,SVD,Ymw,LvM,vk5,nq,gZ,IF,ijw,O7,j_,MT,zoh,bt,Wvo,PnD,nko,pq,T8G,IV5,Sa,LC5,zbo,YZ,mE,q$,gkM,Ojz,b8,ch,vl,jOz,qVc,bjo,MUB,pPN,YVe,mE5,GD2,sOM,CnB,eoD,KP5,uFv,lKo,dAG,$AB,FPc,rkN,hjB,o1N,SbD,e_,yko,ckN,Rjh,Kx,LPc,w02,v1e,imo,E1N,xAz,fL,aKh,\nN5w,WPw,RL,tPh,DAD,s7,Qc2,AkM,Jkw,ZmG,fKB,VPh,Tlz,aS,Cq,B5e,Vs,kC_,T5N,PG_,fx,X0B,UAG,IKv,qbw,HC,MP5,bmG,Omv,ly,p02,Ybv,n1c,mAe,jcz,GCv,dP,$C,uSB,CG2,scN,DC,Kyo,Fo,N8c,Rqv,DMo,VW_,$M2,l0G,HKz,rP,cC,FyG,c9M,r9e,y9B,ys,hqG,oG5,STo,a05,wUM,zq5,vGh,iKh,Sl,A9e,WyN,oL,Lx,wP,ZKc,BYB,xC,EGw,NG,kSN,Qs,z0,PLo,nGe,I0h,UM5,t6,J6,OKB,xMh,XUe,Ew,iy,je_,Xo,TYz,qTe,MW5,bKc,kC,T0,pUN,aL,tW5,YTh,mMz,A6,GS5,Uw,u7B,WC,w9,seD,eqD,PC,nx,KBM,Rkc,fm_,BC,ZC,V2_,f0M,DZw,Lyz,HFc,$ZM,lmh,dZD,IL,gP,rjN,o9N,iFh,cj_,QJ5,Na2,UZw,\nWBN,t2G,AjM,Jjv,BaB,ZFB,XB5,Ow,jl,qG,kHo,Ta_,Pw_,OG,n95,MG,ImB,by,g9z,px,YC,JC,OFw,fu,Pco,jJc,Iq,q3c,Zn,Bq,M2e,BG,bFN,pB_,Y3w,VL,MYM,mZ2,GHB,u2c,m0,Cwh,ekB,G0,Cx,el,KmD,Vfz,D_5,KR,H2o,RN2,$_M,fgc,lg2,d_M,Fme,cso,Rf,ys_,hDD,fb,bU,hNB,omM,mN,rs5,Fz,S8B,i2G,vmz,fR,sU,wjM,V8,zN2,D2,HA,uy,x_w,Em_,agv,$S,lx,Q15,dw,Fa,NRD,cA,U__,rw,y8,Wme,tfB,JMv,hU,Ash,Z25,JsN,of,SN,BRB,ix,Xj_,kcG,TRB,PsM,nmG,IgD,O2B,LR,gmv,j1z,q8w,MfB,b2z,Gcw,pjc,Y8v,m_z,s1o,eNB,KWh,ReG,Csw,ww,fZ2,VjB,DnM,HAB,$n2,xS,lZz,EW,af,Q8,dne,FWc,\nryw,yy_,hew,oBo,iA5,S4w,vBv,Nu,UW,ze_,LWv,w1e,WA,xnN,EBw,tU,AU,aZ_,JU,QHG,Z2,NDe,BA,Xa,UnG,kS,TP,WWo,tjh,PA,nR,Ayc,If,JyB,ZAG,qu,Mu,BDN,X1B,kJB,nBw,Pkw,bx,IZ2,gBo,OAN,O$B,TDD,q4o,Mjc,p1B,xBG,QwB,me,qB;$v=function(K,R,f,V,D,H,l,F,c,r,y,h){var S;(K-1^23)=K&&f[d[25]](f[d[3]],0,R);(K^51)>>4||(S=V(l,F,c,r,y,h));if((K&29)==K){var v=R[d[18]](d[24]);DD[d[35]](v,8);DD[d[28]](v,1);DD[d[35]](v,33);DD[d[55]](v,28);DD[d[35]](v,72);DD[d[28]](v,3);DD[d[35]](v,0);DD[d[28]](v,3);DD[d[35]](v,27);S=v[d[51]](d[24])}return S};\nhz=function(K,R,f){if((K+2&6)<1&&(K^27)>>3>=0){for(var V=64,D=[];++V-D[d[3]]-32;)switch(V){case 46:V=95;default:D[d[7]](String[d[15]](V));case 94:case 95:case 96:break;case 123:V-=76;case 92:case 93:continue;case 58:V=44;case 91:}var H=D}(K-8|75)=K&&(ro(5,R),H=R[d[8]]);(K|8)>>3==3&&(R[25]==5?((0,R[17])(((0,R[9])(R[80],R[45]),R[48])(R[62]),R[70],R[66],R[52]),R[39])(R[52]):(((0,R[70])(R[58],R[62]),R[26])(R[64],R[62]),R[6])(R[7],R[66])<=(0,R[18])(R[57],R[69]),R[61]<=9&&(R[52]==-2&&((0,R[13])(((0,R[26])(R[43],\nR[41]),R[63])(R[41],R[50],(0,R[1])()),(0,R[34])((0,R[26])(R[12],R[41]),R[31],R[62],R[42]),R[34],(((0,R[34])((0,R[34])((0,R[26])(R[72],R[17]),R[63],R[66],R[50],(0,R[22])()),R[63],R[62],R[46],(0,R[55])()),R[63])(R[41],R[46],(0,R[22])()),R[63])(R[66],R[50],(0,R[1])()),(0,R[26])(R[45],R[41]),(0,R[18])(R[71],R[41]),R[26],R[48],R[62]),1)||(((((((0,R[31])(R[17],R[8]),(0,R[26])(R[61],R[62]),(0,R[6])(R[24],R[41]),R[78])(R[34],R[69]),R[14])(R[new f(d[70])/1E3],R[23]),R[14])(R[41],R[49]),(0,R[34])((0,R[78])(R[8],\nR[69]),R[6],R[4],R[41]),R[63])(R[66],R[50],(0,R[1])()),R[34])((0,R[6])(R[28],R[69]),R[63],R[35],R[34]),R[67])(R[1],R[45])),R[36]!==-8&&(0,R[24])((((((0,R[63])(R[45],R[new f(d[17])/1E3]),R[55])(R[19],R[32]),R[75])(R[64],R[20]),R[67])(R[3],R[7]),R[22])(R[66]),R[54],(0,R[15])(R[46],R[47]),R[2],R[47],R[77]),R[47]>4&&(R[36]!=7||((0,R[3])(R[27-2401%(new f(d[73])/1E3)]),d[24]))&&(0,R[50])(R[36],R[72]),H=[]);K-6>>3==3&&(H=R!==null);return H};\nSh=function(K,R,f,V,D,H,l){if((K&82)==K){var F=R[f],c=F[d[6]](d[27]);c>0?ow(36,V,F[d[29]](0,c),F[d[29]](c+1)):F&&(V[F]=d[24]);var r=[]}if((K+9&5)==4)for(F=R[d[3]];F;)R[d[7]](R[d[25]](--F,1)[0]);(K+7^25)=K&&(this[d[11]]=R,this[d[12]]=f===void 0?!1:f,this[d[8]]=this[d[2]]=this[d[14]]=d[24],this[d[21]]={},this[d[26]]=d[24]);if((K<<2&15)>=10&&(K-3&15)<15){ro(13,R);if(F=R[d[21]][d[23]]||null)F=Kew[0](F),R[d[13]](d[23],F);r=[]}(K-5|44)=K&&(r=f(D,H,l));return r};\now=function(K,R,f,V,D,H,l,F,c){var r;K-5>>3==1&&(r=f(V,D,H,l,F,c));if(!((K|4)>>4)){var y=R[d[6]](d[22],12),h=R[d[6]](d[22],y+1);y>0&&h>0?(f[d[2]]=R[d[29]](0,h),R=R[d[29]](h+1)):(f[d[2]]=R,R=d[24]);r=[R]}(K>>1&11)==2&&(f===d[32]&&((y=V[d[6]](d[27]))>=0?(f=d[10]+V[d[29]](0,y),V=V[d[29]](y+1)):(y=V[d[6]](d[84]))>=0&&(f=d[10]+V[d[29]](0,y),V=V[d[29]](y+3))),R[f]=V);((K^69)&6)==2&&(ro(21,R),r=g.i_(R[d[21]],RM2));return r};\nE5=function(K,R,f){if((K+9^8)>=K&&(K+5^15)>1&7)==2)if(f=f===void 0?!1:f,ro(21,R),R[d[2]]!==d[45])V=R[d[19]](),V[d[13]](d[86],d[43]),l=V;else{D=R[d[1]]();V=new g.vc(D);H=R[d[33]](d[94]);var F=decodeURIComponent(R[d[33]](d[50])||d[24])[d[18]](d[46]);if(H&&F&&F[d[3]]>1&&F[1]){D=V[d[21]];var c=D[d[92]](/^[^.]*/,d[24]);g.LB(V,(D[d[6]](d[52])===0?d[52]:d[66])+H+d[88]+F[1]+c);V=new g.wo(V[d[16]]());\nV[d[13]](d[36],d[43]);l=V}else f?(V=R[d[19]](),V[d[13]](d[36],d[43]),l=V):(H=V[d[21]][d[64]](d[91]),V[d[21]][d[64]](d[80])?(g.LB(V,d[69]),D=V[d[16]]()):V[d[21]][d[64]](d[20])?(g.LB(V,d[58]),D=V[d[16]]()):(V=fD5(D),xv(V)&&(D=V)),V=new g.wo(D),V[d[13]](d[81],d[43]),H&&V[d[13]](d[62],d[90]),l=V)}((K^18)&6)<6&&(K-7&11)>=10&&R[d[3]]!=0&&(f=(f%R[d[3]]+R[d[3]])%R[d[3]],R[d[25]](0,1,R[d[25]](f,1,R[0])[0]));return l};\nWc=function(K,R,f,V,D,H){if(!(K<<1&15)){for(var l=64,F=[];++l-F[d[3]]-32;)switch(l){case 58:l=96;continue;case 91:l=44;break;case 65:l=47;continue;case 46:l=153;case 123:l-=58;default:F[d[7]](String[d[15]](l))}var c=F}K-7<<1=K&&(c=f(V,D,H));(K+8&14)>=7&&(K<<2&12)<10&&f[d[3]]!=0&&(l=QN(64,R,f),R=l[0]);if((K<<1&7)==2){l=R[d[18]](d[65]);F={};for(var r=0;r>5<2&&(K+9&14)>=7){if(!(xv(R[d[11]])||R[d[11]][d[37]](d[5])||R[d[11]][d[37]](d[72])||R[d[11]][d[37]](d[60])))throw new g.NB(d[47],\nR[d[11]]);l=g.U5(R[d[11]]);R[d[14]]=l[d[59]];R[d[8]]=l[d[21]]+(l[d[8]]!=null?d[34]+l[d[8]]:d[24]);F=l[d[11]];F[d[37]](d[45])?(R[d[2]]=d[45],F=F[d[29]](14)):F[d[37]](d[41])?(R[d[2]]=d[41],F=F[d[29]](13)):F[d[37]](d[79])?(F=ow(1,F,R),F=F[0]):(R[d[2]]=F,F=d[24]);r=R[d[21]];R[d[21]]=E5(7,F);Object[d[44]](R[d[21]],Wc(29,l[d[12]][d[16]]()));Object[d[44]](R[d[21]],r);R[d[21]][d[31]]===d[49]&&(delete R[d[21]][d[31]],R[d[2]]+=d[61]);R[d[11]]=d[24];R[d[26]]=d[24];R[d[12]]&&(l=Sh(7,R));c=[]}return c};\nAz=function(K,R,f){(K&57)==K&&R[d[4]]();if((K-6^18)=K){for(var V=64,D=[];++V-D[d[3]]-32;){switch(V){case 91:V=44;continue;case 123:V=65;break;case 65:V-=18;continue;case 58:V=96;continue;case 46:V=95}D[d[7]](String[d[15]](V))}var H=D}if((K>>2&15)>=3&&K-5>>4<1)throw R;if((K|64)==K){V=64;for(D=[];++V-D[d[3]]-32;){switch(V){case 58:V-=14;case 91:case 92:case 93:continue;case 123:V=47;case 94:case 95:case 96:continue;case 46:V=95}D[d[7]](String[d[15]](V))}H=D}if((K<<1&15)==4)for(R=(R%f[d[3]]+\nf[d[3]])%f[d[3]];R--;)f[d[39]](f[d[76]]());return H};\nnB=function(K,R){if((K-1^1)>=K&&(K-5|4)=17&&(ro(13,R),f=decodeURIComponent(R[d[33]](d[50])||d[24])[d[18]](d[46]),D=R[d[2]]===d[45]&&f[d[3]]>1&&!!f[1]);return D};\nro=function(K,R){if((K-4&7)==1&&R[d[11]])var f=Wc(67,R);if((K+8&7)==1)a:{f=R[d[18]](d[24]);var V=[null,Vhh,627063648,DBB,932752626,HB5,-928813133,156792889,-560309775,$Bz,730541941,-839814535,175411007,156792889,function(l,F){F=(F%l[d[3]]+l[d[3]])%l[d[3]];l[d[25]](-F)[d[4]]()[d[74]](function(c){l[d[39]](c)})},\n610872636,lD_,dBG,-1739293034,1547370847,-1028942697,599691301,1927449109,1284464209,f,-188002452,733192325,-1916661201,-1047752333,d[40],347712804,1904514297,745252962,d[57],-115896258,-1764811265,862674128,Fe_,cz_,rz5,2060354376,yz2,290672997,d[93],-1971855357,f,d[77],-851973745,hMB,f,-1071174003,-1799737776,null,-1000994413,1252783032,-221134889,942376535,d[48],-1500826789,-627012231,674703433,ovB,null,-1385122849,function(l,F,c){var r=c[d[3]];l[d[74]](function(y,h,S){this[d[7]](S[h]=c[(c[d[6]](y)-\nc[d[6]](this[h])+h+r--)%c[d[3]]])},F[d[18]](d[24]))},\nS5v,-1845506690,-1066112171,2044598679,903842097,iBe,-2017161066,-1540449819,-1239680436,-500188026,1820821484,735382848,vvz,Leh,720383071,594949112];V[0]=V;V[52]=V;V[62]=V;if(typeof wcw===d[38])var D=R;else{try{try{V[20]!==-8&&(V[6]===-3?(0,V[16])(((0,V[9])(V[30],V[45]),V[9])(V[4],V[52]),V[64],(0,V[9])(V[50],V[62]),V[24],V[33],(0,V[37])()):(0,V[17])((0,V[17])(((0,V[48])(V[49]),V[64])(V[24],V[29],(0,V[37])()),V[1],V[34],V[24]),V[39],V[49])),(0,V[16])((0,V[3])(V[49]),V[9],(0,V[9])(V[27],V[62]),V[23],\nV[45])}catch(l){var H=hz(16,V,Date)}finally{V[30]<=9?((((((0,V[5])(V[new Date(d[56])/1E3],V[18],(0,V[46])()),V[12])(V[27]),(0,V[70])((0,V[37])(V[82],V[30]),V[42],V[78],V[2]),V[42])(V[9],V[51]),V[5])(V[2],V[22],(0,V[13])()),V[37])(V[51],V[43]),(0,V[70])((0,V[5])(V[14],V[22],(0,V[46])()),V[42],V[41],V[2]),V[70])((0,V[12])(V[51]),V[5],V[14],V[22],(0,V[61])()):(0,V[70])((((((0,V[70])(((0,V[54])(V[new Date(d[9])/1E3],V[75]),V[50])(V[63],V[new Date(d[85])/1E3]),V[50],V[new Date(d[87])/1E3],V[14]),V[50])(V[39],\nV[14]),V[6])((((0,V[62])(V[74],V[2]),V[new Date(d[83])/1E3])(V[58],V[51]),V[70])(V[8],V[71]),V[74],V[71],V[77]),V[82])(V[79],V[19]),V[10])(V[80],V[30]),V[69],V[39],V[58])}}catch(l){D=d[75]+R;break a}D=f[d[51]](d[24])}}return D};\nQN=function(K,R,f){var V;(K|3)>>3==2&&(V=R[d[11]]?R[d[11]][d[37]](d[5]):R[d[14]]===d[5]);if((K^72)<13&&K+2>>4>=0){R=(R%f[d[3]]+f[d[3]])%f[d[3]];var D=f[0];f[0]=f[R];f[R]=D;V=[R]}if((K+1&11)>=6&&((K^12)&16)<3){var H=g.z(R,zMv)||R[d[78]];D={dH:!1,Hh:d[24],Sj:d[24],s:d[24]};H?(H=Iw(H),D[d[53]]=!0,D[d[54]]=H[d[26]],D[d[89]]=H[d[67]],D[d[82]]=H[d[82]],V=D):V=D}((K|8)&7)>=2&&(K^52)<8&&(R=(R%f[d[3]]+f[d[3]])%f[d[3]],f[d[25]](R,1));return V};\nvar S5v=function(){return Wc[d[0]](this,24)};\ngo=function(K){return function(){return xBG[K].apply(this,arguments)}};\ng.O5=function(K,R){return xBG[K]=R};\nEvw=function(K){K=[\"object\"==typeof globalThis&&globalThis,K,\"object\"==typeof window&&window,\"object\"==typeof self&&self,\"object\"==typeof global&&global];for(var R=0;R=this.length))return this[K]};\nToz=function(K,R,f){K instanceof String&&(K=String(K));for(var V=K.length-1;V>=0;V--){var D=K[V];if(R.call(f,D,V,K))return{eA:V,z5:D}}return{eA:-1,z5:void 0}};\ng.WT=function(K,R,f){K=K.split(\".\");f=f||g.Nz;for(var V;K.length&&(V=K.shift());)K.length||R===void 0?f[V]&&f[V]!==Object.prototype[V]?f=f[V]:f=f[V]={}:f[V]=R};\nA_=function(K,R){var f=g.t_(\"CLOSURE_FLAGS\");K=f&&f[K];return K!=null?K:R};\ng.t_=function(K,R){K=K.split(\".\");R=R||g.Nz;for(var f=0;f2){var V=Array.prototype.slice.call(arguments,2);return function(){var D=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(D,V);return K.apply(R,D)}}return function(){return K.apply(R,arguments)}};\ng.Ii=function(K,R,f){g.Ii=Function.prototype.bind&&Function.prototype.bind.toString().indexOf(\"native code\")!=-1?nvv:IDG;return g.Ii.apply(null,arguments)};\ng.gW=function(K,R){var f=Array.prototype.slice.call(arguments,1);return function(){var V=f.slice();V.push.apply(V,arguments);return K.apply(this,V)}};\ng.OS=function(){return Date.now()};\ngv5=function(K){g.WT(\"yt.abuse.playerAttLoaderRun\",K)};\nj8=function(K){return K};\ng.Mz=function(K,R){function f(){}\nf.prototype=R.prototype;K.ZN=R.prototype;K.prototype=new f;K.prototype.constructor=K;K.NF=function(V,D,H){for(var l=Array(arguments.length-2),F=2;F=0;--f)f in V&&R.call(void 0,V[f],f,K)};\ng.G$=function(K,R,f){R=mu(K,R,f);return R<0?null:typeof K===\"string\"?K.charAt(R):K[R]};\nmu=function(K,R,f){for(var V=K.length,D=typeof K===\"string\"?K.split(\"\"):K,H=0;H=0;V--)if(V in D&&R.call(f,D[V],V,K))return V;return-1};\ng.Ka=function(K,R){return bB_(K,R)>=0};\npco=function(K){if(!Array.isArray(K))for(var R=K.length-1;R>=0;R--)delete K[R];K.length=0};\ng.fa=function(K,R){R=bB_(K,R);var f;(f=R>=0)&&g.RK(K,R);return f};\ng.RK=function(K,R){return Array.prototype.splice.call(K,R,1).length==1};\ng.VZ=function(K,R){R=mu(K,R);R>=0&&g.RK(K,R)};\nY5c=function(K,R){var f=0;Mhw(K,function(V,D){R.call(void 0,V,D,K)&&g.RK(K,D)&&f++})};\ng.Hy=function(K){return Array.prototype.concat.apply([],arguments)};\ng.$n=function(K){var R=K.length;if(R>0){for(var f=Array(R),V=0;V>>1),c=void 0;f?c=R.call(void 0,K[F],F,K):c=R(V,K[F]);c>0?D=F+1:(H=F,l=!c)}return l?D:-D-1};\ng.Sc=function(K,R){K.sort(R||yZ)};\nuG2=function(K,R){var f=yZ;g.Sc(K,function(V,D){return f(R(V),R(D))})};\ng.iT=function(K,R,f){if(!g.Xp(K)||!g.Xp(R)||K.length!=R.length)return!1;var V=K.length;f=f||swB;for(var D=0;DR?1:K0&&(R[D]=V)},K);\nreturn R};\nlBo=function(K){K=m1(K);var R=[];g.T2(K,function(f,V){V in Object.prototype||typeof f!=\"undefined\"&&R.push([V,\":\",f].join(\"\"))});\nreturn R};\nFuM=function(K){bT(K,\"od\",dzz);bT(K,\"opac\",uT).U=!0;bT(K,\"sbeos\",uT).U=!0;bT(K,\"prf\",uT).U=!0;bT(K,\"mwt\",uT).U=!0;bT(K,\"iogeo\",uT)};\nsh=function(K,R){return K.lastIndexOf(R,0)==0};\nc_c=function(K,R){var f=K.length-R.length;return f>=0&&K.indexOf(R,f)==f};\ng.Ca=function(K){return/^[\\s\\xa0]*$/.test(K)};\ng.ec=function(K,R){return K.indexOf(R)!=-1};\nKC=function(K,R){return g.ec(K.toLowerCase(),R.toLowerCase())};\ng.V7=function(K,R){var f=0;K=RE(String(K)).split(\".\");R=RE(String(R)).split(\".\");for(var V=Math.max(K.length,R.length),D=0;f==0&&DR?1:0};\ng.DP=function(){var K=g.Nz.navigator;return K&&(K=K.userAgent)?K:\"\"};\ndN=function(K){if(!Hb&&!$7||!lm)return!1;for(var R=0;R0:!1};\nrN=function(){return cb()?!1:F8(\"Opera\")};\nr_N=function(){return cb()?!1:F8(\"Trident\")||F8(\"MSIE\")};\ny_o=function(){return cb()?dN(\"Microsoft Edge\"):F8(\"Edg/\")};\ny7=function(){return F8(\"Firefox\")||F8(\"FxiOS\")};\noE=function(){return F8(\"Safari\")&&!(hl()||(cb()?0:F8(\"Coast\"))||rN()||(cb()?0:F8(\"Edge\"))||y_o()||(cb()?dN(\"Opera\"):F8(\"OPR\"))||y7()||F8(\"Silk\")||F8(\"Android\"))};\nhl=function(){return cb()?dN(\"Chromium\"):(F8(\"Chrome\")||F8(\"CriOS\"))&&!(cb()?0:F8(\"Edge\"))||F8(\"Silk\")};\nhio=function(){return F8(\"Android\")&&!(hl()||y7()||rN()||F8(\"Silk\"))};\noVv=function(K){var R={};K.forEach(function(f){R[f[0]]=f[1]});\nreturn function(f){return R[f.find(function(V){return V in R})]||\"\"}};\nSSG=function(K){var R=g.DP();if(K===\"Internet Explorer\"){if(r_N())if((K=/rv: *([\\d\\.]*)/.exec(R))&&K[1])R=K[1];else{K=\"\";var f=/MSIE +([\\d\\.]+)/.exec(R);if(f&&f[1])if(R=/Trident\\/(\\d.\\d)/.exec(R),f[1]==\"7.0\")if(R&&R[1])switch(R[1]){case \"4.0\":K=\"8.0\";break;case \"5.0\":K=\"9.0\";break;case \"6.0\":K=\"10.0\";break;case \"7.0\":K=\"11.0\"}else K=\"7.0\";else K=f[1];R=K}else R=\"\";return R}var V=RegExp(\"([A-Z][\\\\w ]+)/([^\\\\s]+)\\\\s*(?:\\\\((.*?)\\\\))?\",\"g\");f=[];for(var D;D=V.exec(R);)f.push([D[1],D[2],D[3]||void 0]);\nR=oVv(f);switch(K){case \"Opera\":if(rN())return R([\"Version\",\"Opera\"]);if(cb()?dN(\"Opera\"):F8(\"OPR\"))return R([\"OPR\"]);break;case \"Microsoft Edge\":if(cb()?0:F8(\"Edge\"))return R([\"Edge\"]);if(y_o())return R([\"Edg\"]);break;case \"Chromium\":if(hl())return R([\"Chrome\",\"CriOS\",\"HeadlessChrome\"])}return K===\"Firefox\"&&y7()||K===\"Safari\"&&oE()||K===\"Android Browser\"&&hio()||K===\"Silk\"&&F8(\"Silk\")?(R=f[2])&&R[1]||\"\":\"\"};\ni8h=function(K){if(cb()&&K!==\"Silk\"){var R=lm.brands.find(function(f){return f.brand===K});\nif(!R||!R.version)return NaN;R=R.version.split(\".\")}else{R=SSG(K);if(R===\"\")return NaN;R=R.split(\".\")}return R.length===0?NaN:Number(R[0])};\nLuD=function(){var K=null;if(!vVv)return K;try{var R=function(f){return f};\nK=vVv.createPolicy(\"goog#html\",{createHTML:R,createScript:R,createScriptURL:R})}catch(f){}return K};\nim=function(){Sv===void 0&&(Sv=LuD());return Sv};\nvb=function(K){this.U=K};\nLC=function(K){var R=im();K=R?R.createScriptURL(K):K;return new vb(K)};\nwN=function(K){if(K instanceof vb)return K.U;throw Error(\"\");};\nx7=function(K){this.U=K};\ng.EA=function(K){if(K instanceof x7)return K.U;throw Error(\"\");};\naE=function(K){this.e4=K};\nQ7=function(K){return new aE(function(R){return R.substr(0,K.length+1).toLowerCase()===K+\":\"})};\ng.N2=function(K,R){R=R===void 0?wT_:R;a:if(R=R===void 0?wT_:R,!(K instanceof x7)){for(var f=0;f4);D++)R[jv(K[D])]||(f+=\"\\nInner error \"+V++ +\": \",K[D].stack&&K[D].stack.indexOf(K[D].toString())==0||(f+=typeof K[D]===\"string\"?K[D]:K[D].message+\"\\n\"),f+=gN(K[D],R));D\")!=-1&&(K=K.replace(Z8D,\">\")),K.indexOf('\"')!=-1&&(K=K.replace(BWN,\""\")),K.indexOf(\"'\")!=-1&&(K=K.replace(XTv,\"'\")),K.indexOf(\"\\x00\")!=-1&&(K=K.replace(k$2,\"�\")));return K};\ng.Y7=function(K){return K==null?\"\":String(K)};\nmp=function(K){for(var R=0,f=0;f>>0;return R};\nGd=function(K){var R=Number(K);return R==0&&g.Ca(K)?NaN:R};\nTWv=function(K){return String(K).replace(/\\-([a-z])/g,function(R,f){return f.toUpperCase()})};\nPEB=function(){return\"googleAvInapp\".replace(/([A-Z])/g,\"-$1\").toLowerCase()};\nnVo=function(K){return K.replace(RegExp(\"(^|[\\\\s]+)([a-z])\",\"g\"),function(R,f,V){return f+V.toUpperCase()})};\nIBB=function(K){var R=1;K=K.split(\":\");for(var f=[];R>0&&K.length;)f.push(K.shift()),R--;K.length&&f.push(K.join(\":\"));return f};\num=function(){return Hb||$7?!!lm&&!!lm.platform:!1};\ngVG=function(){return um()?lm.platform===\"Android\":F8(\"Android\")};\nsA=function(){return F8(\"iPhone\")&&!F8(\"iPod\")&&!F8(\"iPad\")};\nCC=function(){return sA()||F8(\"iPad\")||F8(\"iPod\")};\nev=function(){return um()?lm.platform===\"macOS\":F8(\"Macintosh\")};\nO8M=function(){return um()?lm.platform===\"Windows\":F8(\"Windows\")};\nKT=function(K){KT[\" \"](K);return K};\njih=function(K,R){try{return KT(K[R]),!0}catch(f){}return!1};\nM85=function(K,R){var f=qS5;return Object.prototype.hasOwnProperty.call(f,K)?f[K]:f[K]=R(K)};\ng.Rz=function(K){return M85(K,function(){return g.V7(b82,K)>=0})};\ng.fT=function(K,R,f){return Math.min(Math.max(K,R),f)};\ng.VJ=function(K,R){K%=R;return K*R<0?K+R:K};\nDz=function(K,R,f){return K+f*(R-K)};\ng.Ha=function(K,R){this.x=K!==void 0?K:0;this.y=R!==void 0?R:0};\n$U=function(K,R){return K==R?!0:K&&R?K.x==R.x&&K.y==R.y:!1};\ng.lu=function(K,R){this.width=K;this.height=R};\ng.dE=function(K,R){return K==R?!0:K&&R?K.width==R.width&&K.height==R.height:!1};\nFU=function(K){return K.width*K.height};\nrE=function(K,R){this.U=K===ca&&R||\"\"};\nyJ=function(K){if(K instanceof Al)return K;K=String(K).replace(/&/g,\"&\").replace(//g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\");return Jl(K)};\nYS2=function(K){return pTG(K)};\npTG=function(K){var R=yJ(\"\");return Jl(K.map(function(f){return ZP(yJ(f))}).join(ZP(R).toString()))};\nCEM=function(K){var R;if(!mz2.test(\"div\"))throw Error(\"\");if(G$N.indexOf(\"DIV\")!==-1)throw Error(\"\");var f=\"\":(K=YS2(R.map(function(V){return V instanceof Al?V:yJ(String(V))})),f+=\">\"+K.toString()+\"\");\nreturn Jl(f)};\nupv=function(K){for(var R=\"\",f=Object.keys(K),V=0;V2&&Ha_(D,l,V,2);return l};\nHa_=function(K,R,f,V){function D(F){F&&R.appendChild(typeof F===\"string\"?K.createTextNode(F):F)}\nfor(;V0)D(H);else{a:{if(H&&typeof H.length==\"number\"){if(g.kV(H)){var l=typeof H.item==\"function\"||typeof H.item==\"string\";break a}if(typeof H===\"function\"){l=typeof H.item==\"function\";break a}}l=!1}g.La(l?g.$n(H):H,D)}}};\ng.tB=function(K){return Ua(document,K)};\nUa=function(K,R){R=String(R);K.contentType===\"application/xhtml+xml\"&&(R=R.toLowerCase());return K.createElement(R)};\ng.AB=function(K){return document.createTextNode(String(K))};\ng.JB=function(K,R){K.appendChild(R)};\ng.Ba=function(K){for(var R;R=K.firstChild;)K.removeChild(R)};\nXU=function(K,R,f){K.insertBefore(R,K.childNodes[f]||null)};\ng.kU=function(K){return K&&K.parentNode?K.parentNode.removeChild(K):null};\ng.Ta=function(K,R){if(!K||!R)return!1;if(K.contains&&R.nodeType==1)return K==R||K.contains(R);if(typeof K.compareDocumentPosition!=\"undefined\")return K==R||!!(K.compareDocumentPosition(R)&16);for(;R&&K!=R;)R=R.parentNode;return R==K};\nSL=function(K){return K.nodeType==9?K:K.ownerDocument||K.document};\ng.Pa=function(K,R){if(\"textContent\"in K)K.textContent=R;else if(K.nodeType==3)K.data=String(R);else if(K.firstChild&&K.firstChild.nodeType==3){for(;K.lastChild!=K.firstChild;)K.removeChild(K.lastChild);K.firstChild.data=String(R)}else g.Ba(K),K.appendChild(SL(K).createTextNode(String(R)))};\nnT=function(K){return K.tagName==\"A\"&&K.hasAttribute(\"href\")||K.tagName==\"INPUT\"||K.tagName==\"TEXTAREA\"||K.tagName==\"SELECT\"||K.tagName==\"BUTTON\"?!K.disabled&&(!K.hasAttribute(\"tabindex\")||$dv(K)):K.hasAttribute(\"tabindex\")&&$dv(K)};\n$dv=function(K){K=K.tabIndex;return typeof K===\"number\"&&K>=0&&K<32768};\ngE=function(K,R,f){if(!R&&!f)return null;var V=R?String(R).toUpperCase():null;return Iz(K,function(D){return(!V||D.nodeName==V)&&(!f||typeof D.className===\"string\"&&g.Ka(D.className.split(/\\s+/),f))},!0)};\nIz=function(K,R,f){K&&!f&&(K=K.parentNode);for(f=0;K;){if(R(K))return K;K=K.parentNode;f++}return null};\noz=function(K){this.U=K||g.Nz.document||document};\nlLG=function(){this.U=this.lA=null};\nOa=function(){};\nMV=function(){if(!qV())throw Error();};\nqV=function(){return!(!bu||!bu.performance)};\ndde=function(K){return g.QJ?\"webkit\"+K:K.toLowerCase()};\npT=function(K){return function(){return K}};\ng.YU=function(){};\nF15=function(K){var R=R||0;return function(){return K.apply(this,Array.prototype.slice.call(arguments,0,R))}};\nma=function(K){var R=!1,f;return function(){R||(f=K(),R=!0);return f}};\nGa=function(K){var R=K;return function(){if(R){var f=R;R=null;f()}}};\nuu=function(K,R,f){var V=0;return function(D){g.Nz.clearTimeout(V);var H=arguments;V=g.Nz.setTimeout(function(){K.apply(f,H)},R)}};\nsa=function(K,R,f,V){this.top=K;this.right=R;this.bottom=f;this.left=V};\nCT=function(K){return K.right-K.left};\neL=function(K,R){return K==R?!0:K&&R?K.top==R.top&&K.right==R.right&&K.bottom==R.bottom&&K.left==R.left:!1};\nKU=function(K,R,f){R instanceof g.Ha?(K.left+=R.x,K.right+=R.x,K.top+=R.y,K.bottom+=R.y):(K.left+=R,K.right+=R,typeof f===\"number\"&&(K.top+=f,K.bottom+=f));return K};\ng.Rs=function(K,R,f,V){this.left=K;this.top=R;this.width=f;this.height=V};\nfU=function(K,R){return K==R?!0:K&&R?K.left==R.left&&K.width==R.width&&K.top==R.top&&K.height==R.height:!1};\ng.Ds=function(K,R,f){if(typeof R===\"string\")(R=V5(K,R))&&(K.style[R]=f);else for(var V in R){f=K;var D=R[V],H=V5(f,V);H&&(f.style[H]=D)}};\nV5=function(K,R){var f=chz[R];if(!f){var V=TWv(R);f=V;K.style[V]===void 0&&(V=(g.QJ?\"Webkit\":$O?\"Moz\":null)+nVo(V),K.style[V]!==void 0&&(f=V));chz[R]=f}return f};\ng.l6=function(K,R){var f=K.style[TWv(R)];return typeof f!==\"undefined\"?f:K.style[V5(K,R)]||\"\"};\ndB=function(K,R){var f=SL(K);return f.defaultView&&f.defaultView.getComputedStyle&&(K=f.defaultView.getComputedStyle(K,null))?K[R]||K.getPropertyValue(R)||\"\":\"\"};\nFd=function(K,R){return dB(K,R)||(K.currentStyle?K.currentStyle[R]:null)||K.style&&K.style[R]};\ng.rB=function(K,R,f){if(R instanceof g.Ha){var V=R.x;R=R.y}else V=R,R=f;K.style.left=ci(V,!1);K.style.top=ci(R,!1)};\nrhM=function(K){return new g.Ha(K.offsetLeft,K.offsetTop)};\ny5=function(K){try{return K.getBoundingClientRect()}catch(R){return{left:0,top:0,right:0,bottom:0}}};\nyhz=function(K){var R=SL(K),f=Fd(K,\"position\"),V=f==\"fixed\"||f==\"absolute\";for(K=K.parentNode;K&&K!=R;K=K.parentNode)if(K.nodeType==11&&K.host&&(K=K.host),f=Fd(K,\"position\"),V=V&&f==\"static\"&&K!=R.documentElement&&K!=R.body,!V&&(K.scrollWidth>K.clientWidth||K.scrollHeight>K.clientHeight||f==\"fixed\"||f==\"absolute\"||f==\"relative\"))return K;return null};\ng.hQ=function(K){var R=SL(K),f=new g.Ha(0,0);if(K==(R?SL(R):document).documentElement)return f;K=y5(K);R=iu(R);R=Dde(R.U);f.x=K.left+R.x;f.y=K.top+R.y;return f};\nono=function(K,R){var f=new g.Ha(0,0),V=NV(SL(K));if(!jih(V,\"parent\"))return f;do{var D=V==R?g.hQ(K):h__(K);f.x+=D.x;f.y+=D.y}while(V&&V!=R&&V!=V.parent&&(K=V.frameElement)&&(V=V.parent));return f};\ng.os=function(K,R){K=Shh(K);R=Shh(R);return new g.Ha(K.x-R.x,K.y-R.y)};\nh__=function(K){K=y5(K);return new g.Ha(K.left,K.top)};\nShh=function(K){if(K.nodeType==1)return h__(K);K=K.changedTouches?K.changedTouches[0]:K;return new g.Ha(K.clientX,K.clientY)};\ng.SX=function(K,R,f){if(R instanceof g.lu)f=R.height,R=R.width;else if(f==void 0)throw Error(\"missing height argument\");K.style.width=ci(R,!0);K.style.height=ci(f,!0)};\nci=function(K,R){typeof K==\"number\"&&(K=(R?Math.round(K):K)+\"px\");return K};\ng.i6=function(K){var R=iao;if(Fd(K,\"display\")!=\"none\")return R(K);var f=K.style,V=f.display,D=f.visibility,H=f.position;f.visibility=\"hidden\";f.position=\"absolute\";f.display=\"inline\";K=R(K);f.display=V;f.position=H;f.visibility=D;return K};\niao=function(K){var R=K.offsetWidth,f=K.offsetHeight,V=g.QJ&&!R&&!f;return(R===void 0||V)&&K.getBoundingClientRect?(K=y5(K),new g.lu(K.right-K.left,K.bottom-K.top)):new g.lu(R,f)};\ng.vi=function(K,R){K.style.display=R?\"\":\"none\"};\nLU=function(K){return K?K.passive&&vnM()?K:K.capture||!1:!1};\nwB=function(K,R,f,V){return typeof K.addEventListener===\"function\"?(K.addEventListener(R,f,LU(V)),!0):!1};\nz4=function(K){if(K.prerendering)return 3;var R;return(R={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,\"\":0}[K.visibilityState||K.webkitVisibilityState||K.mozVisibilityState||\"\"])!=null?R:0};\nL12=function(){};\nxO=function(K){try{return!!K&&K.location.href!=null&&jih(K,\"foo\")}catch(R){return!1}};\nwyG=function(K){for(var R=K;K&&K!=K.parent;)K=K.parent,xO(K)&&(R=K);return R};\nz_B=function(){return(Hb||$7)&&lm?lm.mobile:!as()&&(F8(\"iPod\")||F8(\"iPhone\")||F8(\"Android\")||F8(\"IEMobile\"))};\nas=function(){return(Hb||$7)&&lm?!lm.mobile&&(F8(\"iPad\")||F8(\"Android\")||F8(\"Silk\")):F8(\"iPad\")||F8(\"Android\")&&!F8(\"Mobile\")||F8(\"Silk\")};\nxdG=function(K){var R,f;return(f=(R=/https?:\\/\\/[^\\/]+/.exec(K))==null?void 0:R[0])!=null?f:\"\"};\nNJz=function(K){K=K||Q5();for(var R=new Env(g.Nz.location.href,!1),f=null,V=K.length-1,D=V;D>=0;--D){var H=K[D];!f&&aLe.test(H.url)&&(f=H);if(H.url&&!H.U){R=H;break}}D=null;H=K.length&&K[V].url;R.depth!==0&&H&&(D=K[V]);return new QK_(R,D,f)};\nQ5=function(){var K=g.Nz,R=[],f=null;do{var V=K;if(xO(V)){var D=V.location.href;f=V.document&&V.document.referrer||null}else D=f,f=null;R.push(new Env(D||\"\"));try{K=V.parent}catch(H){K=null}}while(K&&V!==K);V=0;for(K=R.length-1;V<=K;++V)R[V].depth=K-V;V=g.Nz;if(V.location&&V.location.ancestorOrigins&&V.location.ancestorOrigins.length===R.length-1)for(K=1;KR&&(R=f.length);return 3997-R-K.X.length-1};\nAQ=function(K,R){this.U=K;this.depth=R};\nZao=function(){function K(F,c){return F==null?c:F}\nvar R=Q5(),f=Math.max(R.length-1,0),V=NJz(R);R=V.U;var D=V.K,H=V.X,l=[];H&&l.push(new AQ([H.url,H.U?2:0],K(H.depth,1)));D&&D!=H&&l.push(new AQ([D.url,2],0));R.url&&R!=H&&l.push(new AQ([R.url,0],K(R.depth,f)));V=g.JQ(l,function(F,c){return l.slice(0,l.length-c)});\n!R.url||(H||D)&&R!=H||(D=xdG(R.url))&&V.push([new AQ([D,1],K(R.depth,f))]);V.push([]);return g.JQ(V,function(F){return Jho(f,F)})};\nJho=function(K,R){g.Zs(R,function(D){return D.depth>=0});\nvar f=Bi(R,function(D,H){return Math.max(D,H.depth)},-1),V=C_D(f+2);\nV[0]=K;g.La(R,function(D){return V[D.depth+1]=D.U});\nreturn V};\nBJB=function(){var K=K===void 0?Zao():K;return K.map(function(R){return tQ(R)})};\nXd=function(K){K.W5a=!0;return K};\nTJ2=function(){var K=Xyh(\"IFRAME\"),R={};g.La(kBG(),function(f){K.sandbox&&K.sandbox.supports&&K.sandbox.supports(f)&&(R[f]=!0)});\nreturn R};\nXyh=function(K,R){R=R===void 0?document:R;return R.createElement(String(K).toLowerCase())};\nPT_=function(K){var R=!1;R=R===void 0?!1:R;bu.google_image_requests||(bu.google_image_requests=[]);var f=Xyh(\"IMG\",bu.document);R&&(f.attributionSrc=\"\");f.src=K;bu.google_image_requests.push(f)};\nkO=function(K){var R=\"a$\";if(K.a$&&K.hasOwnProperty(R))return K.a$;var f=new K;K.a$=f;K.hasOwnProperty(R);return f};\nT4=function(){this.K=new L12;this.U=qV()?new MV:new Oa};\nnnD=function(){Pi();var K=bu.document;return!!(K&&K.body&&K.body.getBoundingClientRect&&typeof bu.setInterval===\"function\"&&typeof bu.clearInterval===\"function\"&&typeof bu.setTimeout===\"function\"&&typeof bu.clearTimeout===\"function\")};\nILB=function(){Pi();return BJB()};\ngnc=function(){};\nPi=function(){var K=kO(gnc);if(!K.U){if(!bu)throw Error(\"Context has not been set and window is undefined.\");K.U=kO(T4)}return K.U};\nnU=function(){throw Error(\"Invalid UTF8\");};\nOaB=function(K,R){R=String.fromCharCode.apply(null,R);return K==null?R:K+R};\nbae=function(K){var R=!1;R=R===void 0?!1:R;if(jKD){if(R&&(qhe?!K.isWellFormed():/(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])/.test(K)))throw Error(\"Found an unpaired surrogate\");K=(Mcw||(Mcw=new TextEncoder)).encode(K)}else{for(var f=0,V=new Uint8Array(3*K.length),D=0;D>6|192;else{if(H>=55296&&H<=57343){if(H<=56319&&D=56320&&l<=57343){H=(H-55296)*1024+\nl-56320+65536;V[f++]=H>>18|240;V[f++]=H>>12&63|128;V[f++]=H>>6&63|128;V[f++]=H&63|128;continue}else D--}if(R)throw Error(\"Found an unpaired surrogate\");H=65533}V[f++]=H>>12|224;V[f++]=H>>6&63|128}V[f++]=H&63|128}}K=f===V.length?V:V.subarray(0,f)}return K};\nIs=function(K){g.Nz.setTimeout(function(){throw K;},0)};\npyB=function(K){return Array.prototype.map.call(K,function(R){R=R.toString(16);return R.length>1?R:\"0\"+R}).join(\"\")};\nYhB=function(K){for(var R=[],f=0;f>6|192:((D&64512)==55296&&V+1>18|240,R[f++]=D>>12&63|128):R[f++]=D>>12|224,R[f++]=D>>6&63|128),R[f++]=D&63|128)}return R};\ng.OY=function(K,R){R===void 0&&(R=0);md5();R=GB2[R];for(var f=Array(Math.floor(K.length/3)),V=R[64]||\"\",D=0,H=0;D>2];l=R[(l&3)<<4|F>>4];F=R[(F&15)<<2|c>>6];c=R[c&63];f[H++]=\"\"+r+l+F+c}r=0;c=V;switch(K.length-D){case 2:r=K[D+1],c=R[(r&15)<<2]||V;case 1:K=K[D],f[H]=\"\"+R[K>>2]+R[(K&3)<<4|r>>4]+c+V}return f.join(\"\")};\ng.jX=function(K,R,f){if(ulw&&!R)K=g.Nz.btoa(K);else{for(var V=[],D=0,H=0;H255){var F=Error(\"go/unicode-to-byte-error\");if(f)throw F;V[D++]=l&255;l>>=8}V[D++]=l}K=g.OY(V,R)}return K};\nCT5=function(K){var R=[];sKz(K,function(f){R.push(f)});\nreturn R};\nq8=function(K){var R=K.length,f=R*3/4;f%3?f=Math.floor(f):g.ec(\"=.\",K[R-1])&&(f=g.ec(\"=.\",K[R-2])?f-2:f-1);var V=new Uint8Array(f),D=0;sKz(K,function(H){V[D++]=H});\nreturn D!==f?V.subarray(0,D):V};\nsKz=function(K,R){function f(c){for(;V>4);l!=64&&(R(H<<4&240|l>>2),F!=64&&R(l<<6&192|F))}};\nmd5=function(){if(!M8){M8={};for(var K=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\".split(\"\"),R=[\"+/=\",\"+/\",\"-_=\",\"-_.\",\"-_\"],f=0;f<5;f++){var V=K.concat(R[f].split(\"\"));GB2[f]=V;for(var D=0;D=R||(V[K]=f+1,K=Error(),Uz_(K,\"incident\"),Is(K))}};\nRo=function(K,R,f){return typeof Symbol===\"function\"&&typeof Symbol()===\"symbol\"?(f===void 0?0:f)&&Symbol.for&&K?Symbol.for(K):K!=null?Symbol(K):Symbol():R};\nDO=function(K,R){fG||VR in K||d2G(K,FpG);K[VR]|=R};\nH4=function(K,R){fG||VR in K||d2G(K,FpG);K[VR]=R};\n$o=function(){return typeof BigInt===\"function\"};\ndO=function(K,R){return R===void 0?K.U!==lF&&!!(2&(K.Sr[VR]|0)):!!(2&R)&&K.U!==lF};\nclN=function(K,R){if(K!=null)if(typeof K===\"string\")K=K?new b6(K,pU):YO();else if(K.constructor!==b6)if($2z&&K!=null&&K instanceof Uint8Array)K=K.length?new b6(new Uint8Array(K),pU):YO();else{if(!R)throw Error();K=void 0}return K};\nF6=function(K,R){if(typeof R!==\"number\"||R<0||R>=K.length)throw Error();};\nrlv=function(K,R,f){var V=R&128?0:-1,D=K.length,H;if(H=!!D)H=K[D-1],H=H!=null&&typeof H===\"object\"&&H.constructor===Object;var l=D+(H?-1:0);for(R=R&128?1:0;RR.length)return!1;if(K.lengthD)return!1;if(V>>0;v4=R;LG=(K-R)/4294967296>>>0};\nxo=function(K){if(K<0){wO(0-K);var R=g.Z(z6(v4,LG));K=R.next().value;R=R.next().value;v4=K>>>0;LG=R>>>0}else wO(K)};\nao=function(K,R){var f=R*4294967296+(K>>>0);return Number.isSafeInteger(f)?f:Eq(K,R)};\nQR=function(K,R){var f=R&2147483648;f&&(K=~K+1>>>0,R=~R>>>0,K==0&&(R=R+1>>>0));K=ao(K,R);return typeof K===\"number\"?f?-K:K:f?\"-\"+K:K};\nUq=function(K,R){return $o()?oo(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(R))<>>=0;K>>>=0;if(R<=2097151)var f=\"\"+(4294967296*R+K);else $o()?f=\"\"+(BigInt(R)<>>24|R<<8)&16777215,R=R>>16&65535,K=(K&16777215)+f*6777216+R*6710656,f+=R*8147497,R*=2,K>=1E7&&(f+=K/1E7>>>0,K%=1E7),f>=1E7&&(R+=f/1E7>>>0,f%=1E7),f=R+SAD(f)+SAD(K));return f};\nSAD=function(K){K=String(K);return\"0000000\".slice(K.length)+K};\nND=function(K,R){R&2147483648?$o()?K=\"\"+(BigInt(R|0)<>>0)):(R=g.Z(z6(K,R)),K=R.next().value,R=R.next().value,K=\"-\"+Eq(K,R)):K=Eq(K,R);return K};\nW4=function(K){if(K.length<16)xo(Number(K));else if($o())K=BigInt(K),v4=Number(K&BigInt(4294967295))>>>0,LG=Number(K>>BigInt(32)&BigInt(4294967295));else{var R=+(K[0]===\"-\");LG=v4=0;for(var f=K.length,V=0+R,D=(f-R)%6+R;D<=f;V=D,D+=6)V=Number(K.slice(V,D)),LG*=1E6,v4=v4*1E6+V,v4>=4294967296&&(LG+=Math.trunc(v4/4294967296),LG>>>=0,v4>>>=0);R&&(R=g.Z(z6(v4,LG)),K=R.next().value,R=R.next().value,v4=K,LG=R)}};\nz6=function(K,R){R=~R;K?K=~K+1:R+=1;return[K,R]};\ntt=function(K){return Array.prototype.slice.call(K)};\nAt=function(K){if(K!=null&&typeof K!==\"number\")throw Error(\"Value of float/double field must be a number, found \"+typeof K+\": \"+K);return K};\niCo=function(K){return K.displayName||K.name||\"unknown type name\"};\nJt=function(K){if(K!=null&&typeof K!==\"boolean\")throw Error(\"Expected boolean but got \"+ZB(K)+\": \"+K);return K};\nB4=function(K){switch(typeof K){case \"bigint\":return!0;case \"number\":return ZO(K);case \"string\":return v7h.test(K);default:return!1}};\nLpN=function(K){if(typeof K!==\"number\")throw eX(\"int32\");if(!ZO(K))throw eX(\"int32\");return K|0};\nX6=function(K){return K==null?K:LpN(K)};\nko=function(K){if(K==null)return K;if(typeof K===\"string\"&&K)K=+K;else if(typeof K!==\"number\")return;return ZO(K)?K|0:void 0};\nT6=function(K){if(K==null)return K;if(typeof K===\"string\"&&K)K=+K;else if(typeof K!==\"number\")return;return ZO(K)?K>>>0:void 0};\nx25=function(K){var R=0;R=R===void 0?0:R;if(!B4(K))throw eX(\"int64\");var f=typeof K;switch(R){case 512:switch(f){case \"string\":return P4(K);case \"bigint\":return String(nG(64,K));default:return Oq(K)}case 1024:switch(f){case \"string\":return wbe(K);case \"bigint\":return oo(nG(64,K));default:return zgv(K)}case 0:switch(f){case \"string\":return P4(K);case \"bigint\":return oo(nG(64,K));default:return jq(K)}default:return tl(R,\"Unknown format requested type for int64\")}};\nqD=function(K){return K==null?K:x25(K)};\nE7w=function(K){var R=K.length;if(K[0]===\"-\"?R<20||R===20&&K<=\"-9223372036854775808\":R<19||R===19&&K<=\"9223372036854775807\")return K;W4(K);return ND(v4,LG)};\njq=function(K){B4(K);K=MD(K);bF(K)||(xo(K),K=QR(v4,LG));return K};\nOq=function(K){B4(K);K=MD(K);bF(K)?K=String(K):(xo(K),K=ND(v4,LG));return K};\nP4=function(K){B4(K);var R=MD(Number(K));if(bF(R))return String(R);R=K.indexOf(\".\");R!==-1&&(K=K.substring(0,R));return E7w(K)};\nwbe=function(K){var R=MD(Number(K));if(bF(R))return oo(R);R=K.indexOf(\".\");R!==-1&&(K=K.substring(0,R));return $o()?oo(nG(64,BigInt(K))):oo(E7w(K))};\nzgv=function(K){return bF(K)?oo(jq(K)):oo(Oq(K))};\naPz=function(K){if(K==null)return K;var R=typeof K;if(R===\"bigint\")return String(nG(64,K));if(B4(K)){if(R===\"string\")return P4(K);if(R===\"number\")return jq(K)}};\nNN5=function(K){if(K==null)return K;var R=typeof K;if(R===\"bigint\")return String(QE5(64,K));if(B4(K)){if(R===\"string\")return B4(K),R=MD(Number(K)),bF(R)&&R>=0?K=String(R):(R=K.indexOf(\".\"),R!==-1&&(K=K.substring(0,R)),K[0]===\"-\"?R=!1:(R=K.length,R=R<20?!0:R===20&&K<=\"18446744073709551615\"),R||(W4(K),K=Eq(v4,LG))),K;if(R===\"number\")return B4(K),K=MD(K),K>=0&&bF(K)||(xo(K),K=ao(v4,LG)),K}};\nU2B=function(K){if(K==null||typeof K==\"string\"||K instanceof b6)return K};\nWp_=function(K){if(typeof K!==\"string\")throw Error();return K};\npG=function(K){if(K!=null&&typeof K!==\"string\")throw Error();return K};\nYo=function(K){return K==null||typeof K===\"string\"?K:void 0};\nmG=function(K,R){if(!(K instanceof R))throw Error(\"Expected instanceof \"+iCo(R)+\" but got \"+(K&&iCo(K.constructor)));return K};\ntvz=function(K,R,f){if(K!=null&&K[G6]===uF)return K;if(Array.isArray(K)){var V=K[VR]|0;f=V|f&32|f&2;f!==V&&H4(K,f);return new R(K)}};\nsq=function(K){return K};\neq=function(K){var R=j8(CG);return R?K[R]:void 0};\nKV=function(){};\nRk=function(K,R){for(var f in K)!isNaN(f)&&R(K,+f,K[f])};\nAlc=function(K){var R=new KV;Rk(K,function(f,V,D){R[V]=tt(D)});\nR.dZ=K.dZ;return R};\nZC5=function(K,R){R<100||KG(Jlw,1)};\nVf=function(K,R,f,V){var D=V!==void 0;V=!!V;var H=j8(CG),l;!D&&fG&&H&&(l=K[H])&&Rk(l,ZC5);H=[];var F=K.length;l=4294967295;var c=!1,r=!!(R&64),y=r?R&128?0:-1:void 0;if(!(R&1)){var h=F&&K[F-1];h!=null&&typeof h===\"object\"&&h.constructor===Object?(F--,l=F):h=void 0;if(r&&!(R&128)&&!D){c=!0;var S;l=((S=fV)!=null?S:sq)(l-y,y,K,h,void 0)+y}}R=void 0;for(S=0;S=l){var L=S-y,E=void 0;((E=R)!=null?E:R={})[L]=v}else H[S]=v}if(h)for(var Q in h)F=h[Q],F!=\nnull&&(F=f(F,V))!=null&&(S=+Q,v=void 0,r&&!Number.isNaN(S)&&(v=S+y)0?void 0:K===0?Pmh||(Pmh=[0,void 0]):[-K,void 0];case \"string\":return[0,K];case \"object\":return K}};\nl9=function(K,R){return IPv(K,R[0],R[1])};\nd4=function(K,R,f){return IPv(K,R,f,2048)};\nIPv=function(K,R,f,V){V=V===void 0?0:V;if(K==null){var D=32;f?(K=[f],D|=128):K=[];R&&(D=D&-16760833|(R&1023)<<14)}else{if(!Array.isArray(K))throw Error(\"narr\");D=K[VR]|0;if(g7_&&1&D)throw Error(\"rfarr\");2048&D&&!(2&D)&&OCM();if(D&256)throw Error(\"farr\");if(D&64)return(D|V)!==D&&H4(K,D|V),K;if(f&&(D|=128,f!==K[0]))throw Error(\"mid\");a:{f=K;D|=64;var H=f.length;if(H){var l=H-1,F=f[l];if(F!=null&&typeof F===\"object\"&&F.constructor===Object){R=D&128?0:-1;l-=R;if(l>=1024)throw Error(\"pvtlmt\");for(var c in F)H=\n+c,H1024)throw Error(\"spvt\");D=D&-16760833|(c&1023)<<14}}}H4(K,D|64|V);return K};\nOCM=function(){if(g7_)throw Error(\"carr\");KG(jEB,5)};\nqAB=function(K,R){if(typeof K!==\"object\")return K;if(Array.isArray(K)){var f=K[VR]|0;K.length===0&&f&1?K=void 0:f&2||(!R||4096&f||16&f?K=Ft(K,f,!1,R&&!(f&16)):(DO(K,34),f&4&&Object.freeze(K)));return K}if(K!=null&&K[G6]===uF)return R=K.Sr,f=R[VR]|0,dO(K,f)?K:c$(K,R,f)?r4(K,R):Ft(R,f);if(K instanceof b6)return K};\nr4=function(K,R,f){K=new K.constructor(R);f&&(K.U=lF);K.K=lF;return K};\nFt=function(K,R,f,V){V!=null||(V=!!(34&R));K=Vf(K,R,qAB,V);V=32;f&&(V|=2);R=R&16769217|V;H4(K,R);return K};\nMve=function(K){var R=K.Sr,f=R[VR]|0;return dO(K,f)?c$(K,R,f)?r4(K,R,!0):new K.constructor(Ft(R,f,!1)):K};\nyf=function(K){if(K.U!==lF)return!1;var R=K.Sr;R=Ft(R,R[VR]|0);DO(R,2048);K.Sr=R;K.U=void 0;K.K=void 0;return!0};\nhI=function(K){if(!yf(K)&&dO(K,K.Sr[VR]|0))throw Error();};\nok=function(K,R){R===void 0&&(R=K[VR]|0);R&32&&!(R&4096)&&H4(K,R|4096)};\nc$=function(K,R,f){return f&2?!0:f&32&&!(f&4096)?(H4(R,f|2),K.U=lF,!0):!1};\ni9=function(K,R,f,V,D){Object.isExtensible(K);R=SF(K.Sr,R,f,D);if(R!==null||V&&K.K!==lF)return R};\nSF=function(K,R,f,V){if(R===-1)return null;var D=R+(f?0:-1),H=K.length-1;if(!(H<1+(f?0:-1))){if(D>=H){var l=K[H];if(l!=null&&typeof l===\"object\"&&l.constructor===Object){f=l[R];var F=!0}else if(D===H)f=l;else return}else f=K[D];if(V&&f!=null){V=V(f);if(V==null)return V;if(!Object.is(V,f))return F?l[R]=V:K[D]=V,V}return f}};\nLV=function(K,R,f,V){hI(K);var D=K.Sr;v$(D,D[VR]|0,R,f,V);return K};\nv$=function(K,R,f,V,D){var H=f+(D?0:-1),l=K.length-1;if(l>=1+(D?0:-1)&&H>=l){var F=K[l];if(F!=null&&typeof F===\"object\"&&F.constructor===Object)return F[f]=V,R}if(H<=l)return K[H]=V,R;if(V!==void 0){var c;l=((c=R)!=null?c:R=K[VR]|0)>>14&1023||536870912;f>=l?V!=null&&(H={},K[l+(D?0:-1)]=(H[f]=V,H)):K[H]=V}return R};\nak=function(K,R,f,V,D){var H=K.Sr,l=H[VR]|0;V=dO(K,l)?1:V;D=!!D||V===3;V===2&&yf(K)&&(H=K.Sr,l=H[VR]|0);K=w4(H,R);var F=K===zu?7:K[VR]|0,c=xT(F,l);var r=4&c?!1:!0;if(r){4&c&&(K=tt(K),F=0,c=Es(c,l),l=v$(H,l,R,K));for(var y=0,h=0;y32)for(V|=(F&127)>>4,D=3;D<32&&F&128;D+=7)F=H[l++],V|=(F&127)<>>0,V>>>0);throw Error();};\nLJ=function(K,R){K.U=R;if(R>K.X)throw Error();};\nzb=function(K){var R=K.K,f=K.U,V=R[f++],D=V&127;if(V&128&&(V=R[f++],D|=(V&127)<<7,V&128&&(V=R[f++],D|=(V&127)<<14,V&128&&(V=R[f++],D|=(V&127)<<21,V&128&&(V=R[f++],D|=V<<28,V&128&&R[f++]&128&&R[f++]&128&&R[f++]&128&&R[f++]&128&&R[f++]&128)))))throw Error();LJ(K,f);return D};\nxr=function(K){var R=K.K,f=K.U,V=R[f+0],D=R[f+1],H=R[f+2];R=R[f+3];LJ(K,K.U+4);return(V<<0|D<<8|H<<16|R<<24)>>>0};\nEo=function(K){var R=xr(K);K=xr(K);return ao(R,K)};\nal=function(K){var R=xr(K);K=xr(K);return oo($o()?BigInt.asUintN(64,(BigInt(K>>>0)<>>0)):Eq(R,K))};\nQU=function(K){var R=xr(K),f=xr(K);K=(f>>31)*2+1;var V=f>>>20&2047;R=4294967296*(f&1048575)+R;return V==2047?R?NaN:K*Infinity:V==0?K*4.9E-324*R:K*Math.pow(2,V-1075)*(R+4503599627370496)};\nNU=function(K){for(var R=0,f=K.U,V=f+10,D=K.K;fK.X)throw Error();K.U=R;return f};\nfzw=function(K,R){if(R==0)return YO();var f=Kav(K,R);K.Ln&&K.B?f=K.K.subarray(f,f+R):(K=K.K,R=f+R,f=f===R?new Uint8Array(0):ROD?K.slice(f,R):new Uint8Array(K.subarray(f,R)));return f.length==0?YO():new b6(f,pU)};\nWZ=function(K,R,f,V){if(Uo.length){var D=Uo.pop();D.init(K,R,f,V);K=D}else K=new vZ(K,R,f,V);this.U=K;this.J=this.U.U;this.K=this.X=-1;VLM(this,V)};\nVLM=function(K,R){R=R===void 0?{}:R;K.HG=R.HG===void 0?!1:R.HG};\nDVB=function(K,R,f,V){if(t8.length){var D=t8.pop();VLM(D,V);D.U.init(K,R,f,V);return D}return new WZ(K,R,f,V)};\nHTc=function(K){var R=K.U;if(R.U==R.X)return!1;K.J=K.U.U;var f=zb(K.U)>>>0;R=f>>>3;f&=7;if(!(f>=0&&f<=5))throw Error();if(R<1)throw Error();K.X=R;K.K=f;return!0};\nA8=function(K){switch(K.K){case 0:K.K!=0?A8(K):NU(K.U);break;case 1:K=K.U;LJ(K,K.U+8);break;case 2:if(K.K!=2)A8(K);else{var R=zb(K.U)>>>0;K=K.U;LJ(K,K.U+R)}break;case 5:K=K.U;LJ(K,K.U+4);break;case 3:R=K.X;do{if(!HTc(K))throw Error();if(K.K==4){if(K.X!=R)throw Error();break}A8(K)}while(1);break;default:throw Error();}};\nJ8=function(K,R,f){var V=K.U.X,D=zb(K.U)>>>0;D=K.U.U+D;var H=D-V;H<=0&&(K.U.X=D,f(R,K,void 0,void 0,void 0),H=D-K.U.U);if(H)throw Error();K.U.U=D;K.U.X=V};\nXu=function(K){var R=zb(K.U)>>>0;K=K.U;var f=Kav(K,R);K=K.K;if($VM){var V=K,D;(D=Z8)||(D=Z8=new TextDecoder(\"utf-8\",{fatal:!0}));R=f+R;V=f===0&&R===V.length?V:V.subarray(f,R);try{var H=D.decode(V)}catch(r){if(BZ===void 0){try{D.decode(new Uint8Array([128]))}catch(y){}try{D.decode(new Uint8Array([97])),BZ=!0}catch(y){BZ=!1}}!BZ&&(Z8=void 0);throw r;}}else{H=f;R=H+R;f=[];for(var l=null,F,c;H=R?nU():(c=K[H++],F<194||(c&192)!==128?(H--,nU()):f.push((F&31)<<6|c&63)):\nF<240?H>=R-1?nU():(c=K[H++],(c&192)!==128||F===224&&c<160||F===237&&c>=160||((D=K[H++])&192)!==128?(H--,nU()):f.push((F&15)<<12|(c&63)<<6|D&63)):F<=244?H>=R-2?nU():(c=K[H++],(c&192)!==128||(F<<28)+(c-144)>>30!==0||((D=K[H++])&192)!==128||((V=K[H++])&192)!==128?(H--,nU()):(F=(F&7)<<18|(c&63)<<12|(D&63)<<6|V&63,F-=65536,f.push((F>>10&1023)+55296,(F&1023)+56320))):nU(),f.length>=8192&&(l=OaB(l,f),f.length=0);H=OaB(l,f)}return H};\nlz2=function(K){var R=zb(K.U)>>>0;return fzw(K.U,R)};\ndVe=function(K,R,f){var V=zb(K.U)>>>0;for(V=K.U.U+V;K.U.U>>0;this.U=R>>>0};\nrBo=function(K){if(!K)return cBB||(cBB=new Tb(0,0));if(!/^\\d+$/.test(K))return null;W4(K);return new Tb(v4,LG)};\nPZ=function(K,R){this.K=K>>>0;this.U=R>>>0};\nhOB=function(K){if(!K)return yBN||(yBN=new PZ(0,0));if(!/^-?\\d+$/.test(K))return null;W4(K);return new PZ(v4,LG)};\nnJ=function(){this.U=[]};\nIl=function(K,R,f){for(;f>0||R>127;)K.U.push(R&127|128),R=(R>>>7|f<<25)>>>0,f>>>=7;K.U.push(R)};\ngk=function(K,R){for(;R>127;)K.U.push(R&127|128),R>>>=7;K.U.push(R)};\noUN=function(K,R){if(R>=0)gk(K,R);else{for(var f=0;f<9;f++)K.U.push(R&127|128),R>>=7;K.U.push(1)}};\nOo=function(K,R){K.U.push(R>>>0&255);K.U.push(R>>>8&255);K.U.push(R>>>16&255);K.U.push(R>>>24&255)};\nSaM=function(){this.X=[];this.K=0;this.U=new nJ};\nji=function(K,R){R.length!==0&&(K.X.push(R),K.K+=R.length)};\niT_=function(K,R){qU(K,R,2);R=K.U.end();ji(K,R);R.push(K.K);return R};\nvUD=function(K,R){var f=R.pop();for(f=K.K+K.U.length()-f;f>127;)R.push(f&127|128),f>>>=7,K.K++;R.push(f);K.K++};\nqU=function(K,R,f){gk(K.U,R*8+f)};\nLa_=function(K,R,f){if(f!=null){switch(typeof f){case \"string\":rBo(f)}qU(K,R,1);switch(typeof f){case \"number\":K=K.U;wO(f);Oo(K,v4);Oo(K,LG);break;case \"bigint\":f=BigInt.asUintN(64,f);f=new Tb(Number(f&BigInt(4294967295)),Number(f>>BigInt(32)));K=K.U;R=f.U;Oo(K,f.K);Oo(K,R);break;default:f=rBo(f),K=K.U,R=f.U,Oo(K,f.K),Oo(K,R)}}};\nMU=function(K,R,f){qU(K,R,2);gk(K.U,f.length);ji(K,K.U.end());ji(K,f)};\nbS=function(){function K(){throw Error();}\nObject.setPrototypeOf(K,K.prototype);return K};\npJ=function(K,R,f){this.Sr=d4(K,R,f)};\nwae=function(K,R){if(R==null||R==\"\")return new K;R=JSON.parse(R);if(!Array.isArray(R))throw Error(\"dnarr\");DO(R,32);return new K(R)};\nmk=function(K,R,f){this.Vk=K;this.Ba=R;K=j8(Yr);this.U=!!K&&f===K||!1};\nGb=function(K,R){var f=f===void 0?Yr:f;return new mk(K,R,f)};\nxVz=function(K,R,f,V,D){R=zO5(R,V);R!=null&&(f=iT_(K,f),D(R,K),vUD(K,f))};\nCJ=function(K,R,f,V){var D=V[K];if(D)return D;D={};D.yF=V;D.pJ=n7e(V[0]);var H=V[1],l=1;H&&H.constructor===Object&&(D.extensions=H,H=V[++l],typeof H===\"function\"&&(D.Vy=!0,uS!=null||(uS=H),so!=null||(so=V[l+1]),H=V[l+=2]));for(var F={};H&&Array.isArray(H)&&H.length&&typeof H[0]===\"number\"&&H[0]>0;){for(var c=0;c>BigInt(32)));Il(K.U,f.K,f.U);break;default:f=hOB(R),Il(K.U,f.K,f.U)}}};\nh3=function(K,R,f){R=ko(R);R!=null&&R!=null&&(qU(K,f,0),oUN(K.U,R))};\nkaz=function(K,R,f){R=R==null||typeof R===\"boolean\"?R:typeof R===\"number\"?!!R:void 0;R!=null&&(qU(K,f,0),K.U.U.push(R?1:0))};\nTEv=function(K,R,f){R=Yo(R);R!=null&&MU(K,f,bae(R))};\nPuw=function(K,R,f,V,D){R=zO5(R,V);R!=null&&(f=iT_(K,f),D(R,K),vUD(K,f))};\nIz2=function(K,R,f){if(f!==kr)throw Error();this.typeName=K;this.U=R;if(f!==kr)throw Error();nU5.set(K,this)};\nOT2=function(){var K=o_;this.U=gUo;this.isRepeated=0;this.K=Os;this.defaultValue=void 0;this.X=K.messageId!=null?c4:void 0};\njzc=function(K,R){return function(f,V){var D={rJ:!0};V&&Object.assign(D,V);f=DVB(f,void 0,void 0,D);try{var H=new K,l=H.Sr;fD(R)(l,f);var F=H}finally{f.free()}return F}};\nqah=function(K){return function(){var R=new SaM;JBB(this.Sr,R,CJ(H9,Dj,$P,K));ji(R,R.U.end());for(var f=new Uint8Array(R.K),V=R.X,D=V.length,H=0,l=0;l-1)return R.apply(null,g.X(f));try{return K.U=K.X.U.now(),R.apply(null,g.X(f))}finally{K.J+=K.X.U.now()-K.U,K.U=-1,K.K+=1}}};\nbT5=function(K,R){this.K=K;this.X=R;this.U=new ML2(K)};\npaM=function(){this.U={}};\nuUB=function(){this.X=void 0;this.K=this.T=0;this.B=-1;this.w4=new Md;bT(this.w4,\"mv\",Yah).U=!0;bT(this.w4,\"omid\",uT);bT(this.w4,\"epoh\",uT).U=!0;bT(this.w4,\"epph\",uT).U=!0;bT(this.w4,\"umt\",uT).U=!0;bT(this.w4,\"phel\",uT).U=!0;bT(this.w4,\"phell\",uT).U=!0;bT(this.w4,\"oseid\",mVe).U=!0;var K=this.w4;K.U.sloi||(K.U.sloi=new Oh);K.U.sloi.U=!0;bT(this.w4,\"mm\",LD);bT(this.w4,\"ovms\",Gah).U=!0;bT(this.w4,\"xdi\",uT).U=!0;bT(this.w4,\"amp\",uT).U=!0;bT(this.w4,\"prf\",uT).U=!0;bT(this.w4,\"gtx\",uT).U=!0;bT(this.w4,\n\"mvp_lv\",uT).U=!0;bT(this.w4,\"ssmol\",uT).U=!0;bT(this.w4,\"fmd\",uT).U=!0;bT(this.w4,\"gen204simple\",uT);this.U=new bT5(Pi(),this.w4);this.J=!1;this.flags=new paM};\nw1=function(){return kO(uUB)};\nsze=function(K,R,f,V){if(Math.random()<(V||K.U))try{if(f instanceof UY)var D=f;else D=new UY,N8(f,function(l,F){var c=D,r=c.J++;l=Wi(F,l);c.U.push(r);c.K[r]=l});\nvar H=D.y9(K.K,\"pagead2.googlesyndication.com\",\"/pagead/gen_204?id=\"+R+\"&\");H&&(Pi(),PT_(H))}catch(l){}};\nCu5=function(K,R,f){f=f===void 0?{}:f;this.error=K;this.meta=f;this.context=R.context;this.msg=R.message||\"\";this.id=R.id||\"jserror\"};\neOo=function(){var K=K===void 0?g.Nz:K;return(K=K.performance)&&K.now&&K.timing?Math.floor(K.now()+K.timing.navigationStart):g.OS()};\nKb5=function(){var K=K===void 0?g.Nz:K;return(K=K.performance)&&K.now?K.now():null};\nRK5=function(K,R,f){this.label=K;this.type=R;this.value=f;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};\nxP=function(){var K=window;this.events=[];this.K=K||g.Nz;var R=null;K&&(K.google_js_reporting_queue=K.google_js_reporting_queue||[],this.events=K.google_js_reporting_queue,R=K.google_measure_js_timing);this.U=zw()||(R!=null?R:Math.random()<1)};\nfs5=function(K){K&&E0&&zw()&&(E0.clearMarks(\"goog_\"+K.label+\"_\"+K.uniqueId+\"_start\"),E0.clearMarks(\"goog_\"+K.label+\"_\"+K.uniqueId+\"_end\"))};\na_=function(K,R,f,V,D,H,l){var F=\"\";K&&(F+=K+\":\");f&&(F+=\"//\",R&&(F+=R+\"@\"),F+=f,V&&(F+=\":\"+V));D&&(F+=D);H&&(F+=\"?\"+H);l&&(F+=\"#\"+l);return F};\ng.Qu=function(K){return K.match(VXv)};\nD8v=function(K){return K?decodeURI(K):K};\ng.Nw=function(K){return D8v(g.Qu(K)[3]||null)};\nU0=function(K){return D8v(g.Qu(K)[5]||null)};\ng.HUz=function(K){K=g.Qu(K);return a_(K[1],K[2],K[3],K[4])};\nW9=function(K){K=g.Qu(K);return a_(null,null,null,null,K[5],K[6],K[7])};\n$8_=function(K){var R=K.indexOf(\"#\");return R<0?K:K.slice(0,R)};\nt3=function(K,R){if(K){K=K.split(\"&\");for(var f=0;f=0){var H=K[f].substring(0,V);D=K[f].substring(V+1)}else H=K[f];R(H,D?bm(D):\"\")}}};\nA3=function(K,R){if(!R)return K;var f=K.indexOf(\"#\");f<0&&(f=K.length);var V=K.indexOf(\"?\");if(V<0||V>f){V=f;var D=\"\"}else D=K.substring(V+1,f);K=[K.slice(0,V),D,K.slice(f)];f=K[1];K[1]=R?f?f+\"&\"+R:R:f;return K[0]+(K[1]?\"?\"+K[1]:\"\")+K[2]};\nJ3=function(K,R,f){if(Array.isArray(R))for(var V=0;V=0&&Rf)D=f;V+=R.length+1;return bm(K.slice(V,D!==-1?D:0))};\nnD=function(K,R){for(var f=K.search(Tw),V=0,D,H=[];(D=kP(K,V,R,f))>=0;)H.push(K.substring(V,D)),V=Math.min(K.indexOf(\"&\",D)+1||f,f);H.push(K.slice(V));return H.join(\"\").replace(Fb2,\"$1\")};\ncQG=function(K,R,f){return Xv(nD(K,R),R,f)};\nrQh=function(){var K=I_;this.U=g1;this.AP=\"jserror\";this.Vm=!0;this.fG=null;this.K=this.e6;this.LL=K===void 0?null:K};\nyQD=function(K,R,f){var V=O0;return v9(w1().U.U,function(){try{if(V.LL&&V.LL.U){var D=V.LL.start(K.toString(),3);var H=R();V.LL.end(D)}else H=R()}catch(F){var l=V.Vm;try{fs5(D),l=V.K(K,new jx(qw(F)),void 0,f)}catch(c){V.e6(217,c)}if(!l)throw F;}return H})()};\nMw=function(K,R,f,V){return v9(w1().U.U,function(){var D=g.wW.apply(0,arguments);return yQD(K,function(){return R.apply(f,D)},V)})};\nqw=function(K){var R=K.toString();K.name&&R.indexOf(K.name)==-1&&(R+=\": \"+K.name);K.message&&R.indexOf(K.message)==-1&&(R+=\": \"+K.message);if(K.stack)a:{K=K.stack;var f=R;try{K.indexOf(f)==-1&&(K=f+\"\\n\"+K);for(var V;K!=V;)V=K,K=K.replace(/((https?:\\/..*\\/)[^\\/:]*:\\d+(?:.|\\n)*)\\2/,\"$1\");R=K.replace(/\\n */g,\"\\n\");break a}catch(D){R=f;break a}R=void 0}return R};\njx=function(K){Cu5.call(this,Error(K),{message:K})};\nhKo=function(){bu&&typeof bu.google_measure_js_timing!=\"undefined\"&&(bu.google_measure_js_timing||I_.disable())};\noO_=function(K){O0.fG=function(R){g.La(K,function(f){f(R)})}};\nSY5=function(K,R){return yQD(K,R)};\nb5=function(K,R){return Mw(K,R)};\npD=function(K,R,f,V){O0.e6(K,R,f,V)};\nYP=function(){return Date.now()-iUB};\nvOv=function(){var K=w1().X,R=mR>=0?YP()-mR:-1,f=Gw?YP()-u5:-1,V=s0>=0?YP()-s0:-1;if(K==947190542)return 100;if(K==79463069)return 200;K=[2E3,4E3];var D=[250,500,1E3];pD(637,Error(),.001);var H=R;f!=-1&&f1500&&V<4E3?500:l};\nCD=function(K,R,f){var V=new sa(0,0,0,0);this.time=K;this.volume=null;this.X=R;this.U=V;this.K=f};\nex=function(K,R,f,V,D,H,l,F){this.J=K;this.N=R;this.X=f;this.T=V;this.U=D;this.B=H;this.K=l;this.Z=F};\nwiv=function(K){var R=K!==K.top,f=K.top===wyG(K),V=-1,D=0;if(R&&f&&K.top.mraid){V=3;var H=K.top.mraid}else V=(H=K.mraid)?R?f?2:1:0:-1;H&&(H.IS_GMA_SDK||(D=2),Rih(Lb5,function(l){return typeof H[l]===\"function\"})||(D=1));\nreturn{Bg:H,compatibility:D,Gra:V}};\nzK2=function(){var K=window.document;return K&&typeof K.elementFromPoint===\"function\"};\nx8N=function(K,R,f){if(K&&R!==null&&R!=R.top){if(!R.top)return new g.lu(-12245933,-12245933);R=R.top}try{return(f===void 0?0:f)?(new g.lu(R.innerWidth,R.innerHeight)).round():fLM(R||window).round()}catch(V){return new g.lu(-12245933,-12245933)}};\nKs=function(K,R,f){try{if(K){if(!R.top)return new sa(-12245933,-12245933,-12245933,-12245933);R=R.top}var V=x8N(K,R,f),D=V.height,H=V.width;if(H===-12245933)return new sa(H,H,H,H);var l=iu(R.document);var F=Dde(l.U);var c=F.x,r=F.y;return new sa(r,c+H,r+D,c)}catch(y){return new sa(-12245933,-12245933,-12245933,-12245933)}};\nRm=function(K,R){R=Math.pow(10,R);return Math.floor(K*R)/R};\nEOG=function(K){return new sa(K.top,K.right,K.bottom,K.left)};\nasc=function(K){var R=K.top||0,f=K.left||0;return new sa(R,f+(K.width||0),R+(K.height||0),f)};\nfs=function(K){return K!=null&&K>=0&&K<=1};\nQse=function(){var K=g.DP();return K?V3(\"AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;Version/8.0 Safari/601.1 WPE;WebOS\".split(\";\"),function(R){return KC(K,R)})||KC(K,\"OMI/\")&&!KC(K,\"XiaoMi/\")?!0:KC(K,\"Presto\")&&KC(K,\"Linux\")&&!KC(K,\"X11\")&&!KC(K,\"Android\")&&!KC(K,\"Mobi\"):!1};\nNBG=function(){this.X=!xO(bu.top);this.isMobileDevice=as()||z_B();var K=Q5();this.domain=K.length>0&&K[K.length-1]!=null&&K[K.length-1].url!=null?g.Nw(K[K.length-1].url)||\"\":\"\";this.U=new sa(0,0,0,0);this.J=new g.lu(0,0);this.B=new g.lu(0,0);this.N=new sa(0,0,0,0);this.frameOffset=new g.Ha(0,0);this.T=0;this.Z=!1;this.K=!(!bu||!wiv(bu).Bg);this.update(bu)};\nU8c=function(K,R){R&&R.screen&&(K.J=new g.lu(R.screen.width,R.screen.height))};\nWbM=function(K,R){a:{var f=K.U?new g.lu(CT(K.U),K.U.getHeight()):new g.lu(0,0);R=R===void 0?bu:R;R!==null&&R!=R.top&&(R=R.top);var V=0,D=0;try{var H=R.document,l=H.body,F=H.documentElement;if(H.compatMode==\"CSS1Compat\"&&F.scrollHeight)V=F.scrollHeight!=f.height?F.scrollHeight:F.offsetHeight,D=F.scrollWidth!=f.width?F.scrollWidth:F.offsetWidth;else{var c=F.scrollHeight,r=F.scrollWidth,y=F.offsetHeight,h=F.offsetWidth;F.clientHeight!=y&&(c=l.scrollHeight,r=l.scrollWidth,y=l.offsetHeight,h=l.offsetWidth);\nc>f.height?c>y?(V=c,D=r):(V=y,D=h):c0||K.Z)return!0;K=Pi().K.isVisible();var R=z4(H5)===0;return K||R};\nD$=function(){return kO(NBG)};\nlJ=function(K){this.X=K;this.K=0;this.U=null};\ndX=function(K,R,f){this.X=K;this.G2=f===void 0?\"na\":f;this.B=[];this.isInitialized=!1;this.J=new CD(-1,!0,this);this.U=this;this.Z=R;this.UF=this.EF=!1;this.y0=\"uk\";this.B5=!1;this.T=!0};\nFm=function(K,R){g.Ka(K.B,R)||(K.B.push(R),R.h1(K.U),R.wM(K.J),R.UY()&&(K.EF=!0))};\ntXh=function(K){K=K.U;K.JG();K.yj();var R=D$();R.N=Ks(!1,K.X,R.isMobileDevice);WbM(D$(),K.X);K.J.U=K.hA()};\nAQz=function(K){K.EF=K.B.length?V3(K.B,function(R){return R.UY()}):!1};\nJQD=function(K){var R=g.$n(K.B);g.La(R,function(f){f.wM(K.J)})};\nc5=function(K){var R=g.$n(K.B);g.La(R,function(f){f.h1(K.U)});\nK.U!=K||JQD(K)};\nrX=function(K,R,f,V){this.element=K;this.U=new sa(0,0,0,0);this.X=null;this.T=new sa(0,0,0,0);this.K=R;this.w4=f;this.B5=V;this.Xt=!1;this.timestamp=-1;this.EF=new ex(R.J,this.element,this.U,new sa(0,0,0,0),0,0,YP(),0);this.B=void 0};\nZUo=function(K,R){return K.B?new sa(Math.max(R.top+K.B.top,R.top),Math.min(R.left+K.B.right,R.right),Math.min(R.top+K.B.bottom,R.bottom),Math.max(R.left+K.B.left,R.left)):R.clone()};\ny3=function(K){this.B=!1;this.U=K;this.J=function(){}};\nBBB=function(K,R,f){this.X=f===void 0?0:f;this.K=K;this.U=R==null?\"\":R};\nXiz=function(K){switch(Math.trunc(K.X)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};\nk4v=function(K,R){return K.XR.X?!1:K.KR.K?!1:typeof K.Utypeof R.U?!1:K.U0?V[f]-V[f-1]:V[f]})};\nU1=function(){this.K=new ze;this.G2=this.qe=0;this.Ne=new wX;this.aY=this.N=-1;this.OF=1E3;this.v5=new ze([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.y0=this.Xt=-1};\nW5=function(K,R){return bUh(K.K,R===void 0?!0:R)};\ntc=function(K,R,f,V){var D=D===void 0?!1:D;f=Mw(V,f);wB(K,R,f,{capture:D})};\nJc=function(K,R){R=Ac(R);return R===0?0:Ac(K)/R};\nAc=function(K){return Math.max(K.bottom-K.top,0)*Math.max(K.right-K.left,0)};\nm8B=function(K,R){if(!K||!R)return!1;for(var f=0;K!==null&&f++<100;){if(K===R)return!0;try{if(K=K.parentElement||K){var V=SL(K),D=V&&NV(V),H=D&&D.frameElement;H&&(K=H)}}catch(l){break}}return!1};\nG4e=function(K,R,f){if(!K||!R)return!1;R=KU(K.clone(),-R.left,-R.top);K=(R.left+R.right)/2;R=(R.top+R.bottom)/2;xO(window.top)&&window.top&&window.top.document&&(window=window.top);if(!zK2())return!1;K=window.document.elementFromPoint(K,R);if(!K)return!1;R=(R=(R=SL(f))&&R.defaultView&&R.defaultView.frameElement)&&m8B(R,K);var V=K===f;K=!V&&K&&Iz(K,function(D){return D===f});\nreturn!(R||V||K)};\nudc=function(K,R,f,V){return D$().X?!1:CT(K)<=0||K.getHeight()<=0?!0:f&&V?SY5(208,function(){return G4e(K,R,f)}):!1};\nZ$=function(K,R,f){g.O.call(this);this.position=ssw.clone();this.tL=this.GQ();this.Ma=-2;this.timeCreated=Date.now();this.M6=-1;this.N_=R;this.gX=null;this.uK=!1;this.OV=null;this.opacity=-1;this.requestSource=f;this.UFt=!1;this.Ge=function(){};\nthis.Ze=function(){};\nthis.pF=new lLG;this.pF.lA=K;this.pF.U=K;this.m5=!1;this.oR={dj:null,j6:null};this.CE=!0;this.E_=null;this.s8=this.LZ2=!1;w1().T++;this.WU=this.Tq();this.R7=-1;this.GF=null;this.hasCompleted=this.k2F=!1;this.w4=new Md;FuM(this.w4);C6h(this);this.requestSource==1?pa(this.w4,\"od\",1):pa(this.w4,\"od\",0)};\nC6h=function(K){K=K.pF.lA;var R;if(R=K&&K.getAttribute)R=/-[a-z]/.test(\"googleAvInapp\")?!1:eKM&&K.dataset?\"googleAvInapp\"in K.dataset:K.hasAttribute?K.hasAttribute(\"data-\"+PEB()):!!K.getAttribute(\"data-\"+PEB());R&&(D$().K=!0)};\nB5=function(K,R){R!=K.s8&&(K.s8=R,K=D$(),R?K.T++:K.T>0&&K.T--)};\nKGB=function(K,R){if(K.GF){if(R.getName()===K.GF.getName())return;K.GF.dispose();K.GF=null}R=R.create(K.pF.U,K.w4,K.UY());if(R=R!=null&&R.observe()?R:null)K.GF=R};\nRfw=function(K,R,f){if(!K.gX||K.N_==-1||R.K===-1||K.gX.K===-1)return 0;K=R.K-K.gX.K;return K>f?0:K};\nfOv=function(K,R,f){if(K.GF){K.GF.Nh();var V=K.GF.EF,D=V.J,H=D.U;if(V.T!=null){var l=V.X;K.OV=new g.Ha(l.left-H.left,l.top-H.top)}H=K.fA()?Math.max(V.U,V.B):V.U;l={};D.volume!==null&&(l.volume=D.volume);D=K.QH(V);K.gX=V;K.T2(H,R,f,!1,l,D,V.Z)}};\nVqM=function(K){if(K.uK&&K.E_){var R=Yn(K.w4,\"od\")==1,f=D$().U,V=K.E_,D=K.GF?K.GF.getName():\"ns\",H=K.OV,l=new g.lu(CT(f),f.getHeight());f=K.fA();K={Lxe:D,OV:H,NmQ:l,fA:f,Ah:K.WU.Ah,oID:R};if(R=V.K){R.Nh();D=R.EF;H=D.J.U;var F=l=null;D.T!=null&&H&&(l=D.X,l=new g.Ha(l.left-H.left,l.top-H.top),F=new g.lu(H.right-H.left,H.bottom-H.top));D=f?Math.max(D.U,D.B):D.U;f={Lxe:R.getName(),OV:l,NmQ:F,fA:f,oID:!1,Ah:D}}else f=null;f&&jsc(V,K,f)}};\nDDc=function(K,R,f){R&&(K.Ge=R);f&&(K.Ze=f)};\ng.Xm=function(){};\ng.k$=function(K){return{value:K,done:!1}};\nHGB=function(){this.J=this.U=this.X=this.K=this.B=0};\n$DD=function(K){var R={};var f=g.OS()-K.B;R=(R.ptlt=f,R);(f=K.K)&&(R.pnk=f);(f=K.X)&&(R.pnc=f);(f=K.J)&&(R.pnmm=f);(K=K.U)&&(R.pns=K);return R};\nlOM=function(){zB.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1};\nTe=function(K){return fs(K.volume)&&K.volume>0};\nP5=function(K,R,f,V){f=f===void 0?!0:f;V=V===void 0?function(){return!0}:V;\nreturn function(D){var H=D[K];if(Array.isArray(H)&&V(D))return dD2(H,R,f)}};\nns=function(K,R){return function(f){return R(f)?f[K]:void 0}};\nFG_=function(K){return function(R){for(var f=0;f0?H[D-1]+1:0,V+1).reduce(function(l,F){return l+F},0)})};\nctc=function(){this.K=this.U=\"\"};\nrth=function(){};\ngX=function(K,R){var f={};if(K!==void 0)if(R!=null)for(var V in R){var D=R[V];V in Object.prototype||D!=null&&(f[V]=typeof D===\"function\"?D(K):K[D])}else g.na(f,K);return iJ(SJ(new om,f))};\nytG=function(){var K={};this.K=(K.vs=[1,0],K.vw=[0,1],K.am=[2,2],K.a=[4,4],K.f=[8,8],K.bm=[16,16],K.b=[32,32],K.avw=[0,64],K.avs=[64,0],K.pv=[256,256],K.gdr=[0,512],K.p=[0,1024],K.r=[0,2048],K.m=[0,4096],K.um=[0,8192],K.ef=[0,16384],K.s=[0,32768],K.pmx=[0,16777216],K.mut=[33554432,33554432],K.umutb=[67108864,67108864],K.tvoff=[134217728,134217728],K);this.U={};for(var R in this.K)this.K[R][1]>0&&(this.U[R]=0);this.X=0};\nO1=function(K,R){var f=K.K[R],V=f[1];K.X+=f[0];V>0&&K.U[R]==0&&(K.U[R]=1)};\nhfw=function(K){var R=g.Uh(K.K),f=0,V;for(V in K.U)g.Ka(R,V)&&K.U[V]==1&&(f+=K.K[V][1],K.U[V]=2);return f};\noo_=function(K){var R=0,f;for(f in K.U){var V=K.U[f];if(V==1||V==2)R+=K.K[f][1]}return R};\njJ=function(){this.U=this.K=0};\nqJ=function(){U1.call(this);this.X=new wX;this.oY=this.EF=this.B5=0;this.Z=-1;this.pQ=new wX;this.B=new wX;this.U=new ze;this.T=this.J=-1;this.UF=new wX;this.OF=2E3;this.er=new jJ;this.Za=new jJ;this.kW=new jJ};\nMJ=function(K,R,f){var V=K.oY;Gw||f||K.Z==-1||(V+=R-K.Z);return V};\nSqM=function(){this.X=!1};\nbJ=function(K,R){this.X=!1;this.J=K;this.EF=R;this.B=0};\nps=function(K,R){bJ.call(this,K,R);this.N=[]};\niGN=function(){};\nY$=function(){};\nmV=function(K,R,f,V){rX.call(this,K,R,f,V)};\nGe=function(K,R,f){rX.call(this,null,K,R,f);this.Z=K.isActive();this.N=0};\nuJ=function(K){return[K.top,K.left,K.bottom,K.right]};\ns1=function(K,R,f,V,D,H){H=H===void 0?new Y$:H;Z$.call(this,R,f,V);this.nD=D;this.jC=0;this.UU={};this.D8=new ytG;this.Kl={};this.WR=\"\";this.kW=null;this.Kh=!1;this.U=[];this.MS=H.K();this.T=H.X();this.J=null;this.X=-1;this.G2=this.EF=void 0;this.aY=this.UF=0;this.y0=-1;this.OF=this.Za=!1;this.B5=this.Z=this.K=this.B6=this.bd=0;new ze;this.er=this.oY=0;this.Ne=-1;this.yZ=0;this.N=g.YU;this.Xt=[this.GQ()];this.Gt=2;this.Ps={};this.Ps.pause=\"p\";this.Ps.resume=\"r\";this.Ps.skip=\"s\";this.Ps.mute=\"m\";this.Ps.unmute=\n\"um\";this.Ps.exitfullscreen=\"ef\";this.B=null;this.v5=this.pQ=!1;this.hV=Math.floor(Date.now()/1E3-1704067200);this.qe=0};\nCs=function(K){K.hasCompleted=!0;K.yZ!=0&&(K.yZ=3)};\neJ=function(K){return K===void 0?K:Number(K)?Rm(K,3):0};\nK7=function(K,R){return K.Xt[R!=null&&RMath.max(1E4,K.X/3)?0:R);var f=K.N(K)||{};f=f.currentTime!==void 0?f.currentTime:K.UF;var V=f-K.UF,D=0;V>=0?(K.aY+=R,K.er+=Math.max(R-V,0),D=Math.min(V,K.aY)):K.oY+=Math.abs(V);V!=0&&(K.aY=0);K.Ne==-1&&V>0&&(K.Ne=s0>=0?YP()-s0:-1);K.UF=f;return D};\nw4o=function(K,R){V3(K.T,function(f){return f.J==R.J})||K.T.push(R)};\nzfz=function(K){var R=am(K.MD().U,1);return Rx(K,R)};\nRx=function(K,R,f){return R>=15E3?!0:K.Za?(f===void 0?0:f)?!0:K.X>0?R>=K.X/2:K.y0>0?R>=K.y0:!1:!1};\nxDc=function(K){var R=Rm(K.WU.Ah,2),f=K.D8.X,V=K.WU,D=K7(K),H=eJ(D.J),l=eJ(D.T),F=eJ(V.volume),c=Rm(D.N,2),r=Rm(D.aY,2),y=Rm(V.Ah,2),h=Rm(D.Xt,2),S=Rm(D.y0,2);V=Rm(V.Dn,2);var v=K.p_().clone().round();K=K.GF&&K.GF.X?(K.GF?K.GF.X:null).clone().round():null;D=W5(D,!1);return{DFD:R,JT:f,YS:H,qx:l,oN:F,ox:c,mw:r,Ah:y,sV:h,AL:S,Dn:V,position:v,Ph:K,Nx:D}};\naOD=function(K,R){EoB(K.U,R,function(){return{DFD:0,JT:void 0,YS:-1,qx:-1,oN:-1,ox:-1,mw:-1,Ah:-1,sV:-1,AL:-1,Dn:-1,position:void 0,Ph:void 0,Nx:[]}});\nK.U[R]=xDc(K)};\nEoB=function(K,R,f){for(var V=K.length;V0?1:0;h.atos=\nx$(r.U);h.ssb=x$(r.v5,!1);h.amtos=bUh(r.U,!1);h.uac=K.bd;h.vpt=r.X.U;y==\"nio\"&&(h.nio=1,h.avms=\"nio\");h.gmm=\"4\";h.gdr=Rx(K,r.X.U,!0)?1:0;h.efpf=K.Gt;if(y==\"gsv\"||y==\"nis\")y=K.GF,y.N>0&&(h.nnut=y.N);h.tcm=voN(K);h.nmt=K.oY;h.bt=K.er;h.pst=K.Ne;h.vpaid=K.EF;h.dur=K.X;h.vmtime=K.UF;h.is=K.D8.X;K.U.length>=1&&(h.i0=K.U[0].JT,h.a0=[K.U[0].oN],h.c0=[K.U[0].Ah],h.ss0=[K.U[0].Dn],y=K.U[0].position,H=K.U[0].Ph,h.p0=y?uJ(y):void 0,y&&H&&!eL(H,y)&&(h.cp0=uJ(H)));K.U.length>=2&&(h.i1=K.U[1].JT,h.a1=Dl(K.U[1].YS,\nK.U[1].oN,K.U[1].qx),h.c1=Dl(K.U[1].ox,K.U[1].Ah,K.U[1].mw),h.ss1=Dl(K.U[1].sV,K.U[1].Dn,K.U[1].AL),y=K.U[1].position,H=K.U[1].Ph,h.p1=y?uJ(y):void 0,y&&H&&!eL(H,y)&&(h.cp1=uJ(H)),h.mtos1=K.U[1].Nx);K.U.length>=3&&(h.i2=K.U[2].JT,h.a2=Dl(K.U[2].YS,K.U[2].oN,K.U[2].qx),h.c2=Dl(K.U[2].ox,K.U[2].Ah,K.U[2].mw),h.ss2=Dl(K.U[2].sV,K.U[2].Dn,K.U[2].AL),y=K.U[2].position,H=K.U[2].Ph,h.p2=y?uJ(y):void 0,y&&H&&!eL(H,y)&&(h.cp2=uJ(H)),h.mtos2=K.U[2].Nx);K.U.length>=4&&(h.i3=K.U[3].JT,h.a3=Dl(K.U[3].YS,K.U[3].oN,\nK.U[3].qx),h.c3=Dl(K.U[3].ox,K.U[3].Ah,K.U[3].mw),h.ss3=Dl(K.U[3].sV,K.U[3].Dn,K.U[3].AL),y=K.U[3].position,H=K.U[3].Ph,h.p3=y?uJ(y):void 0,y&&H&&!eL(H,y)&&(h.cp3=uJ(H)),h.mtos3=K.U[3].Nx);h.cs=oo_(K.D8);R&&(h.ic=hfw(K.D8),h.dvpt=r.X.K,h.dvs=NJ(r.K,.5),h.dfvs=NJ(r.K,1),h.davs=NJ(r.U,.5),h.dafvs=NJ(r.U,1),f&&(r.X.K=0,pic(r.K),pic(r.U)),K.VT()&&(h.dtos=r.B5,h.dav=r.EF,h.dtoss=K.jC+1,f&&(r.B5=0,r.EF=0,K.jC++)),h.dat=r.B.K,h.dft=r.UF.K,f&&(r.B.K=0,r.UF.K=0));h.ps=[F.B.width,F.B.height];h.bs=[CT(F.U),\nF.U.getHeight()];h.scs=[F.J.width,F.J.height];h.dom=F.domain;K.B6&&(h.vds=K.B6);if(K.T.length>0||K.MS)R=g.$n(K.T),K.MS&&R.push(K.MS),h.pings=g.JQ(R,function(S){return S.toString()});\nR=g.JQ(g.Im(K.T,function(S){return S.T()}),function(S){return S.getId()});\nmB2(R);h.ces=R;K.K&&(h.vmer=K.K);K.Z&&(h.vmmk=K.Z);K.B5&&(h.vmiec=K.B5);h.avms=K.GF?K.GF.getName():\"ns\";K.GF&&g.na(h,K.GF.bA());V?(h.c=Rm(K.WU.Ah,2),h.ss=Rm(K.WU.Dn,2)):h.tth=YP()-WGz;h.mc=Rm(r.aY,2);h.nc=Rm(r.N,2);h.mv=eJ(r.T);h.nv=eJ(r.J);h.lte=Rm(K.Ma,2);V=K7(K,D);W5(r);h.qmtos=W5(V);h.qnc=Rm(V.N,2);h.qmv=eJ(V.T);h.qnv=eJ(V.J);h.qas=V.J>0?1:0;h.qi=K.WR;h.avms||(h.avms=\"geo\");h.psm=r.er.U;h.psv=r.er.getValue();h.psfv=r.Za.getValue();h.psa=r.kW.getValue();c=lBo(c.w4);c.length&&(h.veid=c);K.B&&g.na(h,\n$DD(K.B));h.avas=K.Iu();h.vs=K.mK();h.co=tqB(K);h.tm=r.qe;h.tu=r.G2;return h};\nQoM=function(K,R){if(g.Ka(AtM,R))return!0;var f=K.UU[R];return f!==void 0?(K.UU[R]=!0,!f):!1};\ntqB=function(K){var R=K.qe.toString(10).padStart(2,\"0\");R=\"\"+K.hV+R;K.qe<99&&K.qe++;return R};\nZGc=function(){this.U={};var K=NV();Hk(this,K,document);var R=JtN();try{if(\"1\"==R){for(var f=K.parent;f!=K.top;f=f.parent)Hk(this,f,f.document);Hk(this,K.top,K.top.document)}}catch(V){}};\nJtN=function(){var K=document.documentElement;try{if(!xO(NV().top))return\"2\";var R=[],f=NV(K.ownerDocument);for(K=f;K!=f.top;K=K.parent)if(K.frameElement)R.push(K.frameElement);else break;return R&&R.length!=0?\"1\":\"0\"}catch(V){return\"2\"}};\nHk=function(K,R,f){tc(f,\"mousedown\",function(){return BOo(K)},301);\ntc(R,\"scroll\",function(){return X4c(K)},302);\ntc(f,\"touchmove\",function(){return k65(K)},303);\ntc(f,\"mousemove\",function(){return TO5(K)},304);\ntc(f,\"keydown\",function(){return PFG(K)},305)};\nBOo=function(K){g.T2(K.U,function(R){R.X>1E5||++R.X})};\nX4c=function(K){g.T2(K.U,function(R){R.U>1E5||++R.U})};\nk65=function(K){g.T2(K.U,function(R){R.U>1E5||++R.U})};\nPFG=function(K){g.T2(K.U,function(R){R.K>1E5||++R.K})};\nTO5=function(K){g.T2(K.U,function(R){R.J>1E5||++R.J})};\nnoo=function(){this.U=[];this.K=[]};\n$8=function(K,R){return g.G$(K.U,function(f){return f.WR==R})};\nIO5=function(K,R){return R?g.G$(K.U,function(f){return f.pF.lA==R}):null};\ngoG=function(K,R){return g.G$(K.K,function(f){return f.eZ()==2&&f.WR==R})};\ndb=function(){var K=lo;return K.U.length==0?K.K:K.K.length==0?K.U:g.Hy(K.K,K.U)};\nOG_=function(K,R){K=R.eZ()==1?K.U:K.K;var f=mu(K,function(V){return V==R});\nreturn f!=-1?(K.splice(f,1),R.GF&&R.GF.unobserve(),R.dispose(),!0):!1};\njoz=function(K){var R=lo;if(OG_(R,K)){switch(K.eZ()){case 0:var f=function(){return null};\ncase 2:f=function(){return goG(R,K.WR)};\nbreak;case 1:f=function(){return $8(R,K.WR)}}for(var V=f();V;V=f())OG_(R,V)}};\nqqc=function(K){var R=lo;K=g.Im(K,function(f){return!IO5(R,f.pF.lA)});\nR.U.push.apply(R.U,g.X(K))};\nMqM=function(K){var R=[];g.La(K,function(f){V3(lo.U,function(V){return V.pF.lA===f.pF.lA&&V.WR===f.WR})||(lo.U.push(f),R.push(f))})};\nFL=function(){this.U=this.K=null};\nbGw=function(K,R){function f(V,D){R(V,D)}\nif(K.K==null)return!1;K.U=g.G$(K.K,function(V){return V!=null&&V.Vj()});\nK.U&&(K.U.init(f)?tXh(K.U.U):R(K.U.U.Qz(),K.U));return K.U!=null};\nck=function(K){K=p4z(K);y3.call(this,K.length?K[K.length-1]:new dX(bu,0));this.X=K;this.K=null};\np4z=function(K){if(!K.length)return[];K=(0,g.Im)(K,function(f){return f!=null&&f.n5()});\nfor(var R=1;Rf.time?R:f},K[0])};\nox=function(K){K=K===void 0?bu:K;y3.call(this,new dX(K,2))};\nSs=function(){var K=u6e();dX.call(this,bu.top,K,\"geo\")};\nu6e=function(){w1();var K=D$();return K.X||K.K?0:2};\nso2=function(){};\nio=function(){this.done=!1;this.U={ST:0,xc:0,O6D:0,wd:0,GV:-1,L0:0,jW:0,HJ:0,j$D:0};this.B=null;this.T=!1;this.X=null;this.N=0;this.K=new lJ(this)};\nL7=function(){var K=vk;K.T||(K.T=!0,CFc(K,function(){return K.J.apply(K,g.X(g.wW.apply(0,arguments)))}),K.J())};\nefz=function(){kO(so2);var K=kO(FL);K.U!=null&&K.U.U?tXh(K.U.U):D$().update(bu)};\nwb=function(K,R,f){if(!K.done&&(K.K.cancel(),R.length!=0)){K.X=null;try{efz();var V=YP();w1().B=V;if(kO(FL).U!=null)for(var D=0;D=0?YP()-mR:-1,F=YP();D.U.GV==-1&&(l=F);var c=D$(),r=w1(),y=m1(r.w4),h=db();try{if(h.length>0){var S=c.U;S&&(y.bs=[CT(S),S.getHeight()]);var v=c.B;v&&(y.ps=[v.width,v.height]);bu.screen&&(y.scs=[bu.screen.width,bu.screen.height])}else y.url=encodeURIComponent(bu.location.href.substring(0,512)),H.referrer&&(y.referrer=encodeURIComponent(H.referrer.substring(0,512)));\ny.tt=l;y.pt=mR;y.bin=r.K;bu.google_osd_load_pub_page_exp!==void 0&&(y.olpp=bu.google_osd_load_pub_page_exp);y.deb=[1,D.U.ST,D.U.xc,D.U.wd,D.U.GV,0,D.K.K,D.U.L0,D.U.jW,D.U.HJ,D.U.j$D,-1].join(\";\");y.tvt=RXo(D,F);c.K&&(y.inapp=1);if(bu!==null&&bu!=bu.top){h.length>0&&(y.iframe_loc=encodeURIComponent(bu.location.href.substring(0,512)));var L=c.N;y.is=[CT(L),L.getHeight()]}}catch(E){y.error=1}vk.X=y}S=g.kn(vk.X);v=w1().U;Yn(v.X,\"prf\")==1?(L=new i5,D=v.U,H=0,D.U>-1&&(H=D.X.U.now()-D.U),L=JI(L,1,At(D.J+\nH),0),D=v.U,L=JI(L,5,X6(D.U>-1?D.K+1:D.K),0),L=JI(L,2,qD(v.K.U.X()),\"0\"),L=JI(L,3,qD(v.K.U.K()),\"0\"),v=JI(L,4,qD(v.K.U.U()),\"0\"),L={},v=(L.pf=g.OY(v.X()),L)):v={};g.na(S,v);g.na(R,V,f,S,K())}])};\nDRc=function(){var K=VFe||bu;if(!K)return\"\";var R=[];if(!K.location||!K.location.href)return\"\";R.push(\"url=\"+encodeURIComponent(K.location.href.substring(0,512)));K.document&&K.document.referrer&&R.push(\"referrer=\"+encodeURIComponent(K.document.referrer.substring(0,512)));return R.join(\"&\")};\nzo=function(){var K=\"youtube.player.web_20251110_19_RC00\".match(/_(\\d{8})_RC\\d+$/)||\"youtube.player.web_20251110_19_RC00\".match(/_(\\d{8})_\\d+_\\d+$/)||\"youtube.player.web_20251110_19_RC00\".match(/_(\\d{8})_\\d+\\.\\d+$/)||\"youtube.player.web_20251110_19_RC00\".match(/_(\\d{8})_\\d+_RC\\d+$/),R;if(((R=K)==null?void 0:R.length)==2)return K[1];K=\"youtube.player.web_20251110_19_RC00\".match(/.*_(\\d{2})\\.(\\d{4})\\.\\d+_RC\\d+$/);var f;return((f=K)==null?void 0:f.length)==3?\"20\"+K[1]+K[2]:null};\nHV_=function(){return\"av.default_js\".includes(\"ima_html5_sdk\")?{aT:\"ima\",uQ:null}:\"av.default_js\".includes(\"ima_native_sdk\")?{aT:\"nima\",uQ:null}:\"av.default_js\".includes(\"admob-native-video-javascript\")?{aT:\"an\",uQ:null}:\"youtube.player.web_20251110_19_RC00\".includes(\"cast_js_sdk\")?{aT:\"cast\",uQ:zo()}:\"youtube.player.web_20251110_19_RC00\".includes(\"youtube.player.web\")?{aT:\"yw\",uQ:zo()}:\"youtube.player.web_20251110_19_RC00\".includes(\"outstream_web_client\")?{aT:\"out\",uQ:zo()}:\"youtube.player.web_20251110_19_RC00\".includes(\"drx_rewarded_web\")?\n{aT:\"r\",uQ:zo()}:\"youtube.player.web_20251110_19_RC00\".includes(\"gam_native_web_video\")?{aT:\"n\",uQ:zo()}:\"youtube.player.web_20251110_19_RC00\".includes(\"admob_interstitial_video\")?{aT:\"int\",uQ:zo()}:{aT:\"j\",uQ:null}};\nax=function(K,R){var f={sv:\"968\"};x8!==null&&(f.v=x8);f.cb=$Rz;f.nas=lo.U.length;f.msg=K;R!==void 0&&(K=lSz(R))&&(f.e=Ep[K]);return f};\nQT=function(K){return sh(K,\"custom_metric_viewable\")};\nlSz=function(K){var R=QT(K)?\"custom_metric_viewable\":K.toLowerCase();return Jh(f7,function(f){return f==R})};\ndRN=function(){this.U=void 0;this.K=!1;this.X=0;this.J=-1;this.B=\"tos\"};\nrID=function(K){try{var R=K.split(\",\");return R.length>g.Uh(FrM).length?null:Bi(R,function(f,V){V=V.toLowerCase().split(\"=\");if(V.length!=2||cIN[V[0]]===void 0||!cIN[V[0]](V[1]))throw Error(\"Entry (\"+V[0]+\", \"+V[1]+\") is invalid.\");f[V[0]]=V[1];return f},{})}catch(f){return null}};\nyIo=function(K,R){if(K.U==void 0)return 0;switch(K.B){case \"mtos\":return K.K?Q3(R.U,K.U):Q3(R.K,K.U);case \"tos\":return K.K?am(R.U,K.U):am(R.K,K.U)}return 0};\nNL=function(K,R,f,V){bJ.call(this,R,V);this.N=K;this.Z=f};\nUp=function(){};\nWk=function(K){bJ.call(this,\"fully_viewable_audible_half_duration_impression\",K)};\nBk=function(K){this.U=K};\nXL=function(K,R){bJ.call(this,K,R)};\nk8=function(K){ps.call(this,\"measurable_impression\",K)};\nTo=function(){Bk.apply(this,arguments)};\nPk=function(K,R,f){Ge.call(this,K,R,f)};\nn7=function(K){K=K===void 0?bu:K;y3.call(this,new dX(K,2))};\nIx=function(K,R,f){Ge.call(this,K,R,f)};\nvar HB5=function(){return Az[d[0]](this,70)};\nvar gb=function(K){K=K===void 0?bu:K;y3.call(this,new dX(K,2))},Op=function(){dX.call(this,bu,2,\"mraid\");\nthis.er=0;this.aY=this.Xt=!1;this.N=null;this.K=wiv(this.X);this.J.U=new sa(0,0,0,0);this.qe=!1},js=function(K,R,f){K.e_(\"addEventListener\",R,f)},iVv=function(K){w1().J=!!K.e_(\"isViewable\");\njs(K,\"viewableChange\",hX5);K.e_(\"getState\")===\"loading\"?js(K,\"ready\",oTN):Ssc(K)},Ssc=function(K){typeof K.K.Bg.AFMA_LIDAR===\"string\"?(K.Xt=!0,vTc(K)):(K.K.compatibility=3,K.N=\"nc\",K.fail(\"w\"))},vTc=function(K){K.aY=!1;\nvar R=Yn(w1().w4,\"rmmt\")==1,f=!!K.e_(\"isViewable\");(R?!f:1)&&Pi().setTimeout(b5(524,function(){K.aY||(LrD(K),pD(540,Error()),K.N=\"mt\",K.fail(\"w\"))}),500);\nw$2(K);js(K,K.K.Bg.AFMA_LIDAR,zXG)},w$2=function(K){var R=Yn(w1().w4,\"sneio\")==1,f=K.K.Bg.AFMA_LIDAR_EXP_1!==void 0,V=K.K.Bg.AFMA_LIDAR_EXP_2!==void 0;\n(R=R&&V)&&(K.K.Bg.AFMA_LIDAR_EXP_2=!0);f&&(K.K.Bg.AFMA_LIDAR_EXP_1=!R)},LrD=function(K){K.e_(\"removeEventListener\",K.K.Bg.AFMA_LIDAR,zXG);\nK.Xt=!1},xRe=function(K,R){if(K.e_(\"getState\")===\"loading\")return new g.lu(-1,-1);\nR=K.e_(R);if(!R)return new g.lu(-1,-1);K=parseInt(R.width,10);R=parseInt(R.height,10);return isNaN(K)||isNaN(R)?new g.lu(-1,-1):new g.lu(K,R)},oTN=function(){try{var K=kO(Op);\nK.e_(\"removeEventListener\",\"ready\",oTN);Ssc(K)}catch(R){pD(541,R)}},zXG=function(K,R){try{var f=kO(Op);\nf.aY=!0;var V=K?new sa(K.y,K.x+K.width,K.y+K.height,K.x):new sa(0,0,0,0);var D=YP(),H=$$();var l=new CD(D,H,f);l.U=V;l.volume=R;f.wM(l)}catch(F){pD(542,F)}},hX5=function(K){var R=w1(),f=kO(Op);\nK&&!R.J&&(R.J=!0,f.qe=!0,f.N&&f.fail(\"w\",!0))},qL=function(){this.isInitialized=!1;\nthis.U=this.K=null;var K={};this.N=(K.start=this.y5Q,K.firstquartile=this.X5t,K.midpoint=this.Rpr,K.thirdquartile=this.J52,K.complete=this.aaD,K.error=this.QYp,K.pause=this.xz,K.resume=this.wB,K.skip=this.w5Z,K.viewable_impression=this.tX,K.mute=this.Jl,K.unmute=this.Jl,K.fullscreen=this.IaW,K.exitfullscreen=this.utW,K.fully_viewable_audible_half_duration_impression=this.tX,K.measurable_impression=this.tX,K.abandon=this.xz,K.engagedview=this.tX,K.impression=this.tX,K.creativeview=this.tX,K.progress=\nthis.Jl,K.custom_metric_viewable=this.tX,K.bufferstart=this.xz,K.bufferfinish=this.wB,K.audio_measurable=this.tX,K.audio_audible=this.tX,K);K={};this.Z=(K.overlay_resize=this.gWQ,K.abandon=this.Xl,K.close=this.Xl,K.collapse=this.Xl,K.overlay_unmeasurable_impression=function(R){return VT(R,\"overlay_unmeasurable_impression\",$$())},K.overlay_viewable_immediate_impression=function(R){return VT(R,\"overlay_viewable_immediate_impression\",$$())},K.overlay_unviewable_impression=function(R){return VT(R,\"overlay_unviewable_impression\",\n$$())},K.overlay_viewable_end_of_session_impression=function(R){return VT(R,\"overlay_viewable_end_of_session_impression\",$$())},K);\nw1().K=3;ETN(this);this.X=null},ML=function(K,R,f,V){K=K.u3(null,V,!0,R);\nK.J=f;qqc([K]);return K},aSM=function(K,R,f){KuN(R);\nvar V=K.U;g.La(R,function(D){var H=g.JQ(D.criteria,function(l){var F=rID(l);if(F==null)l=null;else if(l=new dRN,F.visible!=null&&(l.U=F.visible/100),F.audible!=null&&(l.K=F.audible==1),F.time!=null){var c=F.timetype==\"mtos\"?\"mtos\":\"tos\",r=c_c(F.time,\"%\")?\"%\":\"ms\";F=parseInt(F.time,10);r==\"%\"&&(F/=100);l.setTime(F,r,c)}return l});\nV3(H,function(l){return l==null})||w4o(f,new NL(D.id,D.event,H,V))})},Qk2=function(){var K=[],R=w1();\nK.push(kO(Ss));Yn(R.w4,\"mvp_lv\")&&K.push(kO(Op));R=[new n7,new gb];R.push(new ck(K));R.push(new ox(bu));return R},N4G=function(K){if(!K.isInitialized){K.isInitialized=!0;\ntry{var R=YP(),f=w1(),V=D$();mR=R;f.X=79463069;K.K!==\"o\"&&(VFe=wyG(bu));if(nnD()){vk.U.xc=0;vk.U.GV=YP()-R;var D=Qk2(),H=kO(FL);H.K=D;bGw(H,function(){bo()})?vk.done||(Kr2(),Fm(H.U.U,K),L7()):V.X?bo():L7()}else p7=!0}catch(l){throw lo.reset(),l;\n}}},mw=function(K){vk.K.cancel();\nY8=K;vk.done=!0},Go=function(K){if(K.K)return K.K;\nvar R=kO(FL).U;if(R)switch(R.getName()){case \"nis\":K.K=\"n\";break;case \"gsv\":K.K=\"m\"}K.K||(K.K=\"h\");return K.K},uo=function(K,R,f){if(K.U==null)return R.B6|=4,!1;\nK=URc(K.U,f,R);R.B6|=K;return K==0},bo=function(){var K=[new ox(bu)],R=kO(FL);\nR.K=K;bGw(R,function(){mw(\"i\")})?vk.done||(Kr2(),L7()):mw(\"i\")},WrG=function(K,R){if(!K.Kh){var f=VT(K,\"start\",$$());\nf=K.nD.U(f).U;var V={id:\"lidarv\"};V.r=R;V.sv=\"968\";x8!==null&&(V.v=x8);t3(f,function(D,H){return V[D]=D==\"mtos\"||D==\"tos\"?H:encodeURIComponent(H)});\nR=DRc();t3(R,function(D,H){return V[D]=encodeURIComponent(H)});\nR=\"//pagead2.googlesyndication.com/pagead/gen_204?\"+iJ(SJ(new om,V));gOw(R);K.Kh=!0}},sp=function(K,R,f){wb(vk,[K],!$$());\naOD(K,f);f!=4&&EoB(K.Xt,f,K.GQ);return VT(K,R,$$())},ETN=function(K){fSD(function(){var R=tF_();\nK.K!=null&&(R.sdk=K.K);var f=kO(FL);f.U!=null&&(R.avms=f.U.getName());return R})},AIM=function(K,R,f,V){var D=IO5(lo,f);\nD!==null&&D.WR!==R&&(K.Ng(D),D=null);D||(R=K.u3(f,YP(),!1,R),lo.K.length==0&&(w1().X=79463069),MqM([R]),D=R,D.J=Go(K),V&&(D.kW=V));return D},JI2=function(K,R){var f=K[R];\nf!==void 0&&f>0&&(K[R]=Math.floor(f*1E3))},tF_=function(){var K=D$(),R={},f={},V={};\nreturn Object.assign({},(R.sv=\"968\",R),x8!==null&&(f.v=x8,f),(V[\"if\"]=K.X?\"1\":\"0\",V.nas=String(lo.U.length),V))},C7=function(K){bJ.call(this,\"audio_audible\",K)},es=function(K){ps.call(this,\"audio_measurable\",K)},Kw=function(){Bk.apply(this,arguments)},RA=function(){},ZVz=function(K){this.U=K},URc=function(K,R,f){K=K.K();\nif(typeof K===\"function\"){var V={};var D={};V=Object.assign({},x8!==null&&(V.v=x8,V),(D.sv=\"968\",D.cb=$Rz,D.e=B4h(R),D));D=VT(f,R,$$());g.na(V,D);f.Kl[R]=D;V=f.eZ()==2?Iso(V).join(\"&\"):f.nD.U(V).U;try{return K(f.WR,V,R),0}catch(H){return 2}}else return 1},B4h=function(K){var R=QT(K)?\"custom_metric_viewable\":K;\nK=Jh(f7,function(f){return f==R});\nreturn Ep[K]},fw=function(){qL.call(this);\nthis.T=null;this.B=!1;this.J=\"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED\"},X$v=function(K,R,f){f=f.opt_configurable_tracking_events;\nK.U!=null&&Array.isArray(f)&&aSM(K,f,R)},ku_=function(K,R,f){var V=$8(lo,R);\nV||(V=f.opt_nativeTime||-1,V=ML(K,R,Go(K),V),f.opt_osdId&&(V.kW=f.opt_osdId));return V},T4v=function(K,R,f){var V=$8(lo,R);\nV||(V=ML(K,R,\"n\",f.opt_nativeTime||-1));return V},P9h=function(K,R){var f=$8(lo,R);\nf||(f=ML(K,R,\"h\",-1));return f},nT5=function(K){w1();\nswitch(Go(K)){case \"b\":return\"ytads.bulleit.triggerExternalActivityEvent\";case \"n\":return\"ima.bridge.triggerExternalActivityEvent\";case \"h\":case \"m\":case \"ml\":return\"ima.common.triggerExternalActivityEvent\"}return null},OV_=function(K,R,f,V){f=f===void 0?{}:f;\nvar D={};g.na(D,{opt_adElement:void 0,opt_fullscreen:void 0},f);var H=K.HN(R,f);f=H?H.nD:K.mN();if(D.opt_bounds)return f.U(ax(\"ol\",V));if(V!==void 0)if(lSz(V)!==void 0)if(p7)K=ax(\"ue\",V);else if(N4G(K),Y8==\"i\")K=ax(\"i\",V),K[\"if\"]=0;else if(R=K.HN(R,D)){b:{Y8==\"i\"&&(R.m5=!0);H=D.opt_fullscreen;H!==void 0&&B5(R,!!H);var l;if(H=!D$().K)(H=KC(g.DP(),\"CrKey\")&&!(KC(g.DP(),\"CrKey\")&&KC(g.DP(),\"SmartSpeaker\"))||KC(g.DP(),\"PlayStation\")||KC(g.DP(),\"Roku\")||Qse()||KC(g.DP(),\"Xbox\"))||(H=g.DP(),H=KC(H,\"AppleTV\")||\nKC(H,\"Apple TV\")||KC(H,\"CFNetwork\")||KC(H,\"tvOS\")),H||(H=g.DP(),H=KC(H,\"sdk_google_atv_x86\")||KC(H,\"Android TV\")),H=!H;H&&(Pi(),H=z4(H5)===0);if(l=H){switch(R.eZ()){case 1:WrG(R,\"pv\");break;case 2:K.mF(R)}mw(\"pv\")}H=V.toLowerCase();if(l=!l)l=Yn(w1().w4,\"ssmol\")&&H===\"loaded\"?!1:g.Ka(ISv,H);if(l&&R.yZ==0){Y8!=\"i\"&&(vk.done=!1);l=D!==void 0?D.opt_nativeTime:void 0;s0=l=typeof l===\"number\"?l:YP();R.uK=!0;var F=$$();R.yZ=1;R.UU={};R.UU.start=!1;R.UU.firstquartile=!1;R.UU.midpoint=!1;R.UU.thirdquartile=\n!1;R.UU.complete=!1;R.UU.resume=!1;R.UU.pause=!1;R.UU.skip=!1;R.UU.mute=!1;R.UU.unmute=!1;R.UU.viewable_impression=!1;R.UU.measurable_impression=!1;R.UU.fully_viewable_audible_half_duration_impression=!1;R.UU.fullscreen=!1;R.UU.exitfullscreen=!1;R.jC=0;F||(R.MD().Z=l);wb(vk,[R],!F)}(l=R.Ps[H])&&O1(R.D8,l);Yn(w1().w4,\"fmd\")||g.Ka(gTw,H)&&R.MS&&R.MS.K(R,null);switch(R.eZ()){case 1:var c=QT(H)?K.N.custom_metric_viewable:K.N[H];break;case 2:c=K.Z[H]}if(c&&(V=c.call(K,R,D,V),Yn(w1().w4,\"fmd\")&&g.Ka(gTw,\nH)&&R.MS&&R.MS.K(R,null),V!==void 0)){D=ax(void 0,H);g.na(D,V);V=D;break b}V=void 0}R.yZ==3&&K.Ng(R);K=V}else K=ax(\"nf\",V);else K=void 0;else p7?K=ax(\"ue\"):H?(K=ax(),g.na(K,NOv(H,!0,!1,!1))):K=ax(\"nf\");return typeof K===\"string\"?f.U():f.U(K)},jkG=function(K,R){R&&(K.J=R)},qsh=function(K){var R={};\nreturn R.viewability=K.U,R.googleViewability=K.K,R},MF_=function(K,R,f){f=f===void 0?{}:f;\nK=OV_(kO(fw),R,f,K);return qsh(K)},Vh=function(K){var R=g.wW.apply(1,arguments).filter(Boolean).join(\"&\");\nif(!R)return K;var f=K.match(/[?&]adurl=/);return f?K.slice(0,f.index+1)+R+\"&\"+K.slice(f.index+1):K+(K.indexOf(\"?\")<0?\"?\":\"&\")+R},Dd=function(K,R){return R?\"&\"+K+\"=\"+encodeURIComponent(R):\"\"},bVB=function(K){var R=K.url;\nK=K.qKF;this.K=R;this.J=K;this.X=(new Date).getTime()-17040672E5;this.U={};for(var f=/[?&]([^&=]+)=([^&]*)/g;K=f.exec(R);)this.U[K[1]]=K[2]},p$h=function(K){K=K.J;\nif(!K)return\"\";var R=Dd(\"uap\",K.platform)+Dd(\"uapv\",K.platformVersion)+Dd(\"uafv\",K.uaFullVersion)+Dd(\"uaa\",K.architecture)+Dd(\"uam\",K.model)+Dd(\"uab\",K.bitness);K.fullVersionList&&(R+=\"&uafvl=\"+encodeURIComponent(K.fullVersionList.map(function(f){return encodeURIComponent(f.brand)+\";\"+encodeURIComponent(f.version)}).join(\"|\")));\nK.wow64!=null&&(R+=\"&uaw=\"+Number(K.wow64));return R.slice(1)},Guc=function(K,R,f,V,D){var H=window;\nvar l=l===void 0?!1:l;var F;f?F=(l===void 0?0:l)?\"//ep1.adtrafficquality.google/bg/\"+pC(f)+\".js\":\"//pagead2.googlesyndication.com/bg/\"+pC(f)+\".js\":F=\"\";l=l===void 0?!1:l;f=H.document;var c={};R&&(c._scs_=R);c._bgu_=F;c._bgp_=V;c._li_=\"v_h.3.0.0.0\";D&&(c._upb_=D);(R=H.GoogleTyFxhY)&&typeof R.push==\"function\"||(R=H.GoogleTyFxhY=[]);R.push(c);R=iu(f).createElement(\"SCRIPT\");R.type=\"text/javascript\";R.async=!0;K=(l===void 0?0:l)?g.hB(YsM,pC(K)+\".js\"):g.hB(mRo,pC(K)+\".js\");g.nC(R,K);(H=(H.GoogleTyFxhYEET||\n{})[R.src])?H():f.getElementsByTagName(\"head\")[0].appendChild(R)},utv=function(){try{var K,R;\nreturn!!((K=window)==null?0:(R=K.top)==null?0:R.location.href)&&!1}catch(f){return!0}},HK=function(K,R,f){f=f===void 0?Error():f;\nvar V=Error.call(this);this.message=V.message;\"stack\"in V&&(this.stack=V.stack);this.code=K;R+=\":\";f instanceof Error?(this.message=R+f.message,this.stack=f.stack||\"\"):(this.message=R+String(f),this.stack=\"\");Object.setPrototypeOf(this,this.constructor.prototype)},l1=function(){var K=sk5();\nK=K===void 0?\"bevasrsg\":K;return new Promise(function(R){var f=window===window.top?window:utv()?window:window.top,V=f[K],D;((D=V)==null?0:D.bevasrs)?R(new $Y(V.bevasrs)):(V||(V={},V=(V.nqfbel=[],V),f[K]=V),V.nqfbel.push(function(H){R(new $Y(H))}))})};\nvar Fe_=function(){return Az[d[0]](this,3)};\nC9_=function(K){var R={c:K.Q2,e:K.CR,mc:K.VW,me:K.BY};K.DA&&(R.co={c:K.DA.Hk,a:K.DA.a_,s:K.DA.b8});return R};\ndr=function(K){g.O.call(this);this.wpc=K};\n$Y=function(K){g.O.call(this);var R=this;this.r8=K;this.X=\"keydown keypress keyup input focusin focusout select copy cut paste change click dblclick auxclick pointerover pointerdown pointerup pointermove pointerout dragenter dragleave drag dragend mouseover mousedown mouseup mousemove mouseout touchstart touchend touchmove wheel\".split(\" \");this.K=void 0;this.l3=this.r8.p;this.J=this.h0.bind(this);this.addOnDisposeCallback(function(){return void eXc(R)})};\nKkz=function(K){var R;return g.I(function(f){if(f.U==1){if(!K.r8.wpc)throw new HK(30,\"NWA\");return K.U?f.return(K.U):g.P(f,K.r8.wpc(),2)}R=f.K;K.U=new dr(R);return f.return(K.U)})};\neXc=function(K){K.K!==void 0&&(K.X.forEach(function(R){var f;(f=K.K)==null||f.removeEventListener(R,K.J)}),K.K=void 0)};\nRxN=function(K){var R=R===void 0?52:R;var f=[];qR(K,Fg,6).forEach(function(V){g.mr(V,2)<=R&&f.push(g.mr(V,1))});\nreturn f};\nf8w=function(K){var R=R===void 0?52:R;var f=[];qR(K,Fg,6).forEach(function(V){g.mr(V,2)>R&&f.push(g.mr(V,1))});\nreturn f};\nVi2=function(K){K.then(function(){},function(){})};\ncK=function(){g.O.apply(this,arguments);this.K=1};\nrr=function(K){return{fieldType:2,fieldName:K}};\ng.yh=function(K){return{fieldType:3,fieldName:K}};\nDUz=function(K){this.U=K;K.Gz(\"/client_streamz/bg/frs\",g.yh(\"mk\"))};\nHJc=function(K){this.U=K;K.Gz(\"/client_streamz/bg/wrl\",g.yh(\"mn\"),rr(\"ac\"),rr(\"sc\"),g.yh(\"rk\"),g.yh(\"mk\"))};\n$UM=function(K){this.U=K;K.f8(\"/client_streamz/bg/ec\",g.yh(\"en\"),g.yh(\"mk\"))};\nl8B=function(K){this.U=K;K.Gz(\"/client_streamz/bg/el\",g.yh(\"en\"),g.yh(\"mk\"))};\ndUo=function(K){this.U=K;K.f8(\"/client_streamz/bg/cec\",rr(\"ec\"),g.yh(\"mk\"))};\nFkN=function(K){this.U=K;K.f8(\"/client_streamz/bg/po/csc\",rr(\"cs\"),g.yh(\"mk\"))};\nc8e=function(K){this.U=K;K.f8(\"/client_streamz/bg/po/ctav\",g.yh(\"av\"),g.yh(\"mk\"))};\nr8B=function(K){this.U=K;K.f8(\"/client_streamz/bg/po/cwsc\",g.yh(\"su\"),g.yh(\"mk\"))};\ny85=function(K){this.Sr=d4(K)};\nhx5=function(K,R){return YAD(K,R,LpN)};\noA=function(K){this.Sr=d4(K)};\nSd=function(K){this.Sr=d4(K)};\ni1=function(K){this.Sr=d4(K)};\nvK=function(K){this.Sr=d4(K)};\nLw=function(K){this.Sr=d4(K)};\nwr=function(K){this.Sr=d4(K)};\noro=function(K){this.Sr=d4(K)};\nvre=function(K){var R=new wr;R=fJ(R,1,K.K);var f=Soe(K);R=YAD(R,f,Wp_);f=[];for(var V=[],D=g.Z(K.U.keys()),H=D.next();!H.done;H=D.next())V.push(H.value.split(\",\"));for(D=0;D>>31)&4294967295;h=D[0];var L=D[1],E=D[2],Q=D[3],J=D[4];for(v=0;v<80;v++){if(v<40)if(v<20){var A=Q^L&(E^Q);var B=1518500249}else A=L^E^Q,B=1859775393;else v<60?(A=L&E|Q&(L|E),B=2400959708):(A=L^E^Q,B=3395469782);A=((h<<5|h>>>27)&4294967295)+A+J+B+S[v]&4294967295;J=Q;Q=E;E=(L<<30|L>>>2)&4294967295;L=h;h=A}D[0]=D[0]+h&4294967295;D[1]=D[1]+L&4294967295;D[2]=\nD[2]+E&4294967295;D[3]=D[3]+Q&4294967295;D[4]=D[4]+J&4294967295}\nfunction f(h,S){if(typeof h===\"string\"){h=unescape(encodeURIComponent(h));for(var v=[],L=0,E=h.length;L=56;v--)H[v]=S&255,S>>>=8;R(H);for(v=S=0;v<5;v++)for(var L=24;L>=0;L-=8)h[S++]=D[v]>>L&255;return h}\nfor(var D=[],H=[],l=[],F=[128],c=1;c<64;++c)F[c]=0;var r,y;K();return{reset:K,update:f,digest:V,zm:function(){for(var h=V(),S=\"\",v=0;v1)));l=l.next)D||(H=l);D&&(f.U==0&&V==1?hJB(f,R):(H?(V=H,V.next==f.J&&(f.J=V),V.next=V.next.next):oPN(f),S05(f,D,3,R)))}K.X=null}else tA(K,3,R)};\nX3=function(K,R){K.K||K.U!=2&&K.U!=3||iDe(K);K.J?K.J.next=R:K.K=R;K.J=R};\nvPN=function(K,R,f,V){var D=JA(null,null,null);D.U=new g.AA(function(H,l){D.X=R?function(F){try{var c=R.call(V,F);H(c)}catch(r){l(r)}}:H;\nD.K=f?function(F){try{var c=f.call(V,F);c===void 0&&F instanceof Tt?l(F):H(c)}catch(r){l(r)}}:l});\nD.U.X=K;X3(K,D);return D.U};\ntA=function(K,R,f){K.U==0&&(K===f&&(R=3,f=new TypeError(\"Promise cannot resolve to itself\")),K.U=1,FRB(f,K.gIW,K.wRp,K)||(K.N=f,K.U=R,K.X=null,iDe(K),R!=3||f instanceof Tt||LRv(K,f)))};\nFRB=function(K,R,f,V){if(K instanceof g.AA)return y3o(K,R,f,V),!0;if(K)try{var D=!!K.$goog_Thenable}catch(l){D=!1}else D=!1;if(D)return K.then(R,f,V),!0;if(g.kV(K))try{var H=K.then;if(typeof H===\"function\")return w9N(K,H,R,f,V),!0}catch(l){return f.call(V,l),!0}return!1};\nw9N=function(K,R,f,V,D){function H(c){F||(F=!0,V.call(D,c))}\nfunction l(c){F||(F=!0,f.call(D,c))}\nvar F=!1;try{R.call(K,l,H)}catch(c){H(c)}};\niDe=function(K){K.T||(K.T=!0,g.WE(K.TN,K))};\noPN=function(K){var R=null;K.K&&(R=K.K,K.K=R.next,R.next=null);K.K||(K.J=null);return R};\nS05=function(K,R,f,V){if(f==3&&R.K&&!R.J)for(;K&&K.B;K=K.X)K.B=!1;if(R.U)R.U.X=null,zJ2(R,f,V);else try{R.J?R.X.call(R.context):zJ2(R,f,V)}catch(D){xwv.call(null,D)}RJw(dwB,R)};\nzJ2=function(K,R,f){R==2?K.X.call(K.context,f):K.K&&K.K.call(K.context,f)};\nLRv=function(K,R){K.B=!0;g.WE(function(){K.B&&xwv.call(null,R)})};\nTt=function(K){bE.call(this,K)};\ng.PE=function(K,R){g.vE.call(this);this.OU=K||1;this.wp=R||g.Nz;this.AO=(0,g.Ii)(this.vRF,this);this.Yw=g.OS()};\ng.no=function(K,R,f){if(typeof K===\"function\")f&&(K=(0,g.Ii)(K,f));else if(K&&typeof K.handleEvent==\"function\")K=(0,g.Ii)(K.handleEvent,K);else throw Error(\"Invalid listener argument\");return Number(R)>2147483647?-1:g.Nz.setTimeout(K,R||0)};\nIr=function(K,R){var f=null;return(new g.AA(function(V,D){f=g.no(function(){V(R)},K);\nf==-1&&D(Error(\"Failed to schedule timer.\"))})).rk(function(V){g.Nz.clearTimeout(f);\nthrow V;})};\ng.gC=function(K){g.O.call(this);this.N=K;this.J=0;this.X=100;this.B=!1;this.K=new Map;this.T=new Set;this.flushInterval=3E4;this.U=new g.PE(this.flushInterval);this.U.listen(\"tick\",this.T5,!1,this);g.q(this,this.U)};\nEPw=function(K){K.U.enabled||K.U.start();K.J++;K.J>=K.X&&K.T5()};\najM=function(K,R){return K.T.has(R)?void 0:K.K.get(R)};\nQ_D=function(K){for(var R=0;R2?K.U.statusText:\"\"}catch(f){R=\"\"}K.J=R+\" [\"+K.getStatus()+\"]\";T1c(K)}}finally{po(K)}}};\npo=function(K,R){if(K.U){K.T&&(clearTimeout(K.T),K.T=null);var f=K.U;K.U=null;R||K.dispatchEvent(\"ready\");try{f.onreadystatechange=null}catch(V){}}};\nGt=function(K){var R=K.getStatus();a:switch(R){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var f=!0;break a;default:f=!1}if(!f){if(R=R===0)K=g.Qu(String(K.Z))[1]||null,!K&&g.Nz.self&&g.Nz.self.location&&(K=g.Nz.self.location.protocol.slice(0,-1)),R=!Ijz.test(K?K.toLowerCase():\"\");f=R}return f};\ng.mq=function(K){return K.U?K.U.readyState:0};\ng.uX=function(K){try{return K.U?K.U.responseText:\"\"}catch(R){return\"\"}};\ng.sd=function(K){try{if(!K.U)return null;if(\"response\"in K.U)return K.U.response;switch(K.B5){case \"\":case \"text\":return K.U.responseText;case \"arraybuffer\":if(\"mozResponseArrayBuffer\"in K.U)return K.U.mozResponseArrayBuffer}return null}catch(R){return null}};\ng.gP_=function(K){var R={};K=(K.U&&g.mq(K)>=2?K.U.getAllResponseHeaders()||\"\":\"\").split(\"\\r\\n\");for(var f=0;f>1,R),NX(K,K.length>>1)]};\nxJ2=function(K){var R=g.Z(zZN(K,Ux));K=R.next().value;R=R.next().value;return K.toString(16)+R.toString(16)};\nE$M=function(K,R){var f=zZN(R);K=new Uint32Array(K.buffer);R=K[0];var V=g.Z(f);f=V.next().value;V=V.next().value;for(var D=1;D>>8|l<<24,l+=H|0,l^=F+38293,H=H<<3|H>>>29,H^=l,c=c>>>8|c<<24,c+=F|0,c^=r+38293,F=F<<3|F>>>29,F^=c;H=[H,l];K[D]^=H[0];D+1=f?(globalThis.sessionStorage.removeItem(K),[\"e\"]):[\"a\",new Uint8Array(V.buffer,R+4)]};\nW8=function(K,R,f){f=f===void 0?[]:f;this.maxItems=K;this.U=R===void 0?0:R;this.K=f};\nNXG=function(K){var R=globalThis.sessionStorage.getItem(\"iU5q-!O9@$\");if(!R)return new W8(K);var f=R.split(\",\");if(f.length<2)return globalThis.sessionStorage.removeItem(\"iU5q-!O9@$\"),new W8(K);R=f.slice(1);R.length===1&&R[0]===\"\"&&(R=[]);f=Number(f[0]);return isNaN(f)||f<0||f>R.length?(globalThis.sessionStorage.removeItem(\"iU5q-!O9@$\"),new W8(K)):new W8(K,f,R)};\nUJB=function(K,R){this.logger=R;try{var f=globalThis.sessionStorage&&!!globalThis.sessionStorage.getItem&&!!globalThis.sessionStorage.setItem&&!!globalThis.sessionStorage.removeItem}catch(V){f=!1}f&&(this.index=NXG(K))};\nWVo=function(K,R,f,V,D){var H=K.index?Vt(K.logger,function(){return a$B(K.index,xJ2(R),f,V,D)},\"W\"):\"u\";\nK.logger.Bi(H)};\ntJe=function(K,R,f){var V=g.Z(K.index?Vt(K.logger,function(){return QmM(xJ2(R),f)},\"R\"):[\"u\"]),D=V.next().value;\nV=V.next().value;K.logger.JL(D);return V};\nZso=function(K){function R(){f-=V;f-=D;f^=D>>>13;V-=D;V-=f;V^=f<<8;D-=f;D-=V;D^=V>>>13;f-=V;f-=D;f^=D>>>12;V-=D;V-=f;V^=f<<16;D-=f;D-=V;D^=V>>>5;f-=V;f-=D;f^=D>>>3;V-=D;V-=f;V^=f<<10;D-=f;D-=V;D^=V>>>15}\nK=Acc(K);for(var f=2654435769,V=2654435769,D=314159265,H=K.length,l=H,F=0;l>=12;l-=12,F+=12)f+=tn(K,F),V+=tn(K,F+4),D+=tn(K,F+8),R();D+=H;switch(l){case 11:D+=K[F+10]<<24;case 10:D+=K[F+9]<<16;case 9:D+=K[F+8]<<8;case 8:V+=K[F+7]<<24;case 7:V+=K[F+6]<<16;case 6:V+=K[F+5]<<8;case 5:V+=K[F+4];case 4:f+=K[F+3]<<24;case 3:f+=K[F+2]<<16;case 2:f+=K[F+1]<<8;case 1:f+=K[F+0]}R();return Jc2.toString(D)};\nAcc=function(K){for(var R=[],f=0;f>7,K.error.code]);V.set(f,4);return V};\nng=function(K,R,f){An.call(this,K);this.J=R;this.clientState=f;this.U=\"S\";this.K=\"q\"};\nP8=function(K){return globalThis.TextEncoder?(new TextEncoder).encode(K):g.gB(K)};\nX5G=function(K,R,f){return K instanceof wz?$Jz(K,f,R,1):K.nR(f)};\ngz=function(K){g.O.call(this);var R=this;this.X=new g.hn;this.J=0;this.K=void 0;this.state=2;this.r8=K.r8;this.lf=K.lf;this.y8=Object.assign({},ke_,K.y8||{});this.logger=K.r8.AD();var f;this.onError=(f=K.onError)!=null?f:function(){};\nthis.g9=K.g9||!1;if(TXM(K)){var V=this.r8;this.B=function(){return ycv(V).catch(function(l){l=R.reportError(new HK(R.U?20:32,\"TRG:Disposed\",l));R.K=l;var F;(F=R.U)==null||F.dispose();R.U=void 0;R.X.reject(l)})};\nhZo(V,function(){return void Iu(R)});\nV.Z===2&&Iu(this)}else this.B=K.e_F,Iu(this);var D=this.logger.share();D.d0(\"o\");var H=new Ru(D,\"o\");this.X.promise.then(function(){H.done();D.l9();D.dispose()},function(){return void D.dispose()});\nthis.addOnDisposeCallback(function(){R.U?(R.U.dispose(),R.U=void 0):R.K?R.logger.l9():(R.K=R.reportError(new HK(32,\"TNP:Disposed\")),R.logger.l9(),R.X.reject(R.K))});\ng.q(this,this.logger)};\nPJM=function(K,R){if(!(R instanceof HK))if(R instanceof Od){var f=Error(R.toString());f.stack=R.stack;R=new HK(11,\"EBH:Error\",f)}else R=new HK(12,\"BSO:Unknown\",R);return K.reportError(R)};\nIu=function(K){var R,f,V,D,H,l,F,c,r,y,h,S,v,L,E;return g.I(function(Q){switch(Q.U){case 1:R=void 0;K.J++;f=new g.hn;K.r8 instanceof zQ&&K.r8.J.push(f.promise);if(!K.g9){Q.J5(2);break}V=new g.hn;setTimeout(function(){return void V.resolve()});\nreturn g.P(Q,V.promise,2);case 2:return D=K.logger.share(),g.Fp(Q,4,5),K.state=5,H={},l=[],g.P(Q,Ex(K.r8.snapshot({Q2:H,uq:l}),K.y8.oRQ,function(){return Promise.reject(new HK(15,\"MDA:Timeout\"))}),7);\ncase 7:F=Q.K;if(K.mZ())throw new HK(K.U?20:32,\"MDA:Disposed\");c=l[0];K.state=6;return g.P(Q,Ex(X5G(K.lf,D,F),K.y8.Cg,function(){return Promise.reject(new HK(10,\"BWB:Timeout\"))}),8);\ncase 8:r=Q.K;if(K.mZ())throw new HK(K.U?20:32,\"BWB:Disposed\");K.state=7;R=Vt(D,function(){var A=n$M(K,r,f,c);A.X.promise.then(function(){return void K.B()});\nreturn A},\"i\");\ncase 5:g.h_(Q);D.dispose();g.oi(Q,6);break;case 4:y=g.yH(Q);(h=R)==null||h.dispose();if(!K.K){S=PJM(K,y);f.resolve();var J;if(J=K.r8 instanceof zQ&&K.J<2)a:if(y instanceof HK)J=y.code!==32&&y.code!==20&&y.code!==10;else{if(y instanceof Od)switch(y.code){case 2:case 13:case 14:case 4:break;default:J=!1;break a}J=!0}if(J)return v=(1+Math.random()*.25)*(K.U?6E4:1E3),L=setTimeout(function(){return void K.B()},v),K.addOnDisposeCallback(function(){return void clearTimeout(L)}),Q.return();\nK.K=S}D.wi(K.U?13:14);K.X.reject(K.K);return Q.return();case 6:K.state=8,K.J=0,(E=K.U)==null||E.dispose(),K.U=R,K.X.resolve(),g.lE(Q)}})};\nn$M=function(K,R,f,V){var D=Gu(R,2)*1E3;if(D<=0)throw new HK(31,\"TTM:Invalid\");if(u9(R,4))return new kL(K.logger,u9(R,4),D);if(!Gu(R,3))return new XP(K.logger,CU(NR(R,1)),D);if(!V)throw new HK(4,\"PMD:Undefined\");V=V(CU(NR(R,1)));if(!(V instanceof Function))throw new HK(16,\"APF:Failed\");K.T=Math.floor((Date.now()+D)/1E3);K=new B8(K.logger,V,Gu(R,3),D);K.addOnDisposeCallback(function(){return void f.resolve()});\nreturn K};\nI$5=function(K,R){R=R instanceof HK?R:new HK(5,\"TVD:error\",R);return K.reportError(R)};\nMJB=function(K,R,f){try{if(K.mZ())throw new HK(21,\"BNT:disposed\");if(!K.U&&K.K)throw K.K;var V,D;return(D=(V=g$e(K,R,f))!=null?V:Osz(K,R,f))!=null?D:jmG(K,R,f)}catch(H){if(!R.BY)throw I$5(K,H);return q1h(K,f,H)}};\ng$e=function(K,R,f){var V;return(V=K.U)==null?void 0:ZE(V,function(){return Ox(K,R)},f,function(D){var H;\nif(K.U instanceof B8&&((H=R.DA)==null?0:H.b8))try{var l;(l=K.cache)==null||WVo(l,Ox(K,R),D,R.DA.Hk,K.T-120)}catch(F){K.reportError(new HK(24,\"ELX:write\",F))}})};\nOsz=function(K,R,f){var V;if((V=R.DA)!=null&&V.a_)try{var D,H=(D=K.cache)==null?void 0:tJe(D,Ox(K,R),R.DA.Hk);return H?f?Vt(K.logger,function(){return g.OY(H,2)},\"a\"):H:void 0}catch(l){K.reportError(new HK(23,\"RXO:read\",l))}};\njmG=function(K,R,f){var V={stack:[],error:void 0,hasError:!1};try{if(!R.VW)throw new HK(29,\"SDF:notready\");return ZE(OBM(V,new ng(K.logger,0,K.state)),function(){return Ox(K,R)},f)}catch(D){V.error=D,V.hasError=!0}finally{jwN(V)}};\nq1h=function(K,R,f){var V={stack:[],error:void 0,hasError:!1};try{var D=I$5(K,f);return ZE(OBM(V,new TQ(K.logger,D)),function(){return[]},R)}catch(H){V.error=H,V.hasError=!0}finally{jwN(V)}};\nOx=function(K,R){return R.CR?R.CR:R.Q2?Vt(K.logger,function(){return R.CR=P8(R.Q2)},\"c\"):[]};\nbsB=function(){var K=0,R;return function(f){R||(R=new DE);var V=new ng(R,K,1),D=ZE(V,function(){return P8(f)},!0);\nV.dispose();K++;return D}};\njg=function(K){this.Sr=d4(K)};\np55=function(K,R,f){this.u_=K;this.gf=R;this.metadata=f};\nqX=function(K,R){R=R===void 0?{}:R;this.PLU=K;this.metadata=R;this.status=null};\nMX=function(K,R,f,V,D){this.name=K;this.methodType=\"unary\";this.requestType=R;this.responseType=f;this.U=V;this.K=D};\nbH=function(K){this.Sr=d4(K)};\npg=function(K){this.Sr=d4(K)};\nYL=function(K){this.Sr=d4(K)};\nmt=function(K,R){this.K=[];this.J=[];this.B=[];this.X=[];this.U=[];this.T=K.ktr;this.N=R;this.xhr=K.xhr;this.T&&Y1h(this)};\nsm_=function(K,R){var f=new mJ2;g.cE(K.xhr,\"complete\",function(){if(Gt(K.xhr)){var V=g.uX(K.xhr);if(R&&K.xhr.getResponseHeader(\"Content-Type\")===\"text/plain\"){if(!atob)throw Error(\"Cannot decode Base64 response\");V=atob(V)}try{var D=K.N(V)}catch(F){GQ(K,uH(new Od(13,\"Error when deserializing response data; error: \"+F+(\", response: \"+V)),f));return}V=N12(K.xhr.getStatus());sx(K,Cg(K));V===0?Gev(K,D):GQ(K,uH(new Od(V,\"Xhr succeeded but the status code is not 200\"),f))}else{V=g.uX(K.xhr);D=Cg(K);if(V){var H=\numB(K,V);V=H.code;var l=H.details;H=H.metadata}else V=2,l=\"Rpc failed due to xhr error. uri: \"+String(K.xhr.Z)+\", error code: \"+(K.xhr.K+\", error: \")+K.xhr.getLastError(),H=D;sx(K,D);GQ(K,uH(new Od(V,l,H),f))}})};\nY1h=function(K){eg(K.T,\"data\",function(R){if(\"1\"in R){var f=R[\"1\"];try{var V=K.N(f)}catch(D){GQ(K,new Od(13,\"Error when deserializing response data; error: \"+D+(\", response: \"+f)))}V&&Gev(K,V)}if(\"2\"in R)for(R=umB(K,R[\"2\"]),f=0;f-1&&K.splice(R,1)};\nGev=function(K,R){for(var f=0;f>4&15).toString(16)+(K&15).toString(16)};\nyj=function(K,R){this.K=this.U=null;this.X=K||null;this.J=!!R};\nSE=function(K){K.U||(K.U=new Map,K.K=0,K.X&&t3(K.X,function(R,f){K.add(bm(R),f)}))};\n$Lw=function(K,R){SE(K);R=i7(K,R);return K.U.has(R)};\ng.llo=function(K,R,f){K.remove(R);f.length>0&&(K.X=null,K.U.set(i7(K,R),g.$n(f)),K.K=K.K+f.length)};\ni7=function(K,R){R=String(R);K.J&&(R=R.toLowerCase());return R};\nVsw=function(K,R){R&&!K.J&&(SE(K),K.X=null,K.U.forEach(function(f,V){var D=V.toLowerCase();V!=D&&(this.remove(V),g.llo(this,D,f))},K));\nK.J=R};\ng.dLz=function(K){var R=\"\";g.T2(K,function(f,V){R+=V;R+=\":\";R+=f;R+=\"\\r\\n\"});\nreturn R};\ng.vI=function(K,R,f){if(g.ZL(f))return K;f=g.dLz(f);if(typeof K===\"string\")return Xv(K,g.M2(R),f);g.oI(K,R,f);return K};\ng.LW=function(K){g.O.call(this);this.K=K;this.U={}};\nFwh=function(K,R,f,V,D,H){if(Array.isArray(f))for(var l=0;l=0)return!0;try{var R=new g.vc(K)}catch(f){return g.G$(tsM,function(V){return K.search(V)>0})!=null}return R.T.match(A5_)?!0:g.G$(tsM,function(f){return K.match(f)!=null})!=null};\ng.XZ=function(K,R){return K.replace(Z7h,function(f,V){try{var D=g.By(R,V);if(D==null||D.toString()==null)return f;D=D.toString();if(D==\"\"||!g.Ca(g.Y7(D)))return encodeURIComponent(D).replace(/%2C/g,\",\")}catch(H){}return f})};\nBbG=function(K){this.Sr=d4(K,500)};\nXk2=function(K){this.Sr=d4(K,500)};\nkl=function(K){this.Sr=d4(K)};\nT_=function(K){this.Sr=d4(K)};\nkoo=function(K){var R=K.Sr;return jF(K,R,R[VR]|0,kl,2,1)};\nn8v=function(K){var R;if((R=K[TbB])!=null)K=R;else{if(kr!==kr)throw Error();K=K[TbB]=PoG(K.U)}return K};\ng8h=function(K){var R;return(R=K[IlN])!=null?R:K[IlN]=new Map(koo(n8v(K)).map(function(f){return[f.getName(),g.mr(f,2)]}))};\nPI=function(K,R){return Object.is(K,R)};\nII=function(K){var R=nW;nW=K;return R};\nO7D=function(K){if(K.Z0!==void 0){var R=g_;g_=!0;try{for(var f=K.Z0;f!==void 0;f=f.Sl){var V=f.Fo;V.IT||(K=void 0,V.IT=!0,O7D(V),(K=V.xJ)==null||K.call(V,V))}}finally{g_=R}}};\njxe=function(){var K;return((K=nW)==null?void 0:K.g5)!==!1};\nqpw=function(K){K&&(K.YF=void 0,K.Jj=!0);return II(K)};\nb7B=function(K){K.Jj=!1;var R=K.YF,f=R!==void 0?R.L3:K.producers;if(f!==void 0){if(OH(K)){do f=Msw(f);while(f!==void 0)}R!==void 0?R.L3=void 0:K.producers=void 0}};\npkG=function(K,R){var f=K.Ae,V=OH(K);f!==void 0?(R.Sl=f.Sl,f.Sl=R):(R.Sl=void 0,K.Z0=R);R.sX=f;K.Ae=R;if(!V)for(K=K.producers;K!==void 0;K=K.L3)pkG(K.Lw,K)};\nMsw=function(K){var R=K.Lw,f=K.L3,V=K.Sl,D=K.sX;K.Sl=void 0;K.sX=void 0;V!==void 0?V.sX=D:R.Ae=D;if(D!==void 0)D.Sl=V;else if(R.Z0=V,!OH(R))for(K=R.producers;K!==void 0;)K=Msw(K);return f};\nOH=function(K){return K.w5||K.Z0!==void 0};\nuLv=function(K,R){function f(){a:{if(g_)throw Error(\"\");if(nW!==null){var D=nW.YF;if(D===void 0||D.Lw!==V){var H=void 0,l=nW.Jj;if(l&&(H=D!==void 0?D.L3:nW.producers,H!==void 0&&H.Lw===V)){nW.YF=H;H.xeU=V.version;break a}var F=V.Ae,c;if(!(c=F===void 0||F.Fo!==nW)){if(l){b:{c=nW;l=c.YF;if(l!==void 0){c=c.producers;do{if(c===F){l=!0;break b}if(c===l)break;c=c.L3}while(c!==void 0)}l=!1}l=!l}c=l}c&&(l=OH(nW),H={Lw:V,Fo:nW,L3:H,sX:F,xeU:V.version,Sl:void 0},nW.YF=H,D!==void 0?D.L3=H:nW.producers=H,l&&\npkG(V,H))}}}return V.value}\nvar V=Object.create(Yp5);V.value=K;R!==void 0&&(V.Ow=R);f[mLv]=V;return[f,function(D){return GoM(V,D)},\nfunction(D){if(!jxe())throw Error();GoM(V,D(V.value))}]};\nGoM=function(K,R){if(!jxe())throw Error();K.Ow(K.value,R)||(K.value=R,K.version++,sxo++,O7D(K))};\njE=function(K,R){R=R===void 0?\"\":R;var f={};K=uLv(K,f.equals);f=f.debugName;var V;R=f&&R?f+\"__\"+R:(V=f!=null?f:R)!=null?V:\"[signal]\";K[0][mLv].debugName=R};\nMk=function(K){g.vE.call(this);var R=this;this.B=this.K=0;this.wC=K!=null?K:{sU:function(D,H){return setTimeout(D,H)},\nSQ:function(D){clearTimeout(D)}};\nvar f,V;this.U=(V=(f=window.navigator)==null?void 0:f.onLine)!=null?V:!0;this.X=function(){return g.I(function(D){return g.P(D,qk(R),0)})};\nwindow.addEventListener(\"offline\",this.X);window.addEventListener(\"online\",this.X);this.B||this.zi()};\nCoz=function(){var K=g.b7;Mk.instance||(Mk.instance=new Mk(K));return Mk.instance};\nqk=function(K,R){return K.J?K.J:K.J=new Promise(function(f){var V,D,H,l;return g.I(function(F){switch(F.U){case 1:return V=window.AbortController?new window.AbortController:void 0,H=(D=V)==null?void 0:D.signal,l=!1,g.Fp(F,2,3),V&&(K.K=K.wC.sU(function(){V.abort()},R||2E4)),g.P(F,fetch(\"/generate_204\",{method:\"HEAD\",\nsignal:H}),5);case 5:l=!0;case 3:g.h_(F);K.J=void 0;K.K&&(K.wC.SQ(K.K),K.K=0);l!==K.U&&(K.U=l,K.U?K.dispatchEvent(\"networkstatus-online\"):K.dispatchEvent(\"networkstatus-offline\"));f(l);g.oi(F,0);break;case 2:g.yH(F),l=!1,F.J5(3)}})})};\netv=function(K){this.Sr=d4(K)};\npW=function(){this.data=[];this.U=-1};\nKs2=function(K){K.U===-1&&(K.U=K.data.reduce(function(R,f,V){return R+(f?Math.pow(2,V):0)},0));\nreturn K.U};\nYl=function(K){K.setAttribute(\"role\",\"link\")};\nG_=function(K,R){Array.isArray(R)&&(R=R.join(\" \"));R===\"\"||R==void 0?(mo||(R={},mo=(R.atomic=!1,R.autocomplete=\"none\",R.dropeffect=\"none\",R.haspopup=!1,R.live=\"off\",R.multiline=!1,R.multiselectable=!1,R.orientation=\"vertical\",R.readonly=!1,R.relevant=\"additions text\",R.required=!1,R.sort=\"none\",R.busy=!1,R.disabled=!1,R.hidden=!1,R.invalid=\"false\",R)),R=mo,\"label\"in R?K.setAttribute(\"aria-label\",R.label):K.removeAttribute(\"aria-label\")):K.setAttribute(\"aria-label\",R)};\nu7=function(K){K=K.getAttribute(\"aria-label\");return K==null||K==void 0?\"\":String(K)};\ng.sH=function(K,R,f){g.O.call(this);this.U=null;this.J=!1;this.T=K;this.B=f;this.K=R||window;this.X=(0,g.Ii)(this.e$,this)};\nRz5=function(K){K=K.K;return K.requestAnimationFrame||K.webkitRequestAnimationFrame||K.mozRequestAnimationFrame||K.oRequestAnimationFrame||K.msRequestAnimationFrame||null};\nfd2=function(K){K=K.K;return K.cancelAnimationFrame||K.cancelRequestAnimationFrame||K.webkitCancelRequestAnimationFrame||K.mozCancelRequestAnimationFrame||K.oCancelRequestAnimationFrame||K.msCancelRequestAnimationFrame||null};\ng.CW=function(K,R,f){g.O.call(this);this.U=K;this.OU=R||0;this.K=f;this.X=(0,g.Ii)(this.M0,this)};\ng.eE=function(K,R){K.isActive()||K.start(R)};\ng.Ke=function(K){K.stop();K.M0()};\ng.Rt=function(K){K.isActive()&&g.Ke(K)};\ng.fe=function(K,R,f){g.O.call(this);this.J=f!=null?K.bind(f):K;this.OU=R;this.X=null;this.U=!1;this.K=0;this.LL=null};\nVb=function(K){K.LL=g.no(function(){K.LL=null;K.U&&!K.K&&(K.U=!1,Vb(K))},K.OU);\nvar R=K.X;K.X=null;K.J.apply(null,R)};\ng.Da=function(K,R){this.U=K[g.Nz.Symbol.iterator]();this.K=R};\nVdB=function(K){return typeof K.className==\"string\"?K.className:K.getAttribute&&K.getAttribute(\"class\")||\"\"};\nH2=function(K){return K.classList?K.classList:VdB(K).match(/\\S+/g)||[]};\ng.$w=function(K,R){typeof K.className==\"string\"?K.className=R:K.setAttribute&&K.setAttribute(\"class\",R)};\ng.lp=function(K,R){return K.classList?K.classList.contains(R):g.Ka(H2(K),R)};\ng.dy=function(K,R){if(K.classList)K.classList.add(R);else if(!g.lp(K,R)){var f=VdB(K);g.$w(K,f+(f.length>0?\" \"+R:R))}};\ng.FJ=function(K,R){if(K.classList)Array.prototype.forEach.call(R,function(D){g.dy(K,D)});\nelse{var f={};Array.prototype.forEach.call(H2(K),function(D){f[D]=!0});\nArray.prototype.forEach.call(R,function(D){f[D]=!0});\nR=\"\";for(var V in f)R+=R.length>0?\" \"+V:V;g.$w(K,R)}};\ng.c2=function(K,R){K.classList?K.classList.remove(R):g.lp(K,R)&&g.$w(K,Array.prototype.filter.call(H2(K),function(f){return f!=R}).join(\" \"))};\ng.ry=function(K,R){K.classList?Array.prototype.forEach.call(R,function(f){g.c2(K,f)}):g.$w(K,Array.prototype.filter.call(H2(K),function(f){return!g.Ka(R,f)}).join(\" \"))};\ng.yb=function(K,R,f){f?g.dy(K,R):g.c2(K,R)};\ng.wo=function(K,R){return Sh[d[0]](this,10,K,R)};\nDxe=function(K,R){var f=!g.lp(K,R);g.yb(K,R,f)};\ng.hF=function(){g.vE.call(this);this.U=0;this.endTime=this.startTime=null};\nHw2=function(K,R){Array.isArray(R)||(R=[R]);R=R.map(function(f){return typeof f===\"string\"?f:f.property+\" \"+f.duration+\"s \"+f.timing+\" \"+f.delay+\"s\"});\ng.Ds(K,\"transition\",R.join(\",\"))};\not=function(K,R,f,V,D){g.hF.call(this);this.K=K;this.B=R;this.T=f;this.J=V;this.N=Array.isArray(D)?D:[D]};\n$xG=function(K,R,f,V){return new ot(K,R,{opacity:f},{opacity:V},{property:\"opacity\",duration:R,timing:\"ease-in\",delay:0})};\ndxB=function(K){K=RE(K);if(K==\"\")return null;var R=String(K.slice(0,4)).toLowerCase();if((\"url(\"1||K&&K.split(\")\"),null;if(K.indexOf(\"(\")>0){if(/\"|'/.test(K))return null;R=/([\\-\\w]+)\\(/g;for(var f;f=R.exec(K);)if(!(f[1].toLowerCase()in ld2))return null}return K};\nSy=function(K,R){K=g.Nz[K];return K&&K.prototype?(R=Object.getOwnPropertyDescriptor(K.prototype,R))&&R.get||null:null};\nFsG=function(K){var R=g.Nz.CSSStyleDeclaration;return R&&R.prototype&&R.prototype[K]||null};\ncbc=function(K,R,f,V){if(K)return K.apply(R,V);if(g.ip&&document.documentMode<10){if(!R[f].call)throw Error(\"IE Clobbering detected\");}else if(typeof R[f]!=\"function\")throw Error(\"Clobbering detected\");return R[f].apply(R,V)};\nSE5=function(K){if(!K)return\"\";var R=document.createElement(\"div\").style;rbB(K).forEach(function(f){var V=g.QJ&&f in yb5?f:f.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,\"\");sh(V,\"--\")||sh(V,\"var\")||(f=cbc(hzN,K,K.getPropertyValue?\"getPropertyValue\":\"getAttribute\",[f])||\"\",f=dxB(f),f!=null&&cbc(oYM,R,R.setProperty?\"setProperty\":\"setAttribute\",[V,f]))});\nreturn R.cssText||\"\"};\nrbB=function(K){g.Xp(K)?K=g.$n(K):(K=g.Uh(K),g.fa(K,\"cssText\"));return K};\ng.Le=function(K){var R,f=R=0,V=!1;K=K.split(iwe);for(var D=0;D.4?-1:1;return(R==0?null:R)==-1?\"rtl\":\"ltr\"};\ng.EL=function(K){if(K instanceof wy||K instanceof zm||K instanceof xw)return K;if(typeof K.next==\"function\")return new wy(function(){return K});\nif(typeof K[Symbol.iterator]==\"function\")return new wy(function(){return K[Symbol.iterator]()});\nif(typeof K.tQ==\"function\")return new wy(function(){return K.tQ()});\nthrow Error(\"Not an iterator or iterable.\");};\nwy=function(K){this.K=K};\nzm=function(K){this.K=K};\nxw=function(K){wy.call(this,function(){return K});\nthis.X=K};\nat=function(K,R,f,V,D,H,l,F){this.U=K;this.N=R;this.X=f;this.B=V;this.J=D;this.T=H;this.K=l;this.Z=F};\nQb=function(K,R){if(R==0)return K.U;if(R==1)return K.K;var f=Dz(K.U,K.X,R),V=Dz(K.X,K.J,R);K=Dz(K.J,K.K,R);f=Dz(f,V,R);V=Dz(V,K,R);return Dz(f,V,R)};\nzzz=function(K,R){var f=(R-K.U)/(K.K-K.U);if(f<=0)return 0;if(f>=1)return 1;for(var V=0,D=1,H=0,l=0;l<8;l++){H=Qb(K,f);var F=(Qb(K,f+1E-6)-H)/1E-6;if(Math.abs(H-R)<1E-6)return f;if(Math.abs(F)<1E-6)break;else H1E-6&&l<8;l++)H=0};\ng.tF=function(K){g.O.call(this);this.T=1;this.X=[];this.J=0;this.U=[];this.K={};this.N=!!K};\nEYD=function(K,R,f){g.WE(function(){K.apply(R,f)})};\ng.AF=function(K){this.ZI=K};\nJF=function(K){this.ZI=K};\nadD=function(K){this.data=K};\nQAh=function(K){return K===void 0||K instanceof adD?K:new adD(K)};\nvar Leh=function(K,R){return E5[d[0]](this,1,K,R)};\nZa=function(K){this.ZI=K};\ng.NrG=function(K){var R=K.creation;K=K.expiration;return!!K&&Kg.OS()};\ng.B2=function(K){this.ZI=K};\nUxN=function(){};\nXJ=function(){};\nkw=function(K){this.U=K;this.K=null};\nTm=function(K){if(K.U==null)throw Error(\"Storage mechanism: Storage unavailable\");K.isAvailable()||Is(Error(\"Storage mechanism: Storage unavailable\"))};\nP2=function(){var K=null;try{K=g.Nz.localStorage||null}catch(R){}kw.call(this,K)};\nWse=function(){var K=null;try{K=g.Nz.sessionStorage||null}catch(R){}kw.call(this,K)};\nne=function(K,R){this.K=K;this.U=R+\"::\"};\ng.It=function(K){var R=new P2;return R.isAvailable()?K?new ne(R,K):R:null};\ngy=function(K,R){this.U=K;this.K=R};\nOL=function(K){this.U=[];if(K)a:{if(K instanceof OL){var R=K.hX();K=K.PX();if(this.U.length<=0){for(var f=this.U,V=0;V>>6:(H<65536?F[f++]=224|H>>>12:(F[f++]=240|H>>>18,F[f++]=128|H>>>12&63),F[f++]=128|H>>>\n6&63),F[f++]=128|H&63);return F};\npe=function(K){for(var R=K.length;--R>=0;)K[R]=0};\nYw=function(K,R,f,V,D){this.pE=K;this.NC=R;this.D9=f;this.Iy=V;this.yVQ=D;this.FK=K&&K.length};\nm5=function(K,R){this.JP=K;this.b1=0;this.j_=R};\nGm=function(K,R){K.wD[K.pending++]=R&255;K.wD[K.pending++]=R>>>8&255};\nup=function(K,R,f){K.wm>16-f?(K.yl|=R<>16-K.wm,K.wm+=f-16):(K.yl|=R<>>=1,f<<=1;while(--R>0);return f>>>1};\nBrG=function(K,R,f){var V=Array(16),D=0,H;for(H=1;H<=15;H++)V[H]=D=D+f[H-1]<<1;for(f=0;f<=R;f++)D=K[f*2+1],D!==0&&(K[f*2]=Zw2(V[D]++,D))};\nXKv=function(K){var R;for(R=0;R<286;R++)K.iZ[R*2]=0;for(R=0;R<30;R++)K.H_[R*2]=0;for(R=0;R<19;R++)K.jL[R*2]=0;K.iZ[512]=1;K.DL=K.a4=0;K.cX=K.matches=0};\nkvM=function(K){K.wm>8?Gm(K,K.yl):K.wm>0&&(K.wD[K.pending++]=K.yl);K.yl=0;K.wm=0};\nTr5=function(K,R,f){kvM(K);Gm(K,f);Gm(K,~f);bp.Vo(K.wD,K.window,R,f,K.pending);K.pending+=f};\nP1_=function(K,R,f,V){var D=R*2,H=f*2;return K[D]>>7)];sL(K,l,f);F=VD[l];F!==0&&(D-=Dh[l],up(K,D,F))}}while(V>1;l>=1;l--)Ce(K,f,l);c=H;do l=K.eI[1],K.eI[1]=K.eI[K.UP--],Ce(K,f,1),V=K.eI[1],K.eI[--K.mL]=l,K.eI[--K.mL]=V,f[c*2]=f[l*2]+f[V*2],K.depth[c]=(K.depth[l]>=K.depth[V]?K.depth[l]:K.depth[V])+1,f[l*2+1]=f[V*2+1]=c,K.eI[1]=c++,Ce(K,f,1);while(K.UP>=\n2);K.eI[--K.mL]=K.eI[1];l=R.JP;c=R.b1;V=R.j_.pE;D=R.j_.FK;H=R.j_.NC;var r=R.j_.D9,y=R.j_.yVQ,h,S=0;for(h=0;h<=15;h++)K.rS[h]=0;l[K.eI[K.mL]*2+1]=0;for(R=K.mL+1;R<573;R++){var v=K.eI[R];h=l[l[v*2+1]*2+1]+1;h>y&&(h=y,S++);l[v*2+1]=h;if(!(v>c)){K.rS[h]++;var L=0;v>=r&&(L=H[v-r]);var E=l[v*2];K.DL+=E*(h+L);D&&(K.a4+=E*(V[v*2+1]+L))}}if(S!==0){do{for(h=y-1;K.rS[h]===0;)h--;K.rS[h]--;K.rS[h+1]+=2;K.rS[y]--;S-=2}while(S>0);for(h=y;h!==0;h--)for(v=K.rS[h];v!==0;)V=K.eI[--R],V>c||(l[V*2+1]!==h&&(K.DL+=(h-\nl[V*2+1])*l[V*2],l[V*2+1]=h),v--)}BrG(f,F,K.rS)};\nIdv=function(K,R,f){var V,D=-1,H=R[1],l=0,F=7,c=4;H===0&&(F=138,c=3);R[(f+1)*2+1]=65535;for(V=0;V<=f;V++){var r=H;H=R[(V+1)*2+1];++l>>=1)if(R&1&&K.iZ[f*2]!==0)return 0;if(K.iZ[18]!==0||K.iZ[20]!==0||K.iZ[26]!==0)return 1;for(f=32;f<256;f++)if(K.iZ[f*2]!==0)return 1;return 0};\n$g=function(K,R,f){K.wD[K.Wh+K.cX*2]=R>>>8&255;K.wD[K.Wh+K.cX*2+1]=R&255;K.wD[K.Uh+K.cX]=f&255;K.cX++;R===0?K.iZ[f*2]++:(K.matches++,R--,K.iZ[(ey[f]+256+1)*2]++,K.H_[(R<256?fr[R]:fr[256+(R>>>7)])*2]++);return K.cX===K.Or-1};\ndF=function(K,R){K.msg=lP[R];return R};\nFV=function(K){for(var R=K.length;--R>=0;)K[R]=0};\ncn=function(K){var R=K.state,f=R.pending;f>K.d8&&(f=K.d8);f!==0&&(bp.Vo(K.output,R.wD,R.NL,f,K.u1),K.u1+=f,R.NL+=f,K.Cb+=f,K.d8-=f,R.pending-=f,R.pending===0&&(R.NL=0))};\nhZ=function(K,R){var f=K.Ho>=0?K.Ho:-1,V=K.XR-K.Ho,D=0;if(K.level>0){K.YB.N5===2&&(K.YB.N5=Owo(K));Hn(K,K.Ix);Hn(K,K.TG);Idv(K,K.iZ,K.Ix.b1);Idv(K,K.H_,K.TG.b1);Hn(K,K.mE);for(D=18;D>=3&&K.jL[jAe[D]*2+1]===0;D--);K.DL+=3*(D+1)+5+5+4;var H=K.DL+3+7>>>3;var l=K.a4+3+7>>>3;l<=H&&(H=l)}else H=l=V+5;if(V+4<=H&&f!==-1)up(K,R?1:0,3),Tr5(K,f,V);else if(K.strategy===4||l===H)up(K,2+(R?1:0),3),nYw(K,rF,yD);else{up(K,4+(R?1:0),3);f=K.Ix.b1+1;V=K.TG.b1+1;D+=1;up(K,f-257,5);up(K,V-1,5);up(K,D-4,4);for(H=0;H>>8&255;K.wD[K.pending++]=R&255};\nqE_=function(K,R){var f=K.EE,V=K.XR,D=K.K8,H=K.Y2,l=K.XR>K.uZ-262?K.XR-(K.uZ-262):0,F=K.window,c=K.S_,r=K.WM,y=K.XR+258,h=F[V+D-1],S=F[V+D];K.K8>=K.AA&&(f>>=2);H>K.FR&&(H=K.FR);do{var v=R;if(F[v+D]===S&&F[v+D-1]===h&&F[v]===F[V]&&F[++v]===F[V+1]){V+=2;for(v++;F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&F[++V]===F[++v]&&VD){K.z6=R;D=v;if(v>=H)break;h=F[V+D-1];S=F[V+D]}}}while((R=r[R&c])>l&&--f!==\n0);return D<=K.FR?D:K.FR};\naY=function(K){var R=K.uZ,f;do{var V=K.II-K.FR-K.XR;if(K.XR>=R+(R-262)){bp.Vo(K.window,K.window,R,R,0);K.z6-=R;K.XR-=R;K.Ho-=R;var D=f=K.PN;do{var H=K.head[--D];K.head[D]=H>=R?H-R:0}while(--f);D=f=R;do H=K.WM[--D],K.WM[D]=H>=R?H-R:0;while(--f);V+=R}if(K.YB.wk===0)break;D=K.YB;f=K.window;H=K.XR+K.FR;var l=D.wk;l>V&&(l=V);l===0?f=0:(D.wk-=l,bp.Vo(f,D.input,D.Hq,l,H),D.state.wrap===1?D.un=xg(D.un,f,l,H):D.state.wrap===2&&(D.un=ER(D.un,f,l,H)),D.Hq+=l,D.lG+=l,f=l);K.FR+=f;if(K.FR+K.Am>=3)for(V=K.XR-K.Am,\nK.DJ=K.window[V],K.DJ=(K.DJ<=3&&(K.DJ=(K.DJ<=3)if(f=$g(K,K.XR-K.z6,K.cV-3),K.FR-=K.cV,K.cV<=K.At&&K.FR>=3){K.cV--;do K.XR++,K.DJ=(K.DJ<=3&&(K.DJ=(K.DJ<4096)&&(K.cV=2));if(K.K8>=3&&K.cV<=K.K8){V=K.XR+K.FR-3;f=$g(K,K.XR-1-K.Zw,K.K8-3);K.FR-=K.K8-1;K.K8-=2;do++K.XR<=V&&(K.DJ=(K.DJ<=3&&K.XR>0&&(V=K.XR-1,f=H[V],f===H[++V]&&f===H[++V]&&f===H[++V])){for(D=K.XR+258;f===H[++V]&&f===H[++V]&&f===H[++V]&&f===H[++V]&&f===H[++V]&&f===H[++V]&&f===H[++V]&&f===H[++V]&&VK.FR&&(K.cV=K.FR)}K.cV>=3?(f=$g(K,1,K.cV-3),K.FR-=K.cV,K.XR+=K.cV,K.cV=0):(f=$g(K,0,K.window[K.XR]),K.FR--,K.XR++);if(f&&(hZ(K,!1),K.YB.d8===0))return 1}K.Am=0;return R===\n4?(hZ(K,!0),K.YB.d8===0?3:4):K.cX&&(hZ(K,!1),K.YB.d8===0)?1:2};\nbww=function(K,R){for(var f;;){if(K.FR===0&&(aY(K),K.FR===0)){if(R===0)return 1;break}K.cV=0;f=$g(K,0,K.window[K.XR]);K.FR--;K.XR++;if(f&&(hZ(K,!1),K.YB.d8===0))return 1}K.Am=0;return R===4?(hZ(K,!0),K.YB.d8===0?3:4):K.cX&&(hZ(K,!1),K.YB.d8===0)?1:2};\nUR=function(K,R,f,V,D){this.k$=K;this.wK0=R;this.Nn5=f;this.glt=V;this.func=D};\npKo=function(){this.YB=null;this.status=0;this.wD=null;this.wrap=this.pending=this.NL=this.Ef=0;this.KK=null;this.Um=0;this.method=8;this.FF=-1;this.S_=this.R5=this.uZ=0;this.window=null;this.II=0;this.head=this.WM=null;this.Y2=this.AA=this.strategy=this.level=this.At=this.EE=this.K8=this.FR=this.z6=this.XR=this.Go=this.Zw=this.cV=this.Ho=this.EP=this.b9=this.yS=this.PN=this.DJ=0;this.iZ=new bp.m4(1146);this.H_=new bp.m4(122);this.jL=new bp.m4(78);FV(this.iZ);FV(this.H_);FV(this.jL);this.mE=this.TG=\nthis.Ix=null;this.rS=new bp.m4(16);this.eI=new bp.m4(573);FV(this.eI);this.mL=this.UP=0;this.depth=new bp.m4(573);FV(this.depth);this.wm=this.yl=this.Am=this.matches=this.a4=this.DL=this.Wh=this.cX=this.Or=this.Uh=0};\nYEN=function(K,R){if(!K||!K.state||R>5||R<0)return K?dF(K,-2):-2;var f=K.state;if(!K.output||!K.input&&K.wk!==0||f.status===666&&R!==4)return dF(K,K.d8===0?-5:-2);f.YB=K;var V=f.FF;f.FF=R;if(f.status===42)if(f.wrap===2)K.un=0,oY(f,31),oY(f,139),oY(f,8),f.KK?(oY(f,(f.KK.text?1:0)+(f.KK.VC?2:0)+(f.KK.extra?4:0)+(f.KK.name?8:0)+(f.KK.comment?16:0)),oY(f,f.KK.time&255),oY(f,f.KK.time>>8&255),oY(f,f.KK.time>>16&255),oY(f,f.KK.time>>24&255),oY(f,f.level===9?2:f.strategy>=2||f.level<2?4:0),oY(f,f.KK.os&\n255),f.KK.extra&&f.KK.extra.length&&(oY(f,f.KK.extra.length&255),oY(f,f.KK.extra.length>>8&255)),f.KK.VC&&(K.un=ER(K.un,f.wD,f.pending,0)),f.Um=0,f.status=69):(oY(f,0),oY(f,0),oY(f,0),oY(f,0),oY(f,0),oY(f,f.level===9?2:f.strategy>=2||f.level<2?4:0),oY(f,3),f.status=113);else{var D=8+(f.R5-8<<4)<<8;D|=(f.strategy>=2||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6;f.XR!==0&&(D|=32);f.status=113;zI(f,D+(31-D%31));f.XR!==0&&(zI(f,K.un>>>16),zI(f,K.un&65535));K.un=1}if(f.status===69)if(f.KK.extra){for(D=\nf.pending;f.Um<(f.KK.extra.length&65535)&&(f.pending!==f.Ef||(f.KK.VC&&f.pending>D&&(K.un=ER(K.un,f.wD,f.pending-D,D)),cn(K),D=f.pending,f.pending!==f.Ef));)oY(f,f.KK.extra[f.Um]&255),f.Um++;f.KK.VC&&f.pending>D&&(K.un=ER(K.un,f.wD,f.pending-D,D));f.Um===f.KK.extra.length&&(f.Um=0,f.status=73)}else f.status=73;if(f.status===73)if(f.KK.name){D=f.pending;do{if(f.pending===f.Ef&&(f.KK.VC&&f.pending>D&&(K.un=ER(K.un,f.wD,f.pending-D,D)),cn(K),D=f.pending,f.pending===f.Ef)){var H=1;break}H=f.UmD&&(K.un=ER(K.un,f.wD,f.pending-D,D));H===0&&(f.Um=0,f.status=91)}else f.status=91;if(f.status===91)if(f.KK.comment){D=f.pending;do{if(f.pending===f.Ef&&(f.KK.VC&&f.pending>D&&(K.un=ER(K.un,f.wD,f.pending-D,D)),cn(K),D=f.pending,f.pending===f.Ef)){H=1;break}H=f.UmD&&(K.un=ER(K.un,f.wD,f.pending-D,D));H===0&&(f.status=103)}else f.status=\n103;f.status===103&&(f.KK.VC?(f.pending+2>f.Ef&&cn(K),f.pending+2<=f.Ef&&(oY(f,K.un&255),oY(f,K.un>>8&255),K.un=0,f.status=113)):f.status=113);if(f.pending!==0){if(cn(K),K.d8===0)return f.FF=-1,0}else if(K.wk===0&&(R<<1)-(R>4?9:0)<=(V<<1)-(V>4?9:0)&&R!==4)return dF(K,-5);if(f.status===666&&K.wk!==0)return dF(K,-5);if(K.wk!==0||f.FR!==0||R!==0&&f.status!==666){V=f.strategy===2?bww(f,R):f.strategy===3?MdN(f,R):Wn[f.level].func(f,R);if(V===3||V===4)f.status=666;if(V===1||V===3)return K.d8===0&&(f.FF=\n-1),0;if(V===2&&(R===1?(up(f,2,3),sL(f,256,rF),f.wm===16?(Gm(f,f.yl),f.yl=0,f.wm=0):f.wm>=8&&(f.wD[f.pending++]=f.yl&255,f.yl>>=8,f.wm-=8)):R!==5&&(up(f,0,3),Tr5(f,0,0),R===3&&(FV(f.head),f.FR===0&&(f.XR=0,f.Ho=0,f.Am=0))),cn(K),K.d8===0))return f.FF=-1,0}if(R!==4)return 0;if(f.wrap<=0)return 1;f.wrap===2?(oY(f,K.un&255),oY(f,K.un>>8&255),oY(f,K.un>>16&255),oY(f,K.un>>24&255),oY(f,K.lG&255),oY(f,K.lG>>8&255),oY(f,K.lG>>16&255),oY(f,K.lG>>24&255)):(zI(f,K.un>>>16),zI(f,K.un&65535));cn(K);f.wrap>0&&\n(f.wrap=-f.wrap);return f.pending!==0?0:1};\ntZ=function(K){if(!(this instanceof tZ))return new tZ(K);K=this.options=bp.assign({level:-1,method:8,chunkSize:16384,p6:15,MyD:8,strategy:0,to:\"\"},K||{});K.raw&&K.p6>0?K.p6=-K.p6:K.jn&&K.p6>0&&K.p6<16&&(K.p6+=16);this.err=0;this.msg=\"\";this.ended=!1;this.chunks=[];this.YB=new mxN;this.YB.d8=0;var R=this.YB;var f=K.level,V=K.method,D=K.p6,H=K.MyD,l=K.strategy;if(R){var F=1;f===-1&&(f=6);D<0?(F=0,D=-D):D>15&&(F=2,D-=16);if(H<1||H>9||V!==8||D<8||D>15||f<0||f>9||l<0||l>4)R=dF(R,-2);else{D===8&&(D=9);\nvar c=new pKo;R.state=c;c.YB=R;c.wrap=F;c.KK=null;c.R5=D;c.uZ=1<>=7;H<30;H++)for(Dh[H]=l<<7,D=0;D<1<=r.uZ&&(R===0&&(FV(r.head),r.XR=0,r.Ho=0,r.Am=0),f=new bp.nH(r.uZ),bp.Vo(f,H,l-r.uZ,r.uZ,0),H=f,l=r.uZ);f=K.wk;V=K.Hq;D=K.input;K.wk=l;K.Hq=0;K.input=H;for(aY(r);r.FR>=3;){H=r.XR;l=r.FR-2;do r.DJ=(r.DJ<1?R[K[0]]=K[1]:K.length===1&&Object.assign(R,K[0])};\ng.KI=function(K,R){return K in Cr?Cr[K]:R};\nR9=function(K){var R=Cr.EXPERIMENT_FLAGS;return R?R[K]:void 0};\nioM=function(K){fI.forEach(function(R){return R(K)})};\ng.DY=function(K){return K&&window.yterr?function(){try{return K.apply(this,arguments)}catch(R){g.V2(R)}}:K};\ng.V2=function(K){var R=g.t_(\"yt.logging.errors.log\");R?R(K,\"ERROR\",void 0,void 0,void 0,void 0,void 0):(R=g.KI(\"ERRORS\",[]),R.push([K,\"ERROR\",void 0,void 0,void 0,void 0,void 0]),eK(\"ERRORS\",R));ioM(K)};\nHS=function(K,R,f,V,D){var H=g.t_(\"yt.logging.errors.log\");H?H(K,\"WARNING\",R,f,V,void 0,D):(H=g.KI(\"ERRORS\",[]),H.push([K,\"WARNING\",R,f,V,void 0,D]),eK(\"ERRORS\",H))};\n$A=function(K,R){R=K.split(R);for(var f={},V=0,D=R.length;V1?K[1]:K[0])):{}};\ncS=function(K,R){return z3B(K,R||{},!0)};\nrG=function(K,R){return z3B(K,R||{},!1)};\nz3B=function(K,R,f){var V=K.split(\"#\",2);K=V[0];V=V.length>1?\"#\"+V[1]:\"\";var D=K.split(\"?\",2);K=D[0];D=Iw(D[1]||\"\");for(var H in R)if(f||!g.th(D,H))D[H]=R[H];return g.B9(K,D)+V};\ny2=function(K){if(!R)var R=window.location.href;var f=g.Qu(K)[1]||null,V=g.Nw(K);f&&V?(K=g.Qu(K),R=g.Qu(R),K=K[3]==R[3]&&K[1]==R[1]&&K[4]==R[4]):K=V?g.Nw(R)===V&&(Number(g.Qu(R)[4]||null)||null)===(Number(g.Qu(K)[4]||null)||null):!0;return K};\nhm=function(K){K||(K=document.location.href);K=g.Qu(K)[1]||null;return K!==null&&K===\"https\"};\no9=function(K){K=xtM(K);return K===null?!1:K[0]===\"com\"&&K[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1};\nEdz=function(K){K=xtM(K);return K===null?!1:K[1]===\"google\"?!0:K[2]===\"google\"?K[0]===\"au\"&&K[1]===\"com\"?!0:K[0]===\"uk\"&&K[1]===\"co\"?!0:!1:!1};\nxtM=function(K){K=g.Nw(K);return K!==null?K.split(\".\").reverse():null};\nvd2=function(K){return K&&K.match(acw)?K:bm(K)};\nvS=function(K){var R=SO;K=K===void 0?odc():K;var f=Object,V=f.assign,D=ij(R);var H=R.U;try{var l=H.screenX;var F=H.screenY}catch(J){}try{var c=H.outerWidth;var r=H.outerHeight}catch(J){}try{var y=H.innerWidth;var h=H.innerHeight}catch(J){}try{var S=H.screenLeft;var v=H.screenTop}catch(J){}try{y=H.innerWidth,h=H.innerHeight}catch(J){}try{var L=H.screen.availWidth;var E=H.screen.availTop}catch(J){}H=[S,v,l,F,L,E,c,r,y,h];l=x8N(!1,R.U.top);F={};var Q=Q===void 0?g.Nz:Q;c=new pW;\"SVGElement\"in Q&&\"createElementNS\"in\nQ.document&&c.set(0);r=TJ2();r[\"allow-top-navigation-by-user-activation\"]&&c.set(1);r[\"allow-popups-to-escape-sandbox\"]&&c.set(2);Q.crypto&&Q.crypto.subtle&&c.set(3);\"TextDecoder\"in Q&&\"TextEncoder\"in Q&&c.set(4);Q=Ks2(c);R=(F.bc=Q,F.bih=l.height,F.biw=l.width,F.brdim=H.join(),F.vis=z4(R.K),F.wgl=!!bu.WebGLRenderingContext,F);f=V.call(f,D,R);f.ca_type=\"image\";K&&(f.bid=K);return f};\nij=function(K){var R={};R.dt=QrG;R.flash=\"0\";a:{try{var f=K.U.top.location.href}catch(r){K=2;break a}K=f?f===K.K.location.href?0:1:2}R=(R.frm=K,R);try{R.u_tz=-(new Date).getTimezoneOffset();try{var V=bu.history.length}catch(r){V=0}R.u_his=V;var D;R.u_h=(D=bu.screen)==null?void 0:D.height;var H;R.u_w=(H=bu.screen)==null?void 0:H.width;var l;R.u_ah=(l=bu.screen)==null?void 0:l.availHeight;var F;R.u_aw=(F=bu.screen)==null?void 0:F.availWidth;var c;R.u_cd=(c=bu.screen)==null?void 0:c.colorDepth}catch(r){}return R};\nUtM=function(){if(!NCB)return null;var K=NCB();return\"open\"in K?K:null};\ng.wG=function(K){switch(LI(K)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};\nLI=function(K){return K&&\"status\"in K?K.status:-1};\ng.zs=function(K,R){typeof K===\"function\"&&(K=g.DY(K));return window.setTimeout(K,R)};\ng.xA=function(K,R){typeof K===\"function\"&&(K=g.DY(K));return window.setInterval(K,R)};\ng.E$=function(K){window.clearTimeout(K)};\ng.a9=function(K){window.clearInterval(K)};\ng.No=function(K){K=Q2(K);return typeof K===\"string\"&&K===\"false\"?!1:!!K};\nvar DBB=function(K){return Az[d[0]](this,12,K)};\ng.U$=function(K,R){K=Q2(K);return K===void 0&&R!==void 0?R:Number(K||0)};\nWS=function(){return g.KI(\"EXPERIMENTS_TOKEN\",\"\")};\nQ2=function(K){return g.KI(\"EXPERIMENT_FLAGS\",{})[K]};\ntm=function(){for(var K=[],R=g.KI(\"EXPERIMENTS_FORCED_FLAGS\",{}),f=g.Z(Object.keys(R)),V=f.next();!V.done;V=f.next())V=V.value,K.push({key:V,value:String(R[V])});f=g.KI(\"EXPERIMENT_FLAGS\",{});V=g.Z(Object.keys(f));for(var D=V.next();!D.done;D=V.next())D=D.value,D.startsWith(\"force_\")&&R[D]===void 0&&K.push({key:D,value:String(f[D])});return K};\nAm=function(K,R,f,V,D,H,l,F,c){function r(){(y&&\"readyState\"in y?y.readyState:0)===4&&R&&g.DY(R)(y)}\nf=f===void 0?\"GET\":f;V=V===void 0?\"\":V;F=F===void 0?!1:F;var y=UtM();if(!y)return null;\"onloadend\"in y?y.addEventListener(\"loadend\",r,!1):y.onreadystatechange=r;g.No(\"debug_forward_web_query_parameters\")&&(K=Wq_(K));y.open(f,K,!0);H&&(y.responseType=H);l&&(y.withCredentials=!0);f=f===\"POST\"&&(window.FormData===void 0||!(V instanceof FormData));if(D=toc(K,D))for(var h in D)y.setRequestHeader(h,D[h]),\"content-type\"===h.toLowerCase()&&(f=!1);f&&y.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded\");\nc&&\"onprogress\"in y&&(y.onprogress=function(){c(y.responseText)});\nif(F&&\"setAttributionReporting\"in XMLHttpRequest.prototype){K={eventSourceEligible:!0,triggerEligible:!1};try{y.setAttributionReporting(K)}catch(S){HS(S)}}y.send(V);return y};\ntoc=function(K,R){R=R===void 0?{}:R;var f=y2(K),V=g.KI(\"INNERTUBE_CLIENT_NAME\"),D=g.No(\"web_ajax_ignore_global_headers_if_set\"),H;for(H in AAe){var l=g.KI(AAe[H]),F=H===\"X-Goog-AuthUser\"||H===\"X-Goog-PageId\";H!==\"X-Goog-Visitor-Id\"||l||(l=g.KI(\"VISITOR_DATA\"));var c;if(!(c=!l)){if(!(c=f||(g.Nw(K)?!1:!0))){c=K;var r;if(r=g.No(\"add_auth_headers_to_remarketing_google_dot_com_ping\")&&H===\"Authorization\"&&(V===\"TVHTML5\"||V===\"TVHTML5_UNPLUGGED\"||V===\"TVHTML5_SIMPLY\")&&Edz(c))c=U0(c)||\"\",c=c.split(\"/\"),\nc=\"/\"+(c.length>1?c[1]:\"\"),r=c===\"/pagead\";c=r?!0:!1}c=!c}c||D&&R[H]!==void 0||V===\"TVHTML5_UNPLUGGED\"&&F||(R[H]=l)}\"X-Goog-EOM-Visitor-Id\"in R&&\"X-Goog-Visitor-Id\"in R&&delete R[\"X-Goog-Visitor-Id\"];if(f||!g.Nw(K))R[\"X-YouTube-Utc-Offset\"]=String(-(new Date).getTimezoneOffset());if(f||!g.Nw(K)){try{var y=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(h){}y&&(R[\"X-YouTube-Time-Zone\"]=y)}document.location.hostname.endsWith(\"youtubeeducation.com\")||!f&&g.Nw(K)||(R[\"X-YouTube-Ad-Signals\"]=\nlj(vS()));return R};\nZY=function(K,R){R.method=\"POST\";R.postParams||(R.postParams={});return g.Jm(K,R)};\nBCD=function(K,R){if(window.fetch&&R.format!==\"XML\"){var f={method:R.method||\"GET\",credentials:\"same-origin\"};R.headers&&(f.headers=R.headers);R.priority&&(f.priority=R.priority);K=JA5(K,R);var V=ZoG(K,R);V&&(f.body=V);R.withCredentials&&(f.credentials=\"include\");var D=R.context||g.Nz,H=!1,l;fetch(K,f).then(function(F){if(!H){H=!0;l&&g.E$(l);var c=F.ok,r=function(y){y=y||{};c?R.onSuccess&&R.onSuccess.call(D,y,F):R.onError&&R.onError.call(D,y,F);R.onFinish&&R.onFinish.call(D,y,F)};\n(R.format||\"JSON\")===\"JSON\"&&(c||F.status>=400&&F.status<500)?F.json().then(r,function(){r(null)}):r(null)}}).catch(function(){R.onError&&R.onError.call(D,{},{})});\nK=R.timeout||0;R.onFetchTimeout&&K>0&&(l=g.zs(function(){H||(H=!0,g.E$(l),R.onFetchTimeout.call(R.context||g.Nz))},K))}else g.Jm(K,R)};\ng.Jm=function(K,R){var f=R.format||\"JSON\";K=JA5(K,R);var V=ZoG(K,R),D=!1,H=XE2(K,function(c){if(!D){D=!0;F&&g.E$(F);var r=g.wG(c),y=null,h=400<=c.status&&c.status<500,S=500<=c.status&&c.status<600;if(r||h||S)y=kth(K,f,c,R.convertToSafeHtml);r&&(r=TCo(f,c,y));y=y||{};h=R.context||g.Nz;r?R.onSuccess&&R.onSuccess.call(h,c,y):R.onError&&R.onError.call(h,c,y);R.onFinish&&R.onFinish.call(h,c,y)}},R.method,V,R.headers,R.responseType,R.withCredentials,!1,R.onProgress);\nV=R.timeout||0;if(R.onTimeout&&V>0){var l=R.onTimeout;var F=g.zs(function(){D||(D=!0,H.abort(),g.E$(F),l.call(R.context||g.Nz,H))},V)}return H};\nJA5=function(K,R){R.includeDomain&&(K=document.location.protocol+\"//\"+document.location.hostname+(document.location.port?\":\"+document.location.port:\"\")+K);var f=g.KI(\"XSRF_FIELD_NAME\");if(R=R.urlParams)R[f]&&delete R[f],K=cS(K,R);return K};\nZoG=function(K,R){var f=g.KI(\"XSRF_FIELD_NAME\"),V=g.KI(\"XSRF_TOKEN\"),D=R.postBody||\"\",H=R.postParams,l=g.KI(\"XSRF_FIELD_NAME\"),F;R.headers&&(F=R.headers[\"Content-Type\"]);R.excludeXsrf||g.Nw(K)&&!R.withCredentials&&g.Nw(K)!==document.location.hostname||R.method!==\"POST\"||F&&F!==\"application/x-www-form-urlencoded\"||R.postParams&&R.postParams[l]||(H||(H={}),H[f]=V);(g.No(\"ajax_parse_query_data_only_when_filled\")&&H&&Object.keys(H).length>0||H)&&typeof D===\"string\"&&(D=Iw(D),g.na(D,H),D=R.postBodyFormat&&\nR.postBodyFormat===\"JSON\"?JSON.stringify(D):g.Zj(D));H=D||H&&!g.ZL(H);!PX5&&H&&R.method!==\"POST\"&&(PX5=!0,g.V2(Error(\"AJAX request with postData should use POST\")));return D};\nkth=function(K,R,f,V){var D=null;switch(R){case \"JSON\":try{var H=f.responseText}catch(l){throw V=Error(\"Error reading responseText\"),V.params=K,HS(V),l;}K=f.getResponseHeader(\"Content-Type\")||\"\";H&&K.indexOf(\"json\")>=0&&(H.substring(0,5)===\")]}'\\n\"&&(H=H.substring(5)),D=JSON.parse(H));break;case \"XML\":if(K=(K=f.responseXML)?ndM(K):null)D={},g.La(K.getElementsByTagName(\"*\"),function(l){D[l.tagName]=Icz(l)})}V&&gdB(D);\nreturn D};\ngdB=function(K){if(g.kV(K))for(var R in K)R===\"html_content\"||c_c(R,\"_html\")?K[R]=Jl(K[R]):gdB(K[R])};\nTCo=function(K,R,f){if(R&&R.status===204)return!0;switch(K){case \"JSON\":return!!f;case \"XML\":return Number(f&&f.return_code)===0;case \"RAW\":return!0;default:return!!f}};\nndM=function(K){return K?(K=(\"responseXML\"in K?K.responseXML:K).getElementsByTagName(\"root\"))&&K.length>0?K[0]:null:null};\nIcz=function(K){var R=\"\";g.La(K.childNodes,function(f){R+=f.nodeValue});\nreturn R};\nWq_=function(K){var R=window.location.search,f=g.Nw(K);g.No(\"debug_handle_relative_url_for_query_forward_killswitch\")||!f&&y2(K)&&(f=document.location.hostname);var V=U0(K);V=(f=f&&(f.endsWith(\"youtube.com\")||f.endsWith(\"youtube-nocookie.com\")))&&V&&V.startsWith(\"/api/\");if(!f||V)return K;var D=Iw(R),H={};g.La(Oow,function(l){D[l]&&(H[l]=D[l])});\nreturn rG(K,H)};\nXN=function(K,R){var f=g.kn(R),V;return(new g.AA(function(D,H){f.onSuccess=function(l){g.wG(l)?D(new jrv(l)):H(new BS(\"Request failed, status=\"+LI(l),\"net.badstatus\",l))};\nf.onError=function(l){H(new BS(\"Unknown request error\",\"net.unknown\",l))};\nf.onTimeout=function(l){H(new BS(\"Request timed out\",\"net.timeout\",l))};\nV=g.Jm(K,f)})).rk(function(D){if(D instanceof Tt){var H;\n(H=V)==null||H.abort()}return BE(D)})};\ng.kA=function(K,R,f,V,D,H){function l(c,r,y){return c.rk(function(h){if(r<=0||LI(h.xhr)===403)return BE(new BS(\"Request retried too many times\",\"net.retryexhausted\",h.xhr,h));var S=Math.pow(2,f-r+1)*y,v=D>0?Math.min(D,S):S;return F(y).then(function(){H&&H(h,r-1);return l(XN(K,R),r-1,v)})})}\nfunction F(c){return new g.AA(function(r){setTimeout(r,c)})}\nD=D===void 0?-1:D;return l(XN(K,R),f-1,V)};\nBS=function(K,R,f){bE.call(this,K+\", errorCode=\"+R);this.errorCode=R;this.xhr=f;this.name=\"PromiseAjaxError\"};\njrv=function(K){this.xhr=K};\nTs=function(K){this.U=K===void 0?null:K;this.X=0;this.K=null};\nPS=function(K){var R=new Ts;K=K===void 0?null:K;R.X=2;R.K=K===void 0?null:K;return R};\nnI=function(K){var R=new Ts;K=K===void 0?null:K;R.X=1;R.K=K===void 0?null:K;return R};\ng.O$=function(K,R,f,V,D){I9||gG.set(\"\"+K,R,{nJ:f,path:\"/\",domain:V===void 0?\"youtube.com\":V,secure:D===void 0?!1:D})};\ng.jO=function(K,R){if(!I9)return gG.get(\"\"+K,R)};\ng.qo=function(K,R,f){I9||gG.remove(\"\"+K,R===void 0?\"/\":R,f===void 0?\"youtube.com\":f)};\nqdw=function(){if(g.No(\"embeds_web_enable_cookie_detection_fix\")){if(!g.Nz.navigator.cookieEnabled)return!1}else if(!gG.isEnabled())return!1;if(!gG.isEmpty())return!0;g.No(\"embeds_web_enable_cookie_detection_fix\")?gG.set(\"TESTCOOKIESENABLED\",\"1\",{nJ:60,sameSite:\"none\",secure:!0}):gG.set(\"TESTCOOKIESENABLED\",\"1\",{nJ:60});if(gG.get(\"TESTCOOKIESENABLED\")!==\"1\")return!1;gG.remove(\"TESTCOOKIESENABLED\");return!0};\ng.z=function(K,R){if(K)return K[R.name]};\nMo=function(K){var R=g.KI(\"INNERTUBE_HOST_OVERRIDE\");R&&(K=String(R)+String(W9(K)));return K};\nMoM=function(K){var R={};g.No(\"json_condensed_response\")&&(R.prettyPrint=\"false\");return K=rG(K,R)};\nbj=function(K,R){var f=f===void 0?{}:f;K={method:R===void 0?\"POST\":R,mode:y2(K)?\"same-origin\":\"cors\",credentials:y2(K)?\"same-origin\":\"include\"};R={};for(var V=g.Z(Object.keys(f)),D=V.next();!D.done;D=V.next())D=D.value,f[D]&&(R[D]=f[D]);Object.keys(R).length>0&&(K.headers=R);return K};\npI=function(){var K=/Chrome\\/(\\d+)/.exec(g.DP());return K?parseFloat(K[1]):NaN};\nYA=function(){var K=/\\sCobalt\\/(\\S+)\\s/.exec(g.DP());if(!K)return NaN;var R=[];K=g.Z(K[1].split(\".\"));for(var f=K.next();!f.done;f=K.next())f=parseInt(f.value,10),f>=0&&R.push(f);return parseFloat(R.join(\".\"))};\nGs=function(){return g.mO(\"android\")&&g.mO(\"chrome\")&&!(g.mO(\"trident/\")||g.mO(\"edge/\"))&&!g.mO(\"cobalt\")};\ng.uj=function(){return g.mO(\"cobalt\")};\ns$=function(){return g.mO(\"cobalt\")&&g.mO(\"appletv\")};\nCI=function(){return g.mO(\"(ps3; leanback shell)\")||g.mO(\"ps3\")&&g.uj()};\nboG=function(){return g.mO(\"(ps4; leanback shell)\")||g.mO(\"ps4\")&&g.uj()};\ng.pEw=function(){return g.uj()&&(g.mO(\"ps4 vr\")||g.mO(\"ps4 pro vr\"))};\neO=function(){var K=/WebKit\\/([0-9]+)/.exec(g.DP());return!!(K&&parseInt(K[1],10)>=600)};\nK4=function(){var K=/WebKit\\/([0-9]+)/.exec(g.DP());return!!(K&&parseInt(K[1],10)>=602)};\nYd5=function(){return g.mO(\"iemobile\")||g.mO(\"windows phone\")&&g.mO(\"edge\")};\nVP=function(){return(Ra||f4)&&g.mO(\"applewebkit\")&&!g.mO(\"version\")&&(!g.mO(\"safari\")||g.mO(\"gsa/\"))};\nHe=function(){return g.Dx&&g.mO(\"version/\")};\n$c=function(){return g.mO(\"smart-tv\")&&g.mO(\"samsung\")};\ng.mO=function(K){var R=g.DP();return R?R.toLowerCase().indexOf(K)>=0:!1};\nle=function(){return a8v()||VP()||He()?!0:g.KI(\"EOM_VISITOR_DATA\")?!1:!0};\ndm=function(K,R){return R===void 0||R===null?K:R===\"1\"||R===!0||R===1||R===\"True\"?!0:!1};\nF4=function(K,R,f){for(var V in f)if(f[V]==R)return f[V];return K};\nce=function(K,R){return R===void 0||R===null?K:Number(R)};\nrm=function(K,R){return R===void 0||R===null?K:R.toString()};\nyP=function(K,R){if(R){if(K===\"fullwidth\")return Infinity;if(K===\"fullheight\")return 0}return K&&(R=K.match(mt_))&&(K=Number(R[2]),R=Number(R[1]),!isNaN(K)&&!isNaN(R)&&K>0)?R/K:NaN};\nhq=function(K){var R=K.docid||K.video_id||K.videoId||K.id;if(R)return R;R=K.raw_player_response;R||(K=K.player_response)&&(R=JSON.parse(K));return R&&R.videoDetails&&R.videoDetails.videoId||null};\nGtB=function(K){return oa(K,!1)===\"EMBEDDED_PLAYER_MODE_PFL\"};\ng.Sz=function(K){return K===\"EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT\"||K===\"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\"?!0:!1};\noa=function(K,R){R=(R===void 0?0:R)?\"EMBEDDED_PLAYER_MODE_DEFAULT\":\"EMBEDDED_PLAYER_MODE_UNKNOWN\";window.location.hostname.includes(\"youtubeeducation.com\")&&(R=\"EMBEDDED_PLAYER_MODE_PFL\");var f=K.raw_embedded_player_response;if(!f&&(K=K.embedded_player_response))try{f=JSON.parse(K)}catch(V){return R}return f?F4(R,f.embeddedPlayerMode,u3_):R};\nve=function(K){bE.call(this,K.message||K.description||K.name);this.isMissing=K instanceof ie;this.isTimeout=K instanceof BS&&K.errorCode==\"net.timeout\";this.isCanceled=K instanceof Tt};\nie=function(){bE.call(this,\"Biscotti ID is missing from server\")};\nsrv=function(){if(g.No(\"disable_biscotti_fetch_entirely_for_all_web_clients\"))return Error(\"Biscotti id fetching has been disabled entirely.\");if(!le())return Error(\"User has not consented - not fetching biscotti id.\");var K=g.KI(\"PLAYER_VARS\",{});if(g.By(K,\"privembed\",!1)==\"1\")return Error(\"Biscotti ID is not available in private embed mode\");if(GtB(K))return Error(\"Biscotti id fetching has been disabled for pfl.\")};\nRUz=function(){var K=srv();if(K!==void 0)return BE(K);L4||(L4=XN(\"//googleads.g.doubleclick.net/pagead/id\",CXG).then(e3o).rk(function(R){return Kt_(2,R)}));\nreturn L4};\ne3o=function(K){K=K.xhr.responseText;if(!sh(K,\")]}'\"))throw new ie;K=JSON.parse(K.substr(4));if((K.type||1)>1)throw new ie;K=K.id;Sdo(K);L4=nI(K);fEe(18E5,2);return K};\nKt_=function(K,R){R=new ve(R);Sdo(\"\");L4=PS(R);K>0&&fEe(12E4,K-1);throw R;};\nfEe=function(K,R){g.zs(function(){XN(\"//googleads.g.doubleclick.net/pagead/id\",CXG).then(e3o,function(f){return Kt_(R,f)}).rk(g.YU)},K)};\nVgB=function(){try{var K=g.t_(\"yt.ads.biscotti.getId_\");return K?K():RUz()}catch(R){return BE(R)}};\nHgc=function(K){K&&(K.dataset?K.dataset[DXv()]=\"true\":NWG(K))};\n$XD=function(K){return K?K.dataset?K.dataset[DXv()]:K.getAttribute(\"data-loaded\"):null};\nDXv=function(){return lE2.loaded||(lE2.loaded=\"loaded\".replace(/\\-([a-z])/g,function(K,R){return R.toUpperCase()}))};\ndXM=function(){var K=document;if(\"visibilityState\"in K)return K.visibilityState;var R=wm+\"VisibilityState\";if(R in K)return K[R]};\nzk=function(K,R){var f;V3(K,function(V){f=R[V];return!!f});\nreturn f};\nxc=function(K){if(K.requestFullscreen)K=K.requestFullscreen(void 0);else if(K.webkitRequestFullscreen)K=K.webkitRequestFullscreen();else if(K.mozRequestFullScreen)K=K.mozRequestFullScreen();else if(K.msRequestFullscreen)K=K.msRequestFullscreen();else if(K.webkitEnterFullscreen)K=K.webkitEnterFullscreen();else return Promise.reject(Error(\"Fullscreen API unavailable\"));return K instanceof Promise?K:Promise.resolve()};\nQP=function(K){var R;g.EX()?aa()==K&&(R=document):R=K;return R&&(K=zk([\"exitFullscreen\",\"webkitExitFullscreen\",\"mozCancelFullScreen\",\"msExitFullscreen\"],R))?(R=K.call(R),R instanceof Promise?R:Promise.resolve()):Promise.resolve()};\nFtG=function(K){return g.G$([\"fullscreenchange\",\"webkitfullscreenchange\",\"mozfullscreenchange\",\"MSFullscreenChange\"],function(R){return\"on\"+R.toLowerCase()in K})};\ncnv=function(){var K=document;return g.G$([\"fullscreenerror\",\"webkitfullscreenerror\",\"mozfullscreenerror\",\"MSFullscreenError\"],function(R){return\"on\"+R.toLowerCase()in K})};\ng.EX=function(){return!!zk([\"fullscreenEnabled\",\"webkitFullscreenEnabled\",\"mozFullScreenEnabled\",\"msFullscreenEnabled\"],document)};\naa=function(K){K=K===void 0?!1:K;var R=zk([\"fullscreenElement\",\"webkitFullscreenElement\",\"mozFullScreenElement\",\"msFullscreenElement\"],document);if(K)for(;R&&R.shadowRoot;)R=R.shadowRoot.fullscreenElement;return R?R:null};\nNm=function(K){this.type=\"\";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(K=K||window.event){this.event=K;for(var R in K)R in rn5||(this[R]=K[R]);this.scale=K.scale;this.rotation=K.rotation;var f=K.target||K.srcElement;f&&f.nodeType==3&&(f=f.parentNode);this.target=f;var V=K.relatedTarget;\nif(V)try{V=V.nodeName?V:null}catch(D){V=null}else this.type==\"mouseover\"?V=K.fromElement:this.type==\"mouseout\"&&(V=K.toElement);this.relatedTarget=V;this.clientX=K.clientX!=void 0?K.clientX:K.pageX;this.clientY=K.clientY!=void 0?K.clientY:K.pageY;this.keyCode=K.keyCode?K.keyCode:K.which;this.charCode=K.charCode||(this.type==\"keypress\"?this.keyCode:0);this.altKey=K.altKey;this.ctrlKey=K.ctrlKey;this.shiftKey=K.shiftKey;this.metaKey=K.metaKey;this.U=K.pageX;this.K=K.pageY}}catch(D){}};\nyno=function(K){if(document.body&&document.documentElement){var R=document.body.scrollTop+document.documentElement.scrollTop;K.U=K.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);K.K=K.clientY+R}};\nhUB=function(K,R,f,V){V=V===void 0?{}:V;K.addEventListener&&(R!=\"mouseenter\"||\"onmouseenter\"in document?R!=\"mouseleave\"||\"onmouseenter\"in document?R==\"mousewheel\"&&\"MozBoxSizing\"in document.documentElement.style&&(R=\"MozMousePixelScroll\"):R=\"mouseout\":R=\"mouseover\");return Jh(UX,function(D){var H=typeof D[4]===\"boolean\"&&D[4]==!!V,l=g.kV(D[4])&&g.kV(V)&&g.Xl(D[4],V);return!!D.length&&D[0]==K&&D[1]==R&&D[2]==f&&(H||l)})};\ng.We=function(K,R,f,V){V=V===void 0?{}:V;if(!K||!K.addEventListener&&!K.attachEvent)return\"\";var D=hUB(K,R,f,V);if(D)return D;D=++oLw.count+\"\";var H=!(R!=\"mouseenter\"&&R!=\"mouseleave\"||!K.addEventListener||\"onmouseenter\"in document);var l=H?function(F){F=new Nm(F);if(!Iz(F.relatedTarget,function(c){return c==K},!0))return F.currentTarget=K,F.type=R,f.call(K,F)}:function(F){F=new Nm(F);\nF.currentTarget=K;return f.call(K,F)};\nl=g.DY(l);K.addEventListener?(R==\"mouseenter\"&&H?R=\"mouseover\":R==\"mouseleave\"&&H?R=\"mouseout\":R==\"mousewheel\"&&\"MozBoxSizing\"in document.documentElement.style&&(R=\"MozMousePixelScroll\"),SxB()||typeof V===\"boolean\"?K.addEventListener(R,l,V):K.addEventListener(R,l,!!V.capture)):K.attachEvent(\"on\"+R,l);UX[D]=[K,R,f,l,V];return D};\nvLe=function(K){return igB(K,function(R){return g.lp(R,\"ytp-ad-has-logging-urls\")})};\nigB=function(K,R){var f=document.body||document;return g.We(f,\"click\",function(V){var D=Iz(V.target,function(H){return H===f||R(H)},!0);\nD&&D!==f&&!D.disabled&&(V.currentTarget=D,K.call(D,V))})};\ng.tq=function(K){K&&(typeof K==\"string\"&&(K=[K]),g.La(K,function(R){if(R in UX){var f=UX[R],V=f[0],D=f[1],H=f[3];f=f[4];V.removeEventListener?SxB()||typeof f===\"boolean\"?V.removeEventListener(D,H,f):V.removeEventListener(D,H,!!f.capture):V.detachEvent&&V.detachEvent(\"on\"+D,H);delete UX[R]}}))};\nAq=function(K){for(var R in UX)UX[R][0]==K&&g.tq(R)};\nJq=function(K){K=K||window.event;var R;K.composedPath&&typeof K.composedPath===\"function\"?R=K.composedPath():R=K.path;R&&R.length?K=R[0]:(K=K||window.event,K=K.target||K.srcElement,K.nodeType==3&&(K=K.parentNode));return K};\nZx=function(K){this.N=K;this.U=null;this.J=0;this.T=null;this.B=0;this.K=[];for(K=0;K<4;K++)this.K.push(0);this.X=0;this.aY=g.We(window,\"mousemove\",(0,g.Ii)(this.EF,this));this.Z=g.xA((0,g.Ii)(this.UF,this),25)};\nBe=function(K){g.O.call(this);this.T=[];this.bd=K||this};\nX4=function(K,R,f,V){for(var D=0;D0?f:0;f=V?Date.now()+V*1E3:0;if((V=V?g.Tk.Lt():g.Tk.ZW())&&window.JSON){typeof R!==\"string\"&&(R=JSON.stringify(R,void 0));try{V.set(K,R,f)}catch(D){V.remove(K)}}};\ng.n4=function(K){var R=g.Tk.ZW(),f=g.Tk.Lt();if(!R&&!f||!window.JSON)return null;try{var V=R.get(K)}catch(D){}if(typeof V!==\"string\")try{V=f.get(K)}catch(D){}if(typeof V!==\"string\")return null;try{V=JSON.parse(V,void 0)}catch(D){}return V};\nw8w=function(){var K=g.Tk.Lt();if(K&&(K=K.Bu(\"yt-player-quality\")))return K.creation};\ng.Ia=function(K){try{var R=g.Tk.ZW(),f=g.Tk.Lt();R&&R.remove(K);f&&f.remove(K)}catch(V){}};\ng.gm=function(){return g.n4(\"yt-remote-session-screen-id\")};\nzUG=function(K){var R=this;this.K=void 0;this.U=!1;K.addEventListener(\"beforeinstallprompt\",function(f){f.preventDefault();R.K=f});\nK.addEventListener(\"appinstalled\",function(){R.U=!0},{once:!0})};\nOX=function(){if(!g.Nz.matchMedia)return\"WEB_DISPLAY_MODE_UNKNOWN\";try{return g.Nz.matchMedia(\"(display-mode: standalone)\").matches?\"WEB_DISPLAY_MODE_STANDALONE\":g.Nz.matchMedia(\"(display-mode: minimal-ui)\").matches?\"WEB_DISPLAY_MODE_MINIMAL_UI\":g.Nz.matchMedia(\"(display-mode: fullscreen)\").matches?\"WEB_DISPLAY_MODE_FULLSCREEN\":g.Nz.matchMedia(\"(display-mode: browser)\").matches?\"WEB_DISPLAY_MODE_BROWSER\":\"WEB_DISPLAY_MODE_UNKNOWN\"}catch(K){return\"WEB_DISPLAY_MODE_UNKNOWN\"}};\njz=function(){this.QB=!0};\nxXw=function(){jz.instance||(jz.instance=new jz);return jz.instance};\nELG=function(K){switch(K){case \"DESKTOP\":return 1;case \"UNKNOWN_PLATFORM\":return 0;case \"TV\":return 2;case \"GAME_CONSOLE\":return 3;case \"MOBILE\":return 4;case \"TABLET\":return 5}};\naE5=function(){this.U=g.KI(\"ALT_PREF_COOKIE_NAME\",\"PREF\");this.K=g.KI(\"ALT_PREF_COOKIE_DOMAIN\",\"youtube.com\");var K=g.jO(this.U);K&&this.parse(K)};\ng.Mm=function(){qm||(qm=new aE5);return qm};\np4=function(K,R){var f=\"f\"+(Math.floor(K/31)+1);K=1<10&&FD.shift()))};\nrT=function(K,R){l3||(dT?dT.logEvent(K,R):(FD.push({type:\"EVENT\",eventType:K,payload:R}),FD.length>10&&FD.shift()))};\nyn=function(K){if(K.indexOf(\":\")>=0)throw Error(\"Database name cannot contain ':'\");};\nhe=function(K){return K.substr(0,K.indexOf(\":\"))||K};\ng.o8=function(K,R,f,V,D){R=R===void 0?{}:R;f=f===void 0?ZgM[K]:f;V=V===void 0?Bzz[K]:V;D=D===void 0?X8v[K]:D;g.NB.call(this,f,Object.assign({},{name:\"YtIdbKnownError\",isSw:self.document===void 0,isIframe:self!==self.top,type:K},R));this.type=K;this.message=f;this.level=V;this.U=D;Object.setPrototypeOf(this,g.o8.prototype)};\nS1=function(K,R){g.o8.call(this,\"MISSING_OBJECT_STORES\",{expectedObjectStores:R,foundObjectStores:K},ZgM.MISSING_OBJECT_STORES);Object.setPrototypeOf(this,S1.prototype)};\ni3=function(K,R){var f=Error.call(this);this.message=f.message;\"stack\"in f&&(this.stack=f.stack);this.index=K;this.objectStore=R;Object.setPrototypeOf(this,i3.prototype)};\nLP=function(K,R,f,V){R=he(R);var D=K instanceof Error?K:Error(\"Unexpected error: \"+K);if(D instanceof g.o8)return D;K={objectStoreNames:f,dbName:R,dbVersion:V};if(D.name===\"QuotaExceededError\")return new g.o8(\"QUOTA_EXCEEDED\",K);if(g.v7&&D.name===\"UnknownError\")return new g.o8(\"QUOTA_MAYBE_EXCEEDED\",K);if(D instanceof i3)return new g.o8(\"MISSING_INDEX\",Object.assign({},K,{objectStore:D.objectStore,index:D.index}));if(D.name===\"InvalidStateError\"&&kQ5.some(function(H){return D.message.includes(H)}))return new g.o8(\"EXECUTE_TRANSACTION_ON_CLOSED_DB\",\nK);\nif(D.name===\"AbortError\")return new g.o8(\"UNKNOWN_ABORT\",K,D.message);D.args=[Object.assign({},K,{name:\"IdbError\",gy:D.name})];D.level=\"WARNING\";return D};\ng.wT=function(K,R,f){var V=$I();return new g.o8(\"IDB_NOT_SUPPORTED\",{context:{caller:K,publicName:R,version:f,hasSucceededOnce:V==null?void 0:V.hasSucceededOnce}})};\nTzo=function(K){if(!K)throw Error();throw K;};\nPHN=function(K){return K};\nzr=function(K){this.U=K};\ng.xI=function(K){function R(D){if(V.state.status===\"PENDING\"){V.state={status:\"REJECTED\",reason:D};D=g.Z(V.K);for(var H=D.next();!H.done;H=D.next())H=H.value,H()}}\nfunction f(D){if(V.state.status===\"PENDING\"){V.state={status:\"FULFILLED\",value:D};D=g.Z(V.U);for(var H=D.next();!H.done;H=D.next())H=H.value,H()}}\nvar V=this;this.state={status:\"PENDING\"};this.U=[];this.K=[];K=K.U;try{K(f,R)}catch(D){R(D)}};\nnLz=function(K,R,f,V,D){try{if(K.state.status!==\"FULFILLED\")throw Error(\"calling handleResolve before the promise is fulfilled.\");var H=f(K.state.value);H instanceof g.xI?EN(K,R,H,V,D):V(H)}catch(l){D(l)}};\nIEM=function(K,R,f,V,D){try{if(K.state.status!==\"REJECTED\")throw Error(\"calling handleReject before the promise is rejected.\");var H=f(K.state.reason);H instanceof g.xI?EN(K,R,H,V,D):V(H)}catch(l){D(l)}};\nEN=function(K,R,f,V,D){R===f?D(new TypeError(\"Circular promise chain detected.\")):f.then(function(H){H instanceof g.xI?EN(K,R,H,V,D):V(H)},function(H){D(H)})};\ngLc=function(K,R,f){function V(){f(K.error);H()}\nfunction D(){R(K.result);H()}\nfunction H(){try{K.removeEventListener(\"success\",D),K.removeEventListener(\"error\",V)}catch(l){}}\nK.addEventListener(\"success\",D);K.addEventListener(\"error\",V)};\nOgv=function(K){return new Promise(function(R,f){gLc(K,R,f)})};\na8=function(K){return new g.xI(new zr(function(R,f){gLc(K,R,f)}))};\nQn=function(K,R){return new g.xI(new zr(function(f,V){function D(){var H=K?R(K):null;H?H.then(function(l){K=l;D()},V):f()}\nD()}))};\njue=function(K,R){this.request=K;this.cursor=R};\nqxG=function(K){return a8(K).then(function(R){return R?new jue(K,R):null})};\ng.MgM=function(K){K.cursor.continue(void 0);return qxG(K.request)};\nbgB=function(K,R){this.U=K;this.options=R;this.transactionCount=0;this.X=Math.round((0,g.N7)());this.K=!1};\nUN=function(){return g.No(\"idb_immediate_commit\")};\ng.te=function(K,R,f){K=K.U.createObjectStore(R,f);return new W7(K)};\nAe=function(K,R){K.U.objectStoreNames.contains(R)&&K.U.deleteObjectStore(R)};\ng.B7=function(K,R,f){return g.Je(K,[R],{mode:\"readwrite\",fh:!0,commit:UN()},function(V){return g.Zo(V.objectStore(R),f)})};\ng.Je=function(K,R,f,V){var D,H,l,F,c,r,y,h,S,v,L,E;return g.I(function(Q){switch(Q.U){case 1:var J={mode:\"readonly\",fh:!1,tag:\"IDB_TRANSACTION_TAG_UNKNOWN\"};typeof f===\"string\"?J.mode=f:Object.assign(J,f);D=J;K.transactionCount++;H=D.fh?3:1;l=0;case 2:if(F){Q.J5(4);break}l++;c=Math.round((0,g.N7)());g.Fp(Q,5);r=K.U.transaction(R,D.mode);J=!!D.commit;var A=new XD(r);J=p85(A,V,J);return g.P(Q,J,7);case 7:return y=Q.K,h=Math.round((0,g.N7)()),Yxo(K,c,h,l,void 0,R.join(),D),Q.return(y);case 5:S=g.yH(Q);\nv=Math.round((0,g.N7)());L=LP(S,K.U.name,R.join(),K.U.version);if((E=L instanceof g.o8&&!L.U)||l>=H)Yxo(K,c,v,l,L,R.join(),D),F=L;Q.J5(2);break;case 4:return Q.return(Promise.reject(F))}})};\nYxo=function(K,R,f,V,D,H,l){R=f-R;D?(D instanceof g.o8&&(D.type===\"QUOTA_EXCEEDED\"||D.type===\"QUOTA_MAYBE_EXCEEDED\")&&rT(\"QUOTA_EXCEEDED\",{dbName:he(K.U.name),objectStoreNames:H,transactionCount:K.transactionCount,transactionMode:l.mode}),D instanceof g.o8&&D.type===\"UNKNOWN_ABORT\"&&(f-=K.X,f<0&&f>=2147483648&&(f=0),rT(\"TRANSACTION_UNEXPECTEDLY_ABORTED\",{objectStoreNames:H,transactionDuration:R,transactionCount:K.transactionCount,dbDuration:f}),K.K=!0),mX2(K,!1,V,H,R,l.tag),c7(D)):mX2(K,!0,V,H,R,\nl.tag)};\nmX2=function(K,R,f,V,D,H){rT(\"TRANSACTION_ENDED\",{objectStoreNames:V,connectionHasUnknownAbortedTransaction:K.K,duration:D,isSuccessful:R,tryCount:f,tag:H===void 0?\"IDB_TRANSACTION_TAG_UNKNOWN\":H})};\nW7=function(K){this.U=K};\ng.kI=function(K,R,f){K.U.createIndex(R,f,{unique:!1})};\nGQ2=function(K,R){return g.Tr(K,{query:R},function(f){return f.delete().then(function(){return g.P7(f)})}).then(function(){})};\nuPo=function(K,R,f){var V=[];return g.Tr(K,{query:R},function(D){if(!(f!==void 0&&V.length>=f))return V.push(D.getValue()),g.P7(D)}).then(function(){return V})};\nCHG=function(K){return\"getAllKeys\"in IDBObjectStore.prototype?a8(K.U.getAllKeys(void 0,void 0)):suw(K)};\nsuw=function(K){var R=[];return g.eUh(K,{query:void 0},function(f){R.push(f.cursor.primaryKey);return g.MgM(f)}).then(function(){return R})};\ng.Zo=function(K,R,f){return a8(K.U.put(R,f))};\ng.Tr=function(K,R,f){K=K.U.openCursor(R.query,R.direction);return nP(K).then(function(V){return Qn(V,f)})};\ng.eUh=function(K,R,f){var V=R.query;R=R.direction;K=\"openKeyCursor\"in IDBObjectStore.prototype?K.U.openKeyCursor(V,R):K.U.openCursor(V,R);return qxG(K).then(function(D){return Qn(D,f)})};\nXD=function(K){var R=this;this.U=K;this.K=new Map;this.aborted=!1;this.done=new Promise(function(f,V){R.U.addEventListener(\"complete\",function(){f()});\nR.U.addEventListener(\"error\",function(D){D.currentTarget===D.target&&V(R.U.error)});\nR.U.addEventListener(\"abort\",function(){var D=R.U.error;if(D)V(D);else if(!R.aborted){D=g.o8;for(var H=R.U.objectStoreNames,l=[],F=0;F=f))return V.push(D.getValue()),g.P7(D)}).then(function(){return V})};\ng.I8=function(K,R,f){K=K.U.openCursor(R.query===void 0?null:R.query,R.direction===void 0?\"next\":R.direction);return nP(K).then(function(V){return Qn(V,f)})};\ngT=function(K,R){this.request=K;this.cursor=R};\nnP=function(K){return a8(K).then(function(R){return R?new gT(K,R):null})};\ng.P7=function(K){K.cursor.continue(void 0);return nP(K.request)};\nfU2=function(K,R,f){return new Promise(function(V,D){function H(){S||(S=new bgB(l.result,{closed:h}));return S}\nvar l=R!==void 0?self.indexedDB.open(K,R):self.indexedDB.open(K);var F=f.blocked,c=f.blocking,r=f.PH0,y=f.upgrade,h=f.closed,S;l.addEventListener(\"upgradeneeded\",function(v){try{if(v.newVersion===null)throw Error(\"Invariant: newVersion on IDbVersionChangeEvent is null\");if(l.transaction===null)throw Error(\"Invariant: transaction on IDbOpenDbRequest is null\");v.dataLoss&&v.dataLoss!==\"none\"&&rT(\"IDB_DATA_CORRUPTED\",{reason:v.dataLossMessage||\"unknown reason\",dbName:he(K)});var L=H(),E=new XD(l.transaction);\ny&&y(L,function(Q){return v.oldVersion=Q},E);\nE.done.catch(function(Q){D(Q)})}catch(Q){D(Q)}});\nl.addEventListener(\"success\",function(){var v=l.result;c&&v.addEventListener(\"versionchange\",function(){c(H())});\nv.addEventListener(\"close\",function(){rT(\"IDB_UNEXPECTEDLY_CLOSED\",{dbName:he(K),dbVersion:v.version});r&&r()});\nV(H())});\nl.addEventListener(\"error\",function(){D(l.error)});\nF&&l.addEventListener(\"blocked\",function(){F()})})};\nVEv=function(K,R,f){f=f===void 0?{}:f;return fU2(K,R,f)};\nON=function(K,R){R=R===void 0?{}:R;var f,V,D,H;return g.I(function(l){if(l.U==1)return g.Fp(l,2),f=self.indexedDB.deleteDatabase(K),V=R,(D=V.blocked)&&f.addEventListener(\"blocked\",function(){D()}),g.P(l,Ogv(f),4);\nif(l.U!=2)return g.rW(l,0);H=g.yH(l);throw LP(H,K,\"\",-1);})};\nj1=function(K,R){this.name=K;this.options=R;this.X=!0;this.B=this.J=0};\nDkc=function(K,R){return new g.o8(\"INCOMPATIBLE_DB_VERSION\",{dbName:K.name,oldVersion:K.options.version,newVersion:R})};\ng.q7=function(K,R){if(!R)throw g.wT(\"openWithToken\",he(K.name));return K.open()};\nHWB=function(K,R){var f;return g.I(function(V){if(V.U==1)return g.P(V,g.q7(M7,R),2);f=V.K;return V.return(g.Je(f,[\"databases\"],{fh:!0,mode:\"readwrite\"},function(D){var H=D.objectStore(\"databases\");return H.get(K.actualName).then(function(l){if(l?K.actualName!==l.actualName||K.publicName!==l.publicName||K.userIdentifier!==l.userIdentifier:1)return g.Zo(H,K).then(function(){})})}))})};\nb3=function(K,R){var f;return g.I(function(V){if(V.U==1)return K?g.P(V,g.q7(M7,R),2):V.return();f=V.K;return V.return(f.delete(\"databases\",K))})};\n$k2=function(K,R){var f,V;return g.I(function(D){return D.U==1?(f=[],g.P(D,g.q7(M7,R),2)):D.U!=3?(V=D.K,g.P(D,g.Je(V,[\"databases\"],{fh:!0,mode:\"readonly\"},function(H){f.length=0;return g.Tr(H.objectStore(\"databases\"),{},function(l){K(l.getValue())&&f.push(l.getValue());return g.P7(l)})}),3)):D.return(f)})};\nlUo=function(K,R){return $k2(function(f){return f.publicName===K&&f.userIdentifier!==void 0},R)};\ndkB=function(){var K,R,f,V;return g.I(function(D){switch(D.U){case 1:K=$I();if((R=K)==null?0:R.hasSucceededOnce)return D.return(!0);if(pP&&eO()&&!K4()||g.Gr)return D.return(!1);try{if(f=self,!(f.indexedDB&&f.IDBIndex&&f.IDBKeyRange&&f.IDBObjectStore))return D.return(!1)}catch(H){return D.return(!1)}if(!(\"IDBTransaction\"in self&&\"objectStoreNames\"in IDBTransaction.prototype))return D.return(!1);g.Fp(D,2);V={actualName:\"yt-idb-test-do-not-use\",publicName:\"yt-idb-test-do-not-use\",userIdentifier:void 0};\nreturn g.P(D,HWB(V,u3),4);case 4:return g.P(D,b3(\"yt-idb-test-do-not-use\",u3),5);case 5:return D.return(!0);case 2:return g.yH(D),D.return(!1)}})};\nFo_=function(){if(sN!==void 0)return sN;l3=!0;return sN=dkB().then(function(K){l3=!1;var R;if((R=H7())!=null&&R.U){var f;R={hasSucceededOnce:((f=$I())==null?void 0:f.hasSucceededOnce)||K};var V;(V=H7())==null||V.set(\"LAST_RESULT_ENTRY_KEY\",R,2592E3,!0)}return K})};\nCP=function(){return g.t_(\"ytglobal.idbToken_\")||void 0};\ng.e1=function(){var K=CP();return K?Promise.resolve(K):Fo_().then(function(R){(R=R?u3:void 0)&&g.WT(\"ytglobal.idbToken_\",R);return R})};\ncoc=function(K){if(!g.ue())throw K=new g.o8(\"AUTH_INVALID\",{dbName:K}),c7(K),K;var R=g.Gk();return{actualName:K+\":\"+R,publicName:K,userIdentifier:R}};\nroo=function(K,R,f,V){var D,H,l,F,c,r;return g.I(function(y){switch(y.U){case 1:return H=(D=Error().stack)!=null?D:\"\",g.P(y,g.e1(),2);case 2:l=y.K;if(!l)throw F=g.wT(\"openDbImpl\",K,R),g.No(\"ytidb_async_stack_killswitch\")||(F.stack=F.stack+\"\\n\"+H.substring(H.indexOf(\"\\n\")+1)),c7(F),F;yn(K);c=f?{actualName:K,publicName:K,userIdentifier:void 0}:coc(K);g.Fp(y,3);return g.P(y,HWB(c,l),5);case 5:return g.P(y,VEv(c.actualName,R,V),6);case 6:return y.return(y.K);case 3:return r=g.yH(y),g.Fp(y,7),g.P(y,b3(c.actualName,\nl),9);case 9:g.rW(y,8);break;case 7:g.yH(y);case 8:throw r;}})};\nyoB=function(K,R,f){f=f===void 0?{}:f;return roo(K,R,!1,f)};\nhpe=function(K,R,f){f=f===void 0?{}:f;return roo(K,R,!0,f)};\nol5=function(K,R){R=R===void 0?{}:R;var f,V;return g.I(function(D){if(D.U==1)return g.P(D,g.e1(),2);if(D.U!=3){f=D.K;if(!f)return D.return();yn(K);V=coc(K);return g.P(D,ON(V.actualName,R),3)}return g.P(D,b3(V.actualName,f),0)})};\nSHB=function(K,R,f){K=K.map(function(V){return g.I(function(D){return D.U==1?g.P(D,ON(V.actualName,R),2):g.P(D,b3(V.actualName,f),0)})});\nreturn Promise.all(K).then(function(){})};\niWe=function(K){var R=R===void 0?{}:R;var f,V;return g.I(function(D){if(D.U==1)return g.P(D,g.e1(),2);if(D.U!=3){f=D.K;if(!f)return D.return();yn(K);return g.P(D,lUo(K,f),3)}V=D.K;return g.P(D,SHB(V,R,f),0)})};\nvlo=function(K,R){R=R===void 0?{}:R;var f;return g.I(function(V){if(V.U==1)return g.P(V,g.e1(),2);if(V.U!=3){f=V.K;if(!f)return V.return();yn(K);return g.P(V,ON(K,R),3)}return g.P(V,b3(K,f),0)})};\nKO=function(K,R){j1.call(this,K,R);this.options=R;yn(K)};\nLoe=function(K,R){var f;return function(){f||(f=new KO(K,R));return f}};\ng.Rp=function(K,R){return Loe(K,R)};\nfO=function(K){return g.q7(wID(),K)};\nzpz=function(K,R,f,V){var D,H,l;return g.I(function(F){switch(F.U){case 1:return D={config:K,hashData:R,timestamp:V!==void 0?V:(0,g.N7)()},g.P(F,fO(f),2);case 2:return H=F.K,g.P(F,H.clear(\"hotConfigStore\"),3);case 3:return g.P(F,g.B7(H,\"hotConfigStore\",D),4);case 4:return l=F.K,F.return(l)}})};\nxkB=function(K,R,f,V,D){var H,l,F;return g.I(function(c){switch(c.U){case 1:return H={config:K,hashData:R,configData:f,timestamp:D!==void 0?D:(0,g.N7)()},g.P(c,fO(V),2);case 2:return l=c.K,g.P(c,l.clear(\"coldConfigStore\"),3);case 3:return g.P(c,g.B7(l,\"coldConfigStore\",H),4);case 4:return F=c.K,c.return(F)}})};\nElz=function(K){var R,f;return g.I(function(V){return V.U==1?g.P(V,fO(K),2):V.U!=3?(R=V.K,f=void 0,g.P(V,g.Je(R,[\"coldConfigStore\"],{mode:\"readwrite\",fh:!0},function(D){return g.I8(D.objectStore(\"coldConfigStore\").index(\"coldTimestampIndex\"),{direction:\"prev\"},function(H){f=H.getValue()})}),3)):V.return(f)})};\naUM=function(K){var R,f;return g.I(function(V){return V.U==1?g.P(V,fO(K),2):V.U!=3?(R=V.K,f=void 0,g.P(V,g.Je(R,[\"hotConfigStore\"],{mode:\"readwrite\",fh:!0},function(D){return g.I8(D.objectStore(\"hotConfigStore\").index(\"hotTimestampIndex\"),{direction:\"prev\"},function(H){f=H.getValue()})}),3)):V.return(f)})};\nQIe=function(){return g.I(function(K){return g.P(K,iWe(\"ytGcfConfig\"),0)})};\nV_=function(){g.O.call(this);this.K=[];this.U=[];var K=g.t_(\"yt.gcf.config.hotUpdateCallbacks\");K?(this.K=[].concat(g.X(K)),this.U=K):(this.U=[],g.WT(\"yt.gcf.config.hotUpdateCallbacks\",this.U))};\nFq=function(){var K=this;this.B=!1;this.X=this.J=0;this.T=new V_;this.OC={xV5:function(){K.B=!0},\nrFQ:function(){return K.U},\nz_Q:function(R){DI(K,R)},\nFm:function(R){K.Fm(R)},\nnXY:function(R){HY(K,R)},\nij:function(){return K.coldHashData},\nuB:function(){return K.hotHashData},\naI5:function(){return K.K},\ncF5:function(){return $6()},\nz7r:function(){return lO()},\npZF:function(){return g.t_(\"yt.gcf.config.coldHashData\")},\niop:function(){return g.t_(\"yt.gcf.config.hotHashData\")},\nh9W:function(){N_G(K)},\nC6r:function(){K.Fm(void 0);dg(K);delete Fq.instance},\nW$0:function(R){K.X=R},\nv85:function(){return K.X}}};\nUko=function(){if(!Fq.instance){var K=new Fq;Fq.instance=K}return Fq.instance};\nAoB=function(K){var R;g.I(function(f){if(f.U==1)return g.No(\"start_client_gcf\")||g.No(\"delete_gcf_config_db\")?g.No(\"start_client_gcf\")?g.P(f,g.e1(),3):f.J5(2):f.return();f.U!=2&&((R=f.K)&&g.ue()&&!g.No(\"delete_gcf_config_db\")?(K.B=!0,N_G(K)):(WoG(K),tE_(K)));return g.No(\"delete_gcf_config_db\")?g.P(f,QIe(),0):f.J5(0)})};\ncY=function(){var K;return(K=lO())!=null?K:g.KI(\"RAW_HOT_CONFIG_GROUP\")};\nJoD=function(K){var R,f,V,D,H,l;return g.I(function(F){switch(F.U){case 1:if(K.K)return F.return(lO());if(!K.B)return R=g.wT(\"getHotConfig IDB not initialized\"),HS(R),F.return(Promise.reject(R));f=CP();V=g.KI(\"TIME_CREATED_MS\");if(!f){D=g.wT(\"getHotConfig token error\");HS(D);F.J5(2);break}return g.P(F,aUM(f),3);case 3:if((H=F.K)&&H.timestamp>V)return DI(K,H.config),K.Fm(H.hashData),F.return(lO());case 2:tE_(K);if(!(f&&K.K&&K.hotHashData)){F.J5(4);break}return g.P(F,zpz(K.K,K.hotHashData,f,V),4);case 4:return K.K?\nF.return(lO()):(l=new g.NB(\"Config not available in ytConfig\"),HS(l),F.return(Promise.reject(l)))}})};\nB_w=function(K){var R,f,V,D,H,l;return g.I(function(F){switch(F.U){case 1:if(K.U)return F.return($6());if(!K.B)return R=g.wT(\"getColdConfig IDB not initialized\"),HS(R),F.return(Promise.reject(R));f=CP();V=g.KI(\"TIME_CREATED_MS\");if(!f){D=g.wT(\"getColdConfig\");HS(D);F.J5(2);break}return g.P(F,Elz(f),3);case 3:if((H=F.K)&&H.timestamp>V)return HY(K,H.config),ZWe(K,H.configData),dg(K,H.hashData),F.return($6());case 2:WoG(K);if(!(f&&K.U&&K.coldHashData&&K.configData)){F.J5(4);break}return g.P(F,xkB(K.U,\nK.coldHashData,K.configData,f,V),4);case 4:return K.U?F.return($6()):(l=new g.NB(\"Config not available in ytConfig\"),HS(l),F.return(Promise.reject(l)))}})};\nN_G=function(K){if(!K.K||!K.U){if(!CP()){var R=g.wT(\"scheduleGetConfigs\");HS(R)}K.J||(K.J=g.b7.sU(function(){return g.I(function(f){switch(f.U){case 1:return g.Fp(f,2),g.P(f,JoD(K),4);case 4:g.rW(f,3);break;case 2:g.yH(f);case 3:return g.Fp(f,5),g.P(f,B_w(K),7);case 7:g.rW(f,6);break;case 5:g.yH(f);case 6:K.J&&(K.J=0),g.lE(f)}})},100))}};\nXIc=function(K,R,f){var V,D,H;return g.I(function(l){switch(l.U){case 1:if(!g.No(\"start_client_gcf\")){l.J5(0);break}f&&DI(K,f);K.Fm(R);V=CP();if(!V){l.J5(3);break}if(f){l.J5(4);break}return g.P(l,aUM(V),5);case 5:D=l.K,f=(H=D)==null?void 0:H.config;case 4:return g.P(l,zpz(f,R,V),3);case 3:if(f)for(var F=f,c=g.Z(K.T.U),r=c.next();!r.done;r=c.next())r=r.value,r(F);g.lE(l)}})};\nk_z=function(K,R,f){var V,D,H,l;return g.I(function(F){if(F.U==1){if(!g.No(\"start_client_gcf\"))return F.J5(0);dg(K,R);return(V=CP())?f?F.J5(4):g.P(F,Elz(V),5):F.J5(0)}F.U!=4&&(D=F.K,f=(H=D)==null?void 0:H.config);if(!f)return F.J5(0);l=f.configData;return g.P(F,xkB(f,R,l,V),0)})};\nT_w=function(){var K=Uko(),R=(0,g.N7)()-K.X;if(!(K.X!==0&&R0&&(R.request={internalExperimentFlags:f});nlD(K,void 0,R);IU5(void 0,R);glG(void 0,R);OWB(K,void 0,R);jIN(void 0,R);g.No(\"start_client_gcf\")&&qHD(void 0,R);g.KI(\"DELEGATED_SESSION_ID\")&&\n!g.No(\"pageid_as_header_web\")&&(R.user={onBehalfOfUser:g.KI(\"DELEGATED_SESSION_ID\")});!g.No(\"fill_delegate_context_in_gel_killswitch\")&&(K=g.KI(\"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT\"))&&(R.user=Object.assign({},R.user,{serializedDelegationContext:K}));K=g.KI(\"INNERTUBE_CONTEXT\");var V;if(g.No(\"enable_persistent_device_token\")&&(K==null?0:(V=K.client)==null?0:V.rolloutToken)){var D;R.client.rolloutToken=K==null?void 0:(D=K.client)==null?void 0:D.rolloutToken}V=Object;D=V.assign;K=R.client;\nf={};for(var H=g.Z(Object.entries(Iw(g.KI(\"DEVICE\",\"\")))),l=H.next();!l.done;l=H.next()){var F=g.Z(l.value);l=F.next().value;F=F.next().value;l===\"cbrand\"?f.deviceMake=F:l===\"cmodel\"?f.deviceModel=F:l===\"cbr\"?f.browserName=F:l===\"cbrver\"?f.browserVersion=F:l===\"cos\"?f.osName=F:l===\"cosver\"?f.osVersion=F:l===\"cplatform\"&&(f.platform=F)}R.client=D.call(V,K,f);return R};\nnlD=function(K,R,f){K=K.Yn;if(K===\"WEB\"||K===\"MWEB\"||K===1||K===2)if(R){f=Os(R,TI,96)||new TI;var V=OX();V=Object.keys(ME5).indexOf(V);V=V===-1?null:V;V!==null&&D8(f,3,V);MR(R,TI,96,f)}else f&&(f.client.mainAppWebInfo=(V=f.client.mainAppWebInfo)!=null?V:{},f.client.mainAppWebInfo.webDisplayMode=OX())};\nIU5=function(K,R){var f=g.t_(\"yt.embedded_player.embed_url\");f&&(K?(R=Os(K,OR,7)||new OR,fJ(R,4,f),MR(K,OR,7,R)):R&&(R.thirdParty={embedUrl:f}))};\nglG=function(K,R){var f;if(g.No(\"web_log_memory_total_kbytes\")&&((f=g.Nz.navigator)==null?0:f.deviceMemory)){var V;f=(V=g.Nz.navigator)==null?void 0:V.deviceMemory;K?LV(K,95,qD(f*1E6)):R&&(R.client.memoryTotalKbytes=\"\"+f*1E6)}};\nOWB=function(K,R,f){if(K.appInstallData)if(R){var V;f=(V=Os(R,kg,62))!=null?V:new kg;fJ(f,6,K.appInstallData);MR(R,kg,62,f)}else f&&(f.client.configInfo=f.client.configInfo||{},f.client.configInfo.appInstallData=K.appInstallData)};\njIN=function(K,R){var f=Wto();f&&(K?D8(K,61,bWc[f]):R&&(R.client.connectionType=f));g.No(\"web_log_effective_connection_type\")&&(f=AnN())&&(K?D8(K,94,pIv[f]):R&&(R.client.effectiveConnectionType=f))};\nYHB=function(K,R,f){f=f===void 0?{}:f;var V={};g.KI(\"EOM_VISITOR_DATA\")?V={\"X-Goog-EOM-Visitor-Id\":g.KI(\"EOM_VISITOR_DATA\")}:V={\"X-Goog-Visitor-Id\":f.visitorData||g.KI(\"VISITOR_DATA\",\"\")};if(R&&R.includes(\"www.youtube-nocookie.com\"))return V;R=f.Xo||g.KI(\"AUTHORIZATION\");R||(K?R=\"Bearer \"+g.t_(\"gapi.auth.getToken\")().access_token:(K=xXw().AM(ha),g.No(\"pageid_as_header_web\")||delete K[\"X-Goog-PageId\"],V=Object.assign({},V,K)));R&&(V.Authorization=R);return V};\nqHD=function(K,R){var f=T_w();if(f){var V=f.coldConfigData,D=f.coldHashData;f=f.hotHashData;if(K){var H;R=(H=Os(K,kg,62))!=null?H:new kg;V=fJ(R,1,V);fJ(V,3,D).Fm(f);MR(K,kg,62,R)}else R&&(R.client.configInfo=R.client.configInfo||{},V&&(R.client.configInfo.coldConfigData=V),D&&(R.client.configInfo.coldHashData=D),f&&(R.client.configInfo.hotHashData=f))}};\nop=function(K,R){this.version=K;this.args=R};\nS5=function(K,R){this.topic=K;this.U=R};\nvY=function(K,R){var f=iO();f&&f.publish.call(f,K.toString(),K,R)};\nuZ2=function(K){var R=mkG,f=iO();if(!f)return 0;var V=f.subscribe(R.toString(),function(D,H){var l=g.t_(\"ytPubsub2Pubsub2SkipSubKey\");l&&l==V||(l=function(){if(LO[V])try{if(H&&R instanceof S5&&R!=D)try{var F=R.U,c=H;if(!c.args||!c.version)throw Error(\"yt.pubsub2.Data.deserialize(): serializedData is incomplete.\");try{if(!F.vP){var r=new F;F.vP=r.version}var y=F.vP}catch(h){}if(!y||c.version!=y)throw Error(\"yt.pubsub2.Data.deserialize(): serializedData version is incompatible.\");try{H=Reflect.construct(F,\ng.$n(c.args))}catch(h){throw h.message=\"yt.pubsub2.Data.deserialize(): \"+h.message,h;}}catch(h){throw h.message=\"yt.pubsub2.pubsub2 cross-binary conversion error for \"+R.toString()+\": \"+h.message,h;}K.call(window,H)}catch(h){g.V2(h)}},G_o[R.toString()]?g.fP()?g.b7.sU(l):g.zs(l,0):l())});\nLO[V]=!0;wg[R.toString()]||(wg[R.toString()]=[]);wg[R.toString()].push(V);return V};\nepc=function(){var K=sIM,R=uZ2(function(f){K.apply(void 0,arguments);C7M(R)});\nreturn R};\nC7M=function(K){var R=iO();R&&(typeof K===\"number\"&&(K=[K]),g.La(K,function(f){R.unsubscribeByKey(f);delete LO[f]}))};\niO=function(){return g.t_(\"ytPubsub2Pubsub2Instance\")};\nzp=function(K,R,f){f=f===void 0?{sampleRate:.1}:f;Math.random()Heh||l<$1w))V(K,f);else{if(g.No(\"gzip_gel_with_worker\")){Q_||Vyh();var F=ap();if(F&&!D){NQ.set(WY,{latencyPayload:H,url:K,options:f,sendFn:V});F.postMessage({op:\"gelBatchToGzip\",serializedBatch:R,key:WY});WY++;return}}var c=R32(lae(R));faz(c,H,K,f,V)}}catch(r){HS(r),V(K,f)}else V(K,f)};\nfaz=function(K,R,f,V,D){var H=(0,g.N7)();R.ticks.gelc=H;Aa++;g.No(\"disable_compression_due_to_performance_degredation\")&&H-R.startTime>=d1v&&(Ja++,UB=!1);F5z(R);V.headers||(V.headers={});V.headers[\"Content-Encoding\"]=\"gzip\";V.postBody=K;V.postParams=void 0;D(f,V)};\nrFB=function(K){var R=R===void 0?!1:R;var f=f===void 0?!1:f;var V=(0,g.N7)(),D={startTime:V,ticks:{},infos:{}},H=R?g.t_(\"yt.logging.gzipForFetch\",!1):!0;if(UB&&H){if(!K.body)return K;try{var l=f?K.body:typeof K.body===\"string\"?K.body:JSON.stringify(K.body);H=l;if(!f&&typeof l===\"string\"){var F=D1B(l);if(F!=null&&(F>Heh||F<$1w))return K;f=R?{level:1}:void 0;H=R32(lae(l),f);var c=(0,g.N7)();D.ticks.gelc=c;if(R){Aa++;if((g.No(\"disable_compression_due_to_performance_degredation\")||g.No(\"disable_compression_due_to_performance_degradation_lr\"))&&\nc-V>=d1v)if(Ja++,g.No(\"abandon_compression_after_N_slow_zips_lr\")){R=Ja/Aa;var r=cFc/g.U$(\"compression_disable_point\");Aa>0&&Aa%g.U$(\"compression_disable_point\")===0&&R>=r&&(UB=!1)}else UB=!1;F5z(D)}}K.headers=Object.assign({},{\"Content-Encoding\":\"gzip\"},K.headers||{});K.body=H;return K}catch(y){return HS(y),K}}else return K};\nD1B=function(K){try{return(new Blob(K.split(\"\"))).size}catch(R){return HS(R),null}};\nF5z=function(K){g.No(\"gel_compression_csi_killswitch\")||!g.No(\"log_gel_compression_latency\")&&!g.No(\"log_gel_compression_latency_lr\")||zp(\"gel_compression\",K,{sampleRate:.1})};\nBY=function(K){var R=this;this.zP=this.U=!1;this.potentialEsfErrorCounter=this.K=0;this.handleError=function(){};\nthis.Mo=function(){};\nthis.now=Date.now;this.bK=!1;this.OC={Szp:function(y){R.kN=y},\nMz5:function(){R.Xk()},\nMy:function(){R.Pk()},\nX4:function(y){return g.I(function(h){return g.P(h,R.X4(y),0)})},\niE:function(y,h){return R.iE(y,h)},\nKA:function(){R.KA()}};\nvar f;this.I7=(f=K.I7)!=null?f:100;var V;this.Vu=(V=K.Vu)!=null?V:1;var D;this.KE=(D=K.KE)!=null?D:2592E6;var H;this.WD=(H=K.WD)!=null?H:12E4;var l;this.Jp=(l=K.Jp)!=null?l:5E3;var F;this.kN=(F=K.kN)!=null?F:void 0;this.C1=!!K.C1;var c;this.wh=(c=K.wh)!=null?c:.1;var r;this.o2=(r=K.o2)!=null?r:10;K.handleError&&(this.handleError=K.handleError);K.Mo&&(this.Mo=K.Mo);K.bK&&(this.bK=K.bK);K.zP&&(this.zP=K.zP);this.rU=K.rU;this.wC=K.wC;this.eg=K.eg;this.I$=K.I$;this.sendFn=K.sendFn;this.LD=K.LD;this.Oh=\nK.Oh;ZI(this)&&(!this.rU||this.rU(\"networkless_logging\"))&&yFc(this)};\nyFc=function(K){ZI(K)&&!K.bK&&(K.U=!0,K.C1&&Math.random()<=K.wh&&K.eg.tJ(K.kN),K.KA(),K.I$.XL()&&K.Xk(),K.I$.listen(K.LD,K.Xk.bind(K)),K.I$.listen(K.Oh,K.Pk.bind(K)))};\nSLN=function(K,R){if(!ZI(K))throw Error(\"IndexedDB is not supported: updateRequestHandlers\");var f=R.options.onError?R.options.onError:function(){};\nR.options.onError=function(D,H){var l,F,c,r;return g.I(function(y){switch(y.U){case 1:l=h2e(H);(F=owN(H))&&K.rU&&K.rU(\"web_enable_error_204\")&&K.handleError(Error(\"Request failed due to compression\"),R.url,H);if(!(K.rU&&K.rU(\"nwl_consider_error_code\")&&l||K.rU&&!K.rU(\"nwl_consider_error_code\")&&K.potentialEsfErrorCounter<=K.o2)){y.J5(2);break}if(!K.I$.RP){y.J5(3);break}return g.P(y,K.I$.RP(),3);case 3:if(K.I$.XL()){y.J5(2);break}f(D,H);if(!K.rU||!K.rU(\"nwl_consider_error_code\")||((c=R)==null?void 0:\nc.id)===void 0){y.J5(6);break}return g.P(y,K.eg.sD(R.id,K.kN,!1),6);case 6:return y.return();case 2:if(K.rU&&K.rU(\"nwl_consider_error_code\")&&!l&&K.potentialEsfErrorCounter>K.o2)return y.return();K.potentialEsfErrorCounter++;if(((r=R)==null?void 0:r.id)===void 0){y.J5(8);break}return R.sendCount=400&&K<=599?!1:!0};\nowN=function(K){var R;K=K==null?void 0:(R=K.error)==null?void 0:R.code;return!(K!==400&&K!==415)};\nieB=function(){if(k6)return k6();var K={};k6=g.Rp(\"LogsDatabaseV2\",{G1:(K.LogsRequestsStore={dR:2},K),shared:!1,upgrade:function(R,f,V){f(2)&&g.te(R,\"LogsRequestsStore\",{keyPath:\"id\",autoIncrement:!0});f(3);f(5)&&(V=V.objectStore(\"LogsRequestsStore\"),V.U.indexNames.contains(\"newRequest\")&&V.U.deleteIndex(\"newRequest\"),g.kI(V,\"newRequestV2\",[\"status\",\"interface\",\"timestamp\"]));f(7)&&Ae(R,\"sapisid\");f(9)&&Ae(R,\"SWHealthLog\")},\nversion:9});return k6()};\nTp=function(K){return g.q7(ieB(),K)};\nL5e=function(K,R){var f,V,D,H;return g.I(function(l){if(l.U==1)return f={startTime:(0,g.N7)(),infos:{transactionType:\"YT_IDB_TRANSACTION_TYPE_WRITE\"},ticks:{}},g.P(l,Tp(R),2);if(l.U!=3)return V=l.K,D=Object.assign({},K,{options:JSON.parse(JSON.stringify(K.options)),interface:g.KI(\"INNERTUBE_CONTEXT_CLIENT_NAME\",0)}),g.P(l,g.B7(V,\"LogsRequestsStore\",D),3);H=l.K;f.ticks.tc=(0,g.N7)();vwM(f);return l.return(H)})};\nw2v=function(K,R){var f,V,D,H,l,F,c,r,y;return g.I(function(h){if(h.U==1)return f={startTime:(0,g.N7)(),infos:{transactionType:\"YT_IDB_TRANSACTION_TYPE_READ\"},ticks:{}},g.P(h,Tp(R),2);if(h.U!=3)return V=h.K,D=g.KI(\"INNERTUBE_CONTEXT_CLIENT_NAME\",0),H=[K,D,0],l=[K,D,(0,g.N7)()],F=IDBKeyRange.bound(H,l),c=\"prev\",g.No(\"use_fifo_for_networkless\")&&(c=\"next\"),r=void 0,y=K===\"NEW\"?\"readwrite\":\"readonly\",g.No(\"use_readonly_for_get_most_recent_by_status_killswitch\")&&(y=\"readwrite\"),g.P(h,g.Je(V,[\"LogsRequestsStore\"],\n{mode:y,fh:!0},function(S){return g.I8(S.objectStore(\"LogsRequestsStore\").index(\"newRequestV2\"),{query:F,direction:c},function(v){v.getValue()&&(r=v.getValue(),K===\"NEW\"&&(r.status=\"QUEUED\",v.update(r)))})}),3);\nf.ticks.tc=(0,g.N7)();vwM(f);return h.return(r)})};\nz2M=function(K,R){var f;return g.I(function(V){if(V.U==1)return g.P(V,Tp(R),2);f=V.K;return V.return(g.Je(f,[\"LogsRequestsStore\"],{mode:\"readwrite\",fh:!0},function(D){var H=D.objectStore(\"LogsRequestsStore\");return H.get(K).then(function(l){if(l)return l.status=\"QUEUED\",g.Zo(H,l).then(function(){return l})})}))})};\nx1h=function(K,R,f,V){f=f===void 0?!0:f;var D;return g.I(function(H){if(H.U==1)return g.P(H,Tp(R),2);D=H.K;return H.return(g.Je(D,[\"LogsRequestsStore\"],{mode:\"readwrite\",fh:!0},function(l){var F=l.objectStore(\"LogsRequestsStore\");return F.get(K).then(function(c){return c?(c.status=\"NEW\",f&&(c.sendCount+=1),V!==void 0&&(c.options.compress=V),g.Zo(F,c).then(function(){return c})):g.xI.resolve(void 0)})}))})};\nEw2=function(K,R){var f;return g.I(function(V){if(V.U==1)return g.P(V,Tp(R),2);f=V.K;return V.return(f.delete(\"LogsRequestsStore\",K))})};\naa_=function(K){var R,f;return g.I(function(V){if(V.U==1)return g.P(V,Tp(K),2);R=V.K;f=(0,g.N7)()-2592E6;return g.P(V,g.Je(R,[\"LogsRequestsStore\"],{mode:\"readwrite\",fh:!0},function(D){return g.Tr(D.objectStore(\"LogsRequestsStore\"),{},function(H){if(H.getValue().timestamp<=f)return H.delete().then(function(){return g.P7(H)})})}),0)})};\nQt2=function(){g.I(function(K){return g.P(K,iWe(\"LogsDatabaseV2\"),0)})};\nvwM=function(K){g.No(\"nwl_csi_killswitch\")||zp(\"networkless_performance\",K,{sampleRate:1})};\nU1B=function(K){return g.q7(NyD(),K)};\nW5D=function(K){var R,f;g.I(function(V){if(V.U==1)return g.P(V,U1B(K),2);R=V.K;f=(0,g.N7)()-2592E6;return g.P(V,g.Je(R,[\"SWHealthLog\"],{mode:\"readwrite\",fh:!0},function(D){return g.Tr(D.objectStore(\"SWHealthLog\"),{},function(H){if(H.getValue().timestamp<=f)return H.delete().then(function(){return g.P7(H)})})}),0)})};\ntyv=function(K){var R;return g.I(function(f){if(f.U==1)return g.P(f,U1B(K),2);R=f.K;return g.P(f,R.clear(\"SWHealthLog\"),0)})};\ng.PY=function(K,R,f,V,D,H,l){D=D===void 0?\"\":D;H=H===void 0?!1:H;l=l===void 0?!1:l;if(K)if(f&&!g.uj())HS(new g.NB(\"Legacy referrer-scrubbed ping detected\")),K&&AFc(K,void 0,{scrubReferrer:!0});else if(D)Am(K,R,\"POST\",D,V);else if(g.KI(\"USE_NET_AJAX_FOR_PING_TRANSPORT\",!1)||V||l)Am(K,R,\"GET\",\"\",V,void 0,H,l);else{b:{try{c:{var F=new bVB({url:K});if(F.U.dsh===\"1\")var c=null;else{var r=F.U.ae;if(r===\"1\"){var y=F.U.adurl;if(y)try{c={version:3,il:decodeURIComponent(y),Xh:Vh(F.K,\"act=1\",\"ri=1\",p$h(F))};\nbreak c}catch(v){}}c=r===\"2\"?{version:4,il:Vh(F.K,\"dct=1\",\"suid=\"+F.X,\"ri=1\"),Xh:Vh(F.K,\"act=1\",\"ri=1\",\"suid=\"+F.X)}:null}}if(c){var h=U0(K);var S=!(!h||!h.endsWith(\"/aclk\")||P9(K,\"ri\")!==\"1\");break b}}catch(v){}S=!1}S?JFc(K)?(R&&R(),f=!0):f=!1:f=!1;f||AFc(K,R)}};\nJFc=function(K,R){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(K,R===void 0?\"\":R))return!0}catch(f){}return!1};\nAFc=function(K,R,f){f=f===void 0?{}:f;var V=new Image,D=\"\"+Ze5++;nO[D]=V;V.onload=V.onerror=function(){R&&nO[D]&&R();delete nO[D]};\nf.scrubReferrer&&(V.referrerPolicy=\"no-referrer\");V.src=K};\nByz=function(K){var R;return((R=document.featurePolicy)==null?0:R.allowedFeatures().includes(\"attribution-reporting\"))?K+\"&nis=6\":K+\"&nis=5\"};\ngg=function(){Ip||(Ip=new Do(\"yt.offline\"));return Ip};\nX2o=function(K){if(g.No(\"offline_error_handling\")){var R=gg().get(\"errors\",!0)||{};R[K.message]={name:K.name,stack:K.stack};K.level&&(R[K.message].level=K.level);gg().set(\"errors\",R,2592E3,!0)}};\nOB=function(){this.U=new Map;this.K=!1};\nj5=function(){if(!OB.instance){var K=g.t_(\"yt.networkRequestMonitor.instance\")||new OB;g.WT(\"yt.networkRequestMonitor.instance\",K);OB.instance=K}return OB.instance};\nqQ=function(){g.vE.call(this);var K=this;this.K=!1;this.U=Coz();this.U.listen(\"networkstatus-online\",function(){if(K.K&&g.No(\"offline_error_handling\")){var R=gg().get(\"errors\",!0);if(R){for(var f in R)if(R[f]){var V=new g.NB(f,\"sent via offline_errors\");V.name=R[f].name;V.stack=R[f].stack;V.level=R[f].level;g.V2(V)}gg().set(\"errors\",{},2592E3,!0)}}})};\nkmN=function(){if(!qQ.instance){var K=g.t_(\"yt.networkStatusManager.instance\")||new qQ;g.WT(\"yt.networkStatusManager.instance\",K);qQ.instance=K}return qQ.instance};\ng.MQ=function(K){K=K===void 0?{}:K;g.vE.call(this);var R=this;this.U=this.J=0;this.K=kmN();var f=g.t_(\"yt.networkStatusManager.instance.listen\").bind(this.K);f&&(K.rateLimit?(this.rateLimit=K.rateLimit,f(\"networkstatus-online\",function(){Ty5(R,\"publicytnetworkstatus-online\")}),f(\"networkstatus-offline\",function(){Ty5(R,\"publicytnetworkstatus-offline\")})):(f(\"networkstatus-online\",function(){R.dispatchEvent(\"publicytnetworkstatus-online\")}),f(\"networkstatus-offline\",function(){R.dispatchEvent(\"publicytnetworkstatus-offline\")})))};\nTy5=function(K,R){K.rateLimit?K.U?(g.b7.SQ(K.J),K.J=g.b7.sU(function(){K.X!==R&&(K.dispatchEvent(R),K.X=R,K.U=(0,g.N7)())},K.rateLimit-((0,g.N7)()-K.U))):(K.dispatchEvent(R),K.X=R,K.U=(0,g.N7)()):K.dispatchEvent(R)};\npO=function(){var K=BY.call;bO||(bO=new g.MQ({QdZ:!0,KzY:!0}));K.call(BY,this,{eg:{tJ:aa_,dG:Ew2,u2:w2v,XKW:z2M,sD:x1h,set:L5e},I$:bO,handleError:function(R,f,V){var D,H=V==null?void 0:(D=V.error)==null?void 0:D.code;if(H===400||H===415){var l;R=new g.NB(R.message,f,V==null?void 0:(l=V.error)==null?void 0:l.code);HS(R,void 0,void 0,void 0,!0)}else g.V2(R)},\nMo:HS,sendFn:PpD,now:g.N7,RI:X2o,wC:g.R8(),LD:\"publicytnetworkstatus-online\",Oh:\"publicytnetworkstatus-offline\",C1:!0,wh:.1,o2:g.U$(\"potential_esf_error_limit\",10),rU:g.No,bK:!(g.ue()&&g.Nw(document.location.toString())!==\"www.youtube-nocookie.com\")});this.X=new g.hn;g.No(\"networkless_immediately_drop_all_requests\")&&Qt2();vlo(\"LogsDatabaseV2\")};\nY6=function(){var K=g.t_(\"yt.networklessRequestController.instance\");K||(K=new pO,g.WT(\"yt.networklessRequestController.instance\",K),g.No(\"networkless_logging\")&&g.e1().then(function(R){K.kN=R;yFc(K);K.X.resolve();K.C1&&Math.random()<=K.wh&&K.kN&&W5D(K.kN);g.No(\"networkless_immediately_drop_sw_health_store\")&&nwo(K)}));\nreturn K};\nnwo=function(K){var R;g.I(function(f){if(!K.kN)throw R=g.wT(\"clearSWHealthLogsDb\"),R;return f.return(tyv(K.kN).catch(function(V){K.handleError(V)}))})};\nPpD=function(K,R,f,V){V=V===void 0?!1:V;R=g.No(\"web_fp_via_jspb\")?Object.assign({},R):R;g.No(\"use_cfr_monitor\")&&Iav(K,R);if(g.No(\"use_request_time_ms_header\"))R.headers&&y2(K)&&(R.headers[\"X-Goog-Request-Time\"]=JSON.stringify(Math.round((0,g.N7)())));else{var D;if((D=R.postParams)==null?0:D.requestTimeMs)R.postParams.requestTimeMs=Math.round((0,g.N7)())}f&&Object.keys(R).length===0?g.PY(K):R.compress?R.postBody?(typeof R.postBody!==\"string\"&&(R.postBody=JSON.stringify(R.postBody)),ta(K,R.postBody,\nR,g.Jm,V)):ta(K,JSON.stringify(R.postParams),R,ZY,V):g.Jm(K,R)};\nmF=function(K,R){g.No(\"use_event_time_ms_header\")&&y2(K)&&(R.headers||(R.headers={}),R.headers[\"X-Goog-Event-Time\"]=JSON.stringify(Math.round((0,g.N7)())));return R};\nIav=function(K,R){var f=R.onError?R.onError:function(){};\nR.onError=function(D,H){j5().requestComplete(K,!1);f(D,H)};\nvar V=R.onSuccess?R.onSuccess:function(){};\nR.onSuccess=function(D,H){j5().requestComplete(K,!0);V(D,H)}};\ng.Gp=function(K){this.config_=null;K?this.config_=K:P75()&&(this.config_=g.rg())};\ng.uO=function(K,R,f,V){function D(r){try{if((r===void 0?0:r)&&V.retry&&!V.networklessOptions.bypassNetworkless)H.method=\"POST\",V.networklessOptions.writeThenSend?Y6().writeThenSend(c,H):Y6().sendAndWrite(c,H);else if(V.compress){var y=!V.networklessOptions.writeThenSend;if(H.postBody){var h=H.postBody;typeof h!==\"string\"&&(h=JSON.stringify(H.postBody));ta(c,h,H,g.Jm,y)}else ta(c,JSON.stringify(H.postParams),H,ZY,y)}else ZY(c,H)}catch(S){if(S.name===\"InvalidAccessError\")HS(Error(\"An extension is blocking network request.\"));\nelse throw S;}}\n!g.KI(\"VISITOR_DATA\")&&R!==\"visitor_id\"&&Math.random()<.01&&HS(new g.NB(\"Missing VISITOR_DATA when sending innertube request.\",R,f,V));if(!K.isReady())throw K=new g.NB(\"innertube xhrclient not ready\",R,f,V),g.V2(K),K;var H={headers:V.headers||{},method:\"POST\",postParams:f,postBody:V.postBody,postBodyFormat:V.postBodyFormat||\"JSON\",onTimeout:function(){V.onTimeout()},\nonFetchTimeout:V.onTimeout,onSuccess:function(r,y){if(V.onSuccess)V.onSuccess(y)},\nonFetchSuccess:function(r){if(V.onSuccess)V.onSuccess(r)},\nonProgress:function(r){if(V.onProgress)V.onProgress(r)},\nonError:function(r,y){if(V.onError)V.onError(y)},\nonFetchError:function(r){if(V.onError)V.onError(r)},\ntimeout:V.timeout,withCredentials:!0,compress:V.compress};H.headers[\"Content-Type\"]||(H.headers[\"Content-Type\"]=\"application/json\");f=\"\";var l=K.config_.uC;l&&(f=l);l=K.config_.X7||!1;var F=YHB(l,f,V);Object.assign(H.headers,F);H.headers.Authorization&&!f&&l&&(H.headers[\"x-origin\"]=window.location.origin);var c=cS(\"\"+f+(\"/youtubei/\"+K.config_.innertubeApiVersion+\"/\"+R),{alt:\"json\"});g.t_(\"ytNetworklessLoggingInitializationOptions\")&&gwh.isNwlInitialized?Fo_().then(function(r){D(r)}):D(!1)};\ng.RQ=function(K,R,f){var V=g.sB();if(V&&R){var D=V.subscribe(K,function(){function H(){CO[D]&&R.apply&&typeof R.apply==\"function\"&&R.apply(f||window,l)}\nvar l=arguments;try{g.e5[K]?H():g.zs(H,0)}catch(F){g.V2(F)}},f);\nCO[D]=!0;K3[K]||(K3[K]=[]);K3[K].push(D);return D}return 0};\nOeB=function(K){var R=g.RQ(\"LOGGED_IN\",function(f){K.apply(void 0,arguments);g.f3(R)})};\ng.f3=function(K){var R=g.sB();R&&(typeof K===\"number\"?K=[K]:typeof K===\"string\"&&(K=[parseInt(K,10)]),g.La(K,function(f){R.unsubscribeByKey(f);delete CO[f]}))};\ng.V1=function(K,R){var f=g.sB();return f?f.publish.apply(f,arguments):!1};\nqL5=function(K){var R=g.sB();if(R)if(R.clear(K),K)jtB(K);else for(var f in K3)jtB(f)};\ng.sB=function(){return g.Nz.ytPubsubPubsubInstance};\njtB=function(K){K3[K]&&(K=K3[K],g.La(K,function(R){CO[R]&&delete CO[R]}),K.length=0)};\ng.DA=function(K,R,f){My_(K,R,f===void 0?null:f)};\nMy_=function(K,R,f){f=f===void 0?null:f;var V=beo(typeof K===\"string\"?K:K.toString()),D=document.getElementById(V),H=D&&$XD(D),l=D&&!H;H?R&&R():(R&&(H=g.RQ(V,R),R=\"\"+g.n8(R),p2N[R]=H),l||(D=YLN(K,V,function(){$XD(D)||(Hgc(D),g.V1(V),g.zs(function(){qL5(V)},0))},f)))};\nYLN=function(K,R,f,V){V=V===void 0?null:V;var D=g.tB(\"SCRIPT\");D.id=R;D.onload=function(){f&&setTimeout(f,0)};\nD.onreadystatechange=function(){switch(D.readyState){case \"loaded\":case \"complete\":D.onload()}};\nV&&D.setAttribute(\"nonce\",V);g.nC(D,typeof K===\"string\"?g.Bn(K):K);K=document.getElementsByTagName(\"head\")[0]||document.body;K.insertBefore(D,K.firstChild);return D};\nbeo=function(K){var R=document.createElement(\"a\");g.Wb(R,K);K=R.href.replace(/^[a-zA-Z]+:\\/\\//,\"//\");return\"js-\"+mp(K)};\nHr=function(K,R){if(K===R)K=!0;else if(Array.isArray(K)&&Array.isArray(R))K=g.iT(K,R,Hr);else if(g.kV(K)&&g.kV(R))a:if(g.Uh(K).length!=g.Uh(R).length)K=!1;else{for(var f in K)if(!Hr(K[f],R[f])){K=!1;break a}K=!0}else K=!1;return K};\nds=function(K){var R=g.wW.apply(1,arguments);if(!$J(K)||R.some(function(V){return!$J(V)}))throw Error(\"Only objects may be merged.\");\nR=g.Z(R);for(var f=R.next();!f.done;f=R.next())li(K,f.value)};\nli=function(K,R){for(var f in R)if($J(R[f])){if(f in K&&!$J(K[f]))throw Error(\"Cannot merge an object into a non-object.\");f in K||(K[f]={});li(K[f],R[f])}else if(Fh(R[f])){if(f in K&&!Fh(K[f]))throw Error(\"Cannot merge an array into a non-array.\");f in K||(K[f]=[]);m1h(K[f],R[f])}else K[f]=R[f];return K};\nm1h=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next())f=f.value,$J(f)?K.push(li({},f)):Fh(f)?K.push(m1h([],f)):K.push(f);return K};\n$J=function(K){return typeof K===\"object\"&&!Array.isArray(K)};\nFh=function(K){return typeof K===\"object\"&&Array.isArray(K)};\ncr=function(K){g.O.call(this);this.K=K};\nrs=function(K){cr.call(this,!0);this.U=K};\ny1=function(K,R){g.O.call(this);var f=this;this.X=[];this.N=!1;this.K=0;this.B=this.T=this.J=!1;this.UF=null;var V=(0,g.Ii)(K,R);this.U=new g.CW(function(){return V(f.UF)},300);\ng.q(this,this.U);this.EF=this.Z=Infinity};\nGmN=function(K,R){if(!R)return!1;for(var f=0;f-1)throw Error(\"Deps cycle for: \"+R);if(K.K.has(R))return K.K.get(R);if(!K.U.has(R)){if(V)return;throw Error(\"No provider for: \"+R);}V=K.U.get(R);f.push(R);if(V.a5!==void 0)var D=V.a5;else if(V.fYt)D=V[aQ]?KY_(K,V[aQ],f):[],D=V.fYt.apply(V,g.X(D));else if(V.cW){D=V.cW;var H=D[aQ]?KY_(K,D[aQ],f):[];D=new (Function.prototype.bind.apply(D,[null].concat(g.X(H))))}else throw Error(\"Could not resolve providers for: \"+R);f.pop();V.gZU||K.K.set(R,D);\nreturn D};\nKY_=function(K,R,f){return R?R.map(function(V){return V instanceof xJ?Q1(K,V.key,f,!0):Q1(K,V,f)}):[]};\nUe=function(){N6||(N6=new e2_);return N6};\nfhc=function(){var K=RB2;return function(){var R=Ue();if(!R.resolve(new xJ(K))){var f={};Ee(R,(f.QV=K,f.cW=K,f[aQ]=void 0,f))}return R.resolve(K)}};\nt0=function(){var K,R;return\"h5vcc\"in Wr&&((K=Wr.h5vcc.traceEvent)==null?0:K.traceBegin)&&((R=Wr.h5vcc.traceEvent)==null?0:R.traceEnd)?1:\"performance\"in Wr&&Wr.performance.mark&&Wr.performance.measure?2:0};\nA0=function(K){var R=t0();switch(R){case 1:Wr.h5vcc.traceEvent.traceBegin(\"YTLR\",K);break;case 2:Wr.performance.mark(K+\"-start\");break;case 0:break;default:tl(R,\"unknown trace type\")}};\nVKo=function(K){var R=t0();switch(R){case 1:Wr.h5vcc.traceEvent.traceEnd(\"YTLR\",K);break;case 2:R=K+\"-start\";var f=K+\"-end\";Wr.performance.mark(f);Wr.performance.measure(K,R,f);break;case 0:break;default:tl(R,\"unknown trace type\")}};\nDF_=function(K){var R,f;(f=(R=window).onerror)==null||f.call(R,K.message,\"\",0,0,K)};\nHrN=function(K){var R=this;var f=f===void 0?0:f;var V=V===void 0?g.R8():V;this.X=f;this.scheduler=V;this.K=new g.hn;this.U=K;for(K={c_:0};K.c_=1E3?D():V>=K?KM||(KM=RV(function(){D();KM=void 0},0)):H-F>=10&&(Eg2(R,f.tier),l.J=H)};\nvg5=function(K,R){if(K.endpoint===\"log_event\"){g.No(\"more_accurate_gel_parser\")&&bi().storePayload({isJspb:!1},K.payload);YJ(K);var f=md(K),V=new Map;V.set(f,[K.payload]);var D=ogv(K.payload)||\"\";R&&(C3=new R);return new g.AA(function(H,l){C3&&C3.isReady()?ahv(V,C3,H,l,{bypassNetworkless:!0},!0,ui(D)):H()})}};\nzBB=function(K,R,f){if(R.endpoint===\"log_event\"){YJ(void 0,R);var V=md(R,!0),D=new Map;D.set(V,[$T(R.payload)]);f&&(C3=new f);return new g.AA(function(H){C3&&C3.isReady()?QYM(D,C3,H,{bypassNetworkless:!0},!0,ui(K)):H()})}};\nmd=function(K,R){var f=\"\";if(K.dangerousLogToVisitorSession)f=\"visitorOnlyApprovedKey\";else if(K.cttAuthInfo){if(R===void 0?0:R){R=K.cttAuthInfo.token;f=K.cttAuthInfo;var V=new uP;f.videoId?V.setVideoId(f.videoId):f.playlistId&&Tu(V,2,fM,pG(f.playlistId));VC[R]=V}else R=K.cttAuthInfo,f={},R.videoId?f.videoId=R.videoId:R.playlistId&&(f.playlistId=R.playlistId),D3[K.cttAuthInfo.token]=f;f=K.cttAuthInfo.token}return f};\nse=function(K,R,f){K=K===void 0?{}:K;R=R===void 0?!1:R;new g.AA(function(V,D){var H=eI(R,f),l=H.X;H.X=!1;HR(H.K);HR(H.U);H.U=0;C3&&C3.isReady()?f===void 0&&g.No(\"enable_web_tiered_gel\")?NFh(V,D,K,R,300,l):NFh(V,D,K,R,f,l):(Eg2(R,f),V())})};\nNFh=function(K,R,f,V,D,H){var l=C3;f=f===void 0?{}:f;V=V===void 0?!1:V;D=D===void 0?200:D;H=H===void 0?!1:H;var F=new Map,c=new Map,r={isJspb:V,cttAuthInfo:void 0,tier:D},y={isJspb:V,cttAuthInfo:void 0};if(V){R=g.Z(Object.keys(GO));for(D=R.next();!D.done;D=R.next())D=D.value,c=g.No(\"enable_web_tiered_gel\")?bi().smartExtractMatchingEntries({keys:[r,y],sizeLimit:1E3}):bi().extractMatchingEntries({isJspb:!0,cttAuthInfo:D}),c.length>0&&F.set(D,c),(g.No(\"web_fp_via_jspb_and_json\")&&f.writeThenSend||!g.No(\"web_fp_via_jspb_and_json\"))&&\ndelete GO[D];QYM(F,l,K,f,!1,H)}else{F=g.Z(Object.keys(GO));for(r=F.next();!r.done;r=F.next())r=r.value,y=g.No(\"enable_web_tiered_gel\")?bi().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:r,tier:D},{isJspb:!1,cttAuthInfo:r}],sizeLimit:1E3}):bi().extractMatchingEntries({isJspb:!1,cttAuthInfo:r}),y.length>0&&c.set(r,y),(g.No(\"web_fp_via_jspb_and_json\")&&f.writeThenSend||!g.No(\"web_fp_via_jspb_and_json\"))&&delete GO[r];ahv(c,l,K,R,f,!1,H)}};\nEg2=function(K,R){function f(){se({writeThenSend:!0},K,R)}\nK=K===void 0?!1:K;R=R===void 0?200:R;var V=eI(K,R),D=V===UFG||V===WYG?5E3:tKM;g.No(\"web_gel_timeout_cap\")&&!V.U&&(D=RV(function(){f()},D),V.U=D);\nHR(V.K);D=g.KI(\"LOGGING_BATCH_TIMEOUT\",g.U$(\"web_gel_debounce_ms\",1E4));g.No(\"shorten_initial_gel_batch_timeout\")&&$t&&(D=AZc);D=RV(function(){g.U$(\"gel_min_batch_size\")>0?bi().getSequenceCount({cttAuthInfo:void 0,isJspb:K,tier:R})>=JZo&&f():f()},D);\nV.K=D};\nahv=function(K,R,f,V,D,H,l){D=D===void 0?{}:D;var F=Math.round((0,g.N7)()),c=K.size,r=Zre(l);K=g.Z(K);var y=K.next();for(l={};!y.done;l={HL:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,NT:void 0,pu:void 0},y=K.next()){var h=g.Z(y.value);y=h.next().value;h=h.next().value;l.batchRequest=g.Py({context:g.y_(R.config_||g.rg())});if(!g.Xp(h)&&!g.No(\"throw_err_when_logevent_malformed_killswitch\")){V();break}l.batchRequest.events=h;(h=D3[y])&&BFB(l.batchRequest,y,h);delete D3[y];l.dangerousLogToVisitorSession=\ny===\"visitorOnlyApprovedKey\";Xnw(l.batchRequest,F,l.dangerousLogToVisitorSession);kIB(D);l.NT=function(S){g.No(\"start_client_gcf\")&&g.b7.sU(function(){return g.I(function(v){return g.P(v,TFo(S),0)})});\nc--;c||f()};\nl.HL=0;l.pu=function(S){return function(){S.HL++;if(D.bypassNetworkless&&S.HL===1)try{g.uO(R,r,S.batchRequest,lg({writeThenSend:!0},S.dangerousLogToVisitorSession,S.NT,S.pu,H)),$t=!1}catch(v){g.V2(v),V()}c--;c||f()}}(l);\ntry{g.uO(R,r,l.batchRequest,lg(D,l.dangerousLogToVisitorSession,l.NT,l.pu,H)),$t=!1}catch(S){g.V2(S),V()}}};\nQYM=function(K,R,f,V,D,H){V=V===void 0?{}:V;var l=Math.round((0,g.N7)()),F={value:K.size},c=new Map([].concat(g.X(K)));c=g.Z(c);for(var r=c.next();!r.done;r=c.next()){var y=g.Z(r.value).next().value,h=K.get(y);r=new g.sR;var S=R.config_||g.rg(),v=new MF,L=new Pn;fJ(L,1,S.TV);fJ(L,2,S.oJ);D8(L,16,S.aU);fJ(L,17,S.innertubeContextClientVersion);if(S.p$){var E=S.p$,Q=new kg;E.coldConfigData&&fJ(Q,1,E.coldConfigData);E.appInstallData&&fJ(Q,6,E.appInstallData);E.coldHashData&&fJ(Q,3,E.coldHashData);E.hotHashData&&\nQ.Fm(E.hotHashData);MR(L,kg,62,Q)}(E=g.Nz.devicePixelRatio)&&E!=1&&LV(L,65,At(E));E=WS();E!==\"\"&&fJ(L,54,E);E=tm();if(E.length>0){Q=new gF;for(var J=0;J65535&&(K=1);eK(\"BATCH_CLIENT_COUNTER\",K);return K};\nBFB=function(K,R,f){if(f.videoId)var V=\"VIDEO\";else if(f.playlistId)V=\"PLAYLIST\";else return;K.credentialTransferTokenTargetId=f;K.context=K.context||{};K.context.user=K.context.user||{};K.context.user.credentialTransferTokens=[{token:R,scope:V}]};\nYJ=function(K,R){var f=g.t_(\"yt.logging.transport.enableScrapingForTest\"),V=Q2(\"il_payload_scraping\");V=(V!==void 0?String(V):\"\")===\"enable_il_payload_scraping\";if(!f)if(V)cR=[],g.WT(\"yt.logging.transport.enableScrapingForTest\",!0),g.WT(\"yt.logging.transport.scrapedPayloadsForTesting\",cR),g.WT(\"yt.logging.transport.payloadToScrape\",\"visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged\".split(\" \")),g.WT(\"yt.logging.transport.getScrapedPayloadFromClientEventsFunction\"),\ng.WT(\"yt.logging.transport.scrapeClientEvent\",!0);else return;f=g.t_(\"yt.logging.transport.scrapedPayloadsForTesting\");V=g.t_(\"yt.logging.transport.payloadToScrape\");R&&(R=R.payload,(R=g.t_(\"yt.logging.transport.getScrapedPayloadFromClientEventsFunction\").bind(R)())&&f.push(R));R=g.t_(\"yt.logging.transport.scrapeClientEvent\");if(V&&V.length>=1)for(var D=0;D0&&fYG(K,R,H)}else fYG(K,R)};\nfYG=function(K,R,f){K=VOo(K);R=R?g.Zj(R):\"\";f=f||5;le()&&g.O$(K,R,f)};\nVOo=function(K){for(var R=g.Z(Dov),f=R.next();!f.done;f=R.next())K=nD(K,f.value);return\"ST-\"+mp(K).toString(36)};\nHIe=function(K){if(K.name===\"JavaException\")return!0;K=K.stack;return K.includes(\"chrome://\")||K.includes(\"-extension://\")||K.includes(\"webkit-masked-url://\")};\n$oB=function(K){if(!K.stack)return!0;var R=!K.stack.includes(\"\\n\");return R&&K.stack.includes(\"ErrorType: \")||R&&K.stack.includes(\"Anonymous function (Unknown script\")||K.stack.toLowerCase()===\"not available\"||K.fileName===\"user-script\"||K.fileName.startsWith(\"user-script:\")?!0:!1};\nlYG=function(){this.OY=[];this.qS=[]};\naV=function(){if(!EI){var K=EI=new lYG;K.qS.length=0;K.OY.length=0;do2(K,FOB)}return EI};\ndo2=function(K,R){R.qS&&K.qS.push.apply(K.qS,R.qS);R.OY&&K.OY.push.apply(K.OY,R.OY)};\ncm2=function(K){function R(){return K.charCodeAt(V++)}\nvar f=K.length,V=0;do{var D=QC(R);if(D===Infinity)break;var H=D>>3;switch(D&7){case 0:D=QC(R);if(H===2)return D;break;case 1:if(H===2)return;V+=8;break;case 2:D=QC(R);if(H===2)return K.substr(V,D);V+=D;break;case 5:if(H===2)return;V+=4;break;default:return}}while(V500));V++);V=D}else if(typeof K===\"object\")for(D in K){if(K[D]){var H=D;var l=K[D],F=R,c=f;H=typeof l!==\"string\"||H!==\"clickTrackingParams\"&&H!==\"trackingParams\"?0:(l=cm2(atob(l.replace(/-/g,\"+\").replace(/_/g,\"/\"))))?NS(H+\".ve\",l,F,c):0;V+=H;V+=NS(D,K[D],R,f);if(V>500)break}}else f[R]=UI(K),V+=f[R].length;else f[R]=UI(K),V+=f[R].length;return V};\nNS=function(K,R,f,V){f+=\".\"+K;K=UI(R);V[f]=K;return f.length+K.length};\nUI=function(K){try{return(typeof K===\"string\"?K:String(JSON.stringify(K))).substr(0,500)}catch(R){return\"unable to serialize \"+typeof K+\" (\"+R.message+\")\"}};\nt$=function(K){g.WR(K)};\ng.A$=function(K){g.WR(K,\"WARNING\")};\ng.WR=function(K,R){var f=f===void 0?{}:f;f.name=g.KI(\"INNERTUBE_CONTEXT_CLIENT_NAME\",1);f.version=g.KI(\"INNERTUBE_CONTEXT_CLIENT_VERSION\");R=R===void 0?\"ERROR\":R;var V=!1;R=R===void 0?\"ERROR\":R;V=V===void 0?!1:V;if(K){K.hasOwnProperty(\"level\")&&K.level&&(R=K.level);if(g.No(\"console_log_js_exceptions\")){var D=[];D.push(\"Name: \"+K.name);D.push(\"Message: \"+K.message);K.hasOwnProperty(\"params\")&&D.push(\"Error Params: \"+JSON.stringify(K.params));K.hasOwnProperty(\"args\")&&D.push(\"Error args: \"+JSON.stringify(K.args));\nD.push(\"File name: \"+K.fileName);D.push(\"Stacktrace: \"+K.stack);window.console.log(D.join(\"\\n\"),K)}if(!(ymB>=5)){D=[];for(var H=g.Z(h7v),l=H.next();!l.done;l=H.next()){l=l.value;try{l()&&D.push(l())}catch(E){}}D=[].concat(g.X(oAB),g.X(D));var F=Wuc(K);H=F.message||\"Unknown Error\";l=F.name||\"UnknownError\";var c=F.stack||K.K||\"Not available\";if(c.startsWith(l+\": \"+H)){var r=c.split(\"\\n\");r.shift();c=r.join(\"\\n\")}r=F.lineNumber||\"Not available\";F=F.fileName||\"Not available\";var y=0;if(K.hasOwnProperty(\"args\")&&\nK.args&&K.args.length)for(var h=0;h=500);h++);else if(K.hasOwnProperty(\"params\")&&K.params){var S=K.params;if(typeof K.params===\"object\")for(h in S){if(S[h]){var v=\"params.\"+h,L=UI(S[h]);f[v]=L;y+=v.length+L.length;if(y>500)break}}else f.params=UI(S)}if(D.length)for(h=0;h=500);h++);navigator.vendor&&!f.hasOwnProperty(\"vendor\")&&(f[\"device.vendor\"]=navigator.vendor);f={message:H,name:l,lineNumber:r,\nfileName:F,stack:c,params:f,sampleWeight:1};h=Number(K.columnNumber);isNaN(h)||(f.lineNumber=f.lineNumber+\":\"+h);if(K.level===\"IGNORED\")K=0;else a:{K=aV();h=g.Z(K.qS);for(D=h.next();!D.done;D=h.next())if(D=D.value,f.message&&f.message.match(D.HM)){K=D.weight;break a}K=g.Z(K.OY);for(h=K.next();!h.done;h=K.next())if(h=h.value,h.callback(f)){K=h.weight;break a}K=1}f.sampleWeight=K;K=g.Z(S$G);for(h=K.next();!h.done;h=K.next())if(h=h.value,h.Mk[f.name])for(H=g.Z(h.Mk[f.name]),D=H.next();!D.done;D=H.next())if(l=\nD.value,D=f.message.match(l.jQ)){f.params[\"params.error.original\"]=D[0];H=l.groups;l={};for(r=0;r1E3&&g.A$(new g.NB(\"IL Attach cache exceeded limit\"))}F=\nqS(f,R);nM.has(F)?MS(f,R):gu.set(F,!0)}}V=V.filter(function(y){y.csn!==R?(y.csn=R,y=!0):y=!1;return y});\nf={csn:R,parentVe:f.getAsJson(),childVes:g.JQ(V,function(y){return y.getAsJson()})};\nR===\"UNDEFINED_CSN\"?bg(\"visualElementAttached\",H,f):K?yC(\"visualElementAttached\",f,K,H):g.h$(\"visualElementAttached\",f,H)};\nJm_=function(K,R,f,V,D,H,l){pM(f,R);V=PR({cttAuthInfo:zN(R)||void 0,automatedLogEventSource:l},R);f={csn:R,ve:f.getAsJson(),eventType:1};D&&(f.clientData=D);R===\"UNDEFINED_CSN\"?bg(\"visualElementShown\",V,f):K?yC(\"visualElementShown\",f,K,V):g.h$(\"visualElementShown\",f,V)};\nZIc=function(K,R,f,V){var D=(V=V===void 0?!1:V)?16:8;V=PR({cttAuthInfo:zN(R)||void 0,endOfSequence:V,automatedLogEventSource:void 0},R);f={csn:R,ve:f.getAsJson(),eventType:D};R===\"UNDEFINED_CSN\"?bg(\"visualElementHidden\",V,f):K?yC(\"visualElementHidden\",f,K,V):g.h$(\"visualElementHidden\",f,V)};\nYt=function(K,R,f,V,D,H){BGM(K,R,f,void 0,V,D,H)};\nBGM=function(K,R,f,V,D,H,l){pM(f,R);V=V||\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\";H=PR({cttAuthInfo:zN(R)||void 0,automatedLogEventSource:l},R);f={csn:R,ve:f.getAsJson(),gestureType:V};D&&(f.clientData=D);R===\"UNDEFINED_CSN\"?bg(\"visualElementGestured\",H,f):K?yC(\"visualElementGestured\",f,K,H):g.h$(\"visualElementGestured\",f,H)};\nXSG=function(){var K=oQ(16);for(var R=[],f=0;f0&&f.push(g.tB(\"BR\"));f.push(g.AB(H))}):f.push(g.AB(V))}return f};\nl4=function(K,R,f,V){if(f===\"child\"){g.Ba(R);var D;V===void 0?D=void 0:D=!Array.isArray(V)||V&&typeof V.V===\"string\"?[V]:V;f=TGG(K,D);f=g.Z(f);for(K=f.next();!K.done;K=f.next())R.appendChild(K.value)}else f===\"style\"?g.Ds(R,\"cssText\",V?V:\"\"):V===null||V===void 0?R.removeAttribute(f):(K=V.toString(),f===\"href\"&&(K=g.EA(g.N2(K))),R.setAttribute(f,K))};\ng.Y=function(K){g.Hv.call(this,K);this.EC=!0;this.EF=!1;this.listeners=[]};\ng.di=function(K){g.Y.call(this,K);this.Za=new g.VQ;g.q(this,this.Za)};\nFW=function(K,R,f,V,D,H,l){l=l===void 0?null:l;g.di.call(this,R);this.api=K;this.macros={};this.componentType=f;this.T=this.N=null;this.pQ=l;this.layoutId=V;this.interactionLoggingClientData=D;this.H5=H;this.Ne=null;this.L9=new rs(this.element);g.q(this,this.L9);this.v5=this.j(this.element,\"click\",this.onClick);this.B5=[];this.Xt=new y1(this.onClick,this);g.q(this,this.Xt);this.bd=!1;this.er=this.UF=null};\ncv=function(K,R){K=K===void 0?null:K;R=R===void 0?null:R;if(K==null)return g.A$(Error(\"Got null or undefined adText object\")),\"\";var f=g.Y7(K.text);if(!K.isTemplated)return f;if(R==null)return g.A$(Error(\"Missing required parameters for a templated message\")),f;K=g.Z(Object.entries(R));for(R=K.next();!R.done;R=K.next()){var V=g.Z(R.value);R=V.next().value;V=V.next().value;f=f.replace(\"{\"+R+\"}\",V)}return f};\nPjh=function(K){K=K===void 0?null:K;return K!=null&&(K=K.thumbnail,K!=null&&K.thumbnails!=null&&K.thumbnails.length!=0&&K.thumbnails[0].url!=null)?g.Y7(K.thumbnails[0].url):\"\"};\nnA_=function(K){K=K===void 0?null:K;return K!=null&&(K=K.thumbnail,K!=null&&K.thumbnails!=null&&K.thumbnails.length!=0&&K.thumbnails[0].width!=null&&K.thumbnails[0].height!=null)?new g.lu(K.thumbnails[0].width||0,K.thumbnails[0].height||0):new g.lu(0,0)};\ng.ri=function(K){if(K.simpleText)return K.simpleText;if(K.runs){var R=[];K=g.Z(K.runs);for(var f=K.next();!f.done;f=K.next())f=f.value,f.text&&R.push(f.text);return R.join(\"\")}return\"\"};\ng.yQ=function(K){if(K.simpleText)return K=document.createTextNode(K.simpleText),K;var R=[];if(K.runs)for(var f=0;f1){for(var R=[K[0]],f=1;f0&&(this.U=new g.CW(this.R_,R,this),g.q(this,this.U));this.B=new g.CW(this.R_,f,this);g.q(this,this.B);this.Z=$xG(this.K,D,1,V);g.q(this,this.Z);this.N=$xG(this.K,0,V,1);g.q(this,this.N);this.J=new Be;g.q(this,this.J)};\n$e=function(K,R){this.K=K;this.U=R};\nAqD=function(K){switch(K){case 2:return 0;case 1:return 2;case 0:return 3;case 4:case 3:return 1;default:tl(K,\"unknown result type\")}};\nJqc=function(K,R){var f=1;K.isTrusted===!1&&(f=0);eK(\"ISDSTAT\",f);ld(f,\"i.s_\",{triggerContext:\"sk\",metadata:R});return f};\nZ4_=function(K,R){var f=[];R?R.isTrusted===!0?f.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED\"):R.isTrusted===!1?f.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_NOT_TRUSTED\"):f.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED_PROPERTY_UNDEFINED\"):f.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_UNDEFINED\");ld(0,\"a.s_\",{metadata:K,states:f});eK(\"ASDSTAT\",0)};\nld=function(K,R,f){R=BmN[R];var V,D,H={detected:K===0,source:\"\"+R.K+((V=f.triggerContext)!=null?V:\"\")+((D=f.pm)!=null?D:\"\"),detectionStates:f.states,durationMs:f.cQ};f.metadata&&(H.contentCpn=f.metadata.contentCpn,H.adCpn=f.metadata.adCpn);g.h$(\"biscottiBasedDetection\",H);R.U!==void 0&&(f=Number(g.KI(\"CATSTAT\",0)),R.U!==void 0?(R=R.U,K=AqD(K),K=f&~(3<0};\nyd=function(K,R,f,V,D,H){sl.call(this,K,{V:\"div\",D:\"ytp-ad-skip-button-slot\"},\"skip-button\",R,f,V,D);var l=this;this.aY=null;this.y0=!1;this.oY=H;this.B=this.api.C().experiments.rU(\"enable_modern_skip_button_on_web\");this.kW=!1;this.J=new g.di({V:\"span\",Me:[\"ytp-ad-skip-button-container\"]});this.B&&this.J.element.classList.add(\"ytp-ad-skip-button-container-detached\");g.q(this,this.J);this.J.V0(this.element);this.K=this.X=null;this.OF=new g.K0(this.J,500,!1,100,function(){return l.hide()});\ng.q(this,this.OF);this.qe=new HQ(this.J.element,15E3,5E3,.5,.5,this.B);g.q(this,this.qe);this.hide()};\nkk5=function(K){K=K.aY&&K.aY.adRendererCommands;return(K&&K.clickCommand&&g.z(K.clickCommand,g.hM)&&g.z(K.clickCommand,g.hM).commands||[]).some(function(R){return R.adLifecycleCommand?XeN(R.adLifecycleCommand):!1})};\nXeN=function(K){return K.action===\"END_LINEAR_AD\"||K.action===\"END_LINEAR_AD_PLACEMENT\"};\nov=function(K,R,f,V,D,H){sl.call(this,K,{V:\"div\",D:\"ytp-ad-skip-ad-slot\"},\"skip-ad\",R,f,V,D);this.aY=H;this.J=!1;this.B=0;this.X=this.K=null;this.hide()};\nTmo=function(K,R){K.J||(K.J=!0,K.K&&(R?K.K.aY.hide():K.K.hide()),R?(K=K.X,K.OF.show(),K.show()):K.X.show())};\nSC=function(K,R,f,V){ZQ.call(this,K,R,f,V,[\"ytp-ad-visit-advertiser-button\"],\"visit-advertiser\")};\nid=function(K,R,f,V,D,H,l){H=H===void 0?!1:H;l=l===void 0?!1:l;FW.call(this,K,{V:\"span\",D:\"ytp-ad-simple-ad-badge\"},\"simple-ad-badge\",R,f,V);this.X=D;this.U=this.IY(\"ytp-ad-simple-ad-badge\");(this.K=H)&&this.U.classList.add(\"ytp-ad-simple-ad-badge--clean-player\");l&&this.U.classList.add(\"ytp-ad-simple-ad-badge--survey\");this.hide()};\nvQ=function(K,R,f,V,D){D=D===void 0?!1:D;fS.call(this,\"player-overlay\",K,{},R,V);this.videoAdDurationSeconds=f;this.interactionLoggingClientData=V;this.tD=D};\nL0=function(K,R){g.VQ.call(this);this.api=K;this.durationMs=R;this.U=null;this.handler=new Be(this);g.q(this,this.handler);this.K=PeM;this.handler.j(this.api,\"presentingplayerstatechange\",this.tI);this.U=this.handler.j(this.api,\"onAdPlaybackProgress\",this.eM)};\nwH=function(K){g.VQ.call(this);this.U=!1;this.E$=0;this.handler=new Be(this);g.q(this,this.handler);this.durationMs=K;this.timer=new g.PE(100);g.q(this,this.timer);this.handler.j(this.timer,\"tick\",this.eM);this.K={seekableStart:0,seekableEnd:K/1E3,current:0};this.start()};\ng.zE=function(K,R){var f=Math.abs(Math.floor(K)),V=Math.floor(f/86400),D=Math.floor(f%86400/3600),H=Math.floor(f%3600/60);f=Math.floor(f%60);if(R){R=\"\";V>0&&(R+=\" \"+V+\" Days\");if(V>0||D>0)R+=\" \"+D+\" Hours\";R+=\" \"+H+\" Minutes\";R+=\" \"+f+\" Seconds\";V=R.trim()}else{R=\"\";V>0&&(R+=V+\":\",D<10&&(R+=\"0\"));if(V>0||D>0)R+=D+\":\",H<10&&(R+=\"0\");R+=H+\":\";f<10&&(R+=\"0\");V=R+f}return K>=0?V:\"-\"+V};\ng.xe=function(K){return(!(\"button\"in K)||typeof K.button!==\"number\"||K.button===0)&&!(\"shiftKey\"in K&&K.shiftKey)&&!(\"altKey\"in K&&K.altKey)&&!(\"metaKey\"in K&&K.metaKey)&&!(\"ctrlKey\"in K&&K.ctrlKey)};\nE_=function(K,R,f,V,D,H,l){sl.call(this,K,{V:\"span\",D:l?\"ytp-ad-duration-remaining--clean-player\":\"ytp-ad-duration-remaining\"},\"ad-duration-remaining\",R,f,V,D);this.videoAdDurationSeconds=H;this.K=null;l&&this.api.C().K&&(this.element.classList.add(\"ytp-ad-duration-remaining--mweb\"),pP&&this.element.classList.add(\"ytp-ad-duration-remaining--mweb-ios\"));this.hide()};\nav=function(K,R,f,V){Gq.call(this,K,R,f,V,\"ytp-video-ad-top-bar-title\",\"ad-title\")};\nQd=function(K){this.content=K.content;if(K.commandRuns){K=g.Z(K.commandRuns);for(var R=K.next();!R.done;R=K.next())R=R.value,this.loggingDirectives=g.z(R,ncN),R.onTap&&(this.interaction={onTap:R.onTap})}};\nU_=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ad-simple-attributed-string\"},\"ad-simple-attributed-string\",R,f,V);this.hide()};\nWQ=function(K,R,f,V,D){FW.call(this,K,{V:\"span\",D:D?\"ytp-ad-badge--clean-player\":\"ytp-ad-badge\"},\"ad-badge\",R,f,V);this.K=D;this.adBadgeText=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);this.adBadgeText.V0(this.element);g.q(this,this.adBadgeText);D?(this.adBadgeText.element.classList.add(\"ytp-ad-badge__text--clean-player\"),pP&&this.adBadgeText.element.classList.add(\"ytp-ad-badge--stark-clean-player-ios\")):this.adBadgeText.element.classList.add(\"ytp-ad-badge__text\");this.hide()};\ntM=function(K,R,f,V){FW.call(this,K,{V:\"span\",D:\"ytp-ad-pod-index\"},\"ad-pod-index\",R,f,V);this.api.C().K&&(this.element.classList.add(\"ytp-ad-pod-index--mweb\"),pP&&this.element.classList.add(\"ytp-ad-pod-index--mweb-ios\"));this.hide()};\nAM=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-disclosure-banner\"},\"ad-disclosure-banner\",R,f,V);this.hide()};\nJM=function(K,R){this.K=K;this.U=R};\nIxv=function(K,R){return K.K+R*(K.U-K.K)};\nZF=function(K,R,f){return K.U-K.K?g.fT((R-K.K)/(K.U-K.K),0,1):f!=null?f:Infinity};\nBQ=function(K,R,f,V){V=V===void 0?!1:V;g.di.call(this,{V:\"div\",D:\"ytp-ad-persistent-progress-bar-container\",S:[{V:\"div\",D:\"ytp-ad-persistent-progress-bar\"}]});this.api=K;this.K=R;this.X=f;V&&this.element.classList.add(\"ytp-ad-persistent-progress-bar-container--clean-player\");g.q(this,this.K);this.progressBar=this.IY(\"ytp-ad-persistent-progress-bar\");this.U=-1;this.j(K,\"presentingplayerstatechange\",this.onStateChange);this.hide();this.onStateChange()};\nXc=function(K,R,f,V,D,H){FW.call(this,K,{V:\"div\",D:\"ytp-ad-player-overlay\",S:[{V:\"div\",D:\"ytp-ad-player-overlay-flyout-cta\"},{V:\"div\",D:\"ytp-ad-player-overlay-instream-info\"},{V:\"div\",D:\"ytp-ad-player-overlay-skip-or-preview\"},{V:\"div\",D:\"ytp-ad-player-overlay-progress-bar\"},{V:\"div\",D:\"ytp-ad-player-overlay-instream-user-sentiment\"},{V:\"div\",D:\"ytp-ad-player-overlay-ad-disclosure-banner\"}]},\"player-overlay\",R,f,V);this.Z=H;this.B=this.IY(\"ytp-ad-player-overlay-flyout-cta\");this.B.classList.add(\"ytp-ad-player-overlay-flyout-cta-rounded\");\nthis.U=this.IY(\"ytp-ad-player-overlay-instream-info\");this.J=null;gcB(this)&&(K=Wa(\"div\"),g.dy(K,\"ytp-ad-player-overlay-top-bar-gradients\"),R=this.U,R.parentNode&&R.parentNode.insertBefore(K,R),(R=this.api.getVideoData(2))&&R.isListed&&R.title&&(f=new av(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),f.V0(K),f.init(Rh(\"ad-title\"),{text:R.title},this.macros),g.q(this,f)),this.J=K);this.X=null;this.G2=this.IY(\"ytp-ad-player-overlay-skip-or-preview\");this.qe=this.IY(\"ytp-ad-player-overlay-progress-bar\");\nthis.y0=this.IY(\"ytp-ad-player-overlay-instream-user-sentiment\");this.aY=this.IY(\"ytp-ad-player-overlay-ad-disclosure-banner\");this.K=D;g.q(this,this.K);this.hide()};\ngcB=function(K){K=K.api.C();return g.ke(K)&&K.K};\ng.TE=function(K){K&=16777215;var R=[(K&16711680)>>16,(K&65280)>>8,K&255];K=R[0];var f=R[1];R=R[2];K=Number(K);f=Number(f);R=Number(R);if(K!=(K&255)||f!=(f&255)||R!=(R&255))throw Error('\"('+K+\",\"+f+\",\"+R+'\") is not a valid RGB color');f=K<<16|f<<8|R;return K<16?\"#\"+(16777216|f).toString(16).slice(1):\"#\"+f.toString(16)};\ng.PQ=function(){};\njaD=function(K){var R=new Lw;var f=new vK;f=fJ(f,1,\"botguard\");K=fJ(f,2,K);this.U=sEc(R,vK,1,O4w,K)};\nn0=function(K){this.U=new Za(K)};\nqXe=function(){var K=!1;try{K=!!window.sessionStorage.getItem(\"session_logininfo\")}catch(R){K=!0}return(g.KI(\"INNERTUBE_CLIENT_NAME\")===\"WEB\"||g.KI(\"INNERTUBE_CLIENT_NAME\")===\"WEB_CREATOR\")&&K};\nIv=function(){var K=K===void 0?!0:K;try{window.sessionStorage.removeItem(\"stickiness_reload\");window.sessionStorage.removeItem(\"session_logininfo\");eK(\"LOGIN_INFO\",\"\");K&&window.sessionStorage.setItem(\"from_switch_account\",\"1\");K=!0;K=K===void 0?!1:K;var R,f=Mzz;f||(f=document.querySelector(\"#persist_identity\"));if(R=f){var V=R.src?(new URL(R.src)).origin:\"*\";if(K){var D;(D=R.contentWindow)==null||D.postMessage({action:\"clear\"},V)}else if(!(Number(window.sessionStorage.getItem(\"stickiness_reload\"))>=\n2)){var H=window.sessionStorage.getItem(\"session_logininfo\");if(H){var l;(l=R.contentWindow)==null||l.postMessage({loginInfo:H},V)}}}}catch(F){}};\ngH=function(K){K&&(K.startsWith(\"https://accounts.google.com/AddSession\")?Iv():K.startsWith(\"https://accounts.google.com/ServiceLogin\")?Iv():K.startsWith(\"https://myaccount.google.com\")&&g.U5(K).K.endsWith(\"/youtubeoptions\")&&Iv());if(g.KI(\"LOGGED_IN\",!0)&&qXe()){var R=g.KI(\"VALID_SESSION_TEMPDATA_DOMAINS\",[]);var f=g.Nw(window.location.href);f&&R.push(f);f=g.Nw(K);g.Ka(R,f)||!f&&sh(K,\"/\")?(R=W9(K),(R=$8_(R))?(R=VOo(R),R=(R=g.jO(R)||null)?Iw(R):{}):R=null):R=null;R==null&&(R={});f=R;var V=void 0;\nqXe()?(V||(V=g.KI(\"LOGIN_INFO\")),V?(f.session_logininfo=V,f=!0):f=!1):f=!1;f&&xt(K,R)}};\ng.b4B=function(K){var R=R===void 0?{}:R;var f=f===void 0?\"\":f;var V=V===void 0?window:V;K=g.B9(K,R);gH(K);f=g.N2(K+f);V=V.location;f=UA(f);f!==void 0&&(V.href=f)};\ng.O_=function(K,R,f){R=R===void 0?{}:R;f=f===void 0?!1:f;var V=g.KI(\"EVENT_ID\");V&&(R.ei||(R.ei=V));R&&xt(K,R);f||(gH(K),g.b4B(K))};\ng.jC=function(K,R,f,V,D){D=D===void 0?!1:D;f&&xt(K,f);f=g.N2(K);var H=g.EA(f);K!=H&&HS(Error(\"Unsafe window.open URL: \"+K));K=H;R=R||mp(K).toString(36);try{if(D)return D=K,D=Byz(D),gH(D),g.Bb(window,D,R,\"attributionsrc\")}catch(l){g.V2(l)}gH(K);return g.Bb(window,f,R,V)};\npeh=function(K){qc=K};\nYXM=function(K){Mc=K};\nmmh=function(K){bd=K};\nu42=function(){GkB=bd=Mc=qc=null};\nCeh=function(){var K=K===void 0?window.location.href:K;if(g.No(\"kevlar_disable_theme_param\"))return null;var R=U0(K);if(g.No(\"enable_dark_theme_only_on_shorts\")&&R!=null&&R.startsWith(\"/shorts/\"))return\"USER_INTERFACE_THEME_DARK\";try{var f=g.FN(K).theme;return saz.get(f)||null}catch(V){}return null};\np0=function(){this.U={};if(this.K=qdw()){var K=g.jO(\"CONSISTENCY\");K&&eVh(this,{encryptedTokenJarContents:K})}};\neVh=function(K,R){if(R.encryptedTokenJarContents&&(K.U[R.encryptedTokenJarContents]=R,typeof R.expirationSeconds===\"string\")){var f=Number(R.expirationSeconds);setTimeout(function(){delete K.U[R.encryptedTokenJarContents]},f*1E3);\nK.K&&g.O$(\"CONSISTENCY\",R.encryptedTokenJarContents,f,void 0,!0)}};\nmH=function(){this.K=-1;var K=g.KI(\"LOCATION_PLAYABILITY_TOKEN\");g.KI(\"INNERTUBE_CLIENT_NAME\")===\"TVHTML5\"&&(this.localStorage=Ye(this))&&(K=this.localStorage.get(\"yt-location-playability-token\"));K&&(this.locationPlayabilityToken=K,this.U=void 0)};\nYe=function(K){return K.localStorage===void 0?new Do(\"yt-client-location\"):K.localStorage};\ng.GE=function(K,R,f){R=R===void 0?!1:R;f=f===void 0?!1:f;var V=g.KI(\"INNERTUBE_CONTEXT\");if(!V)return g.WR(Error(\"Error: No InnerTubeContext shell provided in ytconfig.\")),{};V=g.Py(V);g.No(\"web_no_tracking_params_in_shell_killswitch\")||delete V.clickTracking;V.client||(V.client={});var D=V.client;D.clientName===\"MWEB\"&&D.clientFormFactor!==\"AUTOMOTIVE_FORM_FACTOR\"&&(D.clientFormFactor=g.KI(\"IS_TABLET\")?\"LARGE_FORM_FACTOR\":\"SMALL_FORM_FACTOR\");D.screenWidthPoints=window.innerWidth;D.screenHeightPoints=\nwindow.innerHeight;D.screenPixelDensity=Math.round(window.devicePixelRatio||1);D.screenDensityFloat=window.devicePixelRatio||1;D.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var H=H===void 0?!1:H;var l=g.Mm(),F=\"USER_INTERFACE_THEME_LIGHT\";l.aG(165)?F=\"USER_INTERFACE_THEME_DARK\":l.aG(174)?F=\"USER_INTERFACE_THEME_LIGHT\":!g.No(\"kevlar_legacy_browsers\")&&window.matchMedia&&window.matchMedia(\"(prefers-color-scheme)\").matches&&window.matchMedia(\"(prefers-color-scheme: dark)\").matches&&\n(F=\"USER_INTERFACE_THEME_DARK\");H=H?F:Ceh()||F;D.userInterfaceTheme=H;if(!R){if(H=Wto())D.connectionType=H;g.No(\"web_log_effective_connection_type\")&&(H=AnN())&&(V.client.effectiveConnectionType=H)}var c;if(g.No(\"web_log_memory_total_kbytes\")&&((c=g.Nz.navigator)==null?0:c.deviceMemory)){var r;c=(r=g.Nz.navigator)==null?void 0:r.deviceMemory;V.client.memoryTotalKbytes=\"\"+c*1E6}g.No(\"web_gcf_hashes_innertube\")&&(H=T_w())&&(r=H.coldConfigData,c=H.coldHashData,H=H.hotHashData,V.client.configInfo=V.client.configInfo||\n{},r&&(V.client.configInfo.coldConfigData=r),c&&(V.client.configInfo.coldHashData=c),H&&(V.client.configInfo.hotHashData=H));r=g.FN(g.Nz.location.href);!g.No(\"web_populate_internal_geo_killswitch\")&&r.internalcountrycode&&(D.internalGeo=r.internalcountrycode);D.clientName===\"MWEB\"||D.clientName===\"WEB\"?(D.mainAppWebInfo||(D.mainAppWebInfo={}),D.mainAppWebInfo.graftUrl=g.Nz.location.href,g.No(\"kevlar_woffle\")&&zUG.instance&&(r=zUG.instance,D.mainAppWebInfo.pwaInstallabilityStatus=!r.U&&r.K?\"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED\":\n\"PWA_INSTALLABILITY_STATUS_UNKNOWN\"),D.mainAppWebInfo.webDisplayMode=OX(),D.mainAppWebInfo.isWebNativeShareAvailable=navigator&&navigator.share!==void 0):D.clientName===\"TVHTML5\"&&(!g.No(\"web_lr_app_quality_killswitch\")&&(r=g.KI(\"LIVING_ROOM_APP_QUALITY\"))&&(D.tvAppInfo=Object.assign(D.tvAppInfo||{},{appQuality:r})),r=g.KI(\"LIVING_ROOM_CERTIFICATION_SCOPE\"))&&(D.tvAppInfo=Object.assign(D.tvAppInfo||{},{certificationScope:r}));if(!g.No(\"web_populate_time_zone_itc_killswitch\")){a:{if(typeof Intl!==\n\"undefined\")try{var y=(new Intl.DateTimeFormat).resolvedOptions().timeZone;break a}catch(b){}y=void 0}y&&(D.timeZone=y)}(y=WS())?D.experimentsToken=y:delete D.experimentsToken;y=tm();p0.instance||(p0.instance=new p0);V.request=Object.assign({},V.request,{internalExperimentFlags:y,consistencyTokenJars:Nd(p0.instance.U)});!g.No(\"web_prequest_context_killswitch\")&&(y=g.KI(\"INNERTUBE_CONTEXT_PREQUEST_CONTEXT\"))&&(V.request.externalPrequestContext=y);D=g.Mm();y=D.aG(58);D=D.get(\"gsml\",\"\");V.user=Object.assign({},\nV.user);y&&(V.user.enableSafetyMode=y);D&&(V.user.lockedSafetyMode=!0);g.No(\"warm_op_csn_cleanup\")?f&&(R=g.wu())&&(V.clientScreenNonce=R):!R&&(R=g.wu())&&(V.clientScreenNonce=R);K&&(V.clickTracking={clickTrackingParams:K});if(K=g.t_(\"yt.mdx.remote.remoteClient_\"))V.remoteClient=K;mH.getInstance().setLocationOnInnerTubeContext(V);try{var h=vS(),S=h.bid;delete h.bid;V.adSignalsInfo={params:[],bid:S};for(var v=g.Z(Object.entries(h)),L=v.next();!L.done;L=v.next()){var E=g.Z(L.value),Q=E.next().value,\nJ=E.next().value;h=Q;S=J;K=void 0;(K=V.adSignalsInfo.params)==null||K.push({key:h,value:\"\"+S})}var A,B;if(((A=V.client)==null?void 0:A.clientName)===\"TVHTML5\"||((B=V.client)==null?void 0:B.clientName)===\"TVHTML5_UNPLUGGED\"){var k=g.KI(\"INNERTUBE_CONTEXT\");k.adSignalsInfo&&(V.adSignalsInfo.advertisingId=k.adSignalsInfo.advertisingId,V.adSignalsInfo.advertisingIdSignalType=\"DEVICE_ID_TYPE_CONNECTED_TV_IFA\",V.adSignalsInfo.limitAdTracking=k.adSignalsInfo.limitAdTracking)}}catch(b){g.WR(b)}return V};\nfoz=function(K,R){if(!K)return!1;var f,V=(f=g.z(K,KLc))==null?void 0:f.signal;if(V&&R.TU)return!!R.TU[V];var D;if((f=(D=g.z(K,RLB))==null?void 0:D.request)&&R.Jn)return!!R.Jn[f];for(var H in K)if(R.ut[H])return!0;return!1};\nV1h=function(K){var R={\"Content-Type\":\"application/json\"};g.KI(\"EOM_VISITOR_DATA\")?R[\"X-Goog-EOM-Visitor-Id\"]=g.KI(\"EOM_VISITOR_DATA\"):g.KI(\"VISITOR_DATA\")&&(R[\"X-Goog-Visitor-Id\"]=g.KI(\"VISITOR_DATA\"));R[\"X-Youtube-Bootstrap-Logged-In\"]=g.KI(\"LOGGED_IN\",!1);g.KI(\"DEBUG_SETTINGS_METADATA\")&&(R[\"X-Debug-Settings-Metadata\"]=g.KI(\"DEBUG_SETTINGS_METADATA\"));K!==\"cors\"&&((K=g.KI(\"INNERTUBE_CONTEXT_CLIENT_NAME\"))&&(R[\"X-Youtube-Client-Name\"]=K),(K=g.KI(\"INNERTUBE_CONTEXT_CLIENT_VERSION\"))&&(R[\"X-Youtube-Client-Version\"]=\nK),(K=g.KI(\"CHROME_CONNECTED_HEADER\"))&&(R[\"X-Youtube-Chrome-Connected\"]=K),(K=g.KI(\"DOMAIN_ADMIN_STATE\"))&&(R[\"X-Youtube-Domain-Admin-State\"]=K));(K=g.KI(\"SERIALIZED_LAVA_DEVICE_CONTEXT\"))&&(R[\"X-YouTube-Lava-Device-Context\"]=K);return R};\nD7B=function(){this.U={}};\nud=function(){this.mappings=new D7B};\ns_=function(K){return function(){return new K}};\n$7B=function(K){var R=R===void 0?\"UNKNOWN_INTERFACE\":R;if(K.length===1)return K[0];var f=HP2[R];if(f){f=new RegExp(f);for(var V=g.Z(K),D=V.next();!D.done;D=V.next())if(D=D.value,f.exec(D))return D}var H=[];Object.entries(HP2).forEach(function(l){var F=g.Z(l);l=F.next().value;F=F.next().value;R!==l&&H.push(F)});\nf=new RegExp(H.join(\"|\"));K.sort(function(l,F){return l.length-F.length});\nV=g.Z(K);for(D=V.next();!D.done;D=V.next())if(D=D.value,!f.exec(D))return D;return K[0]};\ng.C0=function(K){return\"/youtubei/v1/\"+$7B(K)};\neC=function(){};\nvar iBe=function(K,R){return Az[d[0]](this,10,K,R)};\nvar K$=function(){};\nvar cz_=function(){return hz[d[0]](this,14)};\nRn=function(){};\nf$=function(K){return g.t_(\"ytcsi.\"+(K||\"\")+\"data_\")||loN(K)};\nd7_=function(){var K=f$();K.info||(K.info={});return K.info};\nVI=function(K){K=f$(K);K.metadata||(K.metadata={});return K.metadata};\nDR=function(K){K=f$(K);K.tick||(K.tick={});return K.tick};\nHV=function(K){K=f$(K);if(K.gel){var R=K.gel;R.gelInfos||(R.gelInfos={});R.gelTicks||(R.gelTicks={})}else K.gel={gelTicks:{},gelInfos:{}};return K.gel};\nFLh=function(K){K=HV(K);K.gelInfos||(K.gelInfos={});return K.gelInfos};\n$Q=function(K){var R=f$(K).nonce;R||(R=g.SI(16),f$(K).nonce=R);return R};\nloN=function(K){var R={tick:{},info:{}};g.WT(\"ytcsi.\"+(K||\"\")+\"data_\",R);return R};\nlZ=function(){var K=g.t_(\"ytcsi.debug\");K||(K=[],g.WT(\"ytcsi.debug\",K),g.WT(\"ytcsi.reference\",{}));return K};\nd0=function(K){K=K||\"\";var R=ce2();if(R[K])return R[K];var f=lZ(),V={timerName:K,info:{},tick:{},span:{},jspbInfo:[]};f.push(V);return R[K]=V};\nree=function(K){K=K||\"\";var R=ce2();R[K]&&delete R[K];var f=lZ(),V={timerName:K,info:{},tick:{},span:{},jspbInfo:[]};f.push(V);R[K]=V};\nce2=function(){var K=g.t_(\"ytcsi.reference\");if(K)return K;lZ();return g.t_(\"ytcsi.reference\")};\nFi=function(K){return yez[K]||\"LATENCY_ACTION_UNKNOWN\"};\ncV=function(K,R){op.call(this,1,arguments);this.timer=R};\nr0=function(){this.U=0};\nyI=function(){r0.instance||(r0.instance=new r0);return r0.instance};\non=function(K,R){h2[R]=h2[R]||{count:0};var f=h2[R];f.count++;f.time=(0,g.N7)();K.U||(K.U=g.ez(0,function(){var V=(0,g.N7)(),D;for(D in h2)h2[D]&&V-h2[D].time>6E4&&delete h2[D];K&&(K.U=0)},5E3));\nreturn f.count>5?(f.count===6&&Math.random()*1E5<1&&(f=new g.NB(\"CSI data exceeded logging limit with key\",R.split(\"_\")),R.indexOf(\"plev\")>=0||g.A$(f)),!0):!1};\nhLc=function(){this.timing={};this.clearResourceTimings=function(){};\nthis.webkitClearResourceTimings=function(){};\nthis.mozClearResourceTimings=function(){};\nthis.msClearResourceTimings=function(){};\nthis.oClearResourceTimings=function(){}};\noI_=function(){var K;if(g.No(\"csi_use_performance_navigation_timing\")){var R,f,V,D=SY==null?void 0:(K=SY.getEntriesByType)==null?void 0:(R=K.call(SY,\"navigation\"))==null?void 0:(f=R[0])==null?void 0:(V=f.toJSON)==null?void 0:V.call(f);D?(D.requestStart=iZ(D.requestStart),D.responseEnd=iZ(D.responseEnd),D.redirectStart=iZ(D.redirectStart),D.redirectEnd=iZ(D.redirectEnd),D.domainLookupEnd=iZ(D.domainLookupEnd),D.connectStart=iZ(D.connectStart),D.connectEnd=iZ(D.connectEnd),D.responseStart=iZ(D.responseStart),\nD.secureConnectionStart=iZ(D.secureConnectionStart),D.domainLookupStart=iZ(D.domainLookupStart),D.isPerformanceNavigationTiming=!0,K=D):K=SY.timing}else K=g.No(\"csi_performance_timing_to_object\")?JSON.parse(JSON.stringify(SY.timing)):SY.timing;return K};\niZ=function(K){return Math.round(vV()+K)};\nvV=function(){return(g.No(\"csi_use_time_origin\")||g.No(\"csi_use_time_origin_tvhtml5\"))&&SY.timeOrigin?Math.floor(SY.timeOrigin):SY.timing.navigationStart};\nw0=function(K,R){L$(\"_start\",K,R)};\nzy=function(K,R){if(!g.No(\"web_csi_action_sampling_enabled\")||!f$(R).actionDisabled){var f=d0(R||\"\");ds(f.info,K);K.loadType&&(f=K.loadType,VI(R).loadType=f);ds(FLh(R),K);f=$Q(R);R=f$(R).cttAuthInfo;yI().info(K,f,R)}};\nSN_=function(){var K,R,f,V;return((V=Ue().resolve(new xJ(Fq))==null?void 0:(K=cY())==null?void 0:(R=K.loggingHotConfig)==null?void 0:(f=R.csiConfig)==null?void 0:f.debugTicks)!=null?V:[]).map(function(D){return Object.values(D)[0]})};\nL$=function(K,R,f){if(!g.No(\"web_csi_action_sampling_enabled\")||!f$(f).actionDisabled){var V=$Q(f),D;if(D=g.No(\"web_csi_debug_sample_enabled\")&&V){(Ue().resolve(new xJ(Fq))==null?0:cY())&&!iPe&&(iPe=!0,L$(\"gcfl\",(0,g.N7)(),f));var H,l,F;D=(Ue().resolve(new xJ(Fq))==null?void 0:(H=cY())==null?void 0:(l=H.loggingHotConfig)==null?void 0:(F=l.csiConfig)==null?void 0:F.debugSampleWeight)||0;if(H=D!==0)b:{H=SN_();if(H.length>0)for(l=0;lf.duration?V:f},{duration:0}))&&R.startTime>0&&R.responseEnd>0&&(L$(\"wffs\",iZ(R.startTime)),L$(\"wffe\",iZ(R.responseEnd)))};\naoh=function(K,R,f){SY&&SY.measure&&(K.startsWith(\"measure_\")||(K=\"measure_\"+K),f?SY.measure(K,R,f):R?SY.measure(K,R):SY.measure(K))};\nQ8_=function(K){var R=xQ(\"aft\",K);if(R)return R;R=g.KI((K||\"\")+\"TIMING_AFT_KEYS\",[\"ol\"]);for(var f=R.length,V=0;V0&&zy(R);R={isNavigation:!0,actionType:Fi(g.KI(\"TIMING_ACTION\"))};var f=g.KI(\"PREVIOUS_ACTION\");f&&(R.previousAction=Fi(f));if(f=g.KI(\"CLIENT_PROTOCOL\"))R.httpProtocol=f;if(f=g.KI(\"CLIENT_TRANSPORT\"))R.transportProtocol=f;(f=g.wu())&&f!==\"UNDEFINED_CSN\"&&(R.clientScreenNonce=f);f=w7o();if(f===1||f===-1)R.isVisible=\n!0;f=VI().loadType===\"cold\";var V=d7_();f||(f=V.yt_lt===\"cold\");if(f){R.loadType=\"cold\";f=d7_();V=oI_();var D=vV(),H=g.KI(\"CSI_START_TIMESTAMP_MILLIS\",0);H>0&&!g.No(\"embeds_web_enable_csi_start_override_killswitch\")&&(D=H);D&&(L$(\"srt\",V.responseStart),f.prerender!==1&&w0(D));f=WLo();f>0&&L$(\"fpt\",f);f=oI_();f.isPerformanceNavigationTiming&&zy({performanceNavigationTiming:!0},void 0);L$(\"nreqs\",f.requestStart,void 0);L$(\"nress\",f.responseStart,void 0);L$(\"nrese\",f.responseEnd,void 0);f.redirectEnd-\nf.redirectStart>0&&(L$(\"nrs\",f.redirectStart,void 0),L$(\"nre\",f.redirectEnd,void 0));f.domainLookupEnd-f.domainLookupStart>0&&(L$(\"ndnss\",f.domainLookupStart,void 0),L$(\"ndnse\",f.domainLookupEnd,void 0));f.connectEnd-f.connectStart>0&&(L$(\"ntcps\",f.connectStart,void 0),L$(\"ntcpe\",f.connectEnd,void 0));f.secureConnectionStart>=vV()&&f.connectEnd-f.secureConnectionStart>0&&(L$(\"nstcps\",f.secureConnectionStart,void 0),L$(\"ntcpe\",f.connectEnd,void 0));SY&&\"getEntriesByType\"in SY&&EI5();f=[];if(document.querySelector&&\nSY&&SY.getEntriesByName)for(var l in QI)QI.hasOwnProperty(l)&&(V=QI[l],x7B(l,V)&&f.push(V));if(f.length>0)for(R.resourceInfo=[],l=g.Z(f),f=l.next();!f.done;f=l.next())R.resourceInfo.push({resourceCache:f.value})}zy(R);R=HV();R.preLoggedGelInfos||(R.preLoggedGelInfos=[]);l=R.preLoggedGelInfos;R=FLh();f=void 0;for(V=0;V-1&&(delete b_[\"@type\"],yN=b_);B&&K.K.has(B)&&K.K.delete(B);((YV=R.config)==null?0:YV.FYY)&&Uz(R.config.FYY);if(yN||(J_=K.X)==null||!J_.dSQ(R.input,R.oT)){L8.J5(18);break}return g.P(L8,K.X.K$0(R.input,R.oT),19);case 19:yN=\nL8.K;case 18:return Ty(K,yN,R),((t=R.config)==null?0:t.AKU)&&Uz(R.config.AKU),V(),L8.return(yN||void 0)}})};\nOPv=function(K,R){a:{K=K.Fu;var f,V=(f=g.z(R,KLc))==null?void 0:f.signal;if(V&&K.TU&&(f=K.TU[V])){var D=f();break a}var H;if((f=(H=g.z(R,RLB))==null?void 0:H.request)&&K.Jn&&(H=K.Jn[f])){D=H();break a}for(D in R)if(K.ut[D]&&(R=K.ut[D])){D=R();break a}D=void 0}if(D!==void 0)return Promise.resolve(D)};\nqNc=function(K,R,f){var V,D,H,l,F,c,r;return g.I(function(y){if(y.U==1){H=((V=R)==null?void 0:(D=V.yU)==null?void 0:D.identity)||ha;c=(l=R)==null?void 0:(F=l.yU)==null?void 0:F.sessionIndex;var h=g.Zc(K.U.AM(H,{sessionIndex:c}));return g.P(y,h,2)}r=y.K;return y.return(Promise.resolve(Object.assign({},V1h(f),r)))})};\nj8v=function(K,R,f){var V,D=(R==null?void 0:(V=R.yU)==null?void 0:V.identity)||ha,H;R=R==null?void 0:(H=R.yU)==null?void 0:H.sessionIndex;K=K.U.AM(D,{sessionIndex:R});return Object.assign({},V1h(f),K)};\nPV=function(){};\nn$=function(){};\nIn=function(K){this.T=K};\ng0=function(){};\nOz=function(){};\njY=function(){};\nq4=function(){};\ng.M4=function(K,R){var f=g.wW.apply(2,arguments);K=K===void 0?0:K;g.NB.call(this,R,f);this.errorType=K;Object.setPrototypeOf(this,this.constructor.prototype)};\nbZ=function(K){this.U=K};\nYNc=function(K,R,f){if(K.U){var V=U0(nD(R,\"key\"))||\"/UNKNOWN_PATH\";K.U.start(V)}K=f;g.No(\"wug_networking_gzip_request\")&&(K=rFB(f));return new window.Request(R,K)};\ng.YQ=function(K,R){if(!p$){var f=Ue();Ee(f,{QV:m7w,cW:bZ});var V={ut:{feedbackEndpoint:s_(g0),modifyChannelNotificationPreferenceEndpoint:s_(Oz),playlistEditEndpoint:s_(jY),shareEntityEndpoint:s_(In),subscribeEndpoint:s_(PV),unsubscribeEndpoint:s_(n$),webPlayerShareEntityServiceEndpoint:s_(q4)}},D=mH.getInstance(),H={};D&&(H.client_location=D);K===void 0&&(K=xXw());R===void 0&&(R=f.resolve(m7w));gIv(V,R,K,H);Ee(f,{QV:GrD,a5:BV.instance});p$=f.resolve(GrD)}return p$};\nuD_=function(K){var R=new c8;if(K.interpreterJavascript){var f=dtD(K.interpreterJavascript);f=Td(f).toString();var V=new dz;fJ(V,6,f);MR(R,dz,1,V,c4)}else K.interpreterUrl&&(f=Zh(K.interpreterUrl),f=wN(f).toString(),V=new FP,fJ(V,4,f),MR(R,FP,2,V,c4));K.interpreterHash&&VU(R,3,K.interpreterHash,c4);K.program&&VU(R,4,K.program,c4);K.globalName&&VU(R,5,K.globalName,c4);K.clientExperimentsStateBlob&&VU(R,7,K.clientExperimentsStateBlob,c4);return R};\nm3=function(K){var R={};K=K.split(\"&\");K=g.Z(K);for(var f=K.next();!f.done;f=K.next())f=f.value.split(\"=\"),f.length===2&&(R[f[0]]=f[1]);return R};\ns8o=function(){var K=K===void 0?window:K;var R,f;return g.I(function(V){if(V.U==1)return g.P(V,l1(),2);R=K;f=R.bgevmc;if(!f)throw Error(\"BGE Controls not exposed\");return V.return({pause:function(){f.p()},\nresume:function(){f.r()},\ncheckForRefresh:function(){return f.cr()}})})};\nsk5=function(){if(g.No(\"bg_st_hr\"))return\"havuokmhhs-0\";var K,R=((K=globalThis.performance)==null?void 0:K.timeOrigin)||0;return\"havuokmhhs-\"+Math.floor(R)};\nGy=function(K){window.bgens=K};\nuZ=function(K){this.U=K};\nC3o=function(){return new Promise(function(K){var R=window;R.ntpevasrs!==void 0?K(new uZ(R.ntpevasrs)):(R.ntpqfbel===void 0&&(R.ntpqfbel=[]),R.ntpqfbel.push(function(f){K(new uZ(f))}))})};\nREz=function(){if(le()){var K=g.KI(\"PLAYER_VARS\",{});if(g.By(K,\"privembed\",!1)!=\"1\"&&!GtB(K)){var R=function(){sz=!0;\"google_ad_status\"in window?eK(\"DCLKSTAT\",1):eK(\"DCLKSTAT\",2)};\ntry{g.DA(eLG,R)}catch(f){}KFo.push(g.b7.sU(function(){if(!(sz||\"google_ad_status\"in window)){try{if(eLG.toString()&&R){var f=\"\"+g.n8(R),V=p2N[f];V&&g.f3(V)}}catch(D){}sz=!0;eK(\"DCLKSTAT\",3)}},5E3))}}};\nC$=function(){var K=Number(g.KI(\"DCLKSTAT\",0));return isNaN(K)?0:K};\nfv=function(K,R,f){var V=this;this.network=K;this.options=R;this.K=f;this.U=null;if(R.Gsr){var D=new g.hn;this.U=D.promise;g.Nz.ytAtRC&&C4(function(){var H,l;return g.I(function(F){if(F.U==1){if(!g.Nz.ytAtRC)return F.return();H=eY(null);return g.P(F,Kv(V,H),2)}l=F.K;g.Nz.ytAtRC&&g.Nz.ytAtRC(JSON.stringify(l));g.lE(F)})},2);\nC3o().then(function(H){var l,F,c,r;return g.I(function(y){if(y.U==1)return H.bindInnertubeChallengeFetcher(function(h){return Kv(V,eY(h))}),g.P(y,l1(),2);\nl=y.K;F=H.getLatestChallengeResponse();c=F.challenge;if(!c)throw Error(\"BGE_MACIL\");r={challenge:c,DS:m3(c),r8:l,bgChallenge:new c8};D.resolve(r);H.registerChallengeFetchedCallback(function(h){h=h.challenge;if(!h)throw Error(\"BGE_MACR\");h={challenge:h,DS:m3(h),r8:l,bgChallenge:new c8};V.U=Promise.resolve(h)});\ng.lE(y)})})}else R.preload&&fIB(this,new Promise(function(H){g.ez(0,function(){H(Ry(V))},0)}))};\neY=function(K){var R={engagementType:\"ENGAGEMENT_TYPE_UNBOUND\"};K&&(R.interpreterHash=K);return R};\nRy=function(K,R){R=R===void 0?0:R;var f,V,D,H,l,F,c,r,y,h,S,v;return g.I(function(L){switch(L.U){case 1:f=eY(iH().U);if(g.No(\"att_fet_ks\"))return g.Fp(L,7),g.P(L,Kv(K,f),9);g.Fp(L,4);return g.P(L,V5G(K,f),6);case 6:l=L.K;D=l.Wi5;H=l.c$Q;V=l;g.rW(L,3);break;case 4:return g.yH(L),g.A$(Error(\"Failed to fetch attestation challenge after \"+(R+\" attempts; not retrying for 24h.\"))),Vw(K,864E5),L.return({challenge:\"\",DS:{},r8:void 0,bgChallenge:void 0});case 9:V=L.K;if(!V)throw Error(\"Fetching Attestation challenge returned falsy\");\nif(!V.challenge)throw Error(\"Missing Attestation challenge\");D=V.challenge;H=m3(D);if(\"c1a\"in H&&(!V.bgChallenge||!V.bgChallenge.program))throw Error(\"Expected bg challenge but missing.\");g.rW(L,3);break;case 7:F=g.yH(L);g.A$(F);R++;if(R>=5)return g.A$(Error(\"Failed to fetch attestation challenge after \"+(R+\" attempts; not retrying for 24h.\"))),Vw(K,864E5),L.return({challenge:\"\",DS:{},r8:void 0,bgChallenge:void 0});c=1E3*Math.pow(2,R-1)+Math.random()*1E3;return L.return(new Promise(function(E){g.ez(0,\nfunction(){E(Ry(K,R))},c)}));\ncase 3:r=Number(H.t)||7200;Vw(K,r*1E3);y=void 0;if(!(\"c1a\"in H&&V.bgChallenge)){L.J5(10);break}h=uD_(V.bgChallenge);g.Fp(L,11);return g.P(L,Gwh(iH(),h),13);case 13:g.rW(L,12);break;case 11:return S=g.yH(L),g.A$(S),L.return({challenge:D,DS:H,r8:y,bgChallenge:h});case 12:return g.Fp(L,14),y=new ou({challenge:h,UR:{PR:\"aGIf\"}}),g.P(L,y.l3,16);case 16:g.rW(L,10);break;case 14:v=g.yH(L),g.A$(v),y=void 0;case 10:return L.return({challenge:D,DS:H,r8:y,bgChallenge:h})}})};\nDQM=function(K,R){var f;return g.I(function(V){if(V.U==1)return Gy(2),g.Fp(V,2),g.P(V,Kv(K.network,R),4);if(V.U!=2)return(f=V.K)?f.challenge&&!f.bgChallenge?Gy(1):Gy(4):Gy(3),V.return(f);g.yH(V);Gy(3);return V.return(void 0)})};\nKv=function(K,R){var f;return g.I(function(V){f=K.K;if(!f||f.XL())return V.return(DQM(K,R));ZR(\"att_pna\",void 0,\"attestation_challenge_fetch\");return V.return(new Promise(function(D){f.lk(\"publicytnetworkstatus-online\",function(){DQM(K,R).then(D)})}))})};\nHOo=function(K){if(!K)throw Error(\"Fetching Attestation challenge returned falsy\");if(!K.challenge)throw Error(\"Missing Attestation challenge\");var R=K.challenge,f=m3(R);if(\"c1a\"in f&&(!K.bgChallenge||!K.bgChallenge.program))throw Error(\"Expected bg challenge but missing.\");return Object.assign({},K,{Wi5:R,c$Q:f})};\nV5G=function(K,R){var f,V,D,H,l;return g.I(function(F){switch(F.U){case 1:f=void 0,V=0,D={};case 2:if(!(V<5)){F.J5(4);break}if(!(V>0)){F.J5(5);break}D.hO=1E3*Math.pow(2,V-1)+Math.random()*1E3;return g.P(F,new Promise(function(c){return function(r){g.ez(0,function(){r(void 0)},c.hO)}}(D)),5);\ncase 5:return g.Fp(F,7),g.P(F,Kv(K,R),9);case 9:return H=F.K,F.return(HOo(H));case 7:f=l=g.yH(F),l instanceof Error&&g.A$(l);case 8:V++;D={hO:void 0};F.J5(2);break;case 4:throw f;}})};\nfIB=function(K,R){K.U=R};\n$Q_=function(K){var R,f,V;return g.I(function(D){if(D.U==1)return g.P(D,Promise.race([K.U,null]),2);R=D.K;var H=Ry(K);K.U=H;(f=R)==null||(V=f.r8)==null||V.dispose();g.lE(D)})};\nVw=function(K,R){function f(){var D;return g.I(function(H){D=V-Date.now();return D<1E3?g.P(H,$Q_(K),0):(C4(f,0,Math.min(D,6E4)),H.J5(0))})}\nvar V=Date.now()+R;f()};\nlI2=function(K,R){return new Promise(function(f){g.ez(0,function(){f(R())},K)})};\ndQc=function(){return new Promise(function(K){var R=window;R.attmp!==void 0?K(R.attmp):(R.attmq===void 0&&(R.attmq=[]),R.attmq.push(function(f){K(f)}))})};\ng.FFB=function(K,R){var f,V;return g.I(function(D){if(D.U==1)return g.No(\"attmusi\")&&g.No(\"attmusi_ue\")?g.P(D,dQc(),3):D.J5(2);if(D.U!=2)return f=D.K,D.return(f.s(\"ENGAGEMENT_TYPE_PLAYBACK\",K,R));var H=g.t_(\"yt.aba.att\");return(V=H?H:fv.instance!==void 0?fv.instance.X.bind(fv.instance):null)?D.return(V(\"ENGAGEMENT_TYPE_PLAYBACK\",K,R)):D.return(Promise.resolve({error:\"ATTESTATION_ERROR_API_NOT_READY\"}))})};\ng.caB=function(){var K,R,f;return g.I(function(V){if(V.U==1){if(!g.No(\"attmusi\")||!g.No(\"attmusi_ue\"))return V.J5(2);K=window;return K.attmp===void 0?V.return(!1):g.P(V,dQc(),3)}if(V.U!=2)return R=V.K,V.return(R.ir());var D=g.t_(\"yt.aba.att2\");return(f=D?D:fv.instance!==void 0?fv.instance.J.bind(fv.instance):null)?V.return(f()):V.return(Promise.resolve(!1))})};\nyaN=function(K,R){var f=g.t_(\"ytDebugData.callbacks\");f||(f={},g.WT(\"ytDebugData.callbacks\",f));if(g.No(\"web_dd_iu\")||rah.includes(K))f[K]=R};\nD7=function(){var K=hEe;var R=R===void 0?[]:R;var f=f===void 0?[]:f;R=fcB.apply(null,[Voe.apply(null,g.X(R))].concat(g.X(f)));this.store=Hoe(K,void 0,R)};\ng.Hu=function(K,R,f){for(var V=Object.assign({},K),D=g.Z(Object.keys(R)),H=D.next();!H.done;H=D.next()){H=H.value;var l=K[H],F=R[H];if(F===void 0)delete V[H];else if(l===void 0)V[H]=F;else if(Array.isArray(F)&&Array.isArray(l))V[H]=f?[].concat(g.X(l),g.X(F)):F;else if(!Array.isArray(F)&&g.kV(F)&&!Array.isArray(l)&&g.kV(l))V[H]=g.Hu(l,F,f);else if(typeof F===typeof l)V[H]=F;else return R=new g.NB(\"Attempted to merge fields of differing types.\",{name:\"DeepMergeError\",key:H,GXr:l,updateValue:F}),g.WR(R),\nK}return V};\n$4=function(K){var R=this;K=K===void 0?[]:K;this.U=[];this.X=this.K=0;this.J=void 0;this.totalLength=0;K.forEach(function(f){R.append(f)})};\no65=function(K,R){return K.U.length===0?!1:(K=K.U[K.U.length-1])&&K.buffer===R.buffer&&K.byteOffset+K.length===R.byteOffset};\nlB=function(K,R){R=g.Z(R.U);for(var f=R.next();!f.done;f=R.next())K.append(f.value)};\ndS=function(K,R,f){return K.split(R).VP.split(f).FU};\nFy=function(K){K.J=void 0;K.K=0;K.X=0};\ncu=function(K,R,f){K.isFocused(R);return R-K.X+f<=K.U[K.K].length};\nSBv=function(K){if(!K.J){var R=K.U[K.K];K.J=new DataView(R.buffer,R.byteOffset,R.length)}return K.J};\niOD=function(K,R,f){R=R===void 0?0:R;f=f===void 0?-1:f;if(!K.totalLength||!f)return new DataView(new ArrayBuffer(0));f<0&&(f=K.totalLength-R);K.focus(R);if(!cu(K,R,f)){var V=K.K,D=K.X;K.focus(R+f-1);D=new Uint8Array(K.X+K.U[K.K].length-D);for(var H=0,l=V;l<=K.K;l++)D.set(K.U[l],H),H+=K.U[l].length;K.U.splice(V,K.K-V+1,D);Fy(K);K.focus(R)}V=K.U[K.K];return new DataView(V.buffer,V.byteOffset+R-K.X,f)};\nrS=function(K,R,f){K=iOD(K,R===void 0?0:R,f===void 0?-1:f);return new Uint8Array(K.buffer,K.byteOffset,K.byteLength)};\nyw=function(K,R,f){K=rS(K,R===void 0?0:R,f===void 0?-1:f);R=new Uint8Array(K.length);try{R.set(K)}catch(V){for(f=0;f>10;H=56320|H&1023}iB[D++]=H}}H=String.fromCharCode.apply(String,iB);\nD<1024&&(H=H.substring(0,D));f.push(H)}return f.join(\"\")};\nwS=function(K,R){var f;if((f=Lv)==null?0:f.encodeInto)return R=Lv.encodeInto(K,R),R.read>6|192:((D&64512)===55296&&V+1>18|240,R[f++]=D>>12&63|128):R[f++]=D>>12|224,R[f++]=D>>6&63|128),R[f++]=D&63|128)}return f};\nz7=function(K){if(Lv)return Lv.encode(K);var R=new Uint8Array(Math.ceil(K.length*1.2)),f=wS(K,R);R.lengthf&&(R=R.subarray(0,f));return R};\nx4=function(K){this.U=K;this.pos=0;this.K=-1};\nEu=function(K){var R=hR(K.U,K.pos);++K.pos;if(R<128)return R;for(var f=R&127,V=1;R>=128;)R=hR(K.U,K.pos),++K.pos,V*=128,f+=(R&127)*V;return f};\nay=function(K,R){var f=K.K;for(K.K=-1;K.pos+1<=K.U.totalLength;){f<0&&(f=Eu(K));var V=f>>3,D=f&7;if(V===R)return!0;if(V>R){K.K=f;break}f=-1;switch(D){case 0:Eu(K);break;case 1:K.pos+=8;break;case 2:V=Eu(K);K.pos+=V;break;case 5:K.pos+=4}}return!1};\nQw=function(K,R){if(ay(K,R))return Eu(K)};\nwYc=function(K,R){if(ay(K,R))return R=rS(K.U,K.pos,8),K.pos+=8,(new DataView(R.buffer,R.byteOffset,R.byteLength)).getFloat64(0,!0)};\nNI=function(K,R){if(ay(K,R))return!!Eu(K)};\nUu=function(K,R){if(ay(K,R)){R=Eu(K);var f=rS(K.U,K.pos,R);K.pos+=R;return f}};\nWu=function(K,R){if(K=Uu(K,R))return g.vu(K)};\ntR=function(K,R,f){if(K=Uu(K,R))return f(new x4(new $4([K])))};\nAR=function(K,R){for(var f=[];ay(K,R);)f.push(Eu(K));return f.length?f:void 0};\nJR=function(K,R,f){for(var V=[],D;D=Uu(K,R);)V.push(f(new x4(new $4([D]))));return V.length?V:void 0};\nZ7=function(K,R){K=K instanceof Uint8Array?new $4([K]):K;return R(new x4(K))};\nzE2=function(K,R){K=new Uint8Array(K);R&&K.set(R);return K};\nxQ5=function(K){this.pos=0;this.K=[];this.U=zE2(K===void 0?4096:K);this.view=new DataView(this.U.buffer,this.U.byteOffset,this.U.byteLength)};\nBu=function(K,R){R=K.pos+R;if(!(K.U.length>=R)){for(var f=K.U.length*2;f268435455){Bu(K,4);for(var f=R&1073741823,V=0;V<4;V++)K.view.setUint8(K.pos,f&127|128),f>>=7,K.pos+=1;R=Math.floor(R/268435456)}for(Bu(K,4);R>127;)K.view.setUint8(K.pos,R&127|128),R>>=7,K.pos+=1;K.view.setUint8(K.pos,R);K.pos+=1};\nk4=function(K,R,f){f!==void 0&&(Xy(K,R*8),Xy(K,f))};\nT7=function(K,R,f){f!==void 0&&k4(K,R,f?1:0)};\nPu=function(K,R,f){f!==void 0&&(Xy(K,R*8+2),R=f.length,Xy(K,R),Bu(K,R),K.U.set(f,K.pos),K.pos+=R)};\nnv=function(K,R,f){f!==void 0&&(E6z(K,R,Math.ceil(Math.log2(f.length*4+2)/7)),Bu(K,f.length*1.2),R=wS(f,K.U.subarray(K.pos)),K.pos+R>K.U.length&&(Bu(K,R),R=wS(f,K.U.subarray(K.pos))),K.pos+=R,aIc(K))};\nE6z=function(K,R,f){f=f===void 0?2:f;Xy(K,R*8+2);K.K.push(K.pos);K.K.push(f);K.pos+=f};\naIc=function(K){for(var R=K.K.pop(),f=K.K.pop(),V=K.pos-f-R;R--;){var D=R?128:0;K.view.setUint8(f++,V&127|D);V>>=7}};\nIy=function(K,R,f,V,D){f&&(E6z(K,R,D===void 0?3:D),V(K,f),aIc(K))};\ng.gS=function(K,R){var f=new xQ5(4096);R(f,K);return new Uint8Array(f.U.buffer,f.U.byteOffset,f.pos)};\ng.Ou=function(K){var R=new x4(new $4([q8(decodeURIComponent(K))]));K=Wu(R,2);R=Qw(R,4);var f=Qph[R];if(typeof f===\"undefined\")throw K=new g.NB(\"Failed to recognize field number\",{name:\"EntityKeyHelperError\",fieldNumber:R}),g.WR(K),K;return{mW:R,entityType:f,entityId:K}};\ng.j6=function(K,R){var f=f===void 0?0:f;var V=new xQ5;Pu(V,2,z7(K));K=Ng5[R];if(typeof K===\"undefined\")throw f=new g.NB(\"Failed to recognize entity type\",{name:\"EntityKeyHelperError\",entityType:R}),g.WR(f),f;k4(V,4,K);k4(V,5,1);R=new Uint8Array(V.U.buffer,V.U.byteOffset,V.pos);return encodeURIComponent(g.OY(R,f))};\nqI=function(K,R,f,V){if(V===void 0)return V=Object.assign({},K[R]||{}),f=(delete V[f],V),V={},Object.assign({},K,(V[R]=f,V));var D={},H={};return Object.assign({},K,(H[R]=Object.assign({},K[R],(D[f]=V,D)),H))};\nUQB=function(K,R,f,V,D){var H=K[R];if(H==null||!H[f])return K;V=g.Hu(H[f],V,D===\"REPEATED_FIELDS_MERGE_OPTION_APPEND\");D={};H={};return Object.assign({},K,(H[R]=Object.assign({},K[R],(D[f]=V,D)),H))};\nWFe=function(K,R){K=K===void 0?{}:K;switch(R.type){case \"ENTITY_LOADED\":return R.payload.reduce(function(V,D){var H,l=(H=D.options)==null?void 0:H.persistenceOption;if(l&&l!==\"ENTITY_PERSISTENCE_OPTION_UNKNOWN\"&&l!==\"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST\")return V;if(!D.entityKey)return g.WR(Error(\"Missing entity key\")),V;if(D.type===\"ENTITY_MUTATION_TYPE_REPLACE\"){if(!D.payload)return D=new g.NB(\"REPLACE entity mutation is missing a payload\",{entityKey:D.entityKey}),g.WR(D),V;var F=g.QZ(D.payload);\nreturn qI(V,F,D.entityKey,D.payload[F])}if(D.type===\"ENTITY_MUTATION_TYPE_DELETE\"){a:{D=D.entityKey;try{var c=g.Ou(D).entityType;F=qI(V,c,D);break a}catch(h){if(h instanceof Error){D=new g.NB(\"Failed to deserialize entity key\",{entityKey:D,originalMessage:h.message});g.WR(D);F=V;break a}throw h;}F=void 0}return F}if(D.type===\"ENTITY_MUTATION_TYPE_UPDATE\"){if(!D.payload)return D=new g.NB(\"UPDATE entity mutation is missing a payload\",{entityKey:D.entityKey}),g.WR(D),V;F=g.QZ(D.payload);var r,y;return UQB(V,\nF,D.entityKey,D.payload[F],(r=D.fieldMask)==null?void 0:(y=r.mergeOptions)==null?void 0:y.repeatedFieldsMergeOption)}return V},K);\ncase \"REPLACE_ENTITY\":var f=R.payload;return qI(K,f.entityType,f.key,f.qC);case \"REPLACE_ENTITIES\":return Object.keys(R.payload).reduce(function(V,D){var H=R.payload[D];return Object.keys(H).reduce(function(l,F){return qI(l,D,F,H[F])},V)},K);\ncase \"UPDATE_ENTITY\":return f=R.payload,UQB(K,f.entityType,f.key,f.qC,f.gXr);default:return K}};\nMI=function(K,R,f){return K[R]?K[R][f]||null:null};\nbB=function(K){return window.Int32Array?new Int32Array(K):Array(K)};\nCv=function(K){g.O.call(this);this.counter=[0,0,0,0];this.K=new Uint8Array(16);this.U=16;if(!t5B){var R,f=new Uint8Array(256),V=new Uint8Array(256);var D=1;for(R=0;R<256;R++)f[D]=R,V[R]=D,D^=D<<1^(D>>7&&283);pv=new Uint8Array(256);Y4=bB(256);mS=bB(256);G7=bB(256);uB=bB(256);for(var H=0;H<256;H++){D=H?V[255^f[H]]:0;D^=D<<1^D<<2^D<<3^D<<4;D=D&255^D>>>8^99;pv[H]=D;R=D<<1^(D>>7&&283);var l=R^D;Y4[H]=R<<24|D<<16|D<<8|l;mS[H]=l<<24|Y4[H]>>>8;G7[H]=D<<24|mS[H]>>>8;uB[H]=D<<24|G7[H]>>>8}t5B=!0}D=bB(44);for(f=\n0;f<4;f++)D[f]=K[4*f]<<24|K[4*f+1]<<16|K[4*f+2]<<8|K[4*f+3];for(V=1;f<44;f++)K=D[f-1],f%4||(K=(pv[K>>16&255]^V)<<24|pv[K>>8&255]<<16|pv[K&255]<<8|pv[K>>>24],V=V<<1^(V>>7&&283)),D[f]=D[f-4]^K;this.key=D};\nAav=function(K){for(var R=K.key,f=K.counter[0]^R[0],V=K.counter[1]^R[1],D=K.counter[2]^R[2],H=K.counter[3]^R[3],l=3;l>=0&&!(K.counter[l]=-~K.counter[l]);l--);for(var F,c,r=4;r<40;)l=Y4[f>>>24]^mS[V>>16&255]^G7[D>>8&255]^uB[H&255]^R[r++],F=Y4[V>>>24]^mS[D>>16&255]^G7[H>>8&255]^uB[f&255]^R[r++],c=Y4[D>>>24]^mS[H>>16&255]^G7[f>>8&255]^uB[V&255]^R[r++],H=Y4[H>>>24]^mS[f>>16&255]^G7[V>>8&255]^uB[D&255]^R[r++],f=l,V=F,D=c;K=K.K;l=R[40];K[0]=pv[f>>>24]^l>>>24;K[1]=pv[V>>16&255]^l>>16&255;K[2]=pv[D>>8&255]^\nl>>8&255;K[3]=pv[H&255]^l&255;l=R[41];K[4]=pv[V>>>24]^l>>>24;K[5]=pv[D>>16&255]^l>>16&255;K[6]=pv[H>>8&255]^l>>8&255;K[7]=pv[f&255]^l&255;l=R[42];K[8]=pv[D>>>24]^l>>>24;K[9]=pv[H>>16&255]^l>>16&255;K[10]=pv[f>>8&255]^l>>8&255;K[11]=pv[V&255]^l&255;l=R[43];K[12]=pv[H>>>24]^l>>>24;K[13]=pv[f>>16&255]^l>>16&255;K[14]=pv[V>>8&255]^l>>8&255;K[15]=pv[D&255]^l&255};\nRd=function(){if(!e6&&!g.Gr){if(KY)return KY;var K;KY=(K=window.crypto)==null?void 0:K.subtle;var R,f,V;if(((R=KY)==null?0:R.importKey)&&((f=KY)==null?0:f.sign)&&((V=KY)==null?0:V.encrypt))return KY;KY=void 0}};\ng.DX=function(K){var R=Rd();R&&(this.U=new fY(K,R));this.K=new g.VE(K)};\nfY=function(K,R){this.K=K;this.subtleCrypto=R};\nJaz=function(K,R,f){var V,D;return g.I(function(H){switch(H.U){case 1:if(K.U){H.J5(2);break}return g.P(H,K.subtleCrypto.importKey(\"raw\",K.K,{name:\"AES-CTR\"},!1,[\"encrypt\"]),3);case 3:K.U=H.K;case 2:return V={name:\"AES-CTR\",counter:f,length:128},g.P(H,K.subtleCrypto.encrypt(V,K.U,R),4);case 4:return D=H.K,H.return(new Uint8Array(D))}})};\ng.VE=function(K){this.K=K};\nHs=function(K){this.B=new Uint8Array(64);this.X=new Uint8Array(64);this.J=0;this.T=new Uint8Array(64);this.K=0;this.B.set(K);this.X.set(K);for(K=0;K<64;K++)this.B[K]^=92,this.X[K]^=54;this.reset()};\nZOD=function(K,R,f){for(var V=K.N,D=K.U[0],H=K.U[1],l=K.U[2],F=K.U[3],c=K.U[4],r=K.U[5],y=K.U[6],h=K.U[7],S,v,L,E=0;E<64;)E<16?(V[E]=L=R[f]<<24|R[f+1]<<16|R[f+2]<<8|R[f+3],f+=4):(S=V[E-2],v=V[E-15],L=V[E-7]+V[E-16]+((S>>>17|S<<15)^(S>>>19|S<<13)^S>>>10)+((v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3),V[E]=L),S=h+$X[E]+L+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&r^~c&y),v=((D>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10))+(D&H^D&l^H&l),h=S+v,F+=S,E++,E<16?(V[E]=L=R[f]<<24|R[f+1]<<16|R[f+2]<<8|R[f+3],f+=4):(S=\nV[E-2],v=V[E-15],L=V[E-7]+V[E-16]+((S>>>17|S<<15)^(S>>>19|S<<13)^S>>>10)+((v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3),V[E]=L),S=y+$X[E]+L+((F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&c^~F&r),v=((h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10))+(h&D^h&H^D&H),y=S+v,l+=S,E++,E<16?(V[E]=L=R[f]<<24|R[f+1]<<16|R[f+2]<<8|R[f+3],f+=4):(S=V[E-2],v=V[E-15],L=V[E-7]+V[E-16]+((S>>>17|S<<15)^(S>>>19|S<<13)^S>>>10)+((v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3),V[E]=L),S=r+$X[E]+L+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&F^\n~l&c),v=((y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10))+(y&h^y&D^h&D),r=S+v,H+=S,E++,E<16?(V[E]=L=R[f]<<24|R[f+1]<<16|R[f+2]<<8|R[f+3],f+=4):(S=V[E-2],v=V[E-15],L=V[E-7]+V[E-16]+((S>>>17|S<<15)^(S>>>19|S<<13)^S>>>10)+((v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3),V[E]=L),S=c+$X[E]+L+((H>>>6|H<<26)^(H>>>11|H<<21)^(H>>>25|H<<7))+(H&l^~H&F),v=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&y^r&h^y&h),L=h,h=F,F=L,L=y,y=l,l=L,L=r,r=H,H=L,c=D+S,D=S+v,E++;K.U[0]=D+K.U[0]|0;K.U[1]=H+K.U[1]|0;K.U[2]=l+K.U[2]|0;K.U[3]=\nF+K.U[3]|0;K.U[4]=c+K.U[4]|0;K.U[5]=r+K.U[5]|0;K.U[6]=y+K.U[6]|0;K.U[7]=h+K.U[7]|0};\nXYG=function(K){var R=new Uint8Array(32),f=64-K.K;K.K>55&&(f+=64);var V=new Uint8Array(f);V[0]=128;for(var D=K.J*8,H=1;H<9;H++){var l=D%256;V[f-H]=l;D=(D-l)/256}K.update(V);for(f=0;f<8;f++)R[f*4]=K.U[f]>>>24,R[f*4+1]=K.U[f]>>>16&255,R[f*4+2]=K.U[f]>>>8&255,R[f*4+3]=K.U[f]&255;Bgo(K);return R};\nBgo=function(K){K.U=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];K.N=[];K.N.length=64;K.J=0;K.K=0};\nkpB=function(K){this.U=K};\nTgz=function(K,R,f){K=new Hs(K.U);K.update(R);K.update(f);R=XYG(K);K.update(K.B);K.update(R);R=XYG(K);K.reset();return R};\nPOB=function(K){this.K=K};\nn6G=function(K,R,f,V){var D,H,l;return g.I(function(F){switch(F.U){case 1:if(K.U){F.J5(2);break}return g.P(F,V.importKey(\"raw\",K.K,{name:\"HMAC\",hash:\"SHA-256\"},!1,[\"sign\"]),3);case 3:K.U=F.K;case 2:return D=new Uint8Array(R.length+f.length),D.set(R),D.set(f,R.length),H={name:\"HMAC\",hash:\"SHA-256\"},g.P(F,V.sign(H,K.U,D),4);case 4:return l=F.K,F.return(new Uint8Array(l))}})};\nII2=function(K,R,f){K.X||(K.X=new kpB(K.K));return Tgz(K.X,R,f)};\ng6h=function(K,R,f){var V,D;return g.I(function(H){if(H.U==1){V=Rd();if(!V)return H.return(II2(K,R,f));g.Fp(H,3);return g.P(H,n6G(K,R,f,V),5)}if(H.U!=3)return H.return(H.K);D=g.yH(H);g.A$(D);e6=!0;return H.return(II2(K,R,f))})};\njpz=function(K){for(var R=\"\",f=0;f=0||kP(K,0,\"gad_source\",K.search(Tw))>=0};\nuqB=function(){this.U=new Map};\nCON=function(K,R){var f=Ue().resolve(sph);if(Gp2(R)){var V=P9(R,\"gclid\");R={handleEvent:function(F){K&&!K.closed&&typeof K.postMessage===\"function\"&&F&&F.origin&&F.source===K&&F.data&&F.data.action===\"gcl_setup\"&&K.postMessage(Object.assign({},{action:\"gcl_transfer\"},V&&{gclid:V},{gadSource:2}),F.origin)}};\nfor(var D=g.Z(f.U),H=D.next();!H.done;H=D.next()){var l=g.Z(H.value);H=l.next().value;l=l.next().value;if(H.closed)try{window.removeEventListener(\"message\",l),f.U.delete(H)}catch(F){g.WR(F)}}K&&f.U.size<15&&(f.U.set(K,R),window.addEventListener(\"message\",R))}};\nlc=function(K,R,f){if(!R)return K.length>=1?K[K.length-1]:null;for(var V=g.Z(K),D=V.next();!D.done;D=V.next())if(D=D.value,D.width&&D.height&&(f&&D.width>=R||!f&&D.height>=R))return D;for(R=K.length-1;R>=0;R--)if(f&&K[R].width||!f&&K[R].height)return K[R];return K[0]};\ndd=function(){this.state=1;this.r8=null;this.kI=void 0};\nKdv=function(K,R,f,V,D,H){var l=l===void 0?\"trayride\":l;f?(K.YY(2),g.DA(g.Bn(f),function(){if(window[l])eEB(K,V,l,D);else{K.YY(3);var F=beo(f),c=document.getElementById(F);c&&(qL5(F),c.parentNode.removeChild(c));g.A$(new g.NB(\"BL:ULB\",\"\"+f))}},H)):R?(H=g.tB(\"SCRIPT\"),R instanceof k7?(H.textContent=Td(R),Pb(H)):H.textContent=R,H.nonce=X8(document),document.head.appendChild(H),document.head.removeChild(H),window[l]?eEB(K,V,l,D):(K.YY(4),g.A$(new g.NB(\"BL:ULBJ\")))):g.A$(new g.NB(\"BL:ULV\"))};\neEB=function(K,R,f,V){K.YY(5);var D=!!K.kI&&RGh.includes(g.Nw(K.kI)||\"\");try{var H=new ou({program:R,globalName:f,UR:{disable:!g.No(\"att_web_record_metrics\")||!g.No(\"att_skip_metrics_for_cookieless_domains_ks\")&&D,PR:\"aGIf\"}});H.l3.then(function(){K.YY(6);V&&V(R)});\nK.aH(H)}catch(l){K.YY(7),l instanceof Error&&g.A$(l)}};\nF1=function(){var K=g.t_(\"yt.abuse.playerAttLoader\");return K&&[\"bgvma\",\"bgvmb\",\"bgvmc\"].every(function(R){return R in K})?K:null};\ncs=function(){dd.apply(this,arguments)};\nrd=function(K){this.b$=K};\nfAB=function(K,R,f){for(var V=!1,D=g.Z(K.iW.entries()),H=D.next();!H.done;H=D.next())H=g.Z(H.value).next().value,H.slotType===\"SLOT_TYPE_PLAYER_BYTES\"&&H.dU===\"core\"&&(V=!0);if(V){a:if(!f){K=g.Z(K.iW.entries());for(f=K.next();!f.done;f=K.next())if(V=g.Z(f.value),f=V.next().value,V=V.next().value,f.slotType===\"SLOT_TYPE_IN_PLAYER\"&&f.dU===\"core\"){f=V.layoutId;break a}f=void 0}f?R.Uj(f):dH(\"No triggering layout ID available when attempting to mute.\")}};\nyE=function(K,R){this.n4=K;this.hZ=R};\nhi=function(){};\nod=function(){};\nD6_=function(K){g.O.call(this);var R=this;this.OL=K;this.U=new Map;SQ(this,\"commandExecutorCommand\",function(f,V,D){VIN(R,f.commands,V,D)});\nSQ(this,\"clickTrackingParams\",function(){})};\nH3w=function(K,R){SQ(K,R.Sd(),function(f,V,D){R.RF(f,V,D)})};\nSQ=function(K,R,f){K.mZ();K.U.get(R)&&g.WR(Error(\"Extension name \"+R+\" already registered\"));K.U.set(R,f)};\nVIN=function(K,R,f,V){R=R===void 0?[]:R;K.mZ();var D=[],H=[];R=g.Z(R);for(var l=R.next();!l.done;l=R.next())l=l.value,g.z(l,$6G)||g.z(l,lAB)?D.push(l):H.push(l);D=g.Z(D);for(R=D.next();!R.done;R=D.next())ic(K,R.value,f,V);H=g.Z(H);for(D=H.next();!D.done;D=H.next())ic(K,D.value,f,V)};\nic=function(K,R,f,V){K.mZ();R.loggingUrls&&d6o(K,\"loggingUrls\",R.loggingUrls,f,V);R=g.Z(Object.entries(R));for(var D=R.next();!D.done;D=R.next()){var H=g.Z(D.value);D=H.next().value;H=H.next().value;D===\"openPopupAction\"?K.OL.get().gV(\"innertubeCommand\",{openPopupAction:H}):D===\"confirmDialogEndpoint\"?K.OL.get().gV(\"innertubeCommand\",{confirmDialogEndpoint:H}):Fdc.hasOwnProperty(D)||d6o(K,D,H,f,V)}};\nd6o=function(K,R,f,V,D){if((K=K.U.get(R))&&typeof K===\"function\")try{K(f,V,D)}catch(H){g.WR(H)}else R=new g.NB(\"Unhandled field\",R),g.A$(R)};\nvs=function(K,R,f){this.US=K;this.U=R;this.A5=f;Ee(Ue(),{QV:sph,cW:uqB})};\nLY=function(K){this.value=K};\nwd=function(K){this.value=K};\nzL=function(K){this.value=K};\nxX=function(K){this.value=K};\nEP=function(K){this.value=K};\nad=function(K){this.value=K};\nQE=function(K){this.value=K};\nNi=function(){LY.apply(this,arguments)};\nUP=function(K){this.value=K};\nWs=function(K){this.value=K};\nti=function(K){this.value=K};\nAi=function(K){this.value=K};\nJi=function(K){this.value=K};\nZX=function(K){this.value=K};\nBs=function(K){this.value=K};\nX1=function(K){this.value=K};\nkX=function(K){this.value=K};\nTL=function(K){this.value=K};\nPs=function(){LY.apply(this,arguments)};\nnY=function(K){this.value=K};\nId=function(K){this.value=K};\ngd=function(K){this.value=K};\nOP=function(K){this.value=K};\njQ=function(K){this.value=K};\nqi=function(K){this.value=K};\nMi=function(K){this.value=K};\nbc=function(K){this.value=K};\npY=function(K){this.value=K};\nYX=function(K){this.value=K};\nmf=function(K){this.value=K};\nGL=function(K){this.value=K};\nuc=function(K){this.value=K};\nsP=function(K){this.value=K};\nCY=function(K){this.value=K};\neQ=function(K){this.value=K};\nKf=function(K){this.value=K};\nRR=function(K){this.value=K};\nff=function(K){this.value=K};\nVA=function(K){this.value=K};\nDv=function(K){this.value=K};\nHx=function(K){this.value=K};\n$H=function(K){this.value=K};\nlM=function(K){this.value=K};\ndp=function(K){this.value=K};\nFO=function(K){this.value=K};\ncx=function(K){this.value=K};\nrp=function(K){this.value=K};\nyA=function(K){this.value=K};\nhW=function(K){this.value=K};\noR=function(K){this.value=K};\nSr=function(K){this.value=K};\niM=function(K){this.value=K};\nvx=function(K){this.value=K};\nLf=function(K){this.value=K};\nwp=function(K){this.value=K};\nzU=function(K){this.value=K};\nxH=function(K){this.value=K};\nEj=function(K){this.value=K};\naR=function(K){this.value=K};\nQA=function(){LY.apply(this,arguments)};\nNH=function(K){this.value=K};\nUj=function(){LY.apply(this,arguments)};\nWx=function(){LY.apply(this,arguments)};\ntW=function(){LY.apply(this,arguments)};\nAW=function(){LY.apply(this,arguments)};\nJW=function(){LY.apply(this,arguments)};\nZv=function(K){this.value=K};\nBx=function(K){this.value=K};\nXO=function(K){this.value=K};\nkH=function(K){this.value=K};\nPx=function(K,R,f){if(f&&!f.includes(K.layoutType))return!1;R=g.Z(R);for(f=R.next();!f.done;f=R.next())if(!TU(K.clientMetadata,f.value))return!1;return!0};\nnf=function(){return\"\"};\nc02=function(K,R){switch(K){case \"TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL\":return 0;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED\":return 1;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED\":return 2;case \"TRIGGER_CATEGORY_SLOT_EXPIRATION\":return 3;case \"TRIGGER_CATEGORY_SLOT_FULFILLMENT\":return 4;case \"TRIGGER_CATEGORY_SLOT_ENTRY\":return 5;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED\":return 6;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED\":return 7;default:return R(K),8}};\nIR=function(K,R,f,V){V=V===void 0?!1:V;bE.call(this,K);this.L4=f;this.gq=V;this.args=[];R&&this.args.push(R)};\nC=function(K,R,f,V){V=V===void 0?!1:V;bE.call(this,K);this.L4=f;this.gq=V;this.args=[];R&&this.args.push(R)};\ngp=function(K){var R=new Map;K.forEach(function(f){R.set(f.U(),f)});\nthis.U=R};\nTU=function(K,R){return K.U.has(R)};\nOj=function(K,R){K=K.U.get(R);if(K!==void 0)return K.get()};\njr=function(K){return Array.from(K.U.keys())};\nqH=function(K,R,f){if(f&&f!==K.slotType)return!1;R=g.Z(R);for(f=R.next();!f.done;f=R.next())if(!TU(K.clientMetadata,f.value))return!1;return!0};\ny0G=function(K){var R;return((R=r0v.get(K))==null?void 0:R.jp)||\"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED\"};\nbM=function(K,R){var f={type:R.slotType,controlFlowManagerLayer:hG5.get(R.dU)||\"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED\"};R.slotEntryTrigger&&(f.entryTriggerType=R.slotEntryTrigger.triggerType);R.slotPhysicalPosition!==1&&(f.slotPhysicalPosition=R.slotPhysicalPosition);if(K){f.debugData={slotId:R.slotId};if(K=R.slotEntryTrigger)f.debugData.slotEntryTriggerData=MH(K);K=R.slotFulfillmentTriggers;f.debugData.fulfillmentTriggerData=[];K=g.Z(K);for(var V=K.next();!V.done;V=K.next())f.debugData.fulfillmentTriggerData.push(MH(V.value));\nR=R.slotExpirationTriggers;f.debugData.expirationTriggerData=[];R=g.Z(R);for(K=R.next();!K.done;K=R.next())f.debugData.expirationTriggerData.push(MH(K.value))}return f};\noJh=function(K,R){var f={type:R.layoutType,controlFlowManagerLayer:hG5.get(R.dU)||\"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED\"};K&&(f.debugData={layoutId:R.layoutId});return f};\nMH=function(K,R){var f={type:K.triggerType};R!=null&&(f.category=R);K.triggeringSlotId!=null&&(f.triggerSourceData||(f.triggerSourceData={}),f.triggerSourceData.associatedSlotId=K.triggeringSlotId);K.triggeringLayoutId!=null&&(f.triggerSourceData||(f.triggerSourceData={}),f.triggerSourceData.associatedLayoutId=K.triggeringLayoutId);return f};\nSeD=function(K,R,f,V){R={opportunityType:R};K&&(V||f)&&(V=g.JQ(V||[],function(D){return bM(K,D)}),R.debugData=Object.assign({},f&&f.length>0?{associatedSlotId:f}:{},V.length>0?{slots:V}:{}));\nreturn R};\nYH=function(K,R){return function(f){return i3c(pf(K),R.slotId,R.slotType,R.slotPhysicalPosition,R.dU,R.slotEntryTrigger,R.slotFulfillmentTriggers,R.slotExpirationTriggers,f.layoutId,f.layoutType,f.dU)}};\ni3c=function(K,R,f,V,D,H,l,F,c,r,y){return{adClientDataEntry:{slotData:bM(K,{slotId:R,slotType:f,slotPhysicalPosition:V,dU:D,slotEntryTrigger:H,slotFulfillmentTriggers:l,slotExpirationTriggers:F,clientMetadata:new gp([])}),layoutData:oJh(K,{layoutId:c,layoutType:r,dU:y,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],iD:new Map,clientMetadata:new gp([]),Yl:{}})}}};\nGU=function(K){this.wU=K;K=Math.random();var R=this.wU.get();R=g.mz(R.G.C().experiments,\"html5_debug_data_log_probability\");R=Number.isFinite(R)&&R>=0&&R<=1?R:0;this.U=K>31));k4(K,16,R.FZa);k4(K,17,R.detailedNetworkType);k4(K,18,R.Ou);k4(K,19,R.rl);k4(K,21,R.NQ5);k4(K,23,R.gb);k4(K,28,R.bP);k4(K,29,R.Wxt);k4(K,34,R.visibility);f=R.playbackRate;if(f!==void 0){var V=new ArrayBuffer(4);(new Float32Array(V))[0]=f;f=(new Uint32Array(V))[0];if(f!==void 0)for(Xy(K,285),Bu(K,4),V=0;V<4;)K.view.setUint8(K.pos,f&255),f>>=8,K.pos+=1,V+=1}k4(K,36,R.XV);\nIy(K,38,R.mediaCapabilities,dfv,3);k4(K,39,R.SJ5);k4(K,40,R.Rn);k4(K,44,R.playerState);T7(K,46,R.U6);k4(K,48,R.K_);k4(K,50,R.M2);k4(K,51,R.Hs);k4(K,54,R.bz);if(R.I_)for(f=0;f>31));nv(K,2,R.message)};\nvx_=function(K,R){k4(K,1,R.clientState);Iy(K,2,R.V_W,SlM,1)};\noxG=function(K,R){Pu(K,1,R.UQe);Iy(K,2,R.E42,iSz,3);Iy(K,3,R.coldStartInfo,vx_,3)};\nhQ_=function(K,R){k4(K,1,R.type);Pu(K,2,R.value)};\nyJe=function(K,R){nv(K,1,R.hl);nv(K,12,R.deviceMake);nv(K,13,R.deviceModel);k4(K,16,R.clientName);nv(K,17,R.clientVersion);nv(K,18,R.osName);nv(K,19,R.osVersion)};\nL2M=function(K,R){nv(K,1,R.name);nv(K,2,R.value)};\nSw=function(K,R){nv(K,1,R.url);if(R.MU)for(var f=0;f55?\"60\":\nR>49?\"50\":R>39?\"48\":\"\")));this.qualityLabel=K;this.U=c||\"\";this.primaries=r||\"\"};\nzF=function(K,R){var f=Math.max(K,R);K=Math.min(K,R);R=a2[0];for(var V=0;V=Math.floor(H*16/9)*1.3||K>=H*1.3)return R;R=D}return\"tiny\"};\nUv=function(K,R,f){f=f===void 0?{}:f;this.id=K;this.mimeType=R;f.c5>0||(f.c5=16E3);Object.assign(this,f);K=g.Z(this.id.split(\";\"));this.itag=K.next().value;this.U=K.next().value;this.containerType=Q4(R);this.P5=Nr[this.itag]||\"\"};\nWM=function(K){return K.P5===\"9\"||K.P5===\"(\"||K.P5===\"9h\"||K.P5===\"(h\"};\nC45=function(K){return K.P5===\"H\"||K.P5===\"h\"};\ntv=function(K){return K.P5===\"9h\"||K.P5===\"(h\"};\neQN=function(K){return!!K.g8&&!!K.g8.fairplay&&(K.P5===\"(\"||K.P5===\"(h\"||K.P5===\"A\"||K.P5===\"MEAC3\")||Av&&!!K.g8&&K.P5===\"1e\"};\nJv=function(K){return K.P5===\"1\"||K.P5===\"1h\"||Av&&K.P5===\"1e\"};\nZu=function(K){return K.P5===\"mac3\"||K.P5===\"meac3\"||K.P5===\"m\"||K.P5===\"i\"||KHe(K)};\nKHe=function(K){return K.P5===\"MAC3\"||K.P5===\"MEAC3\"||K.P5===\"M\"||K.P5===\"I\"};\ng.BM=function(K){return K.containerType===1};\nR6_=function(K){return K.P5===\"(\"||K.P5===\"(h\"||K.P5===\"H\"||Av&&K.P5===\"1e\"};\nXH=function(K){return K.mimeType===\"application/x-mpegURL\"};\ng.nH=function(K,R){return{itag:+K.itag,lmt:R?0:K.lastModified,xtags:K.U||\"\"}};\nfFB=function(K){var R=navigator.mediaCapabilities;if(R==null||!R.decodingInfo||K.P5===\"f\")return Promise.resolve();var f={type:K.audio&&K.video?\"file\":\"media-source\"};K.video&&(f.video={contentType:K.mimeType,width:K.video.width||640,height:K.video.height||360,bitrate:K.c5*8||1E6,framerate:K.video.fps||30});K.audio&&(f.audio={contentType:K.mimeType,channels:\"\"+(K.audio.numChannels||2),bitrate:K.c5*8||128E3,samplerate:K.audio.sampleRate||44100});return R.decodingInfo(f).then(function(V){K.K=V})};\nI2=function(K){return/(opus|mp4a|dtse|ac-3|ec-3|iamf)/.test(K)};\nge=function(K){return/(vp9|vp09|vp8|avc1|av01)/.test(K)};\nOv=function(K){return K.includes(\"vtt\")||K.includes(\"text/mp4\")};\nQ4=function(K){return K.indexOf(\"/mp4\")>=0?1:K.indexOf(\"/webm\")>=0?2:K.indexOf(\"/x-flv\")>=0?3:K.indexOf(\"/vtt\")>=0?4:0};\njw=function(K,R,f,V,D,H,l){var F=new FH;R in g.x0||(R=\"small\");R===\"light\"&&(R=\"tiny\");V&&D?(D=Number(D),V=Number(V)):(D=g.x0[R],V=Math.round(D*16/9));H=new Ev(V,D,0,null,void 0,R,H,l);K=unescape(K.replace(/"/g,'\"'));return new Uv(f,K,{audio:F,video:H})};\nqr=function(K,R){return{start:function(f){return K[f]},\nend:function(f){return R[f]},\nlength:K.length}};\nVCv=function(K,R,f){for(var V=[],D=[],H=0;H=R)return f}catch(V){}return-1};\npH=function(K,R){return bA(K,R)>=0};\nDcD=function(K,R){if(!K)return NaN;R=bA(K,R);return R>=0?K.start(R):NaN};\nY0=function(K,R){if(!K)return NaN;R=bA(K,R);return R>=0?K.end(R):NaN};\nmI=function(K){return K&&K.length?K.end(K.length-1):NaN};\nGF=function(K){return mI(K)>0};\nuA=function(K,R){K=Y0(K,R);return K>=0?K-R:0};\nCH=function(K,R,f){for(var V=[],D=[],H=0;Hf||(V.push(Math.max(R,K.start(H))-R),D.push(Math.min(f,K.end(H))-R));return qr(V,D)};\new=function(K,R,f,V){g.VQ.call(this);var D=this;this.SM=K;this.start=R;this.end=f;this.isActive=V;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.kx={error:function(){!D.mZ()&&D.isActive&&D.publish(\"error\",D)},\nupdateend:function(){!D.mZ()&&D.isActive&&D.publish(\"updateend\",D)}};\nthis.SM.Ro(this.kx);this.kd=this.isActive};\nRT=function(K,R,f,V,D,H){g.VQ.call(this);var l=this;this.DZ=K;this.gQ=R;this.id=f;this.containerType=V;this.P5=D;this.iX=H;this.Qg=this.Dz=this.CT=null;this.Vh=!1;this.appendWindowStart=this.timestampOffset=0;this.CG=qr([],[]);this.dT=!1;this.TW=[];this.jP=Ky?[]:void 0;this.handler=function(c){return l.publish(c.type,l)};\nvar F;if((F=this.DZ)==null?0:F.addEventListener)this.DZ.addEventListener(\"updateend\",this.handler),this.DZ.addEventListener(\"error\",this.handler)};\nfy=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1};\nV9=function(K,R){this.Qe=K;this.U=R===void 0?!1:R;this.K=!1};\nDn=function(K,R,f){f=f===void 0?!1:f;g.O.call(this);this.mediaElement=K;this.sF=R;this.isView=f;this.J=0;this.B=!1;this.T=!0;this.EF=0;this.callback=null;this.Z=!1;this.sF||(this.gQ=this.mediaElement.ud());this.events=new g.de(this);g.q(this,this.events);this.X=new V9(this.sF?window.URL.createObjectURL(this.sF):this.gQ.webkitMediaSourceURL,!0);K=this.sF||this.gQ;X4(this.events,K,[\"sourceopen\",\"webkitsourceopen\"],this.e1Y);X4(this.events,K,[\"sourceclose\",\"webkitsourceclose\"],this.A$e);this.N={updateend:this.Gf}};\nHq=function(){return!!(window.MediaSource||window.ManagedMediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};\nH0z=function(K){return window.MediaSource?new Dn(K,new window.MediaSource,!1):window.ManagedMediaSource?new Dn(K,new window.ManagedMediaSource,!1):window.WebKitMediaSource?new Dn(K,new window.WebKitMediaSource,!1):new Dn(K,void 0,!1)};\n$c_=function(K,R){$W(K)?g.WE(function(){R(K)}):K.callback=R};\nlFN=function(K,R,f){if(lU){var V;K.mediaElement.V3(\"rms\",{l:\"mswssb\",sr:(V=K.mediaElement.bD)==null?void 0:V.JK()},!1);R.Ro(K.N,K);f.Ro(K.N,K)}K.U=R;K.K=f;g.q(K,R);g.q(K,f)};\ndv=function(K){return!!K.U||!!K.K};\n$W=function(K){try{return Fn(K)===\"open\"}catch(R){return!1}};\nFn=function(K){if(K.sF)return K.sF.readyState;switch(K.gQ.webkitSourceState){case K.gQ.SOURCE_OPEN:return\"open\";case K.gQ.SOURCE_ENDED:return\"ended\";default:return\"closed\"}};\ncq=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)||window.ManagedMediaSource};\ndcB=function(K,R,f,V){if(!K.U||!K.K)return null;var D=K.U.isView()?K.U.SM:K.U,H=K.K.isView()?K.K.SM:K.K,l=new Dn(K.mediaElement,K.sF,!0);l.X=K.X;lFN(l,new ew(D,R,f,V),new ew(H,R,f,V));$W(K)||K.U.YE(K.U.jy());return l};\nrv=function(K){var R;(R=K.U)==null||R.GR();var f;(f=K.K)==null||f.GR();K.T=!1};\ny9=function(){var K=this;this.qz=this.Mf=q5D;this.promise=new g.AA(function(R,f){K.Mf=R;K.qz=f})};\nhL=function(){g.O.call(this);this.hE=!1;this.Qe=null;this.B5=this.Xt=!1;this.EF=new g.vE;this.UF=this.bD=null;g.q(this,this.EF)};\nFH5=function(K,R,f){K.isPaused()||K.getCurrentTime()>R||f>10||(K.play(),g.zs(function(){FH5(K,K.getCurrentTime(),f+1)},500))};\ncMD=function(K,R){K.Qe&&K.Qe.equals(R)||(K.Qe&&K.Qe.dispose(),K.Qe=R)};\noT=function(K){K.LT()&&(K.bD&&K.bD.E2(\"rs_s\"),pP&&K.getCurrentTime()>0&&K.seekTo(0),K.TZ(),K.load(),cMD(K,null));delete K.N};\ng.S3=function(K,R,f){this.hm=R===void 0?null:R;this.seekSource=f===void 0?null:f;this.state=K||64};\niU=function(K,R,f){f=f===void 0?!1:f;return rMD(K,R.getCurrentTime(),(0,g.N7)(),R.xE(),f)};\nvq=function(K,R,f,V){if(!(R===K.state&&f===K.hm&&V===K.seekSource||R!==void 0&&(R&128&&!f||R&2&&R&16))){var D;if(D=R)D=R||K.state,D=!!(D&16||D&32);K=new g.S3(R,f,D?V?V:K.seekSource:null)}return K};\nLy=function(K,R,f){return vq(K,K.state|R,null,f===void 0?null:f)};\nwv=function(K,R){return vq(K,K.state&~R,null,null)};\nzT=function(K,R,f,V){return vq(K,(K.state|R)&~f,null,V===void 0?null:V)};\ng.G=function(K,R){return!!(K.state&R)};\ng.xW=function(K,R){return R.state===K.state&&R.hm===K.hm};\nEG=function(K){return K.isPlaying()&&!g.G(K,16)&&!g.G(K,32)};\naT=function(K){return g.G(K,128)?-1:g.G(K,2)?0:g.G(K,2048)?3:g.G(K,64)?-1:g.G(K,1)&&!g.G(K,32)?3:g.G(K,8)?1:g.G(K,4)?2:-1};\nNP=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E){g.O.call(this);var Q=this;this.Ko=K;this.slot=R;this.layout=f;this.A5=V;this.UC=D;this.Da=H;this.h5=l;this.q1=F;this.AV=c;this.cM=r;this.position=h;this.J=S;this.wU=v;this.Xf=L;this.context=E;this.QY=!0;this.X=!1;this.zt=\"not_rendering\";this.U=!1;K=Oj(this.layout.clientMetadata,\"metadata_type_ad_placement_config\");this.CQ=new lR(f.iD,this.A5,K,f.layoutId);var J;K=((J=Q9(this))==null?void 0:J.progressCommands)||[];this.K=new xp(c,K,f.layoutId,function(){return Q.XF()})};\nQ9=function(K){return Oj(K.layout.clientMetadata,\"METADATA_TYPE_INTERACTIONS_AND_PROGRESS_LAYOUT_COMMANDS\")};\nyMe=function(K){dH(\"Received layout exit signal when not in layout exit flow.\",K.slot,K.layout)};\nh6_=function(K){var R;return((R=sU(K.Da.get(),2))==null?void 0:R.clientPlaybackNonce)||\"\"};\noeB=function(K,R){switch(R){case \"normal\":K.Lh(\"complete\");break;case \"skipped\":K.Lh(\"skip\");break;case \"abandoned\":hD(K.CQ,\"impression\")&&K.Lh(\"abandon\")}};\nS_c=function(K,R){K.X||(R=new g.Fc(R.state,new g.S3),K.X=!0);return R};\ni02=function(K,R){Yp(R)?K.cM(1):g.rH(R,4)&&!g.rH(R,2)&&K.TC();cQ(R,4)<0&&!(cQ(R,2)<0)&&K.s9()};\nveB=function(K){K.position===0&&(K.q1.get(),K=Oj(K.layout.clientMetadata,\"metadata_type_ad_placement_config\").kind,K={adBreakType:UG(K)},Uz(\"ad_bl\"),g.WV(K))};\nWq=function(K,R){rU(K.CQ,R,!K.U)};\nwQo=function(K){var R;return(((R=Q9(K))==null?void 0:R.progressCommands)||[]).findIndex(function(f){return!!g.z(f==null?void 0:f.command,LHo)})!==-1};\ng.tL=function(K,R,f){A2(K,f)||ZR(K,R,f);A2(K,\"video_to_ad\")||ZR(K,R,\"video_to_ad\");A2(K,\"ad_to_video\")||ZR(K,R,\"ad_to_video\");A2(K,\"ad_to_ad\")||ZR(K,R,\"ad_to_ad\")};\nAL=function(K){NP.call(this,K.Ko,K.slot,K.x4,K.A5,K.UC,K.Da,K.h5,K.q1,K.AV,K.cM,K.QT,K.wS,K.Hc,K.wU,K.Xf,K.context);var R=this;this.KC=!0;this.wj=this.E$=0;this.m9=Ga(function(){R.Ko.KL(R.slot,R.layout)});\nthis.OL=K.OL;this.QT=K.QT;this.O0=Ga(function(){R.zt!==\"rendering_stop_requested\"&&R.QT(R);R.layoutExitReason?R.Ko.jM(R.slot,R.layout,R.layoutExitReason):yMe(R)});\nthis.timer=new g.PE(200);this.timer.listen(\"tick\",function(){R.eM()});\ng.q(this,this.timer)};\nz65=function(K){K.wj=Date.now();JL(K,K.E$);K.timer.start()};\nJL=function(K,R){R={current:R/1E3,duration:K.XF()/1E3};K.OL.get().gV(\"onAdPlaybackProgress\",R)};\nXn=function(K){NP.call(this,K.callback,K.slot,K.x4,K.A5,K.UC,K.Da,K.h5,K.q1,K.AV,K.cM,K.QT,K.wS,K.Hc,K.wU,K.Xf,K.context);var R=this;this.adCpn=\"\";this.A_=this.pN=0;this.m9=Ga(function(){R.Ko.KL(R.slot,R.layout)});\nthis.O0=Ga(function(){R.zt!==\"rendering_stop_requested\"&&R.QT(R);R.layoutExitReason?R.Ko.jM(R.slot,R.layout,R.layoutExitReason):yMe(R)});\nthis.o0=K.o0;this.N1=K.N1;this.IQ=K.IQ;this.OL=K.OL;this.GA=K.GA;this.QT=K.QT;JC(this.wU.get(),\"html5_disable_media_load_timeout\")||(this.fC=new g.CW(function(){R.CC(\"load_timeout\",new IR(\"Media layout load timeout.\",{},\"ADS_CLIENT_ERROR_MESSAGE_MEDIA_LAYOUT_LOAD_TIMEOUT\",!0),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")},1E4));\nK=Zn(this.wU.get());var f=Bq(this.wU.get());K&&f&&(this.ER=new g.CW(function(){var V=Oj(R.layout.clientMetadata,\"metadata_type_preload_player_vars\");V&&R.N1.get().G.preloadVideoByPlayerVars(V,2,300)}))};\nxc2=function(K){return new AL(Object.assign({},K,{Ko:K.callback,cM:function(){}}))};\nEez=function(K){return new Xn(Object.assign({},K,{cM:function(R){K.OL.get().gV(\"onAdIntroStateChange\",R)}}))};\naF2=function(K){return new Xn(Object.assign({},K,{cM:function(R){K.OL.get().Z3(R)}}))};\nQvz=function(K){for(var R=K.x4,f=[\"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS\"],V=g.Z(dU()),D=V.next();!D.done;D=V.next())f.push(D.value);if(Zt(R,{UA:f,HV:[\"LAYOUT_TYPE_MEDIA_BREAK\"]}))return xc2(K);R=K.x4;f=[\"metadata_type_player_vars\",\"metadata_type_player_bytes_callback_ref\"];V=g.Z(dU());for(D=V.next();!D.done;D=V.next())f.push(D.value);if(Zt(R,{UA:f,HV:[\"LAYOUT_TYPE_MEDIA\"]}))return TU(K.x4.clientMetadata,\"metadata_type_ad_intro\")?Eez(K):aF2(K)};\nkW=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v){g.O.call(this);this.callback=K;this.Da=R;this.d4=f;this.N1=V;this.h5=D;this.yf=H;this.q1=l;this.Nf=F;this.slot=c;this.layout=r;this.I0=y;this.M4=h;this.g4=S;this.wU=v;this.QY=!0;this.Eb=!1;this.JQ=[];this.YI=-1;this.Dj=!1};\nTT=function(K){return K.JQ[K.YI]};\nny=function(K,R,f){var V=TT(K);K.YI===K.JQ.length-1&&dH(\"Unexpected skip with target requested during the last sublayout\");if(f.renderingContent===void 0&&f.layoutId!==Pq(V,R,f)){dH(\"onSkipWithAdPodSkipTargetRequested for a PlayerBytes layout that is not currently active\",V.Sy(),V.nQ(),{requestingSlot:R,requestingLayout:f});var D=!1}else D=!0;if(D){a:{if((D=Oj(V.nQ().clientMetadata,\"metadata_type_ad_pod_skip_target\"))&&D>0&&D0)){dH(\"Invalid index for playLayoutAtIndexOrExit when no ad has played yet.\",K.slot,K.layout,{indexToPlay:R,layoutId:K.layout.layoutId});break a}K.YI=R;R=TT(K);if(K.YI>0){var f=K.q1.get();f.K=!1;var V={};f.U&&f.videoId&&(V.cttAuthInfo={token:f.U,videoId:f.videoId});t2(\"ad_to_ad\",V)}f=g.z(R.nQ().renderingContent,M9);if(f==null?0:f.isEligibleToBeSkippedWhenNoEngagementOnLayoutId){var D;\nf=!((D=K.yf.get().ugp.get(f.isEligibleToBeSkippedWhenNoEngagementOnLayoutId))!=null&&D)}else f=!1;f?IT(K,K.YI+1):R.startRendering(R.nQ())}};\nWHe=function(K){(K=TT(K))&&K.cS()};\ntCG=function(K){return new kW(K.cm2,K.Da,K.d4,K.N1,K.h5,K.yf,K.q1,K.Nf,K.slot,K.layout,K.I0,K.M4,K.g4,K.wU)};\nqP=function(K,R,f,V,D,H,l){g.O.call(this);this.callback=K;this.N1=R;this.h5=f;this.q1=V;this.uW=D;this.g4=H;this.wU=l;this.QY=!0;this.Eb=!1};\nAM_=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E,Q,J,A,B,k,b){function M(){var Rw=Qvz(Object.assign({},fB,{callback:{KL:K.KL.bind(K),jM:K.jM.bind(K),lL:K.lL.bind(K)},slot:f,x4:V,QT:function(){j3(l,V)},\nwS:0,Hc:1,Xf:!0}));return Rw?new qP(K,y,S,E,Rw,D,B):Rw}\nfunction Hc(){var Rw,FG=(Rw=V.N7)!=null?Rw:Oj(V.clientMetadata,\"metadata_type_sub_layouts\");Rw=tCG({cm2:K,Da:h,d4:k,N1:y,h5:S,yf:v,q1:E,Nf:R,slot:f,layout:V,I0:H,M4:l,g4:D,wU:B});for(var yN=[],VN={pZ:0};VN.pZD&&l.mI(y,D-V);return y};\nTHD=function(K,R,f){var V=Oj(R.clientMetadata,\"metadata_type_sodar_extension_data\");if(V)try{IAG(f,V)}catch(D){dH(\"Unexpected error when loading Sodar\",K,R,{error:D})}};\nPdc=function(K,R,f,V,D,H,l){GT(K,R,new g.Fc(f,new g.S3),V,D,l,!1,H)};\nGT=function(K,R,f,V,D,H,l,F){l=l===void 0?!0:l;Yp(f)&&mU(D,0,null)&&(!hD(K,\"impression\")&&F&&F(),K.Lh(\"impression\"));hD(K,\"impression\")&&(g.rH(f,4)&&!g.rH(f,2)&&K.NH(\"pause\"),cQ(f,4)<0&&!(cQ(f,2)<0)&&K.NH(\"resume\"),g.rH(f,16)&&D>=.5&&K.NH(\"seek\"),l&&g.rH(f,2)&&uU(K,f.state,R,V,D,H))};\nuU=function(K,R,f,V,D,H,l,F,c){hD(K,\"impression\")&&(H?(H=D-V,H=H>=-1&&H<=2):H=Math.abs(V-D)<=1,sG(K,R,H?V:D,f,V,l,F&&H),H&&!c&&K.Lh(\"complete\"))};\nsG=function(K,R,f,V,D,H,l){ya(K,f*1E3,l);D<=0||f<=0||(R==null?0:g.G(R,16))||(R==null?0:g.G(R,32))||(mU(f,D*.25,V)&&(H&&!hD(K,\"first_quartile\")&&H(\"first\"),K.Lh(\"first_quartile\")),mU(f,D*.5,V)&&(H&&!hD(K,\"midpoint\")&&H(\"second\"),K.Lh(\"midpoint\")),mU(f,D*.75,V)&&(H&&!hD(K,\"third_quartile\")&&H(\"third\"),K.Lh(\"third_quartile\")))};\nnee=function(K,R){hD(K,\"impression\")&&K.NH(R?\"fullscreen\":\"end_fullscreen\")};\nIF5=function(K){hD(K,\"impression\")&&K.NH(\"clickthrough\")};\ngeG=function(K){K.NH(\"active_view_measurable\")};\nO0z=function(K){hD(K,\"impression\")&&!hD(K,\"seek\")&&K.NH(\"active_view_fully_viewable_audible_half_duration\")};\njvM=function(K){hD(K,\"impression\")&&!hD(K,\"seek\")&&K.NH(\"active_view_viewable\")};\nvar ovB=function(K,R){return $v[d[0]](this,18,K,R)};\nvar q_v=function(K){hD(K,\"impression\")&&!hD(K,\"seek\")&&K.NH(\"audio_audible\")},MC2=function(K){hD(K,\"impression\")&&!hD(K,\"seek\")&&K.NH(\"audio_measurable\")},b0_=function(K,R,f,V,D,H,l,F,c,r,y,h,S){this.callback=K;\nthis.slot=R;this.layout=f;this.d4=V;this.CQ=D;this.h5=H;this.JR=l;this.UC=F;this.o0=c;this.wU=r;this.A5=y;this.Da=h;this.IQ=S;this.KC=!0;this.As=this.zt=null;this.adCpn=void 0;this.U=!1},pQN=function(K,R,f){var V;\nmN(K.A5.get(),\"ads_qua\",\"cpn.\"+Oj(K.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((V=sU(K.Da.get(),2))==null?void 0:V.clientPlaybackNonce)+\";qt.\"+R+\";clr.\"+f)},Y_o=function(K,R){var f,V;\nmN(K.A5.get(),\"ads_imp\",\"cpn.\"+Oj(K.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((f=sU(K.Da.get(),2))==null?void 0:f.clientPlaybackNonce)+\";clr.\"+R+\";skp.\"+!!g.z((V=Oj(K.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"))==null?void 0:V.skipOrPreviewRenderer,Cy))},e3=function(K){return{enterMs:Oj(K.clientMetadata,\"metadata_type_layout_enter_ms\"),\nexitMs:Oj(K.clientMetadata,\"metadata_type_layout_exit_ms\")}},K6=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v){MP.call(this,K,R,f,V,D,l,F,c,r,h);\nthis.JR=H;this.o0=y;this.UC=S;this.wU=v;this.As=this.zt=null},mco=function(K,R){var f;\nmN(K.A5.get(),\"ads_imp\",\"acpn.\"+((f=sU(K.Da.get(),2))==null?void 0:f.clientPlaybackNonce)+\";clr.\"+R)},GEv=function(K,R,f){var V;\nmN(K.A5.get(),\"ads_qua\",\"cpn.\"+Oj(K.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((V=sU(K.Da.get(),2))==null?void 0:V.clientPlaybackNonce)+\";qt.\"+R+\";clr.\"+f)},R6=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E,Q,J,A,B,k){this.g4=K;\nthis.I0=R;this.M4=f;this.Da=V;this.d4=D;this.h5=H;this.yf=l;this.A5=F;this.JR=c;this.TF=r;this.UC=y;this.o0=h;this.N1=S;this.IQ=v;this.q1=L;this.OL=E;this.AV=Q;this.GA=J;this.wU=A;this.U=B;this.context=k},f6=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E,Q,J){this.g4=K;\nthis.I0=R;this.M4=f;this.A5=V;this.UC=D;this.o0=H;this.N1=l;this.Da=F;this.h5=c;this.yf=r;this.IQ=y;this.q1=h;this.OL=S;this.AV=v;this.GA=L;this.wU=E;this.d4=Q;this.context=J},ucw=function(K,R,f,V){fS.call(this,\"survey-interstitial\",K,R,f,V)},VB=function(K,R,f,V,D){eS.call(this,f,K,R,V);\nthis.A5=D;K=Oj(R.clientMetadata,\"metadata_type_ad_placement_config\");this.CQ=new lR(R.iD,D,K,R.layoutId)},Dw=function(K){return Math.round(K.width)+\"x\"+Math.round(K.height)},$M=function(K,R,f){f=f===void 0?HO:f;\nf.widthK.width*K.height*.2)return{J7:3,Yd:501,errorMessage:\"ad(\"+Dw(f)+\") to container(\"+Dw(K)+\") ratio exceeds limit.\"};if(f.height>K.height/3-R)return{J7:3,Yd:501,errorMessage:\"ad(\"+Dw(f)+\") covers container(\"+Dw(K)+\") center.\"}},svv=function(K,R){var f=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\");\nreturn new lR(K.iD,R,f,K.layoutId)},l0=function(K){return Oj(K.clientMetadata,\"metadata_type_invideo_overlay_ad_renderer\")},dq=function(K,R,f,V){fS.call(this,\"invideo-overlay\",K,R,f,V);\nthis.interactionLoggingClientData=V},F$=function(K,R,f,V,D,H,l,F,c,r,y,h){eS.call(this,H,K,R,D);\nthis.A5=f;this.J=l;this.h5=F;this.AV=c;this.wU=r;this.T=y;this.B=h;this.CQ=svv(R,f)},CdN=function(){var K=[\"metadata_type_invideo_overlay_ad_renderer\"];\ndU().forEach(function(R){K.push(R)});\nreturn{UA:K,HV:[\"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY\",\"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY\"]}},cO=function(K,R,f,V,D,H,l,F,c,r,y,h,S){eS.call(this,H,K,R,D);\nthis.A5=f;this.J=l;this.Z=F;this.h5=c;this.AV=r;this.wU=y;this.T=h;this.B=S;this.CQ=svv(R,f)},e6B=function(){for(var K=[\"metadata_type_invideo_overlay_ad_renderer\"],R=g.Z(dU()),f=R.next();!f.done;f=R.next())K.push(f.value);\nreturn{UA:K,HV:[\"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY\"]}},rq=function(K){this.h5=K;\nthis.U=!1},K3h=function(K,R,f){fS.call(this,\"survey\",K,{},R,f)},yB=function(K,R,f,V,D,H,l){eS.call(this,f,K,R,V);\nthis.J=D;this.h5=H;this.wU=l},RIM=function(K,R,f,V,D,H,l,F,c,r){this.UL=K;\nthis.h5=R;this.A5=f;this.J=V;this.UC=D;this.K=H;this.X=l;this.AV=F;this.wU=c;this.U=r},fRv=function(K,R,f,V,D,H,l,F,c,r){this.UL=K;\nthis.h5=R;this.A5=f;this.J=V;this.UC=D;this.K=H;this.X=l;this.AV=F;this.wU=c;this.U=r},hr=function(K,R,f,V,D,H,l,F,c,r){nb.call(this,K,R,f,V,D,H,l,c);\nthis.Nl=F;this.Da=r},VY_=function(){var K=jVD();\nK.UA.push(\"metadata_type_ad_info_ad_metadata\");return K},D4z=function(K,R,f,V,D,H,l){this.UL=K;\nthis.h5=R;this.A5=f;this.K=V;this.Nl=D;this.U=H;this.Da=l},H$G=function(K,R,f,V,D,H,l,F){this.UL=K;\nthis.h5=R;this.A5=f;this.K=V;this.Nl=D;this.U=H;this.wU=l;this.Da=F},o6=function(K,R){this.adPodIndex=K;\nthis.U=R.length;this.adBreakLengthSeconds=R.reduce(function(V,D){return V+D},0);\nvar f=0;for(K+=1;K0},sk=function(K){return!!(K.TUr&&K.slot&&K.layout)},C6=function(K){var R,f=(R=K.config)==null?void 0:R.adPlacementConfig;\nK=K.renderer;return!(!f||f.kind==null||!K)},zIB=function(K){if(!M5(K.adLayoutMetadata))return!1;\nK=K.renderingContent;return g.z(K,M9)||g.z(K,bR)||g.z(K,wVc)||g.z(K,j$)||g.z(K,q9)?!0:!1},eT=function(K){return K.playerVars!==void 0&&K.pings!==void 0&&K.externalVideoId!==void 0},$u=function(K){if(!M5(K.adLayoutMetadata))return!1;\nK=K.renderingContent;var R=g.z(K,KX);return R?Rq(R):(R=g.z(K,fX))?eT(R):(R=g.z(K,Vy))?R.playerVars!==void 0:(R=g.z(K,M9))?R.durationMilliseconds!==void 0:g.z(K,Di)||g.z(K,HJ)?!0:!1},Rq=function(K){K=(K.sequentialLayouts||[]).map(function(R){return g.z(R,lW)});\nreturn K.length>0&&K.every($u)},Fb=function(K){return M5(K.adLayoutMetadata)?(K=g.z(K.renderingContent,dh))&&K.pings?!0:!1:!1},N0e=function(K){if(!M5(K.adLayoutMetadata))return!1;\nif(g.z(K.renderingContent,x4N)||g.z(K.renderingContent,cJ))return!0;var R=g.z(K.renderingContent,rh);return g.z(K.renderingContent,yy)||g.z(R==null?void 0:R.sidePanel,EQM)||g.z(R==null?void 0:R.sidePanel,aRe)||g.z(R==null?void 0:R.sidePanel,QnG)?!0:!1},Z$z=function(K){var R;\n(R=!K)||(R=K.adSlotMetadata,R=!((R==null?void 0:R.slotId)!==void 0&&(R==null?void 0:R.slotType)!==void 0));if(R||!(U4_(K)||K.slotEntryTrigger&&K.slotFulfillmentTriggers&&K.slotExpirationTriggers))return!1;var f;K=(f=K.fulfillmentContent)==null?void 0:f.fulfilledLayout;return(f=g.z(K,lW))?$u(f):(f=g.z(K,hd))?N0e(f):(f=g.z(K,W3c))?zIB(f):(f=g.z(K,tYz))?vQw(f):(f=g.z(K,A2o))?M5(f.adLayoutMetadata)?g.z(f.renderingContent,b0)?!0:!1:!1:(f=g.z(K,oq))?Fb(f):(K=g.z(K,J25))?M5(K.adLayoutMetadata)?g.z(K.renderingContent,\ncJ)?!0:!1:!1:!1},U4_=function(K){var R;\nK=g.z((R=K.fulfillmentContent)==null?void 0:R.fulfilledLayout,hd);var f;return K&&((f=K.adLayoutMetadata)==null?void 0:f.layoutType)===\"LAYOUT_TYPE_PANEL_QR_CODE\"&&K.layoutExitNormalTriggers===void 0},B0N=function(K){var R;\nreturn(K==null?void 0:(R=K.adSlotMetadata)==null?void 0:R.slotType)===\"SLOT_TYPE_IN_PLAYER\"},XVD=function(K){K=g.Z(K||[]);\nfor(var R=K.next();!R.done;R=K.next()){var f=g.z(R.value,SH);if(f===void 0||!Z$z(f))break;R=void 0;f=(R=f.fulfillmentContent)==null?void 0:R.fulfilledLayout;if((R=g.z(f,oq))&&Fb(R))return!0}return!1},T0h=function(K,R){var f;\nif((f=K.questions)==null||!f.length||!K.playbackCommands||(R===void 0||!R)&&K.questions.length!==1)return!1;K=g.Z(K.questions);for(R=K.next();!R.done;R=K.next()){R=R.value;var V=f=void 0,D=((f=g.z(R,iW))==null?void 0:f.surveyAdQuestionCommon)||((V=g.z(R,vJ))==null?void 0:V.surveyAdQuestionCommon);if(!kyh(D))return!1}return!0},PZG=function(K){K=((K==null?void 0:K.playerOverlay)||{}).instreamSurveyAdRenderer;\nvar R;if(K)if(K.playbackCommands&&K.questions&&K.questions.length===1){var f,V=((R=g.z(K.questions[0],iW))==null?void 0:R.surveyAdQuestionCommon)||((f=g.z(K.questions[0],vJ))==null?void 0:f.surveyAdQuestionCommon);R=kyh(V)}else R=!1;else R=!1;return R},kyh=function(K){if(!K)return!1;\nK=g.z(K.instreamAdPlayerOverlay,LX);var R=g.z(K==null?void 0:K.skipOrPreviewRenderer,Cy),f=g.z(K==null?void 0:K.adInfoRenderer,wh);return(g.z(K==null?void 0:K.skipOrPreviewRenderer,zz)||R)&&f?!0:!1},nQ5=function(K){return K.linearAds!=null&&M5(K.adLayoutMetadata)},IRD=function(K){return K.linearAd!=null&&K.adVideoStart!=null},gQ5=function(K){if(isNaN(Number(K.timeoutSeconds))||!K.text||!K.ctaButton||!g.z(K.ctaButton,g.xu)||!K.brandImage)return!1;\nvar R;return K.backgroundImage&&g.z(K.backgroundImage,EQ)&&((R=g.z(K.backgroundImage,EQ))==null?0:R.landscape)?!0:!1},aq=function(K,R,f,V,D,H,l,F){g.O.call(this);\nthis.wU=K;this.U=R;this.K=V;this.Da=D;this.J=H;this.X=l;this.N1=F},qzG=function(K,R,f){var V,D=((V=f.adSlots)!=null?V:[]).map(function(F){return g.z(F,SH)});\nif(f.uR)if(Oj(R.clientMetadata,\"metadata_type_allow_pause_ad_break_request_slot_reschedule\"))GX(K.U.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},R.slotId);\nelse{if(K.wU.get().G.C().Y(\"h5_check_forecasting_renderer_for_throttled_midroll\")){var H=f.RR.filter(function(F){var c;return((c=F.renderer)==null?void 0:c.clientForecastingAdRenderer)!=null});\nH.length!==0?O$B(K.X,H,D,R.slotId,f.ssdaiAdsConfig):GX(K.U.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},R.slotId)}else GX(K.U.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},R.slotId);\njno(K.J,R)}else{var l;V={HA:Math.round(((H=Oj(R.clientMetadata,\"metadata_type_ad_break_request_data\"))==null?void 0:H.HA)||0),LO:(l=Oj(R.clientMetadata,\"metadata_type_ad_break_request_data\"))==null?void 0:l.LO};H=Oj(R.clientMetadata,\"metadata_type_cue_point\");O$B(K.X,f.RR,D,R.slotId,f.ssdaiAdsConfig,V,H)}},pVM=function(K,R,f,V,D,H,l,F){var c=sU(K.Da.get(),1);\nif(MYM(K.wU.get())){var r=Qy(K.K.get(),f,V,D,c.clientPlaybackNonce,c.y6,c.daiEnabled,c,H,l);b$w(K,r);GX(K.U.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return r},R)}else GX(K.U.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return Qy(K.K.get(),f,V,D,c.clientPlaybackNonce,c.y6,c.daiEnabled,c,H,l,F)},R)},b$w=function(K,R){R=g.Z(R);\nfor(var f=R.next();!f.done;f=R.next()){var V=f.value;if(V.slotType===\"SLOT_TYPE_PLAYER_BYTES\"&&V.fulfilledLayout)if(f=void 0,V.fulfilledLayout.renderingContent)f=Oj(V.fulfilledLayout.clientMetadata,\"metadata_type_player_vars\");else{if(V.fulfilledLayout.N7){V=g.Z(V.fulfilledLayout.N7);for(var D=V.next();!D.done&&(D=D.value,!D.renderingContent||!(f=Oj(D.clientMetadata,\"metadata_type_player_vars\")));D=V.next());}}else f=void 0;if(f){K.N1.get().G.preloadVideoByPlayerVars(f,2,300);break}}},m4c=function(K,\nR,f,V,D,H,l){R=YzB(R,H,Number(V.prefetchMilliseconds)||0,l);\nK=R instanceof C?R:Na(K,V,D,R,f);return K instanceof C?K:[K]},GyB=function(K,R,f,V,D){var H=uV(K.K.get(),\"SLOT_TYPE_AD_BREAK_REQUEST\");\nV=[new wp({getAdBreakUrl:V.getAdBreakUrl,HA:0,LO:0}),new Bx(!0)];K=R.pauseDurationMs?R.lactThresholdMs?{slotId:H,slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\",slotPhysicalPosition:2,slotEntryTrigger:new I6(K.U,H),slotFulfillmentTriggers:[new lRw(K.U)],slotExpirationTriggers:[new Zw(K.U,D),new Ti(K.U,H)],dU:\"core\",clientMetadata:new gp(V),adSlotLoggingData:f}:new C(\"AdPlacementConfig for Pause Ads is missing lact_threshold_ms\"):new C(\"AdPlacementConfig for Pause Ads is missing pause_duration_ms\");return K instanceof\nC?K:[K]},uiN=function(K){var R,f;\nreturn((R=K.renderer)==null?void 0:(f=R.adBreakServiceRenderer)==null?void 0:f.getAdBreakUrl)!==void 0},UQ=function(K,R,f){if(K.beforeContentVideoIdStartedTrigger)K=K.beforeContentVideoIdStartedTrigger?new ST(nf,R,K.id):new C(\"Not able to create BeforeContentVideoIdStartedTrigger\");\nelse{if(K.layoutIdExitedTrigger){var V;R=(V=K.layoutIdExitedTrigger)!=null&&V.triggeringLayoutId?new xM(nf,K.layoutIdExitedTrigger.triggeringLayoutId,K.id):new C(\"Not able to create LayoutIdExitedTrigger\")}else{if(K.layoutExitedForReasonTrigger){var D,H;((D=K.layoutExitedForReasonTrigger)==null?0:D.triggeringLayoutId)&&((H=K.layoutExitedForReasonTrigger)==null?0:H.layoutExitReason)?(R=d4G(K.layoutExitedForReasonTrigger.layoutExitReason),K=R instanceof C?R:new zi(nf,K.layoutExitedForReasonTrigger.triggeringLayoutId,\n[R],K.id)):K=new C(\"Not able to create LayoutIdExitedForReasonTrigger\")}else{if(K.onLayoutSelfExitRequestedTrigger){var l;R=(l=K.onLayoutSelfExitRequestedTrigger)!=null&&l.triggeringLayoutId?new Jr(nf,K.onLayoutSelfExitRequestedTrigger.triggeringLayoutId,K.id):new C(\"Not able to create OnLayoutSelfExitRequestedTrigger\")}else{if(K.onNewPlaybackAfterContentVideoIdTrigger)K=K.onNewPlaybackAfterContentVideoIdTrigger?new Zw(nf,R,K.id):new C(\"Not able to create OnNewPlaybackAfterContentVideoIdTrigger\");\nelse{if(K.skipRequestedTrigger){var F;R=(F=K.skipRequestedTrigger)!=null&&F.triggeringLayoutId?new X$(nf,K.skipRequestedTrigger.triggeringLayoutId,K.id):new C(\"Not able to create SkipRequestedTrigger\")}else if(K.slotIdEnteredTrigger){var c;R=(c=K.slotIdEnteredTrigger)!=null&&c.triggeringSlotId?new kM(nf,K.slotIdEnteredTrigger.triggeringSlotId,K.id):new C(\"Not able to create SlotIdEnteredTrigger\")}else if(K.slotIdExitedTrigger){var r;R=(r=K.slotIdExitedTrigger)!=null&&r.triggeringSlotId?new Ti(nf,\nK.slotIdExitedTrigger.triggeringSlotId,K.id):new C(\"Not able to create SkipRequestedTrigger\")}else if(K.surveySubmittedTrigger){var y;R=(y=K.surveySubmittedTrigger)!=null&&y.triggeringLayoutId?new Ok(nf,K.surveySubmittedTrigger.triggeringLayoutId,K.id):new C(\"Not able to create SurveySubmittedTrigger\")}else{if(K.mediaResumedTrigger)K=K.mediaResumedTrigger&&K.id?new F32(K.id):new C(\"Not able to create MediaResumedTrigger\");else{if(K.closeRequestedTrigger){var h;R=(h=K.closeRequestedTrigger)!=null&&\nh.triggeringLayoutId?new i0(nf,K.closeRequestedTrigger.triggeringLayoutId,K.id):new C(\"Not able to create CloseRequestedTrigger\")}else if(K.slotIdScheduledTrigger){var S;R=(S=K.slotIdScheduledTrigger)!=null&&S.triggeringSlotId?new I6(nf,K.slotIdScheduledTrigger.triggeringSlotId,K.id):new C(\"Not able to create SlotIdScheduledTrigger\")}else{if(K.mediaTimeRangeTrigger){var v;V=Number((v=K.mediaTimeRangeTrigger)==null?void 0:v.offsetStartMilliseconds);var L;l=Number((L=K.mediaTimeRangeTrigger)==null?\nvoid 0:L.offsetEndMilliseconds);isFinite(V)&&isFinite(l)?(L=l,L===-1&&(L=f),f=V>L?new C(\"AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.\",{offsetStartMs:V,offsetEndMs:L},\"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START\",L===f&&V-500<=L):new N1(V,L),K=f instanceof C?f:new Uk(nf,R,f,!1,K.id)):K=new C(\"Not able to create MediaTimeRangeTrigger\")}else if(K.contentVideoIdEndedTrigger)K=K.contentVideoIdEndedTrigger?new vO(nf,R,!1,K.id):new C(\"Not able to create ContentVideoIdEndedTrigger\");\nelse{if(K.layoutIdEnteredTrigger){var E;R=(E=K.layoutIdEnteredTrigger)!=null&&E.triggeringLayoutId?new wq(nf,K.layoutIdEnteredTrigger.triggeringLayoutId,K.id):new C(\"Not able to create LayoutIdEnteredTrigger\")}else if(K.timeRelativeToLayoutEnterTrigger){var Q;R=(Q=K.timeRelativeToLayoutEnterTrigger)!=null&&Q.triggeringLayoutId?new jT(nf,Number(K.timeRelativeToLayoutEnterTrigger.durationMs),K.timeRelativeToLayoutEnterTrigger.triggeringLayoutId,K.id):new C(\"Not able to create TimeRelativeToLayoutEnterTrigger\")}else if(K.onDifferentLayoutIdEnteredTrigger){var J;\nR=(J=K.onDifferentLayoutIdEnteredTrigger)!=null&&J.triggeringLayoutId&&K.onDifferentLayoutIdEnteredTrigger.slotType&&K.onDifferentLayoutIdEnteredTrigger.layoutType?new tr(nf,K.onDifferentLayoutIdEnteredTrigger.triggeringLayoutId,K.onDifferentLayoutIdEnteredTrigger.slotType,K.onDifferentLayoutIdEnteredTrigger.layoutType,K.id):new C(\"Not able to create CloseRequestedTrigger\")}else{if(K.liveStreamBreakStartedTrigger)K=K.liveStreamBreakStartedTrigger&&K.id?new N5(nf,K.id):new C(\"Not able to create LiveStreamBreakStartedTrigger\");\nelse if(K.liveStreamBreakEndedTrigger)K=K.liveStreamBreakEndedTrigger&&K.id?new Ek(nf,K.id):new C(\"Not able to create LiveStreamBreakEndedTrigger\");else{if(K.liveStreamBreakScheduledDurationMatchedTrigger){var A;R=(A=K.liveStreamBreakScheduledDurationMatchedTrigger)!=null&&A.breakDurationMs?new a6(Number(K.liveStreamBreakScheduledDurationMatchedTrigger.breakDurationMs||\"0\")||0,K.id):new C(\"Not able to create LiveStreamBreakScheduledDurationMatchedTrigger\")}else if(K.liveStreamBreakScheduledDurationNotMatchedTrigger){var B;\nR=(B=K.liveStreamBreakScheduledDurationNotMatchedTrigger)!=null&&B.breakDurationMs?new QB(Number(K.liveStreamBreakScheduledDurationNotMatchedTrigger.breakDurationMs||\"0\")||0,K.id):new C(\"Not able to create LiveStreamBreakScheduledDurationNotMatchedTrigger\")}else if(K.newSlotScheduledWithBreakDurationTrigger){var k;R=(k=K.newSlotScheduledWithBreakDurationTrigger)!=null&&k.breakDurationMs?new WO(Number(K.newSlotScheduledWithBreakDurationTrigger.breakDurationMs||\"0\")||0,K.id):new C(\"Not able to create NewSlotScheduledWithBreakDurationTrigger\")}else R=\nK.prefetchCacheExpiredTrigger?new BO(nf,K.id):new C(\"Not able to convert an AdsControlflowTrigger.\");K=R}R=K}K=R}R=K}K=R}R=K}K=R}R=K}K=R}R=K}K=R}return K},WJ=function(K,R){R.U>=2&&(K.slot_pos=R.adPodIndex);\nK.autoplay=\"1\"},CZG=function(K,R,f,V,D,H,l,F){return R===null?new C(\"Invalid slot type when get discovery companion fromActionCompanionAdRenderer\",{slotType:R,\nActionCompanionAdRenderer:V}):[snw(K,R,l,H,function(c){var r=c.slotId;c=F(c);var y=V.adLayoutLoggingData,h=new gp([new wd(V),new ZX(D)]);r=Z6(f.K.get(),\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",r);var S={layoutId:r,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",dU:\"core\"};return{layoutId:r,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",iD:new Map,layoutExitNormalTriggers:[new Zw(f.U,l)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],\ndU:\"core\",clientMetadata:h,Yl:c(S),adLayoutLoggingData:y}})]},eIB=function(K,R,f,V,D,H,l,F){return R===null?new C(\"Invalid slot type when get discovery companion fromTopBannerImageTextIconButtonedLayoutViewModel\",{slotType:R,\nTopBannerImageTextIconButtonedLayoutViewModel:V}):[snw(K,R,l,H,function(c){var r=c.slotId;c=F(c);var y=V.adLayoutLoggingData,h=new gp([new zL(V),new ZX(D)]);r=Z6(f.K.get(),\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",r);var S={layoutId:r,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",dU:\"core\"};return{layoutId:r,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",iD:new Map,layoutExitNormalTriggers:[new Zw(f.U,l)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],\nlayoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:h,Yl:c(S),adLayoutLoggingData:y}})]},V6o=function(K,R,f,V,D,H){if(!H)for(R=g.Z(R),H=R.next();!H.done;H=R.next())H=H.value,td(K,H.renderer,H.config.adPlacementConfig.kind);\nK=Array.from(K.values()).filter(function(y){return KSD(y)});\nR=[];H=g.Z(K);for(var l=H.next(),F={};!l.done;F={ez:void 0},l=H.next()){F.ez=l.value;l=g.Z(F.ez.Bk);for(var c=l.next(),r={};!c.done;r={jc:void 0},c=l.next())r.jc=c.value,c=function(y,h){return function(S){return y.jc.q5(S,h.ez.instreamVideoAdRenderer.elementId,y.jc.Vb)}}(r,F),r.jc.isContentVideoCompanion?R.push(Rvc(f,V,D,F.ez.instreamVideoAdRenderer.elementId,r.jc.associatedCompositePlayerBytesLayoutId,r.jc.adSlotLoggingData,c)):K.length>1?R.push(f7_(f,V,D,F.ez.instreamVideoAdRenderer.elementId,r.jc.adSlotLoggingData,\nfunction(y,h){return function(S){return y.jc.q5(S,h.ez.instreamVideoAdRenderer.elementId,y.jc.Vb,y.jc.associatedCompositePlayerBytesLayoutId)}}(r,F))):R.push(f7_(f,V,D,F.ez.instreamVideoAdRenderer.elementId,r.jc.adSlotLoggingData,c))}return R},td=function(K,R,f){if(R=DID(R)){R=g.Z(R);\nfor(var V=R.next();!V.done;V=R.next())if((V=V.value)&&V.externalVideoId){var D=Ad(K,V.externalVideoId);D.instreamVideoAdRenderer||(D.instreamVideoAdRenderer=V,D.Vi=f)}else dH(\"InstreamVideoAdRenderer without externalVideoId\")}},DID=function(K){var R=[],f=K.sandwichedLinearAdRenderer&&K.sandwichedLinearAdRenderer.linearAd&&g.z(K.sandwichedLinearAdRenderer.linearAd,fX);\nif(f)return R.push(f),R;if(K.instreamVideoAdRenderer)return R.push(K.instreamVideoAdRenderer),R;if(K.linearAdSequenceRenderer&&K.linearAdSequenceRenderer.linearAds){K=g.Z(K.linearAdSequenceRenderer.linearAds);for(f=K.next();!f.done;f=K.next())f=f.value,g.z(f,fX)&&R.push(g.z(f,fX));return R}return null},KSD=function(K){if(K.instreamVideoAdRenderer===void 0)return dH(\"AdPlacementSupportedRenderers without matching InstreamVideoAdRenderer\"),!1;\nfor(var R=g.Z(K.Bk),f=R.next();!f.done;f=R.next()){f=f.value;if(f.q5===void 0)return!1;if(f.Vb===void 0)return dH(\"AdPlacementConfig for AdPlacementSupportedRenderers that matches an InstreamVideoAdRenderer is undefined\"),!1;if(K.Vi===void 0||f.D$===void 0||K.Vi!==f.D$&&f.D$!==\"AD_PLACEMENT_KIND_SELF_START\")return!1;if(K.instreamVideoAdRenderer.elementId===void 0)return dH(\"InstreamVideoAdRenderer has no elementId\",void 0,void 0,{kind:K.Vi,\"matching APSR kind\":f.D$}),!1}return!0},Ad=function(K,R){K.has(R)||\nK.set(R,{instreamVideoAdRenderer:void 0,\nVi:void 0,adVideoId:R,Bk:[]});return K.get(R)},Jd=function(K,R,f,V,D,H,l,F,c){D?Ad(K,D).Bk.push({YPp:R,\nD$:f,isContentVideoCompanion:V,Vb:l,associatedCompositePlayerBytesLayoutId:H,adSlotLoggingData:F,q5:c}):dH(\"Companion AdPlacementSupportedRenderer without adVideoId\")},Zi=function(K){var R=0;\nK=g.Z(K.questions);for(var f=K.next();!f.done;f=K.next())if(f=f.value,f=g.z(f,iW)||g.z(f,vJ)){var V=void 0;R+=((V=f.surveyAdQuestionCommon)==null?void 0:V.durationMilliseconds)||0}return R},BJ=function(K){var R,f,V,D,H=((f=g.z((R=K.questions)==null?void 0:R[0],iW))==null?void 0:f.surveyAdQuestionCommon)||((D=g.z((V=K.questions)==null?void 0:V[0],vJ))==null?void 0:D.surveyAdQuestionCommon),l;\nR=[].concat(g.X(((l=K.playbackCommands)==null?void 0:l.instreamAdCompleteCommands)||[]),g.X((H==null?void 0:H.timeoutCommands)||[]));var F,c,r,y,h,S,v,L,E,Q,J,A,B,k,b,M,Hc,fB,Rw,FG;return{impressionCommands:(F=K.playbackCommands)==null?void 0:F.impressionCommands,errorCommands:(c=K.playbackCommands)==null?void 0:c.errorCommands,muteCommands:(r=K.playbackCommands)==null?void 0:r.muteCommands,unmuteCommands:(y=K.playbackCommands)==null?void 0:y.unmuteCommands,pauseCommands:(h=K.playbackCommands)==null?\nvoid 0:h.pauseCommands,rewindCommands:(S=K.playbackCommands)==null?void 0:S.rewindCommands,resumeCommands:(v=K.playbackCommands)==null?void 0:v.resumeCommands,skipCommands:(L=K.playbackCommands)==null?void 0:L.skipCommands,progressCommands:(E=K.playbackCommands)==null?void 0:E.progressCommands,lLt:(Q=K.playbackCommands)==null?void 0:Q.clickthroughCommands,fullscreenCommands:(J=K.playbackCommands)==null?void 0:J.fullscreenCommands,activeViewViewableCommands:(A=K.playbackCommands)==null?void 0:A.activeViewViewableCommands,\nactiveViewMeasurableCommands:(B=K.playbackCommands)==null?void 0:B.activeViewMeasurableCommands,activeViewFullyViewableAudibleHalfDurationCommands:(k=K.playbackCommands)==null?void 0:k.activeViewFullyViewableAudibleHalfDurationCommands,activeViewAudioAudibleCommands:(b=K.playbackCommands)==null?void 0:(M=b.activeViewTracking)==null?void 0:M.activeViewAudioAudibleCommands,activeViewAudioMeasurableCommands:(Hc=K.playbackCommands)==null?void 0:(fB=Hc.activeViewTracking)==null?void 0:fB.activeViewAudioMeasurableCommands,\nendFullscreenCommands:(Rw=K.playbackCommands)==null?void 0:Rw.endFullscreenCommands,abandonCommands:(FG=K.playbackCommands)==null?void 0:FG.abandonCommands,completeCommands:R}},$IM=function(K,R,f,V,D,H,l){return function(F,c){return HvD(K,c.slotId,F,H,function(r,y){var h=c.layoutId;\nr=l(r);return Xb(R,h,y,D,r,\"LAYOUT_TYPE_SURVEY\",[new mf(f),V],f.adLayoutLoggingData)})}},FSv=function(K,R,f,V,D,H,l){if(!l7o(K))return new C(\"Invalid InstreamVideoAdRenderer for SlidingText.\",{instreamVideoAdRenderer:K});\nvar F=K.additionalPlayerOverlay.slidingTextPlayerOverlayRenderer;return[dI_(H,R,f,V,function(c){var r=c.slotId;c=l(c);r=Z6(D.K.get(),\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",r);var y={layoutId:r,layoutType:\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",dU:\"core\"},h=new xM(D.U,V);return{layoutId:r,layoutType:\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",iD:new Map,layoutExitNormalTriggers:[h],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],\ndU:\"core\",clientMetadata:new gp([new GL(F)]),Yl:c(y)}})]},l7o=function(K){K=g.z(K==null?void 0:K.additionalPlayerOverlay,cR2);\nif(!K)return!1;var R=K.slidingMessages;return K.title&&R&&R.length!==0?!0:!1},yRD=function(K,R,f,V,D){var H;\nif((H=K.playerOverlay)==null||!H.instreamSurveyAdRenderer)return function(){return[]};\nif(!PZG(K))return function(){return new C(\"Received invalid InstreamVideoAdRenderer for DAI survey.\",{instreamVideoAdRenderer:K})};\nvar l=K.playerOverlay.instreamSurveyAdRenderer,F=Zi(l);return F<=0?function(){return new C(\"InstreamSurveyAdRenderer should have valid duration.\",{instreamSurveyAdRenderer:l})}:function(c,r){var y=rRz(c,f,V,function(h){var S=h.slotId;\nh=r(h);var v=BJ(l);S=Z6(D.K.get(),\"LAYOUT_TYPE_SURVEY\",S);var L={layoutId:S,layoutType:\"LAYOUT_TYPE_SURVEY\",dU:\"core\"},E=new xM(D.U,V),Q=new X$(D.U,S),J=new Ok(D.U,S),A=new hI_(D.U);return{layoutId:S,layoutType:\"LAYOUT_TYPE_SURVEY\",iD:new Map,layoutExitNormalTriggers:[E,A],layoutExitSkipTriggers:[Q],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[J],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new YX(l),new ZX(R),new Ej(F/1E3),new Uj(v)]),Yl:h(L),adLayoutLoggingData:l.adLayoutLoggingData}});\nc=FSv(K,f,y.slotId,V,D,c,r);return c instanceof C?c:[y].concat(g.X(c))}},wu_=function(K,R,f,V,D,H,l,F){l=l===void 0?!1:l;\nvar c=[];try{var r=[];if(f.renderer.linearAdSequenceRenderer)var y=function(Q){Q=hvo(Q.slotId,f,R,D(Q),V,H,l);r=Q.OPW;return Q.vJ};\nelse if(f.renderer.instreamVideoAdRenderer)y=function(Q){var J=Q.slotId;Q=D(Q);var A=l,B=f.config.adPlacementConfig,k=o4e(B),b=k.m2,M=k.GD;k=f.renderer.instreamVideoAdRenderer;var Hc;if(k==null?0:(Hc=k.playerOverlay)==null?0:Hc.instreamSurveyAdRenderer)throw new TypeError(\"Survey overlay should not be set on single video.\");var fB=ku(k,A);Hc=Math.min(b+fB.videoLengthSeconds*1E3,M);A=new o6(0,[fB.videoLengthSeconds]);M=fB.videoLengthSeconds;var Rw=fB.playerVars,FG=fB.instreamAdPlayerOverlayRenderer,\nyN=fB.playerOverlayLayoutRenderer,VN=fB.adVideoId,aw=Su_(f),s5=fB.iD;fB=fB.Y8;var dW=k==null?void 0:k.adLayoutLoggingData;k=k==null?void 0:k.sodarExtensionData;J=Z6(R.K.get(),\"LAYOUT_TYPE_MEDIA\",J);var DB={layoutId:J,layoutType:\"LAYOUT_TYPE_MEDIA\",dU:\"core\"};return{layoutId:J,layoutType:\"LAYOUT_TYPE_MEDIA\",iD:s5,layoutExitNormalTriggers:[new Ek(R.U)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new nY(V),\nnew lM(M),new dp(Rw),new rp(b),new yA(Hc),FG&&new Id(FG),yN&&new gd(yN),new ZX(B),new Ps(VN),new Bs(A),new vx(aw),k&&new cx(k),new ff({current:null}),new oR({}),new AW(fB)].filter(ivD)),Yl:Q(DB),adLayoutLoggingData:dW}};\nelse throw new TypeError(\"Expected valid AdPlacementRenderer for DAI\");var h=v4_(K,V,f.adSlotLoggingData,y,F);c.push(h);for(var S=g.Z(r),v=S.next();!v.done;v=S.next()){var L=v.value,E=L(K,D);if(E instanceof C)return E;c.push.apply(c,g.X(E))}}catch(Q){return new C(Q,{errorMessage:Q.message,AdPlacementRenderer:f,numberOfSurveyRenderers:LSD(f)})}return c},LSD=function(K){K=(K.renderer.linearAdSequenceRenderer||{}).linearAds;\nreturn K!=null&&K.length?K.filter(function(R){var f,V;return((f=g.z(R,fX))==null?void 0:(V=f.playerOverlay)==null?void 0:V.instreamSurveyAdRenderer)!=null}).length:0},hvo=function(K,R,f,V,D,H,l){var F=R.config.adPlacementConfig,c=o4e(F),r=c.m2,y=c.GD;\nc=(R.renderer.linearAdSequenceRenderer||{}).linearAds;if(c==null||!c.length)throw new TypeError(\"Expected linear ads\");var h=[],S={Q8:r,wS:0,HP2:h};c=c.map(function(L){return zvv(K,L,S,f,V,F,D,y,l)}).map(function(L,E){E=new o6(E,h);\nreturn L(E)});\nvar v=c.map(function(L){return L.SW});\nreturn{vJ:xIc(f,K,r,v,F,Su_(R),V,y,H),OPW:c.map(function(L){return L.rmp})}},zvv=function(K,R,f,V,D,H,l,F,c){var r=ku(g.z(R,fX),c),y=f.Q8,h=f.wS,S=Math.min(y+r.videoLengthSeconds*1E3,F);\nf.Q8=S;f.wS++;f.HP2.push(r.videoLengthSeconds);var v,L,E=(v=g.z(R,fX))==null?void 0:(L=v.playerOverlay)==null?void 0:L.instreamSurveyAdRenderer;if(r.adVideoId===\"nPpU29QrbiU\"&&E==null)throw new TypeError(\"Survey slate media has no survey overlay\");return function(Q){WJ(r.playerVars,Q);var J,A,B=r.videoLengthSeconds,k=r.playerVars,b=r.iD,M=r.Y8,Hc=r.instreamAdPlayerOverlayRenderer,fB=r.playerOverlayLayoutRenderer,Rw=r.adVideoId,FG=(J=g.z(R,fX))==null?void 0:J.adLayoutLoggingData;J=(A=g.z(R,fX))==null?\nvoid 0:A.sodarExtensionData;A=Z6(V.K.get(),\"LAYOUT_TYPE_MEDIA\",K);var yN={layoutId:A,layoutType:\"LAYOUT_TYPE_MEDIA\",dU:\"adapter\"};Q={layoutId:A,layoutType:\"LAYOUT_TYPE_MEDIA\",iD:b,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"adapter\",clientMetadata:new gp([new nY(l),new lM(B),new dp(k),new rp(y),new yA(S),new hW(h),new ff({current:null}),Hc&&new Id(Hc),fB&&new gd(fB),new ZX(H),new Ps(Rw),\nnew Bs(Q),J&&new cx(J),E&&new tW(E),new oR({}),new AW(M)].filter(ivD)),Yl:D(yN),adLayoutLoggingData:FG};B=yRD(g.z(R,fX),H,l,Q.layoutId,V);return{SW:Q,rmp:B}}},ku=function(K,R){if(!K)throw new TypeError(\"Expected instream video ad renderer\");\nif(!K.playerVars)throw new TypeError(\"Expected player vars in url encoded string\");var f=Iw(K.playerVars),V=Number(f.length_seconds);if(isNaN(V))throw new TypeError(\"Expected valid length seconds in player vars\");var D=Number(K.trimmedMaxNonSkippableAdDurationMs);V=isNaN(D)?V:Math.min(V,D/1E3);D=K.playerOverlay||{};D=D.instreamAdPlayerOverlayRenderer===void 0?null:D.instreamAdPlayerOverlayRenderer;var H=K.playerOverlay||{};H=H.playerOverlayLayoutRenderer===void 0?null:H.playerOverlayLayoutRenderer;\nvar l=f.video_id;l||(l=(l=K.externalVideoId)?l:void 0);if(!l)throw new TypeError(\"Expected valid video id in IVAR\");if(R&&V===0){var F;R=(F=E42[l])!=null?F:V}else R=V;return{playerVars:f,videoLengthSeconds:R,instreamAdPlayerOverlayRenderer:D,playerOverlayLayoutRenderer:H,adVideoId:l,iD:K.pings?$p(K.pings):new Map,Y8:H6(K.pings)}},Su_=function(K){K=Number(K.driftRecoveryMs);\nreturn isNaN(K)||K<=0?null:K},o4e=function(K){var R=K.adTimeOffset||{};\nK=R.offsetEndMilliseconds;R=Number(R.offsetStartMilliseconds);if(isNaN(R))throw new TypeError(\"Expected valid start offset\");K=Number(K);if(isNaN(K))throw new TypeError(\"Expected valid end offset\");return{m2:R,GD:K}},a7B=function(K){var R,f=(R=Oj(K.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==null?void 0:R.current;\nif(!f)return null;R=Oj(K.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\");var V=K.layoutId,D=Oj(K.clientMetadata,\"metadata_type_content_cpn\"),H=Oj(K.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),l=Oj(K.clientMetadata,\"metadata_type_player_underlay_renderer\"),F=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\"),c=Oj(K.clientMetadata,\"metadata_type_video_length_seconds\");var r=TU(K.clientMetadata,\"metadata_type_layout_enter_ms\")&&TU(K.clientMetadata,\"metadata_type_layout_exit_ms\")?\n(Oj(K.clientMetadata,\"metadata_type_layout_exit_ms\")-Oj(K.clientMetadata,\"metadata_type_layout_enter_ms\"))/1E3:void 0;return{B8:V,contentCpn:D,pD:f,MO:R,instreamAdPlayerOverlayRenderer:H,instreamAdPlayerUnderlayRenderer:l,adPlacementConfig:F,videoLengthSeconds:c,G7:r,inPlayerLayoutId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_layout_id\"),inPlayerSlotId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_slot_id\")}},UIc=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L){V=uV(V,\"SLOT_TYPE_PLAYER_BYTES\");\nK=Qyh(D,K,l,f,V,c,r);if(K instanceof C)return K;var E;r=(E=Oj(K.clientMetadata,\"metadata_type_fulfilled_layout\"))==null?void 0:E.layoutId;if(!r)return new C(\"Invalid adNotify layout\");R=NSM(r,D,H,f,F,R,c,y,h,S,v,L,l);return R instanceof C?R:[K].concat(g.X(R))},NSM=function(K,R,f,V,D,H,l,F,c,r,y,h,S){f=WSw(R,f,V,H,l,F,c,r,y,h,S);\nif(f instanceof C)return f;K=t6w(R,K,l,D,f);return K instanceof C?K:[].concat(g.X(K.B9),[K.bG])},JRD=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v){R=WSw(K,R,f,D,H,F,c,r,y,h,S,v);\nif(R instanceof C)return R;K=ARM(K,f,H,l,V,F.qY,R);return K instanceof C?K:K.B9.concat(K.bG)},WSw=function(K,R,f,V,D,H,l,F,c,r,y,h){var S=Tz(V);\nreturn S instanceof IR?new C(S):r.G.C().experiments.rU(\"html5_refactor_in_player_slot_generation\")?function(v){var L=new o6(0,[S.pM]);v=ZvG(R,S.layoutId,S.l5,f,PJ(S.playerVars,S.oB,H,c,L),S.pM,D,L,l(v),F.get(S.l5.externalVideoId),h);L=[];if(S.l5.playerOverlay.instreamAdPlayerOverlayRenderer){var E=a7B(v);if(!E)return dH(\"Expected MediaLayout to carry valid data to create InPlayerSlot and PlayerOverlayForMediaLayout\",void 0,v),{layout:v,B9:[]};L=[BSD(K,E.contentCpn,E.B8,function(J){return nX(R,J.slotId,\n\"core\",E,YH(y,J))},E.inPlayerSlotId)].concat(g.X(L));\nif(E.instreamAdPlayerUnderlayRenderer&&Iq(r)){var Q=E.instreamAdPlayerUnderlayRenderer;L=[XuN(K,E.contentCpn,E.B8,function(J){return k7o(R,J.slotId,Q,E.adPlacementConfig,E.B8,YH(y,J))})].concat(g.X(L))}}return{layout:v,\nB9:L}}:function(v){var L=new o6(0,[S.pM]);\nreturn{layout:ZvG(R,S.layoutId,S.l5,f,PJ(S.playerVars,S.oB,H,c,L),S.pM,D,L,l(v),F.get(S.l5.externalVideoId),h),B9:[]}}},Tz=function(K){if(!K.playerVars)return new IR(\"No playerVars available in InstreamVideoAdRenderer.\");\nvar R,f;if(K.elementId==null||K.playerVars==null||K.playerOverlay==null||((R=K.playerOverlay)==null?void 0:R.instreamAdPlayerOverlayRenderer)==null&&((f=K.playerOverlay)==null?void 0:f.playerOverlayLayoutRenderer)==null||K.pings==null||K.externalVideoId==null)return new IR(\"Received invalid VOD InstreamVideoAdRenderer\",{instreamVideoAdRenderer:K});R=Iw(K.playerVars);f=Number(R.length_seconds);isNaN(f)&&(f=0,dH(\"Expected valid length seconds in player vars but got NaN\"));return{layoutId:K.elementId,\nl5:K,playerVars:R,oB:K.playerVars,pM:f}},PJ=function(K,R,f,V,D){K.iv_load_policy=V;\nR=Iw(R);if(R.cta_conversion_urls)try{K.cta_conversion_urls=JSON.parse(R.cta_conversion_urls)}catch(H){dH(H)}f.cR&&(K.ctrl=f.cR);f.sT&&(K.ytr=f.sT);f.rT&&(K.ytrcc=f.rT);f.isMdxPlayback&&(K.mdx=\"1\");K.vvt&&(K.vss_credentials_token=K.vvt,f.Jc&&(K.vss_credentials_token_type=f.Jc),f.mdxEnvironment&&(K.mdx_environment=f.mdxEnvironment));WJ(K,D);return K},TS5=function(K){var R=new Map;\nK=g.Z(K);for(var f=K.next();!f.done;f=K.next())(f=f.value.renderer.remoteSlotsRenderer)&&f.hostElementId&&R.set(f.hostElementId,f);return R},gh=function(K){return K.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_BYTES\"},PBe=function(K){return K!=null},bvN=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L){for(var E=[],Q=g.Z(K),J=Q.next();!J.done;J=Q.next())if(J=J.value,!U4_(J)&&!B0N(J)){var A=n4B(J,V,f.y6);\nif(A instanceof C)return A;var B=void 0,k={slotId:J.adSlotMetadata.slotId,slotType:J.adSlotMetadata.slotType,slotPhysicalPosition:(B=J.adSlotMetadata.slotPhysicalPosition)!=null?B:1,dU:\"core\",slotEntryTrigger:A.slotEntryTrigger,slotFulfillmentTriggers:A.slotFulfillmentTriggers,slotExpirationTriggers:A.slotExpirationTriggers},b=g.z(J.fulfillmentContent.fulfilledLayout,lW);if(b){if(!$u(b))return new C(\"Invalid PlayerBytesAdLayoutRenderer\");B=h&&!(gh(J)&&J.slotEntryTrigger.beforeContentVideoIdStartedTrigger);\nA=A.slotFulfillmentTriggers.some(function(M){return M instanceof a6});\nA=B?I7v(k,J.adSlotMetadata.triggerEvent,b,f,V,H,K,S,A,v):g4N(k,J.adSlotMetadata.triggerEvent,b,R,f,V,D,H,l,F,c,r,K,y,J.adSlotMetadata.triggeringSourceLayoutId);if(A instanceof C)return A;b=[];L?b.push(new $H({current:L})):b.push(new $H({current:null}));gh(J)&&b.push(new XO({G$:gh(J)&&!!J.slotEntryTrigger.beforeContentVideoIdStartedTrigger}));B&&b.push(new oR({}));f.qY&&b.push(new Wx({}));J=Object.assign({},k,{clientMetadata:new gp(b),fulfilledLayout:A.layout,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});\nE.push.apply(E,g.X(A.B9));E.push(J)}else if(B=g.z(J.fulfillmentContent.fulfilledLayout,hd)){if(!N0e(B))return new C(\"Invalid PlayerUnderlayAdLayoutRenderer\");B=OvN(B,V,f.y6,H,k,J.adSlotMetadata.triggerEvent,J.adSlotMetadata.triggeringSourceLayoutId);if(B instanceof C)return B;J=Object.assign({},k,{clientMetadata:new gp([]),fulfilledLayout:B,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});E.push(J)}else if(B=g.z(J.fulfillmentContent.fulfilledLayout,J25)){if(!M5(B.adLayoutMetadata)||!g.z(B.renderingContent,\ncJ))return new C(\"Invalid InPlayerOrganicOverlayAdLayoutRenderer\");B=B.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_PLAYER_ORGANIC_BANNER_OVERLAY\"?jy2(B,V,f.y6,H,k):new C(\"LayoutType [\"+B.adLayoutMetadata.layoutType+\"] is invalid for InPlayerOrganicOverlaySlot\");if(B instanceof C)return B;J=Object.assign({},k,{clientMetadata:new gp([]),fulfilledLayout:B,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});E.push(J)}else if(B=g.z(J.fulfillmentContent.fulfilledLayout,tYz)){if(!vQw(B))return new C(\"Invalid AboveFeedAdLayoutRenderer\");\nB=quN(B,V,f.y6,H,k,J.adSlotMetadata.triggerEvent,J.adSlotMetadata.triggeringSourceLayoutId);if(B instanceof C)return B;J=Object.assign({},k,{clientMetadata:new gp([]),fulfilledLayout:B,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});E.push(J)}else if(B=g.z(J.fulfillmentContent.fulfilledLayout,A2o)){if(!M5(B.adLayoutMetadata)||!g.z(B.renderingContent,b0))return new C(\"Invalid BelowPlayerAdLayoutRenderer\");B=quN(B,V,f.y6,H,k,J.adSlotMetadata.triggerEvent,J.adSlotMetadata.triggeringSourceLayoutId);\nif(B instanceof C)return B;J=Object.assign({},k,{clientMetadata:new gp([]),fulfilledLayout:B,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});E.push(J)}else if(B=g.z(J.fulfillmentContent.fulfilledLayout,oq)){if(!Fb(B))return new C(\"Invalid PlayerBytesSequenceItemAdLayoutRenderer\");B=M6h(B,V,f.y6,H,k,J.adSlotMetadata.triggerEvent);if(B instanceof C)return B;J=Object.assign({},k,{clientMetadata:new gp([]),fulfilledLayout:B,adSlotLoggingData:J.adSlotMetadata.adSlotLoggingData});E.push(J)}else return new C(\"Unable to retrieve a client slot [\"+\nk.slotType+\"] from a given AdSlotRenderer\")}return E},M6h=function(K,R,f,V,D,H){var l={layoutId:K.adLayoutMetadata.layoutId,\nlayoutType:K.adLayoutMetadata.layoutType,dU:\"core\"};R=OQ(K,R,f);return R instanceof C?R:(f=g.z(K.renderingContent,dh))&&f.pings?Object.assign({},l,{renderingContent:K.renderingContent,iD:$p(f.pings)},R,{Yl:YH(V,D)(l),clientMetadata:new gp([new ZX(jH(H)),new Uj({progressCommands:f.progressCommands})]),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData}):new C(\"VideoAdTracking is missing from PlayerBytesSequenceItemAdLayoutRenderer\")},quN=function(K,R,f,V,D,H,l){var F={layoutId:K.adLayoutMetadata.layoutId,\nlayoutType:K.adLayoutMetadata.layoutType,dU:\"core\"};R=OQ(K,R,f);if(R instanceof C)return R;f=[];f.push(new ZX(jH(H)));H===\"SLOT_TRIGGER_EVENT_LAYOUT_ID_ENTERED\"&&l!==void 0&&f.push(new uc(l));return Object.assign({},F,{renderingContent:K.renderingContent,iD:new Map([[\"impression\",puN(K)]])},R,{Yl:YH(V,D)(F),clientMetadata:new gp(f),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData})},OvN=function(K,R,f,V,D,H,l){if(K.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_DISMISSABLE_PANEL_TEXT_PORTRAIT_IMAGE\")a:{var F=\ng.z(K.renderingContent,rh),c=g.z(K.renderingContent,cJ);\nl=new Map;if(F){l=g.z(F.sidePanel,aRe);if(!l){K=new C(\"DismissablePanelTextPortraitImageRenderer is missing\");break a}l=new Map([[\"impression\",l.impressionPings||[]],[\"resume\",l.resumePings||[]]])}else if(!c){K=new C(\"AdsEngagementPanelSectionListViewModel is missing\");break a}F={layoutId:K.adLayoutMetadata.layoutId,layoutType:K.adLayoutMetadata.layoutType,dU:\"core\"};R=OQ(K,R,f);K=R instanceof C?R:Object.assign({},F,{renderingContent:K.renderingContent,iD:l},R,{Yl:YH(V,D)(F),clientMetadata:new gp([new ZX(jH(H))]),\nadLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData})}else K.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_DISPLAY_TRACKING\"?g.z(K.renderingContent,x4N)?(l={layoutId:K.adLayoutMetadata.layoutId,layoutType:K.adLayoutMetadata.layoutType,dU:\"core\"},R=OQ(K,R,f),K=R instanceof C?R:Object.assign({},l,{renderingContent:K.renderingContent,iD:new Map},R,{Yl:YH(V,D)(l),clientMetadata:new gp([new ZX(jH(H))]),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData})):K=new C(\"CounterfactualRenderer is missing\"):\nK.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_PANEL_QR_CODE\"?K=new C(\"PlayerUnderlaySlot cannot be created because adUxReadyApiProvider is null\"):K.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_PANEL_QR_CODE_CAROUSEL\"?K=new C(\"PlayerUnderlaySlot cannot be created because adUxReadyApiProvider is null\"):K.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_DISPLAY_UNDERLAY_TEXT_GRID_CARDS\"?g.z(K.renderingContent,yy)?(H={layoutId:K.adLayoutMetadata.layoutId,layoutType:K.adLayoutMetadata.layoutType,dU:\"core\"},R=OQ(K,\nR,f),K=R instanceof C?R:l?Object.assign({},H,{renderingContent:K.renderingContent,iD:new Map},R,{Yl:YH(V,D)(H),clientMetadata:new gp([new uc(l)]),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData}):new C(\"Not able to parse an SDF PlayerUnderlay layout because the triggeringMediaLayoutId in AdSlotMetadata is missing\")):K=new C(\"DisplayUnderlayTextGridCardsLayoutViewModel is missing\"):K.adLayoutMetadata.layoutType===\"LAYOUT_TYPE_VIDEO_AD_INFO\"?g.z(K.renderingContent,cJ)?(H={layoutId:K.adLayoutMetadata.layoutId,\nlayoutType:K.adLayoutMetadata.layoutType,dU:\"core\"},R=OQ(K,R,f),K=R instanceof C?R:Object.assign({},H,{renderingContent:K.renderingContent,iD:new Map([])},R,{Yl:YH(V,D)(H),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData,clientMetadata:new gp([])})):K=new C(\"AdsEngagementPanelSectionListViewModel is missing\"):K=new C(\"LayoutType [\"+K.adLayoutMetadata.layoutType+\"] is invalid for PlayerUnderlaySlot\");return K},jy2=function(K,R,f,V,D){if(!g.z(K.renderingContent,cJ))return new C(\"AdsEngagementPanelSectionListViewModel is missing\");\nvar H={layoutId:K.adLayoutMetadata.layoutId,layoutType:K.adLayoutMetadata.layoutType,dU:\"core\"};R=OQ(K,R,f);return R instanceof C?R:Object.assign({},H,{renderingContent:K.renderingContent,iD:new Map([])},R,{Yl:YH(V,D)(H),adLayoutLoggingData:K.adLayoutMetadata.adLayoutLoggingData,clientMetadata:new gp([])})},I7v=function(K,R,f,V,D,H,l,F,c,r){if((r==null?void 0:r.HA)===void 0||(r==null?void 0:r.LO)===void 0)return new C(\"Cached ad break range from cue point is missing\");\nvar y=OQ(f,D,V.y6);if(y instanceof C)return y;y={layoutExitMuteTriggers:[],layoutExitNormalTriggers:y.layoutExitNormalTriggers,layoutExitSkipTriggers:[],layoutExitUserCancelledTriggers:[],layoutExitUserInputSubmittedTriggers:[]};if(g.z(f.renderingContent,fX))return K=YuG(K,R,f,y,D,H,l,V.y6,r.HA,r.LO),K instanceof C?K:K.fK===void 0?new C(\"Expecting associatedInPlayerSlot for single DAI media layout\"):{layout:K.layout,B9:[K.fK]};var h=g.z(f.renderingContent,KX);if(h){if(!M5(f.adLayoutMetadata))return new C(\"Invalid ad layout metadata\");\nif(!Rq(h))return new C(\"Invalid sequential layout\");h=h.sequentialLayouts.map(function(S){return S.playerBytesAdLayoutRenderer});\nK=mI2(K,R,f,y,h,D,V,H,l,F,r.HA,r.LO,c);return K instanceof C?K:{layout:K.Xx,B9:K.B9}}return new C(\"Not able to convert a sequential layout\")},mI2=function(K,R,f,V,D,H,l,F,c,r,y,h,S){var v=G7h(D,y,h);\nif(v instanceof C)return v;var L=[],E=[];v=g.Z(v);for(var Q=v.next();!Q.done;Q=v.next()){var J=Q.value;Q=K;var A=D[J.wS],B=J,k=R;J=H;var b=l,M=F,Hc=c,fB=qa(A);if(fB instanceof C)Q=fB;else{var Rw={layoutId:A.adLayoutMetadata.layoutId,layoutType:A.adLayoutMetadata.layoutType,dU:\"adapter\"};B=uyB(k,A,B,J);B instanceof C?Q=B:(Q=Object.assign({},Rw,Ma,{iD:fB,renderingContent:A.renderingContent,clientMetadata:new gp(B),Yl:YH(M,Q)(Rw),adLayoutLoggingData:A.adLayoutMetadata.adLayoutLoggingData}),Q=(A=bW(Hc,\nQ,J,b.y6,M,void 0,!0))?A instanceof C?A:{layout:Q,fK:A}:new C(\"Expecting associatedInPlayerSlot\"))}if(Q instanceof C)return Q;L.push(Q.layout);E.push(Q.fK)}D={layoutId:f.adLayoutMetadata.layoutId,layoutType:f.adLayoutMetadata.layoutType,dU:\"core\"};R=[new vx(Number(f.driftRecoveryMs)),new rp(y),new yA(h),new ZX(jH(R)),new Zv(r),new oR({})];S&&R.push(new kH({}));return{Xx:Object.assign({},D,V,{N7:L,iD:new Map,clientMetadata:new gp(R),Yl:YH(F,K)(D)}),B9:E}},YuG=function(K,R,f,V,D,H,l,F,c,r){if(!$u(f))return new C(\"Invalid PlayerBytesAdLayoutRenderer\");\nvar y=qa(f);if(y instanceof C)return y;var h={layoutId:f.adLayoutMetadata.layoutId,layoutType:f.adLayoutMetadata.layoutType,dU:\"core\"},S=g.z(f.renderingContent,fX);if(!S)return new C(\"Invalid rendering content for DAI media layout\");S=ku(S,!1);c={sG:S,wS:0,Q8:c,Kf:Math.min(c+S.videoLengthSeconds*1E3,r),cg:new o6(0,[S.videoLengthSeconds])};var v;r=(v=Number(f.driftRecoveryMs))!=null?v:void 0;R=uyB(R,f,c,D,r);if(R instanceof C)return R;K=Object.assign({},h,V,{iD:y,renderingContent:f.renderingContent,\nclientMetadata:new gp(R),Yl:YH(H,K)(h),adLayoutLoggingData:f.adLayoutMetadata.adLayoutLoggingData});return(D=bW(l,K,D,F,H,void 0,!0))?D instanceof C?D:{layout:K,fK:D}:new C(\"Expecting associatedInPlayerSlot\")},g4N=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L){var E=OQ(f,H,D.y6);\nif(E instanceof C)return E;if(g.z(f.renderingContent,fX)){c=syo([f],D,c);if(c instanceof C)return c;if(c.length!==1)return new C(\"Only expected one media layout.\");K=CBe(K,R,f,E,c[0],void 0,\"core\",V,H,l,F,r,S,v,D.y6,void 0,L);return K instanceof C?K:{layout:K.layout,B9:K.fK?[K.fK]:[]}}var Q=g.z(f.renderingContent,KX);if(Q){if(!M5(f.adLayoutMetadata))return new C(\"Invalid ad layout metadata\");if(!Rq(Q))return new C(\"Invalid sequential layout\");Q=Q.sequentialLayouts.map(function(J){return J.playerBytesAdLayoutRenderer});\nK=evB(K,R,f.adLayoutMetadata,E,Q,V,H,D,c,l,F,r,y,h,S,v,L);return K instanceof C?K:{layout:K.Xx,B9:K.B9}}return new C(\"Not able to convert a sequential layout\")},evB=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E,Q){var J=new TL({current:null}),A=syo(D,F,c);\nif(A instanceof C)return A;c=[];for(var B=[],k=void 0,b=0;b0&&(k.push(E),k.push(new kX(B.adPodSkipTarget)));(H=r.get(B.externalVideoId))&&k.push(new xH(H));H=k}else H=new C(\"Invalid vod media renderer\")}if(H instanceof C)return H;K=Object.assign({},l,V,{iD:J,renderingContent:f.renderingContent,clientMetadata:new gp(H),Yl:YH(y,\nK)(l),adLayoutLoggingData:f.adLayoutMetadata.adLayoutLoggingData});f=g.z(f.renderingContent,fX);if(!f||!eT(f))return new C(\"Invalid meida renderer\");h=Ad(h,f.externalVideoId);h.instreamVideoAdRenderer=f;h.Vi=\"AD_PLACEMENT_KIND_START\";return v?(c=bW(S,K,c,L,y,E,!1),c instanceof C?c:fXv(K.layoutId,S)&&c?{layout:Object.assign({},K,{clientMetadata:new gp(H.concat(new qi(c)))})}:{layout:K,fK:c}):{layout:K}},KfM=function(K,R,f,V,D){if(!$u(R))return new C(\"Invalid PlayerBytesAdLayoutRenderer\");\nvar H=g.z(R.renderingContent,M9);if(!H||H.durationMilliseconds===void 0)return new C(\"Invalid endcap renderer\");var l={layoutId:R.adLayoutMetadata.layoutId,layoutType:R.adLayoutMetadata.layoutType,dU:\"adapter\"};V=[new aR(H.durationMilliseconds),new Uj({impressionCommands:void 0,abandonCommands:H.abandonCommands?[{commandExecutorCommand:H.abandonCommands}]:void 0,completeCommands:H.completionCommands}),new ZX(V),new eQ(\"LAYOUT_TYPE_ENDCAP\")];if(D){V.push(new X1(D.cg.adPodIndex-1));V.push(new hW(D.cg.adPodIndex));\nvar F;V.push(new kX((F=D.adPodSkipTarget)!=null?F:-1))}return Object.assign({},l,Ma,{renderingContent:R.renderingContent,clientMetadata:new gp(V),iD:H.skipPings?new Map([[\"skip\",H.skipPings]]):new Map,Yl:YH(f,K)(l),adLayoutLoggingData:R.adLayoutMetadata.adLayoutLoggingData})},bW=function(K,R,f,V,D,H,l){K=K.filter(function(h){return h.adSlotMetadata.slotType===\"SLOT_TYPE_IN_PLAYER\"&&h.adSlotMetadata.triggeringSourceLayoutId===R.layoutId});\nif(K.length!==0){if(K.length!==1)return new C(\"Invalid InPlayer slot association for the given PlayerBytes layout\");var F=K[0],c=n4B(F,f,V);if(c instanceof C)return c;var r;K={slotId:F.adSlotMetadata.slotId,slotType:F.adSlotMetadata.slotType,slotPhysicalPosition:(r=F.adSlotMetadata.slotPhysicalPosition)!=null?r:1,dU:\"core\",slotEntryTrigger:c.slotEntryTrigger,slotFulfillmentTriggers:c.slotFulfillmentTriggers,slotExpirationTriggers:c.slotExpirationTriggers};r=g.z(F.fulfillmentContent.fulfilledLayout,\nW3c);if(!r||!zIB(r))return new C(\"Invalid InPlayerAdLayoutRenderer\");c={layoutId:r.adLayoutMetadata.layoutId,layoutType:r.adLayoutMetadata.layoutType,dU:\"core\"};f=OQ(r,f,V);if(f instanceof C)return f;V=[];var y=r.adLayoutMetadata.layoutType;l&&V.push(new oR({}));if(y===\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\")V.push.apply(V,g.X(VQc(F.adSlotMetadata.triggerEvent,R))),(H=Di_(f,R.layoutId))&&V.push(new sP(H));else if(y===\"LAYOUT_TYPE_ENDCAP\"||y===\"LAYOUT_TYPE_VIDEO_INTERSTITIAL_CENTERED\"){V.push(new ZX(jH(F.adSlotMetadata.triggerEvent)));\nif(y===\"LAYOUT_TYPE_VIDEO_INTERSTITIAL_CENTERED\")return new C(\"Cannot parse endcap layout since AdUxReadyApi is not provided\");H&&V.push(H)}else return new C(\"Not able to parse an SDF InPlayer layout\");D=Object.assign({},c,f,{renderingContent:r.renderingContent,iD:new Map,Yl:YH(D,K)(c),clientMetadata:new gp(V),adLayoutLoggingData:r.adLayoutMetadata.adLayoutLoggingData});return Object.assign({},K,{fulfilledLayout:D,clientMetadata:new gp([])})}},VQc=function(K,R){var f=[];\nf.push(new ZX(jH(K)));f.push(new uc(R.layoutId));(K=Oj(R.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))&&f.push(new ff(K));(K=Oj(R.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))&&f.push(new TL(K));(K=Oj(R.clientMetadata,\"metadata_type_remote_slots_data\"))&&f.push(new xH(K));(K=Oj(R.clientMetadata,\"metadata_type_ad_next_params\"))&&f.push(new ad(K));(K=Oj(R.clientMetadata,\"metadata_type_ad_video_clickthrough_endpoint\"))&&f.push(new QE(K));(K=Oj(R.clientMetadata,\"metadata_type_ad_pod_info\"))&&\nf.push(new Bs(K));(R=Oj(R.clientMetadata,\"metadata_type_ad_video_id\"))&&f.push(new Ps(R));return f},RmN=function(K,R,f,V,D,H){function l(r){return pX(R,r)}\nvar F=V.PH.inPlayerSlotId,c={layoutId:V.PH.inPlayerLayoutId,layoutType:\"LAYOUT_TYPE_ENDCAP\",dU:\"core\"};f={slotId:F,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:new wq(l,K),slotFulfillmentTriggers:[new kM(l,F)],slotExpirationTriggers:[new Ti(l,F),new Zw(l,f)]};K=Object.assign({},c,{layoutExitNormalTriggers:[new xM(l,K)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],iD:new Map,clientMetadata:new gp([new bc(V.PH),\nnew ZX(V.adPlacementConfig),D]),Yl:YH(H,f)(c),adLayoutLoggingData:V.PH.adLayoutLoggingData});return Object.assign({},f,{clientMetadata:new gp([new Lf(K)])})},fXv=function(K,R){R=g.Z(R);\nfor(var f=R.next();!f.done;f=R.next())if(f=f.value,f.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_UNDERLAY\"){var V=g.z(f.fulfillmentContent.fulfilledLayout,hd);if(V&&(V=g.z(V.renderingContent,rh))&&V.associatedPlayerBytesLayoutId===K)return f}},n4B=function(K,R,f){var V=UQ(K.slotEntryTrigger,R,f);\nif(V instanceof C)return V;for(var D=[],H=g.Z(K.slotFulfillmentTriggers),l=H.next();!l.done;l=H.next()){l=UQ(l.value,R,f);if(l instanceof C)return l;D.push(l)}H=[];K=g.Z(K.slotExpirationTriggers);for(l=K.next();!l.done;l=K.next()){l=UQ(l.value,R,f);if(l instanceof C)return l;H.push(l)}return{slotEntryTrigger:V,slotFulfillmentTriggers:D,slotExpirationTriggers:H}},OQ=function(K,R,f){for(var V=[],D=g.Z(K.layoutExitNormalTriggers||[]),H=D.next();!H.done;H=D.next()){H=UQ(H.value,R,f);\nif(H instanceof C)return H;V.push(H)}D=[];H=g.Z(K.layoutExitSkipTriggers||[]);for(var l=H.next();!l.done;l=H.next()){l=UQ(l.value,R,f);if(l instanceof C)return l;D.push(l)}H=[];l=g.Z(K.layoutExitMuteTriggers||[]);for(var F=l.next();!F.done;F=l.next()){F=UQ(F.value,R,f);if(F instanceof C)return F;H.push(F)}l=[];K=g.Z(K.layoutExitUserInputSubmittedTriggers||[]);for(F=K.next();!F.done;F=K.next()){F=UQ(F.value,R,f);if(F instanceof C)return F;l.push(F)}return{layoutExitNormalTriggers:V,layoutExitSkipTriggers:D,\nlayoutExitMuteTriggers:H,layoutExitUserInputSubmittedTriggers:l,layoutExitUserCancelledTriggers:[]}},qa=function(K){var R=g.z(K.renderingContent,fX);\nif(R==null?0:R.pings)return $p(R.pings);K=g.z(K.renderingContent,M9);return(K==null?0:K.skipPings)?new Map([[\"skip\",K.skipPings]]):new Map},uyB=function(K,R,f,V,D){R=g.z(R.renderingContent,fX);\nif(!R)return new C(\"Invalid rendering content for DAI media layout\");K=[new nY(V),new lM(f.sG.videoLengthSeconds),new dp(f.sG.playerVars),new rp(f.Q8),new yA(f.Kf),new hW(f.wS),new ZX(jH(K)),new Ps(f.sG.adVideoId),new Bs(f.cg),R.sodarExtensionData&&new cx(R.sodarExtensionData),new ff({current:null}),new oR({}),new AW(H6(R.pings))].filter(PBe);D!==void 0&&K.push(new vx(D));return K},G7h=function(K,R,f){K=K.map(function(c){return ku(g.z(c.renderingContent,fX),!1)});\nvar V=K.map(function(c){return c.videoLengthSeconds}),D=V.map(function(c,r){return new o6(r,V)}),H=R,l=f,F=[];\nK.forEach(function(c,r){l=Math.min(H+c.videoLengthSeconds*1E3,f);WJ(c.playerVars,D[r]);F.push({sG:c,Q8:H,Kf:l,wS:r,cg:D[r]});H=l});\nreturn F},syo=function(K,R,f){for(var V=[],D=g.Z(K),H=D.next();!H.done;H=D.next())if(H=g.z(H.value.renderingContent,fX)){if(!eT(H))return new C(\"Invalid vod media renderer\");\nV.push(HY_(H))}D=V.map(function(h){return h.pM});\nH=[];for(var l=0,F=0;F0?FG:-1;else if(aw=g.z(VN,M9)){VN=iYc(K,R,f,aw,H,E,F,Hc,FG);if(VN instanceof C){v=VN;break a}VN=VN(S);Q.push(VN.x4);\nJ=[].concat(g.X(VN.N$),g.X(J));A=[].concat(g.X(VN.W1),g.X(A));VN.fK&&(Rw=[VN.fK].concat(g.X(Rw)))}else if(aw=g.z(VN,Di)){if(v===void 0){v=new C(\"Composite Survey must already have a Survey Bundle with required metadata.\",{instreamSurveyAdRenderer:aw});break a}VN=wsz(K,R,f,H,aw,M,F,v,E,JC(y,\"supports_multi_step_on_desktop\"));if(VN instanceof C){v=VN;break a}VN=VN(S);Q.push(VN.x4);VN.fK&&Rw.push(VN.fK);J=[].concat(g.X(VN.N$),g.X(J));A=[].concat(g.X(VN.W1),g.X(A));B=[].concat(g.X(VN.DG),g.X(B));k=[].concat(g.X(VN.TR),\ng.X(k));b=[M].concat(g.X(b))}else if(VN=g.z(VN,HJ)){VN=zmo(K,R,f,H,VN,M,F,E);if(VN instanceof C){v=VN;break a}VN=VN(S);Q.push(VN.x4);VN.fK&&Rw.push(VN.fK);A=[].concat(g.X(VN.W1),g.X(A))}else{v=new C(\"Unsupported linearAd found in LinearAdSequenceRenderer.\");break a}v={N7:Q,layoutExitSkipTriggers:J,layoutExitUserInputSubmittedTriggers:B,layoutExitUserCancelledTriggers:k,layoutExitMuteTriggers:A,Y_:b,B9:Rw}}}else a:if(E=tQz(V),E instanceof C)v=E;else{Q=0;J=[];A=[];B=[];k=[];b=[];M=[];Hc=new VA({current:null});\nfB=new TL({current:null});Rw=!1;yN=[];FG=-1;L=g.Z(V);for(VN=L.next();!VN.done;VN=L.next())if(VN=VN.value,g.z(VN,Vy)){VN=vXN(R,f,g.z(VN,Vy),F);if(VN instanceof C){v=VN;break a}VN=VN(S);J.push(VN.x4);A=[].concat(g.X(VN.N$),g.X(A));B=[].concat(g.X(VN.W1),g.X(B));VN.fK&&(yN=[VN.fK].concat(g.X(yN)))}else if(g.z(VN,fX)){FG=Tz(g.z(VN,fX));if(FG instanceof IR){v=new C(FG);break a}VN=new o6(Q,E);VN=Aio(R,FG.layoutId,FG.l5,f,PJ(FG.playerVars,FG.oB,l,r,VN),FG.pM,H,VN,F(S),fB,c.get(FG.l5.externalVideoId),void 0,\nh);Q++;J.push(VN.x4);A=[].concat(g.X(VN.N$),g.X(A));B=[].concat(g.X(VN.W1),g.X(B));Rw||(M.push(fB),Rw=!0);FG=(FG=FG.l5.adPodSkipTarget)&&FG>0?FG:-1}else if(g.z(VN,M9)){VN=iYc(K,R,f,g.z(VN,M9),H,Q,F,fB,FG);if(VN instanceof C){v=VN;break a}VN=VN(S);J.push(VN.x4);A=[].concat(g.X(VN.N$),g.X(A));B=[].concat(g.X(VN.W1),g.X(B));VN.fK&&(yN=[VN.fK].concat(g.X(yN)))}else if(g.z(VN,Di)){if(v===void 0){v=new C(\"Composite Survey must already have a Survey Bundle with required metadata.\",{instreamSurveyAdRenderer:g.z(VN,\nDi)});break a}VN=wsz(K,R,f,H,g.z(VN,Di),Hc,F,v,Q,JC(y,\"supports_multi_step_on_desktop\"));if(VN instanceof C){v=VN;break a}VN=VN(S);J.push(VN.x4);VN.fK&&yN.push(VN.fK);A=[].concat(g.X(VN.N$),g.X(A));B=[].concat(g.X(VN.W1),g.X(B));k=[].concat(g.X(VN.DG),g.X(k));b=[].concat(g.X(VN.TR),g.X(b));M=[Hc].concat(g.X(M))}else if(g.z(VN,HJ)){VN=zmo(K,R,f,H,g.z(VN,HJ),Hc,F,Q);if(VN instanceof C){v=VN;break a}VN=VN(S);J.push(VN.x4);VN.fK&&yN.push(VN.fK);B=[].concat(g.X(VN.W1),g.X(B))}else{v=new C(\"Unsupported linearAd found in LinearAdSequenceRenderer.\");\nbreak a}v={N7:J,layoutExitSkipTriggers:A,layoutExitUserInputSubmittedTriggers:k,layoutExitUserCancelledTriggers:b,layoutExitMuteTriggers:B,Y_:M,B9:yN}}v instanceof C?S=v:(b=S.slotId,E=v.N7,Q=v.layoutExitSkipTriggers,J=v.layoutExitMuteTriggers,A=v.layoutExitUserInputSubmittedTriggers,B=v.Y_,S=F(S),k=D?D.layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",b=D?D.layoutId:Z6(R.K.get(),k,b),M={layoutId:b,layoutType:k,dU:\"core\"},S={layout:{layoutId:b,layoutType:k,iD:new Map,layoutExitNormalTriggers:[new Jr(R.U,\nb)],layoutExitSkipTriggers:Q,layoutExitMuteTriggers:J,layoutExitUserInputSubmittedTriggers:A,layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new Dv(E)].concat(g.X(B))),Yl:S(M)},B9:v.B9});return S}},tQz=function(K){var R=[];\nK=g.Z(K);for(var f=K.next();!f.done;f=K.next())if(f=f.value,g.z(f,fX)){f=Tz(g.z(f,fX));if(f instanceof IR)return new C(f);R.push(f.pM)}return R},ZYw=function(K,R,f,V,D,H,l,F){if(!T0h(f,F===void 0?!1:F))return new C(\"Received invalid InstreamSurveyAdRenderer for VOD single survey.\",{InstreamSurveyAdRenderer:f});\nvar c=Zi(f);if(c<=0)return new C(\"InstreamSurveyAdRenderer should have valid duration.\",{instreamSurveyAdRenderer:f});var r=new VA({current:null}),y=$IM(K,R,f,r,V,H,l);return Jic(K,V,H,c,D,function(h,S){var v=h.slotId,L=BJ(f);h=l(h);v=Z6(R.K.get(),\"LAYOUT_TYPE_MEDIA_BREAK\",v);var E={layoutId:v,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",dU:\"core\"},Q=y(v,S),J=Oj(Q.clientMetadata,\"metadata_type_fulfilled_layout\");J||dH(\"Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.\");\nL=[new ZX(V),new aR(c),new Uj(L),r];J&&L.push(new eQ(J.layoutType));return{BnW:{layoutId:v,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",iD:new Map,layoutExitNormalTriggers:[new Jr(R.U,v)],layoutExitSkipTriggers:[new X$(R.U,S.layoutId)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[new Ok(R.U,S.layoutId)],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp(L),Yl:h(E)},A5D:Q}})},BdB=function(K){if(!IRD(K))return!1;\nvar R=g.z(K.adVideoStart,sQ);return R?g.z(K.linearAd,fX)&&sk(R)?!0:(dH(\"Invalid Sandwich with notify\"),!1):!1},XsB=function(K){if(K.linearAds==null)return!1;\nK=g.z(K.adStart,sQ);return K?sk(K)?!0:(dH(\"Invalid LASR with notify\"),!1):!1},kLw=function(K){if(!nQ5(K))return!1;\nK=g.z(K.adStart,sQ);return K?sk(K)?!0:(dH(\"Invalid LASR with notify\"),!1):!1},CX=function(K,R,f,V,D,H,l,F,c,r){this.J=K;\nthis.K=R;this.U=f;this.wU=V;this.ZJ=D;this.X=H;this.h5=l;this.VY=F;this.fT=c;this.loadPolicy=r===void 0?1:r},Qy=function(K,R,f,V,D,H,l,F,c,r,y){var h=[];\nif(R.length===0&&V.length===0&&f.length===0)return h;R=R.filter(C6);var S=f.filter(Z$z),v=V.filter(C6),L=new Map,E=TS5(R),Q=f.some(function(DB){var b_;return(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_PLAYER_BYTES\"}),J=f.some(function(DB){var b_;\nreturn(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_PLAYER_UNDERLAY\"}),A=f.some(function(DB){var b_;\nreturn(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_IN_PLAYER\"}),B=f.some(function(DB){var b_,Pc;\nreturn(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_BELOW_PLAYER\"||(DB==null?void 0:(Pc=DB.adSlotMetadata)==null?void 0:Pc.slotType)===\"SLOT_TYPE_ABOVE_FEED\"}),k=f.some(function(DB){var b_;\nreturn(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\"});\nf=f.some(function(DB){var b_;return(DB==null?void 0:(b_=DB.adSlotMetadata)==null?void 0:b_.slotType)===\"SLOT_TYPE_IN_PLAYER_ORGANIC_OVERLAY\"});\nif(Q||J||A||B||k||f)r=bvN(S,R,F,D,E,K.ZJ.get(),K.loadPolicy,L,K.wU.get(),K.J.get(),A,l,c,r,y),r instanceof C?dH(r,void 0,void 0,{contentCpn:D}):h.push.apply(h,g.X(r));r=g.Z(R);for(f=r.next();!f.done;f=r.next())f=f.value,J=TdN(K,L,f,D,H,l,Q,F,E,c,S,K.wU.get().G.C().experiments.rU(\"html5_enable_triggering_cuepoint_for_slot\")?y:void 0),J instanceof C?dH(J,void 0,void 0,{renderer:f.renderer,config:f.config.adPlacementConfig,kind:f.config.adPlacementConfig.kind,contentCpn:D,daiEnabled:l}):h.push.apply(h,\ng.X(J));Pco(K.wU.get())||(H=nXw(K,v,D,F,E,L),h.push.apply(h,g.X(H)));if(K.X===null||l&&!F.ai){var b,M,Hc;K=F.qY&&R.length===1&&((b=R[0].config)==null?void 0:(M=b.adPlacementConfig)==null?void 0:M.kind)===\"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\"&&((Hc=R[0].renderer)==null?void 0:Hc.adBreakServiceRenderer);if(!h.length&&!K){var fB,Rw,FG,yN;dH(\"Expected slots parsed from AdPlacementRenderers for DAI\",void 0,void 0,{\"AdPlacementRenderer count\":R.length,contentCpn:D,\"first APR kind\":(fB=R[0])==null?void 0:\n(Rw=fB.config)==null?void 0:(FG=Rw.adPlacementConfig)==null?void 0:FG.kind,renderer:(yN=R[0])==null?void 0:yN.renderer})}return h}b=V.filter(C6);h.push.apply(h,g.X(V6o(L,b,K.K.get(),K.X,D,Q)));if(!h.length){var VN,aw,s5,dW;dH(\"Expected slots parsed from AdPlacementRenderers\",void 0,void 0,{\"AdPlacementRenderer count\":R.length,contentCpn:D,daiEnabled:l.toString(),\"first APR kind\":(VN=R[0])==null?void 0:(aw=VN.config)==null?void 0:(s5=aw.adPlacementConfig)==null?void 0:s5.kind,renderer:(dW=R[0])==null?\nvoid 0:dW.renderer})}return h},nXw=function(K,R,f,V,D,H){function l(S){return YH(K.ZJ.get(),S)}\nvar F=[];R=g.Z(R);for(var c=R.next();!c.done;c=R.next()){c=c.value;var r=c.renderer,y=r.sandwichedLinearAdRenderer,h=r.linearAdSequenceRenderer;y&&BdB(y)?(dH(\"Found AdNotify with SandwichedLinearAdRenderer\"),h=g.z(y.adVideoStart,sQ),y=g.z(y.linearAd,fX),td(H,r,c.config.adPlacementConfig.kind),r=void 0,h=NSM((r=h)==null?void 0:r.layout.layoutId,K.K.get(),K.U.get(),c.config.adPlacementConfig,c.adSlotLoggingData,y,f,V,l,D,K.loadPolicy,K.wU.get(),K.ZJ.get()),h instanceof C?dH(h):F.push.apply(F,g.X(h))):\nh&&(!h.adLayoutMetadata&&XsB(h)||h.adLayoutMetadata&&kLw(h))&&(dH(\"Found AdNotify with LinearAdSequenceRenderer\"),td(H,r,c.config.adPlacementConfig.kind),r=void 0,y=xiM((r=g.z(h.adStart,sQ))==null?void 0:r.layout.layoutId,K.K.get(),K.U.get(),c.config.adPlacementConfig,c.adSlotLoggingData,h.linearAds,M5(h.adLayoutMetadata)?h.adLayoutMetadata:void 0,f,V,l,D,K.loadPolicy,K.wU.get()),y instanceof C?dH(y):F.push.apply(F,g.X(y)))}return F},TdN=function(K,R,f,V,D,H,l,F,c,r,y,h){function S(A){return YH(K.ZJ.get(),\nA)}\nvar v=f.renderer,L=f.config.adPlacementConfig,E=L.kind,Q=f.adSlotLoggingData,J=F.ai&&E===\"AD_PLACEMENT_KIND_START\";J=H&&!J;if(v.adsEngagementPanelRenderer!=null)return Jd(R,f.elementId,E,v.adsEngagementPanelRenderer.isContentVideoEngagementPanel,v.adsEngagementPanelRenderer.adVideoId,v.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.adsEngagementPanelRenderer;A=YH(K.ZJ.get(),A);return eH(M,Hc,\"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON\",\nnew xX(fB),B,k,fB.impressionPings,A,v.adsEngagementPanelRenderer.adLayoutLoggingData,b)}),[];\nif(v.adsEngagementPanelLayoutViewModel)return Jd(R,f.elementId,E,v.adsEngagementPanelLayoutViewModel.isContentVideoEngagementPanel,v.adsEngagementPanelLayoutViewModel.adVideoId,v.adsEngagementPanelLayoutViewModel.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.adsEngagementPanelLayoutViewModel;A=YH(K.ZJ.get(),A);return Ku(M,Hc,\"LAYOUT_TYPE_PANEL\",new EP(fB),B,k,A,v.adsEngagementPanelLayoutViewModel.adLayoutLoggingData,b)}),[];\nif(v.actionCompanionAdRenderer!=null){if(v.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return CZG(K.K.get(),K.X,K.U.get(),v.actionCompanionAdRenderer,L,Q,V,S);Jd(R,f.elementId,E,v.actionCompanionAdRenderer.isContentVideoCompanion,v.actionCompanionAdRenderer.adVideoId,v.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.actionCompanionAdRenderer;A=YH(K.ZJ.get(),A);return eH(M,Hc,\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",\nnew wd(fB),B,k,fB.impressionPings,A,v.actionCompanionAdRenderer.adLayoutLoggingData,b)})}else if(v.topBannerImageTextIconButtonedLayoutViewModel!==void 0){if(v.topBannerImageTextIconButtonedLayoutViewModel.showWithoutLinkedMediaLayout)return eIB(K.K.get(),K.X,K.U.get(),v.topBannerImageTextIconButtonedLayoutViewModel,L,Q,V,S);\nJd(R,f.elementId,E,v.topBannerImageTextIconButtonedLayoutViewModel.isContentVideoCompanion,v.topBannerImageTextIconButtonedLayoutViewModel.adVideoId,v.topBannerImageTextIconButtonedLayoutViewModel.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.topBannerImageTextIconButtonedLayoutViewModel;A=YH(K.ZJ.get(),A);return Ku(M,Hc,\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",new zL(fB),B,k,A,v.topBannerImageTextIconButtonedLayoutViewModel.adLayoutLoggingData,b)})}else if(v.imageCompanionAdRenderer)Jd(R,\nf.elementId,E,v.imageCompanionAdRenderer.isContentVideoCompanion,v.imageCompanionAdRenderer.adVideoId,v.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.imageCompanionAdRenderer;\nA=YH(K.ZJ.get(),A);return eH(M,Hc,\"LAYOUT_TYPE_COMPANION_WITH_IMAGE\",new UP(fB),B,k,fB.impressionPings,A,v.imageCompanionAdRenderer.adLayoutLoggingData,b)});\nelse if(v.bannerImageLayoutViewModel)Jd(R,f.elementId,E,v.bannerImageLayoutViewModel.isContentVideoCompanion,v.bannerImageLayoutViewModel.adVideoId,v.bannerImageLayoutViewModel.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.bannerImageLayoutViewModel;A=YH(K.ZJ.get(),A);return Ku(M,Hc,\"LAYOUT_TYPE_COMPANION_WITH_IMAGE\",new Ws(fB),B,k,A,v.bannerImageLayoutViewModel.adLayoutLoggingData,b)});\nelse if(v.shoppingCompanionCarouselRenderer)Jd(R,f.elementId,E,v.shoppingCompanionCarouselRenderer.isContentVideoCompanion,v.shoppingCompanionCarouselRenderer.adVideoId,v.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,L,Q,function(A,B,k,b){var M=K.U.get(),Hc=A.slotId,fB=v.shoppingCompanionCarouselRenderer;A=YH(K.ZJ.get(),A);return eH(M,Hc,\"LAYOUT_TYPE_COMPANION_WITH_SHOPPING\",new ti(fB),B,k,fB.impressionPings,A,v.shoppingCompanionCarouselRenderer.adLayoutLoggingData,b)});\nelse if(v.adBreakServiceRenderer){if(!uiN(f))return[];if(E===\"AD_PLACEMENT_KIND_PAUSE\")return GyB(K.K.get(),L,Q,f.renderer.adBreakServiceRenderer,V);if(E!==\"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\"&&E!==\"AD_PLACEMENT_KIND_PREFETCH_TRIGGERED\")return m4c(K.K.get(),L,Q,f.renderer.adBreakServiceRenderer,V,D,H);F.qY||dH(\"Received non-live cue point triggered AdBreakServiceRenderer\",void 0,void 0,{kind:E,adPlacementConfig:L,daiEnabledForContentVideo:String(H),isServedFromLiveInfra:String(F.qY),clientPlaybackNonce:F.clientPlaybackNonce});\nif(E===\"AD_PLACEMENT_KIND_PREFETCH_TRIGGERED\"){if(!K.h5)return new C(\"Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no playerControlsApiProvider set for interface\");if(!K.fT)return new C(\"Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no PrefetchTriggerAdapter set for interface\");K.fT.ip({adPlacementRenderer:f,contentCpn:V,y6:D});D=K.h5.get().getCurrentTimeSec(1,!1);return IXD(K.K.get(),f.renderer.adBreakServiceRenderer,L,D,V,Q,H)}if(!K.VY)return new C(\"Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface\");\nK.VY.ip({adPlacementRenderer:f,contentCpn:V,y6:D})}else{if(v.clientForecastingAdRenderer)return Ffw(K.K.get(),K.U.get(),L,Q,v.clientForecastingAdRenderer,V,D,S);if(v.invideoOverlayAdRenderer)return hme(K.K.get(),K.U.get(),L,Q,v.invideoOverlayAdRenderer,V,D,S);if(v.instreamAdPlayerOverlayRenderer)return ri2(K.K.get(),K.U.get(),L,Q,v.instreamAdPlayerOverlayRenderer,V,S);if((v.linearAdSequenceRenderer||v.instreamVideoAdRenderer)&&J)return wu_(K.K.get(),K.U.get(),f,V,S,r,!K.wU.get().G.C().Y(\"html5_override_ad_video_length_killswitch\"),\nh);if(v.linearAdSequenceRenderer&&!J){if(l)return[];td(R,v,E);if(v.linearAdSequenceRenderer.adLayoutMetadata){if(!nQ5(v.linearAdSequenceRenderer))return new C(\"Received invalid LinearAdSequenceRenderer.\")}else if(v.linearAdSequenceRenderer.linearAds==null)return new C(\"Received invalid LinearAdSequenceRenderer.\");if(g.z(v.linearAdSequenceRenderer.adStart,sQ)){dH(\"Found AdNotify in LinearAdSequenceRenderer\");f=g.z(v.linearAdSequenceRenderer.adStart,sQ);if(!L3_(f))return new C(\"Invalid AdMessageRenderer.\");\nH=v.linearAdSequenceRenderer.linearAds;return EXG(K.J.get(),K.K.get(),K.U.get(),K.ZJ.get(),L,Q,f,M5(v.linearAdSequenceRenderer.adLayoutMetadata)?v.linearAdSequenceRenderer.adLayoutMetadata:void 0,H,V,D,F,S,c,K.loadPolicy,K.wU.get())}return Wfe(K.K.get(),K.U.get(),L,Q,v.linearAdSequenceRenderer.linearAds,M5(v.linearAdSequenceRenderer.adLayoutMetadata)?v.linearAdSequenceRenderer.adLayoutMetadata:void 0,V,D,F,S,c,K.loadPolicy,K.wU.get(),y)}if(!v.remoteSlotsRenderer||H){if(v.instreamVideoAdRenderer&&\n!J){if(l)return[];td(R,v,E);return JRD(K.K.get(),K.U.get(),L,Q,v.instreamVideoAdRenderer,V,D,F,S,c,K.loadPolicy,K.wU.get(),K.ZJ.get(),y)}if(v.instreamSurveyAdRenderer)return ZYw(K.K.get(),K.U.get(),v.instreamSurveyAdRenderer,L,Q,V,S,JC(K.wU.get(),\"supports_multi_step_on_desktop\"));if(v.sandwichedLinearAdRenderer!=null)return IRD(v.sandwichedLinearAdRenderer)?g.z(v.sandwichedLinearAdRenderer.adVideoStart,sQ)?(dH(\"Found AdNotify in SandwichedLinearAdRenderer\"),f=g.z(v.sandwichedLinearAdRenderer.adVideoStart,\nsQ),L3_(f)?(H=g.z(v.sandwichedLinearAdRenderer.linearAd,fX))?UIc(f,H,L,K.J.get(),K.K.get(),K.U.get(),K.ZJ.get(),Q,V,D,F,S,c,K.loadPolicy,K.wU.get()):new C(\"Missing IVAR from Sandwich\"):new C(\"Invalid AdMessageRenderer.\")):Wfe(K.K.get(),K.U.get(),L,Q,[v.sandwichedLinearAdRenderer.adVideoStart,v.sandwichedLinearAdRenderer.linearAd],void 0,V,D,F,S,c,K.loadPolicy,K.wU.get()):new C(\"Received invalid SandwichedLinearAdRenderer.\");if(v.videoAdTrackingRenderer!=null)return lXo(K.K.get(),K.U.get(),v.videoAdTrackingRenderer,\nL,Q,V,D,F.mO,S)}}return[]},RD=function(K,R,f,V,D,H,l,F){g.O.call(this);\nvar c=this;this.K=K;this.X=R;this.TF=V;this.h5=D;this.wU=H;this.A5=l;this.d4=F;this.U=null;f.get().addListener(this);this.addOnDisposeCallback(function(){f.mZ()||f.get().removeListener(c)});\nV.get().addListener(this);this.addOnDisposeCallback(function(){V.mZ()||V.get().removeListener(c)})},D_=function(K,R,f){var V=K.h5.get().getCurrentTimeSec(1,!1);\nK.wU.get().G.C().oG()&&mN(K.A5.get(),\"sdai\",\"onopp.1;evt.\"+f.event+\";start.\"+f.startSecs.toFixed(3)+\";d.\"+f.w8.toFixed(3));GX(K.K.get(),\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",function(){var D=K.X.get(),H=R.adPlacementRenderer.renderer.adBreakServiceRenderer,l=R.contentCpn,F=R.adPlacementRenderer.adSlotLoggingData;fu(K.wU.get());var c=K.A5;var r=D.wU.get();r=g.mz(r.G.C().experiments,\"max_prefetch_window_sec_for_livestream_optimization\");var y=D.wU.get();var h=g.mz(y.G.C().experiments,\"min_prefetch_offset_sec_for_livestream_optimization\");\ny=f.startSecs*1E3;y={tZ:new N1(y,y+f.w8*1E3),cf:!1,cueProcessedMs:V*1E3};var S=f.startSecs+f.w8;if(V===0)y.w0=new N1(0,S*1E3);else{h=f.startSecs-h;var v=h-V;y.w0=v<=0?new N1(h*1E3,S*1E3):new N1(Math.floor(V+Math.random()*Math.min(v,r))*1E3,S*1E3)}H=Na(D,H,l,y,F,[new Hx(f)]);VL(D.wU.get())&&mN(c.get(),\"abrsm\",\"cpi.\"+f.identifier+\";cps.\"+f.startSecs+\";cpd.\"+f.w8+\";cts.\"+V+\";rbf.\"+y.w0.start);c.get().G.VN(f.startSecs-V,y.w0.start/1E3-V);return[H]})},HG=function(K){var R,f=(R=Oj(K.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==\nnull?void 0:R.current;\nif(!f)return null;R=Oj(K.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\");var V=K.layoutId,D=Oj(K.clientMetadata,\"metadata_type_content_cpn\"),H=Oj(K.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),l=Oj(K.clientMetadata,\"metadata_type_player_overlay_layout_renderer\"),F=Oj(K.clientMetadata,\"metadata_type_player_underlay_renderer\"),c=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\"),r=Oj(K.clientMetadata,\"metadata_type_video_length_seconds\");var y=TU(K.clientMetadata,\n\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\")?Oj(K.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"):TU(K.clientMetadata,\"metadata_type_layout_enter_ms\")&&TU(K.clientMetadata,\"metadata_type_layout_exit_ms\")?(Oj(K.clientMetadata,\"metadata_type_layout_exit_ms\")-Oj(K.clientMetadata,\"metadata_type_layout_enter_ms\"))/1E3:void 0;return{B8:V,contentCpn:D,pD:f,MO:R,instreamAdPlayerOverlayRenderer:H,playerOverlayLayoutRenderer:l,instreamAdPlayerUnderlayRenderer:F,adPlacementConfig:c,videoLengthSeconds:r,\nG7:y,inPlayerLayoutId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_layout_id\"),inPlayerSlotId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_slot_id\")}},OYN=function(K,R){return gXh(K,R)},jd_=function(K,R){R=gXh(K,R);\nif(!R)return null;var f;R.G7=(f=Oj(K.clientMetadata,\"metadata_type_ad_pod_info\"))==null?void 0:f.adBreakRemainingLengthSeconds;return R},gXh=function(K,R){var f,V=(f=Oj(K.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==null?void 0:f.current;\nif(!V)return null;f=I3o(K,R);return{WQ:ntv(K,R),adPlacementConfig:Oj(K.clientMetadata,\"metadata_type_ad_placement_config\"),zB:f,contentCpn:Oj(K.clientMetadata,\"metadata_type_content_cpn\"),inPlayerLayoutId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_layout_id\"),inPlayerSlotId:Oj(K.clientMetadata,\"metadata_type_linked_in_player_slot_id\"),instreamAdPlayerOverlayRenderer:Oj(K.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),playerOverlayLayoutRenderer:void 0,instreamAdPlayerUnderlayRenderer:void 0,\nG7:void 0,pD:V,B8:K.layoutId,videoLengthSeconds:Oj(K.clientMetadata,\"metadata_type_video_length_seconds\")}},$F=function(K,R,f,V,D,H,l,F,c){g.O.call(this);\nthis.J=K;this.T=R;this.B=f;this.X=V;this.U=D;this.K=H;this.ZJ=l;this.wU=F;this.Da=c;this.QY=!0},qPB=function(K,R,f){return XuN(K.U.get(),R.contentCpn,R.B8,function(V){return k7o(K.K.get(),V.slotId,f,R.adPlacementConfig,R.B8,YH(K.ZJ.get(),V))})},lQ=function(K,R,f,V,D,H,l){g.O.call(this);\nthis.K=K;this.U=R;this.X=f;this.J=V;this.Da=D;this.h5=H;this.q1=l},d$=function(K){g.O.call(this);\nthis.U=K},GX=function(K,R,f,V){K.U().rD(R,V);\nf=f();K=K.U();K.Tt.U(\"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED\",R,V,f);R=g.Z(f);for(f=R.next();!f.done;f=R.next())a:{V=K;f=f.value;hC(V.Tt,\"ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED\",f);hC(V.Tt,\"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED\",f);try{var D=V.U;if(g.Ca(f.slotId))throw new C(\"Slot ID was empty\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_INVALID_SLOT\");if(VM(D,f))throw new C(\"Duplicate registration for slot.\",{slotId:f.slotId,slotEntryTriggerType:f.slotEntryTrigger.triggerType},\"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT\");\nif(!D.wQ.WZ.has(f.slotType))throw new C(\"No fulfillment adapter factory registered for slot of type: \"+f.slotType,void 0,\"ADS_CLIENT_ERROR_MESSAGE_NO_FULFILLMENT_ADAPTER_REGISTERED\");if(!D.wQ.DX.has(f.slotType))throw new C(\"No SlotAdapterFactory registered for slot of type: \"+f.slotType,void 0,\"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED\");zX(D,\"TRIGGER_CATEGORY_SLOT_ENTRY\",f.slotEntryTrigger?[f.slotEntryTrigger]:[]);zX(D,\"TRIGGER_CATEGORY_SLOT_FULFILLMENT\",f.slotFulfillmentTriggers);zX(D,\n\"TRIGGER_CATEGORY_SLOT_EXPIRATION\",f.slotExpirationTriggers);var H=V.U,l=f.slotType+\"_\"+f.slotPhysicalPosition,F=SS(H,l);if(VM(H,f))throw new C(\"Duplicate slots not supported\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT\");F.set(f.slotId,new BsB(f));H.U.set(l,F)}catch(fB){fB instanceof C&&fB.L4?(er(V.Tt,\"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED\",fB.L4,f),dH(fB,f,void 0,void 0,fB.gq)):(er(V.Tt,\"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED\",\"ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR\",f),dH(fB,f));\nbreak a}VM(V.U,f).T=!0;try{var c=V.U,r=VM(c,f),y=f.slotEntryTrigger,h=c.wQ.wR.get(y.triggerType);h&&(h.T8(\"TRIGGER_CATEGORY_SLOT_ENTRY\",y,f,null),r.Xt.set(y.triggerId,h));for(var S=g.Z(f.slotFulfillmentTriggers),v=S.next();!v.done;v=S.next()){var L=v.value,E=c.wQ.wR.get(L.triggerType);E&&(E.T8(\"TRIGGER_CATEGORY_SLOT_FULFILLMENT\",L,f,null),r.UF.set(L.triggerId,E))}for(var Q=g.Z(f.slotExpirationTriggers),J=Q.next();!J.done;J=Q.next()){var A=J.value,B=c.wQ.wR.get(A.triggerType);B&&(B.T8(\"TRIGGER_CATEGORY_SLOT_EXPIRATION\",\nA,f,null),r.EF.set(A.triggerId,B))}var k=c.wQ.WZ.get(f.slotType).get().build(c.X,f);r.N=k;var b=c.wQ.DX.get(f.slotType).get().build(c.B,f);b.init();r.K=b}catch(fB){fB instanceof C&&fB.L4?(er(V.Tt,\"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED\",fB.L4,f),dH(fB,f,void 0,void 0,fB.gq)):(er(V.Tt,\"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED\",\"ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR\",f),dH(fB,f));KQ(V,f,!0);break a}hC(V.Tt,\"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED\",f);V.U.Op(f);for(var M=g.Z(V.K),Hc=M.next();!Hc.done;Hc=\nM.next())Hc.value.Op(f);lV(V,f)}},Fr=function(K,R,f,V,D){g.O.call(this);\nvar H=this;this.K=K;this.X=R;this.IQ=f;this.context=D;this.U=new Map;V.get().addListener(this);this.addOnDisposeCallback(function(){V.mZ()||V.get().removeListener(H)})},jno=function(K,R){var f=0x8000000000000,V=0,D=0x8000000000000;\nvar H=g.Z(R.slotFulfillmentTriggers);for(var l=H.next();!l.done;l=H.next())if(l=l.value,l instanceof Uk){var F=l.U.start;f=Math.min(f,F);V=Math.max(V,l.U.end);l.visible&&(D=Math.min(D,F))}else dH(\"Found unexpected fulfillment trigger for throttled slot.\",R,null,{fulfillmentTrigger:l});H=f;D=D<0x8000000000000&&f0&&rI(K.T(),f)},WG=function(K,R,f,V,D){for(var H=[],l=g.Z(K.ey.values()),F=l.next();!F.done;F=l.next()){var c=F=F.value,r=c.trigger;\nc=c.slot;if(r.triggerType===R){if(r instanceof a6||r instanceof QB||r instanceof WO){if(D&&r.breakDurationMs!==f)continue;if(!D&&r.breakDurationMs===f)continue;if(V.has(c.slotId))continue}H.push(F)}}H.length>0&&rI(K.T(),H)},Kzw=function(K,R){R=(R.w8+1)*1E3;\nvar f=void 0;K=g.Z(K.ey.values());for(var V=K.next();!V.done;V=K.next()){var D=V.value;V=D.trigger;D=D.slot;V instanceof a6&&V.breakDurationMs<=R&&(!f||V.breakDurationMs>f.trigger.breakDurationMs)&&(f={slot:D,trigger:V})}return f},RwB=function(K){K=K.adPlacementRenderer.config.adPlacementConfig;\nif(!K.prefetchModeConfig||!K.prefetchModeConfig.cacheFetchSmearingDurationMs)return 0;K=Number(K.prefetchModeConfig.cacheFetchSmearingDurationMs);return isNaN(K)||K<=0?0:Math.floor(Math.random()*K)},fvz=function(K){K=K.adPlacementRenderer.config.adPlacementConfig;\nif(K.prefetchModeConfig&&K.prefetchModeConfig.cacheFetchRefreshDurationMs&&(K=Number(K.prefetchModeConfig.cacheFetchRefreshDurationMs),!(isNaN(K)||K<=0)))return K},tE=function(K){K.U=null;\nK.ey.clear();K.K&&K.K.stop();K.B&&K.B.stop();var R;(R=K.X)==null||R.stop();delete K.X},sdz=function(K){var R=[];\nK=g.Z(K.ey.values());for(var f=K.next();!f.done;f=K.next())f=f.value.trigger,f instanceof a6&&R.push(f.breakDurationMs);return R},AE=function(K){g.O.call(this);\nthis.X=K;this.QY=!0;this.ey=new Map;this.U=new Map;this.K=new Map},Vre=function(K,R){var f=[];\nif(R=K.U.get(R.layoutId)){R=g.Z(R);for(var V=R.next();!V.done;V=R.next())(V=K.K.get(V.value.triggerId))&&f.push(V)}return f},JE=function(){g.O.call(this);\nthis.ey=new Map},UG=function(K){switch(K){case \"AD_PLACEMENT_KIND_START\":return\"LATENCY_AD_BREAK_TYPE_PREROLL\";\ncase \"AD_PLACEMENT_KIND_MILLISECONDS\":case \"AD_PLACEMENT_KIND_COMMAND_TRIGGERED\":case \"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\":return\"LATENCY_AD_BREAK_TYPE_MIDROLL\";case \"AD_PLACEMENT_KIND_END\":return\"LATENCY_AD_BREAK_TYPE_POSTROLL\";default:return\"LATENCY_AD_BREAK_TYPE_UNKNOWN\"}},DHB=function(K){switch(K){case \"LAYOUT_TYPE_ENDCAP\":return\"adVideoEnd\";\ncase \"LAYOUT_TYPE_SURVEY\":return\"surveyAd\";case \"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT\":return\"surveyInterstitialAd\";default:return\"unknown\"}},Hf_=function(K,R){var f={slotId:uV(R,\"SLOT_TYPE_IN_PLAYER\"),\nslotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:void 0,slotFulfillmentTriggers:[],slotExpirationTriggers:[],dU:\"surface\",clientMetadata:new gp([])},V=Object,D=V.assign;R=Z6(R,\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",f.slotId);R={layoutId:R,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",iD:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"surface\",clientMetadata:new gp([]),\nYl:i3c(!1,f.slotId,f.slotType,f.slotPhysicalPosition,f.dU,f.slotEntryTrigger,f.slotFulfillmentTriggers,f.slotExpirationTriggers,R,\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",\"surface\")};return D.call(V,{},K,{TUr:!0,slot:f,layout:R})},YzB=function(K,R,f,V){var D=K.kind;\nV=V?!1:!K.hideCueRangeMarker;switch(D){case \"AD_PLACEMENT_KIND_START\":return V={tZ:new N1(-0x8000000000000,-0x8000000000000),cf:V},f!=null&&(V.w0=new N1(-0x8000000000000,-0x8000000000000)),V;case \"AD_PLACEMENT_KIND_END\":return V={tZ:new N1(0x7ffffffffffff,0x8000000000000),cf:V},f!=null&&(V.w0=new N1(Math.max(0,R-f),0x8000000000000)),V;case \"AD_PLACEMENT_KIND_MILLISECONDS\":D=K.adTimeOffset;D.offsetStartMilliseconds||dH(\"AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds.\");D.offsetEndMilliseconds||\ndH(\"AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.\");K=Number(D.offsetStartMilliseconds);D=Number(D.offsetEndMilliseconds);D===-1&&(D=R);if(Number.isNaN(K)||Number.isNaN(D)||K>D)return new C(\"AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.\",{offsetStartMs:K,offsetEndMs:D},\"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START\",D===R&&K-500<=D);V={tZ:new N1(K,D),cf:V};if(f!=null){K=Math.max(0,K-f);if(K===D)return V;V.w0=new N1(K,D)}return V;default:return new C(\"AdPlacementKind not supported in convertToRange.\",\n{kind:D,adPlacementConfig:K})}},$HB=function(K){if(!K||!K.adPlacements&&!K.adSlots)return!1;\nfor(var R=g.Z(K.adPlacements||[]),f=R.next();!f.done;f=R.next())if(f=f.value)if(f=f.adPlacementRenderer,f!=null&&(f.config&&f.config.adPlacementConfig&&f.config.adPlacementConfig.kind)===\"AD_PLACEMENT_KIND_START\")return!0;K=g.Z(K.adSlots||[]);for(R=K.next();!R.done;R=K.next()){var V=f=void 0;if(((f=g.z(R.value,SH))==null?void 0:(V=f.adSlotMetadata)==null?void 0:V.triggerEvent)===\"SLOT_TRIGGER_EVENT_BEFORE_CONTENT\")return!0}return!1},Z_=function(K){this.wU=K;\nthis.K=new Map;this.U=new Map;this.X=new Map},uV=function(K,R){if(BG(K.wU.get())){var f=K.K.get(R)||0;\nf++;K.K.set(R,f);return R+\"_\"+f}return g.SI(16)},Z6=function(K,R,f){if(BG(K.wU.get())){var V=K.U.get(R)||0;\nV++;K.U.set(R,V);return f+\"_\"+R+\"_\"+V}return g.SI(16)},pX=function(K,R){if(BG(K.wU.get())){var f=K.X.get(R)||0;\nf++;K.X.set(R,f);return R+\"_\"+f}return g.SI(16)},lv5=function(K){var R=[new uc(K.B8),\nnew RR(K.pD),new ZX(K.adPlacementConfig),new lM(K.videoLengthSeconds),new Ej(K.G7)];K.instreamAdPlayerOverlayRenderer&&R.push(new Id(K.instreamAdPlayerOverlayRenderer));K.playerOverlayLayoutRenderer&&R.push(new gd(K.playerOverlayLayoutRenderer));K.MO&&R.push(new TL(K.MO));return R},dHN=function(K,R,f,V,D,H){K=f.inPlayerLayoutId?f.inPlayerLayoutId:Z6(H,\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",K);\nvar l,F,c=f.instreamAdPlayerOverlayRenderer?(l=f.instreamAdPlayerOverlayRenderer)==null?void 0:l.adLayoutLoggingData:(F=f.playerOverlayLayoutRenderer)==null?void 0:F.adLayoutLoggingData;l={layoutId:K,layoutType:\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",dU:R};return{layoutId:K,layoutType:\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",iD:new Map,layoutExitNormalTriggers:[new xM(function(r){return pX(H,r)},f.B8)],\nlayoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:R,clientMetadata:V,Yl:D(l),adLayoutLoggingData:c}},Xr=function(K){var R=this;\nthis.K=K;this.U=function(f){return pX(R.K.get(),f)}},k7o=function(K,R,f,V,D,H){f=new gp([new OP(f),\nnew ZX(V)]);R=Z6(K.K.get(),\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",R);V={layoutId:R,layoutType:\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",dU:\"core\"};return{layoutId:R,layoutType:\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",iD:new Map,layoutExitNormalTriggers:[new xM(function(l){return pX(K.K.get(),l)},D)],\nlayoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:f,Yl:H(V),adLayoutLoggingData:void 0}},nX=function(K,R,f,V,D){var H=lv5(V);\nreturn dHN(R,f,V,new gp(H),D,K.K.get())},Fzo=function(K,R,f,V,D){var H=lv5(V);\nH.push(new Ai(V.WQ));H.push(new Ji(V.zB));return dHN(R,f,V,new gp(H),D,K.K.get())},eH=function(K,R,f,V,D,H,l,F,c,r){R=Z6(K.K.get(),f,R);\nvar y={layoutId:R,layoutType:f,dU:\"core\"},h=new Map;l&&h.set(\"impression\",l);l=[new tr(K.U,D,\"SLOT_TYPE_PLAYER_BYTES\",\"LAYOUT_TYPE_MEDIA\")];r&&l.push(new zi(K.U,r,[\"normal\"]));return{layoutId:R,layoutType:f,iD:h,layoutExitNormalTriggers:l,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([V,new ZX(H),new uc(D)]),Yl:F(y),adLayoutLoggingData:c}},Ku=function(K,R,f,V,D,H,l,F,c){R=Z6(K.K.get(),\nf,R);\nvar r={layoutId:R,layoutType:f,dU:\"core\"},y=[new tr(K.U,D,\"SLOT_TYPE_PLAYER_BYTES\",\"LAYOUT_TYPE_MEDIA\")];c&&y.push(new zi(K.U,c,[\"normal\"]));return{layoutId:R,layoutType:f,iD:new Map,layoutExitNormalTriggers:y,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([V,new ZX(H),new uc(D)]),Yl:l(r),adLayoutLoggingData:F}},mc=function(K,R,f){var V=[];\nV.push(new Ar(K.U,f));R&&V.push(R);return V},Yu=function(K,R,f,V,D,H,l){var F={layoutId:R,\nlayoutType:f,dU:\"core\"};return{layoutId:R,layoutType:f,iD:new Map,layoutExitNormalTriggers:l,layoutExitSkipTriggers:[new i0(K.U,R)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new Ni(V),new ZX(D)]),Yl:H(F),adLayoutLoggingData:V.adLayoutLoggingData}},Xb=function(K,R,f,V,D,H,l,F){var c={layoutId:R,\nlayoutType:H,dU:\"core\"};return{layoutId:R,layoutType:H,iD:new Map,layoutExitNormalTriggers:[new xM(K.U,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new ZX(V)].concat(g.X(l))),Yl:D(c),adLayoutLoggingData:F}},oXG=function(K,R,f,V,D,H,l,F,c,r,y,h){K=Gz(K,R,f,V,D,H,l,F,y,h);\nR=K.Y_;f=new CY(K.wy);V=K.layoutExitSkipTriggers;c>0&&(R.push(f),R.push(new kX(c)),V=[]);R.push(new X1(r));return{x4:{layoutId:K.layoutId,layoutType:K.layoutType,iD:K.iD,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:K.dU,clientMetadata:new gp(R),Yl:K.Yl,adLayoutLoggingData:K.adLayoutLoggingData},N$:V,W1:K.layoutExitMuteTriggers,DG:K.layoutExitUserInputSubmittedTriggers,TR:K.layoutExitUserCancelledTriggers,\nfK:K.fK}},Lf_=function(K,R,f,V,D,H,l,F,c){R=Gz(K,R,f,V,D,new Map,H,function(r){return l(r,F)});\nK=new Ok(K.U,R.wy);f=new CY(R.wy);c=new X1(c);return{x4:{layoutId:R.layoutId,layoutType:R.layoutType,iD:R.iD,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:R.dU,clientMetadata:new gp([].concat(g.X(R.Y_),[f,c])),Yl:R.Yl,adLayoutLoggingData:R.adLayoutLoggingData},N$:R.layoutExitSkipTriggers,W1:R.layoutExitMuteTriggers,DG:[].concat(g.X(R.layoutExitUserInputSubmittedTriggers),[K]),TR:R.layoutExitUserCancelledTriggers,\nfK:R.fK}},Gz=function(K,R,f,V,D,H,l,F,c,r){R=Z6(K.K.get(),\"LAYOUT_TYPE_MEDIA_BREAK\",R);\nvar y={layoutId:R,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",dU:\"adapter\"};F=F(R);var h=Oj(F.clientMetadata,\"metadata_type_fulfilled_layout\");h||dH(\"Could not retrieve overlay layout ID during VodSkippableMediaBreakLayout creation. This should never happen.\");var S=h?h.layoutId:\"\";f=[new ZX(f),new aR(V),new Uj(D)];h&&f.push(new eQ(h.layoutType));r&&f.push(new hW(r));return{layoutId:R,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",iD:H,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[new X$(K.U,S)],layoutExitMuteTriggers:[],\nlayoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"adapter\",Y_:f,Yl:l(y),adLayoutLoggingData:c,fK:F,wy:S}},ZvG=function(K,R,f,V,D,H,l,F,c,r,y){K=cWN(K,R,\"core\",f,V,D,H,l,F,c,r,void 0,y);\nreturn{layoutId:K.layoutId,layoutType:K.layoutType,iD:K.iD,layoutExitNormalTriggers:K.layoutExitNormalTriggers,layoutExitSkipTriggers:K.layoutExitSkipTriggers,layoutExitMuteTriggers:K.layoutExitMuteTriggers,layoutExitUserInputSubmittedTriggers:K.layoutExitUserInputSubmittedTriggers,layoutExitUserCancelledTriggers:K.layoutExitUserCancelledTriggers,dU:K.dU,clientMetadata:new gp(K.Hx),Yl:K.Yl,adLayoutLoggingData:K.adLayoutLoggingData}},Aio=function(K,R,f,V,D,H,l,F,c,r,y,h,S){R=cWN(K,R,\"adapter\",f,V,\nD,H,l,F,c,y,h,S);\nV=R.layoutExitSkipTriggers;D=R.Hx;f.adPodSkipTarget&&f.adPodSkipTarget>0&&(D.push(r),D.push(new kX(f.adPodSkipTarget)),V=[]);D.push(new X1(F.adPodIndex));f.isCritical&&(V=[new zi(K.U,R.layoutId,[\"error\"])].concat(g.X(V)));return{x4:{layoutId:R.layoutId,layoutType:R.layoutType,iD:R.iD,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:R.dU,clientMetadata:new gp(D),Yl:R.Yl,adLayoutLoggingData:R.adLayoutLoggingData},\nN$:V,W1:R.layoutExitMuteTriggers,DG:R.layoutExitUserInputSubmittedTriggers,TR:R.layoutExitUserCancelledTriggers}},cWN=function(K,R,f,V,D,H,l,F,c,r,y,h,S){var v={layoutId:R,\nlayoutType:\"LAYOUT_TYPE_MEDIA\",dU:f};D=[new ZX(D),new Bs(c),new Ps(V.externalVideoId),new nY(F),new Uj({impressionCommands:V.impressionCommands,abandonCommands:V.onAbandonCommands,completeCommands:V.completeCommands,progressCommands:V.adVideoProgressCommands}),new dp(H),new ff({current:null}),new lM(l)];(H=V.playerOverlay.instreamAdPlayerOverlayRenderer)&&D.push(new Id(H));(l=V.playerOverlay.playerOverlayLayoutRenderer)&&D.push(new gd(l));h&&D.push(new FO(h));(h=V.playerUnderlay)&&D.push(new OP(h));\nF=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");h=(h=H?H.elementId:l==null?void 0:l.layoutId)?h:Z6(K.K.get(),\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",F);D.push(new CY(h));D.push(new Kf(F));D.push(new hW(c.adPodIndex));V.adNextParams&&D.push(new ad(V.adNextParams));V.shrunkenPlayerBytesConfig&&D.push(new Mi(V.shrunkenPlayerBytesConfig));V.clickthroughEndpoint&&D.push(new QE(V.clickthroughEndpoint));V.legacyInfoCardVastExtension&&D.push(new QA(V.legacyInfoCardVastExtension));V.sodarExtensionData&&D.push(new cx(V.sodarExtensionData));\ny&&D.push(new xH(y));D.push(new AW(H6(V.pings)));c=$p(V.pings);if(S){a:{S=g.Z(S);for(y=S.next();!y.done;y=S.next())if(y=y.value,y.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_UNDERLAY\"&&(H=g.z(y.fulfillmentContent.fulfilledLayout,hd))&&(H=g.z(H.renderingContent,rh))&&H.associatedPlayerBytesLayoutId===R){S=y;break a}S=void 0}S&&D.push(new jQ(S))}return{layoutId:R,layoutType:\"LAYOUT_TYPE_MEDIA\",iD:c,layoutExitNormalTriggers:[new Jr(K.U,R)],layoutExitSkipTriggers:V.skipOffsetMilliseconds?[new X$(K.U,\nh)]:[],layoutExitMuteTriggers:[new X$(K.U,h)],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:f,Hx:D,Yl:r(v),adLayoutLoggingData:V.adLayoutLoggingData}},xIc=function(K,R,f,V,D,H,l,F,c){V.every(function(y){return Px(y,[],[\"LAYOUT_TYPE_MEDIA\"])})||dH(\"Unexpect subLayout type for DAI composite layout\");\nR=Z6(K.K.get(),\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",R);var r={layoutId:R,layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",dU:\"core\"};return{layoutId:R,layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",iD:new Map,layoutExitNormalTriggers:[new Ek(K.U)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],layoutExitUserCancelledTriggers:[],dU:\"core\",clientMetadata:new gp([new rp(f),new yA(F),new Dv(V),new ZX(D),new vx(H),new oR({}),new Zv(c)]),Yl:l(r)}},ivD=function(K){return K!=\nnull},kF=function(K,R,f){var V=this;\nthis.K=K;this.X=R;this.wU=f;this.U=function(D){return pX(V.K.get(),D)}},IXD=function(K,R,f,V,D,H,l){if(!f.prefetchModeConfig)return new C(\"AdPlacementConfig for Live Prefetch is missing prefetch_config\");\nf=f.prefetchModeConfig;V*=1E3;var F=[];if(!f.breakLengthMs)return new C(\"AdPlacementConfig for Live Prefetch is missing break_length_ms\");for(var c=g.Z(f.breakLengthMs),r=c.next();!r.done;r=c.next())if(r=r.value,Number(r)>0){var y=V+Number(f.startTimeOffsetMs),h=y+Number(f.cacheFetchSmearingDurationMs);r={tZ:new N1(h,h+Number(r)),cf:!1,w0:new N1(Math.floor(y+Math.random()*Number(f.cacheFetchSmearingDurationMs)),h),cueProcessedMs:V?V:y};y=[];y.push(new kH({}));h=[];h.push(new BO(K.U));h.push(new $4B(K.U));\nl&&y.push(new oR({}));F.push(Na(K,R,D,r,H,y,h))}return F},Na=function(K,R,f,V,D,H,l){H=H===void 0?[]:H;\nvar F=uV(K.K.get(),\"SLOT_TYPE_AD_BREAK_REQUEST\");l||(l=[],V.w0&&V.w0.start!==V.tZ.start&&l.push(new Uk(K.U,f,new N1(V.w0.start,V.tZ.start),!1)),l.push(new Uk(K.U,f,new N1(V.tZ.start,V.tZ.end),V.cf)));V={getAdBreakUrl:R.getAdBreakUrl,HA:V.tZ.start,LO:V.tZ.end,cueProcessedMs:V.cueProcessedMs};R=new n6(K.U,F);H=[new wp(V)].concat(g.X(H));return{slotId:F,slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\",slotPhysicalPosition:1,slotEntryTrigger:R,slotFulfillmentTriggers:l,slotExpirationTriggers:[new Zw(K.U,f),new Ti(K.U,\nF),new PO(K.U,F)],dU:\"core\",clientMetadata:new gp(H),adSlotLoggingData:D}},yWM=function(K,R,f){var V=[];\nf=g.Z(f);for(var D=f.next();!D.done;D=f.next())V.push(rWe(K,R,D.value));return V},rWe=function(K,R,f){return f.triggeringSlotId!=null&&f.triggeringSlotId===K?f.clone(R):f},HvD=function(K,R,f,V,D){return hw5(K,R,f,V,D)},SPM=function(K,R,f,V){var D=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");\nreturn hw5(K,D,R,f,V)},hw5=function(K,R,f,V,D){var H=new wq(K.U,f),l=[new kM(K.U,R)];\nK=[new Ti(K.U,R),new Zw(K.U,V)];return{slotId:R,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:l,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(D({slotId:R,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:H,slotFulfillmentTriggers:l,slotExpirationTriggers:K},f))]),adSlotLoggingData:void 0}},Jic=function(K,R,f,V,D,H){var l=uV(K.K.get(),\"SLOT_TYPE_PLAYER_BYTES\"),F=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\"),\nc=Z6(K.K.get(),\"LAYOUT_TYPE_SURVEY\",F);\nV=T1(K,R,f,V);var r=[new kM(K.U,l)];f=[new Ti(K.U,l),new Zw(K.U,f),new i0(K.U,c)];if(V instanceof C)return V;H=H({slotId:l,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:V,slotFulfillmentTriggers:r,slotExpirationTriggers:f},{slotId:F,layoutId:c});F=H.A5D;return[{slotId:l,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,slotEntryTrigger:V,slotFulfillmentTriggers:r,slotExpirationTriggers:f,dU:\"core\",clientMetadata:new gp([new Lf(H.BnW),new XO({G$:K.G$(R)})]),\nadSlotLoggingData:D},F]},BSD=function(K,R,f,V,D){D=D?D:uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");\nf=new wq(K.U,f);var H=[new kM(K.U,D)];K=[new Zw(K.U,R),new Ti(K.U,D)];return{slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:f,slotFulfillmentTriggers:H,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(V({slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:f,slotFulfillmentTriggers:H,slotExpirationTriggers:K}))])}},XuN=function(K,R,f,V){var D=uV(K.K.get(),\"SLOT_TYPE_PLAYER_UNDERLAY\");\nf=new wq(K.U,f);var H=[new kM(K.U,D)];K=[new Zw(K.U,R),new Ti(K.U,D)];return{slotId:D,slotType:\"SLOT_TYPE_PLAYER_UNDERLAY\",slotPhysicalPosition:1,slotEntryTrigger:f,slotFulfillmentTriggers:H,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(V({slotId:D,slotType:\"SLOT_TYPE_PLAYER_UNDERLAY\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:f,slotFulfillmentTriggers:H,slotExpirationTriggers:K}))])}},Qyh=function(K,R,f,V,D,H,l){var F=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\"),c=Z6(K.K.get(),\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",\nF);\nV=oHc(K,V,H,l,c);if(V instanceof C)return V;l=[new kM(K.U,F)];D=[new Zw(K.U,H),new kM(K.U,D),new gq(K.U,D)];f=YH(f,{slotId:F,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:V,slotFulfillmentTriggers:l,slotExpirationTriggers:D});K=K.X.get();H={layoutId:c,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",dU:\"core\"};R={layoutId:c,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",iD:new Map,layoutExitNormalTriggers:[new oQv(K.U,c,R.durationMs)],layoutExitSkipTriggers:[new i$e(K.U,\nc,R.durationMs)],layoutExitUserCancelledTriggers:[new SzM(K.U,c)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],dU:\"core\",clientMetadata:new gp([new NH(R)]),Yl:f(H)};return{slotId:F,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:V,slotFulfillmentTriggers:l,slotExpirationTriggers:D,clientMetadata:new gp([new Lf(R)])}},yiB=function(K,R,f,V,D,H){R=T1(K,R,f,V);\nif(R instanceof C)return R;var l=R instanceof Uk?new r2_(K.U,f,R.U):null;V=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");var F=[new kM(K.U,V)];K=[new Zw(K.U,f),new Ti(K.U,V)];H=H({slotId:V,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:R,slotFulfillmentTriggers:F,slotExpirationTriggers:K},l);return H instanceof IR?new C(H):{slotId:V,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:R,slotFulfillmentTriggers:F,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(H)]),\nadSlotLoggingData:D}},cih=function(K,R,f,V){var D=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\"),H=new ST(K.U,R),l=[new I6(K.U,D)];\nK=[new Zw(K.U,R),new Ti(K.U,D)];return{slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:H,slotFulfillmentTriggers:l,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(V({slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:H,slotFulfillmentTriggers:l,slotExpirationTriggers:K}))]),adSlotLoggingData:f}},rRz=function(K,R,f,V){var D=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");\nf=new wq(K.U,f);var H=[new kM(K.U,D)],l=[new Ti(K.U,D),new Zw(K.U,R)];H={slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:f,slotFulfillmentTriggers:H,slotExpirationTriggers:l};return{slotId:D,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:f,slotFulfillmentTriggers:[new kM(K.U,D)],slotExpirationTriggers:[new Zw(K.U,R),new Ti(K.U,D)],dU:\"core\",clientMetadata:new gp([new Lf(V(H))])}},dI_=function(K,R,f,V,D){var H=uV(K.K.get(),\"SLOT_TYPE_IN_PLAYER\");\nf=new L6(K.U,V,f);V=[new kM(K.U,H)];K=[new Zw(K.U,R)];return{slotId:H,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:f,slotFulfillmentTriggers:V,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(D({slotId:H,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:f,slotFulfillmentTriggers:V,slotExpirationTriggers:K}))])}},f7_=function(K,R,f,V,D,H){var l=uV(K.K.get(),R);\nreturn PG(K,l,R,new wq(K.U,V),[new Zw(K.U,f),new Ti(K.U,l),new zi(K.U,V,[\"error\"])],D,H)},Rvc=function(K,R,f,V,D,H,l){var F=uV(K.K.get(),R);\nreturn PG(K,F,R,new zi(K.U,D,[\"normal\"]),[new Zw(K.U,f),new Ti(K.U,F),new zi(K.U,V,[\"error\"])],H,l)},snw=function(K,R,f,V,D){var H=uV(K.K.get(),R);\nreturn PG(K,H,R,new ST(K.U,f),[new Zw(K.U,f),new Ti(K.U,H)],V,D)},$i_=function(K,R,f,V,D){f=f?\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\":\"SLOT_TYPE_PLAYBACK_TRACKING\";\nvar H=uV(K.K.get(),f);R=new ST(K.U,R);var l=[new kM(K.U,H)];K=[new Ti(K.U,H)];return{slotId:H,slotType:f,slotPhysicalPosition:1,slotEntryTrigger:R,slotFulfillmentTriggers:l,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(D({slotId:H,slotType:f,slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:R,slotFulfillmentTriggers:l,slotExpirationTriggers:K}))]),adSlotLoggingData:V}},v4_=function(K,R,f,V,D){var H=uV(K.K.get(),\"SLOT_TYPE_PLAYER_BYTES\"),l=new N5(K.U),F=[new I6(K.U,H)];\nK=[new Zw(K.U,R)];R=[];R.push(new Lf(V({slotId:H,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:l,slotFulfillmentTriggers:F,slotExpirationTriggers:K})));R.push(new oR({}));D&&R.push(new $H({current:D}));return{slotId:H,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,slotEntryTrigger:l,slotFulfillmentTriggers:F,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp(R),adSlotLoggingData:f}},Nde=function(K,R){return Pco(K.wU.get())?new zi(K.U,R,[\"normal\",\n\"error\",\"skipped\"]):new zi(K.U,R,[\"normal\"])},t6w=function(K,R,f,V,D){R=Nde(K,R);\nK=uW(K,R,f);D=D({slotId:K.slotId,slotType:K.slotType,slotPhysicalPosition:K.slotPhysicalPosition,slotEntryTrigger:K.slotEntryTrigger,slotFulfillmentTriggers:K.slotFulfillmentTriggers,slotExpirationTriggers:K.slotExpirationTriggers,dU:K.dU});return D instanceof C?D:{bG:Object.assign({},K,{clientMetadata:new gp([new Lf(D.layout)]),adSlotLoggingData:V}),B9:D.B9}},ARM=function(K,R,f,V,D,H,l){f=Ui5(K,R,f,V);\nif(f instanceof C)return f;l=l({slotId:f.slotId,slotType:f.slotType,slotPhysicalPosition:f.slotPhysicalPosition,slotEntryTrigger:f.slotEntryTrigger,slotFulfillmentTriggers:f.slotFulfillmentTriggers,slotExpirationTriggers:f.slotExpirationTriggers,dU:f.dU});if(l instanceof C)return l;K=[new Lf(l.layout),new XO({G$:K.G$(R)})];H&&K.push(new Wx({}));return{bG:{slotId:f.slotId,slotType:f.slotType,slotPhysicalPosition:f.slotPhysicalPosition,slotEntryTrigger:f.slotEntryTrigger,slotFulfillmentTriggers:f.slotFulfillmentTriggers,\nslotExpirationTriggers:f.slotExpirationTriggers,dU:f.dU,clientMetadata:new gp(K),adSlotLoggingData:D},B9:l.B9}},uW=function(K,R,f){var V=uV(K.K.get(),\"SLOT_TYPE_PLAYER_BYTES\"),D=[new kM(K.U,V)];\nK=[new Ti(K.U,V),new Zw(K.U,f)];return{slotId:V,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,slotEntryTrigger:R,slotFulfillmentTriggers:D,slotExpirationTriggers:K,dU:\"core\"}},Ui5=function(K,R,f,V){R=T1(K,R,f,V);\nreturn R instanceof C?R:uW(K,R,f)},dih=function(K,R,f,V,D,H){var l=uV(K.K.get(),\"SLOT_TYPE_FORECASTING\");\nR=T1(K,R,f,V);if(R instanceof C)return R;V=[new kM(K.U,l)];K=[new Ti(K.U,l),new Zw(K.U,f)];return{slotId:l,slotType:\"SLOT_TYPE_FORECASTING\",slotPhysicalPosition:1,slotEntryTrigger:R,slotFulfillmentTriggers:V,slotExpirationTriggers:K,dU:\"core\",clientMetadata:new gp([new Lf(H({slotId:l,slotType:\"SLOT_TYPE_FORECASTING\",slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:R,slotFulfillmentTriggers:V,slotExpirationTriggers:K}))]),adSlotLoggingData:D}},Sjh=function(K,R,f,V,D){var H=!R.hideCueRangeMarker;\nswitch(R.kind){case \"AD_PLACEMENT_KIND_START\":return new ST(K.U,f);case \"AD_PLACEMENT_KIND_MILLISECONDS\":return K=YzB(R,V),K instanceof C?K:D(K.tZ,H);case \"AD_PLACEMENT_KIND_END\":return new vO(K.U,f,H);default:return new C(\"Cannot construct entry trigger\",{kind:R.kind})}},oHc=function(K,R,f,V,D){return Sjh(K,R,f,V,function(H,l){return new c2h(K.U,f,H,l,D)})},T1=function(K,R,f,V){return Sjh(K,R,f,V,function(D,H){return new Uk(K.U,f,D,H)})},PG=function(K,R,f,V,D,H,l){K=[new I6(K.U,R)];\nreturn{slotId:R,slotType:f,slotPhysicalPosition:1,slotEntryTrigger:V,slotFulfillmentTriggers:K,slotExpirationTriggers:D,dU:\"core\",clientMetadata:new gp([new Lf(l({slotId:R,slotType:f,slotPhysicalPosition:1,dU:\"core\",slotEntryTrigger:V,slotFulfillmentTriggers:K,slotExpirationTriggers:D}))]),adSlotLoggingData:H}},RB2=function(){},nu=function(K,R){g.O.call(this);\nthis.wU=K;this.K=R;this.eventCount=0;this.X=fhc()()},hC=function(K,R,f){K.U(R,void 0,void 0,void 0,f,void 0,void 0,void 0,f.adSlotLoggingData)},D6=function(K,R,f,V){K.U(R,void 0,void 0,void 0,f,V?V:void 0,void 0,void 0,f.adSlotLoggingData,V?V.adLayoutLoggingData:void 0);\nf=Ue().resolve(new xJ(Fq))==null?void 0:cY();R=f==null?void 0:f.adsSeenHotConfig;f=f==null?void 0:f.adsHotConfig;(R==null?0:R.logOnAdsSeen)&&(f==null?0:f.webEnablePremiumAdsSeenLogging)&&ifw(K,V?V:void 0)},QQz=function(K,R,f,V){JC(K.wU.get(),\"h5_enable_pacf_debug_logs\")&&console.log(\"[PACF]: ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED\",\"trigger:\",f,\"slot:\",R,\"layout:\",V);\npf(K.K.get())&&K.U(\"ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED\",void 0,void 0,void 0,R,V?V:void 0,void 0,f,R.adSlotLoggingData,V?V.adLayoutLoggingData:void 0)},er=function(K,R,f,V,D){K.U(\"ADS_CLIENT_EVENT_TYPE_ERROR\",void 0,void 0,void 0,V,D,void 0,void 0,V.adSlotLoggingData,D?D.adLayoutLoggingData:void 0,{errorType:R,\nerrorMessage:f})},ifw=function(K,R){if(R){var f=R.adLayoutLoggingData;\ng.ez(g.R8(),function(){K.X!=null&&f&&g.h$(\"adsSeenClientLogging\",{serializedAdServingDataEntry:f.serializedAdServingDataEntry})},0)}},ID=function(K,R,f){nu.call(this,K,R);\nthis.wU=K;this.Da=f},g$=function(){this.U=new Map},Or=function(K){this.U=\"pending\";\nthis.K=[];this.X=[];try{K(this.J.bind(this),this.reject.bind(this))}catch(R){this.reject(R)}},vH2=function(){var K,R;\nreturn{QG:new Or(function(f,V){K=f;R=V}),\nresolve:K,reject:R}},M3=function(K){return jm(K)?K:q3(K)?new Or(function(R,f){K.then(R,f)}):new Or(function(R){R(K)})},bQ=function(K){return new Or(function(R,f){f(K)})},pu=function(K){try{return M3(K())}catch(R){return bQ(R)}},ml=function(K,R,f){var V=vH2(),D=V.QG,H=V.resolve,l=V.reject;\nK.K.push(function(F){if(R)try{var c=R(F);H(c)}catch(r){l(r)}else H(F)});\nK.X.push(function(F){if(f)try{var c=f(F);H(c)}catch(r){l(r)}else l(F)});\nYF(K);return D},G1=function(K,R){return ml(K,void 0,R)},LzB=function(K,R){ml(K,function(f){return ml(M3(R()),function(){return f})},function(f){return ml(M3(R()),function(){return bQ(f)})})},YF=function(K){if(K.U===\"fulfilled\"){var R=K.K;\nK.K=[];K.X=[];R=g.Z(R);for(var f=R.next();!f.done;f=R.next())f=f.value,f(K.result)}else if(K.U===\"rejected\")for(R=K.X,K.K=[],K.X=[],R=g.Z(R),f=R.next();!f.done;f=R.next())f=f.value,f(K.error)},uQ=function(K,R){return wxc(R.call(K))},sr=function(K){return function f(){return vT(f,function(V){if(V.U==1)return g.cT(V,2),g.P(V,{QG:M3(K)},4);\nif(V.U!=2)return V.return(V.K);g.h_(V);return g.oi(V,0)})}()},wxc=function(K){return pu(function(){return Cu(K,K.next())})},Cu=function(K,R){return R.done?M3(R.value):G1(ml(R.value.QG,function(f){return Cu(K,K.next(f))}),function(f){return Cu(K,K.throw(f))})},EHG=function(K){var R=zwM(K);\nreturn ml(xHM(R),function(){return R.map(function(f){return f.state()})})},xHM=function(K){if(K.length===0)return M3(NaN);\nvar R=vH2(),f=R.QG,V=R.resolve,D=K.length;K=g.Z(K.entries());var H=K.next();for(R={};!H.done;R={mP:void 0},H=K.next()){var l=g.Z(H.value);H=l.next().value;l=l.next().value;R.mP=H;LzB(l,function(F){return function(){f.U===\"pending\"&&(avc(void 0)&&(void 0)(F.mP)&&f.U===\"pending\"?V(F.mP):(--D,D===0&&V(NaN)))}}(R))}return f},zwM=function(K){return K.map(function(R){return M3(R)})},K1=function(K){var R=K.hours||0;\nvar f=K.minutes||0,V=K.seconds||0;R=V+f*60+R*3600+(K.days||0)*86400+(K.weeks||0)*604800+(K.months||0)*2629800+(K.years||0)*31557600;R<=0?R={hours:0,minutes:0,seconds:0}:(K=R,R=Math.floor(K/3600),K%=3600,f=Math.floor(K/60),V=Math.floor(K%60),R={hours:R,minutes:f,seconds:V});var D=R.hours===void 0?0:R.hours;f=R.minutes===void 0?0:R.minutes;K=R.seconds===void 0?0:R.seconds;V=D>0;R=[];if(V){D=(new Intl.NumberFormat(\"en-u-nu-latn\")).format(D);var H=[\"fr\"],l=\"az bs ca da de el es eu gl hr id is it km lo mk nl pt-BR ro sl sr sr-Latn tr vi\".split(\" \");\nD=\"af be bg cs et fi fr-CA hu hy ka kk ky lt lv no pl pt-PT ru sk sq sv uk uz\".split(\" \").includes(em)?D.replace(\",\",\"\\u00a0\"):H.includes(em)?D.replace(\",\",\"\\u202f\"):l.includes(em)?D.replace(\",\",\".\"):D;R.push(D)}V=V===void 0?!1:V;f=([\"af\",\"be\",\"lt\"].includes(em)||V)&&f<10?QRM().format(f):(new Intl.NumberFormat(\"en-u-nu-latn\")).format(f);R.push(f);f=QRM().format(K);R.push(f);f=\":\";\"da fi id si sr sr-Latn\".split(\" \").includes(em)&&(f=\".\");return R.join(f)},QRM=function(){return new Intl.NumberFormat(\"en-u-nu-latn\",\n{minimumIntegerDigits:2})},NpN=function(K,R){var f,V;\nK=((f=K.watchEndpointSupportedAuthorizationTokenConfig)==null?void 0:(V=f.videoAuthorizationToken)==null?void 0:V.credentialTransferTokens)||[];for(f=0;fR;K=f}else K=!1;return K};\ng.L1=function(K,R){return K.kI+\"timedtext_video?ref=player&v=\"+R.videoId};\ng.uOv=function(K){var R=this;this.videoData=K;K={};this.U=(K.c1a=function(){var f=[];if(g.S4.isInitialized()){var V=\"\";R.videoData&&R.videoData.C_&&(V=R.videoData.C_+(\"&r1b=\"+R.videoData.clientPlaybackNonce));var D={};V=(D.atr_challenge=V,D);ZR(\"bg_v\",void 0,\"player_att\");(V=GUD(V))?(ZR(\"bg_s\",void 0,\"player_att\"),f.push(\"r1a=\"+V)):(ZR(\"bg_e\",void 0,\"player_att\"),f.push(\"r1c=2\"))}else ZR(\"bg_e\",void 0,\"player_att\"),window.trayride||window.botguard?f.push(\"r1c=1\"):f.push(\"r1c=4\");f.push(\"r1d=\"+g.S4.getState());\nreturn f.join(\"&\")},K.c6a=function(f){return\"r6a=\"+(Number(f.c)^C$())},K.c6b=function(f){return\"r6b=\"+(Number(f.c)^Number(g.KI(\"CATSTAT\",0)))},K);\nthis.videoData&&this.videoData.C_?this.DS=Iw(this.videoData.C_):this.DS={}};\ng.sRh=function(K){if(K.videoData&&K.videoData.C_){for(var R=[K.videoData.C_],f=g.Z(Object.keys(K.U)),V=f.next();!V.done;V=f.next())V=V.value,K.DS[V]&&K.U[V]&&(V=K.U[V](K.DS))&&R.push(V);return R.join(\"&\")}return null};\ng.wj=function(K,R){mHD(K,{smD:g.mz(R.experiments,\"bg_vm_reinit_threshold\"),cspNonce:R.cspNonce,kI:R.kI||\"\"})};\nCM_=function(){var K=XMLHttpRequest.prototype.fetch;return!!K&&K.length===3};\nK6G=function(K){ewB=2592E3*(K||1)};\nRTG=function(K){g.Pe(\"yt-player-bandwidth\",K,2592E3)};\nzn=function(K){K=K===void 0?ewB:K;if(K>0&&!(w8w()>(0,g.N7)()-K*1E3))return 0;K=g.n4(\"yt-player-quality\");if(typeof K===\"string\"){if(K=g.x0[K],K>0)return K}else if(K instanceof Object)return K.quality;return 0};\nxi=function(){var K=g.n4(\"yt-player-proxima-pref\");return K==null?null:K};\nf6G=function(){var K=g.n4(\"yt-player-quality\");if(K instanceof Object&&K.quality&&K.previousQuality){if(K.quality>K.previousQuality)return 1;if(K.quality0&&R[0]?K.getAutoplayPolicy(R[0]):K.getAutoplayPolicy(\"mediaelement\");if(cCe[f])return cCe[f]}}catch(V){}return\"AUTOPLAY_BROWSER_POLICY_UNSPECIFIED\"};\ntG=function(K){return K.aQ||K.Z8||K.mutedAutoplay};\nrCe=function(K,R){return tG(K)?R!==1&&R!==2&&R!==0?\"AUTOPLAY_STATUS_UNAVAILABLE\":K.X5?\"AUTOPLAY_STATUS_BLOCKED\":\"AUTOPLAY_STATUS_OCCURRED\":\"AUTOPLAY_STATUS_NOT_ATTEMPTED\"};\nyCG=function(K,R,f){var V=R.C();K.thirdParty||(K.thirdParty={});K.thirdParty=Object.assign({},K.thirdParty,{embedUrl:V.loaderUrl});V.ancestorOrigins&&(K.thirdParty.embeddedPlayerContext=Object.assign({},K.thirdParty.embeddedPlayerContext,{ancestorOrigins:V.ancestorOrigins}));V.Gk!=null&&(K.thirdParty.embeddedPlayerContext=Object.assign({},K.thirdParty.embeddedPlayerContext,{visibilityFraction:Number(V.Gk)}));V.fp&&(K.thirdParty.embeddedPlayerContext=Object.assign({},K.thirdParty.embeddedPlayerContext,\n{visibilityFractionSource:V.fp}));K.thirdParty.embeddedPlayerContext=Object.assign({},K.thirdParty.embeddedPlayerContext,{autoplayBrowserPolicy:Wp(),autoplayIntended:tG(R),autoplayStatus:rCe(R,f)})};\nhTe=function(K){var R=[];K=g.Z(K.split(\",\"));for(var f=K.next();!f.done;f=K.next()){var V=f.value;V&&((f=V.startsWith(\"!\"))&&(V=V.substring(1)),V=V.split(\"-\"),V.length<3||R.push({F6:V[0],platform:V[1],deviceVersion:V[2],pX:f}))}return R};\niQv=function(K){return hTe(K).map(function(R){return{deviceInterface:oh2[SKw[R.F6]]||0,deviceVersion:R.deviceVersion||\"\",isSleeping:R.pX}})};\ng.AG=function(K,R){this.id=K;this.tV=R;this.captionTracks=[];this.X=this.J=null;this.xtags=\"\";this.T=this.B=!1;this.U=null;this.K=\"UNKNOWN\";this.captionsInitialState=\"CAPTIONS_INITIAL_STATE_UNKNOWN\";K=this.tV.id.split(\".\");K.length>1&&(this.B=K[1]===\"2\",this.T=K[1]===\"4\")};\nJG=function(K,R,f,V,D){this.K=K;this.U=R;this.X=f;this.reason=V;this.c5=D===void 0?0:D};\ng.Z1=function(K,R,f,V){return new JG(g.x0[K]||0,g.x0[R]||0,f,V)};\nXA=function(K){if(Bp&&K.c5)return!1;var R=g.x0.auto;return K.K===R&&K.U===R};\nTn=function(K){return ki[K.U||K.K]||\"auto\"};\nvh2=function(K,R){R=g.x0[R];return K.K<=R&&(!K.U||K.U>=R)};\nPp=function(K,R,f,V){this.videoInfos=K;this.U=R;this.audioTracks=[];this.K=V||[];if(this.U){K=new Set;f==null||f({ainfolen:this.U.length});R=g.Z(this.U);for(V=R.next();!V.done;V=R.next())if(V=V.value,!V.tV||K.has(V.tV.id)){var D=void 0,H=void 0,l=void 0;(l=f)==null||l({atkerr:!!V.tV,itag:V.itag,xtag:V.U,lang:((D=V.tV)==null?void 0:D.name)||\"\",langid:((H=V.tV)==null?void 0:H.id)||\"\"})}else D=new g.AG(V.id,V.tV),K.add(V.tV.id),this.audioTracks.push(D);f==null||f({atklen:this.audioTracks.length})}};\nn1=function(){g.O.apply(this,arguments);this.U=null};\nxY2=function(K,R,f,V,D,H,l){if(K.U)return K.U;var F={},c=new Set,r={};if(I0(V)){for(var y in V.U)V.U.hasOwnProperty(y)&&(K=V.U[y],r[K.info.P5]=[K.info]);return r}y=L6M(R,V,F);H&&D({aftsrt:gj(y)});for(var h={},S=g.Z(Object.keys(y)),v=S.next();!v.done;v=S.next()){v=v.value;for(var L=g.Z(y[v]),E=L.next();!E.done;E=L.next()){E=E.value;var Q=E.itag,J=void 0,A=v+\"_\"+(((J=E.video)==null?void 0:J.fps)||0);h.hasOwnProperty(A)?h[A]===!0?r[v].push(E):F[Q]=h[A]:(J=OC(R,E,f,V.isLive,c),J!==!0?(l.add(v),F[Q]=J,\nJ===\"disablevp9hfr\"&&(h[A]=\"disablevp9hfr\")):(r[v]=r[v]||[],r[v].push(E),h[A]=!0))}}H&&D({bfflt:gj(r)});for(var B in r)r.hasOwnProperty(B)&&(V=B,r[V]&&r[V][0].iX()&&(r[V]=r[V],r[V]=wXM(R,r[V],F),r[V]=zTN(r[V],F)));H&&Object.keys(F).length>0&&D({rjr:Cb(F)});R=g.Z(c.values());for(V=R.next();!V.done;V=R.next())(V=f.J.get(V.value))&&--V.yu;H&&D({aftflt:gj(r)});K.U=g.xn(r,function(k){return!!k.length});\nreturn K.U};\na65=function(K,R,f,V,D,H,l,F){F=F===void 0?!1:F;if(R.SI&&l&&l.length>1&&!(R.gk>0||R.Z)){for(var c=R.U||!!D,r=c&&R.nh?H:void 0,y=L6M(R,V),h=[],S=[],v={},L=0;L0&&L&&S&&(y=[l,f],k=S.concat(L).filter(function(b){return b}));\nif(k.length&&!R.AZ){Mp(k,y);if(c){c=[];R=g.Z(k);for(V=R.next();!V.done;V=R.next())c.push(V.value.itag);H({hbdfmt:c.join(\".\")})}return nI(new Pp(k,D,r,K))}k=XXG(R);k=g.G$(k,F);if(!k){if(h[l])return H=h[l],Mp(H),nI(new Pp(H,D,r,K));c&&H({novideo:1});return PS()}R.M1&&(k===\"1\"||k===\"1h\")&&h[f]&&(l=bf(h[k]),y=bf(h[f]),y>l?k=f:y===l&&kXc(h[f])&&(k=f));k===\"9\"&&h.h&&bf(h.h)>bf(h[\"9\"])&&(k=\"h\");R.bd&&V.isLive&&k===\"(\"&&h.H&&bf(h[\"(\"])<1440&&(k=\"H\");c&&H({vfmly:p1(k)});R=h[k];if(!R.length)return c&&H({novfmly:p1(k)}),\nPS();Mp(R);return nI(new Pp(R,D,r,K))};\nNIN=function(K,R){var f=!(!K.m&&!K.M),V=!(!K.mac3&&!K.MAC3),D=!(!K.meac3&&!K.MEAC3);K=!(!K.i&&!K.I);R.FQ=K;return f||V||D||K};\nkXc=function(K){K=g.Z(K);for(var R=K.next();!R.done;R=K.next())if(R=R.value,R.itag&&TIG.has(R.itag))return!0;return!1};\nW6B=function(K){K=g.Z(K);for(var R=K.next();!R.done;R=K.next())if(R.value.audio.audioQuality===\"AUDIO_QUALITY_HIGH\")return!0;return!1};\np1=function(K){switch(K){case \"*\":return\"v8e\";case \"(\":return\"v9e\";case \"(h\":return\"v9he\";default:return K}};\ngj=function(K){var R=[],f;for(f in K)if(K.hasOwnProperty(f)){var V=f;R.push(p1(V));V=g.Z(K[V]);for(var D=V.next();!D.done;D=V.next())R.push(D.value.itag)}return R.join(\".\")};\nQMh=function(K,R,f,V,D,H){var l={},F={};g.T2(R,function(c,r){c=c.filter(function(y){var h=y.itag;if(!y.g8)return F[h]=\"noenc\",!1;if(H.Gt&&y.P5===\"(h\"&&H.pQ)return F[h]=\"lichdr\",!1;if(!K.B&&y.P5===\"1e\")return F[h]=\"noav1enc\",!1;if(y.P5===\"(\"||y.P5===\"(h\"){if(K.X&&f&&f.flavor===\"widevine\"){var S=y.mimeType+\"; experimental=allowed\";(S=!!y.g8[f.flavor]&&!!f.U[S])||(F[h]=y.g8[f.flavor]?\"unspt\":\"noflv\");return S}if(!Yi(K,mx.CRYPTOBLOCKFORMAT)&&!K.y0||K.Xt)return F[h]=K.Xt?\"disvp\":\"vpsub\",!1}return f&&y.g8[f.flavor]&&\nf.U[y.mimeType]?!0:(F[h]=f?y.g8[f.flavor]?\"unspt\":\"noflv\":\"nosys\",!1)});\nc.length&&(l[r]=c)});\nV&&Object.entries(F).length&&D({rjr:Cb(F)});return l};\nzTN=function(K,R){var f=Bi(K,function(V,D){return D.video.fps>32?Math.min(V,D.video.width):V},Infinity);\nf32||V.video.widthK.T)return\"max\"+K.T;if(K.OF&&R.P5===\"h\"&&R.video&&R.video.qualityOrdinal>1080)return\"blkhigh264\";if(R.P5===\"(h\"&&!f.N)return\"enchdr\";if((V===void 0?0:V)&&KHe(R)&&!K.G2)return\"blk51live\";if((R.P5===\"MAC3\"||R.P5===\"mac3\")&&!K.J)return\"blkac3\";if((R.P5===\"MEAC3\"||R.P5===\"meac3\")&&!K.B)return\"blkeac3\";if(R.P5===\"M\"||R.P5===\"m\")return\"blkaac51\";\nif((R.P5===\"so\"||R.P5===\"sa\")&&!K.UF)return\"blkamb\";if(!K.Gt&&eQN(R)&&(!f.B||R.P5!==\"1e\"))return\"cbc\";if(!f.B&&eQN(R)&&R.P5===\"1e\")return\"cbcav1\";if((R.P5===\"i\"||R.P5===\"I\")&&!K.Ch)return\"blkiamf\";var H;if(K.hV&&((H=R.audio)==null?void 0:H.K)===!0)return\"blkvbcabr\";var l,F;if(K.kW&&(R.P5===\"1\"||R.P5===\"1h\"||f.B&&R.P5===\"1e\")&&((l=R.video)==null?0:l.qualityOrdinal)&&((F=R.video)==null?void 0:F.qualityOrdinal)>K.kW)return\"av1cap\";V=f.J.get(R.P5);if(!K.Kh&&V&&V.yu>0)return D.add(R.P5),\"byerr\";var c;\nif((c=R.video)==null?0:c.fps>32){if(!f.B5&&!Yi(f,mx.FRAMERATE))return\"capHfr\";if(K.Za&&R.video.qualityOrdinal>=4320)return\"blk8khfr\";if(WM(R)&&K.MW&&R.g8&&R.video.qualityOrdinal>=1440)return\"disablevp9hfr\"}if(K.c5&&R.c5>K.c5)return\"ratecap\";if(K.Xt>0&&R.iX()&&R.video.height>K.Xt)return\"mvhcap\";K=PV5(f,R);return K!==!0?K:!0};\nMp=function(K,R){R=R===void 0?[]:R;g.Sc(K,function(f,V){var D=V.c5-f.c5;if(!f.iX()||!V.iX())return D;var H=V.video.height*V.video.width-f.video.height*f.video.width;!H&&R&&R.length>0&&(f=R.indexOf(f.P5)+1,V=R.indexOf(V.P5)+1,H=f===0||V===0?V||-1:f-V);H||(H=D);return H})};\nGn=function(K,R,f,V,D,H,l,F,c){this.t5=K;this.startTime=R;this.duration=f;this.ingestionTime=V;this.sourceURL=D;this.Xw=c;this.endTime=R+f;this.U=l||0;this.range=H||null;this.pending=F||!1;this.Xw=c||null};\ng.uf=function(){this.segments=[];this.U=null;this.K=!0;this.X=\"\"};\nnhh=function(K,R){if(R>K.H0())K.segments=[];else{var f=mu(K.segments,function(V){return V.t5>=R},K);\nf>0&&K.segments.splice(0,f)}};\nsC=function(K,R,f,V,D){D=D===void 0?!1:D;this.data=K;this.offset=R;this.size=f;this.type=V;this.U=(this.K=D)?0:8;this.dataOffset=this.offset+this.U};\nC1=function(K){var R=K.data.getUint8(K.offset+K.U);K.U+=1;return R};\ne4=function(K){var R=K.data.getUint16(K.offset+K.U);K.U+=2;return R};\nKn=function(K){var R=K.data.getInt32(K.offset+K.U);K.U+=4;return R};\nRG=function(K){var R=K.data.getUint32(K.offset+K.U);K.U+=4;return R};\nfn=function(K){var R=K.data;var f=K.offset+K.U;R=R.getUint32(f)*4294967296+R.getUint32(f+4);K.U+=8;return R};\nVl=function(K,R){R=R===void 0?NaN:R;if(isNaN(R))var f=K.size;else for(f=K.U;f1?Math.ceil(D*R):Math.floor(D*R))}K.skip(1);f=C1(K)<<16|e4(K);if(f&256){V=f&1;D=f&4;var H=f&512,l=f&1024,F=f&2048;f=RG(K);V&&K.skip(4);D&&K.skip(4);V=(H?4:0)+(l?4:0)+(F?4:0);for(D=0;D1?Math.ceil(l*R):Math.floor(l*R)),K.skip(V)}}};\nrM=function(K){K=new DataView(K.buffer,K.byteOffset,K.byteLength);return(K=g.F0(K,0,1836476516))?g.cF(K):NaN};\nuE5=function(K){var R=g.F0(K,0,1937011556);if(!R)return null;R=yl(K,R.dataOffset+8,1635148593)||yl(K,R.dataOffset+8,1635135537);if(!R)return null;var f=yl(K,R.dataOffset+78,1936995172),V=yl(K,R.dataOffset+78,1937126244);if(!V)return null;R=null;if(f)switch(f.skip(4),C1(f)){default:R=0;break;case 1:R=2;break;case 2:R=1;break;case 3:R=255}var D=f=null,H=null;if(V=yl(K,V.dataOffset,1886547818)){var l=yl(K,V.dataOffset,1886546020),F=yl(K,V.dataOffset,2037673328);if(!F&&(F=yl(K,V.dataOffset,1836279920),\n!F))return null;l&&(l.skip(4),f=Kn(l)/65536,H=Kn(l)/65536,D=Kn(l)/65536);K=I6c(F);K=new DataView(K.buffer,K.byteOffset+8,K.byteLength-8);return new mY5(R,f,H,D,K)}return null};\nyl=function(K,R,f){for(;hH(K,R);){var V=oG(K,R);if(V.type===f)return V;R+=V.size}return null};\ng.F0=function(K,R,f){for(;hH(K,R);){var V=oG(K,R);if(V.type===f)return V;R=Sk(V.type)?R+8:R+V.size}return null};\ng.i2=function(K){if(K.data.getUint8(K.dataOffset)){var R=K.data;K=K.dataOffset+4;R=R.getUint32(K)*4294967296+R.getUint32(K+4)}else R=K.data.getUint32(K.dataOffset+4);return R};\noG=function(K,R){var f=K.getUint32(R),V=K.getUint32(R+4);return new sC(K,R,f,V)};\ng.cF=function(K){var R=K.data.getUint8(K.dataOffset)?20:12;return K.data.getUint32(K.dataOffset+R)};\nsMv=function(K){K=new sC(K.data,K.offset,K.size,K.type,K.K);var R=C1(K);K.skip(7);var f=RG(K);if(R===0){R=RG(K);var V=RG(K)}else R=fn(K),V=fn(K);K.skip(2);for(var D=e4(K),H=[],l=[],F=0;F122)return!1}return!0};\nSk=function(K){return K===1701082227||K===1836019558||K===1836019574||K===1835297121||K===1835626086||K===1937007212||K===1953653094||K===1953653099||K===1836475768};\nCVc=function(K){K.skip(4);return{cKp:Vl(K,0),value:Vl(K,0),timescale:RG(K),jdD:RG(K),eventDuration:RG(K),id:RG(K),IE:Vl(K),offset:K.offset}};\ng.eTG=function(K){var R=yl(K,0,1701671783);if(!R)return null;var f=CVc(R),V=f.cKp;f=dM(f.IE);if(K=yl(K,R.offset+R.size,1701671783))if(K=CVc(K),K=dM(K.IE),f&&K){R=g.Z(Object.keys(K));for(var D=R.next();!D.done;D=R.next())D=D.value,f[D]=K[D]}return f?new l2(f,V):null};\nvF=function(K,R){for(var f=yl(K,0,R);f;){var V=f;V.type=1936419184;V.data.setUint32(V.offset+4,1936419184);f=yl(K,f.offset+f.size,R)}};\ng.Ln=function(K,R){for(var f=0,V=[];hH(K,f);){var D=oG(K,f);D.type===R&&V.push(D);f=Sk(D.type)?f+8:f+D.size}return V};\nKUw=function(K,R){var f=g.F0(K,0,1937011556),V=g.F0(K,0,1953654136);if(!f||!V||K.getUint32(f.offset+12)>=2)return null;var D=new DataView(R.buffer,R.byteOffset,R.length),H=g.F0(D,0,1937011556);if(!H)return null;R=D.getUint32(H.dataOffset+8);V=D.getUint32(H.dataOffset+12);if(V!==1701733217&&V!==1701733238)return null;V=new ghc(K.byteLength+R);Dq(V,K,0,f.offset+12);V.data.setInt32(V.offset,2);V.offset+=4;Dq(V,K,f.offset+16,f.size-16);Dq(V,D,D.byteOffset+H.dataOffset+8,R);Dq(V,K,f.offset+f.size,K.byteLength-\n(f.offset+f.size));f=g.Z([1836019574,1953653099,1835297121,1835626086,1937007212,1937011556]);for(D=f.next();!D.done;D=f.next())D=g.F0(K,0,D.value),V.data.setUint32(D.offset,D.size+R);K=g.F0(V.data,0,1953654136);V.data.setUint32(K.offset+16,2);return V.data};\nRuB=function(K){var R=g.F0(K,0,1937011556);if(!R)return null;var f=K.getUint32(R.dataOffset+12);if(f!==1701733217&&f!==1701733238)return null;R=yl(K,R.offset+24+(f===1701733217?28:78),1936289382);if(!R)return null;f=yl(K,R.offset+8,1935894637);if(!f||K.getUint32(f.offset+12)!==1667392371)return null;R=yl(K,R.offset+8,1935894633);if(!R)return null;R=yl(K,R.offset+8,1952804451);if(!R)return null;f=new Uint8Array(16);for(var V=0;V<16;V++)f[V]=K.getInt8(R.offset+16+V);return f};\nwM=function(K,R){this.U=K;this.pos=0;this.start=R||0};\nzK=function(K){return K.pos>=K.U.byteLength};\nNb=function(K,R,f){var V=new wM(f);if(!xq(V,K))return!1;V=Ef(V);if(!aG(V,R))return!1;for(K=0;R;)R>>>=8,K++;R=V.start+V.pos;var D=Ql(V,!0);V=K+(V.start+V.pos-R)+D;V=V>9?ftc(V-9,8):ftc(V-2,1);K=R-K;f.setUint8(K++,236);for(R=0;Rf;D++)f=f*256+JH(K),V*=128;return R?f-V:f};\nWF=function(K){var R=Ql(K,!0);K.pos+=R};\nHbe=function(K){if(!aG(K,440786851,!0))return null;var R=K.pos;Ql(K,!1);var f=Ql(K,!0)+K.pos-R;K.pos=R+f;if(!aG(K,408125543,!1))return null;Ql(K,!0);if(!aG(K,357149030,!0))return null;var V=K.pos;Ql(K,!1);var D=Ql(K,!0)+K.pos-V;K.pos=V+D;if(!aG(K,374648427,!0))return null;var H=K.pos;Ql(K,!1);var l=Ql(K,!0)+K.pos-H,F=new Uint8Array(f+12+D+l),c=new DataView(F.buffer);F.set(new Uint8Array(K.U.buffer,K.U.byteOffset+R,f));c.setUint32(f,408125543);c.setUint32(f+4,33554431);c.setUint32(f+8,4294967295);\nF.set(new Uint8Array(K.U.buffer,K.U.byteOffset+V,D),f+12);F.set(new Uint8Array(K.U.buffer,K.U.byteOffset+H,l),f+12+D);return F};\nZq=function(K){var R=K.pos;K.pos=0;var f=1E6;xq(K,[408125543,357149030,2807729])&&(f=Uf(K));K.pos=R;return f};\n$9N=function(K,R){var f=K.pos;K.pos=0;if(K.U.getUint8(K.pos)!==160&&!BF(K)||!aG(K,160))return K.pos=f,NaN;Ql(K,!0);var V=K.pos;if(!aG(K,161))return K.pos=f,NaN;Ql(K,!0);JH(K);var D=JH(K)<<8|JH(K);K.pos=V;if(!aG(K,155))return K.pos=f,NaN;V=Uf(K);K.pos=f;return(D+V)*R/1E9};\nBF=function(K){if(!lt2(K)||!aG(K,524531317))return!1;Ql(K,!0);return!0};\nlt2=function(K){if(K.Ip()){if(!aG(K,408125543))return!1;Ql(K,!0)}return!0};\nxq=function(K,R){for(var f=0;f0){var V=Wc(25,R.substring(f+1));g.T2(V,function(D,H){this.set(H,D)},K);\nR=R.substring(0,f)}R=E5(8,R);g.T2(R,function(D,H){this.set(H,D)},K)};\nFUN=function(K){var R=K.NF.y9(),f=[];g.T2(K.U,function(D,H){f.push(H+\"=\"+D)});\nif(!f.length)return R;var V=f.join(\"&\");K=ow(22,K.NF)?\"&\":\"?\";return R+K+V};\nkq=function(K,R){var f=new g.wo(R);(R=f.get(\"req_id\"))&&K.set(\"req_id\",R);g.T2(K.U,function(V,D){f[\"set\"](D,null)});\nreturn f};\ncD5=function(){this.J=this.X=this.U=this.timedOut=this.started=this.B=this.K=0};\nTK=function(K){K.B=(0,g.N7)();K.started=0;K.timedOut=0;K.U=0};\nPF=function(K,R){var f=K.started+K.U*4;R&&(f+=K.X);f=Math.max(0,f-3);return Math.pow(1.6,f)};\nnn=function(K,R){K[R]||(K[R]=new cD5);return K[R]};\nIG=function(K){this.EF=this.N=this.B=this.X=0;this.Z=this.T=!1;this.U=K;this.K=K.clone()};\nrDc=function(K,R,f){if(QN(21,K.U))return!1;var V=nn(f,hz(5,K.U));if(V.timedOut<1&&V.U<1)return!1;V=V.timedOut+V.U;K=gM(K,R);f=nn(f,hz(2,K));return f.timedOut+f.U+01?R=R.vWa:(f=nn(f,jk(K,K.Zq(R,f),R)),R=Math.max(K.B,f.timedOut)+R.Fa*(K.X-K.B)+.25*K.N,R=R>3?1E3*Math.pow(1.6,R-3):0);return R===0?!0:K.EF+R<(0,g.N7)()};\nyDB=function(K,R,f){K.U.set(R,f);K.K.set(R,f);K.J&&K.J.set(R,f)};\nhu5=function(K,R,f,V,D){++K.X;R&&++K.B;hz(3,f.NF).startsWith(\"redirector.\")&&(K.U=K.K.clone(),delete K.J,V.PQ&&delete D[hz(5,K.U)])};\nMb=function(K){return K?(K.itag||\"\")+\";\"+(K.lmt||0)+\";\"+(K.xtags||\"\"):\"\"};\nb2=function(K,R,f,V){this.initRange=f;this.indexRange=V;this.U=null;this.X=!1;this.T=0;this.J=this.Kt=this.K=null;this.info=R;this.Qe=new IG(K)};\npn=function(K,R){return Mb(g.nH(K.info,R))};\nYq=function(K,R){this.start=K;this.end=R;this.length=R-K+1};\nmC=function(K){K=K.split(\"-\");var R=Number(K[0]),f=Number(K[1]);if(!isNaN(R)&&!isNaN(f)&&K.length===2&&(K=new Yq(R,f),!isNaN(K.start)&&!isNaN(K.end)&&!isNaN(K.length)&&K.length>0))return K};\nGK=function(K,R){return new Yq(K,K+R-1)};\noph=function(K){return K.end==null?{start:String(K.start)}:{start:String(K.start),end:String(K.end)}};\nu2=function(K){if(!K)return new Yq(0,0);var R=Number(K.start);K=Number(K.end);if(!isNaN(R)&&!isNaN(K)&&(R=new Yq(R,K),R.length>0))return R};\nsf=function(K,R,f,V,D,H,l,F,c,r,y,h){V=V===void 0?\"\":V;this.type=K;this.RY=R;this.range=f;this.source=V;this.H1=y;this.clipId=h===void 0?\"\":h;this.Z=[];this.T=\"\";this.t5=-1;this.EF=0;this.T=V;this.t5=D>=0?D:-1;this.startTime=H||0;this.duration=l||0;this.U=F||0;this.K=c>=0?c:this.range?this.range.length:NaN;this.X=this.range?this.U+this.K===this.range.length:r===void 0?!!this.K:r;this.range?(this.J=this.startTime+this.duration*this.U/this.range.length,this.N=this.duration*this.K/this.range.length,\nthis.B=this.J+this.N):SUw(this)};\nSUw=function(K){K.J=K.startTime;K.N=K.duration;K.B=K.J+K.N};\nibh=function(K,R,f){var V=!(!R||R.RY!==K.RY||R.type!==K.type||R.t5!==K.t5);return f?V&&!!R&&(K.range&&R.range?R.range.end===K.range.end:R.range===K.range)&&R.U+R.K===K.U+K.K:V};\nCn=function(K){return K.type===1||K.type===2};\nek=function(K){return K.type===3||K.type===6};\nKh=function(K,R){return K.RY===R.RY?K.range&&R.range?K.range.start+K.U+K.K===R.range.start+R.U:K.t5===R.t5?K.U+K.K===R.U:K.t5+1===R.t5&&R.U===0&&K.X:!1};\nLUo=function(K,R){return K.t5!==R.t5&&R.t5!==K.t5+1||K.type!==R.type?!1:Kh(K,R)?!0:Math.abs(K.J-R.J)<=1E-6&&K.t5===R.t5?!1:vpN(K,R)};\nvpN=function(K,R){return Kh(K,R)||Math.abs(K.B-R.J)<=1E-6||K.t5+1===R.t5&&R.U===0&&K.X?!0:!1};\nR5=function(K){return K.t5+(K.X?1:0)};\nw6B=function(K){K.length===1||g.Zs(K,function(f){return!!f.range});\nfor(var R=1;R=R.range.start+R.U&&K.range.start+K.U+K.K<=R.range.start+R.U+R.K:K.t5===R.t5&&K.U>=R.U&&(K.U+K.K<=R.U+R.K||R.X)};\nU9e=function(K,R){return K.RY!==R.RY?!1:K.type===4&&R.type===3&&K.RY.Rm()?(K=K.RY.kF(K),V3(K,function(f){return U9e(f,R)})):K.t5===R.t5&&!!R.K&&R.U+R.K>K.U&&R.U+R.K<=K.U+K.K};\nVq=function(K,R){var f=R.t5;K.T=\"updateWithSegmentInfo\";K.t5=f;if(K.startTime!==R.startTime||K.duration!==R.duration)K.startTime=R.startTime,K.duration=R.duration,SUw(K)};\nD9=function(K,R){var f=this;this.xW=K;this.J=this.U=null;this.B=this.KP=NaN;this.Zq=this.requestId=null;this.OC={eOU:function(){return f.range}};\nthis.Qe=K[0].RY.Qe;this.K=R||\"\";this.xW[0].range&&this.xW[0].K>0&&(zu_(K)?(this.range=w6B(K),this.X=this.range.length):(this.range=this.xW[this.xW.length-1].range,this.X=x9N(K)))};\nHf=function(K){return!Cn(K.xW[K.xW.length-1])};\n$a=function(K){return K.xW[K.xW.length-1].type===4};\ng.ll=function(K,R,f){f=K.Zq===null?K.Qe.Zq(R,f,K.xW[0].type):K.Zq;if(K.U){R=f?E5(21,K.U,R.mz):K.U;var V=new X0(R);V.get(\"alr\")||V.set(\"alr\",\"yes\");K.K&&d9B(V,K.K)}else/http[s]?:\\/\\//.test(K.K)?V=new X0(new g.wo(K.K)):(V=Of(K.Qe,f,R),K.K&&d9B(V,K.K));(R=K.range)?V.set(\"range\",R.toString()):K.xW[0].RY.Ij()&&K.xW.length===1&&K.xW[0].U&&V.set(\"range\",K.xW[0].U+\"-\");K.requestId&&V.set(\"req_id\",K.requestId);isNaN(K.KP)||V.set(\"headm\",K.KP.toString());isNaN(K.B)||V.set(\"mffa\",K.B+\"ms\");K.urlParams&&g.T2(K.urlParams,\nfunction(D,H){V.set(H,D)});\nreturn V};\nWUc=function(K){if(K.range)return K.X;K=K.xW[0];return Math.round(K.N*K.RY.info.c5)};\nt$2=function(K,R){return Math.max(0,K.xW[0].J-R)};\nADw=function(K,R){K=g.Z(K.xW);for(var f=K.next();!f.done;f=K.next())if(f=f.value,f.type===3&&R>=f.J&&R<=f.B)return!0;return!1};\ndl=function(K,R,f,V,D,H){H=H===void 0?0:H;b2.call(this,K,R,V,void 0);this.B=f;this.CF=H;this.index=D||new g.uf};\nJDh=function(K,R,f,V,D){this.t5=K;this.startSecs=R;this.w8=f;this.U=V||NaN;this.K=D||NaN};\nFI=function(K,R,f){for(;K;K=K.parentNode)if(K.attributes&&(!f||K.nodeName===f)){var V=K.getAttribute(R);if(V)return V}return\"\"};\ncf=function(K,R){for(;K;K=K.parentNode){var f=K.getElementsByTagName(R);if(f.length>0)return f[0]}return null};\nZbG=function(K){if(!K)return 0;var R=K.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return R?(Number(R[2])|0)*3600+(Number(R[4])|0)*60+(Number(R[6])|0):Number(K)|0};\nBUo=function(K){return K.match(/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})\\.(\\d{3})$/)?K+\"Z\":K};\nrl=function(){this.U=[];this.K=null;this.T=0;this.X=[];this.B=!1;this.N=\"\";this.J=-1};\nX6M=function(K){var R=K.X;K.X=[];return R};\nkl2=function(){this.J=[];this.U=null;this.K={};this.X={}};\nItB=function(K,R){var f=[];R=Array.from(R.getElementsByTagName(\"SegmentTimeline\"));R=g.Z(R);for(var V=R.next();!V.done;V=R.next()){V=V.value;var D=V.parentNode.parentNode,H=null;D.nodeName===\"Period\"?H=TUh(K):D.nodeName===\"AdaptationSet\"?(D=D.getAttribute(\"id\")||D.getAttribute(\"mimetype\")||\"\",H=PR2(K,D)):D.nodeName===\"Representation\"&&(D=D.getAttribute(\"id\")||\"\",H=npv(K,D));if(H==null)return;H.update(V);g.lT(f,X6M(H))}g.lT(K.J,f);uG2(K.J,function(l){return l.startSecs*1E3+l.U})};\ngp5=function(K){K.U&&(K.U.U=[]);g.T2(K.K,function(R){R.U=[]});\ng.T2(K.X,function(R){R.U=[]})};\nTUh=function(K){K.U||(K.U=new rl);return K.U};\nPR2=function(K,R){K.K[R]||(K.K[R]=new rl);return K.K[R]};\nnpv=function(K,R){K.X[R]||(K.X[R]=new rl);return K.X[R]};\nhS=function(K){var R=K===void 0?{}:K;K=R.CF===void 0?0:R.CF;var f=R.Lp===void 0?!1:R.Lp;var V=R.P8===void 0?0:R.P8;var D=R.UO===void 0?0:R.UO;var H=R.cU===void 0?Infinity:R.cU;var l=R.iU===void 0?0:R.iU;var F=R.V9===void 0?!1:R.V9;R=R.eK===void 0?!1:R.eK;g.uf.call(this);this.vX=this.fW=-1;this.Vf=K;this.P8=V;this.Lp=f;this.UO=D;this.cU=H;this.iU=l;((this.V9=F)||isFinite(H)&&this.cU>0)&&f&&yq&&(this.K=!1,this.X=\"postLive\");this.eK=R};\no5=function(K,R){return oK(K.segments,function(f){return R-f.t5})};\nS9=function(K,R,f){f=f===void 0?{}:f;dl.call(this,K,R,\"\",void 0,void 0,f.CF||0);this.index=new hS(f)};\nil=function(K,R,f){b2.call(this,K,R);this.B=f;K=this.index=new g.uf;K.K=!1;K.X=\"d\"};\nObD=function(K,R,f){var V=K.index.TQ(R),D=K.index.getStartTime(R),H=K.index.getDuration(R);f?H=f=0:f=K.info.c5*H;return new D9([new sf(3,K,void 0,\"otfCreateRequestInfoForSegment\",R,D,H,0,f)],V)};\njgG=function(K,R){if(!K.index.isLoaded()){var f=[],V=R.J;R=R.B.split(\",\").filter(function(y){return y.length>0});\nfor(var D=0,H=0,l=0,F=/^(\\d+)/,c=/r=(\\d+)/,r=0;r0&&(D.U=Math.min(D.U+l,10),D.K=H);D.U>0?(D.U--,D=!0):D=!1;if(D)typeof V===\"function\"&&(V=V()),console.log(\"plyr.\"+R,V);else{var F;V=((F=m9_.get(R))!=null?F:0)+1;m9_.set(R,V);V%100===1&&console.warn(\"plyr\",\"plyr.\"+R+\" is chatty, dropping logs.\")}}};\nYUN=function(){this.U=10;this.K=Date.now()};\nwl=function(K,R){this.info=K;this.K=R;this.U=null;this.J=this.X=-1;this.timestampOffset=0;this.isLocked=this.T=!1;this.B=this.info.RY.O8()&&!this.info.U};\ng.z5=function(K){return iOD(K.K)};\nGlB=function(K,R){R=Math.min(R,K.info.K);var f=K.K.split(R),V=f.VP;f=new wl(new sf(K.info.type,K.info.RY,K.info.range,K.info.T,K.info.t5,K.info.startTime,K.info.duration,K.info.U,R,!1,K.info.H1,K.info.clipId),f.FU);f.J=K.J;f.X=K.X;R=new wl(new sf(K.info.type,K.info.RY,K.info.range,K.info.T,K.info.t5,K.info.startTime,K.info.duration,K.info.U+R,K.info.K-R,K.info.X,K.info.H1,K.info.clipId),V);R.J=K.J;R.X=K.X;return[f,R]};\ng.xa=function(K,R,f,V){f=f===void 0?!1:f;V=V===void 0?0:V;if(K.isLocked||R.isLocked||!Kh(K.info,R.info)||K.info.X)return null;if(V){if(K.K.totalLength+R.K.totalLength>V)return null}else if(f&&(f=K.K,V=R.K,f=!(V.U.length?o65(f,V.U[0]):1)),f)return null;f=new sf(K.info.type,K.info.RY,K.info.range,K.info.T,K.info.t5,K.info.startTime,K.info.duration,K.info.U,K.info.K,K.info.X,K.info.H1,K.info.clipId);V=R.info;f.K+=V.K;f.range&&(f.N+=V.N);f.B=V.B;f.X=V.X;V=new $4;lB(V,K.K);lB(V,R.K);f=new wl(f,V);f.U!=\nnull&&R.U!=null&&g.Lh(\"dash\",414627957,\"merged slice emsg overridden; prev: \"+f.U.W_()+\" next: \"+R.U.W_());f.U=R.U||K.U;f.X=K.X!==-1?K.X:R.X;f.J=K.J!==-1?K.J:R.J;return f};\ng.Ey=function(K){g.BM(K.info.RY.info)||K.info.RY.info.S4();if(K.X!==-1)return K.X;if(K.U&&qK5(K.U))return K.X=qK5(K.U),K.X;if(g.BM(K.info.RY.info)){var R=g.z5(K);for(var f=K.info.RY.U,V=NaN,D=NaN,H=0;hH(R,H);){var l=oG(R,H);l.type===1936286840?D=l.data.getUint32(l.dataOffset+8):l.type===1836476516?D=g.cF(l):l.type===1952867444&&isNaN(V)&&(V=g.i2(l));H=Sk(l.type)?H+8:H+l.size}!D&&f&&(D=rM(f));R=V/D}else R=new wM(g.z5(K)),f=K.B?R:new wM(new DataView(K.info.RY.U.buffer)),V=Zq(f),f=R.pos,R.pos=0,BF(R)?\naG(R,231)?(V=Uf(R)*V/1E9,R.pos=f,R=V):(R.pos=f,R=NaN):(R.pos=f,R=NaN);K.X=R||K.info.J;return K.X};\nsg5=function(K,R){K.timestampOffset>0&&(R-=K.timestampOffset);var f=g.Ey(K)+R;uz_(K,f);K.timestampOffset=R};\nuz_=function(K,R){g.BM(K.info.RY.info)||K.info.RY.info.S4();K.X=R;if(g.BM(K.info.RY.info)){var f=g.z5(K);K=K.info.RY.U;for(var V=NaN,D=NaN,H=0;hH(f,H);){var l=oG(f,H);isNaN(V)&&(l.type===1936286840?V=l.data.getUint32(l.dataOffset+8):l.type===1836476516&&(V=g.cF(l)));if(l.type===1952867444){!V&&K&&(V=rM(K));var F=g.i2(l);isNaN(D)&&(D=Math.round(R*V)-F);var c=l;F+=D;if(c.data.getUint8(c.dataOffset)){var r=c.data;c=c.dataOffset+4;r.setUint32(c,Math.floor(F/4294967296));r.setUint32(c+4,F&4294967295)}else c.data.setUint32(c.dataOffset+\n4,F)}H=Sk(l.type)?H+8:H+l.size}return!0}f=new wM(g.z5(K));K=K.B?f:new wM(new DataView(K.info.RY.U.buffer));V=Zq(K);K=f.pos;f.pos=0;if(BF(f)&&aG(f,231))if(D=Ql(f,!0),R=Math.floor(R*1E9/V),Math.ceil(Math.log(R)/Math.log(2)/8)>D)R=!1;else{for(V=D-1;V>=0;V--)f.U.setUint8(f.pos+V,R&255),R>>>=8;f.pos=K;R=!0}else R=!1;return R};\nQq=function(K,R){R=R===void 0?!1:R;var f=a5(K);K=R?0:K.info.N;return f||K};\na5=function(K){g.BM(K.info.RY.info)||K.info.RY.info.S4();if(K.U&&K.info.type===6)return K.U.CF;if(g.BM(K.info.RY.info)){var R=g.z5(K);var f=0;R=g.Ln(R,1936286840);R=g.Z(R);for(var V=R.next();!V.done;V=R.next())V=sMv(V.value),f+=V.fb[0]/V.timescale;f=f||NaN;if(!(f>=0))a:{f=g.z5(K);R=K.info.RY.U;for(var D=V=0,H=0;hH(f,V);){var l=oG(f,V);if(l.type===1836476516)D=g.cF(l);else if(l.type===1836019558){!D&&R&&(D=rM(R));if(!D){f=NaN;break a}var F=yl(l.data,l.dataOffset,1953653094),c=F;F=D;var r=yl(c.data,\nc.dataOffset,1952868452);c=yl(c.data,c.dataOffset,1953658222);var y=Kn(r);Kn(r);y&2&&Kn(r);r=y&8?Kn(r):0;var h=Kn(c),S=h&1;y=h&4;var v=h&256,L=h&512,E=h&1024;h&=2048;var Q=RG(c);S&&Kn(c);y&&Kn(c);for(var J=S=0;J2048?\"\":R.indexOf(\"https://\")===0?R:\"\"};\nJS=function(K,R,f){R.match(drM);return K(R,f).then(function(V){var D=g.luD(V.xhr);return D?JS(K,D,f):V.xhr})};\nka=function(K,R,f){K=K===void 0?\"\":K;R=R===void 0?null:R;f=f===void 0?!1:f;g.VQ.call(this);var V=this;this.sourceUrl=K;this.isLivePlayback=f;this.oY=this.duration=0;this.isPremiere=this.V9=this.J=this.isLiveHeadPlayable=this.isLive=this.K=!1;this.cU=this.UO=0;this.isOtf=this.qY=!1;this.qe=(0,g.N7)();this.aY=Infinity;this.U={};this.X=new Map;this.state=this.tK=0;this.N=null;this.isManifestless=!1;this.B5=[];this.B=null;this.y0=0;this.T=\"\";this.er=NaN;this.Jx=this.LW=this.timestampOffset=this.Z=0;this.H7=\nthis.tW=NaN;this.Rg=0;this.G2=this.UF=!1;this.Ne=[];this.kW={};this.Xt=NaN;this.OC={o05:function(F){Z9(V,F)}};\nvar D;this.Za=(D=R)==null?void 0:D.rU(\"html5_use_network_error_code_enums\");FID=!!R&&R.rU(\"html5_modern_vp9_mime_type\");var H;Bf=!((H=R)==null||!H.rU(\"html5_enable_flush_during_seek\"))&&g.uj();var l;XI=!((l=R)==null||!l.rU(\"html5_enable_reset_audio_decoder\"))&&g.uj()};\ncvG=function(K){return g.i_(K.U,function(R){return!!R.info.video&&R.info.video.qualityOrdinal>=2160})};\nBIN=function(K){return g.i_(K.U,function(R){return!!R.info.video&&R.info.video.isHdr()})};\nj4=function(K){return g.i_(K.U,function(R){return!!R.info.g8})};\ng.rvG=function(K){return g.i_(K.U,function(R){return Ov(R.info.mimeType)})};\nyve=function(K){return g.i_(K.U,function(R){return R.info.video?R.info.video.projectionType===\"EQUIRECTANGULAR\":!1})};\nhW2=function(K){return g.i_(K.U,function(R){return R.info.video?R.info.video.projectionType===\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\":!1})};\no0z=function(K){return g.i_(K.U,function(R){return R.info.video?R.info.video.projectionType===\"MESH\":!1})};\nSvc=function(K){return g.i_(K.U,function(R){return R.info.video?R.info.video.stereoLayout===1:!1})};\niHz=function(K){return Rih(K.U,function(R){return R.info.video?R.vv():!0})};\nI0=function(K){return g.i_(K.U,function(R){return QN(18,R.Qe.U)})};\nZ9=function(K,R){K.U[R.info.id]=R;K.X.set(pn(R,K.qY),R)};\nnh=function(K,R,f){f=f===void 0?0:f;var V=K.mimeType||\"\",D=K.itag;var H=K.xtags;D=D?D.toString():\"\";H&&(D+=\";\"+H);H=D;if(ge(V)){var l=K.width||640;D=K.height||360;var F=K.fps,c=K.qualityLabel,r=K.qualityOrdinal,y=K.colorInfo,h=K.projectionType,S;K.stereoLayout&&(S=v0D[K.stereoLayout]);var v=HH2(K)||void 0;if(y==null?0:y.primaries)var L=LIw[y.primaries]||void 0;l=new Ev(l,D,F,h,S,void 0,c,r&&wMe[r],v,L);V=T5(V,l,Nr[K.itag||\"\"]);Bf&&(V+=\"; enableflushduringseek=true\");XI&&(V+=\"; enableresetaudiodecoder=true\")}var E;\nif(I2(V)){var Q=K.audioSampleRate;S=K.audioTrack;Q=new FH(Q?+Q:void 0,K.audioChannels,K.spatialAudioType,K.isDrc,K.loudnessDb,K.trackAbsoluteLoudnessLkfs,K.audioQuality||\"AUDIO_QUALITY_UNKNOWN\",K.isVb);S&&(L=S.displayName,D=S.id,F=S.audioIsDefault,S=S.isAutoDubbed,L&&(E=new g.AS(L,D||\"\",!!F,!!S)))}var J;K.captionTrack&&(c=K.captionTrack,S=c.displayName,L=c.vssId,D=c.languageCode,F=c.kind,c=c.id,S&&L&&D&&(J=new VwM(S,L,D,F,K.xtags,c)));S=Number(K.bitrate)/8;L=Number(K.contentLength);D=Number(K.lastModified);\nc=K.drmFamilies;F=K.type;f=f&&L?L/f:0;K=Number(K.approxDurationMs);if(R&&c){var A={};c=g.Z(c);for(r=c.next();!r.done;r=c.next())(r=Pf[r.value])&&(A[r]=R[r])}return new Uv(H,V,{audio:Q,video:l,tV:E,g8:A,c5:S,hg:f,contentLength:L,lastModified:D,captionTrack:J,streamType:F,approxDurationMs:K})};\nI5=function(K,R,f){f=f===void 0?0:f;var V=K.type;var D=K.itag;var H=K.xtags;H&&(D=K.itag+\";\"+H);if(ge(V)){var l=(K.size||\"640x360\").split(\"x\");l=new Ev(+l[0],+l[1],+K.fps,K.projection_type,+K.stereo_layout,void 0,K.quality_label,+K.quality_ordinal,K.eotf,K.primaries);V=T5(V,l,Nr[K.itag]);Bf&&(V+=\"; enableflushduringseek=true\");XI&&(V+=\"; enableresetaudiodecoder=true\")}var F;if(I2(V)){var c=new FH(+K.audio_sample_rate||void 0,+K.audio_channels||0,K.spatial_audio_type,!!K.drc);K.name&&(F=new g.AS(K.name,\nK.audio_track_id,K.isDefault===\"1\",K.isAutoDubbed===\"1\"))}var r;K.caption_display_name&&K.caption_vss_id&&K.caption_language_code&&(r=new VwM(K.caption_display_name,K.caption_vss_id,K.caption_language_code,K.caption_kind,K.xtags,K.caption_id));H=Number(K.bitrate)/8;var y=Number(K.clen),h=Number(K.lmt);f=f&&y?y/f:0;if(R&&K.drm_families){var S={};for(var v=g.Z(K.drm_families.split(\",\")),L=v.next();!L.done;L=v.next())L=L.value,S[L]=R[L]}return new Uv(D,V,{audio:c,video:l,tV:F,g8:S,c5:H,hg:f,contentLength:y,\nlastModified:h,captionTrack:r,streamType:K.stream_type,approxDurationMs:Number(K.approx_duration_ms)})};\nzWD=function(K){return V3(K,function(R){return\"FORMAT_STREAM_TYPE_OTF\"===R.stream_type})?\"FORMAT_STREAM_TYPE_OTF\":\"FORMAT_STREAM_TYPE_UNKNOWN\"};\nxrB=function(K){return V3(K,function(R){return\"FORMAT_STREAM_TYPE_OTF\"===R.type})?\"FORMAT_STREAM_TYPE_OTF\":\"FORMAT_STREAM_TYPE_UNKNOWN\"};\nE0G=function(K,R){return K.N?dJ(K.N.J,R):K.B5.length?dJ(K.B5,R):[]};\ngl=function(K,R,f){R=R===void 0?\"\":R;f=f===void 0?\"\":f;K=new g.wo(K,!0);K.set(\"alr\",\"yes\");f&&(f=$v(4,decodeURIComponent(f)),K[d[13]](R,encodeURIComponent(f)));return K};\nUr5=function(K,R){var f=FI(R,\"id\");f=f.replace(\":\",\";\");var V=FI(R,\"mimeType\"),D=FI(R,\"codecs\");V=D?V+'; codecs=\"'+D+'\"':V;D=Number(FI(R,\"bandwidth\"))/8;var H=Number(cf(R,\"BaseURL\").getAttribute(K.T+\":contentLength\")),l=K.duration&&H?H/K.duration:0;if(ge(V)){var F=Number(FI(R,\"width\"));var c=Number(FI(R,\"height\")),r=Number(FI(R,\"frameRate\")),y=auh(FI(R,K.T+\":projectionType\"));a:switch(FI(R,K.T+\":stereoLayout\")){case \"layout_left_right\":var h=1;break a;case \"layout_top_bottom\":h=2;break a;default:h=\n0}F=new Ev(F,c,r,y,h)}if(I2(V)){var S=Number(FI(R,\"audioSamplingRate\"));var v=Number(FI(R.getElementsByTagName(\"AudioChannelConfiguration\")[0],\"value\"));c=Q2z(FI(R,K.T+\":spatialAudioType\"));S=new FH(S,v,c);a:{v=FI(R,\"lang\")||\"und\";if(c=cf(R,\"Role\"))if(y=FI(c,\"value\")||\"\",g.th(Nev,y)){c=v+\".\"+Nev[y];r=y===\"main\";K=FI(R,K.T+\":langName\")||v+\" - \"+y;v=new g.AS(K,c,r);break a}v=void 0}}if(R=cf(R,\"ContentProtection\"))if(R.getAttribute(\"schemeIdUri\")===\"http://youtube.com/drm/2012/10/10\"){var L={};for(R=\nR.firstChild;R!=null;R=R.nextSibling)R instanceof Element&&/SystemURL/.test(R.nodeName)&&(K=R.getAttribute(\"type\"),c=R.textContent,K&&c&&(L[K]=c.trim()))}else L=void 0;return new Uv(f,V,{audio:S,video:F,tV:v,g8:L,c5:D,hg:l,contentLength:H})};\nauh=function(K){switch(K){case \"equirectangular\":return\"EQUIRECTANGULAR\";case \"equirectangular_threed_top_bottom\":return\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\";case \"mesh\":return\"MESH\";case \"rectangular\":return\"RECTANGULAR\";default:return\"UNKNOWN\"}};\nQ2z=function(K){switch(K){case \"spatial_audio_type_ambisonics_5_1\":return\"SPATIAL_AUDIO_TYPE_AMBISONICS_5_1\";case \"spatial_audio_type_ambisonics_quad\":return\"SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD\";case \"spatial_audio_type_foa_with_non_diegetic\":return\"SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC\";default:return\"SPATIAL_AUDIO_TYPE_NONE\"}};\ntwM=function(K,R){R=R===void 0?\"\":R;K.state=1;K.qe=(0,g.N7)();return $rM(R||K.sourceUrl).then(function(f){if(!K.mZ()){K.tK=f.status;f=f.responseText;var V=new DOMParser;f=q2(V,cAh(f),\"text/xml\").getElementsByTagName(\"MPD\")[0];K.aY=ZbG(FI(f,\"minimumUpdatePeriod\"))*1E3||Infinity;b:{if(f.attributes){V=g.Z(f.attributes);for(var D=V.next();!D.done;D=V.next())if(D=D.value,D.value===\"http://youtube.com/yt/2012/10/10\"){V=D.name.split(\":\")[1];break b}}V=\"\"}K.T=V;K.isLive=K.aY=K.aY};\nWIM=function(K){var R=K.aY;isFinite(R)&&(Oy(K)?K.refresh():(R=Math.max(0,K.qe+R-(0,g.N7)()),K.B||(K.B=new g.CW(K.refresh,R,K),g.q(K,K.B)),K.B.start(R)))};\nJvc=function(K){K=K.U;for(var R in K){var f=K[R].index;if(f.isLoaded())return f.H0()+1}return 0};\nj9=function(K){return K.LW?K.LW-(K.Z||K.timestampOffset):0};\nq0=function(K){return K.Jx?K.Jx-(K.Z||K.timestampOffset):0};\nM0=function(K){if(!isNaN(K.er))return K.er;var R=K.U,f;for(f in R){var V=R[f].index;if(V.isLoaded()&&!Ov(R[f].info.mimeType)){R=0;for(f=V.Wy();f<=V.H0();f++)R+=V.getDuration(f);R/=V.g7();R=Math.round(R/.5)*.5;V.g7()>10&&(K.er=R);return R}if(K.isLive&&(V=R[f],V.CF))return V.CF}return NaN};\nZH2=function(K,R){K=V8e(K.U,function(V){return V.index.isLoaded()});\nif(!K)return NaN;K=K.index;var f=K.FL(R);return K.getStartTime(f)===R?R:f=0&&D.segments.splice(H,1)}}};\nXMz=function(K){for(var R in K.U)Ov(K.U[R].info.mimeType)||nhh(K.U[R].index,Infinity)};\nYa=function(K,R,f){for(var V in K.U){var D=K.U[V].index,H=R,l=f;D.Lp&&(H&&(D.fW=Math.max(D.fW,H)),l&&(D.vX=Math.max(D.vX||0,l)))}f&&(K.Xt=f/1E3)};\nkF5=function(K){K.Jx=0;K.LW=0;K.Rg=0};\nm4=function(K){return K.G2&&K.isManifestless?K.isLiveHeadPlayable:K.isLive};\nT5=function(K,R,f){G5===null&&(G5=window.MediaSource&&MediaSource.isTypeSupported&&MediaSource.isTypeSupported('video/webm; codecs=\"vp09.02.51.10.01.09.16.09.00\"')&&!MediaSource.isTypeSupported('video/webm; codecs=\"vp09.02.51.10.01.09.99.99.00\"'));if(FID&&window.MediaSource&&MediaSource.isTypeSupported!==void 0)return G5||f!==\"9\"&&f!==\"(\"?G5||f!==\"9h\"&&f!==\"(h\"||(K='video/webm; codecs=\"vp9.2\"'):K='video/webm; codecs=\"vp9\"',K;if(!G5&&!ul||K!=='video/webm; codecs=\"vp9\"'&&K!=='video/webm; codecs=\"vp9.2\"')return K;\nf=\"00\";var V=\"08\",D=\"01\",H=\"01\",l=\"01\";K==='video/webm; codecs=\"vp9.2\"'&&(f=\"02\",V=\"10\",R.primaries===\"bt2020\"&&(l=D=\"09\"),R.U===\"smpte2084\"&&(H=\"16\"),R.U===\"arib-std-b67\"&&(H=\"18\"));return'video/webm; codecs=\"'+[\"vp09\",f,\"51\",V,\"01\",D,H,l,\"00\"].join(\".\")+'\"'};\nCh=function(K,R,f){K=\"\"+K+(R>49?\"p60\":R>32?\"p48\":\"\");R=EC()[K];if(R!=null&&R>0)return R;R=sy.get(K);if(R!=null&&R>0)return R;f=f==null?void 0:f.get(K);return f!=null&&f>0?f:8192};\nPAM=function(K){this.gU=K;this.aQ=this.AZ=this.qe=this.B=this.J=this.B5=this.Ne=this.UF=!1;this.N=this.T=0;this.OF=!1;this.aY=!0;this.Za=!1;this.gk=0;this.Cn=this.y0=!1;this.M1=!0;this.oY=this.G2=!1;this.K={};this.Kh=this.hV=this.vK=this.disableAv1=this.pQ=this.FQ=this.v5=this.bd=this.U=this.Z=!1;this.Xt=0;this.HU=this.gU.Y(\"html5_disable_aac_preference\");this.XQ=Infinity;this.er=0;this.nh=this.gU.oG();this.Gt=this.gU.experiments.rU(\"html5_enable_vp9_fairplay\");this.qW=this.gU.Y(\"html5_force_av1_for_testing\");\nthis.OA=this.gU.ph().U.aG(Te2);this.kW=g.mz(this.gU.experiments,\"html5_av1_ordinal_cap\");this.MW=this.gU.Y(\"html5_disable_hfr_when_vp9_encrypted_2k4k_unsupported\");this.SI=this.gU.Y(\"html5_account_onesie_format_selection_during_format_filter\");this.c5=g.mz(this.gU.experiments,\"html5_max_byterate\");this.Ch=this.gU.Y(\"html5_enable_iamf_audio\");this.r4=this.gU.experiments.rU(\"html5_allow_capability_merge\");this.Dk=this.gU.Y(\"html5_enable_encrypted_av1\")};\nXXG=function(K){if(K.Ne)return[\"f\"];if(g.mO(\"appletv5\"))return\"h 9h 9 8 H (h ( *\".split(\" \");var R=[\"9h\",\"9\",\"h\",\"8\"];K.Dk&&R.push(\"1e\");R=R.concat([\"(h\",\"(\",\"H\",\"*\"]);K.y0&&(R.unshift(\"1\"),R.unshift(\"1h\"));K.AZ&&R.unshift(\"h\");K.EF&&(R=(n0_[K.EF]||[K.EF]).concat(R));return R};\nUYG=function(K){var R=[\"o\",\"a\",\"A\"];K.er===1&&(K.J&&(R=[\"mac3\",\"MAC3\"].concat(R)),K.B&&(R=[\"meac3\",\"MEAC3\"].concat(R)),K.Ch&&(R=[\"i\",\"I\"].concat(R)));K.UF&&(R=[\"so\",\"sa\"].concat(R));!K.aQ||K.qe||K.X||K.HU||R.unshift(\"a\");K.X&&(R=(n0_[K.X]||[K.X]).concat(R));return R};\ne9=function(K,R,f,V){R=R===void 0?{}:R;if(V===void 0?0:V)return R.disabled=1,0;if(Yi(K.B,mx.AV1_CODECS)&&Yi(K.B,mx.HEIGHT)&&Yi(K.B,mx.BITRATE))return R.isCapabilityUsable=1,8192;try{var D=l6w();if(D&&!K.Y(\"disable_av1_setting\"))return R.localPref=D}catch(F){}V=1080;D=navigator.hardwareConcurrency;D<=2&&(V=480);R.coreCount=D;if(D=g.mz(K.experiments,\"html5_default_av1_threshold\"))V=R[\"default\"]=D;if(K=K.B.aY)R.mcap=K,V=Math.max(V,K);if(f){var H,l;if(K=(H=f.videoInfos.find(function(F){return Jv(F)}))==\nnull?void 0:(l=H.K)==null?void 0:l.powerEfficient)V=8192,R.isEfficient=1;\nf=f.videoInfos[0].video;H=Math.min(Ch(\"1\",f.fps),Ch(\"1\",30));R.perfCap=H;V=Math.min(V,H);f.isHdr()&&!K&&(R.hdr=1,V*=.75)}else f=Ch(\"1\",30),R.perfCap30=f,V=Math.min(V,f),f=Ch(\"1\",60),R.perfCap60=f,V=Math.min(V,f);return R.av1Threshold=V};\nK5=function(K,R,f,V){this.flavor=K;this.keySystem=R;this.K=f;this.experiments=V;this.U={};this.L8=this.keySystemAccess=null;this.Ev=this.Uv=-1;this.Al=null;this.X=!!V&&V.rU(\"edge_nonprefixed_eme\");V&&V.rU(\"html5_enable_vp9_fairplay\")};\nf5=function(K){return K.X?!1:!K.keySystemAccess&&!!R4()&&K.keySystem===\"com.microsoft.playready\"};\nVF=function(K){return K.keySystem===\"com.microsoft.playready\"};\nDe=function(K){return!K.keySystemAccess&&!!R4()&&K.keySystem===\"com.apple.fps.1_0\"};\nHg=function(K){return K.keySystem===\"com.youtube.fairplay\"};\n$N=function(K){return K.keySystem===\"com.youtube.fairplay.sbdl\"};\ng.lK=function(K){return K.flavor===\"fairplay\"};\nR4=function(){var K=window,R=K.MSMediaKeys;eO()&&!R&&(R=K.WebKitMediaKeys);return R&&R.isTypeSupported?R:null};\nFC=function(K){return navigator.requestMediaKeySystemAccess?g.Du&&!g.uj()?W2(\"45\"):g.Gr||g.ip?K.rU(\"edge_nonprefixed_eme\"):g.dV?W2(\"47\"):g.v7&&K.rU(\"html5_enable_safari_fairplay\")?!1:!0:!1};\nIuw=function(K,R,f,V){var D=s$(),H=(f=D||f&&eO())?[\"com.youtube.fairplay\"]:[\"com.widevine.alpha\"];R&&H.unshift(\"com.youtube.widevine.l3\");D&&V&&H.unshift(\"com.youtube.fairplay.sbdl\");return f?H:K?[].concat(g.X(H),g.X(cg.playready)):[].concat(g.X(cg.playready),g.X(H))};\nrV=function(K,R,f,V,D){V=V===void 0?!1:V;g.O.call(this);this.gU=R;this.useCobaltWidevine=V;this.KQ=D;this.K=[];this.X={};this.U={};this.callback=null;this.B=!1;this.J=[];this.initialize(K,!f)};\nOH5=function(K,R){K.callback=R;K.J=[];FC(K.gU.experiments)?yF(K):g0G(K)};\nyF=function(K){if(!K.mZ())if(K.K.length===0)K.callback(K.J);else{var R=K.K[0],f=K.X[R],V=j2c(K,f);if(h1&&h1.keySystem===R&&h1.O7a===JSON.stringify(V))K.KQ(\"remksa\",{re:!0}),qvw(K,f,h1.keySystemAccess);else{var D,H;K.KQ(\"remksa\",{re:!1,ok:(H=(D=h1)==null?void 0:D.keySystem)!=null?H:\"\"});h1=void 0;navigator.requestMediaKeySystemAccess(R,V).then(f1(function(l){qvw(K,f,l,V)}),f1(function(){K.B=!K.B&&K.X[K.K[0]].flavor===\"widevine\";\nK.B||K.K.shift();yF(K)}))}}};\nqvw=function(K,R,f,V){if(!K.mZ()){V&&(h1={keySystem:R.keySystem,keySystemAccess:f,O7a:JSON.stringify(V)});R.keySystemAccess=f;if(VF(R)){f=fH();V=g.Z(Object.keys(K.U[R.flavor]));for(var D=V.next();!D.done;D=V.next())D=D.value,R.U[D]=!!f.canPlayType(D)}else{f=R.keySystemAccess.getConfiguration();if(f.audioCapabilities)for(V=g.Z(f.audioCapabilities),D=V.next();!D.done;D=V.next())R.U[D.value.contentType]=!0;if(f.videoCapabilities)for(f=g.Z(f.videoCapabilities),V=f.next();!V.done;V=f.next())R.U[V.value.contentType]=\n!0}K.J.push(R);K.useCobaltWidevine||K.Y(\"html5_enable_vp9_fairplay\")&&$N(R)?(K.K.shift(),yF(K)):K.callback(K.J)}};\nj2c=function(K,R){var f={initDataTypes:[\"cenc\",\"webm\"],audioCapabilities:[],videoCapabilities:[]};if(K.Y(\"html5_enable_vp9_fairplay\")&&Hg(R))return f.audioCapabilities.push({contentType:'audio/mp4; codecs=\"mp4a.40.5\"'}),f.videoCapabilities.push({contentType:'video/mp4; codecs=\"avc1.4d400b\"'}),[f];VF(R)&&(f.initDataTypes=[\"keyids\",\"cenc\"]);for(var V=g.Z(Object.keys(K.U[R.flavor])),D=V.next();!D.done;D=V.next()){D=D.value;var H=D.indexOf(\"audio/\")===0,l=H?f.audioCapabilities:f.videoCapabilities;R.flavor!==\n\"widevine\"||K.B?l.push({contentType:D}):H?l.push({contentType:D,robustness:\"SW_SECURE_CRYPTO\"}):(g.Du&&g.mO(\"windows nt\")&&!K.Y(\"html5_drm_enable_moho\")||l.push({contentType:D,robustness:\"HW_SECURE_ALL\"}),H=D,K.gU.B.X&&D.includes(\"vp09\")&&(H=D+\"; experimental=allowed\"),l.push({contentType:H,robustness:\"SW_SECURE_DECODE\"}),o4(K.gU)===\"MWEB\"&&(He()||Gs())&&(K.KQ(\"swcrypto\",{}),l.push({contentType:D,robustness:\"SW_SECURE_CRYPTO\"})))}return[f]};\ng0G=function(K){if(R4()&&(g.v7||Ra))K.J.push(new K5(\"fairplay\",\"com.apple.fps.1_0\",\"\",K.gU.experiments));else{var R=MwG(),f=g.G$(K.K,function(V){var D=K.X[V],H=!1,l=!1,F;for(F in K.U[D.flavor])R(F,V)&&(D.U[F]=!0,H=H||F.indexOf(\"audio/\")===0,l=l||F.indexOf(\"video/\")===0);return H&&l});\nf&&K.J.push(K.X[f]);K.K=[]}K.callback(K.J)};\nMwG=function(){var K=R4();if(K){var R=K.isTypeSupported;return function(V,D){return R(D,V)}}var f=fH();\nreturn f&&(f.addKey||f.webkitAddKey)?function(V,D){return!!f.canPlayType(V,D)}:function(){return!1}};\nSA=function(K){var R;K=$A((R=K.serializedClientExperimentFlags)!=null?R:\"\",\"&\");this.flags=new Map(Object.entries(K).map(function(f){var V=g.Z(f);f=V.next().value;V=V.next().value;return typeof V===\"string\"?[f,V]:[f,V[0]]}))};\nmrN=function(K,R){switch(R.WG){case \"bool\":return K.rU(R.x8);case \"int\":return K=bHz(K,R.x8),oo(K);case \"double\":return bHz(K,R.x8);case \"string\":return pM_(K,R.x8);case \"int32_list\":return YvB(K,R.x8);case \"int64_list\":return YvB(K,R.x8).map(function(f){return oo(f)});\ncase \"string_list\":throw Error(\"String list flags are not supported in WPCC\");default:throw Error(\"Unknown flag type\");}};\nbHz=function(K,R){K=K.flags.get(\"\"+R);return Number(K)||0};\nYvB=function(K,R){if(K=K.flags.get(\"\"+R))if(K=K.replace(/\\[ *(.*?) *\\]/,\"$1\"))return K.split(\",\").map(Number);return[]};\npM_=function(K,R){return(K=K.flags.get(\"\"+R))?K.toString():\"\"};\niK=function(K,R,f){this.U=void 0;this.experimentIds=K?K.split(\",\"):[];this.flags=$A(R||\"\",\"&\");K={};R=g.Z(this.experimentIds);for(var V=R.next();!V.done;V=R.next())K[V.value]=!0;this.experiments=K;f=new SA(f);this.X=new ULv(f);this.K=new Nb2(f)};\ng.mz=function(K,R,f){f=f===void 0?0:f;K=K.aG(R);JSON.stringify(K);return K===void 0?f:Number(K)};\nvg=function(K,R){return(K=K.aG(R))?K.toString():\"\"};\nGFw=function(K){if(K=K.aG(\"html5_web_po_experiment_ids\"))if(K=K.replace(/\\[ *(.*?) *\\]/,\"$1\"))return K.split(\",\").map(Number);return[]};\nuHM=function(K){if(K.U)return K.U;if(K.experimentIds.length<=1)return K.U=K.experimentIds,K.U;var R=[].concat(g.X(K.experimentIds)).map(function(V){return Number(V)});\nR.sort();for(var f=R.length-1;f>0;--f)R[f]-=R[f-1];K.U=R.map(function(V){return V.toString()});\nK.U.unshift(\"v1\");return K.U};\nCA2=function(K){return s25.then(K)};\nL5=function(K,R,f){this.experiments=K;this.B5=R;this.y0=f===void 0?!1:f;this.EF=!!g.t_(\"cast.receiver.platform.canDisplayType\");this.Z={};this.UF=!1;this.J=new Map;this.N=!0;this.K=this.X=!1;this.U=new Map;this.aY=0;this.Xt=this.experiments.rU(\"html5_disable_vp9_encrypted\");this.B=this.experiments.rU(\"html5_enable_encrypted_av1\");K=g.t_(\"cast.receiver.platform.getValue\");this.T=!this.EF&&K&&K(\"max-video-resolution-vpx\")||null;eW5(this);this.X=!!(s$()&&YA()>=21)};\nPV5=function(K,R,f){f=f===void 0?1:f;var V=R.itag;if(V===\"0\")return!0;var D=R.mimeType;if(R.P5===\"1e\"&&!K.B)return\"dav1enc\";if(Jv(R)&&K.UF)return\"dav1\";if(R.video&&(R.video.isHdr()||R.video.primaries===\"bt2020\")&&!(Yi(K,mx.EOTF)||window.matchMedia&&(window.matchMedia(\"(dynamic-range: high), (video-dynamic-range: high)\").matches||window.screen.pixelDepth>24&&window.matchMedia(\"(color-gamut: p3)\").matches)))return\"dhdr\";if(V===\"338\"&&!(g.Du?W2(53):g.dV&&W2(64)))return\"dopus\";var H=f;H=H===void 0?1:\nH;f={};R.video&&(R.video.width&&(f[mx.WIDTH.name]=R.video.width),R.video.height&&(f[mx.HEIGHT.name]=R.video.height),R.video.fps&&(f[mx.FRAMERATE.name]=R.video.fps*H),R.video.U&&(f[mx.EOTF.name]=R.video.U),R.c5&&(f[mx.BITRATE.name]=R.c5*8*H),R.P5===\"(\"&&(f[mx.CRYPTOBLOCKFORMAT.name]=\"subsample\"),R.video.projectionType===\"EQUIRECTANGULAR\"||R.video.projectionType===\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\"||R.video.projectionType===\"MESH\")&&(f[mx.DECODETOTEXTURE.name]=\"true\");var l;((l=R.audio)==null?0:l.numChannels)&&\nR.P5!==\"i\"&&R.P5!==\"I\"&&(f[mx.CHANNELS.name]=R.audio.numChannels);K.X&&WM(R)&&(f[mx.EXPERIMENTAL.name]=\"allowed\");l=g.Z(Object.keys(mx));for(H=l.next();!H.done;H=l.next()){H=mx[H.value];var F;if(F=f[H.name])if(F=!(H===mx.EOTF&&R.mimeType.indexOf(\"vp09.02\")>0)){F=H;var c=R;F=!(K.experiments.rU(\"html5_ignore_h264_framerate_cap\")&&F===mx.FRAMERATE&&C45(c))}if(F)if(Yi(K,H))if(K.T){if(K.T[H.name]1080&&R.g8&&(D+=\"; hdcp=2.2\");return V===\"227\"?\"hqcenc\":V!==\"585\"&&V!==\"588\"&&V!==\"583\"&&V!==\"586\"&&V!==\"584\"&&V!==\"587\"&&V!==\"591\"&&V!==\"592\"||K.experiments.rU(\"html5_enable_new_hvc_enc\")?s$()&&YA()>=21&&g.mO(\"appletv5\")&&(V===\"410\"||V===\"845\")?!0:K.isTypeSupported(D)?!0:\"tpus\":\"newhvc\"};\nwV=function(){var K=Gs()&&!W2(29),R=g.mO(\"google tv\")&&g.mO(\"chrome\")&&!W2(30);return K||R?!1:Hq()};\nKNB=function(K,R,f){var V=480;R=g.Z(R);for(var D=R.next();!D.done;D=R.next()){D=D.value;var H=D.video.qualityOrdinal;H<=1080&&H>V&&PV5(K,D,f)===!0&&(V=H)}return V};\ng.z9=function(K,R){R=R===void 0?!1:R;return wV()&&K.isTypeSupported('audio/mp4; codecs=\"mp4a.40.2\"')||!R&&K.canPlayType(fH(),\"application/x-mpegURL\")?!0:!1};\nvar hMB=function(K){return Az[d[0]](this,8,K)};\nvar fnN=function(K){RFM(function(){for(var R=g.Z(Object.keys(mx)),f=R.next();!f.done;f=R.next())Yi(K,mx[f.value])})},Yi=function(K,R){R.name in K.Z||(K.Z[R.name]=V3N(K,R));\nreturn K.Z[R.name]},V3N=function(K,R){if(K.T)return!!K.T[R.name];\nif(R===mx.BITRATE&&K.isTypeSupported('video/webm; codecs=\"vp9\"; width=3840; height=2160; bitrate=2000000')&&!K.isTypeSupported('video/webm; codecs=\"vp9\"; width=3840; height=2160; bitrate=20000000'))return!1;if(R===mx.AV1_CODECS)return K.isTypeSupported(\"video/mp4; codecs=\"+R.valid)&&!K.isTypeSupported(\"video/mp4; codecs=\"+R.SO);if(R.video){var f='video/webm; codecs=\"vp9\"';K.isTypeSupported(f)||(f='video/mp4; codecs=\"avc1.4d401e\"')}else f='audio/webm; codecs=\"opus\"',K.isTypeSupported(f)||(f='audio/mp4; codecs=\"mp4a.40.2\"');\nreturn K.isTypeSupported(f+\"; \"+R.name+\"=\"+R.valid)&&!K.isTypeSupported(f+\"; \"+R.name+\"=\"+R.SO)},DPD=function(K,R){var f=0;\nK.J.has(R)&&(f=K.J.get(R).kQ);K.J.set(R,{kQ:f+1,yu:Math.pow(2,f+1)});K.K=!0},qp=function(K){for(var R=[],f=g.Z(K.U.keys()),V=f.next();!V.done;V=f.next()){V=V.value;\nvar D=K.U.get(V);R.push(V+\"_\"+D.maxWidth+\"_\"+D.maxHeight)}return R.join(\".\")},tSv=function(K,R){for(var f=new Map,V=g.Z(K.U.keys()),D=V.next();!D.done;D=V.next()){D=D.value;\nvar H=D.split(\"_\")[0];R.has(H)||f.set(D,K.U.get(D))}K.U=f},JCG=function(K,R,f){var V,D=((V=f.video)==null?void 0:V.fps)||0;\nV=R+\"_\"+D;var H=!!f.audio,l={itag:f.itag,P5:R,c9:H};if(H)l.numChannels=f.audio.numChannels;else{var F=f.video;l.maxWidth=F==null?void 0:F.width;l.maxHeight=F==null?void 0:F.height;l.maxFramerate=D;Yi(K,mx.BITRATE)&&(l.maxBitrateBps=f.c5*8);l.qM=F==null?void 0:F.isHdr()}F=K.U.get(V);F?H||(f=Math.max(F.maxWidth||0,F.maxHeight||0)>Math.max(l.maxWidth||0,l.maxHeight||0)?F:l,R={itag:f.itag,P5:R,c9:H,maxWidth:Math.max(F.maxWidth||0,l.maxWidth||0),maxHeight:Math.max(F.maxHeight||0,l.maxHeight||0),maxFramerate:D,\nqM:f.qM},Yi(K,mx.BITRATE)&&(R.maxBitrateBps=f.maxBitrateBps),K.U.set(V,R)):K.U.set(V,l)},ZQB=function(K,R,f){var V,D=((V=f.video)==null?void 0:V.fps)||0;\nV=R+\"_\"+D;var H=!!f.audio,l=K.U.get(V);a:{var F=K.U.get(V),c=!!f.audio;if(F){if(c){var r=!1;break a}var y;if(!c&&((r=f.video)==null?0:r.height)&&F.maxHeight&&F.maxHeight>=((y=f.video)==null?void 0:y.height)){r=!1;break a}}r=!0}r&&(r=f.itag,R=l?l:{itag:r,P5:R,c9:H},H?R.numChannels=f.audio.numChannels:(H=f.video,R.maxWidth=H==null?void 0:H.width,R.maxHeight=H==null?void 0:H.height,R.maxFramerate=D,Yi(K,mx.BITRATE)&&(R.maxBitrateBps=f.c5*8),R.qM=H==null?void 0:H.isHdr()),K.U.set(V,R))},eW5=function(K){var R;\n(R=navigator.mediaCapabilities)!=null&&R.decodingInfo&&navigator.mediaCapabilities.decodingInfo({type:\"media-source\",video:{contentType:'video/mp4; codecs=\"av01.0.12M.08\"',width:3840,height:2160,bitrate:32E6,framerate:60}}).then(function(f){f.smooth&&f.powerEfficient&&(K.aY=2160)})},xN=function(){g.VQ.call(this);\nthis.items={}},Ec=function(K,R){this.U=K;\nthis.cipher=this.U.exports.AES128CTRCipher_create(R.byteOffset)};\nvar lD_=function(K,R,f,V,D,H){return Sh[d[0]](this,48,K,R,f,V,D,H)};\nQF=function(){this.K=this.m6=0;this.U=Array.from({length:a4.length}).fill(0)};\nHyh=function(){};\n$Po=function(){this.startTimeMs=(0,g.N7)();this.U=!1};\nlnB=function(){this.U=new Hyh};\ndP_=function(K,R,f,V){V=V===void 0?1:V;f>=0&&(R in K.U||(K.U[R]=new QF),K.U[R].QP(f,V))};\nFN_=function(K,R,f,V,D){var H=(0,g.N7)(),l=D?D(R):void 0,F;D=(F=l==null?void 0:l.m6)!=null?F:1;if(D!==0){var c;F=(c=l==null?void 0:l.profile)!=null?c:f;dP_(K,F,H-V,D)}return R};\ncLB=function(K,R,f,V,D){if(R&&typeof R===\"object\"){var H=function(l){return FN_(K,l,f,V,D)};\nif(q3(R))return R.then(H);if(jm(R))return ml(R,H)}return FN_(K,R,f,V,D)};\nrL5=function(){};\nyLD=function(K){var R=window;R.ywc||(R.ywc={});var f=R.ywc[K];if(f)return f;f={};return R.ywc[K]=f};\nhFN=function(K){var R=window;R.ywc&&delete R.ywc[K]};\noWv=function(K){var R=yLD(K);if(R.binP)return R.binP;R.binP=Promise.resolve().then(function(){return fetch(K)}).then(function(f){if(!f.ok)throw Error(\"HTTP\"+f.statusText);\nreturn f.arrayBuffer()});\nR.binP.then(function(f){R.bin=f},function(){hFN(K)});\nreturn R.binP};\nvWD=function(K,R){return uQ(SGD,function(){var f=this;return function D(){var H,l,F;return vT(D,function(c){switch(c.U){case 1:g.cT(c,2);if(!f.U)throw\"wasm.ps.ns\";H=K;l=z$;return $V(c,sr(iyB(f,R)),4);case 4:F=l(c.K);if(!F)throw\"wasm.ps.um\";return $V(c,sr(WebAssembly.instantiate(F,H)),5);case 5:return c.return(c.K);case 2:g.h_(c),g.oi(c,0)}})}()})};\niyB=function(K,R){return uQ(K,function(){var f=this;return function D(){var H,l,F,c,r,y,h,S,v;return vT(D,function(L){switch(L.U){case 1:g.cT(L,2);H=[];l=function(){return\"wasm.ps.c: [\"+H.map(function(E){return'\"'+E+'\"'}).join(\", \")+\"]\"};\nF=yLD(R);if(F.mod)return L.return(F.mod);if(!F.modP){L.J5(4);break}g.Fp(L,5);c=z$;return $V(L,sr(F.modP),7);case 7:return L.return(c(L.K));case 5:g.yH(L),H.unshift(\"pcm\");case 4:if((r=F.bin)||!F.binP){L.J5(8);break}g.Fp(L,9);y=z$;return $V(L,sr(F.binP),11);case 11:r=y(L.K);g.rW(L,8);break;case 9:g.yH(L),H.unshift(\"pfb\");case 8:if(r){L.J5(12);break}g.Fp(L,13);h=z$;return $V(L,sr(oWv(R)),15);case 15:r=h(L.K);g.rW(L,12);break;case 13:throw g.yH(L),f.U=!1,H.unshift(\"fb\"),l();case 12:return g.Fp(L,16),\nS=z$,$V(L,sr(WebAssembly.compile(r)),18);case 18:return L.return(S(L.K));case 16:v=g.yH(L),hFN(R),H.unshift(\"ca: \"+v);case 17:throw l();case 2:g.h_(L),g.oi(L,0)}})}()})};\nLNw=function(){};\nwq_=function(){var K=this;this.proc_exit=function(){};\nthis.fd_write=function(R,f,V){if(!K.exports)return 1;R=new Uint32Array(K.exports.memory.buffer,f,V*2);f=[];for(var D=0;D0&&I4<=2.3;F=R?R.useNativeControls:K.use_native_controls;this.N=g.kN(this)&&this.K;c=this.K&&!this.N;F=g.gV(this)||!l&&dm(c,F)?\"3\":\"1\";this.disableOrganicUi=!(R==null||!R.disableOrganicUi);c=R?R.controlsType:K.controls;this.controlsType=this.disableOrganicUi||c===\"0\"||c===0?\"0\":F;this.Ml=this.K;this.color=F4(\"red\",R?R.progressBarColor:K.color,Xqv);this.wV=this.controlsType===\"3\";this.Gt=!this.J;this.DU=(F=!this.Gt&&!Pg(this)&&!this.aY&&!this.T&&!T9(this))&&\n!this.wV&&this.controlsType===\"1\";this.M1=g.Oc(this)&&F&&this.controlsType===\"0\"&&!this.DU&&!(R==null?0:R.embedsEnableEmc3ds);this.RV=this.zX=l;this.vK=(this.controlsType===\"3\"||this.K||dm(!1,K.use_media_volume))&&!this.N;this.N9=Ra&&!g.Rz(601)?!1:!0;this.Co=this.J||!1;this.Fn=Pg(this)?\"\":(this.loaderUrl||K.post_message_origin||\"\").substring(0,128);this.widgetReferrer=rm(\"\",R?R.widgetReferrer:K.widget_referrer);var r;R?R.disableCastApi&&(r=!1):r=K.enablecastapi;r=!this.Z||dm(!0,r);l=!0;R&&R.disableMdxCast&&\n(l=!1);this.ZY=this.Y(\"enable_cast_for_web_unplugged\")&&g.jA(this)&&l||g.ke(this)&&l||r&&l&&this.controlsType===\"1\"&&!this.K&&(Pg(this)||g.Oc(this)||g.ql(this));this.IV=!!window.document.pictureInPictureEnabled||$0();r=R?!!R.supportsAutoplayOverride:dm(!1,K.autoplayoverride);this.CP=!(this.K&&!g.kN(this))&&!g.mO(\"nintendo wiiu\")||r;this.lH=(R?!!R.enableMutedAutoplay:dm(!1,K.mutedautoplay))&&!1;r=(Pg(this)||T9(this))&&this.playerStyle===\"blazer\";this.G3=R?!!R.disableFullscreen:!dm(!0,K.fs);l=g.Sz(g.Ml(this))&&\ng.kN(this);this.v5=!this.G3&&(r||g.EX())&&!l;this.n6=this.Y(\"html5_picture_in_picture_logging_onresize\");var y;this.cP=(y=g.mz(this.experiments,\"html5_picture_in_picture_logging_onresize_ratio\"))!=null?y:.33;this.nM=this.Y(\"html5_picture_in_picture_blocking_onresize\");this.vg=this.Y(\"html5_picture_in_picture_blocking_ontimeupdate\");this.Oz=this.Y(\"html5_picture_in_picture_blocking_document_fullscreen\");this.Sf=this.Y(\"html5_picture_in_picture_blocking_standard_api\");y=Gs()&&W2(58)&&!He();r=pP||typeof MediaSource===\n\"undefined\";this.ql=this.Y(\"uniplayer_block_pip\")&&(y||r)||this.nM||this.vg||this.Sf;y=g.kN(this)&&!this.DT;var h;R?R.disableRelatedVideos!==void 0&&(h=!R.disableRelatedVideos):h=K.rel;this.aQ=y||dm(!this.T,h);this.Xb=dm(!1,R?R.enableContentOwnerRelatedVideos:K.co_rel);this.EF=He()&&I4>0&&I4<=4.4?\"_top\":\"_blank\";this.WB=g.ql(this);this.By=dm(this.playerStyle===\"blazer\",R?R.enableCsiLogging:K.enablecsi);switch(this.playerStyle){case \"blogger\":h=\"bl\";break;case \"discover-ads\":h=\"dd\";break;case \"gmail\":h=\n\"gm\";break;case \"gac\":h=\"ga\";break;case \"ads-preview\":h=\"ap\";break;case \"ads-fe\":h=\"adfe\";break;case \"books\":h=\"gb\";break;case \"docs\":case \"flix\":h=\"gd\";break;case \"duo\":h=\"gu\";break;case \"google-live\":h=\"gl\";break;case \"google-one\":h=\"go\";break;case \"play\":case \"play-ads\":h=\"gp\";break;case \"chat\":h=\"hc\";break;case \"hangouts-meet\":h=\"hm\";break;case \"photos-edu\":case \"picasaweb\":h=\"pw\";break;default:h=\"yt\"}this.UF=h;this.B5=rm(\"\",R?R.authorizedUserIndex:K.authuser);this.hV=g.kN(this)&&(this.Ch||!qdw()||\nthis.oY);var S;R?R.disableWatchLater!==void 0&&(S=!R.disableWatchLater):S=K.showwatchlater;this.XQ=((h=!this.hV)||!!this.B5&&h)&&dm(!this.aY,this.Z?S:void 0);this.qW=R?R.isMobileDevice||!!R.disableKeyboardControls:dm(!1,K.disablekb);this.loop=dm(!1,K.loop);this.pageId=rm(\"\",R?R.initialDelegatedSessionId:K.pageid);this.EK=dm(!0,K.canplaylive);this.lz=this.experiments.rU(\"html5_lr_overwrite_default_audio_quality_setting\")?1:2;this.Rp=dm(!1,K.livemonitor);this.disableSharing=dm(this.T,R?R.disableSharing:\nK.ss);(S=R&&this.Y(\"fill_video_container_size_override_from_wpcc\")?R.videoContainerOverride:K.video_container_override)?(h=S.split(\"x\"),h.length!==2?S=null:(S=Number(h[0]),h=Number(h[1]),S=isNaN(S)||isNaN(h)||S*h<=0?null:new g.lu(S,h))):S=null;this.kL=S;this.mute=R?!!R.startMuted:dm(!1,K.mute);this.storeUserVolume=!this.mute&&dm(this.controlsType!==\"0\",R?R.storeUserVolume:K.store_user_volume);S=R?R.annotationsLoadPolicy:K.iv_load_policy;this.annotationsLoadPolicy=this.controlsType===\"3\"?3:F4(void 0,\nS,bK);this.captionsLanguagePreference=R?R.captionsLanguagePreference||\"\":rm(\"\",K.cc_lang_pref);S=F4(2,R?R.captionsLanguageLoadPolicy:K.cc_load_policy,bK);this.controlsType===\"3\"&&S===2&&(S=3);this.Pg=S;this.Dk=R?R.hl||\"en_US\":rm(\"en_US\",K.hl);this.region=R?R.contentRegion||\"US\":rm(\"US\",K.cr);this.hostLanguage=R?R.hostLanguage||\"en\":rm(\"en\",K.host_language);this.qh=!this.Ch&&Math.random()=0&&K0&&K.Ly&&(V.sort(),g.A$(new g.NB(\"Player client parameters changed after startup\",V)));K.userAge=ce(K.userAge,R.user_age);K.rQ=rm(K.rQ,R.user_display_email);K.userDisplayImage=rm(K.userDisplayImage,R.user_display_image);g.kh(K.userDisplayImage)||(K.userDisplayImage=\n\"\");K.userDisplayName=rm(K.userDisplayName,R.user_display_name);K.Jb=rm(K.Jb,R.user_gender);K.csiPageType=rm(K.csiPageType,R.csi_page_type);K.csiServiceName=rm(K.csiServiceName,R.csi_service_name);K.By=dm(K.By,R.enablecsi);K.pageId=rm(K.pageId,R.pageid);if(f=R.enabled_engage_types)K.enabledEngageTypes=new Set(f.split(\",\"));R.living_room_session_po_token&&(K.v9=R.living_room_session_po_token.toString())};\nuK=function(K,R){return!K.T&&Gs()&&W2(55)&&K.controlsType===\"3\"&&!R};\ng.sc=function(K){K=p5(K.kI);return K===\"www.youtube-nocookie.com\"?\"www.youtube.com\":K};\nC5=function(K,R,f){return K.protocol+\"://i1.ytimg.com/vi/\"+R+\"/\"+(f||\"hqdefault.jpg\")};\neA=function(K){return Pg(K)&&!g.jA(K)};\ng.gV=function(K){return K.Y(\"html5_local_playsinline\")?Ra&&!g.Rz(602)&&!(\"playsInline\"in fH()):Ra&&!K.YL||g.mO(\"nintendo wiiu\")?!0:!1};\no4=function(K){return K.U.c};\ng.cX=function(K){return/^TVHTML5/.test(o4(K))};\nKc=function(K){return o4(K)===\"TVHTML5\"};\nt3w=function(K){return o4(K)===\"TVHTML5_SIMPLY_EMBEDDED_PLAYER\"};\nTv_=function(K){return K.U.cmodel===\"CHROMECAST ULTRA/STEAK\"||K.U.cmodel===\"CHROMECAST/STEAK\"};\ng.R3=function(){return window.devicePixelRatio>1?window.devicePixelRatio:1};\nFE=function(K){return/web/i.test(o4(K))};\ng.fc=function(K){return o4(K).toUpperCase()===\"WEB\"};\nmT=function(K){return o4(K)===\"WEB_KIDS\"};\ng.jA=function(K){return o4(K)===\"WEB_UNPLUGGED\"};\nVG=function(K){return o4(K)===\"TVHTML5_UNPLUGGED\"};\ng.dI=function(K){return g.jA(K)||o4(K)===\"TV_UNPLUGGED_CAST\"||VG(K)};\ng.ke=function(K){return o4(K)===\"WEB_REMIX\"};\ng.Db=function(K){return o4(K)===\"WEB_MUSIC_INTEGRATIONS\"};\ng.Hd=function(K){return o4(K)===\"WEB_EMBEDDED_PLAYER\"};\ng.l$=function(K){return(K.deviceIsAudioOnly||!g.Du||pP||K.controlsType===\"3\"?!1:g.Dx?K.J&&g.Rz(51):!0)||(K.deviceIsAudioOnly||!g.dV||pP||K.controlsType===\"3\"?!1:g.Dx?K.J&&g.Rz(48):g.Rz(38))||(K.deviceIsAudioOnly||!g.Bg||pP||K.controlsType===\"3\"?!1:g.Dx?K.J&&g.Rz(37):g.Rz(27))||!K.deviceIsAudioOnly&&g.$_&&!Yd5()&&g.Rz(11)||!K.deviceIsAudioOnly&&g.v7&&g.Rz(\"604.4\")};\ngWB=function(K){if(g.Oc(K)&&n5)return!1;if(g.dV){if(!g.Rz(47)||!g.Rz(52)&&g.Rz(51))return!1}else if(g.v7)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};\njTe=function(K,R){return K.enabledEngageTypes.has(R.toString())||Oyc.includes(R)};\nPg=function(K){return K.Xt===\"detailpage\"};\ng.Oc=function(K){return K.Xt===\"embedded\"};\nd6=function(K){return K.Xt===\"leanback\"};\nT9=function(K){return K.Xt===\"adunit\"||K.playerStyle===\"gvn\"};\ng.ql=function(K){return K.Xt===\"profilepage\"};\ng.kN=function(K){return K.J&&g.Oc(K)&&!T9(K)&&!K.T};\nFQ=function(K){if(!K.userDisplayImage)return\"\";var R=K.userDisplayImage.split(\"/\");if(R.length===5)return K=R[R.length-1].split(\"=\"),K[1]=\"s20-c\",R[R.length-1]=K.join(\"=\"),R.join(\"/\");if(R.length===8)return R.splice(7,0,\"s20-c\"),R.join(\"/\");if(R.length===9)return R[7]+=\"-s20-c\",R.join(\"/\");g.A$(new g.NB(\"Profile image not a FIFE URL.\",K.userDisplayImage));return K.userDisplayImage};\ng.cd=function(K){var R=g.sc(K);qGh.includes(R)&&(R=\"www.youtube.com\");return K.protocol+\"://\"+R};\ng.r6=function(K,R){R=R===void 0?\"\":R;if(K.Tk){var f=new y9,V,D=K.Tk();D.signedOut?V=\"\":D.token?V=D.token:D.pendingResult.then(function(H){D.signedOut?f.resolve(\"\"):f.resolve(H.token)},function(H){g.A$(new g.NB(\"b189348328_oauth_callback_failed\",{error:H}));\nf.resolve(R)});\nreturn V!==void 0?nI(V):new Ts(f)}return nI(R)};\nyG=function(K,R){R=R===void 0?\"\":R;return K.ao?M3(!0):G1(ml(M3(g.r6(K,R)),function(f){return M3(!!f)}),function(){return M3(!1)})};\nM3_=function(K){var R;return!((R=K.webPlayerContextConfig)==null||!R.enableSelfProfilingLogging)};\nbyc=function(K,R){K.r4=R;var f,V;(f=K.nh)!=null&&(V=f.U)!=null&&(V.U=new t1(R,V.K,V.X),g.q(V,V.U))};\np5=function(K){var R=g.Nw(K);return(K=Number(g.Qu(K)[4]||null)||null)?R+\":\"+K:R};\nhP=function(K,R){R=R===void 0?!1:R;var f=Nr[K],V=pqB[f],D=YGv[K];if(!D||!V)return null;R=new Ev(R?D.height:D.width,R?D.width:D.height,D.fps);V=T5(V,R,f);return new Uv(K,V,{video:R,c5:D.bitrate/8})};\nGTe=function(K){var R=pqB[Nr[K]],f=mPv[K];return f&&R?new Uv(K,R,{audio:new FH(f.audioSampleRate,f.numChannels)}):null};\no3=function(K){this.U=K};\nSe=function(K,R,f,V){if(f)return PS();f={};var D=fH();R=g.Z(R);for(var H=R.next();!H.done;H=R.next())if(H=H.value,K.canPlayType(D,H.getInfo().mimeType)||V){var l=H.U.video.quality;if(!f[l]||f[l].getInfo().S4())f[l]=H}K=[];f.auto&&K.push(f.auto);V=g.Z(a2);for(D=V.next();!D.done;D=V.next())(D=f[D.value])&&K.push(D);return K.length?nI(K):PS()};\nunh=function(K){this.itag=K.itag;this.url=K.url;this.codecs=K.codecs;this.width=K.width;this.height=K.height;this.fps=K.fps;this.bitrate=K.bitrate;var R;this.K=((R=K.audioItag)==null?void 0:R.split(\",\"))||[];this.Mc=K.Mc;this.g8=K.g8||\"\";this.tV=K.tV;this.audioChannels=K.audioChannels;this.U=\"\"};\nsT2=function(K,R,f,V){R=R===void 0?!1:R;f=f===void 0?!0:f;V=V===void 0?{}:V;var D={};K=g.Z(K);for(var H=K.next();!H.done;H=K.next()){H=H.value;if(R&&MediaSource&&MediaSource.isTypeSupported){var l=H.type;H.audio_channels&&(l=l+\"; channels=\"+H.audio_channels);if(!MediaSource.isTypeSupported(l)){V[H.itag]=\"tpus\";continue}}if(f||!H.drm_families||H.eotf!==\"smpte2084\"&&H.eotf!==\"arib-std-b67\"){l=void 0;var F={bt709:\"SDR\",bt2020:\"SDR\",smpte2084:\"PQ\",\"arib-std-b67\":\"HLG\"},c=H.type.match(/codecs=\"([^\"]*)\"/);\nc=c?c[1]:\"\";H.audio_track_id&&(l=new g.AS(H.name,H.audio_track_id,!!H.is_default));var r=H.eotf;H=new unh({itag:H.itag,url:H.url,codecs:c,width:Number(H.width),height:Number(H.height),fps:Number(H.fps),bitrate:Number(H.bitrate),audioItag:H.audio_itag,Mc:r?F[r]:void 0,g8:H.drm_families,tV:l,audioChannels:Number(H.audio_channels)});D[H.itag]=D[H.itag]||[];D[H.itag].push(H)}else V[H.itag]=\"enchdr\"}return D};\nCUv=function(K,R,f,V,D){this.X=K;this.K=R;this.B=f;this.cpn=V;this.T=D;this.J=0;this.U=\"\"};\neFh=function(K,R){K.X.some(function(f){var V;return((V=f.tV)==null?void 0:V.getId())===R});\nK.U=R};\ni$=function(K,R,f){K.cpn&&(R=g.B9(R,{cpn:K.cpn}));f&&(R=g.B9(R,{paired:f}));return R};\nKAB=function(K,R){K=K.itag.toString();R!==null&&(K+=R.itag.toString());return K};\nR$w=function(K){for(var R=[],f=[],V=g.Z(K.K),D=V.next();!D.done;D=V.next())D=D.value,D.bitrate<=K.J?R.push(D):f.push(D);R.sort(function(H,l){return l.bitrate-H.bitrate});\nf.sort(function(H,l){return H.bitrate-l.bitrate});\nK.K=R.concat(f)};\nvd=function(K,R,f){this.U=K;this.K=R;this.expiration=f;this.Qe=null};\nfwN=function(K,R){if(!(pP||eO()||s$()))return null;K=sT2(R,K.Y(\"html5_filter_fmp4_in_hls\"));if(!K)return null;R=[];for(var f={},V=g.Z(Object.keys(K)),D=V.next();!D.done;D=V.next()){D=g.Z(K[D.value]);for(var H=D.next();!H.done;H=D.next()){var l=H.value;l.tV&&(H=l.tV.getId(),f[H]||(l=new g.AG(H,l.tV),f[H]=l,R.push(l)))}}return R.length>0?R:null};\nlwc=function(K,R,f,V,D,H,l){if(!(pP||eO()||s$()))return PS();var F={},c=VTw(f),r=sT2(f,K.Y(\"html5_filter_fmp4_in_hls\"),K.B.N,F);if(!r)return l({noplst:1}),PS();D5h(r);f={};var y=(f.fairplay=\"https://youtube.com/api/drm/fps?ek=uninitialized\",f),h;f=[];var S=[],v=[],L=null,E=\"\";V=V&&V.match(/hls_timedtext_playlist/)?new unh({itag:\"0\",url:V,codecs:\"vtt\",width:0,height:0,fps:0,bitrate:0,tV:new g.AS(\"English\",\"en\",!1)}):null;for(var Q=g.Z(Object.keys(r)),J=Q.next();!J.done;J=Q.next())if(J=J.value,!K.Y(\"html5_disable_drm_hfr_1080\")||\nJ!==\"383\"&&J!==\"373\"){J=g.Z(r[J]);for(var A=J.next();!A.done;A=J.next())if(A=A.value,A.width){for(var B=g.Z(A.K),k=B.next();!k.done;k=B.next())if(k=k.value,r[k]){A.U=k;break}A.U||(A.U=H6B(r,A));if(B=r[A.U])if(f.push(A),A.g8===\"fairplay\"&&(h=y),k=\"\",A.Mc===\"PQ\"?k=\"smpte2084\":A.Mc===\"HLG\"&&(k=\"arib-std-b67\"),k&&(E=k),v.push($5o(B,[A],V,H,A.itag,A.width,A.height,A.fps,c,void 0,void 0,h,k)),!L||A.width*A.height*A.fps>L.width*L.height*L.fps)L=A}else S.push(A)}else F[J]=\"disdrmhfr\";v.reduce(function(b,\nM){return M.getInfo().isEncrypted()&&b},!0)&&(h=y);\nD=Math.max(D,0);y=L||{};r=y.fps===void 0?0:y.fps;L=y.width===void 0?0:y.width;y=y.height===void 0?0:y.height;Q=K.Y(\"html5_native_audio_track_switching\");v.push($5o(S,f,V,H,\"93\",L,y,r,c,\"auto\",D,h,E,Q));Object.entries(F).length&&l(F);return Se(K.B,v,uK(K,R),!1)};\n$5o=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v){for(var L=0,E=\"\",Q=g.Z(K),J=Q.next();!J.done;J=Q.next())J=J.value,E||(E=J.itag),J.audioChannels&&J.audioChannels>L&&(L=J.audioChannels,E=J.itag);D=new Uv(D,\"application/x-mpegURL\",{audio:new FH(0,L),video:new Ev(H,l,F,null,void 0,r,void 0,void 0,S),g8:h,jY:E});K=new CUv(K,R,f?[f]:[],V,!!v);K.J=y?y:1369843;return new vd(D,K,c)};\nVTw=function(K){K=g.Z(K);for(var R=K.next();!R.done;R=K.next())if(R=R.value,R.url&&(R=R.url.split(\"expire/\"),!(R.length<=1)))return+R[1].split(\"/\")[0];return NaN};\nH6B=function(K,R){for(var f=g.Z(Object.keys(K)),V=f.next();!V.done;V=f.next()){V=V.value;var D=K[V][0];if(!D.width&&D.g8===R.g8&&!D.audioChannels)return V}return\"\"};\nD5h=function(K){for(var R=new Set,f=g.Z(Object.values(K)),V=f.next();!V.done;V=f.next())V=V.value,V.length&&(V=V[0],V.height&&V.codecs.startsWith(\"vp09\")&&R.add(V.height));f=[];if(R.size){V=g.Z(Object.keys(K));for(var D=V.next();!D.done;D=V.next())if(D=D.value,K[D].length){var H=K[D][0];H.height&&R.has(H.height)&&!H.codecs.startsWith(\"vp09\")&&f.push(D)}}R=g.Z(f);for(f=R.next();!f.done;f=R.next())delete K[f.value]};\nLc=function(K,R){this.U=K;this.K=R};\nd55=function(K,R,f,V){var D=[];f=g.Z(f);for(var H=f.next();!H.done;H=f.next()){var l=H.value;if(l.url){H=new g.wo(l.url,!0);if(l.s){var F=H,c=l.sp,r=$v(1,decodeURIComponent(l.s));F[d[13]](c,encodeURIComponent(r))}F=g.Z(Object.keys(V));for(c=F.next();!c.done;c=F.next())c=c.value,H.set(c,V[c]);l=jw(l.type,l.quality,l.itag,l.width,l.height);D.push(new Lc(l,H))}}return Se(K.B,D,uK(K,R),!1)};\nw6=function(K,R){this.U=K;this.K=R};\nFA5=function(K,R,f){var V=[];f=g.Z(f);for(var D=f.next();!D.done;D=f.next())if((D=D.value)&&D.url){var H=jw(D.type,\"medium\",\"0\");V.push(new w6(H,D.url))}return Se(K.B,V,uK(K,R),!1)};\ncrG=function(K,R){var f=[],V=jw(R.type,\"auto\",R.itag);f.push(new w6(V,R.url));return Se(K.B,f,!1,!0)};\nyrG=function(K){return K&&rrc[K]?rrc[K]:null};\nh$e=function(K){switch(K){case \"multiview.ustreamer_disabled\":case \"sabr.live_no_max_sq\":case \"sabr.live_unauthorized_request\":case \"sabr.malformed_config\":case \"sabr.media_serving_enforcement_id_error\":case \"sabr.metadata_fetcher_error\":case \"sabr.no_audio_selected\":case \"sabr.no_available_formats\":case \"sabr.no_redirect_url\":case \"sabr.no_video_selected\":case \"sabr.too_many_chunk_reader_error_retries\":return K;default:return\"sabr.config\"}};\noMG=function(K){if(K=K.commonConfig)this.url=K.url,this.urlQueryOverride=K.urlQueryOverride,K.ustreamerConfig&&(this.Om=A1(K.ustreamerConfig)||void 0)};\nSkB=function(K,R){var f;if(R=R==null?void 0:(f=R.watchEndpointSupportedOnesieConfig)==null?void 0:f.html5PlaybackOnesieConfig)K.R2=new oMG(R)};\ng.zj=function(K){K=K===void 0?{}:K;this.languageCode=K.languageCode||\"\";this.languageName=K.languageName||null;this.kind=K.kind||\"\";this.name=K.name===void 0?null:K.name;this.displayName=K.displayName||null;this.id=K.id||null;this.U=K.is_servable||!1;this.isTranslateable=K.is_translateable||!1;this.url=K.url||null;this.vssId=K.vss_id||\"\";this.isDefault=K.is_default||!1;this.translationLanguage=K.translationLanguage||null;this.xtags=K.xtags||\"\";this.captionId=K.captionId||\"\"};\ng.E2=function(K){var R={languageCode:K.languageCode,languageName:K.languageName,displayName:g.x_(K),kind:K.kind,name:K.name,id:K.id,is_servable:K.U,is_default:K.isDefault,is_translateable:K.isTranslateable,vss_id:K.vssId};K.xtags&&(R.xtags=K.xtags);K.captionId&&(R.captionId=K.captionId);K.translationLanguage&&(R.translationLanguage=K.translationLanguage);return R};\ng.a3=function(K){return K.translationLanguage?K.translationLanguage.languageCode:K.languageCode};\ng.i6G=function(K){var R=K.vssId;K.translationLanguage&&R&&(R=\"t\"+R+\".\"+g.a3(K));return R};\ng.x_=function(K){var R=[];if(K.displayName)R.push(K.displayName);else{var f=K.languageName||\"\";R.push(f);K.kind===\"asr\"&&f.indexOf(\"(\")===-1&&R.push(\" (Automatic Captions)\");K.name&&R.push(\" - \"+K.name)}K.translationLanguage&&R.push(\" >> \"+K.translationLanguage.languageName);return R.join(\"\")};\nz$e=function(K,R,f,V){K||(K=R&&vMe.hasOwnProperty(R)&&LAc.hasOwnProperty(R)?LAc[R]+\"_\"+vMe[R]:void 0);R=K;if(!R)return null;K=R.match(wOc);if(!K||K.length!==5)return null;if(K=R.match(wOc)){var D=Number(K[3]),H=[7,8,10,5,6];K=!(Number(K[1])===1&&D===8)&&H.indexOf(D)>=0}else K=!1;return f||V||K?R:null};\nQG=function(K,R){for(var f={},V=g.Z(Object.keys(x5o)),D=V.next();!D.done;D=V.next()){D=D.value;var H=R?R+D:D;H=K[H+\"_webp\"]||K[H];g.kh(H)&&(f[x5o[D]]=H)}return f};\nNv=function(K){var R={};if(!K||!K.thumbnails)return R;K=K.thumbnails.filter(function(F){return!!F.url});\nK.sort(function(F,c){return F.width-c.width||F.height-c.height});\nfor(var f=g.Z(Object.keys(EMM)),V=f.next();!V.done;V=f.next()){var D=Number(V.value);V=EMM[D];for(var H=g.Z(K),l=H.next();!l.done;l=H.next())if(l=l.value,l.width>=D){D=awe(l.url);g.kh(D)&&(R[V]=D);break}}(K=K.pop())&&K.width>=1280&&(K=awe(K.url),g.kh(K)&&(R[\"maxresdefault.jpg\"]=K));return R};\nawe=function(K){return K.startsWith(\"//\")?\"https:\"+K:K};\nU2=function(K){return K&&K.baseUrl||\"\"};\nWd=function(K){K=g.FN(K);for(var R=g.Z(Object.keys(K)),f=R.next();!f.done;f=R.next()){f=f.value;var V=K[f];K[f]=Array.isArray(V)?V[0]:V}return K};\nNqw=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next())if(f=f.value.playerAnnotationsUrlsRenderer){f.adsOnly&&(K.OW=!0);if(R=f.loadPolicy)K.annotationsLoadPolicy=Q6e[R];if(R=f.invideoUrl)K.TT=TX(R);K.SE=!0;break}};\nU5c=function(K,R){K.botguardData=R.playerAttestationRenderer.botguardData;R=R.playerAttestationRenderer.challenge;R!=null&&(K.C_=R)};\ntT5=function(K,R){K.captionTracks=[];if(R.captionTracks)for(var f=g.Z(R.captionTracks),V=f.next();!V.done;V=f.next()){V=V.value;var D=WA2(V.baseUrl);if(!D)return;D={is_translateable:!!V.isTranslatable,languageCode:V.languageCode,languageName:V.name&&g.ri(V.name),url:D,vss_id:V.vssId,kind:V.kind};D.name=V.trackName;D.displayName=V.name&&g.ri(V.name);K.captionTracks.push(new g.zj(D))}K.FI=R.audioTracks||[];K.YJ=R.defaultAudioTrackIndex||0;K.IA=[];if(R.translationLanguages)for(f=g.Z(R.translationLanguages),\nV=f.next();!V.done;V=f.next()){D=V.value;V={};V.languageCode=D.languageCode;V.languageName=g.ri(D.languageName);if(D.translationSourceTrackIndices){V.translationSourceTrackIndices=[];for(var H=g.Z(D.translationSourceTrackIndices),l=H.next();!l.done;l=H.next())V.translationSourceTrackIndices.push(l.value)}if(D.excludeAudioTrackIndices)for(V.excludeAudioTrackIndices=[],D=g.Z(D.excludeAudioTrackIndices),H=D.next();!H.done;H=D.next())V.excludeAudioTrackIndices.push(H.value);K.IA.push(V)}K.x7=[];if(R.defaultTranslationSourceTrackIndices)for(f=\ng.Z(R.defaultTranslationSourceTrackIndices),V=f.next();!V.done;V=f.next())K.x7.push(V.value);K.Xu=!!R.contribute&&!!R.contribute.captionsMetadataRenderer};\nJr5=function(K,R,f){var V=R.errorScreen;if(!(V&&(V.playerLegacyDesktopYpcOfferRenderer||V.playerLegacyDesktopYpcTrailerRenderer||V.ypcTrailerRenderer)||f&&f.isUpcoming||[\"OK\",\"LIVE_STREAM_OFFLINE\",\"FULLSCREEN_ONLY\"].includes(R.status))){K.errorCode=yrG(R.errorCode)||\"auth\";if(f=V&&V.playerErrorMessageRenderer){K.playerErrorMessageRenderer=f;var D=f.reason;D&&(K.errorReason=g.ri(D));if(f=f.subreason)K.ZT=g.ri(f),K.K$=f}else K.errorReason=R.reason||null;f=R.status;if(f===\"LOGIN_REQUIRED\")K.errorDetail=\n\"1\";else if(f===\"CONTENT_CHECK_REQUIRED\")K.errorDetail=\"2\";else if(f===\"AGE_CHECK_REQUIRED\")R=(R=R.errorScreen)&&R.playerKavRenderer,K.errorDetail=R&&R.kavUrl?\"4\":\"3\";else{var H,l,F;V=(F=V==null?void 0:(H=V.playerErrorMessageRenderer)==null?void 0:(l=H.proceedButton)==null?void 0:l.buttonRenderer)==null?void 0:F.command;if(R.isBlockedInRestrictedMode)K.errorDetail=\"5\";else{var c;((c=g.z(V,Ar2))==null?void 0:c.signal)===\"RELOAD_PAGE\"?K.errorDetail=\"7\":K.errorDetail=\"0\"}}}};\nZ6N=function(K,R){K.l2=!0;var f=R.heartbeatToken;f&&(K.drmSessionId=R.drmSessionId||\"\",K.heartbeatToken=f,K.xf=Number(R.intervalMilliseconds),K.xx=Number(R.maxRetries),K.nX=!!R.softFailOnError,K.Qy=!!R.useInnertubeHeartbeatsForDrm);K.heartbeatServerData=R.heartbeatServerData;var V;K.NN=!((V=R.heartbeatAttestationConfig)==null||!V.requiresAttestation)};\nki5=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next()){f=f.value;var V=f.interstitials.map(function(l){var F=g.z(l,Bqo);if(F)return{is_yto_interstitial:!0,raw_player_response:F};if(l=g.z(l,XO2))return Object.assign({is_yto_interstitial:!0},Iw(l))});\nV=g.Z(V);for(var D=V.next();!D.done;D=V.next())switch(D=D.value,f.podConfig.playbackPlacement){case \"INTERSTITIAL_PLAYBACK_PLACEMENT_PRE\":K.interstitials=K.interstitials.concat({time:0,playerVars:D,rC:5});break;case \"INTERSTITIAL_PLAYBACK_PLACEMENT_POST\":K.interstitials=K.interstitials.concat({time:0x7ffffffffffff,playerVars:D,rC:6});break;case \"INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME\":var H=Number(f.podConfig.timeToInsertAtMillis);K.interstitials=K.interstitials.concat({time:H,playerVars:D,\nrC:H===0?5:7})}}};\nTqc=function(K,R){if(R=R.find(function(f){return!(!f||!f.tooltipRenderer)}))K.tooltipRenderer=R.tooltipRenderer};\nP0B=function(K,R){R.subscribeCommand&&(K.subscribeCommand=R.subscribeCommand);R.unsubscribeCommand&&(K.unsubscribeCommand=R.unsubscribeCommand);R.addToWatchLaterCommand&&(K.addToWatchLaterCommand=R.addToWatchLaterCommand);R.removeFromWatchLaterCommand&&(K.removeFromWatchLaterCommand=R.removeFromWatchLaterCommand);R.getSharePanelCommand&&(K.getSharePanelCommand=R.getSharePanelCommand)};\nnM5=function(K,R){R!=null?(K.g0=R,K.nL=!0):(K.g0=\"\",K.nL=!1)};\nO6_=function(K,R){if(R=R.playerControlsOverlayRenderer)nM5(K,R.controlBgHtml),R.mutedAutoplay?(R=g.z(R.mutedAutoplay,Iw_))&&R.endScreen&&(R=g.z(R.endScreen,gM_))&&R.text&&(K.Mi=g.ri(R.text)):K.mutedAutoplay=!1};\nj6_=function(K,R){var f=R.backgroundability;f&&f.backgroundabilityRenderer.backgroundable&&(K.backgroundable=!0);var V,D;if((V=R.offlineability)==null?0:(D=V.offlineabilityRenderer)==null?0:D.offlineable)K.offlineable=!0;if(f=R.contextParams)K.contextParams=f;(f=R.pictureInPicture)&&f.pictureInPictureRenderer.playableInPip&&(K.pipable=!0);R.playableInEmbed&&(K.allowEmbed=!0);if(f=R.ypcClickwrap)R=f.playerLegacyDesktopYpcClickwrapRenderer,f=f.ypcRentalActivationRenderer,R?(K.CS=R.durationMessage||\n\"\",K.bf=!0):f&&(R=f.durationMessage,K.CS=R?g.ri(R):\"\",K.bf=!0)};\nMT_=function(K,R,f){var V=U2(R.googleRemarketingUrl);V&&(K.googleRemarketingUrl=V);if(V=U2(R.youtubeRemarketingUrl))K.youtubeRemarketingUrl=V;if(V=R.heartbeatLoggingToken)K.heartbeatLoggingToken=V;V={};var D=U2(R.ptrackingUrl);if(D){D=Wd(D);var H=D.oid;H&&(K.Y3=H);if(H=D.pltype)K.o3=H;if(H=D.ptchn)K.fd=H;if(H=D.ptk)K.BI=encodeURIComponent(H);if(D=D.m)K.ZV=D}if(D=U2(R.qoeUrl)){D=g.FN(D);H=g.Z(Object.keys(D));for(var l=H.next();!l.done;l=H.next()){l=l.value;var F=D[l];D[l]=Array.isArray(F)?F.join(\",\"):\nF}K.qb=D;if(H=D.cat)K.Y(\"html5_enable_qoe_cat_list\")?K.FM=K.FM.concat(H.split(\",\")):K.uG=H;if(H=D.live)K.BL=H;if(D=D.drm_product)K.drmProduct=D}if(D=U2(R.videostatsPlaybackUrl)){D=Wd(D);if(H=D.adformat)if(f.adformat=H,l=K.C(),l=z$e(H,K.ac,l.J,l.Z))K.adFormat=l;if(l=D.aqi)f.ad_query_id=l;if(f=D.autoplay)K.Z8=f==\"1\",K.ag=f==\"1\";if(f=D.autonav)K.isAutonav=f==\"1\";if(f=D.delay)K.XG=Gd(f);if(f=D.ei)K.eventId=f;if(f=A1(D.adcontext))try{var c=qko(f);c&&(K.nN=c)}catch(r){g.A$(Error(\"Malformed adContext\"))}if(f||\nH)K.Z8=!0;if(c=D.feature)K.Qv=c;if(c=D.list)K.playlistId=c;if(c=D.of)K.Oc=c;if(c=D.osid)K.osid=c;if(c=D.referrer)K.referrer=c;if(c=D.sdetail)K.Sk=c;if(c=D.sourceid)K.H6Q=c;if(c=D.ssrt)K.Zi=c==\"1\";if(c=D.subscribed)K.subscribed=c==\"1\";if(c=D.uga)K.userGenderAge=c;if(c=D.upt)K.xU=c;if(c=D.vm)K.videoMetadata=c;V.playback=D}if(c=U2(R.videostatsWatchtimeUrl)){c=Wd(c);if(f=c.ald)K.fn=f;V.watchtime=c}if(c=U2(R.atrUrl))c=Wd(c),V.atr=c;if(c=U2(R.engageUrl))c=Wd(c),V.engage=c;K.j1=V;R.promotedPlaybackTracking&&\n(R=R.promotedPlaybackTracking,R.startUrls&&(K.Cw=R.startUrls),R.firstQuartileUrls&&(K.Rf=R.firstQuartileUrls),R.secondQuartileUrls&&(K.gZ=R.secondQuartileUrls),R.thirdQuartileUrls&&(K.wZ=R.thirdQuartileUrls),R.completeUrls&&(K.If=R.completeUrls),R.engagedViewUrls&&(R.engagedViewUrls.length>1&&g.A$(new g.NB(\"There are more than one engaged_view_urls.\")),K.lE=R.engagedViewUrls[0]))};\nb6c=function(K,R,f){R=g.Z(R);for(var V=R.next();!V.done;V=R.next())if(V=V.value)if(V=V.playerLegacyDesktopWatchAdsRenderer)if(V=V.playerAdParams){V.autoplay==\"1\"&&(K.Z8=!0,K.ag=!0);K.jD=V.encodedAdSafetyReason||null;V.showContentThumbnail!==void 0&&(K.zZ=!!V.showContentThumbnail);f.enabled_engage_types=V.enabledEngageTypes;break}};\npOB=function(K,R){var f=R.manifestlessWindowedLiveConfig;if(f){var V=Number(f.minDvrSequence),D=Number(f.maxDvrSequence),H=Number(f.minDvrMediaTimeMs),l=Number(f.maxDvrMediaTimeMs);f=Number(f.startWalltimeMs);V&&(K.UO=V);H&&(K.Jx=H/1E3,K.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&tP(K)&&(K.tW=H/1E3));D&&(K.cU=D);l&&(K.LW=l/1E3,K.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&tP(K)&&(K.H7=l/1E3));f&&(K.Rg=f/1E3);(V||H)&&(D||l)&&(K.eQ=!0,K.isLivePlayback=!0,K.allowLiveDvr=!0,\nK.V9=!1)}if(V=R.daiConfig){if(V.enableDai){K.pT=!0;if(D=V.enableServerStitchedDai)K.enableServerStitchedDai=D;if(D=V.enablePreroll)K.rh=D}var F;if(V.daiType===\"DAI_TYPE_SS_DISABLED\"||((F=V.debugInfo)==null?0:F.isDisabledUnpluggedChannel))K.iO=!0;V.daiType===\"DAI_TYPE_CLIENT_STITCHED\"&&(K.ww=!0);V.allowUstreamerRequestAdconfig&&(K.Wn=!0);V.sendSsdaiMissingAdBreakReasons&&(K.s$W=!0)}if(F=R.audioConfig){V=F.loudnessDb;V!=null&&(K.w3=V);V=F.trackAbsoluteLoudnessLkfs;V!=null&&(K.fz=V);V=F.loudnessTargetLkfs;\nV!=null&&(K.loudnessTargetLkfs=V);F.audioMuted&&(K.Bb=!0);F.muteOnStart&&(K.uI=!0);if(V=F.loudnessNormalizationConfig)V.applyStatefulNormalization&&(K.applyStatefulNormalization=!0),V.preserveStatefulLoudnessTarget&&(K.preserveStatefulLoudnessTarget=!0),D=V.minimumLoudnessTargetLkfs,D!=null&&(K.minimumLoudnessTargetLkfs=D),V=V.maxStatefulTimeThresholdSec,V!=null&&(K.maxStatefulTimeThresholdSec=V);F.playAudioOnly&&(K.WP=!0)}if(V=R.playbackEndConfig)F=V.endSeconds,V=V.limitedPlaybackDurationInSeconds,\nK.mutedAutoplay&&(F&&(K.endSeconds=F),V&&(K.limitedPlaybackDurationInSeconds=V));if(F=R.fairPlayConfig){if(V=F.certificate)K.L8=A1(V);V=Number(F.keyRotationPeriodMs);V>0&&(K.Uv=V);F=Number(F.keyPrefetchMarginMs);F>0&&(K.Ev=F)}if(F=R.playbackStartConfig){K.La=Number(F.startSeconds);D=F.liveUtcStartSeconds;V=!!K.liveUtcStartSeconds&&K.liveUtcStartSeconds>0;D&&!V&&(K.liveUtcStartSeconds=Number(D));if(D=F.startPosition)if((H=D.utcTimeMillis)&&!V&&(K.liveUtcStartSeconds=Number(H)*.001),V=D.streamTimeMillis)K.i9=\nNumber(V)*.001;K.progressBarStartPosition=F.progressBarStartPosition;K.progressBarEndPosition=F.progressBarEndPosition}else if(F=R.skippableSegmentsConfig){if(V=F.introSkipDurationMs)K.hT=Number(V)/1E3;if(F=F.outroSkipDurationMs)K.Hv=Number(F)/1E3}if(V=R.skippableIntroConfig)F=Number(V.startMs),V=Number(V.endMs),isNaN(F)||isNaN(V)||(K.Ub=F,K.qV=V);if(F=R.streamSelectionConfig)K.KO=Number(F.maxBitrate);if(F=R.vrConfig)K.Hu=F.partialSpherical==\"1\";if(F=R.webDrmConfig){F.skipWidevine&&(K.l_=!0);if(V=\nF.widevineServiceCert)K.Al=A1(V);F.useCobaltWidevine&&(K.useCobaltWidevine=!0);F.startWithNoQualityConstraint&&(K.LZ=!0)}if(F=R.mediaCommonConfig){if(V=F.dynamicReadaheadConfig){K.maxReadAheadMediaTimeMs=V.maxReadAheadMediaTimeMs||NaN;K.minReadAheadMediaTimeMs=V.minReadAheadMediaTimeMs||NaN;K.readAheadGrowthRateMs=V.readAheadGrowthRateMs||NaN;var c;if(V=F==null?void 0:(c=F.mediaUstreamerRequestConfig)==null?void 0:c.videoPlaybackUstreamerConfig)K.Ik=A1(V);if((c=F==null?void 0:F.sabrContextUpdates)&&\nc.length>0)for(c=g.Z(c),V=c.next();!V.done;V=c.next())V=V.value,V.type&&V.value&&(D={type:V.type,scope:V.scope,value:A1(V.value)||void 0,sendByDefault:V.sendByDefault},K.sabrContextUpdates.set(V.type,D))}if(c=F.serverPlaybackStartConfig)K.serverPlaybackStartConfig=c;F.useServerDrivenAbr&&(K.Zc=!0);if(c=F.requestPipeliningConfig)K.requestPipeliningConfig=c}if(c=R.inlinePlaybackConfig)K.hP=!!c.showAudioControls;if(c=R.embeddedPlayerConfig){K.embeddedPlayerConfig=c;if(F=c.embeddedPlayerMode)V=K.C(),\nV.y0=F,V.X=F===\"EMBEDDED_PLAYER_MODE_PFL\";if(c=c.permissions)K.allowImaMonetization=!!c.allowImaMonetization}if(R=R.webPlayerConfig)R.gatewayExperimentGroup&&(K.gatewayExperimentGroup=R.gatewayExperimentGroup),R.isProximaEligible&&(K.isProximaLatencyEligible=!0)};\nYke=function(K,R,f){var V=R.formats;if(V){for(var D=[],H=g.Z(V),l=H.next();!l.done;l=H.next())l=l.value,D.push(l.itag+\"/\"+l.width+\"x\"+l.height);K.cG=D.join(\",\");D=[];V=g.Z(V);for(H=V.next();!H.done;H=V.next()){l=H.value;H={itag:l.itag,type:l.mimeType,quality:l.quality};var F=l.url;F&&(H.url=F);l=QN(7,l);F=l.Hh;var c=l.Sj,r=l.s;l.dH&&(H.url=F,H.sp=c,H.s=r);D.push(g.Zj(H))}K.xX=D.join(\",\")}if(H=R.hlsFormats){D={};if(f&&(f=f.audioPairingConfig)&&f.pairs)for(f=g.Z(f.pairs),V=f.next();!V.done;V=f.next())V=\nV.value,l=V.videoItag,D[l]||(D[l]=[]),D[l].push(V.audioItag);f={};V=g.Z(H);for(l=V.next();!l.done;l=V.next())l=l.value,f[l.itag]=l.bitrate;V=[];H=g.Z(H);for(l=H.next();!l.done;l=H.next()){l=l.value;F={itag:l.itag,type:l.mimeType,url:l.url,bitrate:l.bitrate,width:l.width,height:l.height,fps:l.fps};if(c=l.audioTrack)if(r=c.displayName)F.name=r,F.audio_track_id=c.id,c.audioIsDefault&&(F.is_default=\"1\");if(l.drmFamilies){c=[];r=g.Z(l.drmFamilies);for(var y=r.next();!y.done;y=r.next())c.push(Pf[y.value]);\nF.drm_families=c.join(\",\")}(c=D[l.itag])&&c.length&&(F.audio_itag=c.join(\",\"),(c=f[c[0]])&&(F.bitrate+=c));(c=HH2(l))&&(F.eotf=c);l.audioChannels&&(F.audio_channels=l.audioChannels);V.push(g.Zj(F))}K.hlsFormats=V.join(\",\")}if((f=R.licenseInfos)&&f.length>0){D={};f=g.Z(f);for(V=f.next();!V.done;V=f.next())H=V.value,V=H.drmFamily,H=H.url,V&&H&&(D[Pf[V]]=H);K.g8=D}if(D=R.drmParams)K.drmParams=D;if(D=R.dashManifestUrl)K.ZU=g.B9(D,{cpn:K.clientPlaybackNonce});if(D=R.hlsManifestUrl)K.hlsvp=D;if(D=R.probeUrl)K.probeUrl=\nTX(g.B9(D,{cpn:K.clientPlaybackNonce}));if(R=R.serverAbrStreamingUrl)K.A3=new g.wo(R,!0)};\nGiM=function(K,R,f){var V=R.videoId;V&&(K.videoId=V,f.video_id||(f.video_id=V));if(V=R.title)K.title=V,f.title||(f.title=V);if(V=R.lengthSeconds)K.lengthSeconds=Number(V),f.length_seconds||(f.length_seconds=V);if(V=R.keywords)K.keywords=m5N(V);if(V=R.channelId)K.M$=V,f.ucid||(f.ucid=V);if(V=R.viewCount)K.rawViewCount=Number(V);if(V=R.author)K.author=V,f.author||(f.author=V);if(f=R.shortDescription)K.shortDescription=f;if(f=R.isCrawlable)K.isListed=f;if(f=R.musicVideoType)K.musicVideoType=f;f=R.isLive;\nf!=null&&(K.isLivePlayback=f);if(f||R.isUpcoming)K.isPremiere=!R.isLiveContent;if(f=R.thumbnail)K.Du=Nv(f);if(f=R.isExternallyHostedPodcast)K.isExternallyHostedPodcast=f;(f=R.stationType)&&f!==\"STATION_TYPE_UNKNOWN\"&&(K.HQF=!0);R=R.viewerLivestreamJoinPosition;if(R==null?0:R.utcTimeMillis)K.Qk=Gd(R.utcTimeMillis)};\nC0_=function(K,R){if(R.playerLegacyDesktopYpcTrailerRenderer){var f=R.playerLegacyDesktopYpcTrailerRenderer;K.PT=f.trailerVideoId||\"\";var V=(V=R.playerLegacyDesktopYpcTrailerRenderer.ypcTrailer)&&V.ypcTrailerRenderer}else if(R.playerLegacyDesktopYpcOfferRenderer)f=R.playerLegacyDesktopYpcOfferRenderer;else if(R.ypcTrailerRenderer){V=R.ypcTrailerRenderer;R=V.fullVideoMessage;K.lc=R?g.ri(R):\"\";var D,H;K.PT=((D=g.z(V,u$o))==null?void 0:(H=D.videoDetails)==null?void 0:H.videoId)||\"\"}f&&(K.rp=f.itemTitle||\n\"\",f.itemUrl&&(K.gs=f.itemUrl),f.itemBuyUrl&&(K.Ic=f.itemBuyUrl),K.Rc=f.itemThumbnail||\"\",K.yk=f.offerHeadline||\"\",K.O_=f.offerDescription||\"\",K.eR=f.offerId||\"\",K.ws=f.offerButtonText||\"\",K.Ju=f.offerButtonFormattedText||null,K.ZO=f.overlayDurationMsec||NaN,K.lc=f.fullVideoMessage||\"\",K.F1=!0);V&&((f=g.z(V,u$o))?K.GE={raw_player_response:f}:(f=g.z(V,s6v),K.GE=f?Iw(f):null),K.F1=!0)};\nKcG=function(K,R,f,V){R.isLiveDefaultBroadcast&&(K.isLiveDefaultBroadcast=!0);R.isUpcoming&&(K.isUpcoming=!0);if(R.isPostLiveDvr){K.V9=!0;if(V=R.latencyClass)K.latencyClass=e$_[V]||\"UNKNOWN\";R.isLowLatencyLiveStream&&(K.isLowLatencyLiveStream=!0)}else{var D=!1;K.Rp?(K.allowLiveDvr=wV()?!0:f4&&AP<5?!1:!0,K.isLivePlayback=!0):R.isLive?(V.livestream=\"1\",K.allowLiveDvr=R.isLiveDvrEnabled?wV()?!0:f4&&AP<5?!1:!0:!1,K.partnerId=27,D=!0):R.isUpcoming&&(D=!0);if(R.isLive||K.Rp){R.isLowLatencyLiveStream&&(K.isLowLatencyLiveStream=\n!0);var H=R.latencyClass;H&&(K.latencyClass=e$_[H]||\"UNKNOWN\");if(R=R.liveChunkReadahead)K.liveChunkReadahead=R;if(R=f&&f.livePlayerConfig){R.hasSubfragmentedFmp4&&(K.hasSubfragmentedFmp4=!0);R.hasSubfragmentedWebm&&(K.Er=!0);R.defraggedFromSubfragments&&(K.defraggedFromSubfragments=!0);if(f=R.liveExperimentalContentId)K.liveExperimentalContentId=Number(f);R=R.isLiveHeadPlayable;K.Y(\"html5_live_head_playable\")&&R!=null&&(K.isLiveHeadPlayable=R)}}D&&(K.isLivePlayback=!0,V.adformat&&V.adformat.split(\"_\")[1]!==\n\"8\"||K.s$.push(\"heartbeat\"))}};\nJP=function(K,R){this.type=K||\"\";this.id=R||\"\"};\nZb=function(K){return new JP(K.substring(0,2),K.substring(2))};\nBd=function(K,R){this.gU=K;this.author=\"\";this.gz=null;this.playlistLength=0;this.U=this.sessionData=null;this.Du={};this.title=\"\";if(R){this.author=R.author||R.playlist_author||\"\";this.title=R.playlist_title||\"\";if(K=R.session_data)this.sessionData=$A(K,\"&\");var f;this.U=((f=R.thumbnail_ids)==null?void 0:f.split(\",\")[0])||null;this.Du=QG(R,\"playlist_\");this.videoId=R.video_id||void 0;if(f=R.list)switch(R.listType){case \"user_uploads\":this.playlistId=(new JP(\"UU\",\"PLAYER_\"+f)).toString();break;default:if(K=\nR.playlist_length)this.playlistLength=Number(K)||0;this.playlistId=Zb(f).toString();if(R=R.video)this.videoId=(R[0]||null).video_id||void 0}else R.playlist&&(this.playlistLength=R.playlist.toString().split(\",\").length)}};\nXQ=function(K,R){this.gU=K;this.T9=this.author=\"\";this.gz=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.h2=this.lengthText=\"\";this.sessionData=null;this.Du={};this.title=\"\";if(R){this.ariaLabel=R.aria_label||void 0;this.author=R.author||\"\";this.T9=R.T9||\"\";if(K=R.endscreen_autoplay_session_data)this.gz=$A(K,\"&\");this.rG=R.rG;this.isLivePlayback=R.live_playback===\"1\";this.isUpcoming=!!R.isUpcoming;if(K=R.length_seconds)this.lengthSeconds=typeof K===\"string\"?Number(K):K;this.lengthText=\nR.lengthText||\"\";this.h2=R.h2||\"\";this.publishedTimeText=R.publishedTimeText||void 0;if(K=R.session_data)this.sessionData=$A(K,\"&\");this.shortViewCount=R.short_view_count_text||void 0;this.Du=QG(R);this.title=R.title||\"\";this.videoId=R.docid||R.video_id||R.videoId||R.id||void 0;this.watchUrl=R.watchUrl||void 0}};\nRs_=function(K){var R,f,V=(R=K.getWatchNextResponse())==null?void 0:(f=R.contents)==null?void 0:f.twoColumnWatchNextResults,D,H,l,F,c;K=(D=K.getWatchNextResponse())==null?void 0:(H=D.playerOverlays)==null?void 0:(l=H.playerOverlayRenderer)==null?void 0:(F=l.endScreen)==null?void 0:(c=F.watchNextEndScreenRenderer)==null?void 0:c.results;if(!K){var r,y;K=V==null?void 0:(r=V.endScreen)==null?void 0:(y=r.endScreen)==null?void 0:y.results}return K};\ng.Tj=function(K){var R,f,V;K=g.z((R=K.getWatchNextResponse())==null?void 0:(f=R.playerOverlays)==null?void 0:(V=f.playerOverlayRenderer)==null?void 0:V.decoratedPlayerBarRenderer,k_);return g.z(K==null?void 0:K.playerBar,fi_)};\nVH_=function(K){this.U=K.playback_progress_0s_url;this.X=K.playback_progress_2s_url;this.K=K.playback_progress_10s_url};\nDao=function(){if(Pd===void 0){try{window.localStorage.removeItem(\"yt-player-lv\")}catch(R){}a:{try{var K=!!self.localStorage}catch(R){K=!1}if(K&&(K=g.It(g.Gk()+\"::yt-player\"))){Pd=new n0(K);break a}Pd=void 0}}return Pd};\ng.nc=function(){var K=Dao();if(!K)return{};try{var R=K.get(\"yt-player-lv\");return JSON.parse(R||\"{}\")}catch(f){return{}}};\ng.HXv=function(K){var R=Dao();R&&(K=JSON.stringify(K),R.set(\"yt-player-lv\",K))};\ng.I3=function(K){return g.nc()[K]||0};\ng.g6=function(K,R){var f=g.nc();R!==f[K]&&(R!==0?f[K]=R:delete f[K],g.HXv(f))};\ng.O2=function(K){return g.I(function(R){return R.return(g.q7($ao(),K))})};\nqv=function(K,R,f,V,D,H,l,F){var c,r,y,h,S,v;return g.I(function(L){switch(L.U){case 1:return c=g.I3(K),c===4?L.return(4):g.P(L,g.e1(),2);case 2:r=L.K;if(!r)throw g.wT(\"wiac\");if(!F||l===void 0){L.J5(3);break}return g.P(L,lic(F,l),4);case 4:l=L.K;case 3:return y=f.lastModified||\"0\",g.P(L,g.O2(r),5);case 5:return h=L.K,g.Fp(L,6),je++,g.P(L,g.Je(h,[\"index\",\"media\"],{mode:\"readwrite\",tag:\"IDB_TRANSACTION_TAG_WIAC\",fh:!0},function(E){if(H!==void 0&&l!==void 0){var Q=\"\"+K+\"|\"+R.id+\"|\"+y+\"|\"+String(H).padStart(10,\n\"0\");Q=g.Zo(E.objectStore(\"media\"),l,Q)}else Q=g.xI.resolve(void 0);var J=daB(K,R.iX()),A=daB(K,!R.iX()),B={fmts:Fc2(V),format:f||{}};J=g.Zo(E.objectStore(\"index\"),B,J);var k=V.downloadedEndTime===-1;B=k?E.objectStore(\"index\").get(A):g.xI.resolve(void 0);var b={fmts:\"music\",format:{}};E=k&&D&&!R.iX()?g.Zo(E.objectStore(\"index\"),b,A):g.xI.resolve(void 0);return g.xI.all([E,B,Q,J]).then(function(M){M=g.Z(M);M.next();M=M.next().value;je--;var Hc=g.I3(K);if(Hc!==4&&k&&D||M!==void 0&&g.cd_(M.fmts))Hc=\n1,g.g6(K,Hc);return Hc})}),8);\ncase 8:return L.return(L.K);case 6:S=g.yH(L);je--;v=g.I3(K);if(v===4)return L.return(v);g.g6(K,4);throw S;}})};\ng.rdo=function(K){var R,f;return g.I(function(V){if(V.U==1)return g.P(V,g.e1(),2);if(V.U!=3){R=V.K;if(!R)throw g.wT(\"ri\");return g.P(V,g.O2(R),3)}f=V.K;return V.return(g.Je(f,[\"index\"],{mode:\"readonly\",tag:\"IDB_TRANSACTION_TAG_LMRI\"},function(D){var H=IDBKeyRange.bound(K+\"|\",K+\"~\");return D.objectStore(\"index\").getAll(H).then(function(l){return l.map(function(F){return F?F.format:{}})})}))})};\nhs5=function(K,R,f,V,D){var H,l,F;return g.I(function(c){if(c.U==1)return g.P(c,g.e1(),2);if(c.U!=3){H=c.K;if(!H)throw g.wT(\"rc\");return g.P(c,g.O2(H),3)}l=c.K;F=g.Je(l,[\"media\"],{mode:\"readonly\",tag:\"IDB_TRANSACTION_TAG_LMRM\"},function(r){var y=\"\"+K+\"|\"+R+\"|\"+f+\"|\"+String(V).padStart(10,\"0\");return r.objectStore(\"media\").get(y)});\nreturn D?c.return(F.then(function(r){if(r===void 0)throw Error(\"No data from indexDb\");return yd2(D,r)}).catch(function(r){throw new g.NB(\"Error while reading chunk: \"+r.name+\", \"+r.message);\n})):c.return(F)})};\ng.cd_=function(K){return K?K===\"music\"?!0:K.includes(\"dlt=-1\")||!K.includes(\"dlt=\"):!1};\ndaB=function(K,R){return\"\"+K+\"|\"+(R?\"v\":\"a\")};\nFc2=function(K){var R={};return lj((R.dlt=K.downloadedEndTime.toString(),R.mket=K.maxKnownEndTime.toString(),R.avbr=K.averageByteRate.toString(),R))};\nSQM=function(K){var R={},f={};K=g.Z(K);for(var V=K.next();!V.done;V=K.next()){var D=V.value,H=D.split(\"|\");D.match(g.ouv)?(V=Number(H.pop()),isNaN(V)?f[D]=\"?\":(H=H.join(\"|\"),(D=R[H])?(H=D[D.length-1],V===H.end+1?H.end=V:D.push({start:V,end:V})):R[H]=[{start:V,end:V}])):f[D]=\"?\"}K=g.Z(Object.keys(R));for(V=K.next();!V.done;V=K.next())V=V.value,f[V]=R[V].map(function(l){return l.start+\"-\"+l.end}).join(\",\");\nreturn f};\nMv=function(K){g.VQ.call(this);this.U=null;this.X=new q1;this.U=null;this.T=new Set;this.crossOrigin=K||\"\"};\niXe=function(K,R,f){for(f=b$(K,f);f>=0;){var V=K.levels[f];if(V.isLoaded(pc(V,R))&&(V=g.Y_(V,R)))return V;f--}return g.Y_(K.levels[0],R)};\nLcB=function(K,R,f){f=b$(K,f);for(var V,D;f>=0;f--)if(V=K.levels[f],D=pc(V,R),!V.isLoaded(D)){V=K;var H=f,l=H+\"-\"+D;V.T.has(l)||(V.T.add(l),V.X.enqueue(H,{dw:H,hU:D}))}vuM(K)};\nvuM=function(K){if(!K.U&&!K.X.isEmpty()){var R=K.X.remove();K.U=wJ_(K,R)}};\nwJ_=function(K,R){var f=document.createElement(\"img\");K.crossOrigin&&(f.crossOrigin=K.crossOrigin);f.src=K.levels[R.dw].y9(R.hU);f.onload=function(){var V=R.dw,D=R.hU;K.U!==null&&(K.U.onload=null,K.U=null);V=K.levels[V];V.loaded.add(D);vuM(K);var H=V.columns*V.rows;D*=H;V=Math.min(D+H-1,V.VG()-1);D=[D,V];K.publish(\"l\",D[0],D[1])};\nreturn f};\ng.mh=function(K,R,f,V){this.level=K;this.J=R;this.loaded=new Set;this.level=K;this.J=R;K=f.split(\"#\");this.width=Math.floor(Number(K[0]));this.height=Math.floor(Number(K[1]));this.frameCount=Math.floor(Number(K[2]));this.columns=Math.floor(Number(K[3]));this.rows=Math.floor(Number(K[4]));this.U=Math.floor(Number(K[5]));this.X=K[6];this.signature=K[7];this.videoLength=V};\npc=function(K,R){return Math.floor(R/(K.columns*K.rows))};\ng.Y_=function(K,R){R>=K.nY()&&K.X0();var f=pc(K,R),V=K.columns*K.rows,D=R%V;R=D%K.columns;D=Math.floor(D/K.columns);var H=K.X0()+1-V*f;if(H1&&this.levels[0].isDefault()&&this.levels.splice(0,1)};\nzsD=function(K,R,f){return(K=K.levels[R])?K.yq(f):-1};\nb$=function(K,R){var f=K.J.get(R);if(f)return f;f=K.levels.length;for(var V=0;V=R)return K.J.set(R,V),V;K.J.set(R,f-1);return f-1};\nu$=function(K,R,f,V){f=f.split(\"#\");f=[f[1],f[2],0,f[3],f[4],-1,f[0],\"\"].join(\"#\");g.mh.call(this,K,R,f,0);this.K=null;this.B=V?2:0};\ns2=function(K,R,f,V){Gj.call(this,K,0,void 0,R,!(V===void 0||!V));for(K=0;K30?K.limitedPlaybackDurationInSeconds=30:f<30&&f>10&&(K.limitedPlaybackDurationInSeconds=10);break;case \"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\":K.limitedPlaybackDurationInSeconds=f*.2}};\nRU=function(K,R){var f=R.raw_watch_next_response;if(!f){var V=R.watch_next_response;V&&(f=JSON.parse(V))}if(f){K.Xt=f;var D=K.Xt.playerCueRangeSet;D&&g.DN(K,D);var H=K.Xt.playerOverlays;if(H){var l=H.playerOverlayRenderer;if(l){var F=l.autonavToggle;F&&(K.autoplaySwitchButtonRenderer=g.z(F,ZXG),K.Y(\"web_player_autonav_use_server_provided_state\")&&HD(K)&&(K.autonavState=K.autoplaySwitchButtonRenderer.enabled?2:1));var c=l.videoDetails;if(c){var r=c.embeddedPlayerOverlayVideoDetailsRenderer;var y=c.playerOverlayVideoDetailsRenderer;\ny&&(y.title&&(R.title=g.ri(y.title)),y.subtitle&&(R.subtitle=g.ri(y.subtitle)))}g.Oc(K.gU)&&(K.XQ=!!l.addToMenu);BhG(K,l.shareButton);l.startPosition&&l.endPosition&&(K.progressBarStartPosition=l.startPosition,K.progressBarEndPosition=l.endPosition);var h=l.gatedActionsOverlayRenderer;h&&(K.Ux=g.z(h,XJz));var S,v,L,E=g.z((S=K.getWatchNextResponse())==null?void 0:(v=S.playerOverlays)==null?void 0:(L=v.playerOverlayRenderer)==null?void 0:L.infoPanel,kzz);if(E){K.T$=Number(E==null?void 0:E.durationMs)||\nNaN;if(E==null?0:E.infoPanelOverviewViewModel)K.Ch=E==null?void 0:E.infoPanelOverviewViewModel;if(E==null?0:E.infoPanelDetailsViewModel)K.P9=E==null?void 0:E.infoPanelDetailsViewModel}K.showSeekingControls=!!l.showSeekingControls}}var Q,J,A=(Q=K.getWatchNextResponse())==null?void 0:(J=Q.contents)==null?void 0:J.twoColumnWatchNextResults;if(A){var B=A.desktopOverlay&&g.z(A.desktopOverlay,Thz);B&&(B.suppressShareButton&&(K.showShareButton=!1),B.suppressWatchLaterButton&&(K.XQ=!1))}r&&PWD(K,R,r);var k=\nce(0,R.autoplay_count),b=K.getWatchNextResponse(),M,Hc=(M=b.contents)==null?void 0:M.twoColumnWatchNextResults,fB,Rw,FG,yN=(fB=b.playerOverlays)==null?void 0:(Rw=fB.playerOverlayRenderer)==null?void 0:(FG=Rw.autoplay)==null?void 0:FG.playerOverlayAutoplayRenderer,VN=Rs_(K),aw,s5=(aw=b.contents)==null?void 0:aw.singleColumnWatchNextResults;if(s5){var dW;if(((dW=s5.autoplay)==null?0:dW.autoplay)&&!s5.playlist){var DB=s5.autoplay.autoplay.sets,b_={},Pc=new XQ(K.C()),YV=null,J_;if(DB){for(var t=g.Z(DB),\nL8=t.next();!L8.done;L8=t.next()){var uE=L8.value.autoplayVideoRenderer;if(uE&&uE.compactVideoRenderer){YV=uE.compactVideoRenderer;break}}if(J_=DB[0].autoplayVideo){var cc=J_.clickTrackingParams;cc&&(b_.itct=cc);b_.autonav=\"1\";b_.playnext=String(k)}}else b_.feature=\"related-auto\";var BT=g.z(J_,g.$s);if(YV){Pc.videoId=YV.videoId;var N=YV.shortBylineText;N&&(Pc.author=g.ri(N));var KB=YV.title;KB&&(Pc.title=g.ri(KB))}else BT!=null&&BT.videoId&&(Pc.videoId=BT.videoId);Pc.gz=b_;K.suggestions=[];K.gR=Pc}}if(VN){for(var Eh=\n[],Fl=g.Z(VN),GB=Fl.next();!GB.done;GB=Fl.next()){var cy=GB.value,CB=void 0,f8=null;if(cy.endScreenVideoRenderer){var Wy=cy.endScreenVideoRenderer,W=Wy.title;f8=new XQ(K.C());f8.videoId=Wy.videoId;f8.lengthSeconds=Wy.lengthInSeconds||0;var a=Wy.publishedTimeText;a&&(f8.publishedTimeText=g.ri(a));var U=Wy.shortBylineText;U&&(f8.author=g.ri(U));var T=Wy.shortViewCountText;T&&(f8.shortViewCount=g.ri(T));if(W){f8.title=g.ri(W);var m=W.accessibility;if(m){var l_=m.accessibilityData;l_&&l_.label&&(f8.ariaLabel=\nl_.label)}}var u=Wy.navigationEndpoint;if(u){CB=u.clickTrackingParams;var p=g.z(u,g.$s),n=g.z(u,g.Tq);p?f8.rG=p:n!=null&&(f8.watchUrl=n.url)}var Bc=Wy.thumbnailOverlays;if(Bc)for(var XG=g.Z(Bc),z2=XG.next();!z2.done;z2=XG.next()){var Jz=z2.value.thumbnailOverlayTimeStatusRenderer;if(Jz)if(Jz.style===\"LIVE\"){f8.isLivePlayback=!0;break}else if(Jz.style===\"UPCOMING\"){f8.isUpcoming=!0;break}}f8.Du=Nv(Wy.thumbnail)}else if(cy.endScreenPlaylistRenderer){var HT=cy.endScreenPlaylistRenderer,tz=HT.navigationEndpoint;\nif(!tz)continue;var qd=g.z(tz,g.$s);if(!qd)continue;var TB=qd.videoId;f8=new Bd(K.C());f8.playlistId=HT.playlistId;f8.playlistLength=Number(HT.videoCount)||0;f8.U=TB||null;f8.videoId=TB;var C8=HT.title;C8&&(f8.title=g.ri(C8));var ZD=HT.shortBylineText;ZD&&(f8.author=g.ri(ZD));CB=tz.clickTrackingParams;f8.Du=Nv(HT.thumbnail)}f8&&(CB&&(f8.sessionData={itct:CB}),Eh.push(f8))}K.suggestions=Eh}if(yN){K.LS=!!yN.preferImmediateRedirect;K.bd=K.bd||!!yN.webShowNewAutonavCountdown;K.xN=K.xN||!!yN.webShowBigThumbnailEndscreen;\nif(K.bd||K.xN){var jL=Hc||null,kv=new XQ(K.C());kv.videoId=yN.videoId;var QH=yN.videoTitle;if(QH){kv.title=g.ri(QH);var jh=QH.accessibility;if(jh){var Us=jh.accessibilityData;Us&&Us.label&&(kv.ariaLabel=Us.label)}}var US=yN.byline;US&&(kv.author=g.ri(US));var e8=yN.publishedTimeText;e8&&(kv.publishedTimeText=g.ri(e8));var DL=yN.shortViewCountText;DL&&(kv.shortViewCount=g.ri(DL));var qz=yN.thumbnailOverlays;if(qz)for(var PT=g.Z(qz),zd=PT.next();!zd.done;zd=PT.next()){var Zz=zd.value.thumbnailOverlayTimeStatusRenderer;\nif(Zz)if(Zz.style===\"LIVE\"){kv.isLivePlayback=!0;break}else if(Zz.style===\"UPCOMING\"){kv.isUpcoming=!0;break}else if(Zz.style===\"DEFAULT\"&&Zz.text){kv.lengthText=g.ri(Zz.text);var Sq=Zz.text.accessibility;if(Sq){var iF=Sq.accessibilityData;iF&&iF.label&&(kv.h2=iF.label||\"\")}break}}kv.Du=Nv(yN.background);var $r=yN.nextButton;if($r){var lS=$r.buttonRenderer;if(lS){var Hi=lS.navigationEndpoint;if(Hi){var LT=g.z(Hi,g.$s);LT&&(kv.rG=LT)}}}if(yN.topBadges){var dk=yN.topBadges[0];if(dk){var Fu=g.z(dk,nuD);\nFu&&Fu.style===\"BADGE_STYLE_TYPE_PREMIUM\"&&(kv.AmQ=!0)}}var cZ=yN.alternativeTitle;cZ&&(kv.T9=g.ri(cZ));var u6={autonav:\"1\",playnext:String(k)};kv.playlistId&&(u6.autoplay=\"1\");if(jL){var Io,gO,W$,rk,tI=(Io=jL.autoplay)==null?void 0:(gO=Io.autoplay)==null?void 0:(W$=gO.sets)==null?void 0:(rk=W$[0])==null?void 0:rk.autoplayVideo;if(tI){var yU=tI.clickTrackingParams;yU&&(u6.itct=yU);var h8=g.z(tI,g.$s);h8&&(kv.y5=h8)}}else if(yN){var ol,EY,Si,sY=(ol=yN.nextButton)==null?void 0:(EY=ol.buttonRenderer)==\nnull?void 0:(Si=EY.navigationEndpoint)==null?void 0:Si.clickTrackingParams;sY&&(u6.itct=sY)}u6.itct||(u6.feature=\"related-auto\");kv.gz=u6;K.suggestions||(K.suggestions=[]);K.gR=kv}yN.countDownSecs!=null&&(K.IN=yN.countDownSecs*1E3);yN.countDownSecsForFullscreen!=null&&(K.kL=yN.countDownSecsForFullscreen>=0?yN.countDownSecsForFullscreen*1E3:-1);K.Y(\"web_autonav_color_transition\")&&yN.watchToWatchTransitionRenderer&&(K.watchToWatchTransitionRenderer=g.z(yN.watchToWatchTransitionRenderer,Ii2))}var AI=\nRs_(K);if(AI){var Ko,t5,SK,hc=AI==null?void 0:(Ko=AI[0])==null?void 0:(t5=Ko.endScreenVideoRenderer)==null?void 0:(SK=t5.navigationEndpoint)==null?void 0:SK.clickTrackingParams,A5=g.lv(K);hc&&A5&&(A5.sessionData={itct:hc})}K.Xt.currentVideoThumbnail&&(K.Du=Nv(K.Xt.currentVideoThumbnail));var J5,iP,vn,Lr,wF,Zl=(J5=K.Xt)==null?void 0:(iP=J5.contents)==null?void 0:(vn=iP.twoColumnWatchNextResults)==null?void 0:(Lr=vn.results)==null?void 0:(wF=Lr.results)==null?void 0:wF.contents;if(Zl&&Zl[0]){var RI=\nZl[0].videoPrimaryInfoRenderer;RI&&RI&&RI.subtitle&&(K.IV=g.ri(RI.subtitle))}if(Zl&&Zl[1]){var k0,YI,TF,Nc,fW=(k0=Zl[1].videoSecondaryInfoRenderer)==null?void 0:(YI=k0.owner)==null?void 0:(TF=YI.videoOwnerRenderer)==null?void 0:(Nc=TF.thumbnail)==null?void 0:Nc.thumbnails;fW&&fW.length&&(K.profilePicture=fW[fW.length-1].url)}var tX=hq(R),mL,IvG=(mL=K.getWatchNextResponse())==null?void 0:mL.onResponseReceivedEndpoints;if(IvG)for(var gHB=g.Z(IvG),P1=gHB.next();!P1.done;P1=gHB.next()){var nA=P1.value;\ng.z(nA,dQ)&&(K.zI=g.z(nA,dQ));var JX=g.z(nA,guw),OfB=void 0;if((OfB=JX)==null?0:OfB.entityKeys)K.Gk=JX.entityKeys||[],JX.visibleOnLoadKeys&&(K.visibleOnLoadKeys=JX.visibleOnLoadKeys)}if(K.Y(\"web_key_moments_markers\")){var bCz=g.FB.getState().entities,pbi=g.j6(\"visibility_override\",\"markersVisibilityOverrideEntity\");var PM=MI(bCz,\"markersVisibilityOverrideEntity\",pbi);K.er=(PM==null?void 0:PM.videoId)===(K.videoId||tX)&&(PM==null?0:PM.visibilityOverrideMarkersKey)?PM.visibilityOverrideMarkersKey:K.visibleOnLoadKeys;\nK.visibleOnLoadKeys=[].concat(g.X(K.er))}}};\nQqM=function(K,R){if(R=R.raw_reel_item_watch_response)K.reelItemWatchResponse=R};\nOXv=function(K){return!!K&&isFinite(K)&&K>1E9};\nHD=function(K){var R;return((R=K.autoplaySwitchButtonRenderer)==null?void 0:R.enabled)!==void 0};\ncD=function(K){return!!(K.X&&K.X.videoInfos&&K.X.videoInfos.length)};\ng.S7=function(K){var R=K.N;K.Y(\"html5_gapless_unlimit_format_selection\")&&rQ(K)&&(R=!1);var f=!!K.U&&K.U.qY,V=K.gU,D=K.jE(),H=yx(K),l=K.B5,F=R,c=K.isOtf();R=K.Cn();var r=K.Rp,y=K.getUserAudio51Preference(),h=hN(K),S=oU(K),v=new PAM(V);if(V.oG()||V.Y(\"html5_logging_format_selection\"))v.U=!0;v.Ne=H;v.B5=l&&V.Z;v.er=y;g.mO(\"windows nt 5.1\")&&!g.dV&&(v.AZ=!0);if(H=D)H=g.l$(V)?gWB(V):!1;H&&(v.UF=!0);F&&(v.AZ=!0,v.aQ=!0);c&&!V.Y(\"html5_otf_prefer_vp9\")&&(v.AZ=!0);V.playerStyle===\"picasaweb\"&&(c&&(v.AZ=\n!1),v.aY=!1);r&&(v.AZ=!0);Yi(V.B,mx.CHANNELS)&&(V.Y(\"html5_enable_ac3\")&&(v.J=!0),V.Y(\"html5_enable_eac3\")&&(v.B=!0),V.Y(\"html5_enable_ac3_gapless\")&&(v.qe=!0));V.Y(\"html5_block_8k_hfr\")&&(v.Za=!0);v.T=g.mz(V.experiments,\"html5_max_selectable_quality_ordinal\");v.N=g.mz(V.experiments,\"html5_min_selectable_quality_ordinal\");Ze&&(v.XQ=480);if(f||D)v.aY=!1;v.OF=!1;v.disableAv1=h;f=e9(V,v.K,void 0,v.disableAv1);f>0&&f<2160&&(fy()||V.Y(\"html5_format_hybridization\"))&&(v.K.supportsChangeType=+fy(),v.gk=\nf);f>=2160&&(v.y0=!0);l6w()&&!V.Y(\"disable_av1_setting\")&&(v.K.serveVp9OverAv1IfHigherRes=0,v.M1=!1);v.Cn=R;v.oY=g.Gr||$c()&&!R?!1:!0;v.Z=V.Y(\"html5_format_hybridization\");v.bd=V.Y(\"html5_disable_encrypted_vp9_live_non_2k_4k\");v.Kh=S;tP(K)&&(v.vK=!0);s$()&&K.playerResponse&&K.playerResponse.playerConfig&&K.playerResponse.playerConfig.webPlayerConfig&&K.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(v.J=!0,v.B=!0);K.N&&K.isAd()&&(K.ND&&(v.EF=K.ND),K.Dq&&(v.X=K.Dq));K.mO()&&\n(v.Xt=g.mz(K.gU.experiments,\"html5_hard_cap_max_vertical_resolution_for_shorts\"));v.G2=K.isLivePlayback&&K.Im()&&K.gU.Y(\"html5_drm_live_audio_51\");v.pQ=K.mz;v.hV=!tP(K);return K.Za=v};\nhN=function(K){return K.gU.Y(\"html5_disable_av1\")?!0:!1};\njqc=function(K){Uz(\"drm_pb_s\",void 0,K.EF);K.L8||K.U&&j4(K.U);var R={};K.U&&(R=xY2(K.hc,g.S7(K),K.gU.B,K.U,function(f){return K.publish(\"ctmp\",\"fmtflt\",f)},!0,new Set));\nR=new rV(R,K.gU,K.l_,K.useCobaltWidevine?s$()?iv(K):!1:!1,function(f,V){K.KQ(f,V)});\ng.q(K,R);K.rQ=!1;K.loading=!0;OH5(R,function(f){Uz(\"drm_pb_f\",void 0,K.EF);for(var V=g.Z(f),D=V.next();!D.done;D=V.next())switch(D=D.value,D.flavor){case \"fairplay\":D.L8=K.L8;D.Uv=K.Uv;D.Ev=K.Ev;break;case \"widevine\":D.Al=K.Al}K.HR=f;if(K.HR.length>0&&(K.B=K.HR[0],K.gU.oG())){f={};V=g.Z(Object.entries(K.B.U));for(D=V.next();!D.done;D=V.next()){var H=g.Z(D.value);D=H.next().value;H=H.next().value;var l=\"unk\";(D=D.match(/(.*)codecs=\"(.*)\"/))&&(l=D[2]);f[l]=H}K.KQ(\"drmProbe\",f)}K.wI()})};\nqQN=function(K,R){if(R.length===0||vD(K))return null;K.gU.B.X&&(ul=!0);var f=K.g8;var V=K.lengthSeconds,D=K.isLivePlayback,H=K.V9,l=K.gU,F=xrB(R);if(D||H){l=l.experiments;V=new ka(\"\",l,!0);V.K=!H;V.qY=!0;V.isManifestless=!0;V.isLive=!H;V.V9=H;D=g.Z(R);for(F=D.next();!F.done;F=D.next()){var c=F.value;F=nh(c,f);var r=QN(8,c);r=gl(r.Hh||c.url||\"\",r.Sj,r.s);var y=r.get(\"id\");y&&y.includes(\"%7E\")&&(V.UF=!0);var h=void 0;y=(h=l)==null?void 0:h.rU(\"html5_max_known_end_time_rebase\");h=Number(c.targetDurationSec||\n5);c=Number(c.maxDvrDurationSec||14400);var S=Number(r.get(\"mindsq\")||r.get(\"min_sq\")||\"0\"),v=Number(r.get(\"maxdsq\")||r.get(\"max_sq\")||\"0\")||Infinity;V.UO=V.UO||S;V.cU=V.cU||v;var L=!Ov(F.mimeType);r&&Z9(V,new S9(r,F,{CF:h,Lp:L,P8:c,UO:S,cU:v,iU:300,V9:H,eK:y}))}f=V}else if(F===\"FORMAT_STREAM_TYPE_OTF\"){V=V===void 0?0:V;H=new ka(\"\",l.experiments,!1);H.duration=V||0;l=g.Z(R);for(V=l.next();!V.done;V=l.next())V=V.value,D=nh(V,f,H.duration),F=QN(9,V),(F=gl(F.Hh||V.url||\"\",F.Sj,F.s))&&(D.streamType===\n\"FORMAT_STREAM_TYPE_OTF\"?Z9(H,new il(F,D,\"sq/0\")):Z9(H,new tS(F,D,u2(V.initRange),u2(V.indexRange))));H.isOtf=!0;f=H}else{V=V===void 0?0:V;H=new ka(\"\",l.experiments,!1);H.duration=V||0;l=g.Z(R);for(V=l.next();!V.done;V=l.next())r=V.value,V=nh(r,f,H.duration),D=u2(r.initRange),F=u2(r.indexRange),y=QN(10,r),(r=gl(y.Hh||r.url||\"\",y.Sj,y.s))&&Z9(H,new tS(r,V,D,F));f=H}R.length>0&&(R=R[0],Vx(K)&&R.url&&(K.FQ=K.FQ||tHG(R.url)));R=K.isLivePlayback&&!K.V9&&!K.eQ&&!K.isPremiere;K.Y(\"html5_live_head_playable\")&&\n(!LZ(K)&&R&&K.KQ(\"missingLiveHeadPlayable\",{}),K.gU.UF===\"yt\"&&(f.G2=!0));return f};\nMHc=function(K){var R,f,V=((R=K.playerResponse)==null?void 0:(f=R.streamingData)==null?void 0:f.adaptiveFormats)||[];R=null;if(V.length>0)R=qQN(K,V);else if(!K.Y(\"html5_deprecate_adaptive_formats_string\")){K.KQ(\"pafmtstr\",{s:K.adaptiveFormats.substring(0,50)});if((V=K.adaptiveFormats)&&!vD(K)){K.gU.B.X&&(ul=!0);V=wQ(V);R=K.g8;var D=K.lengthSeconds,H=K.isLivePlayback;f=K.V9;var l=K.gU,F=zWD(V);if(H||f){l=l==null?void 0:l.experiments;D=new ka(\"\",l,!0);D.qY=!0;D.isManifestless=!0;D.K=!f;D.isLive=!f;\nD.V9=f;H=g.Z(V);for(F=H.next();!F.done;F=H.next()){var c=F.value;F=I5(c,R);var r=gl(c.url,c.sp,c.s),y=r.get(\"id\");y&&y.includes(\"%7E\")&&(D.UF=!0);var h=void 0;y=(h=l)==null?void 0:h.rU(\"html5_max_known_end_time_rebase\");h=Number(c.target_duration_sec)||5;c=Number(c.max_dvr_duration_sec)||14400;var S=Number(r.get(\"mindsq\")||r.get(\"min_sq\")||\"0\"),v=Number(r.get(\"maxdsq\")||r.get(\"max_sq\")||\"0\")||Infinity;D.UO=D.UO||S;D.cU=D.cU||v;var L=!Ov(F.mimeType);r&&Z9(D,new S9(r,F,{CF:h,Lp:L,P8:c,UO:S,cU:v,iU:300,\nV9:f,eK:y}))}R=D}else if(F===\"FORMAT_STREAM_TYPE_OTF\"){D=D===void 0?0:D;f=new ka(\"\",l==null?void 0:l.experiments,!1);f.duration=D||0;l=g.Z(V);for(D=l.next();!D.done;D=l.next())if(r=D.value,D=I5(r,R,f.duration),H=gl(r.url,r.sp,r.s))D.streamType===\"FORMAT_STREAM_TYPE_OTF\"?Z9(f,new il(H,D,\"sq/0\")):(F=mC(r.init),r=mC(r.index),Z9(f,new tS(H,D,F,r)));f.isOtf=!0;R=f}else{D=D===void 0?0:D;f=new ka(\"\",l==null?void 0:l.experiments,!1);f.duration=D||0;l=g.Z(V);for(D=l.next();!D.done;D=l.next())r=D.value,D=I5(r,\nR,f.duration),H=mC(r.init),F=mC(r.index),(r=gl(r.url,r.sp,r.s))&&Z9(f,new tS(r,D,H,F));R=f}V.length>0&&(V=V[0],Vx(K)&&V.url&&(K.FQ=K.FQ||tHG(V.url)));V=K.isLivePlayback&&!K.V9&&!K.eQ&&!K.isPremiere;K.Y(\"html5_live_head_playable\")&&(!LZ(K)&&V&&K.KQ(\"missingLiveHeadPlayable\",{}),K.gU.UF===\"yt\"&&(R.G2=!0))}else R=null;K.KQ(\"pafmts\",{isManifestFilled:!!R})}if(!R)return!1;zW(K,R);return!0};\nvD=function(K){return s$()?!iv(K):eO()?!(!K.L8||!K.Y(\"html5_enable_safari_fairplay\")&&wV()):!1};\niv=function(K){return K.Y(\"html5_tvos_skip_dash_audio_check\")||MediaSource.isTypeSupported('audio/webm; codecs=\"opus\"')};\ng.DN=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next())if(f=f.value,f.cueRangeSetIdentifier){var V=void 0;K.oo.set(f.cueRangeSetIdentifier,(V=f.playerCueRanges)!=null?V:[])}};\nxs=function(K){return!(!K.U||!K.U.isManifestless)};\nEt=function(K){return K.kW?K.isLowLatencyLiveStream&&K.U!=null&&M0(K.U)>=5:K.isLowLatencyLiveStream&&K.U!=void 0&&M0(K.U)>=5};\nbXB=function(K){return s$()&&iv(K)?!1:vD(K)&&(g.dI(K.gU)?!K.isLivePlayback:K.hlsvp)||!wV()||K.qh?!0:!1};\nYQN=function(K){K.loading=!0;K.Dk=!1;if(pJ2(K))g.rdo(K.videoId).then(function(V){var D;if((D=K.playerResponse)!=null&&D.streamingData){D=[];V=g.Z(V);for(var H=V.next();!H.done;H=V.next())H=Object.assign({},H.value),H.signatureCipher=\"\",D.push(H);D.length<2&&K.KQ(\"offmlf\",{len:D.length});D=qQN(K,D);yx(K)&&Bee(D,!1);zW(K,D);K.KQ(\"dlr\",{})}else K.KQ(\"offsdm\",{cotn:K.cP?K.cP.cotn:\"0\",cpn:K.clientPlaybackNonce})}).then(function(){K.wI()});\nelse{xv(K.ZU)||g.A$(new g.NB(\"DASH MPD Origin invalid: \",K.ZU));var R=K.ZU,f=g.mz(K.gU.experiments,\"dash_manifest_version\")||4;R=g.B9(R,{mpd_version:f});K.isLowLatencyLiveStream&&K.latencyClass!==\"NORMAL\"||(R=g.B9(R,{pacing:0}));AvN(R,K.gU.experiments,K.isLivePlayback).then(function(V){K.mZ()||(zW(K,V,!0),Uz(\"mrc\",void 0,K.EF),K.wI())},function(V){K.mZ()||(K.loading=!1,K.publish(\"dataloaderror\",new g.e$(\"manifest.net.retryexhausted\",{backend:\"manifest\",\nrc:V.status},1)))});\nUz(\"mrs\",void 0,K.EF)}};\nmah=function(K){var R;return!((R=K.gU.getWebPlayerContextConfig())==null||!R.enableProximaLowLatency)};\naU=function(K){if(!K.isProximaLatencyEligible)return 0;var R=xi();return mah(K)?2:R===1?1:K.Y(\"html5_enable_proxima\")?2:0};\nzW=function(K,R,f){f=f===void 0?!1:f;K.y4=void 0;K.U=R;g.q(K,R);R.UO=K.UO;R.cU=K.cU;R.Jx=K.Jx;R.LW=K.LW;R.Rg=K.Rg;K.A3&&(R.EF=new IG(K.A3));(K.jE()||g.Qx(K))&&K.s$.push(\"webgl\");K.U.isLive||(K.isLivePlayback=!1);var V=R.sourceUrl.split(\"/\");if(K.kW?V.indexOf(\"manifest_duration\")!==-1:V.indexOf(\"manifest_duration\")!=-1)K.ql=Number(V[V.indexOf(\"manifest_duration\")+1]);if(R.K||R.isManifestless)R.subscribe(\"clienttemp\",K.KQ,K),f?R.subscribe(\"refresh\",K.rf,K):R.subscribe(\"cuepointsadded\",K.kJ,K);j4(R)?\nK.rQ=!0:h1=void 0;K.eQ&&(R.J=K.eQ,R.isLive=!0,K.isLivePlayback=!0);R.isPremiere=K.isPremiere;R.isLiveHeadPlayable=K.isLiveHeadPlayable};\nGzG=function(K,R){var f=R||bXB(K)||K.isExternallyHostedPodcast;if(!K.U||f)return K.KQ(\"skipDash\",{dm:!!K.U,air:R,dd:K.qh,mss:wV(),\"3pp\":K.isExternallyHostedPodcast}),PS();yx(K)&&Bee(K.U,K.isLivePlayback);return nI().then(function(){return a65(K.hc,g.S7(K),K.gU.B,K.U,K.B,function(V){return K.publish(\"ctmp\",\"fmtflt\",V)},K.zX,NW(K)).then(function(V){K.BW(V);\nK.hc.U=null;/^av/.test(K.clientPlaybackNonce)&&K.Za&&K.KQ(\"av1\",K.Za.K)})})};\nsqh=function(K,R){if(R&&K.hlsvp)return PS();if(K.hlsFormats){if(R=wQ(K.hlsFormats)){for(var f=[],V=g.Z(R),D=V.next();!D.done;D=V.next()){D=D.value;D.url&&(D.url=EuB(D.url));var H=void 0;((H=K.Za)==null?0:H.U)&&f.push(D.itag)}var l;((l=K.Za)==null?0:l.U)&&f.length>0&&K.KQ(\"hlsfmt\",{itags:f.join(\".\")})}K.MR=fwN(K.gU,R);K.MR&&ubz(K,K.MR);l=K.clientPlaybackNonce;var F,c,r,y;return lwc(K.gU,K.isAd(),R,(y=(F=K.playerResponse)==null?void 0:(c=F.captions)==null?void 0:(r=c.playerCaptionsRenderer)==null?void 0:\nr.baseUrl)!=null?y:null,K.KO,l,function(h){return K.publish(\"ctmp\",\"hlsflt\",h)}).then(function(h){for(var S=0,v=[],L=g.Z(h),E=L.next();!E.done;E=L.next()){E=E.value;\nvar Q=void 0;v.push((Q=E.getInfo())==null?void 0:Q.itag);var J=Q=void 0;((Q=E.getInfo())==null?void 0:(J=Q.audio)==null?void 0:J.numChannels)>S&&(S=E.getInfo().audio.numChannels)}S>2&&K.KQ(\"hlschl\",{mn:S});var A;((A=K.Za)==null?0:A.U)&&K.KQ(\"hlsfmtaf\",{itags:v.join(\".\")});var B;if(K.Y(\"html5_enable_vp9_fairplay\")&&((B=K.B)==null?0:$N(B)))for(K.KQ(\"drm\",{sbdlfbk:1}),S=g.Z(K.HR),v=S.next();!v.done;v=S.next())if(v=v.value,Hg(v)){K.B=v;break}Ut(K,h)})}return PS()};\nCWz=function(K){if(K.isExternallyHostedPodcast&&K.xX){var R=wQ(K.xX);if(!R[0])return PS();K.Jt=R[0];return crG(K.gU,R[0]).then(function(f){Ut(K,f)})}return K.v9&&K.W$?FA5(K.gU,K.isAd(),K.v9).then(function(f){Ut(K,f)}):PS()};\nKlz=function(K){if(K.isExternallyHostedPodcast)return PS();var R=wQ(K.xX,K.cG);if(K.hlsvp){var f=xaz(K.hlsvp,K.clientPlaybackNonce,K.KO);R.push(f)}return d55(K.gU,K.isAd(),R,esN(K)).then(function(V){Ut(K,V)})};\nUt=function(K,R){K.v5=R;K.BW(new Pp(g.JQ(K.v5,function(f){return f.getInfo()})))};\nesN=function(K){var R={cpn:K.clientPlaybackNonce,c:K.gU.U.c,cver:K.gU.U.cver};K.BI&&(R.ptk=K.BI,R.oid=K.Y3,R.ptchn=K.fd,R.pltype=K.o3,K.ZV&&(R.m=K.ZV));return R};\ng.WD=function(K){return vD(K)&&K.L8?(K={},K.fairplay=\"https://youtube.com/api/drm/fps?ek=uninitialized\",K):K.K&&K.K.g8||null};\nR8w=function(K){var R=tN(K);return R&&R.text?g.ri(R.text):K.paidContentOverlayText};\nf__=function(K){var R=tN(K);return R&&R.durationMs?Gd(R.durationMs):K.paidContentOverlayDurationMs};\ntN=function(K){var R,f,V;return K.playerResponse&&K.playerResponse.paidContentOverlay&&K.playerResponse.paidContentOverlay.paidContentOverlayRenderer||g.z((R=K.Xt)==null?void 0:(f=R.playerOverlays)==null?void 0:(V=f.playerOverlayRenderer)==null?void 0:V.playerDisclosure,VmB)||null};\nD3D=function(K){if(!K)return null;K=g.Z(K);for(var R=K.next();!R.done;R=K.next()){var f=void 0,V=void 0;if(R=(f=R.value.adPlacementRenderer)==null?void 0:(V=f.renderer)==null?void 0:V.videoAdTrackingRenderer)return R}return null};\nAN=function(K){var R=\"\";if(K.BL)return K.BL;K.isLivePlayback&&(R=K.allowLiveDvr?\"dvr\":K.isPremiere?\"lp\":K.eQ?\"window\":\"live\");K.V9&&(R=\"post\");return R};\ng.JN=function(K,R){return typeof K.keywords[R]!==\"string\"?null:K.keywords[R]};\nHu2=function(K){return!!K.lE||!!K.i6||!!K.Cw||!!K.Yi||K.hY};\ng.ZN=function(K){return!!(K.ZU||K.xX||K.v9||K.hlsvp||K.Sz())};\nKZ=function(K){if(K.Y(\"html5_onesie\")&&K.errorCode)return!1;var R=g.Ka(K.s$,\"ypc\");K.ypcPreview&&(R=!1);return K.e4()&&!K.loading&&(g.ZN(K)||g.Ka(K.s$,\"heartbeat\")||R)};\nwQ=function(K,R){K=dG(K);var f={};if(R){R=g.Z(R.split(\",\"));for(var V=R.next();!V.done;V=R.next())(V=V.value.match(/^([0-9]+)\\/([0-9]+)x([0-9]+)(\\/|$)/))&&(f[V[1]]={width:V[2],height:V[3]})}R=g.Z(K);for(V=R.next();!V.done;V=R.next()){V=V.value;var D=f[V.itag];D&&(V.width=D.width,V.height=D.height)}return K};\nBhG=function(K,R){K.showShareButton=!!R;var f,V,D=((f=g.z(R,g.xu))==null?void 0:f.navigationEndpoint)||((V=g.z(R,g.xu))==null?void 0:V.command);D&&(K.ZY=!!g.z(D,$3_))};\naiM=function(K,R){var f=R.raw_embedded_player_response;if(!f){var V=R.embedded_player_response;V&&(f=JSON.parse(V))}f&&(K.V6=f);if(K.V6){K.embeddedPlayerConfig=K.V6.embeddedPlayerConfig||null;if(f=K.V6.videoFlags)f.playableInEmbed&&(K.allowEmbed=!0),f.isPrivate&&(K.isPrivate=!0),f.userDisplayName&&(R.user_display_name=f.userDisplayName),f.userDisplayImage&&(R.user_display_image=f.userDisplayImage);if((f=K.V6.embedPreview)&&f.thumbnailPreviewRenderer){f=f.thumbnailPreviewRenderer;nM5(K,f.controlBgHtml);\nif(V=f.defaultThumbnail)K.Du=Nv(V);K.Y(\"embeds_web_enable_search_button\")&&f.searchButton&&(V=g.z(f.searchButton,g.xu))&&(K.Wz=g.z(V.navigationEndpoint,g.BD));(V=g.z(f==null?void 0:f.videoDetails,l_c))&&PWD(K,R,V);V=g.z(f==null?void 0:f.videoDetails,d3N);K.XQ=!!f.addToWatchLaterButton;BhG(K,f.shareButton);if(V==null?0:V.musicVideoType)K.musicVideoType=V.musicVideoType;var D,H,l,F,c;if(V=g.z((D=K.getEmbeddedPlayerResponse())==null?void 0:(H=D.embedPreview)==null?void 0:(l=H.thumbnailPreviewRenderer)==\nnull?void 0:(F=l.playButton)==null?void 0:(c=F.buttonRenderer)==null?void 0:c.navigationEndpoint,g.$s))SkB(K,V),K.videoId=V.videoId||K.videoId;f.videoDurationSeconds&&(K.lengthSeconds=Gd(f.videoDurationSeconds));f.webPlayerActionsPorting&&P0B(K,f.webPlayerActionsPorting);if(D=g.z(f==null?void 0:f.playlist,Fl_)){K.WB=!0;H=[];l=Number(D.currentIndex);if(D.contents)for(F=0,c=D.contents.length;F0:K.vK?!1:K.gU.CP||K.gU.lH||!g.kN(K.gU)?!0:!1:(K.vK?0:K.aQ)&&g.kN(K.gU)?!0:!1;K.Y(\"html5_log_detailpage_autoplay\")&&qW(K)===\"detailpage\"&&K.KQ(\"autoplay_info\",{autoplay:K.Z8,autonav:K.isAutonav,wasDompaused:K.vK,result:R});return R};\ng.Ys=function(K){return K.oauthToken||K.gU.Cv};\nwGD=function(K){if(K.Y(\"html5_stateful_audio_normalization\")){var R=1,f=g.mz(K.gU.experiments,\"html5_default_ad_gain\");f&&K.isAd()&&(R=f);var V,D;f=(D=(V=K.J)==null?void 0:V.audio.J)!=null?D:K.fz;if(f==null||isNaN(f))K=Llv(K);else{V=(0,g.N7)();K.Jb=1;D=V-K.gU.y4<=K.maxStatefulTimeThresholdSec*1E3;K.applyStatefulNormalization&&D?K.Jb=2:D||(K.gU.gR=Infinity,K.gU.y4=NaN);D=(K.Jb===2?g.fT(K.gU.gR,K.minimumLoudnessTargetLkfs,K.loudnessTargetLkfs):K.loudnessTargetLkfs)-f;if(K.Jb!==2){var H,l,F,c,r=((H=\nK.playerResponse)==null?void 0:(l=H.playerConfig)==null?void 0:(F=l.audioConfig)==null?void 0:(c=F.loudnessNormalizationConfig)==null?void 0:c.statelessLoudnessAdjustmentGain)||0;D+=r}D=Math.min(D,0);K.preserveStatefulLoudnessTarget&&(K.gU.gR=f+D,K.gU.y4=V);K=Math.min(1,Math.pow(10,D/20))||R}}else K=Llv(K);return K};\nLlv=function(K){var R=1,f=g.mz(K.gU.experiments,\"html5_default_ad_gain\");f&&K.isAd()&&(R=f);var V,D;f=((V=K.J)==null?void 0:V.audio.X)!=null?(D=K.J)==null?void 0:D.audio.X:K.w3;isNaN(f)||(K.Jb=4);return Math.min(1,Math.pow(10,-f/20))||R};\nyx=function(K){var R=[\"MUSIC_VIDEO_TYPE_ATV\",\"MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK\"],f=o4(K.gU)===\"TVHTML5_SIMPLY\"&&K.gU.U.ctheme===\"MUSIC\";!K.WP&&(g.ke(K.gU)||g.Db(K.gU)||f)&&(R.includes(K.musicVideoType)||K.isExternallyHostedPodcast)&&(K.WP=!0);if(R=g.uj())R=/Starboard\\/([0-9]+)/.exec(g.DP()),R=(R?parseInt(R[1],10):NaN)<10;f=K.gU;f=(o4(f)===\"TVHTML5_CAST\"||o4(f)===\"TVHTML5\"&&(f.U.cver.startsWith(\"6.20130725\")||f.U.cver.startsWith(\"6.20130726\")))&&K.gU.U.ctheme===\"MUSIC\";var V;if(V=!K.WP)f||(f=\nK.gU,f=o4(f)===\"TVHTML5\"&&f.U.cver.startsWith(\"7\")),V=f;V&&!R&&(R=K.musicVideoType===\"MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK\",f=(K.Y(\"cast_prefer_audio_only_for_atv_and_uploads\")||K.Y(\"kabuki_pangea_prefer_audio_only_for_atv_and_uploads\"))&&K.musicVideoType===\"MUSIC_VIDEO_TYPE_ATV\",R||f||K.isExternallyHostedPodcast)&&(K.WP=!0);return K.gU.deviceIsAudioOnly||K.WP&&K.gU.Z};\noU=function(K){var R,f,V;return((R=K.playerResponse)==null?void 0:(f=R.playerConfig)==null?void 0:(V=f.compositeVideoConfig)==null?void 0:V.compositeBroadcastType)===\"COMPOSITE_BROADCAST_TYPE_COMPRESSED_DOMAIN_COMPOSITE\"};\nz8v=function(K){var R,f,V,D=(R=K.playerResponse)==null?void 0:(f=R.playerConfig)==null?void 0:(V=f.compositeVideoConfig)==null?void 0:V.sourceConfigs,H,l,F;K=(H=K.playerResponse)==null?void 0:(l=H.playerConfig)==null?void 0:(F=l.compositeVideoConfig)==null?void 0:F.defaultActiveSourceVideoId;if(!D||!D.length)return\"\";K||(K=D[0].videoId||\"\");D=g.Z(D);for(H=D.next();!H.done;H=D.next())if(H=H.value,H.videoId===K&&H.audioTracks)for(H=g.Z(H.audioTracks),l=H.next();!l.done;l=H.next())if(l=l.value,l.isDefaultForSource)return l.id||\n\"\";return\"\"};\ng.x32=function(K){return K.qY()&&tP(K)};\nmX=function(K){var R,f,V;return!!((R=K.playerResponse)==null?0:(f=R.playerConfig)==null?0:(V=f.mediaCommonConfig)==null?0:V.splitScreenEligible)};\nGW=function(K){var R;return!((R=K.playerResponse)==null||!R.compositePlayabilityStatus)};\nEF2=function(K){return isNaN(K)?0:Math.max((Date.now()-K)/1E3-30,0)};\nuv=function(K){return!(!K.Ml||!K.gU.Z)&&K.Sz()};\nCZ=function(K){return K.rh&&K.enableServerStitchedDai};\na_N=function(K){return K.Zc&&!K.A3};\ntP=function(K){var R=K.Y(\"html5_enable_sabr_on_drive\")&&K.gU.UF===\"gd\";if(K.Bh)return K.Zc&&K.KQ(\"fds\",{fds:!0},!0),!1;if(K.gU.UF!==\"yt\"&&!R)return K.Zc&&K.KQ(\"dsvn\",{ns:K.gU.UF},!0),!1;if(K.cotn||!K.U||K.U.isOtf&&!K.Y(\"html5_enable_sabr_otf_in_client\")||K.X&&!K.X.U||K.ww&&!K.Y(\"html5_enable_sabr_csdai\"))return!1;if(K.Y(\"html5_use_sabr_requests_for_debugging\"))return!0;K.Zc&&K.KQ(\"esfw\",{usbc:K.Zc,hsu:!!K.A3},!0);if(K.Zc&&K.A3)return!0;if(K.Y(\"html5_remove_client_sabr_determination\"))return!1;var f=\n!K.U.qY&&!K.Im();R=f&&e7&&K.Y(\"html5_enable_sabr_vod_streaming_xhr\");f=f&&!e7&&K.Y(\"html5_enable_sabr_vod_non_streaming_xhr\");var V=Kl(K),D=K.Y(\"html5_enable_sabr_drm_vod_streaming_xhr\")&&e7&&K.Im()&&!K.U.qY&&(K.drmProduct===\"1\"?!1:!0);(R=R||f||V||D)&&!K.A3&&K.KQ(\"sabr\",{loc:\"m\"},!0);return R&&!!K.A3};\nKl=function(K){var R;if(!(R=e7&&K.qY()&&K.Im()&&(K.drmProduct===\"1\"?!1:!0)&&K.Y(\"html5_sabr_live_drm_streaming_xhr\"))){R=K.qY()&&!K.Im()&&e7;var f=K.qY()&&K.latencyClass!==\"ULTRALOW\"&&!K.isLowLatencyLiveStream&&K.Y(\"html5_sabr_live_normal_latency_streaming_xhr\"),V=K.isLowLatencyLiveStream&&K.Y(\"html5_sabr_live_low_latency_streaming_xhr\"),D=K.latencyClass===\"ULTRALOW\"&&K.Y(\"html5_sabr_live_ultra_low_latency_streaming_xhr\");R=R&&(f||V||D)}f=R;R=K.enableServerStitchedDai&&f&&K.Y(\"html5_enable_sabr_ssdai_streaming_xhr\");\nf=!K.enableServerStitchedDai&&f;V=K.qY()&&!e7&&K.Y(\"html5_enable_sabr_live_non_streaming_xhr\");K=e7&&(K.Jh()||mX(K)&&K.Y(\"html5_enable_sabr_for_lifa_eligible_streams\"));return R||f||V||K};\nNW=function(K){var R=K.Y(\"html5_enable_server_format_filter\")&&!K.Im(),f=K.Y(\"html5_enable_server_format_filter_for_drm\")&&K.Im();return tP(K)&&(R||f)};\npJ2=function(K){var R;if(R=!!K.cotn)R=K.videoId,R=!!R&&g.I3(R)===1;return R&&!K.Ml};\ng.RC=function(K){if(!K.U||!K.K||!K.J)return!1;var R=K.U.U,f=!!R[K.K.id]&&QN(19,R[K.K.id].Qe.U);R=!!R[K.J.id]&&QN(16,R[K.J.id].Qe.U);return(K.K.itag===\"0\"||f)&&R};\nfl=function(K){return K.fp?[\"OK\",\"LIVE_STREAM_OFFLINE\"].includes(K.fp.status):!0};\ncEo=function(K){return(K=K.lH)&&K.showError?K.showError:!1};\nVg=function(K,R){return K.Y(R)?!0:(K.fflags||\"\").includes(R+\"=true\")};\nWco=function(K,R){R.inlineMetricEnabled&&(K.inlineMetricEnabled=!0);R.playback_progress_0s_url&&(K.Yi=new VH_(R));if(R=R.video_masthead_ad_quartile_urls)K.i6=R.quartile_0_url,K.FN=R.quartile_25_url,K.f5=R.quartile_50_url,K.Ys=R.quartile_75_url,K.HT=R.quartile_100_url,K.Cw=R.quartile_0_urls,K.Rf=R.quartile_25_urls,K.gZ=R.quartile_50_urls,K.wZ=R.quartile_75_urls,K.If=R.quartile_100_urls};\nm5N=function(K){var R={};K=g.Z(K);for(var f=K.next();!f.done;f=K.next()){f=f.value;var V=f.split(\"=\");V.length===2?R[V[0]]=V[1]:R[f]=!0}return R};\nWA2=function(K){if(K){if(eG_(K))return K;K=fD5(K);if(eG_(K,!0))return K}return\"\"};\ng.QDe=function(K){return K.captionsLanguagePreference||K.gU.captionsLanguagePreference||g.JN(K,\"yt:cc_default_lang\")||K.gU.Dk};\nDk=function(K){return!(!K.isLivePlayback||!K.hasProgressBarBoundaries())};\ng.lv=function(K){var R;return K.gR||((R=K.suggestions)==null?void 0:R[0])||null};\nN$5=function(K,R){return R!=null?dm(K.N,R):K.N?K.N:K.gU.preferGapless&&K.gU.supportsGaplessShorts()};\ng.Hm=function(K){var R,f;return!!((R=K.embeddedPlayerConfig)==null?0:(f=R.embeddedPlayerFlags)==null?0:f.enableMusicUx)};\nU3B=function(K){return K.N||K.Y(\"web_player_media_session_infinity\")&&K.isLivePlayback};\n$b=function(K){return K.gU.J&&K.isPrivate};\nWlB=function(K){var R,f;return!!((R=K.playerResponse)==null?0:(f=R.playerConfig)==null?0:f.granularVariableSpeedConfig)};\ng.d9=function(K){var R=K.C(),f=g.lr(R),V=R.Fn;g.Oc(R)&&(V&&(f.thirdParty=Object.assign({},f.thirdParty,{embedUrl:V})),yCG(f,K));if(V=K.UF)f.clickTracking={clickTrackingParams:V};else if(g.Oc(K.C())&&g.KI(\"EVENT_ID\"))f.clickTracking={clickTrackingParams:g.KI(\"EVENT_ID\")};else if(R.Y(\"html5_log_missing_itct\")){var D;V=new g.NB(\"Missing ITCT in InnerTubeContext\",{isAd:K.isAd(),P9r:(D=R.getWebPlayerContextConfig())==null?void 0:D.contextId});g.WR(V)}D=f.client||{};V=\"EMBED\";var H=qW(K);H===\"leanback\"?\nV=\"WATCH\":R.Y(\"gvi_channel_client_screen\")&&H===\"profilepage\"?V=\"CHANNEL\":K.Rp?V=\"LIVE_MONITOR\":H===\"detailpage\"?V=\"WATCH_FULL_SCREEN\":H===\"adunit\"?V=\"ADUNIT\":H===\"sponsorshipsoffer\"&&(V=\"UNKNOWN\");D.clientScreen=V;if(V=K.kidsAppInfo)D.kidsAppInfo=JSON.parse(V);(H=K.Oz)&&!V&&(D.kidsAppInfo={contentSettings:{ageUpMode:tmM[H]}});if(V=K.zU)D.unpluggedAppInfo={enableFilterMode:!0};(H=K.unpluggedFilterModeType)&&!V&&(D.unpluggedAppInfo={filterModeType:AEB[H]});if(V=K.Kh)D.unpluggedLocationInfo=V;f.client=\nD;D=f.request||{};K.nh&&(D.isPrefetch=!0);if(V=K.mdxEnvironment)D.mdxEnvironment=V;if(V=K.mdxControlMode)D.mdxControlMode=JE2[V];f.request=D;D=f.user||{};if(V=K.aY)D.credentialTransferTokens=[{token:V,scope:\"VIDEO\"}];if(V=K.OF)D.delegatePurchases={oauthToken:V},D.kidsParent={oauthToken:V};var l;V=(l=R.getWebPlayerContextConfig())==null?void 0:l.userContentRating;R.ph().U.aG(ZuB)&&V&&(D.serializedUserContentRating=V);f.user=D;if(R=K.contextParams)f.activePlayers=[{playerContextParams:R}];if(K=K.clientScreenNonce)f.clientScreenNonce=\nK;return f};\ng.lr=function(K){var R=g.GE(),f=R.client||{};if(K.forcedExperiments){var V=K.forcedExperiments.split(\",\"),D=[];V=g.Z(V);for(var H=V.next();!H.done;H=V.next())D.push(Number(H.value));f.experimentIds=D}if(D=K.homeGroupInfo)f.homeGroupInfo=JSON.parse(D);if(D=K.getPlayerType())f.playerType=D;if(D=K.U.ctheme)f.theme=D;if(D=K.livingRoomAppMode)f.tvAppInfo=Object.assign({},f.tvAppInfo,{livingRoomAppMode:D});D=K.deviceYear;K.Y(\"html5_propagate_device_year\")&&D&&(f.tvAppInfo=Object.assign({},f.tvAppInfo,{deviceYear:D}));\nif(D=K.livingRoomPoTokenId)f.tvAppInfo=Object.assign({},f.tvAppInfo,{livingRoomPoTokenId:D});R.client=f;D=R.user||{};K.enableSafetyMode&&(D=Object.assign({},D,{enableSafetyMode:!0}));var l;((l=f.tvAppInfo)==null?0:l.usePageidAsHeader)||!K.pageId||(D=Object.assign({},D,{onBehalfOfUser:K.pageId}));R.user=D;return R};\nnFe=function(K,R,f){var V=K.videoId,D=g.d9(K),H=K.C(),l={html5Preference:\"HTML5_PREF_WANTS\",lactMilliseconds:String(ws()),referer:document.location.toString(),signatureTimestamp:20402},F=g.Mm();K.isAutonav&&(l.autonav=!0);F.aG(141)&&(l.autonavState=F.aG(140)?\"STATE_OFF\":\"STATE_ON\");l.autoCaptionsDefaultOn=F.aG(66);vFM(K)&&(l.autoplay=!0);H.Z&&K.cycToken&&(l.cycToken=K.cycToken);H.enablePrivacyFilter&&(l.enablePrivacyFilter=!0);K.isFling&&(l.fling=!0);var c=K.forceAdsUrl;if(c){F={};var r=[];c=c.split(\",\");\nc=g.Z(c);for(var y=c.next();!y.done;y=c.next()){y=y.value;var h=y.split(\"|\");h.length!==3||y.includes(\"=\")||(h[0]=\"breaktype=\"+h[0],h[1]=\"offset=\"+h[1],h[2]=\"url=\"+h[2]);y={adtype:\"video_ad\"};h=g.Z(h);for(var S=h.next();!S.done;S=h.next()){var v=g.Z(S.value.split(\"=\"));S=v.next().value;v=UB2(v);y[S]=v.join(\"=\")}h=y.url;S=y.presetad;v=y.viralresponseurl;var L=Number(y.campaignid);if(y.adtype===\"in_display_ad\")h&&(F.url=h),S&&(F.presetAd=S),v&&(F.viralAdResponseUrl=v),L&&(F.viralCampaignId=String(L));\nelse if(y.adtype===\"video_ad\"){var E={offset:{kind:\"OFFSET_MILLISECONDS\",value:String(Number(y.offset)||0)}};if(y=B$_[y.breaktype])E.breakType=y;h&&(E.url=h);S&&(E.presetAd=S);v&&(E.viralAdResponseUrl=v);L&&(E.viralCampaignId=String(L));r.push(E)}}l.forceAdParameters={videoAds:r,inDisplayAd:F}}K.isInlinePlaybackNoAd&&(l.isInlinePlaybackNoAd=!0);K.isLivingRoomDeeplink&&(l.isLivingRoomDeeplink=!0);F=K.Qb;if(F!=null){F={startWalltime:String(F)};if(r=K.ql)F.manifestDuration=String(r||14400);l.liveContext=\nF}if(K.mutedAutoplay){l.mutedAutoplay=!0;F=H.getWebPlayerContextConfig();var Q,J;(F==null?0:(Q=F.embedsHostFlags)==null?0:Q.allowMutedAutoplayDurationMode)&&(F==null?0:(J=F.embedsHostFlags)==null?0:J.allowMutedAutoplayDurationMode.includes(XGh[K.mutedAutoplayDurationMode]))&&(l.mutedAutoplayDurationMode=XGh[K.mutedAutoplayDurationMode])}if(K.vK?0:K.aQ)l.splay=!0;Q=K.vnd;Q===5&&(l.vnd=Q);Q={};if(J=K.isMdxPlayback)Q.triggeredByMdx=J;if(J=K.rT)Q.skippableAdsSupported=J.split(\",\").includes(\"ska\");if(r=\nK.sT){J=K.EK;F=[];r=g.Z(hTe(r));for(c=r.next();!c.done;c=r.next()){c=c.value;y=c.platform;c={applicationState:c.pX?\"INACTIVE\":\"ACTIVE\",clientFormFactor:k1z[y]||\"UNKNOWN_FORM_FACTOR\",clientName:SKw[c.F6]||\"UNKNOWN_INTERFACE\",clientVersion:c.deviceVersion||\"\",platform:T$2[y]||\"UNKNOWN_PLATFORM\"};y={};if(J){h=void 0;try{h=JSON.parse(J)}catch(B){g.A$(B)}h&&(y={params:[{key:\"ms\",value:h.ms}]},h.advertising_id&&(y.advertisingId=h.advertising_id),h.limit_ad_tracking!==void 0&&h.limit_ad_tracking!==null&&\n(y.limitAdTracking=h.limit_ad_tracking),c.osName=h.os_name,c.userAgent=h.user_agent,c.windowHeightPoints=h.window_height_points,c.windowWidthPoints=h.window_width_points)}F.push({adSignalsInfo:y,remoteClient:c})}Q.remoteContexts=F}J=K.sourceContainerPlaylistId;F=K.serializedMdxMetadata;if(J||F)r={},J&&(r.mdxPlaybackContainerInfo={sourceContainerPlaylistId:J}),F&&(r.serializedMdxMetadata=F),Q.mdxPlaybackSourceContext=r;l.mdxContext=Q;Q=R.width;Q>0&&(l.playerWidthPixels=Math.round(Q));if(R=R.height)l.playerHeightPixels=\nMath.round(R);f!==0&&(l.vis=f);if(f=H.widgetReferrer)l.widgetReferrer=f.substring(0,128);g.kN(H)&&l&&(l.ancestorOrigins=H.ancestorOrigins);K.defaultActiveSourceVideoId&&(l.compositeVideoContext={defaultActiveSourceVideoId:K.defaultActiveSourceVideoId});if(H=H.getWebPlayerContextConfig())l.encryptedHostFlags=H.encryptedHostFlags;V={videoId:V,context:D,playbackContext:{contentPlaybackContext:l}};if(K.Cv){var A;V.playbackContext.reloadPlaybackContext={reloadPlaybackParams:(A=K.Cv)==null?void 0:A.reloadPlaybackParams}}K.contentCheckOk&&\n(V.contentCheckOk=!0);if(A=K.clientPlaybackNonce)V.cpn=A;if(A=K.playerParams)V.params=A;if(A=K.playlistId)V.playlistId=A;K.racyCheckOk&&(V.racyCheckOk=!0);A=K.C();D=A.embedConfig;K.Pg&&A.Y(\"embeds_enable_per_video_embed_config\")?V.serializedThirdPartyEmbedConfig=K.Pg:D&&(V.serializedThirdPartyEmbedConfig=D);V.captionParams={};D=g.Mm().aG(65);K.deviceCaptionsOn!=null?V.captionParams.deviceCaptionsOn=K.deviceCaptionsOn:g.fc(A)&&(V.captionParams.deviceCaptionsOn=D!=null?!D:!1);K.wT&&(V.captionParams.deviceCaptionsLangPref=\nK.wT);K.iG.length?V.captionParams.viewerSelectedCaptionLangs=K.iG:g.fc(A)&&(D=g.Q0(),D==null?0:D.length)&&(V.captionParams.viewerSelectedCaptionLangs=D);D=K.fetchType===\"onesie\"&&K.Y(\"html5_onesie_attach_po_token\");l=K.fetchType!==\"onesie\"&&K.Y(\"html5_non_onesie_attach_po_token\");if(D||l)D=K.C(),D.v9&&(V.serviceIntegrityDimensions={},V.serviceIntegrityDimensions.poToken=D.v9);A.Y(\"fetch_att_independently\")&&(V.attestationRequest={omitBotguardData:!0});V.playbackContext||(V.playbackContext={});V.playbackContext.devicePlaybackCapabilities=\nPQo(K);V.playbackContext.devicePlaybackCapabilities.supportsVp9Encoding===!1&&K.KQ(\"noVp9\",{});return V};\nPQo=function(K){var R=!(K==null?0:K.Cn())&&(K==null?void 0:K.qY())&&$c(),f;if(!(f=K==null)){f=g.S7(K);K=K.C().B;var V=hP(\"243\");f=!(V&&OC(f,V,K,!0)===!0)}return{supportsVp9Encoding:!(f||R),supportXhr:e7}};\ngFD=function(K,R){var f,V,D;return g.I(function(H){if(H.U==1)return f={context:g.lr(K.C()),engagementType:\"ENGAGEMENT_TYPE_PLAYBACK\",ids:[{playbackId:{videoId:K.videoId,cpn:K.clientPlaybackNonce}}]},V=g.C0(I_5),g.P(H,g.kQ(R,f,V),2);D=H.K;return H.return(D)})};\nOuo=function(K,R,f){var V=g.mz(R.experiments,\"bg_vm_reinit_threshold\");(!vp||(0,g.N7)()-vp>V)&&gFD(K,f).then(function(D){D&&(D=D.botguardData)&&g.wj(D,R)},function(D){K.mZ()||(D=R2(D),K.KQ(\"attf\",D.details))})};\nFs=function(K,R){g.O.call(this);this.app=K;this.state=R};\nr9=function(K,R,f){K.state.U.hasOwnProperty(R)||cm(K,R,f);K.state.N[R]=function(){return f.apply(K,g.wW.apply(0,arguments))};\nK.state.T.add(R)};\nyg=function(K,R,f){K.state.U.hasOwnProperty(R)||cm(K,R,f);K.app.C().Z&&(K.state.Z[R]=function(){return f.apply(K,g.wW.apply(0,arguments))},K.state.T.add(R))};\ncm=function(K,R,f){K.state.U[R]=function(){return f.apply(K,g.wW.apply(0,arguments))}};\ng.hX=function(K,R,f){return K.state.U[R].apply(K.state.U,g.X(f))};\noC=function(){g.tF.call(this);this.B=new Map};\nSM=function(){g.O.apply(this,arguments);this.element=null;this.T=new Set;this.N={};this.Z={};this.U={};this.EF=new Set;this.X=new oC;this.K=new oC;this.J=new oC;this.B=new oC};\njDv=function(K,R,f){typeof K===\"string\"&&(K={mediaContentUrl:K,startSeconds:R,suggestedQuality:f});a:{if((R=K.mediaContentUrl)&&(R=/\\/([ve]|embed)\\/([^#?]+)/.exec(R))&&R[2]){R=R[2];break a}R=null}K.videoId=R;return ir(K)};\nir=function(K,R,f){if(typeof K===\"string\")return{videoId:K,startSeconds:R,suggestedQuality:f};R={};f=g.Z(qr5);for(var V=f.next();!V.done;V=f.next())V=V.value,K[V]&&(R[V]=K[V]);if(K=K.embedConfig||K.embed_config)if(typeof K===\"string\")R.embed_config=K;else if(g.kV(K))try{var D=JSON.stringify(K);R.embed_config=D}catch(H){console.error(\"Invalid embedConfig JSON\",H)}return R};\nMmw=function(K,R,f,V){if(g.kV(K)&&!Array.isArray(K)){R=\"playlist list listType index startSeconds suggestedQuality\".split(\" \");f={};for(V=0;V32&&V.push(\"hfr\");R.isHdr()&&V.push(\"hdr\");R.primaries===\"bt2020\"&&V.push(\"wcg\");f.video_quality_features=V}}if(K=K.getPlaylistId())f.list=K;return f};\nxb=function(){vm.apply(this,arguments)};\nED=function(K,R){var f={};if(K.app.C().aY){K=g.Z(m35);for(var V=K.next();!V.done;V=K.next())V=V.value,R.hasOwnProperty(V)&&(f[V]=R[V]);if(R=f.qoe_cat)K=\"\",typeof R===\"string\"&&R.length>0&&(K=R.split(\",\").filter(function(D){return G1e.includes(D)}).join(\",\")),f.qoe_cat=K;\nurN(f)}else for(K=g.Z(sDz),V=K.next();!V.done;V=K.next())V=V.value,R.hasOwnProperty(V)&&(f[V]=R[V]);return f};\nurN=function(K){var R=K.raw_player_response;if(!R){var f=K.player_response;f&&(R=JSON.parse(f))}delete K.player_response;delete K.raw_player_response;if(R){K.raw_player_response={streamingData:R.streamingData,playerConfig:R.playerConfig};var V;if((V=R.playbackTracking)==null?0:V.qoeUrl)K.raw_player_response=Object.assign({},K.raw_player_response,{playbackTracking:{qoeUrl:R.playbackTracking.qoeUrl}});R.videoDetails&&(R.videoDetails.videoId||R.videoDetails.lengthSeconds)&&(f={},R.videoDetails.videoId&&\n(f.videoId=R.videoDetails.videoId),R.videoDetails.lengthSeconds&&(f.lengthSeconds=R.videoDetails.lengthSeconds),K.raw_player_response=Object.assign({},K.raw_player_response,{videoDetails:f}))}};\ne85=function(K){var R=R===void 0?5:R;return K?CQw[K]||R:R};\ng.aC=function(){xb.apply(this,arguments)};\nKxh=function(K){cm(K,\"getInternalApiInterface\",K.getInternalApiInterface);cm(K,\"addEventListener\",K.Ui);cm(K,\"removeEventListener\",K.kAU);cm(K,\"cueVideoByPlayerVars\",K.PJ);cm(K,\"loadVideoByPlayerVars\",K.bha);cm(K,\"preloadVideoByPlayerVars\",K.JK0);cm(K,\"getAdState\",K.getAdState);cm(K,\"sendAbandonmentPing\",K.sendAbandonmentPing);cm(K,\"setLoopRange\",K.setLoopRange);cm(K,\"getLoopRange\",K.getLoopRange);cm(K,\"setAutonavState\",K.setAutonavState);cm(K,\"seekTo\",K.i7Y);cm(K,\"seekBy\",K.pBD);cm(K,\"seekToLiveHead\",\nK.seekToLiveHead);cm(K,\"requestSeekToWallTimeSeconds\",K.requestSeekToWallTimeSeconds);cm(K,\"seekToStreamTime\",K.seekToStreamTime);cm(K,\"prefetchKeyPlay\",K.prefetchKeyPlay);cm(K,\"startSeekCsiAction\",K.startSeekCsiAction);cm(K,\"getStreamTimeOffset\",K.getStreamTimeOffset);cm(K,\"getVideoData\",K.mp);cm(K,\"setInlinePreview\",K.setInlinePreview);cm(K,\"getAppState\",K.getAppState);cm(K,\"updateLastActiveTime\",K.updateLastActiveTime);cm(K,\"setBlackout\",K.setBlackout);cm(K,\"setUserEngagement\",K.setUserEngagement);\ncm(K,\"updateSubtitlesUserSettings\",K.updateSubtitlesUserSettings);cm(K,\"getPresentingPlayerType\",K.yH);cm(K,\"canPlayType\",K.canPlayType);cm(K,\"updatePlaylist\",K.updatePlaylist);cm(K,\"updateVideoData\",K.updateVideoData);cm(K,\"updateEnvironmentData\",K.updateEnvironmentData);cm(K,\"sendVideoStatsEngageEvent\",K.Kxr);cm(K,\"productsInVideoVisibilityUpdated\",K.productsInVideoVisibilityUpdated);cm(K,\"setSafetyMode\",K.setSafetyMode);cm(K,\"isAtLiveHead\",function(R){return K.isAtLiveHead(void 0,R)});\ncm(K,\"getVideoAspectRatio\",K.getVideoAspectRatio);cm(K,\"getPreferredQuality\",K.getPreferredQuality);cm(K,\"getPlaybackQualityLabel\",K.getPlaybackQualityLabel);cm(K,\"setPlaybackQualityRange\",K.yme);cm(K,\"onAdUxClicked\",K.onAdUxClicked);cm(K,\"getFeedbackProductData\",K.getFeedbackProductData);cm(K,\"getStoryboardFrame\",K.getStoryboardFrame);cm(K,\"getStoryboardFrameIndex\",K.getStoryboardFrameIndex);cm(K,\"getStoryboardLevel\",K.getStoryboardLevel);cm(K,\"getNumberOfStoryboardLevels\",K.getNumberOfStoryboardLevels);\ncm(K,\"getCaptionWindowContainerId\",K.getCaptionWindowContainerId);cm(K,\"getAvailableQualityLabels\",K.getAvailableQualityLabels);cm(K,\"addCueRange\",K.addCueRange);cm(K,\"addUtcCueRange\",K.addUtcCueRange);cm(K,\"showAirplayPicker\",K.showAirplayPicker);cm(K,\"dispatchReduxAction\",K.dispatchReduxAction);cm(K,\"getPlayerResponse\",K.g1);cm(K,\"getWatchNextResponse\",K.sN);cm(K,\"getHeartbeatResponse\",K.Qp);cm(K,\"getCurrentTime\",K.bB);cm(K,\"getDuration\",K.xK);cm(K,\"getPlayerState\",K.getPlayerState);cm(K,\"getPlayerStateObject\",\nK.w1);cm(K,\"getVideoLoadedFraction\",K.getVideoLoadedFraction);cm(K,\"getProgressState\",K.getProgressState);cm(K,\"getVolume\",K.getVolume);cm(K,\"setVolume\",K.md);cm(K,\"isMuted\",K.isMuted);cm(K,\"mute\",K.kS);cm(K,\"unMute\",K.Fd);cm(K,\"loadModule\",K.loadModule);cm(K,\"unloadModule\",K.unloadModule);cm(K,\"getOption\",K.It);cm(K,\"getOptions\",K.getOptions);cm(K,\"setOption\",K.setOption);cm(K,\"loadVideoById\",K.Z2);cm(K,\"loadVideoByUrl\",K.Pl);cm(K,\"playVideo\",K.Sq);cm(K,\"loadPlaylist\",K.loadPlaylist);cm(K,\"nextVideo\",\nK.nextVideo);cm(K,\"previousVideo\",K.previousVideo);cm(K,\"playVideoAt\",K.playVideoAt);cm(K,\"getDebugText\",K.getDebugText);cm(K,\"getWebPlayerContextConfig\",K.getWebPlayerContextConfig);cm(K,\"notifyShortsAdSwipeEvent\",K.notifyShortsAdSwipeEvent);cm(K,\"getVideoContentRect\",K.getVideoContentRect);cm(K,\"setSqueezeback\",K.setSqueezeback);cm(K,\"toggleSubtitlesOn\",K.toggleSubtitlesOn);cm(K,\"isSubtitlesOn\",K.isSubtitlesOn);cm(K,\"getAudioTrack\",K.xQ);cm(K,\"setAudioTrack\",K.Q$W);cm(K,\"getAvailableAudioTracks\",\nK.W4);cm(K,\"reportPlaybackIssue\",K.reportPlaybackIssue);cm(K,\"setAutonav\",K.setAutonav);cm(K,\"isNotServable\",K.isNotServable);cm(K,\"channelSubscribed\",K.channelSubscribed);cm(K,\"channelUnsubscribed\",K.channelUnsubscribed);cm(K,\"togglePictureInPicture\",K.togglePictureInPicture);cm(K,\"supportsGaplessAudio\",K.supportsGaplessAudio);cm(K,\"supportsGaplessShorts\",K.supportsGaplessShorts);cm(K,\"enqueueVideoByPlayerVars\",function(R){return void K.enqueueVideoByPlayerVars(R)});\ncm(K,\"clearQueue\",K.clearQueue);cm(K,\"getMaxPlaybackQuality\",K.getMaxPlaybackQuality);cm(K,\"getUserPlaybackQualityPreference\",K.getUserPlaybackQualityPreference);cm(K,\"getSubtitlesUserSettings\",K.getSubtitlesUserSettings);cm(K,\"resetSubtitlesUserSettings\",K.resetSubtitlesUserSettings);cm(K,\"setMinimized\",K.setMinimized);cm(K,\"setOverlayVisibility\",K.setOverlayVisibility);cm(K,\"confirmYpcRental\",K.confirmYpcRental);cm(K,\"queueNextVideo\",K.queueNextVideo);cm(K,\"handleExternalCall\",K.handleExternalCall);\ncm(K,\"logApiCall\",K.logApiCall);cm(K,\"isExternalMethodAvailable\",K.isExternalMethodAvailable);cm(K,\"setScreenLayer\",K.setScreenLayer);cm(K,\"getCurrentPlaylistSequence\",K.getCurrentPlaylistSequence);cm(K,\"getPlaylistSequenceForTime\",K.getPlaylistSequenceForTime);cm(K,\"shouldSendVisibilityState\",K.shouldSendVisibilityState);cm(K,\"syncVolume\",K.syncVolume);cm(K,\"highlightSettingsMenuItem\",K.highlightSettingsMenuItem);cm(K,\"openSettingsMenuItem\",K.openSettingsMenuItem);cm(K,\"getEmbeddedPlayerResponse\",\nK.getEmbeddedPlayerResponse);cm(K,\"getVisibilityState\",K.getVisibilityState);cm(K,\"isMutedByMutedAutoplay\",K.isMutedByMutedAutoplay);cm(K,\"isMutedByEmbedsMutedAutoplay\",K.isMutedByEmbedsMutedAutoplay);cm(K,\"setGlobalCrop\",K.setGlobalCrop);cm(K,\"setInternalSize\",K.setInternalSize);cm(K,\"setFauxFullscreen\",K.setFauxFullscreen);cm(K,\"setAppFullscreen\",K.setAppFullscreen)};\nNy=function(K,R,f){K=g.Qg(K.sA(),R);return f?(f.addOnDisposeCallback(K),null):K};\ng.UD=function(K,R,f){return K.app.C().qW?R:g.sK(\"$DESCRIPTION ($SHORTCUT)\",{DESCRIPTION:R,SHORTCUT:f})};\nRae=function(K){K.sA().element.setAttribute(\"aria-live\",\"polite\")};\ng.Wm=function(K,R){g.aC.call(this,K,R);Kxh(this);yg(this,\"addEventListener\",this.aD);yg(this,\"removeEventListener\",this.dQ5);yg(this,\"cueVideoByPlayerVars\",this.Fh);yg(this,\"loadVideoByPlayerVars\",this.El5);yg(this,\"preloadVideoByPlayerVars\",this.VI0);yg(this,\"loadVideoById\",this.Z2);yg(this,\"loadVideoByUrl\",this.Pl);yg(this,\"playVideo\",this.Sq);yg(this,\"loadPlaylist\",this.loadPlaylist);yg(this,\"nextVideo\",this.nextVideo);yg(this,\"previousVideo\",this.previousVideo);yg(this,\"playVideoAt\",this.playVideoAt);\nyg(this,\"getVideoData\",this.MG);yg(this,\"seekBy\",this.znQ);yg(this,\"seekTo\",this.ERZ);yg(this,\"showControls\",this.showControls);yg(this,\"hideControls\",this.hideControls);yg(this,\"cancelPlayback\",this.cancelPlayback);yg(this,\"getProgressState\",this.getProgressState);yg(this,\"isInline\",this.isInline);yg(this,\"setInline\",this.setInline);yg(this,\"setLoopVideo\",this.setLoopVideo);yg(this,\"getLoopVideo\",this.getLoopVideo);yg(this,\"getVideoContentRect\",this.getVideoContentRect);yg(this,\"getVideoStats\",this.Y$);\nyg(this,\"getCurrentTime\",this.UN);yg(this,\"getDuration\",this.xK);yg(this,\"getPlayerState\",this.J4);yg(this,\"getVideoLoadedFraction\",this.A4);yg(this,\"mute\",this.kS);yg(this,\"unMute\",this.Fd);yg(this,\"setVolume\",this.md);yg(this,\"loadModule\",this.loadModule);yg(this,\"unloadModule\",this.unloadModule);yg(this,\"getOption\",this.It);yg(this,\"getOptions\",this.getOptions);yg(this,\"setOption\",this.setOption);yg(this,\"addCueRange\",this.addCueRange);yg(this,\"getDebugText\",this.getDebugText);yg(this,\"getStoryboardFormat\",\nthis.getStoryboardFormat);yg(this,\"toggleFullscreen\",this.toggleFullscreen);yg(this,\"isFullscreen\",this.isFullscreen);yg(this,\"getPlayerSize\",this.getPlayerSize);yg(this,\"toggleSubtitles\",this.toggleSubtitles);yg(this,\"setCenterCrop\",this.setCenterCrop);yg(this,\"setFauxFullscreen\",this.setFauxFullscreen);yg(this,\"setSizeStyle\",this.setSizeStyle);yg(this,\"handleGlobalKeyDown\",this.handleGlobalKeyDown);yg(this,\"handleGlobalKeyUp\",this.handleGlobalKeyUp);pGD(this)};\ng.AX=function(K){K=K.JV();var R=K.KT.get(\"endscreen\");return R&&R.ge()?!0:K.Oe()};\ng.Zk=function(K,R){K.getPresentingPlayerType()===3?K.publish(\"mdxautoplaycancel\"):K.lD(\"onAutonavCancelled\",R)};\ng.Xs=function(K){var R=Bm(K.JV());return K.app.JN&&!K.isFullscreen()||K.getPresentingPlayerType()===3&&R&&R.hasNext()&&R.hasPrevious()||!!K.getPlaylist()};\ng.kb=function(K,R){g.hX(K,\"addEmbedsConversionTrackingParams\",[R])};\ng.Pm=function(K){return(K=g.TV(K.JV()))?K.NI():{}};\ng.f1e=function(K){K=(K=K.getVideoData())&&K.K;return!!K&&!(!K.audio||!K.video)&&K.mimeType!==\"application/x-mpegURL\"};\ng.nl=function(K,R,f){K=K.Ft().element;var V=oK(K.children,function(D){D=Number(D.getAttribute(\"data-layer\"));return f-D||1});\nV<0&&(V=-(V+1));XU(K,R,V);R.setAttribute(\"data-layer\",String(f))};\ng.IC=function(K){var R=K.C();if(!R.FQ)return!1;var f=K.getVideoData();if(!f||K.getPresentingPlayerType()===3)return!1;var V=(!f.isLiveDefaultBroadcast||R.Y(\"allow_poltergust_autoplay\"))&&!Dk(f);V=f.isLivePlayback&&(!R.Y(\"allow_live_autoplay\")||!V);var D=f.isLivePlayback&&R.Y(\"allow_live_autoplay_on_mweb\");K=K.getPlaylist();K=!!K&&K.hasNext();var H=f.Xt&&f.Xt.playerOverlays||null;H=!!(H&&H.playerOverlayRenderer&&H.playerOverlayRenderer.autoplay);H=f.nL&&H;return!f.ypcPreview&&(!V||D)&&!g.Ka(f.s$,\"ypc\")&&\n!K&&(!g.kN(R)||H)};\nV4B=function(K,R){K=K.app.EJ().T.uO();K=g.Z(K);for(var f=K.next();!f.done;f=K.next()){f=f.value;var V=f.getAvailableAudioTracks(),D=null;V=g.Z(V);for(var H=V.next();!H.done;H=V.next())if(H=H.value,H.getLanguageInfo().getId()===R){D=H;break}D&&f.r3(D,!0)}};\ng9=function(){jz.apply(this,arguments);this.requestHeaders={}};\njM=function(){OD||(OD=new g9);return OD};\nqy=function(K,R){R?K.requestHeaders.Authorization=\"Bearer \"+R:delete K.requestHeaders.Authorization};\nDp2=function(K){this.experiments=K;this.U=2048;this.J=0;this.UF=(this.N=this.Y(\"html5_streaming_resilience\"))?.5:.25;var R=R===void 0?0:R;this.X=g.mz(this.experiments,\"html5_media_time_weight_prop\")||R;this.EF=(this.B=this.experiments.rU(\"html5_consider_end_stall\"))&&e7;this.K=this.experiments.rU(\"html5_measure_max_progress_handling\");this.Z=this.Y(\"html5_treat_requests_pre_elbow_as_metadata\");this.T=this.Y(\"html5_media_time_weight\")||!!this.X;this.Y(\"html5_sabr_live_audio_early_return_fix\")&&e7&&\n(this.U=65536)};\ng.My=function(K){g.O.call(this);var R=this;this.bD=K;this.OC={nV:function(){return R.bD}}};\ng.br=function(K,R,f,V){V=V===void 0?!1:V;g.di.call(this,R);var D=this;this.G=K;this.UF=V;this.B=new g.de(this);this.fade=new g.K0(this,f,!0,void 0,void 0,function(){D.j9()});\ng.q(this,this.B);g.q(this,this.fade)};\npl=function(K){var R=K.G.getRootNode();return K.G.Y(\"web_watch_pip\")||K.G.Y(\"web_shorts_pip\")?SL(R):document};\nH1w=function(K){K.sourceElement&&(document.activeElement&&g.Ta(K.element,document.activeElement)&&K.sourceElement.focus(),K.sourceElement.setAttribute(\"aria-expanded\",\"false\"),K.sourceElement=void 0);g.kc(K.B);K.T=void 0};\nYb=function(K,R,f){K.Xp()?K.mB():K.kY(R,f)};\nmK=function(K,R,f,V){V=new g.Y({V:\"div\",Me:[\"ytp-linked-account-popup-button\"],Q0:V,L:{role:\"button\",tabindex:\"0\"}});R=new g.Y({V:\"div\",D:\"ytp-linked-account-popup\",L:{role:\"dialog\",\"aria-modal\":\"true\",tabindex:\"-1\"},S:[{V:\"div\",D:\"ytp-linked-account-popup-title\",Q0:R},{V:\"div\",D:\"ytp-linked-account-popup-description\",Q0:f},{V:\"div\",D:\"ytp-linked-account-popup-buttons\",S:[V]}]});g.br.call(this,K,{V:\"div\",D:\"ytp-linked-account-popup-container\",S:[R]},100);var D=this;this.dialog=R;g.q(this,this.dialog);\nV.listen(\"click\",function(){D.mB()});\ng.q(this,V);g.nl(this.G,this.element,4);this.hide()};\ng.ur=function(K,R,f,V){g.di.call(this,K);this.priority=R;f&&g.GV(this,f);V&&this.setContent(V)};\ng.sD=function(K,R,f,V){K=K===void 0?{}:K;R=R===void 0?[]:R;f=f===void 0?!1:f;V=V===void 0?!1:V;R.push(\"ytp-menuitem\");var D=K;\"role\"in D||(D.role=\"menuitem\");f||(D=K,\"tabindex\"in D||(D.tabindex=\"0\"));K={V:f?\"a\":\"div\",Me:R,L:K,S:[{V:\"div\",D:\"ytp-menuitem-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-menuitem-label\",Q0:\"{{label}}\"},{V:\"div\",D:\"ytp-menuitem-content\",Q0:\"{{content}}\"}]};V&&K.S.push({V:\"div\",D:\"ytp-menuitem-secondary-icon\",Q0:\"{{secondaryIcon}}\"});return K};\ng.GV=function(K,R){K.updateValue(\"label\",R)};\nvar $Bz=function(K,R){return QN[d[0]](this,50,K,R)};\nCl=function(K){g.ur.call(this,g.sD({\"aria-haspopup\":\"true\"},[\"ytp-linked-account-menuitem\"]),2);var R=this;this.G=K;this.K=this.U=!1;this.W5=K.BR();K.createServerVe(this.element,this,!0);this.j(this.G,\"settingsMenuVisibilityChanged\",function(f){R.bM(f)});\nthis.j(this.G,\"videodatachange\",this.J);this.listen(\"click\",this.onClick);this.J()};\neM=function(K){return K?g.ri(K):\"\"};\nK_=function(K){g.O.call(this);this.api=K};\nRW=function(K){K_.call(this,K);var R=this;cm(K,\"setAccountLinkState\",function(f){R.setAccountLinkState(f)});\ncm(K,\"updateAccountLinkingConfig\",function(f){R.updateAccountLinkingConfig(f)});\nK.addEventListener(\"videodatachange\",function(f,V){R.onVideoDataChange(V)});\nK.addEventListener(\"settingsMenuInitialized\",function(){R.menuItem=new Cl(R.api);g.q(R,R.menuItem)})};\nf_=function(K){K_.call(this,K);var R=this;this.U=null;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"applicationvideodatachange\",function(){R.FD()})};\n$p_=function(K){this.api=K;this.U={}};\nVi=function(K,R,f,V){R in K.U||(f=new g.nQ(f,V,{id:R,priority:2,namespace:\"appad\"}),K.api.PV([f],1),K.U[R]=f)};\nDJ=function(K){K_.call(this,K);var R=this;this.events=new g.de(this);g.q(this,this.events);this.U=new $p_(this.api);this.events.j(this.api,\"legacyadtrackingpingreset\",function(){R.U.U={}});\nthis.events.j(this.api,\"legacyadtrackingpingchange\",function(f){var V=R.U;Vi(V,\"part2viewed\",1,0x8000000000000);Vi(V,\"engagedview\",Math.max(1,f.XG*1E3),0x8000000000000);if(!f.isLivePlayback){var D=f.lengthSeconds*1E3;rQ(f)&&V.api.Y(\"html5_shorts_gapless_ads_duration_fix\")&&(D=V.api.getProgressState().seekableEnd*1E3-f.BC);Vi(V,\"videoplaytime25\",D*.25,D);Vi(V,\"videoplaytime50\",D*.5,D);Vi(V,\"videoplaytime75\",D*.75,D);Vi(V,\"videoplaytime100\",D,0x8000000000000);Vi(V,\"conversionview\",D,0x8000000000000);\nVi(V,\"videoplaybackstart\",1,D);Vi(V,\"videoplayback2s\",2E3,D);Vi(V,\"videoplayback10s\",1E4,D)}});\nthis.events.j(this.api,g.gI(\"appad\"),this.K);this.events.j(this.api,g.OK(\"appad\"),this.K)};\ncGM=function(K,R,f){if(!(f in R))return!1;R=R[f];Array.isArray(R)||(R=[R]);R=g.Z(R);for(f=R.next();!f.done;f=R.next()){f=f.value;var V={CPN:K.api.getVideoData().clientPlaybackNonce};f=g.XZ(f,V);V=void 0;V=V===void 0?!1:V;(V=BX(XE(f,l1v),f,V,\"Active View 3rd Party Integration URL\"))||(V=void 0,V=V===void 0?!1:V,V=BX(XE(f,dpN),f,V,\"Google/YouTube Brand Lift URL\"));V||(V=void 0,V=V===void 0?!1:V,V=BX(XE(f,FxD),f,V,\"Nielsen OCR URL\"));g.PY(f,void 0,V)}return!0};\nHW=function(K,R){rGv(K,R).then(function(f){g.PY(R,void 0,void 0,f)})};\n$2=function(K,R){R.forEach(function(f){HW(K,f)})};\nrGv=function(K,R){return g.cX(K.api.C())&&o9(R)&&hm(R)?g.r6(K.api.C(),g.Ys(K.api.getVideoData())).then(function(f){var V;f&&(V={Authorization:\"Bearer \"+f});return V},void 0):nI()};\nyGw=function(K){K_.call(this,K);this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"videoready\",function(R){if(K.getPresentingPlayerType()===1){var f,V,D={playerDebugData:{pmlSignal:!!((f=R.getPlayerResponse())==null?0:(V=f.adPlacements)==null?0:V.some(function(H){var l;return H==null?void 0:(l=H.adPlacementRenderer)==null?void 0:l.renderer})),\ncontentCpn:R.clientPlaybackNonce}};g.h$(\"adsClientStateChange\",D)}})};\nl8=function(K,R){g.ur.call(this,g.sD({role:\"menuitemcheckbox\",\"aria-checked\":\"false\"}),R,K,{V:\"div\",D:\"ytp-menuitem-toggle-checkbox\"});this.checked=!1;this.enabled=!0;this.listen(\"click\",this.onClick)};\ndt=function(K,R){K.checked=R;K.element.setAttribute(\"aria-checked\",String(K.checked))};\nha5=function(K){var R=!K.C().G3&&K.getPresentingPlayerType()!==3;return K.isFullscreen()||R};\ng.FK=function(K,R,f,V){var D=K.currentTarget;if((f===void 0||!f)&&g.xe(K))return K.preventDefault(),!0;R.pauseVideo();K=D.getAttribute(\"href\");g.O_(K,V,!0);return!1};\ng.cW=function(K,R,f){if(eA(R.C())&&R.getPresentingPlayerType()!==2){if(g.xe(f))return R.isFullscreen()&&!R.C().externalFullscreen&&R.toggleFullscreen(),f.preventDefault(),!0}else{var V=g.xe(f);V&&R.pauseVideo();g.O_(K,void 0,!0);V&&(g.jC(K),f.preventDefault())}return!1};\noi_=function(K){K=rt.includes(\"en\")?K.Y(\"delhi_modern_web_player_icons\")?vv():{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\",\nfill:\"#fff\"}}]}:K.Y(\"delhi_modern_web_player_icons\")?F7B():{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z\",fill:\"#fff\"}}]};K.D=\"ytp-subtitles-button-icon\";\nreturn K};\nSCh=function(K){return rt.includes(\"en\")?K?vv():{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M6,14v-4c0-0.55,.45-1,1-1h3c0.55,0,1,.45,1,1v1H9.5v-0.5h-2v3h2V13H11v1c0,.55-0.45,1-1,1H7C6.45,15,6,14.55,6,14z M14,15h3c0.55,0,1-0.45,1-1v-1h-1.5v0.5h-2v-3h2V11H18v-1c0-0.55-0.45-1-1-1h-3c-0.55,0-1,.45-1,1v4C13,14.55,13.45,15,14,15z M20,4H4v16h16V4 M21,3v18H3V3.01C3,3,3,3,3.01,3H21L21,3z\",fill:\"white\"}}]}:K?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",\nwidth:\"24\"},S:[{V:\"path\",L:{d:\"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM8 11H6C5.73 11 5.48 11.10 5.29 11.29C5.10 11.48 5 11.73 5 12C5 12.26 5.10 12.51 5.29 12.70C5.48 12.89 5.73 13 6 13H8C8.26 13 8.51 12.89 8.70 12.70C8.89 12.51 9 12.26 9 12C9 11.73 8.89 11.48 8.70 11.29C8.51 11.10 8.26 11 8 11ZM18 11H12C11.73 11 11.48 11.10 11.29 11.29C11.10 11.48 11 11.73 11 12C11 12.26 11.10 12.51 11.29 12.70C11.48 12.89 11.73 13 12 13H18C18.26 13 18.51 12.89 18.70 12.70C18.89 12.51 19 12.26 19 12C19 11.73 18.89 11.48 18.70 11.29C18.51 11.10 18.26 11 18 11ZM18 15H16C15.73 15 15.48 15.10 15.29 15.29C15.10 15.48 15 15.73 15 16C15 16.26 15.10 16.51 15.29 16.70C15.48 16.89 15.73 17 16 17H18C18.26 17 18.51 16.89 18.70 16.70C18.89 16.51 19 16.26 19 16C19 15.73 18.89 15.48 18.70 15.29C18.51 15.10 18.26 15 18 15ZM12 15H6C5.73 15 5.48 15.10 5.29 15.29C5.10 15.48 5 15.73 5 16C5 16.26 5.10 16.51 5.29 16.70C5.48 16.89 5.73 17 6 17H12C12.26 17 12.51 16.89 12.70 16.70C12.89 16.51 13 16.26 13 16C13 15.73 12.89 15.48 12.70 15.29C12.51 15.10 12.26 15 12 15Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M5,11h2v2H5V11z M15,15H5v2h10V15z M19,15h-2v2h2V15z M19,11H9v2h10V11z M22,6H2v14h20V6z M3,7h18v12H3V7z\",fill:\"white\"}}]}};\nyi=function(){return{V:\"div\",D:\"ytp-spinner-container\",S:[{V:\"div\",D:\"ytp-spinner-rotator\",S:[{V:\"div\",D:\"ytp-spinner-left\",S:[{V:\"div\",D:\"ytp-spinner-circle\"}]},{V:\"div\",D:\"ytp-spinner-right\",S:[{V:\"div\",D:\"ytp-spinner-circle\"}]}]}]}};\nh4=function(K){if(document.createRange){var R=document.createRange();R&&(R.selectNodeContents(K),K=window.getSelection())&&(K.removeAllRanges(),K.addRange(R))}};\nSn=function(K,R){var f=K.Y(\"web_fix_annotations\")?\"Annotated Overlays\":\"Annotations\";l8.call(this,f,g.oW.Jq);this.G=K;this.W5=R;this.U=!1;K.Y(\"web_settings_menu_icons\")&&(R=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M9.65 6.00L9.5 6H2.5L2.34 6.00C1.97 6.04 1.63 6.21 1.38 6.49C1.13 6.77 1.00 7.12 1 7.5V13.5L1.00 13.65C1.04 14.02 1.21 14.36 1.49 14.61C1.77 14.86 2.12 15 2.5 15H4.5L3.81 17.75C3.77 17.89 3.77 18.03 3.79 18.17C3.82 18.31 3.87 18.45 3.95 18.56C4.03 18.68 4.14 18.78 4.26 18.85C4.38 18.92 4.51 18.97 4.66 18.99L4.78 19H8.55L8.72 18.98C8.88 18.95 9.04 18.89 9.17 18.79C9.30 18.68 9.40 18.55 9.47 18.40L9.52 18.24L10.62 13.96C10.84 13.11 10.96 12.24 10.99 11.36L11 10.98V7.5C11 7.12 10.86 6.77 10.61 6.49C10.36 6.21 10.02 6.04 9.65 6.00ZM21.65 6.00L21.5 6H14.5L14.34 6.00C13.97 6.04 13.63 6.21 13.38 6.49C13.13 6.77 13 7.12 13 7.5V13.5L13.00 13.65C13.04 14.02 13.21 14.36 13.49 14.61C13.77 14.86 14.12 15 14.5 15H16.5L15.81 17.75C15.77 17.89 15.77 18.03 15.79 18.17C15.82 18.31 15.87 18.44 15.95 18.56C16.03 18.68 16.14 18.78 16.26 18.85C16.38 18.92 16.51 18.97 16.66 18.99L16.78 19H20.55L20.72 18.98C20.88 18.95 21.04 18.89 21.17 18.79C21.30 18.68 21.40 18.55 21.47 18.40L21.52 18.24L22.62 13.96C22.84 13.11 22.96 12.24 22.99 11.36L23 10.98V7.5C23 7.12 22.86 6.77 22.61 6.49C22.36 6.21 22.02 6.04 21.65 6.00ZM3 13V8H9V10.98C9.00 11.71 8.91 12.44 8.76 13.16L8.68 13.47L7.78 17H6.06L6.44 15.48L7.06 13H3ZM15 13V8H21V10.98C21 11.71 20.91 12.44 20.76 13.16L20.68 13.47L19.78 17H18.06L18.44 15.48L19.06 13H15Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M17.5,7c1.93,0,3.5,1.57,3.5,3.5c0,1-0.53,4.5-0.85,6.5h-2.02l0.24-1.89l0.14-1.09l-1.1-0.03C15.5,13.94,14,12.4,14,10.5 C14,8.57,15.57,7,17.5,7 M6.5,7C8.43,7,10,8.57,10,10.5c0,1-0.53,4.5-0.85,6.5H7.13l0.24-1.89l0.14-1.09l-1.1-0.03 C4.5,13.94,3,12.4,3,10.5C3,8.57,4.57,7,6.5,7 M17.5,6C15.01,6,13,8.01,13,10.5c0,2.44,1.95,4.42,4.38,4.49L17,18h4c0,0,1-6,1-7.5 C22,8.01,19.99,6,17.5,6L17.5,6z M6.5,6C4.01,6,2,8.01,2,10.5c0,2.44,1.95,4.42,4.38,4.49L6,18h4c0,0,1-6,1-7.5 C11,8.01,8.99,6,6.5,6L6.5,6z\",\nfill:\"white\"}}]},this.setIcon(R));this.j(K,\"videodatachange\",this.T2);this.j(K,\"onApiChange\",this.T2);this.subscribe(\"select\",this.onSelect,this);this.T2()};\ni1z=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);K.addEventListener(\"settingsMenuInitialized\",function(){var f=new Sn(R.api,R.api.BR());g.q(R,f)})};\nvW=function(K){var R=this;this.U={};this.X={};this.OC={NOW:function(){return R.U}};\nthis.videoData=K;var f,V=(f=K.X)==null?void 0:f.K;V&&V.length>0?this.K=V:(K=K.getAvailableAudioTracks(),this.K=K.length>0?vio(K):[]);K=g.Z(i8);for(f=K.next();!f.done;f=K.next())f=f.value,this.U[f]=LxB[f](this.K);this.bH()};\nwpD=function(K,R){var f=R.getAudioTrack();return f.id!==\"und\"?g.Im(K,function(V){var D;return((D=V.tV)==null?void 0:D.name)===f.getLanguageInfo().name}):K};\nzaz=function(K,R){return R.getUserAudio51Preference()?g.Im(K,L_):K};\nvio=function(K){return K.map(function(R){return new Uv(R.id,\"application/x-mpegURL\",{tV:R.tV})})};\nxp5=function(K){return g.n4(\"yt-player-drc-pref\")?g.Im(K,wt):K};\nEic=function(K){return dYM()===2?g.Im(K,zM):K};\na1h=function(K){return F6G()===1?g.Im(K,x2):K};\nx2=function(K){var R;return((R=K.audio)==null?void 0:R.audioQuality)===\"AUDIO_QUALITY_HIGH\"&&!Zu(K)};\nwt=function(K){var R;return((R=K.audio)==null?void 0:R.U)===!0};\nL_=function(K){return Zu(K)};\nQ0e=function(K){return K.tV!==void 0};\nzM=function(K){var R;return((R=K.audio)==null?void 0:R.K)===!0};\nEm=function(K,R){if(K.length<2)return!1;var f=R(K[0]);return K.some(function(V){return R(V)!==f})};\nNjB=function(K,R){K=new Set(K.map(R));K.delete(void 0);return K.size>=2};\naW=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);var f=this.api.Y(\"html5_enable_audio_quality_setting_feature\");cm(this.api,\"getUserAudioQualitySetting\",function(){return f?R.getUserAudioQualitySetting():2});\ncm(this.api,\"setUserAudioQualitySetting\",function(V){f&&R.setUserAudioQualitySetting(V)});\ncm(this.api,\"hasHqaAudioTrack\",function(){return f?R.hasHqaAudioTrack():!1});\ncm(this.api,\"getAudioQualitySettingState\",function(){return f?R.api.Fq(4):1});\nthis.lz=F6G();this.updateEnvironmentData()};\nUpc=function(K){K_.call(this,K);var R=this;cm(this.api,\"getAudioTrackState\",function(){return R.api.Fq(0)})};\nQi=function(K){g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-autonav-toggle\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{data-tooltip-title}}\",\"aria-label\":\"{{label}}\",\"data-priority\":\"3\",\"data-tooltip-target-id\":\"ytp-autonav-toggle-button\"},S:[{V:\"div\",D:\"ytp-autonav-toggle-button-container\",S:[{V:\"div\",D:\"ytp-autonav-toggle-button\",L:{\"aria-checked\":\"true\"}}]}]});this.G=K;this.K=[];this.U=!1;this.isChecked=!0;K.createClientVe(this.element,this,\n113681);this.j(K,\"presentingplayerstatechange\",this.iR);this.listen(\"click\",this.onClick);this.K.push(this.j(this.G,\"videodatachange\",this.iR));this.K.push(this.j(this.G,\"videoplayerreset\",this.iR));this.K.push(this.j(this.G,\"onPlaylistUpdate\",this.iR));this.K.push(this.j(this.G,\"autonavchange\",this.Tg));Ny(K,this.element,this);this.iR()};\nWxG=function(K){K.isChecked=K.isChecked;K.IY(\"ytp-autonav-toggle-button\").setAttribute(\"aria-checked\",String(K.isChecked));var R=K.isChecked?\"Autoplay is on\":\"Autoplay is off\";K.G.C().Y(\"player_tooltip_data_title_killswitch\")?K.update({title:R,label:R}):K.update({\"data-tooltip-title\":R,label:R});K.G.p7()};\nt4M=function(K){return K.G.C().Y(\"web_player_autonav_use_server_provided_state\")&&HD(K.W0())};\nAGG=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"standardControlsInitialized\",function(){var f=new Qi(K);g.q(R,f);K.Jg(f,\"RIGHT_CONTROLS_LEFT\")})};\nUm=function(K){var R=K.Y(\"web_player_use_cinematic_label_2\")?\"Ambient mode\":\"Cinematic lighting\";l8.call(this,R,g.oW.Tx);var f=this;this.G=K;this.U=!1;this.K=new g.CW(function(){g.c2(f.element,\"ytp-menuitem-highlighted\")},0);\nthis.W5=K.BR();K=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M12 .5C11.73 .5 11.48 .60 11.29 .79C11.10 .98 11 1.23 11 1.5V3.5C11 3.76 11.10 4.01 11.29 4.20C11.48 4.39 11.73 4.5 12 4.5C12.26 4.5 12.51 4.39 12.70 4.20C12.89 4.01 13 3.76 13 3.5V1.5C13 1.23 12.89 .98 12.70 .79C12.51 .60 12.26 .5 12 .5ZM3.79 1.29C3.61 1.46 3.51 1.70 3.50 1.94C3.48 2.19 3.56 2.43 3.72 2.63L3.79 2.70L5.29 4.20L5.37 4.27C5.56 4.42 5.80 4.50 6.04 4.49C6.29 4.47 6.52 4.37 6.70 4.20C6.87 4.02 6.97 3.79 6.99 3.54C7.00 3.30 6.92 3.06 6.77 2.86L6.70 2.79L5.20 1.29L5.13 1.22C4.93 1.06 4.69 .98 4.44 1.00C4.20 1.01 3.96 1.11 3.79 1.29ZM18.86 1.22L18.79 1.29L17.29 2.79L17.22 2.86C17.07 3.06 16.99 3.30 17.00 3.54C17.01 3.79 17.12 4.02 17.29 4.20C17.47 4.37 17.70 4.48 17.95 4.49C18.19 4.50 18.43 4.42 18.63 4.27L18.70 4.20L20.20 2.70L20.27 2.63C20.42 2.43 20.50 2.19 20.49 1.95C20.48 1.70 20.37 1.47 20.20 1.29C20.02 1.12 19.79 1.01 19.54 1.00C19.30 .99 19.06 1.07 18.86 1.22ZM19.20 6.01L19 6H5L4.79 6.01C4.30 6.06 3.84 6.29 3.51 6.65C3.18 7.02 2.99 7.50 3 8V16L3.01 16.20C3.05 16.66 3.26 17.08 3.58 17.41C3.91 17.73 4.33 17.94 4.79 17.99L5 18H19L19.20 17.98C19.66 17.94 20.08 17.73 20.41 17.41C20.73 17.08 20.94 16.66 20.99 16.20L21 16V8C20.99 7.50 20.81 7.02 20.48 6.66C20.15 6.29 19.69 6.06 19.20 6.01ZM5 16V8H19V16H5ZM17.29 19.79C17.11 19.96 17.01 20.20 17.00 20.44C16.98 20.69 17.06 20.93 17.22 21.13L17.29 21.20L18.79 22.70L18.86 22.77C19.06 22.92 19.30 23.00 19.54 22.99C19.79 22.98 20.02 22.87 20.20 22.70C20.37 22.52 20.48 22.29 20.49 22.04C20.50 21.80 20.42 21.56 20.27 21.36L20.20 21.29L18.70 19.79L18.63 19.72C18.43 19.56 18.19 19.48 17.94 19.50C17.70 19.51 17.46 19.61 17.29 19.79ZM5.37 19.72L5.29 19.79L3.79 21.29L3.72 21.36C3.57 21.56 3.49 21.80 3.50 22.04C3.51 22.29 3.62 22.52 3.79 22.70C3.97 22.87 4.20 22.98 4.45 22.99C4.69 23.00 4.93 22.92 5.13 22.77L5.20 22.70L6.70 21.20L6.77 21.13C6.92 20.93 7.00 20.69 6.99 20.45C6.97 20.20 6.87 19.97 6.70 19.79C6.52 19.62 6.29 19.52 6.04 19.50C5.80 19.49 5.56 19.57 5.37 19.72ZM12 19.5C11.73 19.5 11.48 19.60 11.29 19.79C11.10 19.98 11 20.23 11 20.5V22.5C11 22.76 11.10 23.01 11.29 23.20C11.48 23.39 11.73 23.5 12 23.5C12.26 23.5 12.51 23.39 12.70 23.20C12.89 23.01 13 22.76 13 22.5V20.5C13 20.23 12.89 19.98 12.70 19.79C12.51 19.60 12.26 19.5 12 19.5Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z\",fill:\"white\"}}]};this.setIcon(K);this.subscribe(\"select\",this.X,this);this.listen(N$,this.J);g.q(this,this.K)};\nWW=function(K){K_.call(this,K);var R=this;this.U=!1;K.addEventListener(\"settingsMenuInitialized\",function(){JG_(R)});\nK.addEventListener(\"highlightSettingsMenu\",function(f){JG_(R);var V=R.menuItem;f===\"menu_item_cinematic_lighting\"&&(g.dy(V.element,\"ytp-menuitem-highlighted\"),g.dy(V.element,\"ytp-menuitem-highlight-transition-enabled\"),V.K.start())});\ncm(K,\"updateCinematicSettings\",function(f){R.updateCinematicSettings(f)})};\nJG_=function(K){K.menuItem||(K.menuItem=new Um(K.api),g.q(K,K.menuItem),K.menuItem.T2(K.U))};\nZ1N=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"applicationvideodatachange\",function(f,V){V=V.clipConfig;f===\"dataloaded\"&&V&&V.startTimeMs!=null&&V.endTimeMs!=null&&R.api.setLoopRange({startTimeMs:Math.floor(Number(V.startTimeMs)),endTimeMs:Math.floor(Number(V.endTimeMs)),postId:V.postId,type:\"clips\"})})};\nt4=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);cm(K,\"setCreatorEndscreenVisibility\",this.setCreatorEndscreenVisibility.bind(this));cm(K,\"setCreatorEndscreenHideButton\",this.U.bind(this));this.Y(\"web_fix_annotations\")&&this.events.j(K,\"annotationvisibility\",function(f){R.setCreatorEndscreenVisibility(!f);R.hideButton&&g.vi(R.hideButton,f)})};\nXpG=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"videodatachange\",function(){var f=R.api.getRootNode(),V=R.api.C();g.dy(f,\"ytp-delhi-modern\");V.Y(\"delhi_modern_web_player_icons\")&&g.dy(f,\"ytp-delhi-modern-icons\");V.Y(\"delhi_modern_web_player_horizontal_volume_controls\")&&g.dy(f,\"ytp-delhi-horizontal-volume-controls\");V.Y(\"delhi_modern_web_player_compact_controls\")&&g.dy(f,\"ytp-delhi-modern-compact-controls\");switch(vg(V.experiments,\"delhi_modern_web_player_blending_mode\")){case \"luminosity\":g.dy(f,\n\"ytp-delhi-modern-with-luminosity\");break;case \"difference\":g.dy(f,\"ytp-delhi-modern-with-difference\");break;case \"exclusion\":g.dy(f,\"ytp-delhi-modern-with-exclusion\")}f=R.api.isHdr()||R.api.Y(\"delhi_modern_web_player_disable_frosted_glass\")?\"none\":\"initial\";R.api.getRootNode().style.setProperty(\"--yt-frosted-glass-backdrop-filter-override\",f);Bjh(R)});\nthis.events.j(K,\"resize\",function(){Bjh(R)})};\nBjh=function(K){var R=K.api.Y(\"delhi_modern_web_player_compact_controls\"),f=g.mz(K.api.C().experiments,\"delhi_modern_web_player_responsive_compact_controls_threshold\");R=R||f>0&&K.api.getPlayerSize().width<=f;K=K.api.getRootNode();K.classList.toggle(\"ytp-delhi-modern-compact-controls\",R);f=R?\"8px\":\"12px\";var V=R?\"56px\":\"72px\",D=R?\"56px\":\"64px\",H=R?\"48px\":\"56px\",l=R?\"12px\":\"20px\",F=R?\"72px\":\"96px\";K.style.setProperty(\"--yt-delhi-pill-height\",R?\"40px\":\"48px\");K.style.setProperty(\"--yt-delhi-pill-top-height\",\nf);K.style.setProperty(\"--yt-delhi-bottom-controls-height\",V);K.style.setProperty(\"--yt-delhi-bottom-controls-height-xsmall-width-mode\",D);K.style.setProperty(\"--yt-delhi-big-mode-pill-height\",H);K.style.setProperty(\"--yt-delhi-big-mode-pill-top-height\",l);K.style.setProperty(\"--yt-delhi-big-mode-bottom-controls-height\",F)};\nA4=function(K,R,f,V,D){var H=K.Y(\"html5_enable_new_audio_settings_menu\");l8.call(this,\"Stable Volume\",H?kno.ix:g.oW.ix);this.G=K;this.J=R;this.K=f;this.hasDrcAudioTrack=V;this.getDrcState=D;this.X=this.enableNewAudioSettingsMenu=this.U=!1;g.dy(this.element,\"ytp-drc-menu-item\");this.W5=(this.enableNewAudioSettingsMenu=H)?K.BR().vC:K.BR();K.Y(\"html5_enable_voice_boost\")?(this.X=!0,this.j(K,\"onFilterAudioFeatures\",this.Th)):K.addEventListener(\"videodatachange\",this.Th.bind(this));K.Y(\"mta_drc_mutual_exclusion_removal\")&&\nthis.j(K,\"onPlaybackAudioChange\",this.Th);K.createClientVe(this.element,this,273317);this.listen(\"click\",this.T);R=this.K()===1&&this.hasDrcAudioTrack();this.enableNewAudioSettingsMenu||(K=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M12 .99C5.92 .99 1 5.92 1 11.99C1 18.07 5.92 22.99 12 22.99C18.07 22.99 23 18.07 23 11.99C23 5.92 18.07 .99 12 .99ZM12 2.99C14.38 2.99 16.67 3.94 18.36 5.63C20.05 7.32 21 9.61 21 11.99C21 14.38 20.05 16.67 18.36 18.36C16.67 20.05 14.38 20.99 12 20.99C9.61 20.99 7.32 20.05 5.63 18.36C3.94 16.67 3 14.38 3 11.99C3 9.61 3.94 7.32 5.63 5.63C7.32 3.94 9.61 2.99 12 2.99ZM14 6.00C13.73 6.00 13.48 6.10 13.29 6.29C13.10 6.48 13 6.73 13 7.00V17.00C13 17.26 13.10 17.52 13.29 17.70C13.48 17.89 13.73 18.00 14 18.00C14.26 18.00 14.51 17.89 14.70 17.70C14.89 17.52 15 17.26 15 17.00V7.00C15 6.73 14.89 6.48 14.70 6.29C14.51 6.10 14.26 6.00 14 6.00ZM10 8.00C9.73 8.00 9.48 8.10 9.29 8.29C9.10 8.48 9 8.73 9 9.00V15.00C9 15.26 9.10 15.52 9.29 15.70C9.48 15.89 9.73 16.00 10 16.00C10.26 16.00 10.51 15.89 10.70 15.70C10.89 15.52 11 15.26 11 15.00V9.00C11 8.73 10.89 8.48 10.70 8.29C10.51 8.10 10.26 8.00 10 8.00ZM18 9.00C17.73 9.00 17.48 9.10 17.29 9.29C17.10 9.48 17 9.73 17 10.00V14.00C17 14.26 17.10 14.52 17.29 14.70C17.48 14.89 17.73 15.00 18 15.00C18.26 15.00 18.51 14.89 18.70 14.70C18.89 14.52 19 14.26 19 14.00V10.00C19 9.73 18.89 9.48 18.70 9.29C18.51 9.10 18.26 9.00 18 9.00ZM6 10.00C5.73 10.00 5.48 10.10 5.29 10.29C5.10 10.48 5 10.73 5 11.00V13.00C5 13.26 5.10 13.52 5.29 13.70C5.48 13.89 5.73 14.00 6 14.00C6.26 14.00 6.51 13.89 6.70 13.70C6.89 13.52 7 13.26 7 13.00V11.00C7 10.73 6.89 10.48 6.70 10.29C6.51 10.10 6.26 10.00 6 10.00Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M7 13H5v-2h2v2zm3-4H8v6h2V9zm3-3h-2v12h2V6zm3 2h-2v8h2V8zm3 2h-2v4h2v-4zm-7-7c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9m0-1c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2z\",fill:\"white\"}}]},this.setIcon(K));this.subscribe(\"select\",this.B,this);this.enableNewAudioSettingsMenu||this.X?this.Th():(this.setEnabled(this.hasDrcAudioTrack()),dt(this,R),this.W5.ZZ(this))};\nJ4=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);K.Y(\"html5_show_drc_toggle\")&&K.addEventListener(\"settingsMenuInitialized\",function(){R.menuItem||(R.menuItem=new A4(R.api,R.setDrcUserPreference.bind(R),R.getDrcUserPreference.bind(R),R.RJ.bind(R),R.getDrcState.bind(R)),g.q(R,R.menuItem))});\ncm(this.api,\"setDrcUserPreference\",function(V){R.setDrcUserPreference(V)});\ncm(this.api,\"getDrcUserPreference\",function(){return R.getDrcUserPreference()});\ncm(this.api,\"hasDrcAudioTrack\",function(){return R.RJ()});\ncm(this.api,\"getDrcState\",function(){return R.getDrcState()});\nvar f;this.U=(f=g.n4(\"yt-player-drc-pref\"))!=null?f:1;this.updateEnvironmentData()};\nZJ=function(K){K_.call(this,K);var R=this;this.U={};this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"videodatachange\",function(){R.onVideoDataChange()});\nthis.events.j(K,g.gI(\"embargo\"),function(f){R.api.kh(!0);var V,D=(V=R.U[f.id])!=null?V:[];V=g.Z(D);for(D=V.next();!D.done;D=V.next()){var H=D.value;R.api.hideControls();R.api.CK(\"auth\",2,\"This video isn't available in your current playback area\",Cb({embargoed:1,id:f.id,idx:f.K,start:f.start}));D=void 0;(H=(D=H.embargo)==null?void 0:D.onTrigger)&&R.api.lD(\"innertubeCommand\",H)}})};\nTjw=function(K,R){var f;return(f=R.onEnter)==null?void 0:f.some(K.K)};\nPfv=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next()){f=f.value;var V=void 0,D=Number((V=f.playbackPosition)==null?void 0:V.utcTimeMillis)/1E3,H=void 0;V=D+Number((H=f.duration)==null?void 0:H.seconds);H=\"embargo_\"+D;K.api.addUtcCueRange(H,D,V,\"embargo\",!1);f.onEnter&&(K.U[H]=f.onEnter.filter(K.K))}};\nBW=function(K){K_.call(this,K);var R=this;this.U=[];this.events=new g.de(K);g.q(this,this.events);cm(K,\"addEmbedsConversionTrackingParams\",function(f){R.addEmbedsConversionTrackingParams(f)});\nthis.events.j(K,\"veClickLogged\",function(f){R.api.hasVe(f)&&(f=f.visualElement.getAsJspb(),f=g.mr(f,2),R.U.push(f))})};\nniB=function(K){K_.call(this,K);cm(K,\"isEmbedsShortsMode\",function(){return K.isEmbedsShortsMode()});\ncm(K,\"getReelItemWatchResponse\",function(){var R,f;return(f=(R=K.getVideoData(1))==null?void 0:R.getReelItemWatchResponse())!=null?f:null})};\nI1z=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"initialvideodatacreated\",function(f){dj(lf(),16623);R.U=g.wu();var V=K.C().CP&&!f.vK;if(pZ(f)&&V){dj(lf(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"});if(f.getWatchNextResponse()){var D,H=(D=f.getWatchNextResponse())==null?void 0:D.trackingParams;H&&cp(H)}if(f.getPlayerResponse()){var l;(f=(l=f.getPlayerResponse())==null?void 0:l.trackingParams)&&cp(f)}}else dj(lf(),\n32594,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"}),f.getEmbeddedPlayerResponse()&&(l=(H=f.getEmbeddedPlayerResponse())==null?void 0:H.trackingParams)&&cp(l)});\nthis.events.j(K,\"loadvideo\",function(){dj(lf(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\",parentCsn:R.U})});\nthis.events.j(K,\"cuevideo\",function(f){f===1&&dj(lf(),32594,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\",parentCsn:R.U})});\nthis.events.j(K,\"largeplaybuttonclicked\",function(f){dj(lf(),27240,f.visualElement)});\nthis.events.j(K,\"playlistnextbuttonclicked\",function(f){dj(lf(),27240,f.visualElement)});\nthis.events.j(K,\"playlistprevbuttonclicked\",function(f){dj(lf(),27240,f.visualElement)});\nthis.events.j(K,\"playlistautonextvideo\",function(){dj(lf(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"})})};\nXK=function(K,R){g.O.call(this);var f=this;this.U=null;this.X=R;R=[];for(var V=0;V<=100;V++)R.push(V/100);R={threshold:R,trackVisibility:!0,delay:1E3};(this.K=window.IntersectionObserver?new IntersectionObserver(function(D){D=D[D.length-1];var H=null;typeof D.isVisible===\"undefined\"?document.visibilityState===\"visible\"&&D.isIntersecting&&D.intersectionRatio>0?H=D.intersectionRatio:document.visibilityState===\"hidden\"?H=0:H=null:H=D.isVisible?D.intersectionRatio:0;H!=null&&(H=Math.max(H,0),H=Math.min(H,\n1));f.U=H;typeof f.X===\"function\"&&f.X(f.U)},R):null)&&this.K.observe(K)};\nO1z=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"applicationInitialized\",function(){giB(R)})};\ngiB=function(K){var R=K.api.getRootNode(),f,V=K.api.getWebPlayerContextConfig().embedsEnableEmc3ds?((f=R.parentElement)==null?void 0:f.parentElement)||R:R;K.U=new XK(V,function(D){D!=null&&(K.api.C().Gk=D,K.api.C().fp=\"EMBEDDED_PLAYER_VISIBILITY_FRACTION_SOURCE_INTERSECTION_OBSERVER\")});\ng.q(K,K.U);K.events.j(K.api,\"videoStatsPingCreated\",function(D){var H=K.U;H=H.U==null?null:Math.round(H.U*100)/100;D.inview=H!=null?H:void 0;H=K.api.getPlayerSize();if(H.height>0&&H.width>0){H=[Math.round(H.width),Math.round(H.height)];var l=g.R3();l>1&&H.push(l);H=H.join(\":\")}else H=void 0;D.size=H})};\nk2=function(K){K_.call(this,K);var R=this;cm(this.api,\"dismissFeaturedProductOverlay\",function(){R.dismissFeaturedProductOverlay()})};\nj0_=function(K){var R;return((R=((K==null?void 0:K.messageRenderers)||[]).find(function(f){return!!f.timeCounterRenderer}))==null?void 0:R.timeCounterRenderer)||null};\nTM=function(K){g.Y.call(this,{V:\"div\",Me:[\"ytp-player-content\",\"ytp-iv-player-content\"],S:[{V:\"div\",D:\"ytp-free-preview-countdown-timer\",S:[{V:\"span\",Q0:\"{{label}}\"},{V:\"span\",D:\"ytp-free-preview-countdown-timer-separator\",Q0:\"\\u2022\"},{V:\"span\",Q0:\"{{duration}}\"}]}]});this.api=K;this.U=null;this.X=this.K=0;this.j(this.api,\"videodatachange\",this.onVideoDataChange);this.api.createClientVe(this.element,this,191284)};\nM4e=function(K,R){K.U||(K.K=R,K.X=(0,g.N7)(),K.U=new g.sH(function(){qCo(K)},null),qCo(K))};\nqCo=function(K){var R=Math,f=R.round,V=Math.min((0,g.N7)()-K.X,K.K);R=f.call(R,(K.K-V)/1E3);K.updateValue(\"duration\",K1({seconds:R}));R<=0&&K.U?K.stopTimer():K.U&&K.U.start()};\nb12=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"basechromeinitialized\",function(){R.U=new TM(K);g.q(R,R.U);g.nl(K,R.U.element,4);R.U.hide()})};\nPW=function(K){g.Y.call(this,{V:\"button\",Me:[\"ytp-fullerscreen-edu-button\",\"ytp-button\"],S:[{V:\"div\",Me:[\"ytp-fullerscreen-edu-text\"],Q0:\"Scroll for details\"},{V:\"div\",Me:[\"ytp-fullerscreen-edu-chevron\"],S:[gAB()]}],L:{\"data-priority\":\"2\"}});this.YW=K;this.fade=new g.K0(this,250,void 0,100);this.K=this.U=!1;K.createClientVe(this.element,this,61214);g.q(this,this.fade);this.j(K,\"fullscreentoggled\",this.T2);this.j(K,\"presentingplayerstatechange\",this.T2);this.listen(\"click\",this.onClick);this.T2()};\nn_=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);cm(this.api,\"updateFullerscreenEduButtonSubtleModeState\",function(V){R.updateFullerscreenEduButtonSubtleModeState(V)});\ncm(this.api,\"updateFullerscreenEduButtonVisibility\",function(V){R.updateFullerscreenEduButtonVisibility(V)});\nvar f=K.C();K.Y(\"external_fullscreen_with_edu\")&&f.externalFullscreen&&eA(f)&&f.controlsType===\"1\"&&this.events.j(K,\"standardControlsInitialized\",function(){R.U=new PW(K);g.q(R,R.U);K.Jg(R.U)})};\nppe=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-gated-actions-overlay\",S:[{V:\"div\",D:\"ytp-gated-actions-overlay-background\",S:[{V:\"div\",D:\"ytp-gated-actions-overlay-background-overlay\"}]},{V:\"button\",Me:[\"ytp-gated-actions-overlay-miniplayer-close-button\",\"ytp-button\"],L:{\"aria-label\":\"Close\"},S:[g.i4()]},{V:\"div\",D:\"ytp-gated-actions-overlay-bar\",S:[{V:\"div\",D:\"ytp-gated-actions-overlay-text-container\",S:[{V:\"div\",D:\"ytp-gated-actions-overlay-title\",Q0:\"{{title}}\"},{V:\"div\",D:\"ytp-gated-actions-overlay-subtitle\",\nQ0:\"{{subtitle}}\"}]},{V:\"div\",D:\"ytp-gated-actions-overlay-button-container\"}]}]});var R=this;this.api=K;this.background=this.IY(\"ytp-gated-actions-overlay-background\");this.K=this.IY(\"ytp-gated-actions-overlay-button-container\");this.U=[];this.j(this.IY(\"ytp-gated-actions-overlay-miniplayer-close-button\"),\"click\",function(){R.api.lD(\"onCloseMiniplayer\")});\nthis.hide()};\nmpN=function(K,R){var f=0;f=0;for(var V={};f\nD&&(D=F.width,H=\"url(\"+F.url+\")\")}f.background.style.backgroundImage=H;mpN(f,V.actionButtons||[]);f.show()}else f.hide()});\ng.nl(this.api,this.U.element,4)};\nIW=function(K){K_.call(this,K);var R=this;yg(this.api,\"getSphericalProperties\",function(){return R.getSphericalProperties()});\nyg(this.api,\"setSphericalProperties\",function(){R.setSphericalProperties.apply(R,g.X(g.wW.apply(0,arguments)))});\nr9(this.api,\"getSphericalProperties\",function(){return R.api.getPresentingPlayerType()===2?{}:R.getSphericalProperties()});\nr9(this.api,\"setSphericalProperties\",function(){var f=g.wW.apply(0,arguments);R.api.getPresentingPlayerType()!==2&&R.setSphericalProperties.apply(R,g.X(f))})};\ngt=function(K){K_.call(this,K);cm(K,\"createClientVe\",this.createClientVe.bind(this));cm(K,\"createServerVe\",this.createServerVe.bind(this));cm(K,\"destroyVe\",this.destroyVe.bind(this));cm(K,\"hasVe\",this.hasVe.bind(this));cm(K,\"logClick\",this.logClick.bind(this));cm(K,\"logVisibility\",this.logVisibility.bind(this));cm(K,\"setTrackingParams\",this.setTrackingParams.bind(this))};\nOm=function(K,R,f,V){function D(l){var F=!(l.status!==204&&l.status!==200&&!l.response),c;l={succ:\"\"+ +F,rc:l.status,lb:((c=l.response)==null?void 0:c.byteLength)||0,rt:((0,g.N7)()-H).toFixed(),shost:g.Nw(K),trigger:R};uAB(l,K);f&&f(l);V&&!F&&V(new g.e$(\"pathprobe.net\",l))}\nvar H=(0,g.N7)();g.Jm(K,{format:\"RAW\",responseType:\"arraybuffer\",timeout:1E4,onFinish:D,onTimeout:D})};\nuAB=function(K,R){var f;((f=window.performance)==null?0:f.getEntriesByName)&&(R=performance.getEntriesByName(R))&&R.length&&(R=R[0],K.pedns=(R.domainLookupEnd-R.startTime).toFixed(),K.pecon=(R.connectEnd-R.domainLookupEnd).toFixed(),K.perqs=(R.requestStart-R.connectEnd).toFixed(),s0o&&(K.perqsa=R.requestStart+(performance.timeOrigin||performance.timing.navigationStart)))};\nCfD=function(K){s0o=K};\njn=function(K,R){this.IG=K;this.policy=R;this.playbackRate=1};\neah=function(K,R){var f=Math.min(2.5,q$(K.IG));K=M$(K);return R-f*K};\np_=function(K,R,f,V,D){D=D===void 0?!1:D;if(K.policy.Xb)return Math.ceil(K.policy.Xb*R);K.policy.DU&&(V=Math.abs(V));V/=K.playbackRate;var H=1/b8(K.IG);f=Math.max(.9*(V-3),q$(K.IG)+K.IG.K.U*H)/H*.8/(R+f);f=Math.min(f,V);K.policy.y4>0&&D&&(f=Math.max(f,K.policy.y4));return KCD(K,f,R)};\nKCD=function(K,R,f){return Math.ceil(Math.max(Math.max(K.policy.Gk,K.policy.YO*f),Math.min(Math.min(K.policy.Ne,31*f),Math.ceil(R*f))))||K.policy.Gk};\nM$=function(K){return b8(K.IG,!K.policy.By,K.policy.fJ)};\nY2=function(K){return M$(K)/K.playbackRate};\nm_=function(K,R,f){var V=K.policy.playbackStartPolicy.resumeMinReadaheadPolicy||[],D=K.policy.playbackStartPolicy.startMinReadaheadPolicy||[];K=Infinity;R=g.Z(R&&V.length>0?V:D);for(V=R.next();!V.done;V=R.next())V=V.value,D=V.minReadaheadMs||0,f<(V.minBandwidthBytesPerSec||0)||K>D&&(K=D);return K0&&(this.K=f.Qx)};\nVk5=function(K,R,f,V,D){if(!V.info.X){if(f.length===0)f.push(V);else{var H;(K=(H=f.pop())==null?void 0:g.xa(H,V))?f.push(K):f.push(V)}return D}var l;(f=(l=f.pop())==null?void 0:g.xa(l,V))||(f=V);if(f.info.U)return K.logger&&K.logger({incompleteSegment:f.info.yI()}),D;V=K.HS(f);D=V.t5;V={clipId:V.clipId,formatId:V.formatId,startTimeMs:V.startTimeMs,durationMs:V.Kg,bZ:D,SH:D};D=Rb_(R,V.startTimeMs);if(H=f=D>=0?R[D]:null){H=V;var F=D;l=f.startTimeMs+f.durationMs;var c=H.startTimeMs+H.durationMs;if(H.startTimeMs-\nl>K.K)H=!1;else if(fq5(K,f.formatId,H.formatId))f.durationMs=Math.max(l,c)-f.startTimeMs,f.SH=Math.max(f.SH,H.SH),H=!0;else if(Math.abs(f.startTimeMs-H.startTimeMs)<=K.K)if(f.durationMs>H.durationMs+K.K){var r=f.formatId,y=f.bZ;F=f.SH;f.formatId=H.formatId;f.durationMs=H.durationMs;f.bZ=H.bZ;f.SH=H.SH;H.formatId=r;H.startTimeMs=c;H.durationMs=l-c;H.bZ=y;H.SH=F;H=!1}else f.formatId=H.formatId,H=!0;else l>H.startTimeMs&&(l>c&&(R.splice(F+1,0,{formatId:f.formatId,startTimeMs:c,durationMs:l-c,bZ:H.SH+\n1,SH:f.SH}),K.logger&&K.logger({splitOldStart:(r=f.startTimeMs)==null?void 0:r.toFixed(3),splitOldEnd:l==null?void 0:l.toFixed(3),splitNewStart:(y=H.startTimeMs)==null?void 0:y.toFixed(3),splitNewEnd:c==null?void 0:c.toFixed(3)})),f.durationMs=H.startTimeMs-f.startTimeMs,f.SH=H.bZ-1),H=!1}H?V=f:(D+=1,R.splice(D,0,V));r=0;for(y=D+1;y=c+f.K?f=!0:F+f.K=0?K:-K-2};\nDbN=function(K,R){if(K.DZ){var f=K.DZ.vV();if(f.length!==0){if(K.X&&R){var V=K.X,D=V.info.J;!pH(f,D)&&V.info.N>0&&(0,g.N7)()-K.T<5E3&&(K.logger&&K.logger({dend:V.info.yI()}),f=VCv(f,D,D+.01))}K.policy.nM&&K.logger&&K.logger({cbri:\"\"+K.U});V=[];for(var H=D=0;D=l){var y=Object.assign({},K.QI[H]),h=K.fQ.X.get(Mb(K.QI[H].formatId)),S=Math.max(c,l);l=h.index.FL(S+K.K/\n1E3);c=h.index.getStartTime(l);var v=l+ +(Math.abs(c-S)>K.K/1E3);S=v+K.J;v=h.index.getStartTime(v)*1E3;H!==K.U||R?(y.bZ=S,y.startTimeMs=v):(K.logger&&K.logger({pEvict:\"1\",og:y.startTimeMs,adj:c*1E3}),y.bZ=l+K.J,y.startTimeMs=c*1E3);l=void 0;c=((l=K.X)==null?void 0:l.info.duration)||11;H===K.U&&FK.K/1E3);l=c+K.J;h=h.index.qt(c)*1E3;y.SH=l;y.durationMs=h-y.startTimeMs;y.bZ<=y.SH&&V.push(y)}r=0&&Kt(K.audioTrack,K.targetTime)>=0&&H?((K.videoTrack.J||K.audioTrack.J)&&K.loader.KQ(\"iterativeSeeking\",{status:\"done\",count:K.seekCount}),K.videoTrack.J=!1,K.audioTrack.J=!1):V&&g.WE(function(){if(K.U||!K.policy.pQ)Vz(K);else{var l=R.startTime,F=R.duration;if(!K.policy.B){var c=K.videoTrack.B!==-1&&K.audioTrack.B!==-1,r=!K.videoTrack.aY&&!K.audioTrack.aY;(f?K.videoTrack.J:K.audioTrack.J)&&c&&r&&(K.targetTime>=\nl&&K.targetTime432E3&&kF5(K.fQ);K.K&&(D=K.K,K.K=0);g.WE(function(){K.policy.B||D4(K,D,102)});\nK.loader.KQ(\"initManifestlessSync\",{st:D,ost:D+K.loader.jy(),a:K.audioTrack.B,v:K.videoTrack.B});K.X&&(K.X.resolve(D+.1),K.X=null);K.policy.B&&D4(K,D,102)}}};\ndc=function(){this.data=new Uint8Array(2048);this.pos=0;lC||(lC=z7(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.\"))};\nFT=function(K,R){K.add(R==null||isNaN(R)?0:R+1)};\nrc=function(K,R){var f=this;this.jr=K;this.requestNumber=++vqB;this.U=this.now();this.Z=this.EF=NaN;this.N=this.U;this.X=this.Ch=this.B=0;this.T=this.U;this.OF=this.aY=this.er=this.vK=this.XQ=this.B5=this.K=this.J=0;this.UF=this.isActive=!1;this.Kh=this.v5=0;this.OC={zOF:function(){return f.Cp}};\nthis.IG=R.IG;this.snapshot=ch(this.IG);this.policy=this.IG.K;this.RT=!!R.RT;this.Mw=R.Mw;this.z8=R.z8||0;this.Vf=R.Vf||0;R.lV&&(this.y0=new dc);var V;this.Cp=(V=R.Cp)!=null?V:!1;this.RT||LC5(this.IG)};\nwFc=function(K){K.er=Math.max(K.er,K.B-K.XQ);K.aY=Math.max(K.aY,K.N-K.vK);K.B5=0};\nyz=function(K,R,f){zbo(K.IG,R);K.y0&&(K.y0.add(Math.ceil(R)-Math.ceil(K.N)),K.y0.add(Math.max(0,Math.ceil(f/1024)-Math.ceil(K.B/1024))));var V=R-K.N,D=f-K.B;K.Ch=D;K.OF=Math.max(K.OF,D/(V+.01)*1E3);K.N=R;K.B=f;K.B5&&f>K.B5&&wFc(K)};\nhO=function(K,R){K.url=R;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})};\no7=function(K,R){rc.call(this,K,R);this.pQ=this.hV=!1;this.qe=this.Xt=Infinity;this.G2=NaN;this.bd=!1;this.Za=NaN;this.nh=this.oY=this.Ne=0;this.Pb=R.Pb||1;this.CD=R.CD||this.Pb;this.Wo=R.Wo;this.t5=R.t5;this.KP=R.KP;xbN(this);this.Aj(this.U);this.Gt=(this.Za-this.U)/1E3};\nEqG=function(K){var R=K.oY||K.Ne;return R?K.snapshot.delay+Math.min(K.Vf,(K.Z-K.EF)/1E3)+R:K.Gt};\niC=function(K,R,f){if(!K.RT){R=Math.max(R,.01);var V=K.z8?Math.max(R,f/K.z8):R,D=K.IG.K.X;D&&(V=R,K.z8&&(V=Math.max(R,f/K.z8*D)));Sa(K.IG,R,f,V)}};\naqv=function(K){return(K.T-K.U)/1E3};\nxbN=function(K){K.G2=K.U+K.snapshot.delay*1E3;K.bd=!1};\nvh=function(K,R){if(K.Wo&&K.t5!==void 0&&K.KP!==void 0){var f=Math,V=f.min,D=K.Xt;var H=K.Wo;var l=K.U;if(QGc(H,K.t5))H=R;else{var F=0;H.KF&&(F=.2);H=l+(H.Vf+F)*1E3}K.Xt=V.call(f,D,H);f=Math;V=f.min;D=K.qe;H=K.Wo;l=K.U;F=NMh(H,K.t5,K.KP);F!==2&&(R=F?R:l+H.Vf*1E3,H.KF&&(R+=H.Vf*1E3));K.qe=V.call(f,D,R);K.Xt<=K.U?xbN(K):(K.G2=K.Xt,K.bd=!0)}};\nUbe=function(K,R){if(R+1<=K.totalLength){var f=hR(K,R);f=f<128?1:f<192?2:f<224?3:f<240?4:5}else f=0;if(f<1||!(R+f<=K.totalLength))return[-1,R];if(f===1)K=hR(K,R++);else if(f===2)f=hR(K,R++),K=hR(K,R++),K=(f&63)+64*K;else if(f===3){f=hR(K,R++);var V=hR(K,R++);K=hR(K,R++);K=(f&31)+32*(V+256*K)}else if(f===4){f=hR(K,R++);V=hR(K,R++);var D=hR(K,R++);K=hR(K,R++);K=(f&15)+16*(V+256*(D+256*K))}else f=R+1,K.focus(f),cu(K,f,4)?K=SBv(K).getUint32(f-K.X,!0):(V=hR(K,f+2)+256*hR(K,f+3),K=hR(K,f)+256*(hR(K,f+1)+\n256*V)),R+=5;return[K,R]};\nLt=function(K){this.jr=K;this.U=new $4};\nwc=function(K,R){this.info=K;this.callback=R;this.state=1;this.B7=this.wY=!1;this.Up=null};\nWCD=function(K){return g.Zs(K.info.xW,function(R){return R.type===3})};\nzA=function(K,R,f,V){var D=this;V=V===void 0?{}:V;this.policy=R;this.jr=f;this.status=0;this.U=new $4;this.K=0;this.mZ=this.J=this.X=!1;this.xhr=new XMLHttpRequest;this.xhr.open(V.method||\"GET\",K);if(V.headers)for(K=V.headers,R=g.Z(Object.keys(K)),f=R.next();!f.done;f=R.next())f=f.value,this.xhr.setRequestHeader(f,K[f]);this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){return D.y$()};\nthis.xhr.onload=function(){return D.onDone()};\nthis.xhr.onerror=function(){return D.onError()};\nthis.xhr.fetch(function(H){D.U.append(H);D.K+=H.length;H=(0,g.N7)();D.jr.sP(H,D.K)},function(){},V.body||null)};\ntkD=function(K,R){this.K=(new TextEncoder).encode(K);this.U=(new TextEncoder).encode(R)};\nlic=function(K,R){var f;return g.I(function(V){if(!R)return V.return(R);f=new g.DX(K.K);return V.return(f.encrypt(R,K.U))})};\nyd2=function(K,R){var f;return g.I(function(V){if(V.U==1){if(!R)return V.return(R);f=new g.DX(K.K);return g.P(V,f.decrypt(R,K.U),2)}return V.return(V.K)})};\nAHe=function(K,R){var f=this;this.U=K;this.jr=R;this.loaded=this.status=0;this.error=\"\";K=mC(this.U.get(\"range\")||\"\");if(!K)throw Error(\"bad range\");this.range=K;this.K=new $4;this.run().then(function(){f.jr.q7()},function(V){f.error=\"\"+V||\"unknown_err\";\nf.jr.q7()})};\nZnB=function(K,R,f,V){var D=this;V=V===void 0?{}:V;this.policy=R;this.jr=f;this.T=V;this.status=0;this.response=void 0;this.K=0;this.aborted=this.B=!1;this.errorMessage=\"\";this.Z=function(H){if(H)if(D.status=H.status,H.ok&&H.body&&D.status!==204)D.status=D.status||242,D.X=H.body.getReader(),D.mZ()?D.X.cancel().catch(function(){}):(D.responseHeaders=H.headers,D.jr.XS(),JHo(D));\nelse D.onDone();else D.onError(Error(\"null_response\"))};\nthis.N=function(H){var l=(0,g.N7)();D.mZ()||(H.done?(D.X=void 0,D.onDone()):(H=H.value,D.K+=H.length,D.U.append(H),JHo(D),D.jr.sP(l,D.K)))};\nthis.onError=function(H){D.errorMessage=String(H);D.B=!0;D.onDone()};\nthis.U=new $4;this.J=window.AbortController?new AbortController:void 0;this.start(K)};\nJHo=function(K){K.X.read().then(K.N,K.onError).then(void 0,t$)};\nBMc=function(K,R,f){var V=this;f=f===void 0?{}:f;this.jr=R;this.K=this.status=0;this.mZ=this.U=!1;this.xhr=new XMLHttpRequest;this.xhr.open(f.method||\"GET\",K);if(f.headers){K=f.headers;R=g.Z(Object.keys(K));for(var D=R.next();!D.done;D=R.next())D=D.value,this.xhr.setRequestHeader(D,K[D])}this.xhr.responseType=\"arraybuffer\";this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(H){V.y$(H)};\nK=f1(function(H){V.onDone(H)});\nthis.xhr.addEventListener(\"load\",K,!1);this.xhr.addEventListener(\"error\",K,!1);f.body?this.xhr.send(f.body):this.xhr.send();this.xhr.addEventListener(\"progress\",f1(function(H){V.onProgress(H)}),!1)};\nxD=function(K,R,f,V,D){if(QN(22,K.NF))return new AHe(K,f);K=K.y9();return V?CM_()?new zA(K,R,f,D):new ZnB(K,R,f,D):new BMc(K,f,D)};\nEF=function(K,R){g.O.call(this);var f=this;this.policy=K;this.xW=R;this.K=0;this.U=null;this.YN=[];this.X=null;this.OC={b5:function(){return f.xW}};\nthis.xW.length===1||g.Zs(this.xW,function(V){return!!V.range})};\na7=function(K,R,f){K.U&&(lB(K.U,R),R=K.U,K.U=null);for(var V=0,D=0,H=g.Z(K.xW),l=H.next();!l.done;l=H.next())if(l=l.value,l.range&&V+l.K<=K.K)V+=l.K;else{if(Cn(l)&&!f&&K.K+R.totalLength-D=400?(K.lastError=\"net.badstatus\",!0):(D===void 0?0:D)?(K.lastError=\"ump.spsrejectfailure\",!0):f||V!==void 0&&V?!1:(K.lastError=R===204?\"net.nocontent\":\"net.connect\",!0)};\nAO=function(K,R){if(K.policy.qX)return!1;var f=R.getResponseHeader(\"content-type\"),V=R.tM();K=!V||V<=K.policy.bb;return(!R.dV()||!f||f.indexOf(\"text/plain\")!==-1)&&K};\nnqM=function(K,R){var f=\"\";R=R.mA();R.totalLength<=K.policy.bb&&(K=rS(R),K=S6(K),f=xv(K)?K:\"\");return f};\nNK=function(K){return nn(K.J,hz(1,K.hh.NF))};\nIqN=function(K){var R=K.timing.f_();R.shost=hz(5,K.hh.NF);K.policy.Fn&&K.policy.Sf&&(R.csrc=1);return R};\ngqc=function(K,R){return(K==null?void 0:K.maxWidth)>(R==null?void 0:R.maxWidth)||(K==null?void 0:K.maxHeight)>(R==null?void 0:R.maxHeight)};\nOnB=function(K,R){for(var f=g.Z(R.keys()),V=f.next();!V.done;V=f.next())if(V=R.get(V.value),V.length!==0){g.Sc(V,function(F,c){return c.maxFramerate-F.maxFramerate});\nfor(var D=[V[0]],H=0,l=1;lK.U||f.push(V)}return f};\nJO=function(K,R,f){var V=MkM[K]||[];f.Y(\"html5_shorts_onesie_mismatched_fix\")&&(V=bnv[K]||[]);R.push.apply(R,g.X(V));f.Y(\"html5_early_media_for_drm\")&&R.push.apply(R,g.X(pFz[K]||[]))};\nC2D=function(K,R){var f=g.S7(K),V=K.C(),D=V.B;V=V.Y(\"html5_shorts_onesie_mismatched_fix\");var H=K.mO();if(V){if(!D.K){if(H&&Z4)return Z4;if(Bh)return Bh}}else if(Bh&&!D.K)return Bh;var l=[],F=[],c={},r=XT.concat(Yfz);V&&(r=XT.concat(mbM));K.Y(\"html5_early_media_for_drm\")&&(r=r.concat(GKB),K.Y(\"allow_vp9_1080p_mq_enc\")&&r.push(u0B));var y=[].concat(g.X(sGz));K.Y(\"html5_iamf_audio_onesie_fmt\")&&y.push([\"773\"]);r=g.Z(r);for(var h=r.next();!h.done;h=r.next()){var S=!1;h=g.Z(h.value);for(var v=h.next();!v.done;v=\nh.next()){v=v.value;var L=hP(v,H&&V);if(L&&L.video&&!(Jv(L)&&!f.y0&&L.video.qualityOrdinal>f.gk)){var E=g.mz(K.C().experiments,\"html5_drm_byterate_soft_cap\");E>0&&R6_(L)&&L.c5>E||(S?(l.push(v),JO(v,l,K)):(L=OC(f,L,D),L===!0?(S=!0,l.push(v),JO(v,l,K)):c[v]=L))}}}y=g.Z(y);for(r=y.next();!r.done;r=y.next())for(r=g.Z(r.value),S=r.next();!S.done;S=r.next())if(S=S.value,(h=GTe(S))&&h.audio&&(K.Y(\"html5_onesie_51_audio\")||!Zu(h)))if(h=OC(f,h,D),h===!0){F.push(S);JO(S,F,K);break}else c[S]=h;if(!K.Y(\"html5_enable_audio_quality_setting\"))for(K=\ng.Z([\"141\",\"774\"]),y=K.next();!y.done;y=K.next())y=y.value,F.includes(y)&&(g.fa(F,y),c[y]=\"blkhqa\");f.U&&R(\"orfmts\",c);if(V)return D.K&&(D.K=!1,Z4=Bh=void 0),H?Z4={video:l,audio:F}:Bh={video:l,audio:F};Bh={video:l,audio:F};D.K=!1;return Bh};\ng.RRo=function(K,R,f){var V=f.B,D=[],H=[],l=f.Y(\"html5_shorts_onesie_mismatched_fix\");K=K.mO();var F=XT.concat(Yfz);l&&(F=XT.concat(mbM));f.Y(\"html5_early_media_for_drm\")&&(F=F.concat(GKB),f.Y(\"allow_vp9_1080p_mq_enc\")&&F.push(u0B));var c=[].concat(g.X(sGz));f.Y(\"html5_iamf_audio_onesie_fmt\")&&c.push([\"773\"]);F=g.Z(F);for(var r=F.next();!r.done;r=F.next()){r=g.Z(r.value);for(var y=r.next();!y.done;y=r.next()){y=y.value;var h=hP(y,K&&l);if(h&&h.video){var S=g.mz(f.experiments,\"html5_drm_byterate_soft_cap\");\nif(!(S>0&&R6_(h)&&h.c5>S)&&OC(R,h,V)===!0){D.push({videoCodec:ebo[Nr[y]],maxWidth:h.video.width,maxHeight:h.video.height,maxFramerate:h.video.fps});break}}}}l=g.Z(c);for(K=l.next();!K.done;K=l.next())for(K=g.Z(K.value),c=K.next();!c.done;c=K.next())if(c=c.value,(F=GTe(c))&&F.audio&&(f.Y(\"html5_onesie_51_audio\")||!Zu(F))&&OC(R,F,V)===!0){H.push({audioCodec:K4z[Nr[c]],numChannels:F.audio.numChannels});break}return{videoFormatCapabilities:D,audioFormatCapabilities:H}};\nD0o=function(K){var R,f={},V=K.bD,D=K.gU,H=K.IG,l=V.getVideoData(),F=zn(0),c=V.getVisibilityState();D.Y(\"html5_enable_audio_quality_setting\")&&(f.lz=D.lz);F&&(f.FZa=F,f.lastManualDirection=f6G(),F=w8w()||0,F>0&&(F=(D.Y(\"html5_use_date_now_for_local_storage\")?Date.now():(0,g.N7)())-F,D.Y(\"html5_use_date_now_for_local_storage\")?F>0&&(f.timeSinceLastManualFormatSelectionMs=F):f.timeSinceLastManualFormatSelectionMs=F));F=D.Y(\"html5_use_streamer_bandwidth_for_low_latency_live\")&&l.isLowLatencyLiveStream;\nif(H.UF&&!F){var r;F=D.Y(\"html5_disable_bandwidth_cofactors_for_sabr_live\")?!((r=K.WV)==null||!r.By):!1;f.gb=b8(H,!F)}F=g.x0.medium;var y=Math.floor(F*16/9);(r=l.mO())||(l.U&&l.X&&l.X.videoInfos.length!==0?(r=l.X.videoInfos[0],r=!!r.video&&r.video.width0?{authorizedFormats:K.authorizedFormats}:{authorizedFormats:R};K.sabrLicenseConstraint&&(f.Lc.sabrLicenseConstraint=K.sabrLicenseConstraint);if(D.Y(\"html5_onesie_media_capabilities\")||NW(l))f.Rn=3;D.Y(\"html5_onesie_audio_only_playback\")&&\nyx(l)&&(f.Rn=1);var A;((A=K.WV)==null?0:A.r4)&&K.De2&&(f.Rn=f.Rn===void 0?7:f.Rn|4);A=l.Za?l.Za:g.S7(l);D.Y(\"html5_onesie_media_capabilities\")&&(f.mediaCapabilities=g.RRo(l,A,D));var B;if((B=K.WV)==null?0:kD(B)){S=D.B;B=[];R=[];v=new Map;L=Array.from(S.U.values());L=g.Z(L);for(E=L.next();!E.done;E=L.next())Q=E.value,Q.c9?R.push({audioCodec:K4z[Q.P5],numChannels:Q.numChannels,spatialCapabilityBitmask:f9z[Q.P5]}):(J=ebo[Q.P5],E={videoCodec:J,maxWidth:Q.maxWidth||0,maxHeight:Q.maxHeight||0,maxFramerate:Q.maxFramerate||\n0,is10BitSupported:Q.qM||!1},Q.maxBitrateBps&&(E.maxBitrateBps=Q.maxBitrateBps,c=hP(Q.itag),r=void 0,((r=c)==null?0:r.video)&&OC(A,c,S)===!0&&(c=c.c5*8,c>E.maxBitrateBps&&(E.maxBitrateBps=c))),Q=J+\"_\"+Q.qM,J=v.get(Q)||[],J.push(E),v.set(Q,J));B=OnB(B,v);S={};D.Y(\"html5_ssff_denylist_opus_low\")&&(S={itagDenylist:[249,350]});f.mediaCapabilities={videoFormatCapabilities:B,audioFormatCapabilities:R,hdrModeBitmask:3,perPlaybackAttributes:S}}var k;if((k=K.WV)==null?0:k.U){f.AZ=A.AZ;var b;f.gk=(b=K.WV)==\nnull?void 0:b.gk}D.nT&&(f.U6=D.nT);f.bP=K.oA;f.v$=K.v$;f.S0=K.S0;f.K_=K.K_;K.wX&&(f.Wxt=(0,g.N7)()-K.wX);K.ov&&D.Y(\"html5_report_prefetch_requests\")&&(f.ov=K.ov);e7||(f.tyW=!0);k=q$(H)*1E3;k>0&&(f.Ny=k);var M;((M=K.WV)==null?0:M.Ur)&&K.dP&&K.dP0?Hc:H.interruptions[0]||0;var fB;if((fB=K.WV)==null?0:fB.hV)f.A9=K.A9;D.Za&&(f.audioTrackId=D.Za);GW(l)&&!f.audioTrackId&&(D.Y(\"html5_fill_default_mosaic_audio_track_id\")||(K=z8v(l),f.audioTrackId=K),l==null||l.KQ(\"misstrkchg\",{\"default\":f.audioTrackId}));if(K=sVc())f.detailedNetworkType=V9z[K]||V9z.other;D.Y(\"html5_enable_voice_boost\")&&!l.mO()&&(f.kse=D.dS);return f};\nTA=function(K,R,f,V,D,H,l){var F={};R&&(F.MN=R);if(!K)return F;F.playbackCookie=f==null?void 0:f.playbackCookie;D&&(F.O3=D);F.yL=[];F.mR=[];if(l==null?0:l.size)for(R=g.Z(l.values()),f=R.next();!f.done;f=R.next())F.mR.push(f.value);if(K.sabrContextUpdates.size>0)for(R=g.Z(K.sabrContextUpdates.values()),f=R.next();!f.done;f=R.next())Hh5(F,f.value,V);tP(K)&&H&&Hh5(F,H,V);V=K.C().U;F.clientInfo={clientName:$02[V.c.toUpperCase()]||0};V.cbrand&&(F.clientInfo.deviceMake=V.cbrand);V.cmodel&&(F.clientInfo.deviceModel=\nV.cmodel);V.cver&&(F.clientInfo.clientVersion=V.cver);V.cos&&(F.clientInfo.osName=V.cos);V.cosver&&(F.clientInfo.osVersion=V.cosver);V=K.C();V.Y(\"html5_sabr_enable_server_xtag_selection\")&&V.Dk&&(F.clientInfo.hl=V.Dk);K.Om&&(F.Om=K.Om);return F};\nHh5=function(K,R,f){var V=R.type||0;(f==null?0:f.has(V))?K.mR.push(R):K.yL.push(V)};\nC_=function(K,R,f,V,D,H){var l=H===void 0?{}:H;var F=l.dL===void 0?[]:l.dL;var c=l.KS===void 0?!1:l.KS;var r=l.B_===void 0?0:l.B_;var y=l.poToken===void 0?\"\":l.poToken;var h=l.zo===void 0?void 0:l.zo;var S=l.Wf===void 0?\"\":l.Wf;var v=l.yY===void 0?0:l.yY;var L=l.Ik===void 0?new Uint8Array(0):l.Ik;var E=l.D1===void 0?!1:l.D1;H=l.lQ===void 0?0:l.lQ;l=l.MN===void 0?void 0:l.MN;wc.call(this,R,D);var Q=this;this.policy=K;this.logger=new g.vf(\"dash/request\");this.o6=this.tK=0;this.tp=!1;this.vX=this.fW=\nnull;this.Ok=!1;this.Ik=this.yY=null;this.PW=this.Hp=!1;this.EG=null;this.lQ=this.PZ=0;this.ys=!1;this.OC={YY:function(A){Q.YY(A)},\nfIQ:function(){return Q.Up},\nEZ0:function(A){Q.Up=A},\nbZF:function(A){Q.tK=A},\ni6t:function(A){Q.VI.lastError=A},\nvr:function(){return Q.xhr}};\nthis.timing=new o7(this,f);this.KS=c;this.yY=v;this.Ik=L;this.hh=g.ll(this.info,this.policy,V);this.hh.set(\"rn\",this.qD().toString());this.hh.set(\"rbuf\",(r*1E3).toFixed().toString());this.KS&&this.hh.set(\"smb\",\"1\");this.policy.kL&&y&&this.hh.set(\"pot\",y);S&&this.hh.set(\"bbs\",S);this.policy.useUmp&&!QN(17,this.hh.NF)&&(this.hQ=new Lt(this),this.hh.set(\"ump\",\"1\"),this.hh.set(\"srfvp\",\"1\"));if(K=this.policy.CM?this.policy.wb&&!isNaN(this.info.KP)&&this.info.KP>this.policy.HE?!1:!0:!1)R=null,this.policy.XRZ&&\nthis.policy.z3?R=[1]:E&&(R=[]),R!=null&&(this.policy.O7&&R.push(2),this.hh.set(\"defsel\",R.join(\",\")));this.VI=new Qz(this,this.policy,this.hh,this.info.Qe,this.timing,this.logger,V,h);this.dL=F||null;this.B7=l9B(this);XFB(this.VI);V=void 0;if(this.policy.IY5||this.hQ||this.policy.G2)V={method:\"POST\"},F=(0,g.Ph)([120,0]),h={},this.policy.aL&&l&&(l=TA(void 0,l),h.U_=l),this.policy.V8&&this.Ik&&(h.videoPlaybackUstreamerConfig=this.Ik),this.policy.G2&&(l=this.info.J)&&Object.assign(h,l),Object.keys(h).length>\n0?V.body=g.gS(h,g.vM):V.body=F;if(this.yY&&this.Ik){this.hh.set(\"iwts\",\"1\");V={method:\"POST\"};l={K_:this.yY*1E3};var J;F=(J=this.info.J)==null?void 0:J.N4;J=g.gS({KW:l,N4:F||void 0,videoPlaybackUstreamerConfig:this.Ik},g.vM);V.body=J}try{this.xhr=xD(this.hh,this.policy.Z,this.timing,K,V),this.VI.K.start(),H&&(this.Wt=new g.CW(this.Kr,H,this),this.Wt.start(H+(this.timing.IG.Z.jI()||0)*1E3)),this.policy.Vx&&hO(this.timing,this.y9()),g.WE(function(){})}catch(A){d02(this,A,!0)}};\nl9B=function(K){if(!($a(K.info)&&K.info.Cp()&&K.policy.MR&&K.dL)||K.info.Qe.X>=2||zn()>0||!$YN())return!1;var R=K.hh.get(\"aitags\");if(!R)return!1;R=bm(R).split(\",\");for(var f=[],V=g.Z(K.dL),D=V.next();!D.done;D=V.next())D=D.value,g.Ka(R,D)&&f.push(D);if(!f.length)return!1;K.hh.set(\"altitags\",g.M2(f.join(\",\")));return!0};\nd02=function(K,R,f){f=f===void 0?!1:f;g.WR(R);K.VI.lastError=\"player.exception\";K.errorMessage=R.name+\"_\"+R.message;f?g.WE(function(){Wh(K.VI)}):Wh(K.VI)};\nF42=function(K,R){K.timing.UF=!0;K.xhr.dV()&&K.timing.JH();if(K.policy.Dk){var f;(f=K.Wt)==null||f.stop()}a7(K.Up,R,!1)};\ncSv=function(K){K.PZ&&(K.xhr.status=K.PZ,K.tK=K.PZ)};\nnt=function(K,R){rc.call(this,K,R);this.qe=!0;this.Xt=!1;this.oY=this.G2=0;this.Ne=NaN};\nrSG=function(K,R,f){var V=K.z8?Math.max(R,f/K.z8):R,D=K.IG.K.X;D&&(V=R,K.z8&&(V=Math.max(R,f/K.z8*D)));Sa(K.IG,R,f,V)};\nI7=function(K,R){this.jr=R;this.K={};this.logger=new g.vf(K)};\nOF=function(K){I7.call(this,\"sabr\",K);this.jr=K;this.U=[]};\nySG=function(K,R,f){switch(R){case 35:K.PM(f);break;case 44:K.ML(f);break;case 43:K.fD(f);break;case 53:K.eq(f);break;case 56:K.Bf();break;case 57:K.Wq(f);break;case 42:K.KD(f);break;case 45:K.nW(f);break;case 59:K.hk(f);break;case 51:K.Ak(f);break;case 49:K.GI(f);break;case 50:K.yr(f);break;case 47:K.qL(f);break;case 58:K.QN(f);break;case 61:K.jr.v0.zL((0,g.N7)());break;case 66:K.T1(f);break;case 46:K.Jk(f);break;case 67:K.onSnackbarMessage(f)}};\nqK=function(K){g.O.call(this);this.J=K;this.logger=new g.vf(\"onesie\");this.Ti=new Map;this.K=this.U=!1;this.WV=this.fQ=null;this.X=!1};\nhRN=function(K,R,f){K.Ti.get(R).onProgress=f};\npt=function(K,R){K.Ti.has(R)&&(MK?K.Ti.get(R).tN.clear():K.Ti.get(R).YN=new $4,bC(K,R),K.K=!0)};\noaB=function(K){for(var R=g.Z(K.Ti),f=R.next();!f.done;f=R.next()){var V=g.Z(f.value);f=V.next().value;V=V.next().value;V.AY||pt(K,f)}};\nSyo=function(K,R){R=K.Ti.get(R);if(!R)return 0;K=0;if(R.xW.length>0){R=g.Z(R.xW);for(var f=R.next();!f.done;f=R.next()){var V=void 0;K+=((V=f.value.range)==null?void 0:V.length)||0}return K}if(R.c$.length>0)for(f=g.Z(R.c$),V=f.next();!V.done;V=f.next())K+=V.value.PA||0;return K+R.E4};\nYD=function(K,R){if(MK){var f=0;K=K.Ti.get(R);if(K==null||!K.tN)return 0;K=g.Z(K.tN.values());for(R=K.next();!R.done;R=K.next())f+=R.value.data.totalLength;return f}return((f=K.Ti.get(R))==null?void 0:f.YN.totalLength)||0};\nmj=function(K,R){K=K.Ti.get(R);if(MK){if(K==null||!K.AY)return!1;R=K.tN.size>0;return K.To.length>0||R}return!(K==null||!K.AY)&&!(K==null||!K.YN.totalLength)};\nihw=function(K,R){var f=K.Ti.get(R),V=Syo(K,R),D=!V&&!!f.bytesReceived;if(MK){var H;if((H=K.fQ)==null?0:H.qY){K=g.Z(f.tN.values());for(R=K.next();!R.done;R=K.next())if(!R.value.XB)return!1;return D}}else if(H=K.K3(R),D&&K.U&&H!==void 0)return H;return(D||f.bytesReceived===V)&&f.Ag+YD(K,R)===f.bytesReceived};\nvav=function(K,R,f,V){f.xW.push.apply(f.xW,g.X(V));if(MK){f.vn.has(R)||f.vn.set(R,[]);var D;(D=f.vn.get(R)).push.apply(D,g.X(V))}else if(f.Up)for(K=g.Z(V),R=K.next();!R.done;R=K.next())f.Up.xW.push(R.value);else{f.Up=new EF(K.WV,[].concat(g.X(f.xW)));var H;((H=K.WV)==null?0:H.Yi)&&g.q(K,f.Up)}};\nL4c=function(K,R,f){var V,D=(V=K.fQ)==null?void 0:V.X.get(R);if(!D)return[];if(f.Ip){var H;return((H=D.nZ(0,f.clipId))==null?void 0:H.xW)||[]}if(D.WX()){var l=f.startMs,F=f.durationMs;V=1E3;var c;if(((c=K.WV)==null?0:c.U)&&f.timeRange){var r;l=(r=f.timeRange.startTicks)!=null?r:-1;var y;F=(y=f.timeRange.QQ)!=null?y:-1;var h;V=(h=f.timeRange.timescale)!=null?h:-1}if(f.Cq<0||f.zs<0||F<0||l<0||f.PA<0||V<0)return pt(K,R),[];K=GK(f.Cq,f.PA);R=f.rX||0;return[new sf(3,D,K,\"makeSliceInfosMediaBytes\",f.zs-\n1,l/V,F/V,R,K.length-R,void 0,f.H1,f.clipId)]}if(f.zs<0)return pt(K,R),[];var S;return((S=K.fQ)==null?0:S.qY)?(R=D.CF,c=R*D.info.c5,r=f.rX,((l=K.WV)==null?0:l.U)&&K.J.d2()!==\"ONESIE\"&&f.timeRange&&!r&&(F=f.timeRange.startTicks/f.timeRange.timescale),[new sf(3,D,void 0,\"makeSliceInfosMediaBytes\",f.zs,F,R,r,c,!0,f.H1,f.clipId)]):[]};\nwfv=function(K,R,f){K.fQ=R;K.WV=f;R=g.Z(K.Ti);for(f=R.next();!f.done;f=R.next()){var V=g.Z(f.value);f=V.next().value;V=V.next().value;for(var D=g.Z(V.Pw),H=D.next();!H.done;H=D.next()){H=H.value;var l=L4c(K,f,H);vav(K,H.Yb,V,l)}}};\nGA=function(K,R,f,V){(K=K.Ti.get(f))&&!K.L7&&(MK?(K.tN.has(R)||K.tN.set(R,{data:new $4,bV:0,XB:!1}),lB(K.tN.get(R).data,V)):lB(K.YN,V),K.bytesReceived+=V.totalLength,K.uP=!0)};\nbC=function(K,R){if((R=K.Ti.get(R))&&!R.L7){R.L7=!0;if(R.onProgress)R.onProgress();a:{R=g.Z(K.Ti.values());for(var f=R.next();!f.done;f=R.next())if(!f.value.L7){R=!1;break a}R=!0}R&&K.J.Tw()}};\nzRv=function(K){MK=K};\nuC=function(K,R,f,V,D,H,l){g.O.call(this);this.policy=K;this.info=R;this.fQ=f;this.jr=D;this.logger=new g.vf(\"sabr\");this.hQ=new Lt(this);this.lP=new OF(this);this.lX=new qK(this);this.state=1;this.hp=!1;this.tj=0;this.clipId=\"\";this.XH=-1;this.aS=0;this.TH=-1;this.Lx=this.Mr=this.ys=this.Uu=!1;this.policy.Qb?this.v0=new nt(this,H):this.v0=new o7(this,H);this.hh=this.policy.hV?R.Xd:x0w(R,this.policy,V);this.hh.set(\"rn\",\"\"+this.qD());this.hh.set(\"alr\",\"yes\");wfv(this.lX,f,K);this.VI=new Qz(this,this.policy,\nthis.hh,R.Qe,this.v0,this.logger,V,l,this.policy.enableServerDrivenRequestCancellation);XFB(this.VI);var F;if((F=this.policy)==null?0:F.Yi)g.q(this,this.lX),g.q(this,this.VI);K=R.K;R={method:\"POST\",body:K};K&&(this.aS=K.length);try{this.xhr=xD(this.hh,this.policy.Z,this.v0,e7,R),this.policy.Vx&&hO(this.v0,this.y9()),this.VI.K.start()}catch(c){g.A$(c)}};\nEaB=function(K){K.policy.zI&&K.aP&&!K.Mr?K.Mr=!0:K.v0.JH()};\na9o=function(K,R){var f=-1,V=-1,D=-1,H;if((H=K.e7)==null?0:H.items)for(K=g.Z(K.e7.items),H=K.next();!H.done;H=K.next())H=H.value,R=F,c=K.fQ.isManifestless,l){var r;if(((r=K.U)==null?void 0:r.Xw.event)===\"predictStart\"&&K.U.t5K.B&&(K.B=NaN,K.T=NaN);if(K.U&&K.U.t5===R){if(V=K.U,!K.policy.T||!K.policy.K)if(D&&V){var l=V.Xw;H=D.b6(l);l.event===\"predictStart\"&&(K.UF=R);K.KQ(\"sdai\",{onqevt:l.event,sq:R,mt:f,gab:H,cst:l.startSecs,cueid:K.policy.MX&&(H||l.event===\"start\")?l.identifier:void 0},!0);if(H)if(l.event!==\"predictStart\")l.event===\"start\"&&K.UF===R-1&&K.KQ(\"sdai\",\n{gabonstart:R}),k5c(K,R,f,V,D);else if(K.policy.Tk)KL(K,3,\"predict\");else{R+=Math.max(Math.ceil(-l.U/5E3),1);var F=Math.floor(f-l.U/1E3);K.policy.K?K.X=F:K.J=R;K.KQ(\"sdai\",{onpred:f,estsq:R,estmt:F.toFixed(3)});Rb(K.loader,F,F,R);K.Z=Date.now();KL(K,3,\"predict\");Tlz(D,V.Xw)}else K.K===1?((F=K.BK)==null?0:F.kV?0:fL(F,f))?(Rb(K.loader,f,f,R),KL(K,4,\"sk2head\")):KL(K,5,\"nogab\"):l.event===\"predictStart\"?K.policy.K&&K.X>0?(f=Math.floor(f-l.U/1E3),K.X!==f&&K.KQ(\"sdai\",{updateSt:f,old:K.X}),K.X=f):K.J>0&&\n(f=R+Math.max(Math.ceil(-l.U/5E3),1),K.J!==f&&(K.KQ(\"sdai\",{updateSt:f,old:K.J}),K.J=f)):K.policy.Tk&&K.K===3&&k5c(K,R,f,V,D)}else K.KQ(\"sdai\",{nulldec:1,sq:R,mt:f.toFixed(3),evt:(V==null?void 0:(l=V.Xw)==null?void 0:l.event)||\"none\"})}else K.K===1&&KL(K,5,\"noad\")};\nk5c=function(K,R,f,V,D){V.W_?KL(K,4,\"cue\"):(K.B=R,K.T=f,K.KQ(\"sdai\",{joinad:K.K,sg:K.B,st:K.T.toFixed(3)}),K.Z=Date.now(),KL(K,2,K.K===3?\"staftpred\":\"join\"),Tlz(D,V.Xw))};\nnaN=function(K,R,f){if(K.K===1||K.K===2)return!1;if(K.K!==0&&R===K.audioTrack){if(K.policy.K)return Pl2(K.videoTrack,f)||Pl2(K.videoTrack,f+1);K=Ve(K.videoTrack);if(f>(K?K.t5:-1))return!1}return!0};\nDT=function(K,R,f){return(f<0||f===K.B)&&!isNaN(K.T)?K.T:R};\nJSo=function(K,R){if(K.U){var f=K.U.Xw.w8-(R.startTime+K.N-K.U.Xw.startSecs);f<=0||(f=new HF(K.U.Xw.startSecs-(isNaN(K.N)?0:K.N),f,K.U.Xw.context,K.U.Xw.identifier,\"stop\",K.U.Xw.U+R.duration*1E3),K.KQ(\"cuepointdiscontinuity\",{segNum:R.t5}),ea(K,f,R.t5))}};\nKL=function(K,R,f){K.K!==R&&(K.KQ(\"sdai\",{setsst:R,old:K.K,r:f}),K.K=R)};\nH3=function(K,R,f,V){(V===void 0?0:V)?KL(K,1,\"seek\"):R>0&&Math.abs(R-f)>=5&&K.K===4&&KL(K,5,\"sk2t\")};\nI9v=function(K,R,f){var V=this;this.J=K;this.KQ=R;this.N=f;this.B=\"\";this.K=new Set;this.U=new Map;this.T=-1;this.X=0;this.OC={PuY:function(){return V.K}}};\ngav=function(K,R){for(var f=\"\",V=[],D=g.Z(K.U.entries()),H=D.next();!H.done;H=D.next()){var l=g.Z(H.value);H=l.next().value;l=l.next().value;var F=void 0,c=void 0,r=void 0;((F=l)==null?void 0:F.startTimeSecs)<=R&&R<=((c=l)==null?void 0:c.startTimeSecs)+((r=l)==null?void 0:r.w8)&&V.push(H);c=F=void 0;f+=H+\":\"+((F=l)==null?void 0:F.startTimeSecs.toFixed(3))+\":\"+((c=l)==null?void 0:c.w8.toFixed(3))+\";\"}V.length===0&&K.KQ(\"clsdai\",{no_cid:1,mt:R.toFixed(3),adConfigMap:f.substring(0,1024)});return V};\nOho=function(K){if(!K)return\"unknown\";switch(K){case 5:return\"predictStart\";case 1:return\"start\";case 2:return\"continue\";case 3:return\"stop\";default:return\"unknown\"}};\nj5B=function(K){switch(K){case 1:return\"timeout\";case 2:return\"ratecontrol\";case 3:return\"sverr\";case 4:return\"deleted\";case 5:return\"waiting\";case 6:return\"ready\";case 7:return\"ssdisabled\";default:return\"unknown\"}};\n$R=function(K,R,f){this.audio=K;this.video=R;this.reason=f};\nlz=function(K,R,f){this.U=K;this.reason=R;this.token=f;this.videoId=void 0};\ndL=function(K,R,f){g.O.call(this);this.policy=K;this.J=R;this.KQ=f;this.X=new Map;this.B=0;this.T=!1;this.U=\"\";this.K=!1};\nF_=function(K,R,f){if(f===void 0?0:f)K.T=!0;++K.B;f=6E4*Math.pow(2,K.B);f=(0,g.N7)()+f;K.X.set(R.info.id,f)};\nc3=function(K){for(var R=g.Z(K.X.entries()),f=R.next();!f.done;f=R.next()){var V=g.Z(f.value);f=V.next().value;V=V.next().value;V<(0,g.N7)()&&K.X.delete(f)}return K.X};\nqyN=function(K){return K.T&&c3(K).size>0};\nrL=function(K,R){K.U!==R&&(K.U=R,K.K=!0)};\nM92=function(K,R){var f;R&&(f=g.G$(K.J.U,function(D){return D.id===R}));\nif(!f&&(f=g.G$(K.J.U,function(D){var H;return!((H=D.tV)==null||!H.isDefault)}),R)){var V;\nK.KQ(\"iaf\",{id:R,sid:(V=f)==null?void 0:V.id})}return f};\nye=function(K){this.U=this.K=0;this.alpha=Math.exp(Math.log(.5)/K)};\nob=function(K,R,f,V,D,H){var l=this;H=H===void 0?[]:H;this.loader=K;this.Xt=R;this.policy=f;this.fQ=V;this.T=D;this.OF=H;this.logger=new g.vf(\"dash/abr\");this.U=Cc;this.X=this.N=null;this.EF=-1;this.qe=!1;this.nextVideo=this.K=null;this.J=[];this.oY=new Set;this.er={};this.Za=new ye(1);this.Z=0;this.Ne=this.aY=this.UF=!1;this.B5=0;this.kW=!1;this.y0=new Set;this.G2=!1;this.OC={qn:function(){hx(l)}};\nthis.B=new dL(this.policy,D,function(F,c){l.loader.KQ(F,c)})};\nG5G=function(K,R,f){Sb(K,R);R=M92(K.B,f);f||R||(R=bhD(K));R=R||K.T.U[0];K.K=K.fQ.U[R.id];hx(K);K.N=K.K;pfw(K);YyB(K);K.X=K.nextVideo;K.N=K.K;return m0M(K)};\ns5h=function(K,R){if(uIG(K,R))return null;if(R.reason===\"m\"&&R.isLocked())return Sb(K,R),K.Z=K.J.length-1,hx(K),iz(K),K.aY=K.aY||K.X!==K.nextVideo,K.X=K.nextVideo,new $R(K.K,K.X,R.reason);R.reason===\"r\"&&(K.EF=-1);Sb(K,R);iz(K);if(R.reason===\"r\"&&K.nextVideo===K.X)return new $R(K.K,K.nextVideo,R.reason);K.X&&K.nextVideo&&v3(K,K.X.info)1.5&&K.loader.KQ(\"overshoot\",{sq:R.t5,br:f,max:V}))}};\nLL=function(K,R,f){F_(K.B,R,f===void 0?!1:f);K.EF=-1;Sb(K,K.U)};\nKTB=function(K,R){return new $R(K.N,K.X,R||K.U.reason)};\nm0M=function(K){K.qe?K.qe=!1:K.EF=(0,g.N7)();K.UF=!1;K.G2=!1;return new $R(K.N,K.X,K.U.reason)};\nR5N=function(K,R){var f={};R=g.Z(R);for(var V=R.next();!V.done;V=R.next())if((V=V.value)&&V.video){var D=V.video.qualityOrdinal,H=f[D],l=H&&Jv(H)&&H.video.qualityOrdinal>K.policy.gk,F=D<=K.policy.gk?Jv(V):WM(V);if(!H||l||F)f[D]=V}return f};\nSb=function(K,R){K.U=R;var f=K.T.videoInfos;if(!K.U.isLocked()){var V=(0,g.N7)();f=g.Im(f,function(l){if(l.c5>this.policy.c5)return!1;var F=this.fQ.U[l.id];return c3(this.B).get(l.id)>V||F.Qe.X>4||F.T>4?!1:this.y0.has(+l.itag)?!1:!0},K);\nqyN(K.B)&&(f=g.Im(f,function(l){return l.video.width<=854&&l.video.height<=480}))}f.length||(f=K.T.videoInfos);\nvar D=f;K.policy.IV&&(D=fe2(K,D,R));D=g.Im(D,R.J,R);if(K.U.isLocked()&&K.B.U){var H=g.G$(f,function(l){return l.id===K.B.U});\nH?D=[H]:rL(K.B,\"\")}K.policy.IV||(D=fe2(K,D,R));D.length||(D=[f[0]]);D.sort(function(l,F){return v3(K,l)-v3(K,F)});\nR={};for(f=1;fR.k7.video.width?(g.RK(D,f),f--):v3(K,R.RL)*K.policy.EF>v3(K,R.k7)&&(g.RK(D,f-1),f--);R=D[D.length-1];K.kW=!!K.X&&!!K.X.info&&K.X.info.P5!==R.P5;K.J=D;K.oY.clear();f=!1;for(H=0;H=1080&&(f=!0);VAe(K.policy,R,K.fQ.qY)};\nfe2=function(K,R,f){var V=f.reason===\"m\"||f.reason===\"s\";K.policy.IL&&wL&&g.v7&&(!V||f.U<1080)&&(R=R.filter(function(r){return r.video&&(!r.K||r.K.powerEfficient)}));\nif(R.length>0)if(fy()){var D=R5N(K,R);R=R.filter(function(r){return!!r&&!!r.video&&r.P5===D[r.video.qualityOrdinal].P5})}else{var H,l,F=(H=R[0])==null?void 0:(l=H.video)==null?void 0:l.qualityOrdinal;\nif(F){f=R.filter(function(r){return!!r&&!!r.video&&r.video.qualityOrdinal===F});\nvar c=R5N(K,f)[F].P5;R=R.filter(function(r){return!!r&&!!r.video&&r.P5===c})}}return R};\nDlh=function(K,R){for(var f=0;f+1V};\nhx=function(K){if(!K.K||!K.policy.J&&!K.K.info.tV){var R=K.T.U;K.K&&(R=R.filter(function(V){return V.audio.U===K.K.info.audio.U}),R.length||(R=K.T.U));\nK.K=K.fQ.U[R[0].id];if(R.length>1&&!K.policy.B5){if(!K.policy.Ly){var f=g.G$(R,function(V){return V.audio.audioQuality!==\"AUDIO_QUALITY_HIGH\"});\nf&&(K.K=K.fQ.U[f.id])}f=!1;if(f=K.policy.SI?!0:K.U.isLocked()?K.U.U<240:Dlh(K,K.K))K.K=K.fQ.U[g.p8(R).id]}}};\niz=function(K){if(!K.nextVideo||!K.policy.J)if(K.U.isLocked())K.nextVideo=K.U.U<=360?K.fQ.U[K.J[0].id]:K.fQ.U[g.p8(K.J).id];else{for(var R=Math.min(K.Z,K.J.length-1),f=Y2(K.Xt),V=v3(K,K.K.info),D=f/K.policy.Xt-V;R>0&&!(v3(K,K.J[R])<=D);R--);for(f=f/K.policy.EF-V;R=f);R++);K.nextVideo=K.fQ.U[K.J[R].id];K.Z=R}};\npfw=function(K){var R=K.policy.Xt,f=Y2(K.Xt)/R-v3(K,K.K.info);R=g.sS(K.J,function(V){return v3(this,V)H?D=0:V[l]>K.buffered[l]&&(l===H-1?D=2:l===H-2&&V[l+1]>K.buffered[l+1]&&(D=3))}K.U.add(R<<3|(f&&4)|D);R=Math.ceil(K.track.l$()*1E3);K.U.add(R-K.B);K.B=R;if(D===1)for(K.U.add(H),l=R=0;l=2&&K.U.add(V[H-\n1]-K.buffered[H-1]);f&&K.U.add(f);K.buffered=V};\nNq=function(K,R,f){var V=this;this.policy=K;this.U=R;this.B5=f;this.J=this.K=0;this.CT=null;this.UF=new Set;this.EF=[];this.indexRange=this.initRange=null;this.Z=new y9;this.aY=this.Xt=!1;this.OC={qB5:function(){return V.X},\nlAQ:function(){return V.chunkSize},\nTOF:function(){return V.N},\no8D:function(){return V.T}};\n(R=c1w(this))?(this.chunkSize=R.csz,this.X=Math.floor(R.clen/R.csz),this.N=R.ck,this.T=R.civ):(this.chunkSize=K.Ex,this.X=0,this.N=g.SI(16),this.T=g.SI(16));this.B=new Uint8Array(this.chunkSize);this.N&&this.T&&(this.crypto=new tkD(this.N,this.T))};\nc1w=function(K){if(K.policy.WB&&K.policy.Ux)for(var R=g.Z(K.policy.WB),f=R.next(),V={};!f.done;V={KR:void 0,eC:void 0},f=R.next())if(f=g.FN(f.value),V.KR=+f.clen,V.eC=+f.csz,V.KR>0&&V.eC>0&&K.policy.J===f.docid&&K.U.info.id===f.fmtid&&K.U.info.lastModified===+f.lmt)return K={},K.clen=V.KR,K.csz=V.eC,K.ck=f.ck,K.civ=f.civ,K};\nUJ=function(K){return!!K.CT&&K.CT.AN()};\nh5N=function(K,R){if(!UJ(K)&&!K.mZ()){if(!(K.Xt||(K.Xt=!0,K.X>0))){var f=W3(K);f=qv(K.policy.J,K.U.info,tx(K),f,K.policy.OF);Ax(K,f)}if(R.info.type===1){if(K.CT){Jx(K,Error(\"Woffle: Expect INIT slices to always start us off\"));return}K.initRange=GK(0,R.K.totalLength)}else if(R.info.type===2)K.CT&&K.CT.type===1||Jx(K,Error(\"Woffle: Index before init\")),K.indexRange=GK(K.initRange.end+1,R.K.totalLength);else if(R.info.type===3){if(!K.CT){Jx(K,Error(\"Woffle: Expect MEDIA slices to always have lastSlice\"));\nreturn}if(K.CT.type===3&&!Kh(K.CT,R.info)&&(K.EF=[],R.info.t5!==R5(K.CT)||R.info.U!==0))return;if(R.info.X){f=g.Z(K.EF);for(var V=f.next();!V.done;V=f.next())r1o(K,V.value);K.EF=[]}else{K.EF.push(R);K.CT=R.info;return}}else{Jx(K,Error(\"Woffle: Unexpected slice type\"));return}K.CT=R.info;r1o(K,R);y1G(K)}};\nr1o=function(K,R){var f=0,V=rS(R.K);if(K.J=V.length)return;if(f<0)throw Error(\"Missing data\");K.J=K.X;K.K=0}for(D={};f0){var l=V.getUint32(f+28);H+=l*16+4}var F=V.getUint32(f+H-4);try{var c=LT2(R.subarray(f+H,f+H+F));if(c!==null){var r=c;break a}}catch(y){}}f+=D}r=null;break a}catch(y){r=null;break a}r=void 0}if(r!=null)for(R=T6(i9(r,7,void 0,eF)),R==null||K.S4||(K.cryptoPeriodIndex=R),R=T6(i9(r,10,void 0,eF)),R!=null&&R>0&&\n!K.S4&&(K.U=R),r=ak(r,2,pbM,void 0===Gdc?2:4),r=g.Z(r),V=r.next();!V.done;V=r.next())R=K.X,f=R.push,V=CU(V.value),V=g.OY(V,4),f.call(R,V)};\nz5v=function(K){return isNaN(K.cryptoPeriodIndex)?g.OY(K.initData):\"\"+K.cryptoPeriodIndex};\nX_=function(K,R,f){var V=f===void 0?{}:f;f=V.videoDuration===void 0?0:V.videoDuration;var D=V.lr===void 0?void 0:V.lr;V=V.vN===void 0?!1:V.vN;this.videoId=K;this.status=R;this.videoDuration=f;this.lr=D;this.vN=V};\nxlM=function(K,R,f,V,D){this.videoId=K;this.EZ=R;this.K=f;this.bytesDownloaded=V;this.U=D};\nkR=function(K){this.U=K;this.offset=0};\nTf=function(K){if(K.offset>=K.U.totalLength)throw Error();return hR(K.U,K.offset++)};\nEN_=function(K,R){R=R===void 0?!1:R;var f=Tf(K);if(f===1){R=-1;for(f=0;f<7;f++){var V=Tf(K);R===-1&&V!==255&&(R=0);R>-1&&(R=R*256+V)}return R}V=128;for(var D=0;D<6&&V>f;D++)f=f*256+Tf(K),V*=128;return R?f:f-V};\naeG=function(K){try{var R=EN_(K,!0),f=EN_(K,!1);return{id:R,size:f}}catch(V){return{id:-1,size:-1}}};\nQ4o=function(K){for(var R=new kR(K),f=-1,V=0,D=0;!V||!D;){var H=aeG(R),l=H.id;H=H.size;if(l<0)return;if(l===176){if(H!==2)return;V=R.ZS()}else if(l===186){if(H!==2)return;D=R.ZS()}l===374648427?f=R.ZS()+H:l!==408125543&&l!==174&&l!==224&&R.skip(H)}R=yw(K,0,f);f=new DataView(R.buffer);f.setUint16(V,3840);f.setUint16(D,2160);V=new $4([R]);lB(V,K);return V};\nNVD=function(K,R,f){var V=this;this.loader=K;this.policy=R;this.RY=f;this.logger=new g.vf(\"dash\");this.K=[];this.U=null;this.aY=-1;this.Z=0;this.B5=NaN;this.EF=0;this.X=NaN;this.N=this.er=0;this.Ne=-1;this.y0=this.J=this.B=this.Xt=null;this.kW=this.oY=NaN;this.T=this.UF=this.G2=this.Za=null;this.OF=!1;this.qe=this.timestampOffset=0;this.OC={gH:function(){return V.K}};\nif(this.policy.J){var D=this.RY,H=this.policy.J;this.policy.OF&&K.KQ(\"atv\",{ap:this.policy.OF});this.T=new Nq(this.policy,D,function(l,F,c){K.bD.Ss(new X_(V.policy.J,2,{lr:new xlM(H,l,D.info,F,c)}))});\nthis.T.Z.promise.then(function(l){V.T=null;l===1?K.bD.Ss(new X_(V.policy.J,l)):V.loader.KQ(\"offlineerr\",{status:l.toString()})},function(l){var F=(l.message||\"none\").replace(/[+]/g,\"-\").replace(/[^a-zA-Z0-9;.!_-]/g,\"_\");\nl instanceof ZT&&!l.U?(V.loader.KQ(\"offlinenwerr\",{em:F}),P3(V),K.bD.Ss(new X_(V.policy.J,4))):(V.loader.KQ(\"dldbwerr\",{em:F}),P3(V),K.bD.Ss(new X_(V.policy.J,4,{vN:!0})))})}};\nUlw=function(K){return K.K.length?K.K[0]:null};\nWTG=function(K,R){return K.K.some(function(f){return f.info.t5===R})};\nBVh=function(K,R,f,V){V=V===void 0?0:V;if(K.J){var D=K.J.U+K.J.K;if(f.info.U>0)if(f.info.t5===K.J.t5&&f.info.U=0&&K.J.t5>=0&&!Kh(K.J,f.info))throw new g.NB(\"improper_continuation\",K.J.yI(),f.info.yI());LUo(K.J,f.info)||nL(K,\"d\")}else if(f.info.U>0)throw new g.NB(\"continuation_of_null\",f.info.yI());K.J=f.info;K.RY=f.info.RY;if(f.info.U===0){if(K.U)if(!K.loader.isOffline()||K.policy.ql)K.loader.KQ(\"slice_not_fully_processed\",\n{buffered:K.U.info.yI(),push:f.info.yI()});else throw new g.NB(\"slice_not_fully_processed\",K.U.info.yI(),f.info.yI());Ib(K);K.er=V}else{if(K.er&&V&&K.er!==V)throw K=new g.NB(\"lmt_mismatch\",f.info.t5,K.er,V),K.level=\"WARNING\",K;!f.info.RY.WX()&&K.B&&(V=f.info,D=K.B.XH,V.T=\"updateWithEmsg\",V.t5=D)}if(K.U){V=g.xa(K.U,f);if(!V)throw new g.NB(\"failed_to_merge\",K.U.info.yI(),f.info.yI());K.U=V}else K.U=f;a:{f=g.BM(K.U.info.RY.info);if(K.U.info.type!==3){if(!K.U.info.X)break a;K.U.info.type===6?tAw(K,R,\nK.U):A1D(K,K.U);K.U=null}for(;K.U;){V=K.U.K.totalLength;if(K.aY<=0&&K.Z===0){var H=K.U.K,l=-1;D=-1;if(f){for(var F=0;F+80))break;if(h!==408125543)if(h===524531317)F=!0,y>=0&&(D=H.ZS()+y,c=!0);else{if(F&&(h===160||h===163)&&(l<0&&(l=r),c))break;h===163&&(l=Math.max(0,l),D=H.ZS()+y);if(h===160){l<0&&(D=l=\nH.ZS()+y);break}H.skip(y)}}l<0&&(D=-1)}if(l<0)break;K.aY=l;K.Z=D-l}if(K.aY>V)break;K.aY?(V=J1c(K,K.aY),V.B&&Z5w(K,V),tAw(K,R,V),gL(K,V),K.aY=0):K.Z&&(V=J1c(K,K.Z<0?Infinity:K.Z),K.Z-=V.K.totalLength,gL(K,V))}}K.U&&K.U.info.X&&(gL(K,K.U),K.U=null)};\nA1D=function(K,R){!R.info.RY.WX()&&R.info.U===0&&(g.BM(R.info.RY.info)||R.info.RY.info.S4())&&RWo(R);if(R.info.type===1)try{Z5w(K,R),XgG(K,R)}catch(D){g.WR(D);var f=fh(R.info);f.hms=\"1\";K.loader.handleError(\"fmt.unparseable\",f||{},1)}f=R.info.RY;f.Ej(R);K.T&&h5N(K.T,R);if(f.Rm()&&K.policy.U)a:{K=K.loader.fQ;R=R.info.clipId;f=g.nH(f.info,K.qY);if(R){var V=Mb({itag:f.itag,lmt:K.qY?0:f.lmt||0,xtags:f.xtags});if(K.kW[V])break a;K.kW[V]=R}K.Ne.push(f)}};\nyHo=function(K,R,f){if(K.K.length!==0&&(f||K.K.some(function(H){return H.info.J=jb(l)+F):R=K.getDuration()>=l.getDuration(),R=!R;R&&TVG(f)&&(R=K.Xt,OJ?(F=euv(f),l=1/F,F=jb(K,F),R=jb(R)+l-F):R=R.getDuration()-\nK.getDuration(),R=1+R/f.info.duration,GXh(g.z5(f),R))}else{l=!1;K.B||(RWo(f),f.U&&(K.B=f.U,l=!0,D=f.info,H=f.U.XH,D.T=\"updateWithEmsg\",D.t5=H,D=f.U,D.AN&&(H=K.RY.index,H.K=!D.AN,H.X=\"emsg\"),D=f.info.RY.info,H=g.z5(f),g.BM(D)?vF(H,1701671783):D.S4()&&Nb([408125543],307544935,H)));a:if((D=Qq(f,K.policy.nh))&&KID(f))F=PKv(K,f),K.N+=F,D-=F,K.EF+=D,K.X=K.policy.fp?K.X+D:NaN;else{if(K.policy.LS){if(H=c=K.loader.zb(g.Ey(f),1),K.X>=0&&f.info.type!==6){if(K.policy.fp&&isNaN(K.oY)){g.A$(new g.NB(\"Missing duration while processing previous chunk\",\nf.info.yI()));K.loader.isOffline()&&!K.policy.ql||nNv(K,f,H);nL(K,\"m\");break a}V=c-K.X;var r=V-K.N,y=f.info.t5,h=K.y0?K.y0.t5:-1,S=K.kW,v=K.oY,L=K.policy.zU&&V>K.policy.zU,E=Math.abs(r)>10,Q=Math.abs(K.X-H)<1E-7;if(Math.abs(r)>1E-4){K.qe+=1;var J=(F=K.B)==null?void 0:MSM(F);F={audio:\"\"+ +K.c9(),sq:y.toFixed(),sliceStart:c,lastSq:h.toFixed(),lastSliceStart:S,lastSliceDuration:v,totalDrift:(V*1E3).toFixed(),segDrift:(r*1E3).toFixed(),skipRewrite:\"\"+ +(L||E)};if(J==null?0:J.length)F.adCpn=J[0];K.loader.handleError(\"qoe.avsync\",\nF);K.Ne=y}L||E||Q||(H=K.X);F=PKv(K,f,c);D-=F;K.N=V+F}}else H=isNaN(K.X)?f.info.startTime:K.X;nNv(K,f,H)&&(K.EF+=D,K.X=H+D,K.policy.pH&&K.qe>=K.policy.pH&&(K.qe=0,K.loader.Gb({resetForRewrites:\"count\"})))}K.y0=f.info;K.oY=a5(f);f.X>=0&&(K.kW=f.X);if(l&&K.B){l=Ie5(K,!0);Vq(f.info,l);K.U&&Vq(K.U.info,l);R=g.Z(R);for(F=R.next();!F.done;F=R.next())F=F.value,D=void 0,K.policy.B&&F.t5!==((D=K.B)==null?void 0:D.XH)||Vq(F,l);(f.info.X||K.U&&K.U.info.X)&&f.info.type!==6||(K.UF=l,K.policy.K?(R=gNo(K.B),K.loader.bE(K.RY,\nl,R)):(R=K.loader,R.fQ.isManifestless&&O5B(R,l,null,!!K.RY.info.video)),K.policy.nT||j4c(K))}}XgG(K,f);K.timestampOffset&&sg5(f,K.timestampOffset)};\ngL=function(K,R){if(R.info.X){K.Za=R.info;if(K.B){var f=K.B,V=Ie5(K,!1);f=gNo(f);K.loader.bE(K.RY,V,f);K.UF||K.policy.nT||j4c(K);K.UF=null}Ib(K)}K.T&&h5N(K.T,R);if(V=K.SZ())if(V=g.xa(V,R,K.policy.Jv,K.policy.OA)){K.K.pop();K.K.push(V);return}K.K.push(R)};\ngNo=function(K){if(K.W_()){var R=K.data[\"Stitched-Video-Id\"]?K.data[\"Stitched-Video-Id\"].split(\",\").slice(0,-1):[],f=MSM(K),V=[];if(K.data[\"Stitched-Video-Duration-Us\"])for(var D=g.Z(K.data[\"Stitched-Video-Duration-Us\"].split(\",\").slice(0,-1)),H=D.next();!H.done;H=D.next())V.push((Number(H.value)||0)/1E6);D=[];if(K.data[\"Stitched-Video-Start-Frame-Index\"]){H=g.Z(K.data[\"Stitched-Video-Start-Frame-Index\"].split(\",\").slice(0,-1));for(var l=H.next();!l.done;l=H.next())D.push(Number(l.value)||0)}D=[];\nif(K.data[\"Stitched-Video-Start-Time-Within-Ad-Us\"])for(H=g.Z(K.data[\"Stitched-Video-Start-Time-Within-Ad-Us\"].split(\",\").slice(0,-1)),l=H.next();!l.done;l=H.next())D.push((Number(l.value)||0)/1E6);K=new vNB(R,f,V,D,g.bQB(K),g.pXo(K))}else K=null;return K};\nIb=function(K){K.U=null;K.aY=-1;K.Z=0;K.B=null;K.B5=NaN;K.EF=0;K.UF=null};\nnL=function(K,R){R={rst4disc:R,cd:K.N.toFixed(3),sq:K.y0?K.y0.t5:-1};K.X=NaN;K.N=0;K.Ne=-1;K.y0=null;K.kW=NaN;K.oY=NaN;K.G2=null;K.loader.KQ(\"mdstm\",R)};\nXgG=function(K,R){if(K.isDrm()){if(R.info.RY.info.S4()){var f=new wM(g.z5(R));if(xq(f,[408125543,374648427,174,28032,25152,20533,18402])){var V=Ql(f,!0);f=V!==16?null:AH(f,V)}else f=null;V=\"webm\"}else R.info.Z=ScB(g.z5(R)),f=i5G(R.info.Z),V=\"cenc\";f&&f.length&&(f=new B3(f,V),K.policy.MK&&g.BM(R.info.RY.info)&&(V=RuB(g.z5(R)))&&(f.K=V),f.S4=R.info.RY.info.S4(),R.U&&R.U.cryptoPeriodIndex&&(f.cryptoPeriodIndex=R.U.cryptoPeriodIndex),R.U&&R.U.K&&(f.U=R.U.K),K.loader.Ez(f))}};\nj4c=function(K){var R=K.B,f=jMG(R);f&&(f.startSecs+=K.B5,K.loader.y7(K.RY,f,R.XH,R.W_()))};\nIe5=function(K,R){var f,V=K.B;if(f=jMG(V))f.startSecs+=K.B5;var D=K.B5,H=0;K.RY instanceof dl&&(H=K.RY.CF);return new Gn(V.XH,D,R?H:K.EF,V.ingestionTime,\"sq/\"+V.XH,void 0,void 0,R,f)};\nnNv=function(K,R,f){if(!uz_(R,f))return R=fh(R.info),R.smst=\"1\",K.loader.handleError(\"fmt.unparseable\",R||{},1),!1;isNaN(K.B5)&&(K.B5=f);return!0};\nPKv=function(K,R,f){var V=0;if(R.info.RY.info.S4()&&!KID(R))return 0;if(K.Xt&&!K.c9()){var D=0;f&&g.BM(R.info.RY.info)?D=f-K.X:R.info.RY.info.S4()&&(D=K.N);var H=R.info.t5;f=Qq(R,K.policy.nh);var l=K.Xt;var F=l.Ne;l=l.N;var c=Math.abs(l-D)>.02;if((H===F||H>F&&H>K.Ne)&&c){V=Math.max(.95,Math.min(1.05,(f-(l-D))/f));if(g.BM(R.info.RY.info))GXh(g.z5(R),V);else if(R.info.RY.info.S4()&&(H=D-l,!g.BM(R.info.RY.info)&&(R.info.RY.info.S4(),V=new wM(g.z5(R)),F=R.B?V:new wM(new DataView(R.info.RY.U.buffer)),\nQq(R,!0)))){var r=H*1E3,y=Zq(F);F=V.pos;V.pos=0;if(V.U.getUint8(V.pos)===160||BF(V))if(aG(V,160))if(Ql(V,!0),aG(V,155)){if(H=V.pos,c=Ql(V,!0),V.pos=H,r=r*1E9/y,y=Uf(V),r=y+Math.max(-y*.7,Math.min(y,r)),r=Math.sign(r)*Math.floor(Math.abs(r)),!(Math.ceil(Math.log(r)/Math.log(2)/8)>c)){V.pos=H+1;for(H=c-1;H>=0;H--)V.U.setUint8(V.pos+H,r&255),r>>>=8;V.pos=F}}else V.pos=F;else V.pos=F;else V.pos=F}V=Qq(R,K.policy.nh);V=f-V}V&&R.info.RY.info.S4()&&K.loader.KQ(\"webmDurationAdjustment\",{durationAdjustment:V,\nvideoDrift:D+V,audioDrift:l})}return V};\nTVG=function(K){return K.info.RY.WX()&&K.info.t5===K.info.RY.index.H0()};\njb=function(K,R){R=(R=R===void 0?0:R)?Math.round(K.timestampOffset*R)/R:K.timestampOffset;K.RY.J&&R&&(R+=K.RY.J.U);return R+K.getDuration()};\nqch=function(K,R){R<0||(K.K.forEach(function(f){sg5(f,R)}),K.timestampOffset=R)};\nsm=function(K,R,f,V,D){wc.call(this,f,D);var H=this;this.policy=K;this.formatId=R;this.lX=V;this.lastError=null;this.onProgress=function(){H.mZ()||(H.lX.Ti.has(H.formatId)?(H.isComplete()||H.U.start(),mj(H.lX,H.formatId)&&H.Xc(2),H.lX.L7(H.formatId)&&(ihw(H.lX,H.formatId)?H.YY(4):(H.lastError=\"net.closed\",H.YY(5)))):(H.lastError=\"player.exception\",H.YY(5)))};\nthis.U=new g.CW(function(){H.isComplete()||(H.lastError=\"net.timeout\",H.YY(5))},1E3);\nthis.U.start();hRN(this.lX,this.formatId,this.onProgress);g.WE(this.onProgress)};\nqq=function(K,R,f,V){g.O.call(this);var D=this;this.loader=K;this.policy=R;this.RY=f;this.timing=V;this.logger=new g.vf(\"dash\");this.K=[];this.Xt=[];this.U=this.DZ=null;this.G2=!1;this.er=this.qe=0;this.B=-1;this.aY=!1;this.B5=-1;this.y0=null;this.UF=NaN;this.EF=[];this.OC={Yj:function(){return D.X},\nBM5:function(){return D.K},\njVa:function(){return D.N}};\nthis.X=new NVD(K,R,f);this.policy.U&&(this.N=new GM(this.X,this.loader.getManifest(),this.policy,function(H){D.policy.Sp&&D.KQ(\"buftl\",H)}));\nthis.policy.Ch&&(this.Z=new ab(this));this.c5=f.info.c5;this.T=this.policy.aY?!1:f.LI();this.isManifestless=f.LI();this.J=this.T;g.q(this,this.y0)};\nMq=function(K,R,f){f=f===void 0?!1:f;R&&OJ&&qch(K.X,R.FE());if(!f){var V;(V=K.N)==null||dbe(V)}K.DZ=R;(R=K.N)!=null&&(R.DZ=K.DZ)};\nbz=function(K){var R=K.DZ&&K.DZ.Aa();if(K.policy.vg){if((K=K.N)==null)K=void 0;else{var f;K=(f=K.X)==null?void 0:f.info}return K||null}return R};\nMAM=function(K){for(var R={},f=0;f4&&K.Xt.shift()};\nb5B=function(K,R){if(R.Uf()){var f=R.RM();f=g.Z(f);for(var V=f.next();!V.done;V=f.next())V=V.value,K.policy.X&&R instanceof sm&&K.KQ(\"omblss\",{s:V.info.yI()}),YR(K,R.info.xW,V,R.OZ())}};\nYR=function(K,R,f,V){V=V===void 0?0:V;isNaN(K.UF)||(K.KQ(\"aswm\",{sq:R[0].t5,id:R[0].RY.info.itag,xtag:R[0].RY.info.U,ep:Date.now()-K.UF}),K.UF=NaN);switch(f.info.type){case 1:case 2:pgw(K,f);break;case 4:var D=f.info.RY,H=D.fN(f),l;((l=K.U)==null?0:l.type===4)&&NUh(f.info,K.U)&&(K.U=D.kF(K.U).pop());f=g.Z(H);for(D=f.next();!D.done;D=f.next())YR(K,R,D.value,V);break;case 3:f.info.RY.info.video?(D=K.timing,D.y0||(D.y0=(0,g.N7)(),g.tL(\"fvb_r\",D.y0,D.U))):(D=K.timing,D.T||(D.T=(0,g.N7)(),g.tL(\"fab_r\",\nD.T,D.U)));BVh(K.X,R,f,V);K.policy.U&&YcD(K);break;case 6:BVh(K.X,R,f,V),K.U=f.info}};\npgw=function(K,R){if(R.info.type===1)if(R.info.RY.info.video){var f=K.timing;f.qe||(f.qe=(0,g.N7)(),g.tL(\"vis_r\",f.qe,f.U))}else f=K.timing,f.Z||(f.Z=(0,g.N7)(),g.tL(\"ais_r\",f.Z,f.U));A1D(K.X,R);K=K.loader;K.videoTrack.RY.Rm()&&K.audioTrack.RY.Rm()&&K.policy.U&&!K.fQ.qY&&(R=K.audioTrack.getDuration(),f=K.videoTrack.getDuration(),Math.abs(R-f)>1&&K.KQ(\"trBug\",{af:\"\"+g.nH(K.audioTrack.RY.info,!1),vf:\"\"+g.nH(K.videoTrack.RY.info,!1),a:\"\"+R,v:\"\"+f}))};\n$D=function(K){return Ulw(K.X)};\nYcD=function(K){K.K.length?K.U=g.p8(g.p8(K.K).info.xW):K.X.K.length?K.U=K.X.SZ().info:K.U=bz(K)};\nmi=function(K,R){var f={QI:[],ES:[]},V;if((K=K.N)==null)K=void 0;else{lqB(K,K.QI,\"og\");DbN(K,R);lqB(K,K.QI,\"trim\");var D=$bc(K);R=D.QI;D=D.bT;for(var H=[],l=0;l0){var S=bA(h,c);S>=0&&(y=(h.end(S)-c+.1)*1E3)}H.push({formatId:g.nH(F.info.RY.info,K.fQ.qY),\nH1:F.info.H1,sequenceNumber:F.info.t5+K.J,au:r,j3:F.info.K,e9:y})}K={QI:R,ES:H}}return(V=K)!=null?V:f};\nKt=function(K,R,f){f=f===void 0?!1:f;if(K.DZ){var V=K.DZ.vV(),D=Y0(V,R),H=NaN,l=bz(K);l&&(H=Y0(V,l.RY.index.getStartTime(l.t5)));if(D===H&&K.U&&K.U.K&&mlB(Gf(K),0))return R}K=uz(K,R,f);return K>=0?K:NaN};\nft=function(K,R,f){K.RY.Rm();var V=uz(K,R);if(V>=0)return V;var D;(D=K.N)==null||Hno(D,R,f);V=Math;D=V.min;var H=K.X;if(H.T)if(H=H.T,H.CT&&H.CT.type===3)H=H.CT.startTime;else if(H.X>0){var l=H.U.index;l=g.hh(l.offsets.subarray(0,l.count),H.X*H.chunkSize);H=H.U.index.getStartTime(l>=0?l:Math.max(0,-l-2))}else H=0;else H=Infinity;R=D.call(V,R,H);K.U=K.policy.aY?null:K.RY.QC(R).xW[0];sJ(K)&&(K.policy.HT&&(f==null?void 0:f.seekSource)===60||K.DZ&&K.DZ.abort(),K.policy.Pf&&(f=K.N)!=null&&(f.X=void 0));\nK.er=0;return K.U?K.U.startTime:R};\ncHN=function(K){K.T=!0;K.J=!0;K.B=-1;ft(K,Infinity)};\nCL=function(K){for(var R=0,f=g.Z(K.K),V=f.next();!V.done;V=f.next())R+=WUc(V.value.info);return R+=k9z(K.X)};\nKk=function(K,R){R=R===void 0?!1:R;var f=K.loader.getCurrentTime(),V=K.X.SZ(),D=(V==null?void 0:V.info.B)||0;if((V==null?0:V.info.RY.LI())&&!V.info.X)if(K.policy.hc)D=V.info.J;else if(K.policy.i6){var H=V.info;D=H.range?H.B:Math.min(H.startTime+Math.min(H.duration*H.U/H.RY.info.c5,H.duration)+(H.range?H.N:Math.min(H.duration,H.duration*H.K/H.RY.info.c5)),H.startTime+H.duration)}if(!K.DZ){if((K.policy.U||K.policy.lW)&&R&&!isNaN(f)){if(V)return D-f;if(K.policy.lW&&K.RY.info.P5===\"f\")return Infinity}return 0}if((H=\nbz(K))&&eb(H))return H.B;var l=K.DZ.vV(!0);if(R&&V)return H=0,K.policy.U&&(H=uA(l,D+.02)),H+D-f;R=uA(l,f);K.policy.hv&&H&&(V=bA(l,f),l=bA(l,H.J-.02),V===l&&(f=H.B-f,K.policy.X&&f>R+.02&&K.KQ(\"abh\",{bh:R,bhtls:f}),R=Math.max(R,f)));return R};\nG95=function(K){var R=bz(K);return R?R.B-K.loader.getCurrentTime():0};\nRS=function(K,R,f,V){if(!K.RY.index.KM(R,!0))return!1;try{en(K);for(var D=K.X,H=null,l=D.K.length-1;l>=0;l--){var F=D.K[l];F.info.t5>=R&&(D.K.pop(),D.X-=Qq(F,D.policy.nh),H=F.info)}H&&(D.J=D.K.length>0?D.K[D.K.length-1].info:D.G2,D.K.length!==0||D.J||nL(D,\"r\"));D.loader.KQ(\"mdstm\",{rollbk:1,itag:H?H.RY.info.itag:\"\",popped:H?H.t5:-1,sq:R,lastslc:D.J?D.J.t5:-1,lastfraget:D.X.toFixed(3)});if(K.policy.U)return K.U=null,!0;V>f?ft(K,V):K.U=K.RY.BZ(R-1,!1).xW[0]}catch(c){return R=R2(c),R.details.reason=\n\"rollbkerr\",K.loader.handleError(R.errorCode,R.details,R.severity),!1}return!0};\nVm=function(K,R){var f;for(f=0;f0?f||R.t5>=K.B5:f};\nDG=function(K){var R;return sJ(K)||eb((R=K.X.SZ())==null?void 0:R.info)};\nGf=function(K){var R=[],f=bz(K);f&&R.push(f);R=g.Hy(R,K.X.b5());f=g.Z(K.K);for(var V=f.next();!V.done;V=f.next()){V=V.value;for(var D=g.Z(V.info.xW),H=D.next(),l={};!H.done;l={Vv:void 0},H=D.next())l.Vv=H.value,V.wY&&(R=g.Im(R,function(F){return function(c){return!NUh(c,F.Vv)}}(l))),(ek(l.Vv)||l.Vv.type===4)&&R.push(l.Vv)}K.U&&!ibh(K.U,g.p8(R),K.U.RY.WX())&&R.push(K.U);\nreturn R};\nmlB=function(K,R){if(!K.length)return!1;for(R+=1;R=R){R=H;break a}}R=D}return R<0?NaN:mlB(K,f?R:0)?K[R].startTime:NaN};\nHl=function(K){return!(!K.U||K.U.RY===K.RY)};\nuCe=function(K,R,f){return K.policy.U?Kk(K,!0)R&&K.B1080&&!K.X5&&(K.oY=36700160,K.v5=5242880,K.Ne=Math.max(4194304,K.Ne),K.X5=!0);R.video.qualityOrdinal>2160&&!K.IN&&(K.oY=104857600,K.c5=13107200,K.IN=!0);g.mz(K.gU.experiments,\"html5_samsung_kant_limit_max_bitrate\")!==0?R.isEncrypted()&&g.uj()&&g.mO(\"samsung\")&&(g.mO(\"kant\")||g.mO(\"muse\"))&&(K.c5=g.mz(K.gU.experiments,\"html5_samsung_kant_limit_max_bitrate\")):R.isEncrypted()&&g.uj()&&g.mO(\"kant\")&&(K.c5=1310720);K.T$!==0&&R.isEncrypted()&&\n(K.c5=K.T$);K.sB!==0&&R.isEncrypted()&&f&&(K.c5=K.sB);R.c5&&(K.fJ=Math.max(K.Gk,Math.min(K.Ne,5*R.c5)))};\nkD=function(K){return K.U&&K.ZY};\ncl=function(K){return K.U&&K.G3&&K.playbackStartPolicy};\nr8=function(K,R,f,V){K.G3&&(K.playbackStartPolicy=R,K.oX=f,K.fm=V)};\nd8=function(K,R,f){f=f===void 0?0:f;return g.mz(K.gU.experiments,R)||f};\n$vD=function(K){var R=K===void 0?{}:K;K=R.z3;var f=R.KF;var V=R.Vf;var D=R.H0;R=R.P_;this.z3=K;this.KF=f;this.Vf=V;this.H0=D;this.P_=R};\nQGc=function(K,R){if(R<0)return!0;var f=K.H0();return R0)return 2;if(R<0)return 1;f=K.H0();return R(0,g.N7)()?0:1};\noS=function(K,R,f,V,D,H,l,F,c,r,y,h,S,v){v=v===void 0?null:v;g.O.call(this);var L=this;this.loader=K;this.policy=R;this.videoTrack=f;this.audioTrack=V;this.X=D;this.U=H;this.timing=l;this.J=F;this.schedule=c;this.fQ=r;this.K=y;this.EF=h;this.D1=S;this.Ik=v;this.UF=!1;this.Wf=\"\";this.Wo=null;this.KP=NaN;this.aY=!1;this.BK=null;this.yY=this.Z=NaN;this.lQ=this.B=0;this.logger=new g.vf(\"dash\");this.OC={Zj:function(E,Q){return L.Zj(E,Q)}};\nthis.policy.aN>0&&(this.Wf=g.SI(this.policy.aN));this.policy.HR&&(this.N=new ym(this.loader,this.policy,this.schedule),g.q(this,this.N))};\nrPG=function(K,R,f){var V=R.U?R.U.RY.Qe:R.RY.Qe;var D=K.X,H;(H=!K.policy.rN)||(H=hz(4,V.U)===hz(1,V.K));H?V=!1:(D=nn(D,hz(4,V.K)),H=6E4*Math.pow(D.J,1.6),(0,g.N7)()=D.J?(D.KQ(\"sdai\",{haltrq:H+1,est:D.J}),V=!1):V=D.K!==2;if(!V||!qb(R.U?R.U.RY.Qe:R.RY.Qe,K.policy,K.X,K.loader.Nw)||K.loader.isSuspended&&(!vl(K.schedule)||K.loader.jN))return!1;if(K.policy.J&&je>=5)return g.eE(K.loader.Wu),!1;if(K.fQ.isManifestless){if(R.K.length>0&&R.U&&R.U.t5===-1||R.K.length>=K.policy.Ws||!K.policy.Ao&&R.K.length>0&&!K.policy.Z.KF)return!1;if(R.T)return!K.fQ.isLive||\n!isNaN(K.KP)}if(e5w(R))return!1;if(!R.U){if(!R.RY.Rm())return!1;ft(R,K.loader.getCurrentTime())}if($D(R)&&(R.SZ()!==$D(R)||K.loader.isSuspended))return!1;D=(V=K.policy.Vq)&&!R.K.length&&Kk(R,!0)=K.policy.iG)return!1;V=R.U;if(!V)return!0;V.type===4&&V.RY.Rm()&&(R.U=g.p8(V.RY.kF(V)),V=R.U);if(!V.AN()&&!V.RY.Vd(V))return!1;H=K.fQ.V9||K.fQ.J;if(K.fQ.isManifestless&&\nH){H=R.RY.index.H0();var l=f.RY.index.H0();H=Math.min(H,l);if(R.RY.index.Td()>0&&H>0&&V.t5>=H)return R.B5=H,f.B5=H,!1}if(V.RY.info.audio&&V.type===4||V.AN())return!1;H=!R.J&&!f.J;if(D=!D)D=V.B,D=!!(f.U&&!eb(f.U)&&f.U.ByPN(K,R)?(yPN(K,R),!1):(K=R.DZ)&&K.isLocked()?!1:!0};\nyPN=function(K,R){var f=K.U;f=f.U?f.U.Xw:null;if(K.policy.er&&f)return f.startSecs+f.w8+15;R=R7(K.loader,R);K.policy.Kh>0&&(f=((0,g.N7)()-K.loader.RZ)/1E3,R=Math.min(R,K.policy.Kh+K.policy.Cv*f));R=K.loader.getCurrentTime()+R;return K.policy.RN&&(f=hC_(K.loader)+K.policy.RN,f=0||R.Qe.f$(\"defrag\")===\"1\"||R.Qe.f$(\"otf\")===\"1\"){R=null;break a}D=GK(0,4096)}D=new D9([new sf(5,V.RY,D,\"createProbeRequestInfo\"+V.T,V.t5)],R.K);D.Zq=f;D.U=R.U;R=D}R&&ih(K,R)}};\nih=function(K,R){K.loader.tA(R);var f=WUc(R),V=K.loader.Yf();f={IG:K.schedule,Pb:f,CD:eah(K.J,f),Cp:Cn(R.xW[0]),RT:QN(18,R.Qe.U),lV:K.policy.X,Mw:function(l,F){K.loader.Ki(l,F)}};\nif(K.schedule.K.T){var D,H;f.z8=(((D=K.videoTrack.RY)==null?void 0:D.info.c5)||0)+(((H=K.audioTrack.RY)==null?void 0:H.info.c5)||0)}K.Wo&&(f.t5=R.xW[0].t5,f.KP=R.KP,f.Wo=K.Wo);V={B_:t$2(R,K.loader.getCurrentTime()),dL:K.policy.MR&&$a(R)&&R.xW[0].RY.info.video?$lN(K.K):void 0,KS:K.policy.er,poToken:K.loader.iT(),zo:K.loader.w7(),Wf:K.Wf,yY:isNaN(K.yY)?null:K.yY,Ik:K.Ik,D1:K.D1,lQ:K.lQ,MN:V};return new C_(K.policy,R,f,K.X,function(l,F){try{a:{var c=l.info.xW[0].RY,r=c.info.video?K.videoTrack:K.audioTrack;\nif(!(l.state>=2)||l.isComplete()||l.c8()||!(!K.loader.sF||K.loader.isSuspended||Kk(r)>3)){var y=dvB(l,K.policy,K.X);y===1&&(K.aY=!0);o_G(K,l,y);if(l.isComplete()||l.mZ()&&F<3){if(K.policy.X){var h=l.timing.f_();h.rst=l.state;h.strm=l.xhr.dV();h.cncl=l.xhr&&l.VI.B?1:0;K.loader.KQ(\"rqs\",h)}l.tp&&K.loader.KQ(\"sbwe3\",{},!0)}if(!K.mZ()&&l.state>=2){t9G(K.timing,l,c);var S=K.loader;K.yY&&l.EG&&S&&(K.yY=NaN,K.loader.Us(l.EG),K.loader.Cj(),K.loader.KQ(\"cabrUtcSeek\",{mediaTimeSeconds:l.EG}));l.Lq&&K.yY&&l.Lq&&\n!l.Lq.action&&(K.loader.rM(K.yY),K.yY=NaN,K.loader.KQ(\"cabrUtcSeekFallback\",{targetUtcTimeSeconds:K.yY}));l.gS&&K.loader.QN(l.gS);K.policy.Dk&&(K.lQ=l.lQ);if(l.state===3){Vm(r,l);$a(l.info)&&w8(K,r,c,!0);if(K.BK){var v=l.info.gg();v&&K.BK.xV(l.info.xW[0].t5,c.info.id,v)}K.loader.zi()}else if(l.isComplete()&&l.info.xW[0].type===5){if(l.state!==4)l.Fp()&&K.loader.handleError(l.jH(),l.BM());else{var L=(l.info.xW[0].RY.info.video?K.videoTrack:K.audioTrack).K[0]||null;L&&L instanceof C_&&L.c8()&&L.l6()}l.dispose()}else{if(!l.Fp()&&\nl.B7&&l.state>=2&&l.state!==3){var E=l.xhr.getResponseHeader(\"X-Response-Itag\");if(E){var Q=H5_(K.K,E),J=l.info.X;if(J){var A=J-Q.oh();Q.X=!0;l.info.xW[0].RY.X=!1;var B=Q.nZ(A);l.info=B;if(l.Up){var k=l.Up,b=B.xW;(b.length!==k.xW.length||b.length=K.policy.f5&&K.BK&&l.info.isDecorated()&&aw===\"net.badstatus\"&&aS(K.BK,DB,dW))){var b_=(VN.info.video&&VN.Qe.X>1||l.tK===410||l.tK===500||l.tK===503)&&!(c3(K.K.B).size>0)&&!QN(17,VN.Qe.U),Pc=l.BM(),YV=VN.info.video?K.videoTrack:K.audioTrack;b_&&(Pc.stun=\"1\");K.loader.handleError(aw,Pc);K.mZ()||(b_&&LL(K.K,VN),Vm(YV,l),K.loader.zi())}}else Q=1,K.BK&&l.info.isDecorated()&&\naw===\"net.badstatus\"&&aS(K.BK,DB,dW)&&(Q=0),K.fQ.isLive&&l.jH()===\"net.badstatus\"&&K.B<=K.policy.ao*2?(XMz(K.fQ),K.fQ.V9||K.fQ.isPremiere?Hh(K.loader,0,{oQ:\"badStatusWorkaround\"}):K.fQ.J?Hh(K.loader,K.fQ.Jx,{oQ:\"badStatusWorkaround\",zb:!0}):Qm(K.loader)):K.loader.handleError(aw,l.BM(),Q);isNaN(K.yY)||(K.loader.rM(K.yY),K.yY=NaN)}K.policy.XQ&&!l.isComplete()?NC(K.loader):K.loader.zi();var J_=FhB(l,K.policy,K.X);o_G(K,l,J_)}}}}}catch(t){aw=K.UF?1:0,K.UF=!0,l=KH(aw),aw=R2(t,aw),K.loader.handleError(aw.errorCode,\naw.details,aw.severity),l||K.loader.Lv()}},V)};\nxK=function(K,R){if(K.policy.useUmp&&R.mZ())return!1;try{var f=R.info.xW[0].RY,V=f.info.video?K.videoTrack:K.audioTrack;if(K.fQ.isManifestless&&V){K.B=0;V.T&&(R.mZ(),R.isComplete()||R.Uf(),V.T=!1);R.w2()&&K.loader.lw.DY(1,R.w2());var D=R.Td(),H=R.pz();Ya(K.fQ,D,H)}if(R.info.Cp()&&!Hf(R.info))for(var l=g.Z(R.RM()),F=l.next();!F.done;F=l.next())pgw(V,F.value);for(K.loader.getCurrentTime();V.K.length&&V.K[0].state===4;){var c=V.K.shift();b5B(V,c);V.qe=c.Pd()}V.K.length&&b5B(V,V.K[0]);var r=!!$D(V);r&&\nR instanceof sm&&(f.info.c9()?W4h(K.timing):U0c(K.timing));return r}catch(y){R=R.BM();R.origin=\"hrhs\";a:{K=K.loader;f=y;if(f instanceof Error){R.msg||(R.msg=\"\"+f.message);R.name||(R.name=\"\"+f.name);if(f instanceof g.NB&&f.args)for(V=g.Z(Object.entries(f.args)),D=V.next();!D.done;D=V.next())H=g.Z(D.value),D=H.next().value,H=H.next().value,R[\"arg\"+D]=\"\"+H;g.A$(f);if(f.level===\"WARNING\"){K.bD.Gb(R);break a}}K.handleError(\"fmt.unplayable\",R,1)}return!1}};\nS22=function(K){var R=K.videoTrack.RY.index;K.Wo=new $vD({z3:K.policy.z3,KF:K.policy.Z.KF,Vf:R.x5(),H0:function(){return R.H0()},\nP_:function(){return R.P_()}})};\nw8=function(K,R,f,V){if(!(f.Rm()||f.O8()||f.X||!qb(f.Qe,K.policy,K.X,K.loader.Nw)||f.info.P5===\"f\"||K.policy.U)){if(V){V=K.J;var D=f.info;V=KCD(V,D.video?V.policy.Nc:V.policy.jd,D.c5)}else V=0;V=f.nZ(V);K=ih(K,V);Hf(V)&&pL(R,K);f.X=!0}};\nUi=function(K,R,f,V,D,H,l,F){g.O.call(this);var c=this;this.loader=K;this.WV=R;this.videoTrack=f;this.audioTrack=V;this.fQ=D;this.UF=H;this.isAudioOnly=l;this.Z=F;this.K=Cc;this.B5=!1;this.logger=new g.vf(\"sabr\");this.EF=this.N=this.Xt=this.aY=!1;this.videoInfos=this.T=this.UF.videoInfos;this.X=this.y0=this.UF.U;this.U=new dL(R,H,function(r,y){c.loader.KQ(r,y)});\nthis.isAudioOnly&&ico(this,this.fQ.U[\"0\"])};\nv_D=function(K,R){var f=[];R=g.Z(R);for(var V=R.next();!V.done;V=R.next())f.push(g.nH(V.value,K.fQ.qY));return f};\nico=function(K,R,f){R!==K.J&&(K.J&&(K.B5=!0),K.J=R,K.Wi(R,K.videoTrack,f))};\nzC5=function(K,R){kD(K.WV)&&(K.Xt=R.reason===\"m\"||R.reason===\"l\"?!0:!1);R.reason===\"m\"?R.isLocked()&&LhB(K,R.U):wdD(K,R)?Wl(K,R.K,R.U):K.videoInfos=K.T;K.EF=!0;K.K=R};\nwdD=function(K,R){return K.WV.OQY&&R.reason===\"l\"||K.WV.Bh?!1:K.WV.vT?!0:R.reason===\"l\"||R.reason===\"b\"||R.reason===\"o\"};\nLhB=function(K,R){var f=K.U.U;if(f){K.videoInfos=K.T;var V=g.G$(K.videoInfos,function(D){return D.id===f});\nV&&V.video.qualityOrdinal===R?K.videoInfos=[V]:(V=K.videoInfos.map(function(D){return D.id}),K.loader.KQ(\"sabrpf\",{pfid:\"\"+f,\nvfids:\"\"+V.join(\".\")}),Wl(K,R,R),rL(K.U,\"\"))}else Wl(K,R,R)};\nWl=function(K,R,f){K.videoInfos=K.T;K.videoInfos=g.Im(K.videoInfos,function(V){return V.video.qualityOrdinal>=R&&V.video.qualityOrdinal<=f})};\nxvh=function(K,R,f){if(K.Z){var V=g.Im(K.X,function(D){return D.id===K.Z});\nreturn tp(V,f).includes(R)}V=g.Im(K.X,function(D){var H;return!((H=D.tV)==null||!H.isDefault)});\nreturn V.length>0?tp(V,f).includes(R):tp(K.X,f).includes(R)};\ntp=function(K,R){return K.map(function(f){return Mb(g.nH(f,R))})};\nE_h=function(K){var R;if((R=K.K)==null?0:R.isLocked())return K.videoInfos;var f=c3(K.U);R=g.Im(K.videoInfos,function(V){return V.c5>K.WV.c5?!1:!f.has(V.id)});\nqyN(K.U)&&(R=g.Im(R,function(V){return V.video.width<=854&&V.video.height<=480}));\nreturn R};\nQ3D=function(K,R,f,V){var D=K.fQ,H=K.bD.getVideoData(),l=K.Ty,F=D0o({IG:K.IG,gU:H.C(),bD:K.bD,oA:K.oA,WV:K.WV,wX:K.wX,dP:K.dP,M2:K.M2,Hs:K.Hs,bz:K.bz,ov:K.ov,CB:K.CB,sabrLicenseConstraint:H.sabrLicenseConstraint,K_:K.K_,A9:K.A9,v$:K.v$,S0:K.S0,De2:!!l,authorizedFormats:H.authorizedFormats}),c=TA(H,K.MN,K.nextRequestPolicy,K.Ai,K.O3,K.Gp,K.C0);f&&R&&(f=c.mR?c.mR.map(function(S){return S.type}):[],R(\"sabr\",{stmctxt:f.join(\"_\"),\nunsntctxt:c.yL?c.yL.join(\"_\"):\"\"}));R=K.oO;f=K.Di;if(f===void 0&&R===void 0){var r;f=abe(D.qY,(r=K.VF)==null?void 0:r.video);var y;R=abe(D.qY,(y=K.VF)==null?void 0:y.audio)}if(H.Ik)var h=H.Ik;H={KW:F,ES:K.ES,oO:R,Di:f,Ty:l,videoPlaybackUstreamerConfig:h,U_:c};V&&K.tH?K.tH.length>0&&(H.tH=K.tH):K.N4&&(H.N4=K.N4);H.QI=K.QI;H.kM=D.Ne;return H};\nabe=function(K,R){return R?[g.nH(R.info,K)]:[]};\nAp=function(K,R,f){var V=this;this.requestType=K;this.Qe=R;this.jr=f;this.K=null;this.OC={ov:function(){var D;return(D=V.data)==null?void 0:D.ov},\nO3:function(){var D;return(D=V.data)==null?void 0:D.O3},\nK_:function(){var D;return(D=V.data)==null?void 0:D.K_}}};\nx0w=function(K,R,f){R=Of(K.Qe,N65(K,R,f),R);K.wr()&&R.set(\"probe\",\"1\");return R};\nN65=function(K,R,f){K.Zq===void 0&&(K.Zq=K.Qe.Zq(R,f));return K.Zq};\nJp=function(K){var R,f;return((R=K.U)==null?void 0:(f=R.KW)==null?void 0:f.bP)||0};\nZG=function(K){var R,f;return!!((R=K.U)==null?0:(f=R.KW)==null?0:f.K_)};\nUvv=function(K){var R={},f=[],V=[];if(!K.data)return R;for(var D=0;D0;c--)f.push(F)}f.length!==l?R.error=!0:(H=f.slice(-H),f.length=D,Oc2(R,f,H));break;case 1:Oc2(R,j0,qC);break;case 0:uh(R,\nR.U&7);f=mg(R,16);D=mg(R,16);(f^D)!==65535&&(R.error=!0);R.output.set(R.data.subarray(R.K,R.K+f),R.X);R.K+=f;R.X+=f;break;default:R.error=!0}K.X>K.output.length&&(K.output=new Uint8Array(K.X*2),K.X=0,K.K=0,K.J=!1,K.U=0,K.register=0)}K.output.length!==K.X&&(K.output=K.output.subarray(0,K.X));return K.error?new Uint8Array(0):K.output};\nOc2=function(K,R,f){R=Gx(R);f=Gx(f);for(var V=K.data,D=K.output,H=K.X,l=K.register,F=K.U,c=K.K;;){if(F<15){if(c>V.length){K.error=!0;break}l|=(V[c+1]<<8)+V[c]<>=7;r<0;)r=R[(l&1)-r],l>>=1;else l>>=r&15;F-=r&15;r>>=4;if(r<256)D[H++]=r;else if(K.register=l,K.U=F,K.K=c,r>256){l=bh[r];l+=mg(K,MC[r]);c=g_G(K,f);F=YK[c];F+=mg(K,pk[c]);if(q2w&&lf.length&&(K.error=!0);K.register|=(f[V+1]<<8)+f[V]<=0)return uh(K,f&15),f>>4;for(uh(K,7);f<0;)f=R[mg(K,1)-f];return f>>4};\nmg=function(K,R){for(;K.U=K.data.length)return K.error=!0,0;K.register|=K.data[K.K++]<>=R;K.U-=R;return f};\nuh=function(K,R){K.U-=R;K.register>>=R};\nGx=function(K){for(var R=[],f=g.Z(K),V=f.next();!V.done;V=f.next())V=V.value,R[V]||(R[V]=0),R[V]++;var D=R[0]=0;f=[];var H=0;V=0;for(var l=1;l7&&(H+=R[l]);for(D=1;D>c&1;F=H<<4|l;if(l<=7)for(c=1<<7-l;c--;)V[c<>=7;l--;){V[c]||(V[c]=-R,R+=2);var r=D&1;D>>=1;c=r-V[c]}V[c]=F}}return V};\nbce=function(K){var R,f,V,D,H,l,F,c,r;return g.I(function(y){switch(y.U){case 1:if(!Meh)throw Error(\"DecompressionStream is not supported\");R=Uc.cn();f=new DecompressionStream(\"gzip\");V=f.writable.getWriter();V.write(K);V.close();D=f.readable.getReader();H=new $4([]);case 2:return g.P(y,D.read(),5);case 5:l=y.K;F=l.value;if(c=l.done){y.J5(4);break}H.append(F);y.J5(2);break;case 4:return r=rS(H),Uc.SX(\"gznb\",R,Math.ceil(r.byteLength/16)),y.return(r)}})};\nsi=function(K){I7.call(this,\"onesie\",K);this.jr=K;this.U={};this.J=!0;this.X=null;this.queue=new IS(this);this.B={}};\nCk=function(K){var R=K.queue;R.U.length&&R.U[0].isEncrypted&&!R.K&&(R.U.length=0);R=g.Z(Object.keys(K.U));for(var f=R.next();!f.done;f=R.next()){f=f.value;var V=K.U[f];if(!V.LX){var D=K.queue;D.U.push({videoId:V.videoId,formatId:f,isEncrypted:!1});D.K||Oi(D)}}};\npd5=function(K,R){var f=R.totalLength,V=!1;switch(K.X){case 0:K.mj(R,K.J).then(function(D){var H=K.jr;H.B0(\"oprr\");H.playerResponse=D;H.fu||(H.hW=!1);e0(H)},function(D){K.jr.fail(D)});\nbreak;case 2:K.B0(\"ormk\");R=rS(R);K.queue.decrypt(R);break;default:V=!0}K.jr.n8&&K.jr.KQ(\"ombup\",\"id.11;pt.\"+K.X+\";len.\"+f+(V?\";ignored.1\":\"\"));K.X=null};\nY2e=function(K,R){var f,V,D,H,l;return g.I(function(F){switch(F.U){case 1:K.jr.B0(\"oprgz_s\");if(!Meh){F.J5(2);break}g.Fp(F,3);return g.P(F,bce(R),5);case 5:return f=F.K,K.jr.B0(\"oprgz_n\"),K.jr.KQ(\"oprsgz\",{i:\"n\"}),F.return(f);case 3:V=g.yH(F),K.jr.KQ(\"gzerr\",{impl:\"native\",err:\"\"+V});case 2:if(D=K.jr.C().r4)try{var c=Uc.cn(),r=D.Tn(R),y=D,h=r!=null?r:R,S=h.byteOffset,v=h.byteLength,L=y.exports.getInflatedSize(S,v);if(L===0)throw Error(\"wasm_gz: bad input\");var E=y.malloc(L),Q=y.exports.inflateGzip(S,\nv,E);if(Q)throw y.free(E),Error(\"wasm_gz: fail\"+Q);var J=new Uint8Array(y.exports.memory.buffer,E,L);r&&D.free(r.byteOffset);var A=D.U3(J);Uc.SX(\"gzwb\",c,Math.ceil(A.byteLength/16));H=A;K.jr.B0(\"oprgz_w\");K.jr.KQ(\"oprsgz\",{i:\"w\"});return F.return(H)}catch(B){K.jr.KQ(\"gzerr\",{impl:\"wasm\",err:\"\"+B})}c=Uc.cn();r=g.j3o(new g.n_N(R));Uc.SX(\"gzjb\",c,Math.ceil(r.byteLength/16));l=r;K.jr.B0(\"oprgz_p\");K.jr.KQ(\"oprsgz\",{i:\"j\"});return F.return(l)}})};\nmvN=function(K){return new Promise(function(R){setTimeout(R,K)})};\nGjD=function(K,R){var f=K.C();f=K.nh&&f.Y(\"html5_onesie_preload_use_content_owner\");var V=K.R2;f=f===void 0?!1:f;var D=vg(R.W.experiments,\"debug_bandaid_hostname\");if(D)R=Tx(R,D);else if(f&&(V==null?0:V.url)&&!R.K){var H=hz(2,new g.wo(V.url));R=Tx(R,H)}else R=(H=R.U.get(0))==null?void 0:H.location.clone();if(R&&K.videoId){H=A1(K.videoId);K=[];if(H)for(H=g.Z(H),f=H.next();!f.done;f=H.next())K.push(f.value.toString(16).padStart(2,\"0\"));R.set(\"id\",K.join(\"\"));return R}};\nuQG=function(K,R,f){f=f===void 0?0:f;var V,D;return g.I(function(H){if(H.U==1)return V=[],V.push(R.load()),f>0&&V.push(mvN(f)),g.P(H,Promise.race(V),2);D=GjD(K,R);return H.return(D)})};\ns3B=function(K,R,f,V){V=V===void 0?!1:V;K.set(\"cpn\",R.clientPlaybackNonce);K.set(\"opr\",\"1\");var D=R.C();K.set(\"por\",\"1\");Rd()||K.set(\"onem\",\"1\");R.startSeconds>0&&K.set(\"osts\",\"\"+R.startSeconds);V||(D.Y(\"html5_onesie_disable_partial_segments\")&&K.set(\"oses\",\"1\"),R=D.Y(\"html5_gapless_onesie_no_media_bytes\")&&rQ(R)&&R.nh,f&&!R?(R=f.audio,K.set(\"pvi\",f.video.join(\",\")),D.Y(\"html5_onesie_disable_audio_bytes\")||K.set(\"pai\",R.join(\",\")),e7||K.set(\"osh\",\"1\")):(K.set(\"oad\",\"0\"),K.set(\"ovd\",\"0\"),K.set(\"oaad\",\n\"0\"),K.set(\"oavd\",\"0\")))};\nC$5=function(K,R,f,V,D){D=D===void 0?!1:D;var H=\"https://youtubei.googleapis.com/youtubei/\"+R.ND.innertubeApiVersion+\"/player\",l=[{name:\"Content-Type\",value:\"application/json\"}];V&&l.push({name:\"Authorization\",value:\"Bearer \"+V});l.push({name:\"User-Agent\",value:g.DP()});g.KI(\"EOM_VISITOR_DATA\")?l.push({name:\"X-Goog-EOM-Visitor-Id\",value:g.KI(\"EOM_VISITOR_DATA\")}):(f=f.visitorData||g.KI(\"VISITOR_DATA\"))&&l.push({name:\"X-Goog-Visitor-Id\",value:f});(f=g.KI(\"SERIALIZED_LAVA_DEVICE_CONTEXT\"))&&l.push({name:\"X-YouTube-Lava-Device-Context\",\nvalue:f});(R=vg(R.experiments,\"debug_sherlog_username\"))&&l.push({name:\"X-Youtube-Sherlog-Username\",value:R});K=z7(JSON.stringify(K));return{url:H,MU:l,postBody:K,en5:D,Dc:D}};\nKN=function(K,R,f,V,D,H,l,F,c){var r=K.r5,y=K.a8;K=K.JbD;var h=r!==void 0&&y!==void 0,S=V.getVideoData(),v,L=R.U.encryptedClientKey;R=h?R.iv:void 0;h=b8(H,!0);D=D||!!Rd()&&h>1572864;return{innertubeRequest:{ybF:K,VK:r,a8:y,encryptedClientKey:L,iv:R,aur:!0,Ry:!0,Bd:\"DecompressionStream\"in window||!D,YU0:f.experiments.rU(\"html5_use_jsonformatter_to_parse_player_response\")},KW:D0o({IG:H,gU:f,bD:V,oA:S.startSeconds*1E3}),onesieUstreamerConfig:l,Om:F,U_:TA(S),reloadPlaybackParams:(v=S.Cv)==null?void 0:\nv.reloadPlaybackParams,olF:c}};\neCh=function(K,R,f,V,D,H,l,F){var c=g.gS(K,Sw),r;if(!K.Dc)if(r=APv(R,c)){var y=r.LB;r=r.signature}else r=y=R.encrypt(c),(0,g.N7)(),r=Tgz(new kpB(R.U.X),r,R.iv);return KN(y&&r?{r5:y,a8:r}:{JbD:c},R,f,V,!!K.Dc,D,H,l,F)};\nKXc=function(K,R,f,V,D,H,l,F){var c,r,y;return g.I(function(h){if(h.U==1)return c=g.gS(K,Sw),g.P(h,tec(R,c),2);if(h.U!=3)return r=h.K,g.P(h,JPM(R,r),3);y=h.K;return h.return(KN({r5:r,a8:y},R,f,V,!!K.Dc,D,H,l,F))})};\nRPz=function(K,R,f,V,D,H,l,F){var c=g.gS(K,Sw);if(c=APv(R,c))return KN({r5:c.LB,a8:c.signature},R,f,V,!!K.Dc,D,H,l,F)};\nfN=function(K,R,f){g.O.call(this);var V=this;this.bD=K;this.playerRequest=R;this.IG=f;this.logger=new g.vf(\"onesie\");this.fR=[];this.xhr=null;this.state=1;this.yA=new y9;this.rH=!1;this.playerResponse=\"\";this.hQ=new Lt(this);this.im=new si(this);this.Rd=\"\";this.EV=this.RU=!1;this.d_=\"\";this.enableCompression=this.fu=this.jA=!1;this.uc=[];this.XH=-1;this.X6=0;this.W=this.bD.C();this.videoData=this.bD.getVideoData();this.n8=this.W.oG();this.f1=this.W.nh;this.Ym=new Bl(this.f1.U);this.Ar=this.W.Y(\"html5_onesie_check_timeout\");\nthis.Si=new g.CW(this.eW,500,this);this.oz=new g.CW(this.u0,1E4,this);this.I2=new g.CW(function(){if(!V.isComplete()){var D=RN(V);V.fail(new g.e$(\"net.timeout\",D))}},1E3);\nthis.Mq=new g.CW(this.JVF,2E3,this);this.A1=this.bD.w7();this.hW=this.Y(\"html5_onesie_wait_for_media_availability\");g.q(this.videoData,this);g.q(this,this.Si);g.q(this,this.oz);g.q(this,this.Mq);K=wV();e7&&K&&(this.bL=new Map);this.Hd=new Map;this.tU=new Map;this.Qu=new Map;this.zH=new Map};\ng8=function(K,R){var f;return(f=K.bL)==null?void 0:f.get(R)};\nV7e=function(K,R,f){var V;return g.I(function(D){if(D.U==1)return K.B0(\"oprd_s\"),fNv(K)?g.P(D,Zco(K.Ym,R,f),3):(V=K.Ym.decrypt(R,f),D.J5(2));D.U!=2&&(V=D.K);K.B0(\"oprd_c\");return D.return(V)})};\nDW2=function(K){return K.Y(\"html5_onesie_host_probing\")||K.n8?e7:!1};\ne0=function(K){if(!K.playerResponse)return!1;if(K.jA)return!0;var R=K.videoData.Y(\"html5_onesie_audio_only_playback\")&&yx(K.videoData);if(K.bL&&K.hW){if(!K.bL.has(K.Rd))return!1;var f=K.bL.get(K.Rd),V;if(V=f){V=!1;for(var D=g.Z(f.Ti.keys()),H=D.next();!H.done;H=D.next())if(H=f.Ti.get(H.value))for(var l=g.Z(H.c$),F=l.next();!F.done;F=l.next())F.value.PA>0&&(H.c9?V=!0:R=!0);V=!(R&&V)}if(V)return!1}K.B0(\"ofr\");K.yA.resolve(K.playerResponse);if(!K.Ar){var c;(c=K.I2)==null||c.start();K.oz.start()}return K.jA=\n!0};\n$WD=function(K){if(K.bL&&!K.Y(\"html5_onesie_media_capabilities\")){K.B0(\"ogsf_s\");var R=C2D(K.bD.getVideoData(),function(V,D){K.KQ(V,D)}),f=HZG(K.bD);\nR.video=qfe(f,R.video);K.B0(\"ogsf_c\");if(R.video.length)return R;K.KQ(\"ombspf\",\"l.\"+f.K+\";u.\"+f.U+\";o.\"+f.X+\";r.\"+f.reason)}};\nfNv=function(K,R){return K.Y(\"html5_onesie_sync_request_encryption\")||(R==null?0:R.Dc)||g.Hd(K.W)&&K.Y(\"html5_embed_onesie_use_sync_encryption\")?!1:!!Rd()};\nRN=function(K){if(!K.v0)return{};var R=K.v0.f_(),f;R.d=(f=K.v0.y0)==null?void 0:f.PB();R.shost=K.Xd;R.ty=\"o\";return R};\nlN_=function(K,R){var f,V;(V=(K=(f=K.bL)==null?void 0:f.get(R))==null)||(R=K.X?!1:K.X=!0,V=!R);return!V};\nVr=function(K,R,f,V,D,H,l,F,c,r,y,h){g.O.call(this);var S=this;this.bD=K;this.loader=R;this.policy=f;this.audioTrack=V;this.videoTrack=D;this.fQ=H;this.IG=l;this.v5=F;this.K=c;this.timing=r;this.UF=y;this.aY=h;this.U=[];this.J={};this.oY=this.OF=!1;this.EF=this.kW=this.bz=0;this.er={D5:0,EY:0};this.Za={D5:0,EY:0};this.BK=null;this.B5={QI:[],ES:[]};this.y0={QI:[],ES:[]};this.T=null;this.B=[];this.Ne=!1;this.OC={G$0:function(){return S.U},\nFzU:function(){return S.J},\nC9D:function(){S.U.length=0},\nQFF:function(){return S.videoData.qe},\nEr5:function(){return S.EF},\npP0:function(v){S.EF=v},\nU2e:function(v){S.er.EY=v},\nDE:function(v){S.T=v},\nWw:function(v){S.B=v},\nLG:function(){return S.LG()}};\nthis.videoData=this.bD.getVideoData();this.N=this.videoData.latencyClass===\"LOW\"?this.policy.cJ:this.videoData.latencyClass===\"ULTRALOW\"?this.policy.NJ:this.policy.sY;this.policy.HR&&(this.Xt=new ym(this.loader,this.policy,this.IG),g.q(this,this.Xt))};\ncN2=function(K,R){if(dWM(K)){R=FXv(K,R);K.U.push(R);var f;(f=K.Xt)==null||hp(f,K.fQ.EF);K.N>0&&K.er.EY++}};\nFXv=function(K,R){K.policy.N&&K.loader.KQ(\"sabrcrq\",{create:1});var f=new Ap(0,K.fQ.EF,K);K.K.EF=!1;return rN_(K,f,R)};\nDf=function(K){var R,f=K.policy.B&&((R=K.loader)==null?void 0:R.tT());R=K.loader.getCurrentTime()||0;R=yNh(K,R);if(K.policy.YL&&K.loader.isSeeking()){var V=uz(K.videoTrack,R);K.loader.KQ(\"asmtfnctv\",{b:R,a:V});isNaN(V)||(R=V)}V=K.loader.jy()||0;R+=V;V=TW(K.videoData)||g.ks(K.videoData);var D=0;f?(V&&(D=Number.MAX_SAFE_INTEGER),K.videoData.eQ&&(D=Math.ceil(K.videoData.Jx*1E3))):D=Math.ceil(R*1E3);return Math.min(Number.MAX_SAFE_INTEGER,D)};\nHo=function(K){return K.policy.r4&&!!K.T};\nyNh=function(K,R){if(K.loader.isSeeking())return R;var f=K.bD.CL();if(!f)return R;f=f.A$();if(f.length===0||pH(f,R))return R;if(!K.videoTrack.Rw(R)&&!K.audioTrack.Rw(R))return K.loader.KQ(\"sundrn\",{b:0,lt:R}),R;for(var V=R,D=Infinity,H=0;HR)){var l=R-f.end(H);l=20)?(K.loader.handleError(\"player.exception\",{reason:\"bufferunderrunexceedslimit\"}),R):V};\nlq=function(K,R,f){K=K.loader.jy()||0;return $3(R,(f+K)*1E3)/1E3+f};\ndWM=function(K){if(!hPN(K,K.er)||DG(K.audioTrack)&&DG(K.videoTrack))return!1;if(K.policy.K)if(K.policy.T){var R;if((R=K.aY)==null)var f=0;else{f=!1;R=g.Z(R.U.entries());for(var V=R.next();!V.done;V=R.next())if(V=g.Z(V.value),V.next(),V=V.next().value,V.event!==\"predictStart\"&&V.Ts===5){var D=void 0,H=void 0;((D=V)==null?0:D.qg)&&Date.now()-((H=V)==null?NaN:H.qg)>1E4?V.Ts=1:f=!0}}if(f)return!1}else if(f=!1,K.UF.K===2?f=!0:K.UF.K===3&&(Df(K),K.loader.jy(),D=mi(K.audioTrack,K.loader.isSeeking()).QI,\nR=mi(K.videoTrack,K.loader.isSeeking()).QI,V=K.loader.getCurrentTime()||0,D=lq(K,D,V),R=lq(K,R,V),R=Math.min(D,R),V=K.UF,R>=V.X?(V.KQ(\"sdai\",{haltrq:R,est:V.X}),R=!0):R=!1,R&&(f=!0)),f&&K.policy.N&&K.loader.KQ(\"sabrcrq\",{waitad:1}),f)return!1;K.policy.xN&&(K.B5=dx(K,K.audioTrack),K.y0=dx(K,K.videoTrack));if(!K.X)return K.policy.N&&K.loader.KQ(\"sabrcrq\",{nopolicy:1}),!0;if(K.bD.UB())return K.policy.N&&K.loader.KQ(\"sabrcrq\",{utc:1}),!0;if(K.K.N)return K.policy.N&&K.loader.KQ(\"sabrcrq\",{audio:1}),!0;\nif(K.policy.cP&&K.K.EF)return K.policy.N&&K.loader.KQ(\"sabrcrq\",{constraint:1}),!0;if(!K.X.targetAudioReadaheadMs||!K.X.targetVideoReadaheadMs)return K.policy.N&&K.loader.KQ(\"sabrcrq\",{noreadahead:1}),!0;if(K.policy.B&&K.loader.tT())return K.policy.N&&K.loader.KQ(\"sabrcrq\",{seekToHead:1}),!0;f=Math.min(R7(K.loader,K.audioTrack)*1E3,K.X.targetAudioReadaheadMs);R=Math.min(R7(K.loader,K.videoTrack)*1E3,K.X.targetVideoReadaheadMs);var l=Math.min(f,R),F=K.bD.getCurrentTime()*1E3,c=osz(K,F);V=c.iI;D=c.Kz;\nH=c.SD;c=c.KY;var r=VR||V>=0&&D.bZ>V+1)break;f=Math.max(f,D.startTimeMs+D.durationMs);V=Math.max(V,D.SH)}return Math.max(0,f-R)};\nrN_=function(K,R,f){var V={IG:K.IG,Mw:function(c,r){K.bD.Ki(c,r)},\nCp:K.policy.JE,lV:K.policy.X};K.IG.K.T&&(V.z8=(K.videoTrack.RY.info.c5||0)+(K.audioTrack.RY.info.c5||0));K.policy.oo&&(V.Vf=K.audioTrack.RY.index.x5(),V.Cp=!1);var D=N65(R,K.policy,K.J)?2:1;D!==K.EF&&(K.EF=D,iZ_(K));f=K.LG(f);if(K.policy.UF&&K.policy.X&&f.Ai){for(var H=D=\"\",l=g.Z(f.Ai),F=l.next();!F.done;F=l.next())F=F.value,K.videoData.sabrContextUpdates.has(F)||K.policy.UF&&f.Gp&&f.Gp.type===F?D+=\"_\"+F:H+=\"_\"+F;K.loader.KQ(\"sabrbldrqs\",{ctxts:D,misctxts:H})}!R.setData(f,K.policy,K.J)&&K.policy.UF&&\nK.loader.handleError(\"player.exception\",{reason:\"buildsabrrequestdatafailed\"},1);V=new uC(K.policy,R,K.fQ,K.J,K,V,K.loader.w7());sF(K.timing);K.policy.N&&K.loader.KQ(\"sabrcrq\",{rn:V.qD(),probe:R.wr()});return V};\nrx=function(K,R){if(R.mZ()||K.mZ())K.policy.G9||(K.policy.B?F9(K.loader):K.loader.zi());else{if(K.policy.X&&R.isComplete()&&R instanceof uC){var f=K.loader,V=f.KQ,D,H,l=Object.assign(R.v0.f_(),{rst:R.state,strm:R.xhr.dV(),d:(D=R.v0.y0)==null?void 0:D.PB(),cncl:R.xhr&&R.VI.B?1:0,rqb:R.aS,cwt:R.VI.X,swt:(H=R.aP)==null?void 0:H.gK});D=Object.assign(Uvv(R.info),l);V.call(f,\"rqs\",D)}if(R.isComplete()&&R.wr()&&R instanceof uC)K.policy.vK?R.qP()?(R.dispose(),K.U.length===0?K.loader.zi():(K=K.U[0],K instanceof\nuC&&K.c8()&&K.l6())):R.Fp()&&K.loader.handleError(R.jH(),R.BM()):(R.dispose(),K.loader.zi());else{if(R.h_())R instanceof uC&&t9G(K.timing,R),iZ_(K),co(K);else if(R.Fp())if(f=K.bD.UB(),R instanceof uC&&ZG(R.info)&&f&&K.loader.rM(f),R instanceof uC&&Q5o(R)){var F;(F=K.loader.Q3)==null||EJ(F)}else R instanceof fN?K.U.pop():(F=1,R.canRetry()&&Ei(K.loader)&&(vsN(K,R),F=0),K.loader.handleError(R.jH(),R.BM(),F));else{if(K.loader.isSuspended&&!R.isComplete())return;co(K)}R.mZ()||R instanceof fN||(R.isComplete()?\nF=FhB(R,K.policy,K.J):(F=dvB(R,K.policy,K.J),F===1&&(K.OF=!0)),F!==0&&(f=new Ap(1,R.info.Qe),f.Zq=F===2,rN_(K,f)));K.policy.XQ&&!R.isComplete()?NC(K.loader):K.loader.zi()}}};\nco=function(K){for(;K.U.length&&K.U[0].ZQ(K.Vt());){var R=K.U.shift();LXo(K,R)}K.U.length&&LXo(K,K.U[0])};\nLXo=function(K,R){R instanceof uC&&(K.G2=R);var f=new Set(R.po(K.Vt()));f=g.Z(f);for(var V=f.next();!V.done;V=f.next()){var D=V.value;if(!(V=!(R instanceof fN))){V=K.K;var H=V.fQ.qY,l=tp(V.videoInfos,H);H=xvh(V,D,H);var F=l.includes(D);!V.WV.Aq||H||F||V.loader.KQ(\"sabrcpf\",{fid:\"\"+D,vfids:\"\"+l.join(\".\"),said:V.Z||\"\"});V=H||l.includes(D)}if(V&&(V=R.b5(D,K.Vt()),l=K.policy.r4&&Ov(V[0].RY.info.mimeType),R.Uf(D,K.Vt())))for(D=R.RM(D,K.Vt()),D=g.Z(D),H=D.next();!H.done;H=D.next())if(H=H.value,K.policy.X&&\nR instanceof fN&&K.loader.KQ(\"omblss\",{s:H.info.yI()}),l)F=K.timing,F.UF||(F.UF=(0,g.N7)(),g.tL(\"fcb_r\",F.UF,F.U)),F=K,F.videoData.qY()&&F.T&&Mb(F.T)===Mb(g.nH(H.info.RY.info,F.fQ.qY))&&F.bD.publish(\"sabrCaptionsDataLoaded\",H,F.Ww.bind(F));else{F=H.info.RY.info.c9();var c=H.info.RY;if(F){var r=void 0;var y=K.K,h=(r=R.jt(K.Vt()))==null?void 0:r.token;y.N&&c!==y.B?r=!0:(y.N=!1,c!==y.B&&(y.B=c,y.Wi(c,y.audioTrack,h)),r=!1);if(r)continue}else r=void 0,ico(K.K,c,(r=R.jt(K.Vt()))==null?void 0:r.token);\nr=F?K.audioTrack:K.videoTrack;R instanceof fN&&(r.T=!1,R instanceof fN&&(F?W4h(K.timing):U0c(K.timing)));try{YR(r,V,H)}catch(S){H=R2(S),K.loader.handleError(H.errorCode,H.details,H.severity),r.Lv(),K.OP(!1,\"pushSlice\"),F9(K.loader)}}}};\nvsN=function(K,R){K.policy.UF?K.U.splice(K.U.indexOf(R)).forEach(function(f){f.dispose()}):(K.U.pop(),R==null||R.dispose())};\nwDB=function(K,R,f){for(var V=[],D=0;D0)for(var R=g.Z(K.videoData.sabrContextUpdates.keys()),f=R.next();!f.done;f=R.next()){f=f.value;var V=void 0;((V=K.videoData.sabrContextUpdates.get(f))==null?0:V.sendByDefault)&&K.videoData.qe.add(f)}if(K.policy.UF&&K.U.length)for(R=g.Z(K.U),f=R.next();!f.done;f=R.next())(f=f.value.Hr())&&f.type&&f.sendByDefault&&K.videoData.qe.add(f.type)};\nzPh=function(K){K.policy.aQ&&(K.qe=void 0,K.bz=0)};\nxWB=function(K,R){if(R.Fp()||R.mZ()){var f=K.loader,V=f.KQ,D=R.state;K=K.Vt();var H,l;if((R=(H=R.bL)==null?void 0:H.get(K))==null)R=void 0;else{H=0;K=R.po();for(var F=0;F0){var f=Math.floor((0,g.N7)()/1E4);if(f===R.D5){if(R.EY>=K.N){R.EY===K.N&&(f={reason:\"toomanyrequests\"},f.limit=R.EY,K.loader.handleError(\"player.exception\",f),R.EY+=1);R=!1;break a}}else R.D5=f,R.EY=0}R=!0}if(!R||K.loader.isSuspended&&K.loader.jN)return!1;if(K.Z&&(0,g.N7)()0)||K.policy.UF&&K.U.length===1&&K.U[0].Ox()?!0:!1){var V;R=(V=K.fQ.EF)!=null&&qb(V,K.policy,K.J,K.loader.Nw)?!0:!1}return R&&!K.Ne?!0:!1};\nosz=function(K,R){var f=Esc(K),V=f.SD;f=f.KY;if(K.policy.xN){var D=$3(K.B5.QI,R);K=$3(K.y0.QI,R)}else D=V,K=f;return{iI:D,Kz:K,SD:V,KY:f}};\nEsc=function(K){var R=Kk(K.audioTrack,!0)*1E3;K=Kk(K.videoTrack,!0)*1E3;return{SD:R,KY:K}};\naNc=function(K){this.bD=K;this.U=new Map;this.delay=null};\nyr=function(K,R){if(EG(K.bD.getPlayerState())&&K.U.size!==0){var f=R!=null?R:Array.from(K.U.values()).sort(function(D,H){return D.mediaTime-H.mediaTime});\nR=K.getCurrentTime();var V=(f[0].mediaTime-R)*1E3/K.bD.getPlaybackRate();if(V<500)for(R=V>0?QUc(K):R,f=g.Z(f),V=f.next();!V.done;V=f.next())if(V=V.value,R>=V.mediaTime)V.resolve([V.mediaTime,V.id]),K.U.delete(V.id);else break;NQz(K,R)}};\nUWG=function(K,R,f){K.U.delete(f);return new Promise(function(V){K.U.set(f,{id:f,mediaTime:R,resolve:V});V=Array.from(K.U.values()).sort(function(D,H){return D.mediaTime-H.mediaTime});\nf===V[0].id&&yr(K,V)})};\nWXG=function(K){var R;(R=K.delay)==null||R.dispose();K.U.clear()};\nNQz=function(K,R){var f;(f=K.delay)==null||f.dispose();K.delay=null;f=Array.from(K.U.values()).sort(function(V,D){return V.mediaTime-D.mediaTime});\nf.length!==0&&(R=(f[0].mediaTime-R)*1E3/K.bD.getPlaybackRate(),K.delay=new g.CW(function(){yr(K)},R>500?R-500:R),K.delay.start())};\nQUc=function(K){var R,f;return(f=(R=K.bD.CL())==null?void 0:R.getCurrentTime())!=null?f:K.bD.getCurrentTime()};\nhT=function(K,R,f){var V=this;this.X=K;this.cpn=R;this.bD=f;this.U=new Map;this.K=new Map;this.T=NaN;this.N=!1;this.J=this.iL=\"\";this.isSeeking=!1;this.B=new aNc(f);this.zA=f.zA;this.bD.subscribe(\"statechange\",this.Z,this);this.bD.subscribe(\"SEEK_TO\",function(){V.mS()});\nthis.bD.subscribe(\"SEEK_COMPLETE\",function(){t7e(V)});\nthis.iL=this.J=this.cpn};\nJN_=function(K,R,f){var V=!0;V=V===void 0?!1:V;var D=K.U.get(R),H=K.X.getStartTime(R),l=K.X.getDuration(R);K.N=!1;var F=H,c;((c=D==null?void 0:D.U)!=null?c:[K.cpn]).forEach(function(r,y){var h,S=(h=D==null?void 0:D.K[y])!=null?h:l;if(f>=F&&fD?oN(K,H,K.U.get(H)):H===D&&oN(K,H,K.U.get(H),V-K.X.getStartTime(H))})};\nANw=function(K,R,f,V){V=V===void 0?!1:V;R!==K.iL&&(K.iL=R,K.bD.publish(\"playbackstarted\",R,f+K.bD.jy(),V))};\nBQ5=function(K,R,f,V){K.J=f;f=R+\".\"+f;K.K.has(R)?K.K.get(R).push(f):K.K.set(R,[f]);UWG(K.B,V,f).then(function(D){var H=g.Z(D);D=H.next().value;H=H.next().value;var l=g.Z(H.split(\".\"));H=l.next().value;l=l.next().value;H=g.Z([Number(H),l]);H.next();H=H.next().value;ANw(K,H,D)})};\nSG=function(K,R,f,V,D){this.loader=K;this.policy=R;this.schedule=f;this.o6=V;this.EF=D;this.UF=NaN;this.K=this.N=this.J=null;this.U=this.B=this.T=this.startTimeSecs=NaN;this.X=!1;this.Z=NaN};\nXDB=function(K,R,f,V,D,H){return R.Dq&&R.bd&&f===3?new SG(K,R,V,D,H):null};\nkWD=function(K,R){if(K.policy.DYU){var f=R.info.c5,V=b8(K.schedule);R=R.index.x5();f=Math.max(1,V/f);K.Z=Math.round(Math.max(((f-1)*R+K.policy.M1)/f,R-K.policy.DT)*1E3)}};\nns2=function(K,R){var f=Date.now()/1E3,V=f-K.startTimeSecs,D=f-K.T,H=D>=K.policy.o4,l=!1;if(H){var F=0;!isNaN(R)&&R>K.B&&(F=R-K.B,K.B=R);F/D=K.policy.DT&&!K.X;if(!H&&!f&&TQM(K,R))return NaN;f&&(K.X=!0);a:{V=l;f=(0,g.N7)()/1E3-(K.o6.jI()||0)-K.N.U-K.policy.M1;H=K.K.startTime;f=H+f;if(V){if(isNaN(R)){iq(K,NaN,\"n\",R);H=NaN;break a}V=R-K.policy.sf;V0&&(l.headers=F);H&&(l.onFinish=H);return Object.keys(l).length>1?l:null};\nwx=function(K,R,f,V,D,H,l,F){hm()&&f.token&&(K=cS(K,{ctt:f.token,cttype:f.kp,mdx_environment:f.mdxEnvironment}));V.Y(\"net_pings_low_priority\")&&(R||(R={}),R.priority=\"low\");H||F&&V.Y(\"nwl_skip_retry\")?(R==null?R={}:M7B(K,V.Y(\"html5_assert_cpn_with_regex\")),l?Y6().sendAndWrite(K,R):Y6().sendThenWrite(K,R,F)):R?(M7B(K,V.Y(\"html5_assert_cpn_with_regex\")),BCD(K,R)):g.PY(K,D)};\nbZ5=function(K){for(var R=[],f=0;f0&&f>0&&!K.K&&K.X<1E7)try{K.J=K.B({sampleInterval:R,maxBufferSize:f});var V;(V=K.J)==null||V.addEventListener(\"samplebufferfull\",function(){return g.I(function(D){if(D.U==1)return g.P(D,K.stop(),2);mWN(K);g.lE(D)})})}catch(D){K.K=Yto(D.message)}};\nx3=function(K,R){var f,V,D=(f=window.h5vcc)==null?void 0:(V=f.settings)==null?void 0:V.set(K,R);return q3(D)?ml(M3(D),function(){return!0},function(){return!1}):M3(!!D)};\nGW2=function(K){return x3(\"SetPreferMinimalPostProcessing\",K?1:0)};\nuBz=function(K){return x3(\"MediaSource.EnableUsingMediaSourceBufferedRange\",K?1:0)};\nsUe=function(K){return x3(\"HTTP3\",K?1:0)};\nCv_=function(K){return x3(\"MediaSource.EnableUsingMediaSourceAttachmentMethods\",K?1:0)};\nePB=function(K){return x3(\"QUIC\",K?1:0)};\nKKB=function(K){return x3(\"Media.AudioWriteDurationLocal\",K)};\nRcz=function(K){return x3(\"Media.PlayerConfiguration.DecodeToTexturePreferred\",K?1:0)};\nfk5=function(K){return x3(\"Media.DisableExternalAllocator\",K?1:0)};\nDyz=function(){var K,R,f,V=(K=window.h5vcc)==null?void 0:(R=K.settings)==null?void 0:(f=R.getPersistentSettingAsString)==null?void 0:f.call(R,\"cpu_usage_tracker_intervals\");if(V!=null){var D;K=(D=JSON.parse(V))!=null?D:[];D=K.filter(function(r){return r.type===\"total\"}).map(function(r){return r.seconds});\nR=g.Z(VM_);for(f=R.next();!f.done;f=R.next())f=f.value,D.indexOf(f)===-1&&K.push({type:\"total\",seconds:f});var H,l;(H=window.h5vcc)==null||(l=H.settings)==null||l.set(\"cpu_usage_tracker_intervals_enabled\",1);var F,c;(F=window.h5vcc)==null||(c=F.settings)==null||c.set(\"cpu_usage_tracker_intervals\",JSON.stringify(K))}};\nHlw=function(){var K=window.H5vccPlatformService,R=\"\";if(K&&K.has(\"dev.cobalt.coat.clientloginfo\")&&(K=K.open(\"dev.cobalt.coat.clientloginfo\",function(){}))){var f=K.send(new ArrayBuffer(0));\nf&&(R=String.fromCharCode.apply(String,g.X(new Uint8Array(f))));K.close()}return R};\ng.Qr=function(K){g.O.call(this);var R=this;this.provider=K;this.logger=new g.vf(\"qoe\");this.U=new Map;this.sequenceNumber=1;this.aY=NaN;this.NW=\"N\";this.Z=this.GZ=this.tB=this.UF=this.K=0;this.nh=this.qe=this.T=this.oY=\"\";this.vK=this.G2=NaN;this.XQ=0;this.M1=-1;this.aQ=1;this.playTimeSecs=this.rebufferTimeSecs=0;this.bd=this.isEmbargoed=this.y0=this.isOffline=this.isBuffering=!1;this.r4=[];this.EF=null;this.pQ=this.J=this.v5=this.B5=this.N=!1;this.X=-1;this.kW=!1;this.Dk=new g.CW(this.zl,750,this);\nthis.gG=this.adCpn=\"\";this.xm=this.sW=this.wG=this.R6=this.adFormat=void 0;this.qW=0;this.OF=new Set(\"cl fexp drm drm_system drm_product ns el adformat live cat shbpslc\".split(\" \"));this.MW=new Set([\"gd\",\"pw\",\"gp\",\"gm\",\"dd\"]);this.serializedHouseBrandPlayerServiceLoggingContext=\"\";this.Kh=!1;this.Ch=NaN;this.er=0;this.hV=!1;this.remoteConnectedDevices=[];this.remoteControlMode=void 0;this.Gt=!1;this.FQ=new Set;this.OC={Ee:function(H){R.Ee(H)},\nXtr:function(){return R.B},\nreportStats:function(){R.reportStats()},\nLze:function(){return R.U.get(\"cat\")||[]},\nf$:function(H){return R.U.get(H)||[]},\ndVZ:function(){return R.U},\nG9F:function(){return{adCpn:R.adCpn,gG:R.gG,adFormat:R.adFormat}},\nt8t:function(){return{R6:R.R6,wG:R.wG,sW:R.sW,xm:R.xm}}};\nthis.Xt=this.provider.W.Y(\"html5_qoe_relaxed_reporting\");var f=g.mz(this.provider.W.experiments,\"html5_qoe_proto_mock_length\");f&&!E6.length&&(E6=bZ5(f));g.q(this,this.Dk);try{var V,D;(D=(V=navigator).getBattery)==null||D.call(V).then(function(H){R.EF=H})}catch(H){}g.aN(this,0,\"vps\",[\"N\"]);\nK.W.oG()&&(this.er=(0,g.N7)(),this.Ch=g.xA(function(){var H=(0,g.N7)(),l=H-R.er;l>500&&R.KQ(\"vmlock\",{diff:l.toFixed()});R.er=H},250));\nthis.provider.videoData.cR&&(this.remoteControlMode=$ye[this.provider.videoData.cR]||0);this.provider.videoData.sT&&(f=iQv(this.provider.videoData.sT),f==null?0:f.length)&&(this.remoteConnectedDevices=f);K.W.oG()&&(this.Za=new vo,g.q(this,this.Za));M3_(K.W)&&(this.Ne=new zR,g.q(this,this.Ne))};\nNj=function(K,R,f){var V=K.U.get(R);V?V.push(f):K.U.set(R,[f])};\ng.aN=function(K,R,f,V){Nj(K,f,R.toFixed(3)+\":\"+V.join(\":\"))};\nU6=function(K,R){var f=K.provider.getCurrentTime();g.aN(K,R,\"cmt\",[f.toFixed(3)]);var V=f=K.provider.Xg();if((!K.B||K.provider.W.Y(\"html5_shorts_gapless_no_gllat\")&&rQ(K.provider.videoData)?0:V*1E3>K.B.Gw+100)&&K.B){var D=K.B;V=D.isAd;f=f*1E3-D.Gw;K.Pu=R*1E3-D.WYt-f-D.NDZ;D=(0,g.N7)()-f;R=K.Pu;f=K.provider.videoData;var H=f.isAd();if(V||H){H=(V?\"ad\":\"video\")+\"_to_\"+(H?\"ad\":\"video\");var l={};f.T&&(l.cttAuthInfo={token:f.T,videoId:f.videoId});l.startTime=D-R;t2(H,l);g.WV({targetVideoId:f.videoId,targetCpn:f.clientPlaybackNonce},\nH);Uz(\"pbs\",D,H)}else D=K.provider.bD.MH(),D.T!==f.clientPlaybackNonce?(D.B=f.clientPlaybackNonce,D.K=R):f.mO()||g.A$(new g.NB(\"CSI timing logged before gllat\",{cpn:f.clientPlaybackNonce}));K.KQ(\"gllat\",{l:K.Pu.toFixed(),prev_ad:+V});delete K.B}};\nAT=function(K,R){R=R===void 0?NaN:R;R=R>=0?R:g.Wo(K.provider);var f=K.provider.bD.Fy(),V=f.Qd-(K.G2||0);V>0&&g.aN(K,R,\"bwm\",[V,(f.HP-(K.vK||0)).toFixed(3)]);isNaN(K.G2)&&f.Qd&&K.isOffline&&K.Ee(!1);K.G2=f.Qd;K.vK=f.HP;isNaN(f.bandwidthEstimate)||g.aN(K,R,\"bwe\",[f.bandwidthEstimate.toFixed(0)]);K.provider.W.oG()&&Object.keys(f.U).length!==0&&K.KQ(\"bwinfo\",f.U);if(K.provider.W.oG()||K.provider.W.Y(\"html5_log_meminfo\"))V=INe(),Object.values(V).some(function(H){return H!==void 0})&&K.KQ(\"meminfo\",V);\nif(K.provider.W.oG()){var D;(V=(D=K.Za)==null?void 0:OZN(D))&&Object.values(V).some(function(H){return H!=null})&&K.KQ(\"cpuinfo\",V)}K.Ne&&K.KQ(\"jsprof\",K.Ne.flush());\nK.EF&&g.aN(K,R,\"bat\",[K.EF.level,K.EF.charging?\"1\":\"0\"]);D=K.provider.bD.getVisibilityState();K.M1!==D&&(g.aN(K,R,\"vis\",[D]),K.M1=D);U6(K,R);(D=lkv(K.provider))&&D!==K.XQ&&(g.aN(K,R,\"conn\",[D]),K.XQ=D);tT(K,R,f)};\ndyB=function(K){var R=K.provider.bD.Fy(),f=g.Wo(K.provider);tT(K,f,R);var V=R.X;R=R.J;isNaN(V)||(K.provider.W.Y(\"html5_unified_live_latency_reporting\")&&!isNaN(R)&&R?g.aN(K,f,\"e2el\",[V.toFixed(3),R.toFixed(3)]):g.aN(K,f,\"e2el\",[V.toFixed(3)]))};\ntT=function(K,R,f){if(!isNaN(f.B_)){var V=f.B_;f.K96E3&&(new g.CW(K.reportStats,0,K)).start()}};\nrXw=function(K){K.provider.videoData.nh&&Zf(K,\"prefetch\");K.provider.videoData.Ne&&K.KQ(\"reload\",{r:K.provider.videoData.reloadReason,ct:K.provider.videoData.Ne});K.provider.videoData.Rp&&Zf(K,\"monitor\");K.provider.videoData.isLivePlayback&&Zf(K,\"live\");e7&&Zf(K,\"streaming\");K.provider.videoData.cR&&K.KQ(\"ctrl\",{mode:K.provider.videoData.cR},!0);if(K.provider.videoData.sT){var R=K.provider.videoData.sT.replace(/,/g,\"_\");K.KQ(\"ytp\",{type:R},!0)}K.provider.videoData.Jv&&(R=K.provider.videoData.Jv.replace(/,/g,\n\".\"),K.KQ(\"ytrexp\",{ids:R},!0));R=K.provider.videoData;var f=K.provider.W.Y(\"enable_white_noise\")||K.provider.W.Y(\"enable_webgl_noop\"),V=g.Qx(R)||g.PD(R)||g.nZ(R)||g.IU(R);(f||V)&&(f=(0,g.Bo)())&&K.U.set(\"gpu\",[f]);uv(K.provider.videoData)&&g.aN(K,g.Wo(K.provider),\"dt\",[\"1\"]);R.cotn&&!uv(R)&&K.Ee(!0);K.provider.W.oG()&&(R=(0,g.N7)()-K.provider.W.xN,K.KQ(\"playerage\",{secs:Math.pow(1.6,Math.round(Math.log(R/1E3)/Math.log(1.6))).toFixed()}));K.J=!0;K.aY=g.xA(function(){K.reportStats()},1E4)};\nhc2=function(K,R,f){var V=g.Wo(K.provider);yXM(K,V,R,0,f);AT(K,V);JT(K)};\nyXM=function(K,R,f,V,D){var H=K.provider.W.U.cbrver;K.provider.W.U.cbr===\"Chrome\"&&/^96[.]/.test(H)&&f===\"net.badstatus\"&&/rc\\.500/.test(D)&&X9(K,3);K.provider.W.Y(\"html5_use_ump\")&&/b248180278/.test(D)&&X9(K,4);H=K.provider.getCurrentTime();V=V===1?\"fatal\":\"\";f=[f,V,H.toFixed(3)];V&&(D+=\";a6s.\"+C$());D&&f.push(ob_(D));g.aN(K,R,\"error\",f);K.J=!0};\nSDe=function(K,R){var f=g.Wo(K.provider);if(!K.provider.W.experiments.rU(\"html5_refactor_sabr_video_format_selection_logging\")||R.U.id!==K.oY){var V=[R.U.id,R.K,K.oY,R.reason];g.BI(K.provider.W.ph())&&!K.B5&&V.push(k3(K,R));R.token&&V.push(R.token);g.aN(K,f,\"vfs\",V);K.oY=R.U.id;V=K.provider.bD.getPlayerSize();if(V.width>0&&V.height>0){V=[Math.round(V.width),Math.round(V.height)];var D=g.R3();D>1&&V.push(D);g.aN(K,f,\"view\",V)}K.B5||(K.provider.W.oG()&&Zf(K,\"rqs2\"),K.provider.videoData.U&&I0(K.provider.videoData.U)&&\nK.U.set(\"preload\",[\"1\"]));K.B5=!0;K.J=!0}R.reason===\"m\"&&++K.qW===100&&X9(K,2);g.aN(K,f,\"vps\",[K.NW]);K.Xt||K.reportStats(f)};\nilz=function(K){K.X>=0||(K.provider.W.MR||K.provider.bD.getVisibilityState()!==3?K.X=g.Wo(K.provider):K.kW=!0)};\nwmo=function(K,R,f){var V=K.provider.W,D=V.ph(),H=D.U.aG(vbz),l=[];V.experiments.rU(\"html5_refactor_sabr_audio_format_selection_logging\")?(R=f.U,V=[R.audio&&R.video?R.jY?R.jY:\"\":R.id],R.tV&&R.tV.id&&V.push(R.tV.id),R=V.join(\";\"),R!==K.T&&(V=[R,K.T,f.reason],H&&l.push.apply(l,g.X(LKh(f))),g.BI(D)&&f.reason===\"i\"&&(H?l.push(k3(K,f)):V.push(k3(K,f))),H&&l.length>0&&V.push(l.join(\";\")),f.token&&V.push(f.token),g.aN(K,g.Wo(K.provider),\"afs\",V),K.T=R)):f.U.id!==K.T&&(V=[f.U.id,K.T,f.reason],H&&l.push.apply(l,\ng.X(LKh(f))),g.BI(D)&&f.reason===\"i\"&&(H?l.push(k3(K,f)):V.push(k3(K,f))),H&&l.length>0&&V.push(l.join(\";\")),f.token&&V.push(f.token),g.aN(K,R,\"afs\",V),K.T=f.U.id)};\nk3=function(K,R){var f=K.provider;K=f.bD;f=f.videoData;g.RC(f)?R=4:K.l0()?R=3:(R=R.U.c9()?f.ME:f.s0,R=R!=null?R:0);K=\"sms.\"+R;if(R===3||R===4)K+=\"_1\";return K};\nLKh=function(K){var R=[];if(K=K.U.audio){var f=K==null?void 0:K.J;f!==void 0&&R.push(\"fl.\"+f);K=K==null?void 0:K.X;K!==void 0&&(K=Math.min(-K,0),R.push(\"vg.\"+K),R.push(\"nm.4\"))}return R};\nZf=function(K,R){Nj(K,\"cat\",R)};\nTR=function(K,R,f,V,D){var H=g.Wo(K.provider);R!==1&&R!==3&&R!==5||g.aN(K,H,\"vps\",[K.NW]);Nj(K,\"xvt\",\"t.\"+H.toFixed(3)+\";m.\"+D.toFixed(3)+\";g.2;tt.\"+R+\";np.0;c.\"+f+\";d.\"+V)};\nX9=function(K,R){K.pQ||(Nj(K,\"fcnz\",\"\"+R),K.pQ=!0)};\nob_=function(K){/[^a-zA-Z0-9;.!_-]/.test(K)&&(K=K.replace(/[+]/g,\"-\").replace(/[^a-zA-Z0-9;.!_-]/g,\"_\"));return K};\nnN=function(K,R,f,V,D,H,l,F,c,r){F=F===void 0?!1:F;g.O.call(this);var y=this;this.bD=K;this.schedule=R;this.policy=f;this.fQ=V;this.UF=c;this.r4=r;this.Q3=this.sF=null;this.G2=this.oY=this.qe=this.aY=0;this.Do=this.jN=this.isSuspended=!1;this.Za=\"\";this.FQ={};this.bd=NaN;this.pQ=this.Kh=this.Nw=0;this.BK=null;this.hV=this.er=!1;this.RZ=0;this.OF=!1;this.y0=this.v5=0;this.nh=null;this.JS=!1;this.l$=function(){return y.bD.l$()};\nthis.timing=new NlG(this.r4);this.EF=new jn(this.schedule,this.policy);this.Ch=new g.CW(this.zi,0,this);this.Gt=new g.CW(this.zi,this.policy.XQ,this);this.Wu=new g.CW(this.zi,1E3,this);this.M1=new g.CW(this.zi,void 0,this);this.kW=new g.CW(function(){y.isSuspended||y.zi()},1E4,this);\nthis.vK=new g.CW(this.Rn5,250,this);this.N=this.currentTime=NaN;this.lw=new ye(5);this.B5=this.timestampOffset=NaN;this.logger=new g.vf(\"dash\");this.aQ=Infinity;this.OC={CuF:function(){return y.hK},\nZot:function(){return y.X},\ngetAudioTrack:function(){return y.audioTrack},\nCA2:function(){return y.videoTrack},\nn8W:function(){return y.Xt},\ngetManifest:function(){return y.fQ},\nTMY:function(){return y.K},\nzi:function(){y.zi()},\nAB:function(){y.aY=0;y.AB()},\nkX5:function(S){return Po(y,y.videoTrack,y.sF.K,S)}};\nK=c&&c.po();c&&(wfv(c,this.fQ,this.policy),this.B5=Date.now());this.U=new ob(this,this.EF,f,this.fQ,D,K);f=G5G(this.U,H,l&&l.id);this.audioTrack=new qq(this,this.policy,f.audio,this.timing);this.videoTrack=new qq(this,this.policy,f.video,this.timing);this.videoTrack.X.Xt=this.audioTrack.Yj();this.Ne={updateend:this.Yv,error:this.Pd5};g.q(this,this.Ch);g.q(this,this.Gt);g.q(this,this.Wu);g.q(this,this.M1);g.q(this,this.kW);f=this.policy.Zvt&&this.policy.z3?!C45(this.videoTrack.RY.info):!1;this.XQ=\nFTB({KF:this.policy.Z.KF||f,z3:this.policy.z3&&!f,CM:this.policy.CM});this.Z=XDB(this,this.policy,this.XQ,this.schedule,this.lw,function(S,v){return zcM(y,S,v)});\nthis.X=new Ct(this,this.fQ,this.policy,this.videoTrack,this.audioTrack,F);this.policy.v9&&(this.Xt=new I9v(this.policy.T,function(S,v){y.KQ(S,v)},this.policy.xd));\nthis.hK=new u8(this,this.fQ,this.videoTrack,this.audioTrack,this.policy);F=this.policy.V8?this.bD.getVideoData().Ik:null;this.T=new oS(this,this.policy,this.videoTrack,this.audioTrack,this.FQ,this.X,this.timing,this.EF,this.schedule,this.fQ,this.U,this.Z,f,F);g.q(this,this.T);this.J=new Ui(this,this.policy,this.videoTrack,this.audioTrack,this.fQ,D,yx(this.bD.getVideoData()),l==null?void 0:l.id);g.q(this,this.J);zC5(this.J,H);this.K=new Vr(this.bD,this,this.policy,this.audioTrack,this.videoTrack,this.fQ,\nthis.schedule,this.U,this.J,this.timing,this.X,this.Xt);g.q(this,this.K);this.B=this.bD.Gi.FA.lf;this.policy.B||xyw(this);if(this.policy.qW){var h;this.Dk=new hT(this.videoTrack.RY.index,(h=this.bD.getVideoData().clientPlaybackNonce)!=null?h:\"\",this.bD)}};\nEbv=function(K){K.policy.T&&K.B&&(K.B.fR.forEach(function(R){K.fO(R,-1)}),K.B.fR=[])};\nxyw=function(K){var R,f;if((R=K.B)==null?0:(f=R.nI)==null?0:f.itagDenylist){var V;K.pC((V=K.B)==null?void 0:V.nI.itagDenylist)}var D;if((D=K.B)==null?0:D.playbackStartPolicy){var H,l;r8(K.policy,(H=K.B)==null?void 0:H.playbackStartPolicy,3,(l=K.B)==null?void 0:l.qD())}if(K.policy.e8){R=K.Vt();var F;(f=R?(F=K.B)==null?void 0:F.tU.get(R):void 0)&&K.K.PM(f,-1)}if(!K.fQ.UF){var c;F=(c=K.B)==null?void 0:c.Cc;(F==null?0:F.KJ)&&(F==null?0:F.qo)&&K.fQ.qY&&Ya(K.fQ,F.KJ,F.qo)}var r;((r=K.B)==null?0:r.zH)&&\n(c=K.B.zH.get(K.Vt()||\"\"))&&K.fQ&&c.formatId&&(K=K.fQ.X.get(Mb(c.formatId)))&&(K.info.debugInfo=c.debugInfo)};\nIN=function(K,R){var f=pn(R.RY,K.fQ.qY),V,D=((V=K.UF)==null?void 0:V.b5(f))||[];if(D.length===0)return K.KQ(\"ombmsi\",{}),!1;V=new D9(D);if((!K.policy.aY||isFinite(K.getCurrentTime())||K.bD.UB())&&!ADw(V,K.getCurrentTime()))return K.KQ(\"ostmf\",{ct:K.getCurrentTime(),a:R.RY.info.c9()}),!1;(K=K.UF)!=null&&(K.Ti.get(f).AY=!0);return!0};\nako=function(K){if(!K.fQ.qY)return!0;var R=K.bD.getVideoData();if(K.bD.Xs())return K.KQ(\"ombpa\",{}),!1;var f,V;if(!!((f=K.B)==null?0:(V=f.Cc)==null?0:V.g40)!==K.fQ.V9)return K.KQ(\"ombplmm\",{}),!1;f=R.oY||R.liveUtcStartSeconds||R.i9;if(K.fQ.V9&&f)return K.KQ(\"ombplst\",{}),!1;if(K.fQ.UF)return K.KQ(\"ombab\",{}),!1;f=Date.now();return m4(K.fQ)&&!isNaN(K.B5)&&f-K.B5>K.policy.Xa*1E3?(K.KQ(\"ombttl\",{}),!1):K.fQ.UO&&K.fQ.J||aU(R)!==0&&!K.policy.U||R.Y(\"html5_disable_onesie_media_for_mosaic\")&&GW(R)||R.Y(\"html5_disable_onesie_media_for_lifa_eligible\")&&\nmX(R)?!1:!0};\nQCB=function(K,R){var f=R.RY,V=K.fQ.qY;if(ako(K))if(K.UF&&K.UF.Ti.has(pn(f,V))){if(V=pn(f,V),IN(K,R)){var D=new D9(K.UF.b5(V)),H=function(l){try{if(l.Fp())K.handleError(l.jH(),l.BM()),Vm(R,l),$a(l.info)&&w8(K.T,R,f,!0),K.zi();else if(xK(K.T,l)){var F;(F=K.X)==null||Xfe(F,l.info,K.BK);K.zi()}}catch(c){l=R2(c),K.handleError(l.errorCode,l.details,l.severity),K.Lv()}};\nf.X=!0;Hf(D)&&(pL(R,new sm(K.policy,V,D,K.UF,H)),sF(K.timing))}}else K.KQ(\"ombfmt\",{})};\ngx=function(K,R){R=R||K.videoTrack&&K.videoTrack.U&&K.videoTrack.U.startTime||K.getCurrentTime();var f=K.videoTrack,V=K.U;R=V.nextVideo&&V.nextVideo.index.FL(R)||0;V.B5!==R&&(V.er={},V.B5=R,Sb(V,V.U));R=!V.U.isLocked()&&V.EF>-1&&(0,g.N7)()-V.EFK.policy.Jo?g.eE(K.Gt):K.zi()};\ntMG=function(K){if(e5w(K.videoTrack))return\"ssf\";if(K.policy.kW&&lh(K.videoTrack)&&lh(K.audioTrack))return\"updateEnd\";if(DG(K.audioTrack)||DG(K.videoTrack)&&K.videoTrack.RY.info.P5!==\"f\")return\"\";if(K.hK.isSeeking()){var R=K.EF;var f=K.videoTrack;var V=K.audioTrack;if(R.policy.U){var D=R.policy.Pg;cl(R.policy)&&(D=m_(R,!1,Y2(R)));R=D;f=Kk(V,!0)>=R&&Kk(f,!0)>=R}else f.K.length||V.K.length?(D=f.RY.info.c5+V.RY.info.c5,D=10*(1-Y2(R)/D),R=Math.max(D,R.policy.Pg),f=Kk(V,!0)>=R&&Kk(f,!0)>=R):f=!0;if(!f)return\"abr\";\nf=K.videoTrack;if(f.K.length>0&&f.X.K.length===1&&Ulw(f.X).info.N360);if(!K.Do||f)return\"\";f=K.policy.Ml;cl(K.policy)&&(f=m_(K.EF,K.Do,Y2(K.EF)));f=uCe(K.videoTrack,K.getCurrentTime(),f)||uCe(K.audioTrack,K.getCurrentTime(),f);return cl(K.policy)?f?\"mbnm\":\"\":(K.videoTrack.K.length>0||K.audioTrack.K.length>0||\nS0(K.T,K.videoTrack,K.audioTrack)||S0(K.T,K.audioTrack,K.videoTrack))&&f?\"nord\":\"\"};\nZlz=function(K,R,f){if(K.policy.kW&&lh(R))return!1;if(f.NU())return!0;if(!f.Qh())return!1;var V=$D(R);if(!V||V.info.type===6)return!1;var D;if(K.policy.hY||((D=K.X)==null?0:naN(D,R,V.info.t5)))K.G2=0;else return K.hK.isSeeking()&&F9(K),K.G2=K.G2||(0,g.N7)(),!1;if(!Po(K,R,f,V.info))return!1;if(K.fQ.K&&V.info.U===0){if(f.Zp()==null){D=bz(R);var H;if(!(H=!D||D.RY!==V.info.RY)){b:if(D=D.Z,H=V.info.Z,D.length!==H.length)D=!1;else{for(var l=0;lH)return K.policy.U&&(R===K.videoTrack?K.oY=K.oY||(0,g.N7)():K.qe=K.qe||(0,g.N7)()),K.policy.s0&&yHo(R.X,H,!1),!1;R===K.videoTrack?K.oY=0:K.qe=0;var F;K.policy.MW&&f===((F=K.sF)==null?void 0:F.U)&&K.OF&&(f.C$()===0?(K.OF=!1,K.policy.MW=!1):K.v5=f.C$());a:{F=K.policy.Ch?(0,g.N7)():0;l=V.B&&V.info.RY.U||void 0;H=V.K;V.B&&(H=AX_(K,V,H)||H);var c=rS(H);H=K.policy.Ch?(0,g.N7)():0;f=JXe(K,f,c,V.info,l);(l=R.Z)!=null&&(c=V.info,F=H-F,H=(0,g.N7)()-H,!l.K||LUo(l.K,\nc)&&l.K.t5===c.t5||l.flush(),l.J+=F,l.X+=H,F=1,!l.K&&c.U&&(F=2),Qe(l,F,f),H=Math.ceil(c.U/1024),F===2&&l.U.add(H),l.U.add(Math.ceil((c.U+c.K)/1024)-H),l.K=c);K.y0=0;if(f===0)K.er&&(K.er=!1,K.hV=!1),K.pQ=0,f=!0;else{if(f===2||f===5)pN(K,\"checked\",f,V.info);else{if(f===1){if(!K.er){K.er=!0;f=!1;break a}if(!K.hV){K.hV=!0;K.bD.seekTo(K.getCurrentTime(),{oQ:\"quotaExceeded\",zb:!0});f=!1;break a}V.info.iX()?(F=K.policy,F.oY=Math.floor(F.oY*.8),F.y0=Math.floor(F.y0*.8)):(F=K.policy,F.v5=Math.floor(F.v5*.8),\nF.y0=Math.floor(F.y0*.8));K.policy.U?F_(K.J.U,V.info.RY,!1):LL(K.U,V.info.RY)}K.bD.Gb({reattachOnAppend:f})}f=!1}}if(!f)return!1;K.policy.kW&&V.info.AN()?(K.bD.C().oG()&&K.KQ(\"eosl\",{ls:V.info.yI()}),V.isLocked=!0):(R.WA(V),eRc(K.U,V.info));D&&(R=V.info.RY.Kt)&&K.bD.Ez(new B3(R.key,R.type));return!0};\nAX_=function(K,R,f){var V;if(V=K.policy.FN&&K.sF&&!K.sF.Z&&!K.bD.OG())R=R.info.RY.info,V=R.S4()&&WM(R)&&R.video&&R.video.width<3840&&R.video.width>R.video.height;if(V&&(K.sF.Z=!0,HM('video/webm; codecs=\"vp09.00.50.08.01.01.01.01.00\"; width=3840; height=2160')))return f=Q4o(f),K.policy.X&&K.KQ(\"sp4k\",{s:!!f}),f};\npN=function(K,R,f,V){var D=\"fmt.unplayable\",H=1;f===5||f===3?(D=\"fmt.unparseable\",K.policy.U?!V.RY.info.video||c3(K.J.U).size>0||F_(K.J.U,V.RY,!1):!V.RY.info.video||c3(K.U.B).size>0||LL(K.U,V.RY)):f===2&&(K.pQ<15?(K.pQ++,D=\"html5.invalidstate\",H=0):D=\"fmt.unplayable\");V=fh(V);var l;V.mrs=(l=K.sF)==null?void 0:Fn(l);V.origin=R;V.reason=f;V.trg=\"appenderr\";K.handleError(D,V,H)};\nO5B=function(K,R,f,V,D){var H=K.fQ;var l=K.policy.U,F=!1,c=-1,r;for(r in H.U){var y=Ov(H.U[r].info.mimeType)||H.U[r].info.iX();if(V===y)if(y=H.U[r].index,y.KM(R.t5)){F=y;var h=R,S=F.Py(h.t5);S&&S.startTime!==h.startTime?(F.segments=[],F.w6(h),F=!0):F=!1;F?c=R.t5:!R.pending&&l&&(h=y.getDuration(R.t5),h!==R.duration&&(H.publish(\"clienttemp\",\"mfldurUpdate\",{itag:H.U[r].info.itag,seg:R.t5,od:h,nd:R.duration},!1),y.w6(R),F=!0))}else y.w6(R),F=!0}c>=0&&(l={},H.publish(\"clienttemp\",\"resetMflIndex\",(l[V?\n\"v\":\"a\"]=c,l),!1));H=F;in5(K.hK,R,V,H);K.X.bE(R,f,V,D);R.t5===K.fQ.UO&&H&&q0(K.fQ)&&R.startTime>q0(K.fQ)&&(K.fQ.Jx=R.startTime+(isNaN(K.timestampOffset)?0:K.timestampOffset),K.hK.isSeeking()&&K.hK.targetTime\n5)return K.y0=0,K.bD.Gb({initSegStuck:1,as:V.info.yI()}),!0}else K.y0=0,K.nh=V;K.policy.nS&&(f.abort(),(l=R.Z)!=null&&(Qe(l,4),l.flush()));D=JXe(K,f,H,c,D);(R=R.Z)!=null&&(R.flush(),R.K=c,Qe(R,3,D));if(D!==0)return K.policy.KV&&rQ(K.bD.getVideoData())?(K.bD.Oj()||pN(K,\"sepInit\",D,V.info),B92(K.bD,\"sie\")):pN(K,\"sepInit\",D,V.info),!0;V.info.iX()?(c=K.timing,c.er||(c.er=(0,g.N7)(),g.tL(\"vis_a\",c.er,c.U))):(c=K.timing,c.N||(c.N=(0,g.N7)(),g.tL(\"ais_a\",c.N,c.U)));(V=V.info.RY.Kt)&&K.bD.Ez(new B3(V.key,\nV.type));return f.xq()};\nJXe=function(K,R,f,V,D){try{var H,l=R===((H=K.sF)==null?void 0:H.U)?K.audioTrack:K.videoTrack;if(K.policy.kW&&(V==null?0:V.AN())){if((V==null?void 0:V.EF)>1)return 6;l.y0=new g.CW(function(){var F=$D(l);K.mZ()||F==null||!F.isLocked?K.bD.C().oG()&&K.KQ(\"eosl\",{delayA:F==null?void 0:F.info.yI()}):XmB(l)?(K.bD.C().oG()&&K.KQ(\"eosl\",{dunlock:F==null?void 0:F.info.yI()}),kVG(K,l===K.audioTrack)):(K.KQ(\"nue\",{ls:F.info.yI()}),F.info.EF+=1,K.sF&&K.AB())},1E4,K);\nK.bD.C().oG()&&K.KQ(\"eosl\",{delayS:V.yI()});l.y0.start()}K.policy.DK&&(V==null?void 0:V.RY)instanceof dl&&V.AN()&&K.KQ(\"poseos\",{itag:V.RY.info.itag,seg:V.t5,lseg:V.RY.index.H0(),es:V.RY.index.X});R.appendBuffer(f,V,D)}catch(F){if(F instanceof DOMException){if(F.code===11)return 2;if(F.code===12)return 5;if(F.code===22||F.message.indexOf(\"Not enough storage\")===0)return R=Object.assign({name:\"QuotaExceededError\",buffered:Mr(R.vV()).replace(/,/g,\"_\"),vheap:CL(K.videoTrack),aheap:CL(K.audioTrack),message:g.jX(F.message,\n3),track:K.sF?R===K.sF.K?\"v\":\"a\":\"u\"},INe()),K.handleError(\"player.exception\",R),1;g.WR(F)}return 4}return K.sF.L7()?3:0};\nHh=function(K,R,f){N9w(K,f.oQ||\"unknown\");K.bD.seekTo(R,f)};\nR7=function(K,R){if(K.policy.aY&&K.er&&!K.Do)return K.policy.XN;if(K.er&&!K.Do)return 3;if(K.isSuspended)return 1;var f;if((f=K.sF)==null?0:f.sF&&f.sF.streaming===!1)return 4;f=(R.RY.info.audio?K.policy.v5:K.policy.oY)/(R.c5*K.policy.dS);if(K.policy.U0>0&&K.sF&&$W(K.sF)&&(R=R.RY.info.video?K.sF.K:K.sF.U)&&!R.xq()){R=R.vV();var V=bA(R,K.getCurrentTime());V>=0&&(R=K.getCurrentTime()-R.start(V),f+=Math.max(0,Math.min(R-K.policy.U0,K.policy.FW)))}K.policy.y0>0&&(f=Math.min(f,K.policy.y0));return f};\nT95=function(K,R){return(R7(K,R)+K.policy.eT)*R.c5};\nnb_=function(K){K.Za&&!K.isSuspended&&vl(K.schedule)&&(Prz(K,K.Za),K.Za=\"\")};\nPrz=function(K,R){Om(R,\"cms\",function(f){K.policy.X&&K.KQ(\"pathprobe\",f)},function(f){K.bD.handleError(f)})};\nIkv=function(K,R){K.BK=R;K.X&&(K.X.BK=R);R=K.BK;var f=K.videoTrack.RY.info.S4();R.Ch=f;R.MY({swebm:f});K.T.BK=K.BK;K.policy.K&&(K.K.BK=K.BK,Ebv(K))};\nOlM=function(K,R){if(K.sF&&K.sF.K){if(K.policy.Wz){var f=RCh(K.audioTrack);if(f&&f.c9()){var V=K.bD;if(V.xg&&(V.xg.U=f,f=V.sC,f.qoe)){f=f.qoe;V=V.xg;var D=g.Wo(f.provider);wmo(f,D,V)}}}K.policy.zV&&(f=RCh(K.videoTrack))&&f.iX()&&(V=K.bD,V.EM&&(V.EM.U=f,f=V.sC,f.qoe&&SDe(f.qoe,V.EM)));R-=isNaN(K.timestampOffset)?0:K.timestampOffset;K.getCurrentTime()!==R&&K.resume();K.hK.isSeeking()&&K.sF&&!K.sF.L7()&&(V=K.getCurrentTime()<=R&&R=R&&zcM(K,V.startTime,!1)});\nreturn f&&f.startTimeK.getCurrentTime())return f.start/1E3;return Infinity};\nStM=function(K){if(K.bD.getVideoData().isLivePlayback)return!1;var R=K.bD.CL();if(!R)return!1;R=R.getDuration();if(K.sF&&K.sF.U&&K.sF.K){var f=K.getCurrentTime(),V=K.sF.U.vV();K=K.sF.K.vV();V=V?Y0(V,f):f;f=K?Y0(K,f):f;f=Math.min(V,f);R=isNaN(f)?!1:f>=R-.01}else R=!1;return R};\nEi=function(K){return K.Nw0){var V=f.U.shift();GVB(f,V.info)}f.U.length>0&&(V=f.U[0].time-(0,g.N7)(),f.K.start(Math.max(0,V)))}},0);\ng.q(this,this.K);R.subscribe(\"widevine_set_need_key_info\",this.J,this)};\nGVB=function(K,R){a:{var f=R.cryptoPeriodIndex;if(isNaN(f)&&K.X.size>0)f=!0;else{for(var V=g.Z(K.X.values()),D=V.next();!D.done;D=V.next())if(D.value.cryptoPeriodIndex===f){f=!0;break a}f=!1}}K.publish(\"log_qoe\",{wvagt:\"reqnews\",canskip:f});f||K.publish(\"rotated_need_key_info_ready\",R)};\nuse=function(){var K={};var R=K.url;var f=K.interval;K=K.retries;this.url=R;this.interval=f;this.retries=K};\nsCG=function(K,R){this.statusCode=K;this.message=R;this.X=this.heartbeatParams=this.errorMessage=null;this.K=[];this.U={};this.nextFairplayKeyId=null};\nCr2=function(K){switch(K){case \"DRM_TRACK_TYPE_AUDIO\":return 1;case \"DRM_TRACK_TYPE_SD\":return 2;case \"DRM_TRACK_TYPE_HD\":return 3;case \"DRM_TRACK_TYPE_UHD1\":return 4;case \"DRM_TRACK_TYPE_UHD2\":return 5;default:return 0}};\necN=function(K,R,f,V){f=f===void 0?\"\":f;V=V===void 0?!1:V;g.O.call(this);this.message=K;this.requestNumber=R;this.timer=f;this.K=V;this.onError=this.onSuccess=null;this.U=new g.qx(5E3,2E4,.2)};\nK_v=function(K,R,f){K.onSuccess=R;K.onError=f};\nfJh=function(K,R,f,V){var D={timeout:3E4,onSuccess:function(H){if(!K.mZ()){Uz(\"drm_net_r\",void 0,K.timer);var l=K.K;l=l===void 0?!1:l;var F=H.status===\"LICENSE_STATUS_OK\"?0:9999,c=null;if(H.license)try{c=q8(H.license)}catch(E){g.WR(E)}if(F!==0||c){c=new sCG(F,c);F!==0&&H.reason&&(c.errorMessage=H.reason);if(H.authorizedFormats){F={};for(var r=[],y={},h=g.Z(H.authorizedFormats),S=h.next();!S.done;S=h.next())if(S=S.value,S.trackType&&S.keyId){l&&c.K.push({trackType:Cr2(S.trackType),isHdr:!!S.isHdr});\nvar v=RSw[S.trackType];if(v){v===\"HD\"&&H.isHd720&&(v=\"HD720\");S.isHdr&&(v+=\"HDR\");F[v]||(r.push(v),F[v]=!0);var L=null;try{L=q8(S.keyId)}catch(E){g.WR(E)}L&&(y[g.OY(L,4)]=v)}}c.X=r;c.U=y}H.nextFairplayKeyId&&(c.nextFairplayKeyId=H.nextFairplayKeyId);H.sabrLicenseConstraint&&(c.sabrLicenseConstraint=q8(H.sabrLicenseConstraint));H=c}else H=null;if(H)K.onSuccess(H,K.requestNumber);else K.onError(K,\"drm.net\",\"t.p;p.i\")}},\nonError:function(H){if(!K.mZ())if(H&&H.error)H=H.error,K.onError(K,\"drm.net.badstatus\",\"t.r;p.i;c.\"+H.code+\";s.\"+H.status,H.code);else K.onError(K,\"drm.net.badstatus\",\"t.r;p.i;c.n\")},\nonTimeout:function(){K.onError(K,\"drm.net\",\"rt.req.\"+K.requestNumber)}};\nV&&(D.Xo=\"Bearer \"+V);g.uO(f,\"player/get_drm_license\",R,D)};\nVnB=function(K,R,f,V){g.VQ.call(this);this.videoData=K;this.W=R;this.Z=f;this.sessionId=V;this.B={};this.cryptoPeriodIndex=NaN;this.url=\"\";this.requestNumber=0;this.aY=this.Xt=!1;this.X=null;this.B5=[];this.J=[];this.authorizedFormats=[];this.EF=[];this.N=!1;this.U={};this.status=\"\";this.T=NaN;this.K=K.B;this.cryptoPeriodIndex=f.cryptoPeriodIndex;K={};Object.assign(K,this.W.U);K.cpn=this.videoData.clientPlaybackNonce;this.videoData.aY&&(K.vvt=this.videoData.aY,this.videoData.mdxEnvironment&&(K.mdx_environment=\nthis.videoData.mdxEnvironment));this.W.B5&&(K.authuser=this.W.B5);this.W.pageId&&(K.pageid=this.W.pageId);isNaN(this.cryptoPeriodIndex)||(K.cpi=this.cryptoPeriodIndex.toString());var D=(D=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.DP()))?D[1]:\"\";D===\"ATV\"&&(K.cdt=D);this.B=K;this.B.session_id=V;this.UF=!0;this.K.flavor===\"widevine\"&&(this.B.hdr=\"1\");this.K.flavor===\"playready\"&&(R=Number(vg(R.experiments,\"playready_first_play_expiration\")),!isNaN(R)&&R>=0&&(this.B.mfpe=\"\"+R),this.UF=!1);R=\"\";g.lK(this.K)?\n$N(this.K)?(V=f.K)&&(R=\"https://www.youtube.com/api/drm/fps?ek=\"+pyB(V)):(R=f.initData.subarray(4),R=new Uint16Array(R.buffer,R.byteOffset,R.byteLength/2),R=String.fromCharCode.apply(null,R).replace(\"skd://\",\"https://\")):R=this.K.K;this.baseUrl=R;this.fairplayKeyId=P9(this.baseUrl,\"ek\")||\"\";if(R=P9(this.baseUrl,\"cpi\")||\"\")this.cryptoPeriodIndex=Number(R);this.B5=f.S4?[g.OY(f.initData,4)]:f.X;s6(this,{sessioninit:f.cryptoPeriodIndex});this.status=\"in\"};\nlJv=function(K,R){s6(K,{createkeysession:1});K.status=\"gr\";Uz(\"drm_gk_s\",void 0,K.videoData.EF);K.url=D$o(K);try{K.X=R.createSession(K.Z,function(f){s6(K,{m:f})})}catch(f){R=\"t.g\";\nf instanceof DOMException&&(R+=\";c.\"+f.code);K.publish(\"licenseerror\",\"drm.unavailable\",1,R,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\");return}K.X&&(H_h(K.X,function(f,V){$$v(K,f,V)},function(f,V,D){if(!K.mZ()){V=void 0;\nvar H=1;g.lK(K.K)&&g.jA(K.W)&&K.W.Y(\"html5_enable_safari_fairplay\")&&D===1212433232&&(V=\"ERROR_HDCP\",H=K.W.Y(\"html5_safari_fairplay_ignore_hdcp\")?0:H);K.error(\"drm.keyerror\",H,f,V)}},function(){K.mZ()||(s6(K,{onkyadd:1}),K.aY||(K.publish(\"sessionready\"),K.aY=!0))},function(f){K.Oy(f)}),g.q(K,K.X))};\nD$o=function(K){var R=K.baseUrl;sQM(R)||K.error(\"drm.net\",2,\"t.x\");if(!P9(R,\"fexp\")){var f=[\"23898307\",\"23914062\",\"23916106\",\"23883098\"].filter(function(D){return K.W.experiments.experiments[D]});\nf.length>0&&(K.B.fexp=f.join())}f=g.Z(Object.keys(K.B));for(var V=f.next();!V.done;V=f.next())V=V.value,R=cQG(R,V,K.B[V]);return R};\n$$v=function(K,R,f){if(!K.mZ())if(R){s6(K,{onkmtyp:f});K.status=\"km\";switch(f){case \"license-renewal\":case \"license-request\":case \"license-release\":break;case \"individualization-request\":d$e(K,R);return;default:K.publish(\"ctmp\",\"message_type\",{t:f,l:R.byteLength})}K.Xt||(Uz(\"drm_gk_f\",void 0,K.videoData.EF),K.Xt=!0,K.publish(\"newsession\",K));if(VF(K.K)&&(R=F_h(R),!R))return;R=new ecN(R,++K.requestNumber,K.videoData.EF,K.W.Y(\"html5_enable_vp9_fairplay\"));K_v(R,function(V){c4h(K,V)},function(V,D,H){if(!K.mZ()){var l=\n0;\nV.U.K>=3&&(l=1,D=\"drm.net.retryexhausted\");s6(K,{onlcsrqerr:D,info:H});K.error(D,l,H);K.shouldRetry(KH(l),V)&&r4v(K,V)}});\ng.q(K,R);y4v(K,R)}else K.error(\"drm.unavailable\",1,\"km.empty\")};\nd$e=function(K,R){s6(K,{sdpvrq:1});K.T=Date.now();if(K.K.flavor!==\"widevine\")K.error(\"drm.provision\",1,\"e.flavor;f.\"+K.K.flavor+\";l.\"+R.byteLength);else{var f={cpn:K.videoData.clientPlaybackNonce};Object.assign(f,K.W.U);f=g.B9(\"https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE\",f);R={format:\"RAW\",headers:{\"content-type\":\"application/json\"},method:\"POST\",postBody:JSON.stringify({signedRequest:String.fromCharCode.apply(null,R)}),\nresponseType:\"arraybuffer\"};g.kA(f,R,3,500).then(f1(function(V){V=V.xhr;if(!K.mZ()){V=new Uint8Array(V.response);var D=String.fromCharCode.apply(null,V);try{var H=JSON.parse(D)}catch(l){}H&&H.signedResponse?(K.publish(\"ctmp\",\"drminfo\",{provisioning:1}),H=(Date.now()-K.T)/1E3,K.T=NaN,K.publish(\"ctmp\",\"provs\",{et:H.toFixed(3)}),K.X&&K.X.update(V)):(H=H&&H.error&&H.error.message,V=\"e.parse\",H&&(V+=\";m.\"+H),K.error(\"drm.provision\",1,V))}}),f1(function(V){K.mZ()||K.error(\"drm.provision\",1,\"e.\"+V.errorCode+\n\";c.\"+(V.xhr&&V.xhr.status))}))}};\nCN=function(K){var R;if(R=K.UF&&K.X!=null)K=K.X,R=!(!K.U||!K.U.keyStatuses);return R};\ny4v=function(K,R){K.status=\"km\";Uz(\"drm_net_s\",void 0,K.videoData.EF);var f=new g.Gp(K.W.ND),V={context:g.y_(f.config_||g.rg())};V.drmSystem=hSD[K.K.flavor];V.videoId=K.videoData.videoId;V.cpn=K.videoData.clientPlaybackNonce;V.sessionId=K.sessionId;V.licenseRequest=g.OY(R.message);V.drmParams=K.videoData.drmParams;isNaN(K.cryptoPeriodIndex)||(V.isKeyRotated=!0,V.cryptoPeriodIndex=K.cryptoPeriodIndex);var D,H,l=!!((D=K.videoData.K)==null?0:(H=D.video)==null?0:H.isHdr());V.drmVideoFeature=l?\"DRM_VIDEO_FEATURE_PREFER_HDR\":\n\"DRM_VIDEO_FEATURE_SDR\";K.W.experiments.ph().U.aG(o2N)&&(V.context=g.d9(K.videoData));if(V.context&&V.context.client){if(D=K.W.U)V.context.client.deviceMake=D.cbrand,V.context.client.deviceModel=D.cmodel,V.context.client.browserName=D.cbr,V.context.client.browserVersion=D.cbrver,V.context.client.osName=D.cos,V.context.client.osVersion=D.cosver;K.W.experiments.ph().U.aG(o2N)||(V.context.user=V.context.user||{},K.videoData.aY&&(V.context.user.credentialTransferTokens=[{token:K.videoData.aY,scope:\"VIDEO\"}]),\nK.videoData.OF&&(V.context.user.kidsParent={oauthToken:K.videoData.OF}));V.context.request=V.context.request||{};V.context.request.mdxEnvironment=K.videoData.mdxEnvironment||V.context.request.mdxEnvironment;g.lK(K.K)&&(V.fairplayKeyId=g.OY(YhB(K.fairplayKeyId)));g.r6(K.W,g.Ys(K.videoData)).then(function(F){fJh(R,V,f,F);K.status=\"rs\"})}else K.error(\"drm.net\",2,\"t.r;ic.0\")};\nc4h=function(K,R){if(!K.mZ())if(s6(K,{onlcsrsp:1}),K.status=\"rr\",R.statusCode!==0)K.error(\"drm.auth\",1,\"t.f;c.\"+R.statusCode,R.errorMessage||void 0);else{Uz(\"drm_kr_s\",void 0,K.videoData.EF);if(R.heartbeatParams&&R.heartbeatParams.url&&K.videoData.Y(\"outertube_streaming_data_always_use_staging_license_service\")){var f=K.K.K.match(/(.*)youtube.com/g);f&&(R.heartbeatParams.url=f[0]+R.heartbeatParams.url)}R.heartbeatParams&&K.publish(\"newlicense\",R.heartbeatParams);R.X&&(K.J=R.X,K.videoData.Co||K.publish(\"newlicense\",\nnew use),K.videoData.Co=!0,K.N=V3(K.J,function(V){return V.includes(\"HDR\")}));\nR.K&&(K.EF=R.K);R.U&&(K.W.Y(\"html5_enable_vp9_fairplay\")&&$N(K.K)?(f=g.OY(YhB(K.fairplayKeyId),4),K.U[f]={type:R.U[f],status:\"unknown\"}):K.U=aK(R.U,function(V){return{type:V,status:\"unknown\"}}));\nHg(K.K)&&(R.message=LFB(g.OY(R.message)));K.X&&(s6(K,{updtks:1}),K.status=\"ku\",K.X.update(R.message).then(function(){Uz(\"drm_kr_f\",void 0,K.videoData.EF);CN(K)||(s6(K,{ksApiUnsup:1}),K.publish(\"keystatuseschange\",K))},function(V){V=\"msuf.req.\"+K.requestNumber+\";msg.\"+g.jX(V.message,3);\nK.error(\"drm.keyerror\",1,V)}));\ng.lK(K.K)&&K.publish(\"fairplay_next_need_key_info\",K.baseUrl,R.nextFairplayKeyId);K.W.Y(\"html5_enable_vp9_fairplay\")&&$N(K.K)&&K.publish(\"qualitychange\",SmM(K.J));R.sabrLicenseConstraint&&K.publish(\"sabrlicenseconstraint\",R.sabrLicenseConstraint)}};\nr4v=function(K,R){var f=R.U.getValue();f=new g.CW(function(){y4v(K,R)},f);\ng.q(K,f);f.start();g.Mx(R.U);s6(K,{rtyrq:1})};\ni_2=function(K,R){for(var f=[],V=g.Z(Object.keys(K.U)),D=V.next();!D.done;D=V.next())D=D.value,f.push(D+\"_\"+K.U[D].type+\"_\"+K.U[D].status);return f.join(R)};\nv2w=function(K){var R={};R[K.status]=CN(K)?i_2(K,\".\"):K.J.join(\".\");return R};\nL_B=function(K,R,f){var V={};V.isHdr=R.includes(\"HDR\");switch(R.replace(\"HDR\",\"\").replace(\"720\",\"\")){case \"AUDIO\":V.trackType=1;break;case \"SD\":V.trackType=2;break;case \"HD\":V.trackType=3;break;case \"UHD1\":V.trackType=4;break;case \"UHD2\":V.trackType=5;break;default:V.trackType=0}!V.trackType||f[R]||CN(K)&&!eG(K,R)||(K.authorizedFormats.push(V),f[R]=!0)};\neG=function(K,R){for(var f in K.U)if(K.U[f].status===\"usable\"&&K.U[f].type===R)return!0;return!1};\nwWN=function(K,R){for(var f in K.U)if(K.U[f].type===R)return K.U[f].status};\ns6=function(K,R){var f=f===void 0?!1:f;Cb(R);(f||K.W.oG())&&K.publish(\"ctmp\",\"drmlog\",R)};\nzSv=function(K){var R=K[0];K[0]=K[3];K[3]=R;R=K[1];K[1]=K[2];K[2]=R;R=K[4];K[4]=K[5];K[5]=R;R=K[6];K[6]=K[7];K[7]=R};\nSmM=function(K){return g.Ka(K,\"UHD2\")||g.Ka(K,\"UHD2HDR\")?\"highres\":g.Ka(K,\"UHD1\")||g.Ka(K,\"UHD1HDR\")?\"hd2160\":g.Ka(K,\"HD\")||g.Ka(K,\"HDHDR\")?\"hd1080\":g.Ka(K,\"HD720\")||g.Ka(K,\"HD720HDR\")?\"hd720\":\"large\"};\nF_h=function(K){for(var R=\"\",f=0;f'.charCodeAt(V);K=K.X.createSession(\"video/mp4\",R,f);return new Kz(null,null,null,null,K)};\ntno=function(K,R){var f=K.T[R.sessionId];!f&&K.J&&(f=K.J,K.J=null,f.sessionId=R.sessionId,K.T[R.sessionId]=f);return f};\nNtM=function(K,R){var f=K.subarray(4);f=new Uint16Array(f.buffer,f.byteOffset,f.byteLength/2);f=String.fromCharCode.apply(null,f).match(/ek=([0-9a-f]+)/)[1];for(var V=\"\",D=0;D19.2999?(K=f.Uv,f=f.Ev,\nf>=K&&(f=K*.75),R=(K-f)*.5,f=new GR(R,K,K-R-f,this)):f=null;break a;case \"widevine\":f=new uq(R,this,K);break a;default:f=null}if(this.B=f)g.q(this,this.B),this.B.subscribe(\"rotated_need_key_info_ready\",this.bI,this),this.B.subscribe(\"log_qoe\",this.R1,this);FC(this.W.experiments);this.R1({cks:this.U.getInfo()})};\nJ4o=function(K){var R=QWM(K.J,K.mediaElement);R?R.then(f1(function(){BtB(K)}),f1(function(f){if(!K.mZ()){g.WR(f);\nvar V=\"t.a\";f instanceof DOMException&&(V+=\";n.\"+f.name+\";m.\"+f.message);K.publish(\"licenseerror\",\"drm.unavailable\",1,V,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\")}})):(K.R1({mdkrdy:1}),K.EF=!0);\nK.UF&&(R=QWM(K.UF,K.mediaElement))};\nkMM=function(K,R,f){K.G2=!0;f=new B3(R,f);K.W.Y(\"html5_eme_loader_sync\")&&(K.T.get(R)||K.T.set(R,f));XWN(K,f)};\nXWN=function(K,R){if(!K.mZ()){K.R1({onInitData:1});if(K.W.Y(\"html5_eme_loader_sync\")&&K.videoData.X&&K.videoData.X.U){var f=K.N.get(R.initData);R=K.T.get(R.initData);if(!f||!R)return;R=f;f=R.initData;K.T.remove(f);K.N.remove(f)}K.R1({initd:R.initData.length,ct:R.contentType});if(K.U.flavor===\"widevine\")if(K.y0&&!K.videoData.isLivePlayback)VX(K);else{if(!(K.W.Y(\"vp9_drm_live\")&&K.videoData.isLivePlayback&&R.S4)){K.y0=!0;f=R.cryptoPeriodIndex;var V=R.U;wgM(R);R.S4||(V&&R.U!==V?K.publish(\"ctmp\",\"cpsmm\",\n{emsg:V,pssh:R.U}):f&&R.cryptoPeriodIndex!==f&&K.publish(\"ctmp\",\"cpimm\",{emsg:f,pssh:R.cryptoPeriodIndex}));K.publish(\"widevine_set_need_key_info\",R)}}else K.bI(R)}};\nBtB=function(K){if(!K.mZ())if(K.W.Y(\"html5_drm_set_server_cert\")||$N(K.U)){var R=K.J.setServerCertificate();R?R.then(f1(function(f){K.W.oG()&&K.publish(\"ctmp\",\"ssc\",{success:f})}),f1(function(f){K.publish(\"ctmp\",\"ssce\",{n:f.name,\nm:f.message})})).then(f1(function(){Ttz(K)})):Ttz(K)}else Ttz(K)};\nTtz=function(K){K.mZ()||(K.EF=!0,K.R1({onmdkrdy:1}),VX(K))};\nP85=function(K){return K.U.flavor===\"widevine\"&&K.videoData.Y(\"html5_drm_cpi_license_key\")};\nVX=function(K){if(K.G2&&K.EF&&!K.B5){for(;K.X.length;){var R=K.X[0],f=P85(K)?z5v(R):g.OY(R.initData);if($N(K.U)&&!R.K)K.X.shift();else{if(K.K.get(f))if(K.U.flavor!==\"fairplay\"||$N(K.U)){K.X.shift();continue}else K.K.delete(f);wgM(R);break}}K.X.length&&K.createSession(K.X[0])}};\nn25=function(K){var R,f;g.I(function(V){if(V.U==1){var D;if(D=g.uj()){var H;D=!((H=K.J.K)==null||!H.getMetrics)}return D?g.P(V,K.J.getMetrics(),2):V.return()}R=V.K;if(!R)return V.return();yR(R)||(R=g.vu(R));f=/^[A-Za-z0-9_-]+={0,3}$/;f.test(R)||(R=g.jX(R,void 0,!0));K.publish(\"ctmp\",\"drm\",{metrics:R});g.lE(V)})};\nDM=function(){var K=dXM();return!(!K||K===\"visible\")};\ng2N=function(K){var R=IJh();R&&document.addEventListener(R,K,!1)};\nO_o=function(K){var R=IJh();R&&document.removeEventListener(R,K,!1)};\nIJh=function(){if(document.visibilityState)var K=\"visibilitychange\";else{if(!document[wm+\"VisibilityState\"])return\"\";K=wm+\"visibilitychange\"}return K};\nqmN=function(K){jWe=K};\nb_w=function(K){MnG=K};\npWM=function(K){g.O.call(this);var R=this;this.bD=K;this.j0=0;this.T=this.K=this.B=!1;this.J=0;this.gU=this.bD.C();this.videoData=this.bD.getVideoData();this.X=g.mz(this.gU.experiments,\"html5_delayed_retry_count\");this.U=new g.CW(function(){R.bD.mx()},g.mz(this.gU.experiments,\"html5_delayed_retry_delay_ms\"));\ng.q(this,this.U)};\nsW2=function(K,R,f){var V=K.videoData.K,D=K.videoData.J,H=K.gU.Y(\"html5_disable_codec_fallback_for_drm\")&&K.videoData.Im();rQ(K.bD.getVideoData())&&K.gU.Y(\"html5_gapless_fallback_on_qoe_restart\")&&B92(K.bD,\"pe\");if((R===\"progressive.net.retryexhausted\"||R===\"fmt.unplayable\"||R===\"fmt.decode\")&&!K.bD.SL.B&&V&&V.itag===\"22\")return K.bD.SL.B=!0,K.EA(\"qoe.restart\",{reason:\"fmt.unplayable.22\"}),K.bD.Hg(),!0;var l=!1;if(K.videoData.isExternallyHostedPodcast){if(l=K.videoData.Jt)f.mimeType=l.type,K.KQ(\"3pp\",\n{url:l.url});f.ns=\"3pp\";K.bD.CK(R,1,\"VIDEO_UNAVAILABLE\",Cb((new g.e$(R,f,1)).details));return!0}var F=K.j0+3E4<(0,g.N7)()||K.U.isActive();if(K.gU.Y(\"html5_empty_src\")&&K.videoData.isAd()&&R===\"fmt.unplayable\"&&/Empty src/.test(\"\"+f.msg))return f.origin=\"emptysrc\",K.EA(\"auth\",f),!0;F||Ymw(K.bD.nP())||(f.nonfg=\"paused\",F=!0,K.bD.pauseVideo());(R===\"fmt.decode\"||R===\"fmt.unplayable\")&&(D==null?0:Zu(D))&&(DPD(K.gU.B,D.P5),f.acfallexp=D.P5,l=F=!0);!F&&K.X>0&&(K.U.start(),F=!0,f.delayed=\"1\",--K.X);D=K.bD.loader;\nF||!((V==null?0:Jv(V))||(V==null?0:WM(V)))||H||(DPD(K.gU.B,V.P5),l=F=!0,f.cfallexp=V.P5);if(!F)return m$e(K,f);H=!1;K.B?K.j0=(0,g.N7)():H=K.B=!0;F=K.videoData;if(F.y0){F=F.y0.nz();var c=Date.now()/1E3+1800;F=F3E5&&R.Kh>=3:!R.schedule.G2}return K.videoData.Z?K.videoData.Ne<25:!K.videoData.Ne};\nuKz=function(K){if(!K.K){K.K=!0;var R=K.bD.getPlayerState();R=R.isPaused()||R.isSuspended();K.bD.dk();R&&!uv(K.videoData)||K.bD.publish(\"signatureexpired\")}};\nC82=function(K,R){if((K=K.bD.CL())&&(R.errorCode===\"fmt.unplayable\"||R.errorCode===\"html5.invalidstate\")){var f=K.jH();R.details.merr=f?f.toString():\"0\";R.details.mmsg=K.R0()}};\neSN=function(K){return K.errorCode===\"net.badstatus\"&&(K.severity===1||!!K.details.fmt_unav)};\nKjB=function(K,R){return K.gU.Y(\"html5_use_network_error_code_enums\")&&R.details.rc===403||R.details.rc===\"403\"?(K=R.errorCode,K===\"net.badstatus\"||K===\"manifest.net.retryexhausted\"):!1};\nf4v=function(K,R){if(!KjB(K,R)&&!K.K)return!1;R.details.sts=\"20402\";if(GMB(K))return KH(R.severity)&&(R=Object.assign({e:R.errorCode},R.details),R=new g.e$(\"qoe.restart\",R)),K.EA(R.errorCode,R.details),uKz(K),!0;(0,g.N7)()-K.gU.xN>6048E5&&R1c(K,\"signature\");return!1};\nR1c=function(K,R){try{R={detail:\"pr.\"+R},(Kc(K.gU)||o4(K.gU)===\"TVHTML5_FOR_KIDS\")&&K.gU.Y(\"html5_reload_by_kabuki_app\")?K.bD.CK(\"qoe.restart\",1,void 0,Cb(R),\"7\"):(K.EA(\"qoe.restart\",R),window.location.reload())}catch(f){}};\nVa_=function(K,R){var f=K.gU.B;f.N=!1;f.K=!0;K.EA(\"qoe.restart\",{e:R===void 0?\"fmt.noneavailable\":R,detail:\"hdr\"});K.bD.mx(!0)};\nDKN=function(K,R,f,V,D,H){this.videoData=K;this.U=R;this.reason=f;this.K=V;this.token=D;this.videoId=H};\nHH=function(K,R,f,V){this.W=K;this.bR=R;this.bD=f;this.IG=V;this.Z=this.T=this.U=this.J=this.N=this.K=0;this.B=!1;this.EF=g.mz(this.W.experiments,\"html5_displayed_frame_rate_downgrade_threshold\")||45;this.X=new Map};\nHth=function(K,R,f){!K.W.Y(\"html5_tv_ignore_capable_constraint\")&&g.cX(K.W)&&(f=f.compose(K.SV(R)));return f};\n$Kv=function(K){if(K.bD.nP().isInline())return Cc;K=ki[zn()];return g.Z1(\"auto\",K,!1,\"s\")};\ndK2=function(K,R){var f,V=l4N(K,(f=R.U)==null?void 0:f.videoInfos);f=K.bD.getPlaybackRate();return f>1&&V?(K=KNB(K.W.B,R.U.videoInfos,f),new JG(0,K,!0,\"o\")):new JG(0,0,!1,\"o\")};\nl4N=function(K,R){return R&&g.cX(K.W)?R.some(function(f){return f.video.fps>32}):!1};\nFjN=function(K,R){if(K.Y(\"html5_disable_ustreamer_constraint_for_sabr\")&&tP(R.videoData))return Cc;var f=K.bD.Ja();K.Y(\"html5_use_video_quality_cap_for_ustreamer_constraint\")&&f&&f.X9>0&&XA(R.videoData.DT)&&(K=f.X9,R.videoData.DT=new JG(0,K,!1,\"u\"));return R.videoData.DT};\ncO5=function(K,R){var f;a:if((f=R.U)&&f.videoInfos.length){for(var V=g.Z(f.videoInfos),D=V.next();!D.done;D=V.next()){D=D.value;var H=void 0;if((H=D.K)==null?0:H.smooth){f=D.video.qualityOrdinal;break a}}f=f.videoInfos[0].video.qualityOrdinal}else f=0;(g.mO(\"armv7\")||g.mO(\"aarch64\")||g.mO(\"android\"))&&!g.cX(K.W)&&WM(R.U.videoInfos[0])&&(f=Math.min(f,g.x0.large));V=g.mz(K.W.experiments,\"html5_chipset_soft_cap\");V>0&&(f=Math.min(f,V));if(V=g.mz(K.W.experiments,\"html5_max_vertical_resolution\")){D=4320;\nfor(H=0;HV&&(D=Math.min(D,l.video.qualityOrdinal))}if(D<4320){for(l=H=0;l32){D=!0;break a}}D=!1}D&&(f=Math.min(f,V));(V=g.mz(K.W.experiments,\"html5_live_quality_cap\"))&&R.videoData.isLivePlayback&&(f=Math.min(f,V));f=rOG(K,R,f);K=g.mz(K.W.experiments,\"html5_byterate_soft_cap\");return new JG(0,f===4320?0:f,!1,\"d\",K)};\nh1_=function(K){var R,f,V,D;return g.I(function(H){switch(H.U){case 1:return K.U.U&&typeof((R=navigator.mediaCapabilities)==null?void 0:R.decodingInfo)===\"function\"?g.P(H,Promise.resolve(),2):H.return(Promise.resolve());case 2:f=g.Z(K.U.videoInfos),V=f.next();case 3:if(V.done){H.J5(0);break}D=V.value;return g.P(H,fFB(D),4);case 4:V=f.next(),H.J5(3)}})};\nit_=function(K,R,f,V){if(!R||!f||!R.videoData.K)return!1;var D=g.mz(K.W.experiments,\"html5_df_downgrade_thresh\"),H=K.Y(\"html5_log_media_perf_info\");if(!((0,g.N7)()-K.J<5E3?0:H||D>0))return!1;var l=((0,g.N7)()-K.J)/1E3;K.J=(0,g.N7)();f=f.getVideoPlaybackQuality();if(!f)return!1;var F=f.droppedVideoFrames-K.T,c=f.totalVideoFrames-K.Z;K.T=f.droppedVideoFrames;K.Z=f.totalVideoFrames;var r=f.displayCompositedVideoFrames===0?0:f.displayCompositedVideoFrames||-1;H&&K.W.oG()&&K.bD.KQ(\"ddf\",{dr:f.droppedVideoFrames,\nde:f.totalVideoFrames,comp:r});if(V)return K.U=0,!1;if((c-F)/l>K.EF||!D||g.cX(K.W))return!1;K.U=(c>60?F/c:0)>D?K.U+1:0;if(K.U!==3)return!1;oD2(K,R.videoData.K);K.bD.KQ(\"dfd\",Object.assign({dr:f.droppedVideoFrames,de:f.totalVideoFrames},SFD()));return!0};\noD2=function(K,R){var f=R.P5,V=R.video.fps,D=R.video.qualityOrdinal-1,H=K.X;R=\"\"+f+(V>49?\"p60\":V>32?\"p48\":\"\");f=Ch(f,V,H);D>0&&(f=Math.min(f,D));if(!$5.has(R)&&a0().includes(R)){var l=f;f=EC();+f[R]>0&&(l=Math.min(+f[R],l));f[R]!==l&&(f[R]=l,g.Pe(\"yt-player-performance-cap\",f,2592E3))}else if($5.has(R)||H==null){a:{l=l===void 0?!0:l;V=a0().slice();if(l){if(V.includes(R))break a;V.push(R)}else{if(!V.includes(R))break a;V.splice(V.indexOf(R),1)}g.Pe(\"yt-player-performance-cap-active-set\",V,2592E3)}sy.set(R,\nf)}else $5.add(R),H==null||H.set(R,f);K.bD.LM()};\nvDD=function(K,R){if(!R.U.U)return K.B?new JG(0,360,!1,\"b\"):Cc;for(var f=!1,V=!1,D=g.Z(R.U.videoInfos),H=D.next();!H.done;H=D.next())Jv(H.value)?f=!0:V=!0;f=f&&V;V=0;D=g.mz(K.W.experiments,\"html5_performance_cap_floor\");D=K.W.K?240:D;R=g.Z(R.U.videoInfos);for(H=R.next();!H.done;H=R.next()){var l=H.value;if(!f||!Jv(l))if(H=Ch(l.P5,l.video.fps,K.X),l=l.video.qualityOrdinal,Math.max(H,D)>=l){V=l;break}}return new JG(0,V,!1,\"b\")};\nLjh=function(K,R){var f=K.bD.nP();return f.isInline()&&!R.pH?new JG(0,480,!1,\"v\"):tP(R)?Cc:f.isBackground()&&ws()/1E3>60&&!g.cX(K.W)?new JG(0,360,!1,\"v\"):Cc};\nwhh=function(K,R,f){if(K.W.experiments.rU(\"html5_disable_client_autonav_cap_for_onesie\")&&R.fetchType===\"onesie\"||g.cX(K.W)&&(zn(-1)>=1080||R.osid))return Cc;var V=g.mz(K.W.experiments,\"html5_autonav_quality_cap\"),D=g.mz(K.W.experiments,\"html5_autonav_cap_idle_secs\");return V&&R.isAutonav&&ws()/1E3>D?(f&&(V=rOG(K,f,V)),new JG(0,V,!1,\"e\")):Cc};\nrOG=function(K,R,f){if(K.Y(\"html5_optimality_defaults_chooses_next_higher\")&&f)for(K=R.U.videoInfos,R=1;R=0||(K.provider.bD.getVisibilityState()===3?K.B=!0:(K.U=g.Wo(K.provider),K.delay.start()))};\nEDN=function(K){if(!(K.K<0)){var R=g.Wo(K.provider),f=R-K.J;K.J=R;K.playerState.state===8?K.playTimeSecs+=f:K.playerState.isBuffering()&&!g.G(K.playerState,16)&&(K.rebufferTimeSecs+=f)}};\na4N=function(K){var R;switch((R=K.W.playerCanaryStage)==null?void 0:R.toLowerCase()){case \"xsmall\":return\"HTML5_PLAYER_CANARY_STAGE_XSMALL\";case \"small\":return\"HTML5_PLAYER_CANARY_STAGE_SMALL\";case \"medium\":return\"HTML5_PLAYER_CANARY_STAGE_MEDIUM\";case \"large\":return\"HTML5_PLAYER_CANARY_STAGE_LARGE\";case \"xlarge\":return\"HTML5_PLAYER_CANARY_STAGE_XLARGE\";default:return\"HTML5_PLAYER_CANARY_STAGE_UNSPECIFIED\"}};\nQ7v=function(K){var R=this;this.provider=K;this.Z=!1;this.U=0;this.J=-1;this.N_=NaN;this.X=0;this.segments=[];this.N=this.T=0;this.previouslyEnded=!1;this.B=0;this.serializedPlaybackPingContextLoggingData=void 0;this.OC={sFp:function(){return R.serializedPlaybackPingContextLoggingData}};\nthis.UF=this.provider.bD.getVolume();this.EF=this.provider.bD.isMuted()?1:0;this.K=d7(this.provider)};\nFj=function(K){K.K.startTime=K.X;K.K.endTime=K.U;var R;if((R=K.serializedPlaybackPingContextLoggingData)==null?0:R.length)K.K.serializedPlaybackPingContextLoggingData=K.serializedPlaybackPingContextLoggingData;R=!1;K.segments.length&&g.p8(K.segments).isEmpty()?(K.segments[K.segments.length-1].previouslyEnded&&(K.K.previouslyEnded=!0),K.segments[K.segments.length-1]=K.K,R=!0):K.segments.length&&K.K.isEmpty()||(K.segments.push(K.K),R=!0);R?K.K.endTime===0&&(K.previouslyEnded=!1):K.K.previouslyEnded&&\n(K.previouslyEnded=!0);K.T+=K.U-K.X;K.K=d7(K.provider);K.K.previouslyEnded=K.previouslyEnded;K.provider.W.ph().U.aG(NcM)&&(K.B+=JSON.stringify(K.K).length);K.previouslyEnded=!1;K.X=K.U};\nWjc=function(K){UK_(K);K.N=g.xA(function(){K.update()},100);\nK.N_=g.Wo(K.provider);K.K=d7(K.provider)};\nUK_=function(K){g.a9(K.N);K.N=NaN};\ntaw=function(K,R,f){f-=K.N_;return R===K.U&&f>.5};\nAOM=function(K,R,f,V){this.W=R;this.Ch=f;this.segments=[];this.experimentIds=[];this.kW=this.Gt=this.isFinal=this.delayThresholdMet=this.Kh=this.aQ=this.autoplay=this.autonav=!1;this.nh=\"yt\";this.T=[];this.N=this.EF=null;this.sendVisitorIdHeader=this.Za=!1;this.Z=this.pageId=\"\";this.Dk=!1;this.B=f===\"watchtime\";this.X=f===\"playback\";this.B5=f===\"atr\";this.P9=f===\"engage\";this.sendVisitorIdHeader=!1;this.uri=this.B5?\"/api/stats/\"+f:\"//\"+R.jd+\"/api/stats/\"+f;V&&(this.Gt=V.fs,V.rtn&&(this.N=V.rtn),this.B?\n(this.playerState=V.state,V.rti>0&&(this.EF=V.rti)):(this.Fn=V.mos,this.WB=V.volume,V.at&&(this.adType=V.at)),V.autonav&&(this.autonav=V.autonav),V.inview!=null&&(this.vK=V.inview),V.size&&(this.XQ=V.size),V.playerwidth&&(this.OA=V.playerwidth),V.playerheight&&(this.qW=V.playerheight));this.FQ=g.kn(R.U);this.Z=vg(R.experiments,\"html5_log_vss_extra_lr_cparams_freq\");if(this.Z===\"all\"||this.Z===\"once\")this.hV=g.kn(R.Kh);this.MR=R.Fn;this.experimentIds=uHM(R.experiments);this.Ne=R.Dk;this.nh=R.UF;this.region=\nR.region;this.userAge=R.userAge;this.v5=R.Jb;this.SI=ws();this.sendVisitorIdHeader=R.sendVisitorIdHeader;this.y0=R.Y(\"vss_pings_using_networkless\")||R.Y(\"kevlar_woffle\");this.xN=R.Y(\"vss_final_ping_send_and_write\");this.er=R.Y(\"vss_use_send_and_write\");this.pageId=R.pageId;this.nT=R.Y(\"vss_playback_use_send_and_write\");R.livingRoomAppMode&&(this.livingRoomAppMode=R.livingRoomAppMode);g.kN(R)&&(this.G2=R.y0);g.Sz(g.Ml(R))&&this.T.push(1);this.accessToken=g.Ys(K);K.j1[this.Ch]?this.J=K.j1[this.Ch]:\nK.j1.playback&&(this.J=K.j1.playback);this.adFormat=K.adFormat;this.adQueryId=K.adQueryId;this.autoplay=vFM(K);this.X&&(this.aQ=K.ag&&qW(K)===\"adunit\"?!0:!1);this.autonav=K.isAutonav||this.autonav;this.contentVideoId=bv(K);this.clientPlaybackNonce=K.clientPlaybackNonce;this.Kh=K.nL;K.T&&(this.aY=K.T,this.bd=K.Jc);K.mdxEnvironment&&(this.mdxEnvironment=K.mdxEnvironment);this.U=K.hV;this.XG=K.XG;K.K&&(this.r4=K.K.itag,K.J&&K.J.itag!==this.r4&&(this.pQ=K.J.itag));K.U&&I0(K.U)&&(this.offlineDownloadUserChoice=\n\"1\");this.eventLabel=qW(K);this.kW=K.vK?!1:K.aQ;this.HU=K.Sf;if(R=AN(K))this.v9=R;this.MW=K.YL;this.partnerId=K.partnerId;this.eventId=K.eventId;this.playlistId=K.qX||K.playlistId;this.Sk=K.Sk;this.cR=K.cR;this.sT=K.sT;this.Zi=K.Zi;this.subscribed=K.subscribed;this.videoId=K.videoId;this.videoMetadata=K.videoMetadata;this.visitorData=K.visitorData;this.osid=K.osid;this.Oc=K.Oc;this.referrer=K.referrer;this.Qv=K.vT||K.Qv;this.OF=K.sY;this.xU=K.xU;this.userGenderAge=K.userGenderAge;this.fn=K.fn;this.embedsRct=\nK.embedsRct;this.embedsRctn=K.embedsRctn;g.kN(this.W)&&K.mutedAutoplay&&(K.mutedAutoplayDurationMode===2&&K.limitedPlaybackDurationInSeconds===0&&K.endSeconds===0?this.T.push(7):this.T.push(2));K.isEmbedsShortsMode(new g.lu(this.OA,this.qW),!!this.playlistId)&&this.T.push(3);g.Hm(K)&&this.T.push(4);this.oY=K.U0;K.compositeLiveIngestionOffsetToken&&(this.compositeLiveIngestionOffsetToken=K.compositeLiveIngestionOffsetToken);K=K.getPlayerResponse();var D,H;this.Dk=this.W.Y(\"html5_switch_vss_to_post\")||\n!!(K==null?0:(D=K.playerConfig)==null?0:(H=D.vssClientConfig)==null?0:H.vssUsePostRequest)};\nJO5=function(K,R){var f=K.sendVisitorIdHeader?K.visitorData:void 0;return g.r6(K.W,K.accessToken).then(function(V){return LN(K.uri,K.W,K.pageId,f,V,R)})};\nXhe=function(K,R){return function(){K.W.Y(\"html5_simplify_pings\")?(K.U=K.qe,K.M1=R(),K.SI=0,K.send()):JO5(K).then(function(f){var V=Ztc(K);V.cmt=V.len;V.lact=\"0\";var D=R().toFixed(3);V.rt=Number(D).toString();V=g.B9(K.uri,V);K.W.Y(\"vss_through_gel_double\")&&BcD(V);K.y0?(f==null&&(f={}),K.er?Y6().sendAndWrite(V,f):Y6().sendThenWrite(V,f)):f?g.Jm(V,f):g.PY(V)})}};\nZtc=function(K){var R={ns:K.nh,el:K.eventLabel,cpn:K.clientPlaybackNonce,ver:2,cmt:K.K(K.U),fmt:K.r4,fs:K.Gt?\"1\":\"0\",rt:K.K(K.M1),adformat:K.adFormat,content_v:K.contentVideoId,euri:K.MR,lact:K.SI,live:K.v9,cl:(830666133).toString(),mos:K.Fn,state:K.playerState,volume:K.WB};K.subscribed&&(R.subscribed=\"1\");Object.assign(R,K.FQ);K.Z===\"all\"?Object.assign(R,K.hV):K.Z===\"once\"&&K.X&&Object.assign(R,K.hV);K.autoplay&&(R.autoplay=\"1\");K.aQ&&(R.sautoplay=\"1\");K.Kh&&(R.dni=\"1\");!K.B&&K.G2&&(R.epm=kAo[K.G2]);\nK.isFinal&&(R[\"final\"]=\"1\");K.kW&&(R.splay=\"1\");K.XG&&(R.delay=K.XG);K.Ne&&(R.hl=K.Ne);K.region&&(R.cr=K.region);K.userGenderAge&&(R.uga=K.userGenderAge);K.userAge!==void 0&&K.v5&&(R.uga=K.v5+K.userAge);K.qe!==void 0&&(R.len=K.K(K.qe));!K.B&&K.experimentIds.length>0&&(R.fexp=K.experimentIds.toString());K.N!==null&&(R.rtn=K.K(K.N));K.Qv&&(R.feature=K.Qv);K.cR&&(R.ctrl=K.cR);K.sT&&(R.ytr=K.sT);K.pQ&&(R.afmt=K.pQ);K.offlineDownloadUserChoice&&(R.ODUC=K.offlineDownloadUserChoice);K.UF&&(R.lio=K.K(K.UF));\nK.B?(R.idpj=K.HU,R.ldpj=K.MW,K.delayThresholdMet&&(R.dtm=\"1\"),K.EF!=null&&(R.rti=K.K(K.EF)),K.fn&&(R.ald=K.fn),K.compositeLiveIngestionOffsetToken&&(R.clio=K.compositeLiveIngestionOffsetToken)):K.adType!==void 0&&(R.at=K.adType);K.XQ&&(K.X||K.B)&&(R.size=K.XQ);K.X&&K.T.length&&(R.pbstyle=K.T.join(\",\"));K.vK!=null&&(K.X||K.B)&&(R.inview=K.K(K.vK));K.B&&(R.volume=cH(K,g.JQ(K.segments,function(V){return V.volume})),R.st=cH(K,g.JQ(K.segments,function(V){return V.startTime})),R.et=cH(K,g.JQ(K.segments,\nfunction(V){return V.endTime})),V3(K.segments,function(V){return V.playbackRate!==1})&&(R.rate=cH(K,g.JQ(K.segments,function(V){return V.playbackRate}))),V3(K.segments,function(V){return V.U!==\"-\"})&&(R.als=g.JQ(K.segments,function(V){return V.U}).join(\",\")),V3(K.segments,function(V){return V.previouslyEnded})&&(R.pe=g.JQ(K.segments,function(V){return\"\"+ +V.previouslyEnded}).join(\",\")));\nR.muted=cH(K,g.JQ(K.segments,function(V){return V.muted?1:0}));\nV3(K.segments,function(V){return V.visibilityState!==0})&&(R.vis=cH(K,g.JQ(K.segments,function(V){return V.visibilityState})));\nV3(K.segments,function(V){return V.connectionType!==0})&&(R.conn=cH(K,g.JQ(K.segments,function(V){return V.connectionType})));\nV3(K.segments,function(V){return V.K!==0})&&(R.blo=cH(K,g.JQ(K.segments,function(V){return V.K})));\nV3(K.segments,function(V){return!!V.J})&&(R.blo=g.JQ(K.segments,function(V){return V.J}).join(\",\"));\nV3(K.segments,function(V){return!!V.compositeLiveStatusToken})&&(R.cbs=g.JQ(K.segments,function(V){return V.compositeLiveStatusToken}).join(\",\"));\nV3(K.segments,function(V){return!!V.heartbeatLoggingToken})&&(R.hb_data=g.JQ(K.segments,function(V){return V.heartbeatLoggingToken}).join(\",\"));\nV3(K.segments,function(V){return V.X!==\"-\"})&&(R.cc=g.JQ(K.segments,function(V){return V.X}).join(\",\"));\nV3(K.segments,function(V){return V.clipId!==\"-\"})&&(R.clipid=g.JQ(K.segments,function(V){return V.clipId}).join(\",\"));\nif(V3(K.segments,function(V){return!!V.audioId})){var f=\"au\";\nK.X&&(f=\"au_d\");R[f]=g.JQ(K.segments,function(V){return V.audioId}).join(\",\")}hm()&&K.aY&&(R.ctt=K.aY,R.cttype=K.bd,R.mdx_environment=K.mdxEnvironment);\nK.P9&&(R.etype=K.Xt!==void 0?K.Xt:0);K.OF&&(R.uoo=K.OF);K.livingRoomAppMode&&K.livingRoomAppMode!==\"LIVING_ROOM_APP_MODE_UNSPECIFIED\"&&(R.clram=Tcz[K.livingRoomAppMode]||K.livingRoomAppMode);K.J?PCv(K,R):(R.docid=K.videoId,R.referrer=K.referrer,R.ei=K.eventId,R.of=K.Oc,R.osid=K.osid,R.vm=K.videoMetadata,K.adQueryId&&(R.aqi=K.adQueryId),K.autonav&&(R.autonav=\"1\"),K.playlistId&&(R.list=K.playlistId),K.Zi&&(R.ssrt=\"1\"),K.xU&&(R.upt=K.xU));K.X&&(K.embedsRct&&(R.rct=K.embedsRct),K.embedsRctn&&(R.rctn=\nK.embedsRctn),K.compositeLiveIngestionOffsetToken&&(R.clio=K.compositeLiveIngestionOffsetToken));K.oY&&(R.host_cpn=K.oY);return R};\nPCv=function(K,R){if(R&&K.J){var f=new Set([\"q\",\"feature\",\"mos\"]),V=new Set(\"autoplay cl len fexp delay el ns adformat\".split(\" \")),D=new Set([\"aqi\",\"autonav\",\"list\",\"ssrt\",\"upt\"]);K.J.ns===\"3pp\"&&(R.ns=\"3pp\");for(var H=g.Z(Object.keys(K.J)),l=H.next();!l.done;l=H.next())l=l.value,V.has(l)||f.has(l)||D.has(l)&&!K.J[l]||(R[l]=K.J[l])}};\ncH=function(K,R){return g.JQ(R,K.K).join(\",\")};\nBcD=function(K){K.indexOf(\"watchtime\")!==-1&&g.h$(\"gelDebuggingEvent\",{vss3debuggingEvent:{vss2Ping:K}})};\nnDN=function(K,R){K.attestationResponse&&JO5(K).then(function(f){f=f||{};f.method=\"POST\";f.postParams={atr:K.attestationResponse};K.y0?K.er?Y6().sendAndWrite(R,f):Y6().sendThenWrite(R,f):g.Jm(R,f)})};\nI4e=function(K){var R={vssSegmentMetadata:[]};if(V3(K.segments,function(V){return!!V.serializedPlaybackPingContextLoggingData})){K=g.Z(K.segments);\nfor(var f=K.next();!f.done;f=K.next())R.vssSegmentMetadata.push({serializedPlaybackPingContextLoggingData:f.value.serializedPlaybackPingContextLoggingData||[\"\"]});return R}};\nr7=function(K){g.O.call(this);var R=this;this.provider=K;this.T=\"paused\";this.B=NaN;this.Z=[10,10,10,40];this.EF=this.N=0;this.aY=this.B5=this.Xt=this.UF=this.X=!1;this.K=this.J=NaN;this.logger=new g.vf(\"vss\");this.OC={Mlt:function(){return R.U}};\nthis.U=new Q7v(K)};\ngD_=function(K){var R=K.provider.videoData.Sf,f=K.provider.videoData.YL,V=[10+R,10,10,40+f-R,40],D,H=(D=K.provider.videoData.getPlayerResponse())==null?void 0:D.playbackTracking,l=H==null?void 0:H.videostatsScheduledFlushWalltimeSeconds;D=H==null?void 0:H.videostatsDefaultFlushIntervalSeconds;if(!(l&&l.length>0&&D))return V;R=[l[0]+R].concat(g.X(l.slice(1).map(function(F,c){return F-l[c]})),[D+f-R,\nD]);return R.some(function(F){return F<0})?(g.Lh(K.logger,347111855,\"Neg vss scheduled pings \"+l+\" \"+D),V):R};\nhV=function(K,R){R=R===void 0?NaN:R;var f=g.Wo(K.provider);R=isNaN(R)?f:R;R=Math.ceil(R);var V=K.Z[K.N];K.N+11E3;!(H.length>1)&&H[0].isEmpty()||F||(l.N=hV(K,D));l.send();K.EF++}},(D-f)*1E3);\nreturn K.J=D};\noX=function(K){g.E$(K.B);K.B=NaN};\nyX=function(K){K.U.update();K=K.U;K.segments.length&&K.U===K.X||Fj(K);var R=K.segments;K.segments=[];K.B=0;return R};\nSR=function(K,R){var f=j7N(K.provider);Object.assign(f,{state:K.T});R=new AOM(K.provider.videoData,K.provider.W,R,f);R.U=K.provider.bD.Xg();f=K.provider.videoData.clientPlaybackNonce;R.U=K.provider.bD.Br(f);K.provider.videoData.isLivePlayback||(R.qe=K.provider.bD.getDuration(f));K.provider.videoData.U&&(f=K.provider.videoData.U.IC(R.U))&&(R.UF=f-R.U,oU(K.provider.videoData)&&(R.U+=K.provider.bD.jy(),R.UF-=K.provider.bD.jy()));R.M1=g.Wo(K.provider);R.segments=[d7(K.provider)];return R};\nOtB=function(K,R){var f=SR(K,\"watchtime\");qFB(K)&&(f.delayThresholdMet=!0,K.Xt=!0);if(K.K>0){for(var V=g.Z(R),D=V.next();!D.done;D=V.next())D=D.value,D.startTime-=K.K,D.endTime-=K.K;f.U-=K.K}else f.U=K.U.U;f.segments=R;return f};\nib=function(K,R){var f=Ma5(K,!isNaN(K.J));R&&(K.J=NaN);return f};\nMa5=function(K,R){var f=OtB(K,yX(K));!isNaN(K.J)&&R&&(f.EF=K.J);return f};\nqFB=function(K){var R;if(R=K.provider.videoData.isLoaded()&&K.provider.videoData.XG&&K.X&&!K.Xt)R=K.U,R=R.T+R.Xg()-R.X>=K.provider.videoData.XG;return!!R};\nphB=function(K){K.provider.videoData.youtubeRemarketingUrl&&!K.B5&&(bte(K,K.provider.videoData.youtubeRemarketingUrl),K.B5=!0)};\nYFh=function(K){K.provider.videoData.googleRemarketingUrl&&!K.aY&&(bte(K,K.provider.videoData.googleRemarketingUrl),K.aY=!0)};\nmKM=function(K){if(!K.mZ()&&K.X){K.T=\"paused\";var R=ib(K);R.isFinal=!0;R.send();K.dispose()}};\nGAe=function(K,R){if(!K.mZ())if(g.G(R.state,2)||g.G(R.state,512)){if(K.T=\"paused\",g.rH(R,2)||g.rH(R,512))g.rH(R,2)&&(K.U.previouslyEnded=!0),K.X&&(oX(K),ib(K).send(),K.J=NaN)}else if(g.G(R.state,8)){K.T=\"playing\";var f=K.X&&isNaN(K.B)?hV(K):NaN;if(!isNaN(f)&&(cQ(R,64)<0||cQ(R,512)<0)){var V=Ma5(K,!1);V.N=f;V.send()}g.rH(R,16)&&R.state.seekSource===58&&(K.U.previouslyEnded=!0)}else K.T=\"paused\"};\nuTz=function(K,R,f){if(!K.UF){f||(f=SR(K,\"atr\"));f.attestationResponse=R;try{f.send()}catch(V){if(V.message!==\"Unknown Error\")throw V;}K.UF=!0}};\nbte=function(K,R){var f=K.provider.W;g.r6(K.provider.W,g.Ys(K.provider.videoData)).then(function(V){var D=K.provider.W.pageId,H=K.provider.W.sendVisitorIdHeader?K.provider.videoData.visitorData:void 0,l=K.provider.W.Y(\"vss_pings_using_networkless\")||K.provider.W.Y(\"kevlar_woffle\"),F=K.provider.W.Y(\"allow_skip_networkless\");V=LN(R,f,D,H,V);wx(R,V,{token:K.provider.videoData.T,kp:K.provider.videoData.Jc,mdxEnvironment:K.provider.videoData.mdxEnvironment},f,void 0,l&&!F,!1,!0)})};\ns7o=function(){this.endTime=this.startTime=-1;this.X=\"-\";this.playbackRate=1;this.visibilityState=0;this.audioId=\"\";this.volume=this.connectionType=this.K=0;this.muted=!1;this.U=this.clipId=\"-\";this.previouslyEnded=!1};\nvH=function(K,R,f){this.videoData=K;this.W=R;this.bD=f;this.U=void 0};\ng.Wo=function(K){return CCM(K)()};\nCCM=function(K){if(!K.U){var R=g.gW(function(V){var D=(0,g.N7)();V&&D<=631152E6&&(K.bD.KQ(\"ytnerror\",{issue:28799967,value:\"\"+D}),D=(new Date).getTime()+2);return D},K.W.Y(\"html5_validate_yt_now\")),f=R();\nK.U=function(){return Math.round(R()-f)/1E3};\nK.bD.GS()}return K.U};\nj7N=function(K){var R=K.bD.zY()||{};R.fs=K.bD.Ta();R.volume=K.bD.getVolume();R.muted=K.bD.isMuted()?1:0;R.mos=R.muted;R.clipid=K.bD.bU();var f;R.playerheight=((f=K.bD.getPlayerSize())==null?void 0:f.height)||0;var V;R.playerwidth=((V=K.bD.getPlayerSize())==null?void 0:V.width)||0;K=K.videoData;f={};K.K&&(f.fmt=K.K.itag,K.J&&(K.kW?K.J.itag!==K.K.itag:K.J.itag!=K.K.itag)&&(f.afmt=K.J.itag));f.ei=K.eventId;f.list=K.playlistId;f.cpn=K.clientPlaybackNonce;K.videoId&&(f.v=K.videoId);K.Bb&&(f.infringe=1);\n(K.vK?0:K.aQ)&&(f.splay=1);(V=AN(K))&&(f.live=V);K.ag&&(f.sautoplay=1);K.Z8&&(f.autoplay=1);K.Sk&&(f.sdetail=K.Sk);K.partnerId&&(f.partnerid=K.partnerId);K.osid&&(f.osid=K.osid);K.dS&&(f.cc=g.i6G(K.dS));return Object.assign(R,f)};\nlkv=function(K){var R=sVc();if(R)return e1w[R]||e1w.other;if(g.cX(K.W)){K=navigator.userAgent;if(/[Ww]ireless[)]/.test(K))return 3;if(/[Ww]ired[)]/.test(K))return 30}return 0};\nd7=function(K){var R=new s7o,f;R.X=((f=j7N(K).cc)==null?void 0:f.toString())||\"-\";R.playbackRate=K.bD.getPlaybackRate();f=K.bD.getVisibilityState();f!==0&&(R.visibilityState=f);K.W.OF&&(R.K=1);R.J=K.videoData.vg;R.compositeLiveStatusToken=K.videoData.compositeLiveStatusToken;R.heartbeatLoggingToken=K.videoData.heartbeatLoggingToken;f=K.bD.getAudioTrack();f.tV&&f.tV.id&&f.tV.id!==\"und\"&&(R.audioId=f.tV.id);R.connectionType=lkv(K);R.volume=K.bD.getVolume();R.muted=K.bD.isMuted();R.clipId=K.bD.bU()||\n\"-\";R.U=K.videoData.E0||\"-\";return R};\ng.Lz=function(K,R){g.O.call(this);var f=this;this.provider=K;this.X=new Map;this.NW=new g.S3;this.OC={mVZ:function(){return f.qoe},\nlI2:function(){return f.U},\nby5:function(){return f.K}};\nthis.provider.videoData.e4()&&!this.provider.videoData.v9&&(this.U=new r7(this.provider),this.U.K=0,g.q(this,this.U),this.qoe=new g.Qr(this.provider,R),g.q(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.iL=this.provider.videoData.clientPlaybackNonce)&&this.X.set(this.iL,this.U));if(K.W.playerCanaryState===\"canary\"||K.W.playerCanaryState===\"holdback\")this.K=new lb(this.provider),g.q(this,this.K)};\nKiN=function(K){K.K&&xKD(K.K);K.qoe&&ilz(K.qoe)};\nR0B=function(K){K.K&&K.K.send();if(K.qoe){var R=K.qoe;if(R.J){R.NW===\"PL\"&&(R.NW=\"N\");var f=g.Wo(R.provider);g.aN(R,f,\"vps\",[R.NW]);R.N||(R.X>=0&&R.U.set(\"user_intent\",[R.X.toString()]),R.N=!0);R.provider.W.oG()&&R.KQ(\"finalized\",{});R.y0=!0;R.reportStats(f)}}if(K.provider.videoData.enableServerStitchedDai)for(R=g.Z(K.X.values()),f=R.next();!f.done;f=R.next())mKM(f.value);else K.U&&mKM(K.U);K.dispose()};\nfTB=function(K,R){K.U&&uTz(K.U,R)};\nVbG=function(K){if(!K.U)return null;var R=SR(K.U,\"atr\");return function(f){K.U&&uTz(K.U,f,R)}};\nDqw=function(K,R,f,V){f.adFormat=f.pQ;var D=R.bD;R=new r7(new vH(f,R.W,{getDuration:function(){return f.lengthSeconds},\ngetCurrentTime:function(){return D.getCurrentTime()},\nXg:function(){return D.Xg()},\nBr:function(){return D.Br()},\nFy:function(){return D.Fy()},\ngetPlayerSize:function(){return D.getPlayerSize()},\ngetAudioTrack:function(){return f.getAudioTrack()},\ngetPlaybackRate:function(){return D.getPlaybackRate()},\nvS:function(){return D.vS()},\ngetVisibilityState:function(){return D.getVisibilityState()},\nMH:function(){return D.MH()},\nzY:function(){return D.zY()},\ngetVolume:function(){return D.getVolume()},\nisMuted:function(){return D.isMuted()},\nTa:function(){return D.Ta()},\nbU:function(){return D.bU()},\ngetProximaLatencyPreference:function(){return D.getProximaLatencyPreference()},\nGS:function(){D.GS()},\nKQ:function(H,l){D.KQ(H,l)},\nIh:function(){return D.Ih()},\njy:function(){return D.jy()},\nl0:function(){return D.l0()}}));\nR.K=V;g.q(K,R);return R};\nHL5=function(){this.B_=0;this.J=this.X=this.HP=this.Qd=this.K=NaN;this.U={};this.bandwidthEstimate=NaN};\n$qh=function(){this.U=g.IM;this.array=[]};\ndqB=function(K,R,f){var V=[];for(R=lTN(K,R);Rf)break}return V};\nw7=function(K,R){var f=[];K=g.Z(K.array);for(var V=K.next();!V.done&&!(V=V.value,V.contains(R)&&f.push(V),V.start>R);V=K.next());return f};\nFiN=function(K){return K.array.slice(lTN(K,0x7ffffffffffff),K.array.length)};\nlTN=function(K,R){K=oK(K.array,function(f){return R-f.start||1});\nreturn K<0?-(K+1):K};\ncxM=function(K,R){var f=NaN;K=g.Z(K.array);for(var V=K.next();!V.done;V=K.next())if(V=V.value,V.contains(R)&&(isNaN(f)||V.endR&&(isNaN(f)||V.startK.mediaTime+K.B&&R1)K.J=!0;if((D===void 0?0:D)||isNaN(K.K))K.K=R;if(K.U)R!==K.mediaTime&&(K.U=!1);else if(R>0&&K.mediaTime===R){D=1500;if(K.W.Y(\"html5_buffer_underrun_transition_fix\")){D=g.mz(K.W.experiments,\"html5_min_playback_advance_for_steady_state_secs\");var H=g.mz(K.W.experiments,\"html5_min_underrun_buffered_pre_steady_state_ms\");D=D>0&&H>0&&Math.abs(R-K.K)(V||!K.J?D:400)}K.mediaTime=R;K.X=f;return!1};\nLih=function(K,R){this.videoData=K;this.U=R};\nw3B=function(K,R,f){return R.cC(f).then(function(){return nI(new Lih(R,R.X))},function(V){V instanceof Error&&g.A$(V);\nvar D=V4('video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"'),H=HM('audio/mp4; codecs=\"mp4a.40.2\"'),l=D||H,F=R.isLivePlayback&&!g.z9(K.B,!0);V=\"fmt.noneavailable\";F?V=\"html5.unsupportedlive\":l||(V=\"html5.missingapi\");l=F||!l?2:1;D={buildRej:\"1\",a:R.Sz(),d:!!R.ZU,drm:R.Im(),f18:R.xX.indexOf(\"itag=18\")>=0,c18:D};R.U&&(R.Im()?(D.f142=!!R.U.U[\"142\"],D.f149=!!R.U.U[\"149\"],D.f279=!!R.U.U[\"279\"]):(D.f133=!!R.U.U[\"133\"],D.f140=!!R.U.U[\"140\"],D.f242=!!R.U.U[\"242\"]),D.cAAC=H,D.cAVC=HM('video/mp4; codecs=\"avc1.42001E\"'),\nD.cVP9=HM('video/webm; codecs=\"vp9\"'));R.B&&(D.drmsys=R.B.keySystem,H=0,R.B.U&&(H=Object.keys(R.B.U).length),D.drmst=H);return new g.e$(V,D,l)})};\nEg=function(K){this.data=window.Float32Array?new Float32Array(K):Array(K);this.K=this.U=K-1};\nz0B=function(K){return K.data[K.U]||0};\nxqz=function(K){this.B=K;this.X=this.K=0;this.J=new Eg(50)};\nQX=function(K,R,f){g.VQ.call(this);this.videoData=K;this.experiments=R;this.B=f;this.K=[];this.qd=0;this.X=!0;this.J=!1;this.T=0;f=new ERe;K.latencyClass===\"ULTRALOW\"&&(f.Z=!1);K.Rp?f.X=3:g.ks(K)&&(f.X=2);K.latencyClass===\"NORMAL\"&&(f.B=!0);f.UF=tP(K);if(K.latencyClass===\"LOW\"||K.latencyClass===\"ULTRALOW\")f.B=!0;var V=g.mz(R,\"html5_liveness_drift_proxima_override\");if(aU(K)!==0&&V){f.U=V;var D;((D=K.U)==null?0:cvG(D))&&f.U--}tP(K)&&R.rU(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&(f.aY=\n!0);if(g.mO(\"trident/\")||g.mO(\"edge/\"))D=g.mz(R,\"html5_platform_minimum_readahead_seconds\")||3,f.J=Math.max(f.J,D);g.mz(R,\"html5_minimum_readahead_seconds\")&&(f.J=g.mz(R,\"html5_minimum_readahead_seconds\"));g.mz(R,\"html5_maximum_readahead_seconds\")&&(f.EF=g.mz(R,\"html5_maximum_readahead_seconds\"));if(R=g.mz(R,\"html5_liveness_drift_chunk_override\"))f.U=R;Et(K)&&(f.U=(f.U+1)/5,K.latencyClass===\"LOW\"&&(f.U*=2));!tP(K)||K.latencyClass!==\"ULTRALOW\"&&K.latencyClass!==\"LOW\"||(f.N=3,f.T=25);this.policy=f;\nthis.N=this.policy.X!==1;this.U=aX(this,aTv(this,isNaN(K.liveChunkReadahead)?3:K.liveChunkReadahead,K))};\nQb5=function(K,R){if(R)return R=K.videoData,R=aTv(K,isNaN(R.liveChunkReadahead)?3:R.liveChunkReadahead,R),aX(K,R);if(K.K.length){if(Math.min.apply(null,K.K)>1)return aX(K,K.U-1);if(K.policy.Z)return aX(K,K.U+1)}return K.U};\nNLB=function(K,R){if(!K.K.length)return!1;var f=K.U;K.U=Qb5(K,R===void 0?!1:R);if(R=f!==K.U)K.K=[],K.qd=0;return R};\nUg=function(K,R){return R>=K.B1()-Ng(K)};\nUqz=function(K,R,f){R=Ug(K,R);f||R?R&&(K.X=!0):K.X=!1;K.N=K.policy.X===2||K.policy.X===3&&K.X};\nWic=function(K,R){R=Ug(K,R);K.J!==R&&K.publish(\"livestatusshift\",R);K.J=R};\nNg=function(K){var R=K.policy.U;K.J||(R=Math.max(R-1,0));return R*WH(K)};\naTv=function(K,R,f){f.Rp&&R--;Et(f)&&(R=1);if(aU(f)!==0&&(K=g.mz(K.experiments,\"html5_live_chunk_readahead_proxima_override\"))){R=K;var V;((V=f.U)==null?0:cvG(V))&&R++}return R};\nWH=function(K){return K.videoData.U?M0(K.videoData.U)||5:5};\naX=function(K,R){R=Math.max(Math.max(1,Math.ceil(K.policy.J/WH(K))),R);return Math.min(Math.min(8,Math.floor(K.policy.EF/WH(K))),R)};\nERe=function(){this.J=0;this.EF=Infinity;this.Z=!0;this.K=this.U=2;this.X=1;this.B=!1;this.T=10;this.aY=!1;this.N=1;this.UF=!1};\nJV=function(K){g.O.call(this);this.bD=K;this.U=0;this.K=null;this.T=this.J=0;this.X={};this.W=this.bD.C();this.B=new g.CW(this.zi,1E3,this);this.kW=tV(this,\"html5_seek_timeout_delay_ms\");this.Xt=tV(this,\"html5_long_rebuffer_threshold_ms\");this.Za=tV(this,\"html5_seek_set_cmt_delay_ms\",\"html5_seek_set_cmt_cfl\");this.er=tV(this,\"html5_seek_jiggle_cmt_delay_ms\",\"html5_seek_jiggle_cmt_cfl\");this.G2=tV(this,\"html5_seek_new_elem_delay_ms\",\"html5_seek_new_elem_cfl\");this.hV=tV(this,\"html5_unreported_seek_reseek_delay_ms\",\n\"html5_unreported_seek_reseek_cfl\");this.UF=tV(this,\"html5_long_rebuffer_jiggle_cmt_delay_ms\",\"html5_long_rebuffer_jiggle_cmt_cfl\");this.aY=new AV(2E4);this.qe=tV(this,\"html5_seek_new_elem_shorts_delay_ms\",\"html5_seek_new_elem_shorts_cfl\");this.Ne=tV(this,\"html5_seek_new_media_source_shorts_reuse_delay_ms\",\"html5_seek_new_media_source_shorts_reuse_cfl\");this.oY=tV(this,\"html5_seek_new_media_element_shorts_reuse_delay_ms\",\"html5_seek_new_media_element_shorts_reuse_cfl\");this.y0=tV(this,\"html5_reseek_after_time_jump_delay_ms\",\n\"html5_reseek_after_time_jump_cfl\");this.Z=tV(this,\"html5_gapless_handoff_close_end_long_rebuffer_delay_ms\",\"html5_gapless_handoff_close_end_long_rebuffer_cfl\");this.EF=tV(this,\"html5_gapless_slow_seek_delay_ms\",\"html5_gapless_slow_seek_cfl\");this.OF=tV(this,\"html5_shorts_gapless_ad_slow_start_delay_ms\",\"html5_shorts_gapless_ad_slow_start_cfl\");this.v5=tV(this,\"html5_shorts_gapless_slow_start_delay_ms\",\"html5_shorts_gapless_slow_start_cfl\");this.N=tV(this,\"html5_ads_preroll_lock_timeout_delay_ms\",\n\"html5_ads_preroll_lock_timeout_cfl\");this.pQ=new AV(g.mz(this.W.experiments,\"html5_skip_slow_ad_delay_ms\")||5E3,!this.W.Y(\"html5_report_slow_ads_as_error\"));this.bd=new AV(g.mz(this.W.experiments,\"html5_skip_slow_ad_delay_ms\")||5E3,!this.W.Y(\"html5_skip_slow_buffering_ad\"));this.Kh=tV(this,\"html5_slow_start_timeout_delay_ms\");this.B5=tV(this,\"html5_slow_start_no_media_source_delay_ms\",\"html5_slow_start_no_media_source_cfl\");g.q(this,this.B)};\ntV=function(K,R,f){f=f===void 0?null:f;var V=V===void 0?0:V;return new AV(g.mz(K.W.experiments,R)||V,f?K.W.Y(f):!1)};\ntbc=function(K,R){K.U=R};\nZM=function(K,R,f,V,D,H,l,F){R?R.test(f)?(K.EA(D,R,l),R.T||H()):(!R.K||R.J?f=!1:(f=(0,g.N7)(),V?R.U||(R.U=f):R.U=0,H=!V&&f-R.K>3E4,f=R.U&&f-R.U>1E3||H?R.J=!0:!1),f&&(F=Object.assign({},K.PK(R),F),F.wn=l,F.we=D,F.wsuc=V,K.bD.KQ(\"workaroundReport\",F),V&&(R.reset(),K.X[D]=!1))):K.bD.CK(\"auth\",2,\"BROWSER_OR_EXTENSION_ERROR\",Cb({source:\"watchdog\",name:l}))};\nAV=function(K,R){this.T=R===void 0?!1:R;this.U=this.K=this.X=this.startTimestamp=0;this.J=!1;this.B=Math.ceil(K/1E3)};\nBLc=function(K){g.O.call(this);var R=this;this.bD=K;this.Z=this.U=this.loader=this.mediaElement=this.playbackData=null;this.X=0;this.B=this.Xt=this.J=null;this.y0=!1;this.hV=0;this.aY=!1;this.timestampOffset=0;this.EF=!0;this.Ne=0;this.Za=this.Ch=!1;this.N=0;this.v5=!1;this.G2=this.B5=0;this.W=this.bD.C();this.videoData=this.bD.getVideoData();this.policy=new Axh;this.UF=new JV(this.bD);this.bd=this.oY=this.qe=this.T=this.K=NaN;this.er=new g.CW(function(){Jx2(R,!1)},2E3);\nthis.Gt=new g.CW(function(){BH(R)});\nthis.kW=new g.CW(function(){ZLo(R,{})});\nthis.Kh=NaN;this.pQ=new g.CW(function(){var f=R.W.oo;f.U+=1E4/36E5;f.U-f.X>1/6&&(UPc(f),f.X=f.U);R.pQ.start()},1E4);\ng.q(this,this.UF);g.q(this,this.er);g.q(this,this.kW);g.q(this,this.Gt);g.q(this,this.pQ)};\nTL5=function(K,R){K.playbackData=R;K.videoData.isLivePlayback&&(K.Z=new xqz(function(){a:{if(K.playbackData&&K.playbackData.U.U){if(xs(K.videoData)&&K.loader){var V=K.loader.lw.jI()||0;break a}if(K.videoData.U){V=K.videoData.U.y0;break a}}V=0}return V}),K.U=new QX(K.videoData,K.W.experiments,function(){return K.xY(!0)}));\nif(Xj(K.bD)){var f;(f=K.videoData.Cv)!=null&&f.bq||(R=X3e(K),R.pA?(tP(K.videoData)&&K.rr(R.pA,R.startSeconds),K.X=R.startSeconds):R.startSeconds>0&&K.seekTo(R.startSeconds,{oQ:\"seektimeline_startPlayback\",seekSource:15}));K.EF=!1}else kf5(K)||(K.X=K.X||K.videoData.startSeconds||0,K.videoData.isLivePlayback||(R=K.bD.videoData.xY(),K.X>R&&(K.Y(\"html5_sabr_log_invalid_sabr_current_time\")&&K.bD.KQ(\"invalidSabrCmtStart\",{rt:K.X,mst:R}),K.Y(\"html5_sabr_vod_invalid_start_time_fallback\")&&(K.X=0))))};\nnRB=function(K,R){(K.loader=R)?Pze(K,!0):k5(K)};\ngR2=function(K,R){var f=K.getCurrentTime(),V=K.isAtLiveHead(f);if(K.Z&&V){var D=K.Z;if(D.U&&!(f>=D.K&&f50&&D.K.shift())),D=K.U,Uqz(D,f,R===void 0?!0:R),Wic(D,f),R&&Jx2(K,!0));V!==K.Ch&&(R=K.getCurrentTime()-K.bd<=500,f=K.hV>=1E3,R||f||(R=K.bD.sC,R.qoe&&(R=R.qoe,f=g.Wo(R.provider),\ng.aN(R,f,\"lh\",[V?\"1\":\"0\"])),K.Ch=V,K.hV++,K.bd=K.getCurrentTime()))};\nJx2=function(K,R){if(K.U){var f=K.U;var V=K.getCurrentTime(),D=f.B1();var H=f.policy.K;f.J||(H=Math.max(H-1,0));H*=WH(f);V>=D-H||!f.sy()?f=Vf+1&&R0&&K.mediaElement.dg()>0&&(K.K=TG(K,K.K,!1)),R=K.Y(\"html5_pseudogapless_shorts_seek_to_next_start\")&&(R==null?void 0:R.seekSource)===60,!K.mediaElement||!YJ2(K,R))K.Gt.start(750);else if(!isNaN(K.K)&&isFinite(K.K)&&(R=K.oY-(K.K-K.timestampOffset),!(R===0||Math.abs(R)<.005)))if(R=K.mediaElement.getCurrentTime()-K.K,Math.abs(R)<=K.Ne||Math.abs(R)<.005)mqv(K);else{if(K.videoData.AF)K.videoData.AF=\n!1;else if(!LZ(K.videoData)&&K.K>=K.xY()-.1){K.K=K.xY();K.J.resolve(K.xY());K.W.oG()&&K.bD.KQ(\"setEndedInSeek\",{tgt:\"\"+K.K,maxst:\"\"+K.xY()});K.bD.GX();return}try{var f=K.K-K.timestampOffset;K.mediaElement.seekTo(f);K.UF.U=f;K.oY=f;K.X=K.K;K.aY=!1}catch(V){}}};\nYJ2=function(K,R){R=R===void 0?!1:R;if(!K.mediaElement||K.mediaElement.Rk()===0||K.mediaElement.hasError())return!1;var f=K.mediaElement.getCurrentTime()>0;return K.videoData.X&&K.videoData.X.U||K.videoData.isLivePlayback||!K.videoData.Im()?K.K>=0&&!R&&(R=K.mediaElement.mu(),R.length||!f)?pH(R,K.K-K.timestampOffset):f:f};\nmqv=function(K){K.J&&(K.J.resolve(K.mediaElement.getCurrentTime()),K.UF.K=null)};\nbLe=function(K,R){K.B&&(K.B.resolve(R),K.bD.Yz(),K.W.oG()||p3M(K))&&(R=K.PK(),R[\"native\"]=\"\"+ +K.aY,R.otgt=\"\"+(K.K+K.timestampOffset),K.bD.KQ(\"seekEnd\",R));k5(K)};\nk5=function(K){K.K=NaN;K.T=NaN;K.oY=NaN;K.J=null;K.Xt=null;K.B=null;K.y0=!1;K.aY=!1;K.Ne=0;K.er.stop();K.kW.stop()};\nu_B=function(K,R){var f=K.mediaElement,V=R.type;switch(V){case \"seeking\":var D=f.getCurrentTime()+K.timestampOffset;if(!K.J||K.aY&&D!==K.K){K.J=new y9;K.J.then(function(l){bLe(K,l)},function(){k5(K)});\nif(K.videoData.isAd()){var H;Z4_({adCpn:K.videoData.clientPlaybackNonce,contentCpn:(H=K.videoData.U0)!=null?H:\"\"},R.U)}K.oY=D;tbc(K.UF,f.getCurrentTime());K.seekTo(D,{seekSource:104,oQ:\"seektimeline_mediaElementEvent\"});K.aY=!0}break;case \"seeked\":mqv(K);break;case \"loadedmetadata\":Xj(K.bD)||Gfh(K);BH(K);break;case \"progress\":BH(K);break;case \"pause\":K.N=K.getCurrentTime()}K.N&&((V===\"play\"||V===\"playing\"||V===\"timeupdate\"||V===\"progress\")&&K.getCurrentTime()-K.N>10&&(K.Y(\"html5_sky_skip_pause_jump\")?\nK.bD.KQ(\"skipPauseJump\",{evt:V,cmt:K.getCurrentTime(),lpt:K.N}):K.seekTo(K.N,{oQ:\"pauseJump\"})),V!==\"pause\"&&V!==\"play\"&&V!==\"playing\"&&V!==\"progress\"&&(K.N=0))};\nsbo=function(K){return(TW(K.videoData)||!!K.videoData.liveUtcStartSeconds)&&(!!K.videoData.liveUtcStartSeconds||kf5(K))&&!!K.videoData.U};\nkf5=function(K){return!!K.videoData.startSeconds&&isFinite(K.videoData.startSeconds)&&K.videoData.startSeconds>1E9};\nX3e=function(K){var R=0,f=NaN,V=\"\";if(!K.EF)return{startSeconds:R,pA:f,source:V};K.videoData.eQ?R=K.videoData.Jx:LZ(K.videoData)&&(R=Infinity);if(g.ks(K.videoData))return{startSeconds:R,pA:f,source:V};K.videoData.startSeconds?(V=\"ss\",R=K.videoData.startSeconds):K.videoData.i9&&(V=\"stss\",R=K.videoData.i9);K.videoData.liveUtcStartSeconds&&(f=K.videoData.liveUtcStartSeconds);if(isFinite(R)&&(R>K.xY()||RK.xY()||f\n0?(V.onesie=\"0\",K.handleError(new g.e$(\"html5.missingapi\",V)),!1):!0};\nlG5=function(K){var R=jM();qy(R,K);return g.YQ(R,kUz())};\nDCG=function(K,R,f){var V,D,H,l,F,c,r,y,h,S,v,L,E,Q,J,A,B,k,b,M,Hc,fB,Rw,FG,yN,VN;return g.I(function(aw){if(aw.U==1)return R.fetchType=\"onesie\",V=nFe(R,K.getPlayerSize(),K.getVisibilityState()),D=new fN(K,V,f),g.P(aw,D.fetch(),2);H=aw.K;l={player_response:H};R.loading=!1;F=K.Gi.FA;if(D.bL){c=g.Z(D.bL.entries());for(r=c.next();!r.done;r=c.next())y=r.value,h=g.Z(y),S=h.next().value,v=h.next().value,L=S,E=v,F.U.set(L,E,180),L===R.videoId&&(Q=E.po(),R.zX=Q);F.lf=D}J=g.Z(D.Hd.entries());for(A=J.next();!A.done;A=\nJ.next())B=A.value,k=g.Z(B),b=k.next().value,M=k.next().value,Hc=b,fB=M,F.K.set(Hc,fB,180);g.fZ(R,l,!0);if(R.loading||KZ(R))return aw.return(Promise.resolve());F.U.removeAll();F.K.removeAll();R.zX=[];Rw={};FG=\"onesie.response\";yN=0;R.errorCode?(FG=\"auth\",Rw.ec=R.errorCode,Rw.ed=R.errorDetail,Rw.es=R.ZT||\"\",yN=2):(Rw.successButUnplayable=\"1\",Rw.disposed=\"\"+ +R.mZ(),Rw.afmts=\"\"+ +/adaptiveFormats/.test(H),Rw.cpn=R.clientPlaybackNonce);VN=new g.e$(FG,Rw,yN);return aw.return(Promise.reject(VN))})};\nRHz=function(K,R){var f,V,D,H,l,F,c,r,y,h,S;return g.I(function(v){switch(v.U){case 1:f=R.isAd(),V=!f,D=f?1:3,H=0;case 2:if(!(H0)){v.J5(5);break}return g.P(v,Ir(5E3),6);case 6:l=new g.NB(\"Retrying OnePlatform request\",{attempt:H}),g.A$(l);case 5:return g.Fp(v,7),g.P(v,dCw(K,R),9);case 9:return v.return();case 7:F=g.yH(v);c=R2(F);r=c.errorCode;y=K.C();h=y.Y(\"html5_use_network_error_code_enums\")?401:\"401\";V&&r===\"manifest.net.badstatus\"&&c.details.rc===h&&(V=!1,H===D-1&&(D+=\n1));if(H===D-1)return S=Fg2(f,c.details),S.details.backend=\"op\",S.details.originec=r,v.return(Promise.reject(S));if(r===\"auth\"||r===\"manifest.net.retryexhausted\")return v.return(Promise.reject(c));K.handleError(c);if(KH(c.severity)){v.J5(4);break}case 3:H++;v.J5(2);break;case 4:return v.return(Promise.reject(Fg2(f,{backend:\"op\"})))}})};\ndCw=function(K,R){function f(Rw){Rw.readyState===2&&K.B0(\"ps_c\")}\nvar V,D,H,l,F,c,r,y,h,S,v,L,E,Q,J,A,B,k,b,M,Hc,fB;return g.I(function(Rw){switch(Rw.U){case 1:R.fetchType=\"gp\";V=K.C();D=g.r6(V,g.Ys(R));if(!D.U){H=D.getValue();Rw.J5(2);break}return g.P(Rw,D.U,3);case 3:H=Rw.K;case 2:return l=H,F=lG5(l),c=nFe(R,K.getPlayerSize(),K.getVisibilityState()),r=g.C0(cpB),y=g.Ys(R),h=(0,g.N7)(),S=!1,v=\"empty\",L=0,K.B0(\"psns\"),E={y$:f},g.P(Rw,g.kQ(F,c,r,void 0,E),4);case 4:Q=Rw.K;K.B0(\"psnr\");if(R.mZ())return Rw.return();Q?\"error\"in Q&&Q.error?(S=!0,v=\"esf:\"+Q.error.message,\nL=Q.error.code):Q.errorMetadata&&(S=!0,v=\"its\",L=Q.errorMetadata.status):S=!0;if(S)return J=0,A=((0,g.N7)()-h).toFixed(),B={},B=V.Y(\"html5_use_network_error_code_enums\")?{backend:\"op\",rc:L,rt:A,reason:v,has_kpt:R.OF?\"1\":\"0\",has_mdx_env:R.mdxEnvironment?\"1\":\"0\",has_omit_key_flag:g.KI(\"INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT\")?\"1\":\"0\",has_page_id:V.pageId?\"1\":\"0\",has_token:y?\"1\":\"0\",has_vvt:R.aY?\"1\":\"0\",is_mdx:R.isMdxPlayback?\"1\":\"0\",mdx_ctrl:R.cR||\"\",token_eq:y===g.Ys(R)?\"1\":\"0\"}:{backend:\"op\",\nrc:\"\"+L,rt:A,reason:v,has_kpt:R.OF?\"1\":\"0\",has_mdx_env:R.mdxEnvironment?\"1\":\"0\",has_omit_key_flag:g.KI(\"INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT\")?\"1\":\"0\",has_page_id:V.pageId?\"1\":\"0\",has_token:y?\"1\":\"0\",has_vvt:R.aY?\"1\":\"0\",is_mdx:R.isMdxPlayback?\"1\":\"0\",mdx_ctrl:R.cR||\"\",token_eq:y===g.Ys(R)?\"1\":\"0\"},k=\"manifest.net.connect\",L===429?(k=\"auth\",J=2):L>200&&(k=\"manifest.net.badstatus\",L===400&&(J=2)),Rw.return(Promise.reject(new g.e$(k,B,J)));R.loading=!1;g.fZ(R,{raw_player_response:Q},!0);\nb=Q;g.Oc(R.C())&&b&&b.trackingParams&&cp(b.trackingParams);if(R.errorCode)return M={ec:R.errorCode,ed:R.errorDetail,es:R.ZT||\"\"},Rw.return(Promise.reject(new g.e$(\"auth\",M,2)));if(!R.loading&&!KZ(R))return Hc=R.isAd()?\"auth\":\"manifest.net.retryexhausted\",fB=R.isAd()?2:1,Rw.return(Promise.reject(new g.e$(Hc,{successButUnplayable:\"1\",hasMedia:g.ZN(R)?\"1\":\"0\"},fB)));g.lE(Rw)}})};\nKg_=function(K,R,f){function V(L){L=R2(L);if(KH(L.severity))return Promise.reject(L);K.handleError(L);return!1}\nfunction D(){return!0}\nvar H,l,F,c,r,y,h,S,v;return g.I(function(L){switch(L.U){case 1:var E=K.C();K.getPlayerSize();K.getVisibilityState();K.isFullscreen();if(R.partnerId===38&&E.playerStyle===\"books\")E=R.videoId.indexOf(\":\"),E=g.B9(\"//play.google.com/books/volumes/\"+R.videoId.slice(0,E)+\"/content/media\",{aid:R.videoId.slice(E+1),sig:R.uo});else if(R.partnerId===30&&E.playerStyle===\"docs\")E=g.B9(\"https://docs.google.com/get_video_info\",{docid:R.videoId,authuser:R.Ex,authkey:R.aL,eurl:E.Fn});else if(R.partnerId===33&&E.playerStyle===\n\"google-live\")E=g.B9(\"//google-liveplayer.appspot.com/get_video_info\",{key:R.videoId});else throw Error(\"getVideoInfoUrl for invalid namespace: \"+E.UF);H=E;F=(l=R.isAd())?1:3;c=0;case 2:if(!(c0)){L.J5(5);break}return g.P(L,Ir(5E3),6);case 6:y={playerretry:c,playerretrysrc:f},l||(y.recover=\"embedded\"),r=rG(H,y);case 5:return g.P(L,rpB(R,r).then(D,V),7);case 7:if(h=L.K)return L.return();c++;L.J5(2);break;case 4:S=l?\"auth\":\"manifest.net.retryexhausted\";v=l?2:1;if(!l&&Math.random()<\n1E-4)try{g.A$(new g.NB(\"b/152131571\",btoa(H)))}catch(Q){}return L.return(Promise.reject(new g.e$(S,{backend:\"gvi\"},v)))}})};\nrpB=function(K,R){function f(Q){return V(Q.xhr)}\nfunction V(Q){if(!K.mZ()){Q=Q?Q.status:-1;var J=0,A=((0,g.N7)()-y).toFixed();A=D.Y(\"html5_use_network_error_code_enums\")?{backend:\"gvi\",rc:Q,rt:A}:{backend:\"gvi\",rc:\"\"+Q,rt:A};var B=\"manifest.net.connect\";Q===429?(B=\"auth\",J=2):Q>200&&(B=\"manifest.net.badstatus\",Q===400&&(J=2));return Promise.reject(new g.e$(B,A,J))}}\nvar D,H,l,F,c,r,y,h,S,v,L,E;return g.I(function(Q){if(Q.U==1){K.fetchType=\"gvi\";D=K.C();var J={};K.EK&&(J.ytrext=K.EK);(F=g.ZL(J)?void 0:J)?(H={format:\"RAW\",method:\"POST\",withCredentials:!0,timeout:3E4,postParams:F},l=rG(R,{action_display_post:1})):(H={format:\"RAW\",method:\"GET\",withCredentials:!0,timeout:3E4},l=R);c={};D.sendVisitorIdHeader&&K.visitorData&&(c[\"X-Goog-Visitor-Id\"]=K.visitorData);(r=vg(D.experiments,\"debug_sherlog_username\"))&&(c[\"X-Youtube-Sherlog-Username\"]=r);Object.keys(c).length>\n0&&(H.headers=c);y=(0,g.N7)();return g.P(Q,JS(XN,l,H).then(void 0,f),2)}h=Q.K;if(!h||!h.responseText)return Q.return(V(h));K.loading=!1;S=Iw(h.responseText);g.fZ(K,S,!0);if(K.errorCode)return v={ec:K.errorCode,ed:K.errorDetail,es:K.ZT||\"\"},Q.return(Promise.reject(new g.e$(\"auth\",v,2)));if(!K.loading&&!KZ(K))return L=K.isAd()?\"auth\":\"manifest.net.retryexhausted\",E=K.isAd()?2:1,Q.return(Promise.reject(new g.e$(L,{successButUnplayable:\"1\"},E)));g.lE(Q)})};\nFg2=function(K,R){return new g.e$(K?\"auth\":\"manifest.net.retryexhausted\",R,K?2:1)};\nOg=function(K,R,f){f=f===void 0?!1:f;var V,D,H,l;g.I(function(F){if(F.U==1){V=K.C();if(f&&(!g.Hd(V)||qW(R)!==\"embedded\")||R.e8||qW(R)!==\"adunit\"&&(g.cX(V)||mT(V)||g.ke(V)||g.Db(V)||g.jA(V)||o4(V)===\"WEB_CREATOR\"))return F.return();D=g.r6(V,g.Ys(R));return D.U?g.P(F,D.U,3):(H=D.getValue(),F.J5(2))}F.U!=2&&(H=F.K);l=H;return F.return(yp2(K,R,l))})};\nyp2=function(K,R,f){var V,D,H,l,F;return g.I(function(c){if(c.U==1){g.Fp(c,2);V=lG5(f);var r=R.C(),y=g.Mm(),h={context:g.d9(R),videoId:R.videoId,racyCheckOk:R.racyCheckOk,contentCheckOk:R.contentCheckOk,autonavState:\"STATE_NONE\"};qW(R)===\"adunit\"&&(h.isAdPlayback=!0);r.embedConfig&&(h.serializedThirdPartyEmbedConfig=r.embedConfig);r.Xb&&(h.showContentOwnerOnly=!0);R.hv&&(h.showShortsOnly=!0);y.aG(141)&&(h.autonavState=y.aG(140)?\"STATE_OFF\":\"STATE_ON\");if(g.fc(r)){y=y.aG(65);y=y!=null?!y:!1;var S=\n!!g.n4(\"yt-player-sticky-caption\");h.captionsRequested=y&&S}var v;if(r=(v=r.getWebPlayerContextConfig())==null?void 0:v.encryptedHostFlags)h.playbackContext={encryptedHostFlags:r};D=h;H=g.C0(hHe);K.B0(\"wn_s\");return g.P(c,g.kQ(V,D,H),4)}if(c.U!=2)return l=c.K,K.B0(\"wn_r\"),!l||\"error\"in l&&l.error||(F=l,g.Oc(R.C())&&F.trackingParams&&cp(F.trackingParams),g.fZ(R,{raw_watch_next_response:l},!1)),g.rW(c,0);g.yH(c);g.lE(c)})};\nfGe=function(K,R){var f,V,D,H;g.I(function(l){if(l.U==1)return f=K.C(),V=g.r6(f,g.Ys(R)),V.U?g.P(l,V.U,3):(D=V.getValue(),l.J5(2));l.U!=2&&(D=l.K);H=D;return l.return(oKB(R,H))})};\noKB=function(K,R){var f,V,D,H;return g.I(function(l){if(l.U==1)return g.Fp(l,2),f=lG5(R),V={context:g.d9(K),playerRequest:{videoId:K.videoId},disablePlayerResponse:!0},D=g.C0(SiG),g.P(l,g.kQ(f,V,D),4);if(l.U!=2)return H=l.K,!H||\"error\"in H&&H.error||g.fZ(K,{raw_reel_item_watch_response:H}),g.rW(l,0);g.yH(l);g.lE(l)})};\nikc=function(K,R){K.B0(\"vir\");K.B0(\"ps_s\");ZR(\"vir\",void 0,\"video_to_ad\");R=$Cz(K,R);R.then(function(){K.B0(\"virc\");ZR(\"virc\",void 0,\"video_to_ad\");K.B0(\"ps_r\");ZR(\"ps_r\",void 0,\"video_to_ad\")},function(){K.B0(\"virc\");\nZR(\"virc\",void 0,\"video_to_ad\")});\nreturn R};\ng.Mg=function(K,R,f,V,D,H,l,F,c,r,y){r=r===void 0?new g.ee(K):r;y=y===void 0?!0:y;g.VQ.call(this);var h=this;this.W=K;this.playerType=R;this.ye=f;this.bR=V;this.getVisibilityState=H;this.visibility=l;this.Gi=F;this.IG=c;this.videoData=r;this.hJ=y;this.logger=new g.vf(\"VideoPlayer\");this.LK=null;this.hB=new fz;this.FT=null;this.ju=!0;this.sF=this.loader=null;this.NS=[];this.k0=new g7;this.pK=this.s3=null;this.jG=new g7;this.A0=null;this.gY=this.tE=!1;this.ek=NaN;this.Dw=!1;this.playerState=new g.S3;\nthis.GK=[];this.Tj=new g.de;this.mediaElement=null;this.ZR=this.LC=!1;this.aK=NaN;this.Fe=!1;this.Tz=0;this.zQ=!1;this.Rx=NaN;this.j0=0;this.loop=!1;this.playbackRate=1;this.XD=0;this.JO=!1;this.t0=[];this.aZ=this.Nq=0;this.j7=this.vp=!1;this.HP=this.Qd=0;this.cj=!1;this.Yu=this.EM=this.xg=this.BK=null;this.Qt=function(){var S=h.sC;S.provider.W.MR||S.provider.bD.getVisibilityState()===3||(S.provider.W.MR=!0);S.kZ();if(S.K){var v=S.K;v.B&&v.U<0&&v.provider.bD.getVisibilityState()!==3&&xKD(v)}S.qoe&&\n(S=S.qoe,S.kW&&S.X<0&&S.provider.W.MR&&ilz(S),S.J&&AT(S));h.loader&&jR(h);qg(h)};\nthis.OC={Oy:function(S){h.Oy(S)},\ncH0:function(S){h.LK=S},\nROa:function(){return h.sC},\nQZ:function(){return h.sF},\nsV5:function(){return h.sx},\nDhD:function(){return h.DP},\nmwU:function(){},\nC:function(){return h.W},\nCL:function(){return h.mediaElement},\nAHZ:function(S){h.hC(S)},\nNMr:function(){return h.bR}};\nthis.C4=new pWM(this);this.mC=new g.CW(this.kiF,15E3,this);this.ev=new PH(new Map([[\"bufferhealth\",function(){return ITB(h.Js)}],\n[\"bandwidth\",function(){return h.Rh()}],\n[\"networkactivity\",function(){return h.IG.Xt}],\n[\"livelatency\",function(){return h.isAtLiveHead()&&h.isPlaying()?vK2(h):NaN}],\n[\"rawlivelatency\",function(){return vK2(h)}]]));\nthis.Js=new BLc(this);this.yb=new g.CW(this.d1,0,this);this.jG5=[this.Tj,this.yb,this.mC,this.ev];this.NE=new vR5(this.W);this.SL=new HH(this.W,this.bR,this,this.IG);this.zA=new g.zG(this,function(S,v){S!==g.gI(\"endcr\")||g.G(h.playerState,32)||h.GX();D(S,v,h.playerType)});\ng.q(this,this.zA);g.q(this,this.Js);Lg5(this,r);this.videoData.subscribe(\"dataupdated\",this.r$D,this);this.videoData.subscribe(\"dataloaded\",this.Wk,this);this.videoData.subscribe(\"dataloaderror\",this.handleError,this);this.videoData.subscribe(\"ctmp\",this.KQ,this);this.videoData.subscribe(\"ctmpstr\",this.Bw,this);!this.sC||this.sC.mZ();this.sC=new g.Lz(new vH(this.videoData,this.W,this));g2N(this.Qt);this.visibility.subscribe(\"visibilitystatechange\",this.Qt);this.sx=new g.CW(this.IP,g.mz(this.W.experiments,\n\"html5_player_att_initial_delay_ms\")||4500,this);this.DP=new g.CW(this.IP,g.mz(this.W.experiments,\"html5_player_att_retry_delay_ms\")||4500,this);this.QR=new g.fe(this.lJW,350,this);g.q(this,this.QR)};\nLg5=function(K,R){if(K.playerType===2||K.W.sB)R.W$=!0;var f=z$e(R.pQ,R.ac,K.W.J,K.W.Z);f&&(R.adFormat=f);K.playerType===2&&(R.Z8=!0);if(K.isFullscreen()||K.W.J)f=g.n4(\"yt-player-autonavstate\"),R.autonavState=f||(K.W.J?2:K.videoData.autonavState);R.endSeconds&&R.endSeconds>R.startSeconds&&bb(K,R.endSeconds)};\nwlM=function(K){return g.cX(K.W)&&K.videoData.isLivePlayback&&(!K.W.Y(\"html5_allow_multiview_tile_preload\")||!K.videoData.eG)};\nzHz=function(K){var R=K.videoData;ikc(K,K.IG).then(void 0,function(f){K.videoData!==R||R.mZ()||(f=R2(f),f.errorCode===\"auth\"&&K.videoData.errorDetail&&K.videoData.errorDetail!==\"7\"?K.CK(f.errorCode,2,unescape(K.videoData.errorReason),Cb(f.details),K.videoData.errorDetail,K.videoData.ZT||void 0):K.handleError(f))})};\naGD=function(K){if(!g.G(K.playerState,128))if(K.videoData.isLoaded(),K.NS=g.$n(K.videoData.s$),g.ZN(K.videoData)){K.ye.tick(\"bpd_s\");pz(K).then(function(){K.ye.tick(\"bpd_c\");if(!K.mZ()){K.tE&&(K.EL(Ly(Ly(K.playerState,512),1)),Y5(K));var V=K.videoData;V.endSeconds&&V.endSeconds>V.startSeconds&&bb(K,V.endSeconds);K.k0.finished=!0;m9(K,\"dataloaded\");K.jG.Yr()&&xC_(K);z1B(K.SL,K.pK)}});\nK.Y(\"html5_log_media_perf_info\")&&K.KQ(\"loudness\",{v:K.videoData.w3.toFixed(3)},!0);var R,f=(R=K.mediaElement)==null?void 0:R.ud();if(f&&\"disablePictureInPicture\"in f&&K.W.Sf)try{f.disablePictureInPicture=K.W.ql&&!K.videoData.backgroundable}catch(V){g.A$(V)}EKw(K);K.Yu=new vW(K.videoData)}else m9(K,\"dataloaded\")};\npz=function(K){GG(K);K.pK=null;var R=w3B(K.W,K.videoData,K.dD());K.s3=R;K.s3.then(function(f){QS_(K,f)},function(f){K.mZ()||(f=R2(f),K.visibility.isBackground()?(ub(K,\"vp_none_avail\"),K.s3=null,K.k0.reset()):(K.k0.finished=!0,K.CK(f.errorCode,f.severity,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",Cb(f.details))))});\nreturn R};\nQS_=function(K,R){if(!K.mZ()&&!R.videoData.mZ()){K.pK=R;TL5(K.Js,K.pK);if(K.videoData.isLivePlayback){var f=N8c(K.Gi.FA,K.videoData.videoId)||K.loader&&!isNaN(K.loader.B5);f=K.Y(\"html5_onesie_live\")&&f;Xj(K)||K.videoData.oY>0&&!xs(K.videoData)||f||K.seekTo(K.xY(),{oQ:\"videoplayer_playbackData\",seekSource:18})}if(K.videoData.X.U){if(a_N(K.videoData)){K.CK(\"fmt.missing\",2,\"BROWSER_OR_EXTENSION_ERROR\",Cb({missabrurl:1}));return}K.loader?g.A$(Error(\"Duplicated Loader\")):(f=g.mz(K.W.experiments,\"html5_onesie_defer_content_loader_ms\"))&&\nK.Xs()&&N8c(K.Gi.FA,K.videoData.IL)?g.zs(function(){K.mZ()||K.loader||UCB(K)},f):UCB(K)}else!K.videoData.X.U&&uv(K.videoData)&&K.Ss(new X_(K.videoData.videoId||\"\",4));\nK.hR();h1_(R).then(function(){var V={};K.LM(V);K.W.oG()&&K.Y(\"html5_log_media_perf_info\")&&K.KQ(\"av1Info\",V);jR(K)})}};\nxC_=function(K){K.mZ();if(!K.jG.finished&&K.k0.finished&&!g.G(K.playerState,128)&&!K.NS.length){if(!K.zA.started){var R=K.zA;R.started=!0;R.sync()}if(!K.Zn()){if(K.loader){if(g.BI(K.ph())){R=K.loader;var f=!0;f=f===void 0?!1:f;R=Math.min(Kk(R.audioTrack,f),Kk(R.videoTrack,f))>0}else R=K.loader.timing,R=!!R.K&&!!R.X;K.gY=R}K.jG.finished||(K.jG.finished=!0);R=K.Y(\"html5_onesie_live\")&&K.loader&&!isNaN(K.loader.B5);!K.videoData.isLivePlayback||K.videoData.oY>0&&!xs(K.videoData)||R||Xj(K)||(K.seekTo(Infinity,\n{oQ:\"videoplayer_readying\",seekSource:18}),K.isBackground()&&(K.ZR=!0));R=K.sC;if(R.qoe){R=R.qoe;var V=R.provider.videoData;f=R.provider.W;for(var D=g.Z(f.uG),H=D.next();!H.done;H=D.next())Zf(R,H.value);if(R.provider.Y(\"html5_enable_qoe_cat_list\"))for(D=g.Z(V.FM),H=D.next();!H.done;H=D.next())Zf(R,H.value);else V.uG&&Zf(R,R.provider.videoData.uG);V.qY()&&(D=V.U,xs(V)&&Zf(R,\"manifestless\"),D&&M0(D)&&Zf(R,\"live-segment-\"+M0(D).toFixed(1)));tP(V)?Zf(R,\"sabr\"):R.RK(aU(V));if(mX(V)||V.Jh())V.Jh()&&Zf(R,\n\"ssa\"),Zf(R,\"lifa\");oU(V)&&Zf(R,\"cdm\");R.provider.videoData.eG&&Zf(R,\"mvtile\");V.gatewayExperimentGroup&&(D=V.gatewayExperimentGroup,D===\"EXPERIMENT_GROUP_SPIKY_AD_BREAK_EXPERIMENT\"?D=\"spkadtrt\":D===\"EXPERIMENT_GROUP_SPIKY_AD_BREAK_CONTROL\"&&(D=\"spkadctrl\"),Zf(R,D));f.UF!==\"yt\"&&R.U.set(\"len\",[V.lengthSeconds.toFixed(2)]);V.cotn&&!uv(V)&&R.Ee(!0);f.oG()&&(V=Hlw())&&R.KQ(\"cblt\",{m:V});if(f.Y(\"html5_log_screen_diagonal\")){f=R.KQ;var l;V=((l=window.H5vccScreen)==null?0:l.GetDiagonal)?window.H5vccScreen.GetDiagonal():\n0;f.call(R,\"cbltdiag\",{v:V})}}K.publish(\"playbackready\");A2(\"pl_c\",K.ye.timerName)||(K.ye.tick(\"pl_c\"),ZR(\"pl_c\",void 0,\"video_to_ad\"));A2(\"pbr\",K.ye.timerName)||(K.ye.tick(\"pbr\"),ZR(\"pbr\",void 0,\"video_to_ad\"))}}};\nbb=function(K,R){K.FT&&Wgv(K);K.FT=new g.nQ(R*1E3,0x7ffffffffffff);K.FT.namespace=\"endcr\";K.addCueRange(K.FT)};\nWgv=function(K){K.removeCueRange(K.FT);K.FT=null};\nt0e=function(K,R,f,V,D){var H=K.sC,l=K.videoData;l.K=f;var F=g.sg(K);f=new DKN(l,f,R,F?F.itag:\"\",V);K.W.experiments.rU(\"html5_refactor_sabr_video_format_selection_logging\")?(f.videoId=D,K.EM=f):H.qoe&&SDe(H.qoe,f);D=K.SL;D.K=0;D.U=0;K.publish(\"internalvideoformatchange\",l,R===\"m\")};\ng.sg=function(K){var R=Cz(K);return XA(R)||!K.pK?null:g.G$(K.pK.U.videoInfos,function(f){return R.J(f)})};\nCz=function(K){if(K.pK){var R=K.SL;var f=K.pK;K=K.F_();var V=$Kv(R);if(XA(V)){if(V=R.SV(f).compose(cO5(R,f)).compose(yOc(R,f)).compose(Ljh(R,f.videoData)).compose(whh(R,f.videoData,f)).compose(vDD(R,f)).compose(dK2(R,f)),XA(K)||R.Y(\"html5_apply_pbr_cap_for_drm\"))V=V.compose(FjN(R,f))}else R.Y(\"html5_perf_cap_override_sticky\")&&(V=V.compose(vDD(R,f))),R.Y(\"html5_ustreamer_cap_override_sticky\")&&(V=V.compose(FjN(R,f)));V=V.compose(dK2(R,f));R=f.videoData.sf.compose(V).compose(f.videoData.RN).compose(K)}else R=\nCc;return R};\nHZG=function(K){var R=K.SL;K=K.videoData;var f=Ljh(R,K);R.Y(\"html5_disable_client_autonav_cap_for_onesie\")||f.compose(whh(R,K));return f};\njR=function(K){if(K.videoData.X&&K.videoData.X.U){var R=Cz(K);if(K.loader&&(K=K.loader,!K.mZ()))if(K.policy.U){var f=K.J;if(R.isLocked()&&f.U.K||f.K===void 0||!R.equals(f.K)){f=K.J.K;zC5(K.J,R);var V,D;if(D=R.isLocked()&&R.reason===\"m\"){D=K.J;var H=(V=D.J)==null?void 0:V.info.video.qualityOrdinal;D=D.B5?!0:D.J?R.U!==H?!0:!D.U.K||D.WV.gR&&D.U.U===D.J.info.itag?!1:!0:!1}V=D;D=K.policy.rQ&&R.reason===\"l\";f=f.U>R.U&&R.reason===\"b\";V||D||f?(K.bD.Gb({reattachOnConstraint:V?\"u\":D?\"drm\":\"perf\",lo:R.K,up:R.U}),\nK.policy.gR||(K.J.U.K=!1)):(K.policy.gR&&(K.J.U.K=!1),F9(K))}}else!uIG(K.U,R)&&K.videoTrack&&(D=K.U.U,Mj(K,s5h(K.U,R)),gx(K),f=R.isLocked()&&R.reason===\"m\"&&K.U.aY,V=K.policy.rQ&&R.reason===\"l\"&&Hl(K.videoTrack),R=D.U>R.U&&R.reason===\"b\",D=K.U.kW&&!fy(),f||V||R||D?K.bD.Gb({reattachOnConstraint:f?\"u\":V?\"drm\":D?\"codec\":\"perf\"}):F9(K))}};\nApN=function(K){var R;return!!(K.Y(\"html5_native_audio_track_switching\")&&g.v7&&((R=K.videoData.K)==null?0:XH(R)))};\nJph=function(K){if(!ApN(K))return!1;var R;K=(R=K.mediaElement)==null?void 0:R.audioTracks();return!!(K&&K.length>1)};\nB8B=function(K){var R=Zk2(K);if(R)return K.videoData.getAvailableAudioTracks().find(function(f){return f.tV.getName()===R})};\nZk2=function(K){var R;if(K=(R=K.mediaElement)==null?void 0:R.audioTracks())for(R=0;R0&&(R.WB=f.G3));R.rQ=f.LZ;R.gk=e9(V,{},f.X||void 0,hN(f));R.OF=yx(f)&&(g.ke(V)||g.Db(V));tP(f)&&(R.B=!0,R.i6=V.Y(\"html5_estimate_live_partial_slice_duration\"),g.cX(V)&&!g.uj()&&V.Y(\"html5_force_audio_to_cover_video_keyframe\")?R.bd=!1:R.bd=!0,R.CM||f.isLivePlayback||!V.Y(\"html5_sabr_non_streaming_xhr_vod_client_request_cancellation\")||\n(R.Sf=!0,R.qh=g.mz(V.experiments,\"html5_sabr_non_streaming_xhr_vod_request_cancellation_timeout_ms\")),V.Y(\"html5_sabr_report_partial_segment_estimated_duration\")&&(R.yQ=!0),R.U=!0,R.Ys=V.Y(\"html5_trigger_loader_when_idle_network\"),R.uw=V.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\"),R.e8=V.Y(\"html5_consume_onesie_next_request_policy_for_sabr\"),R.Ur=V.Y(\"html5_sabr_report_next_ad_break_time\"),R.Sp=V.Y(\"html5_log_high_res_buffer_timeline\")&&V.oG(),R.s0=V.Y(\"html5_remove_stuck_slices_beyond_max_buffer_limits\"),\nR.vg=V.Y(\"html5_gapless_sabr_btl_last_slice\")&&rQ(f),R.Pf=V.Y(\"html5_reset_last_appended_slice_on_seek\")&&rQ(f),xs(f)?(R.ME=!0,R.JE=V.Y(\"html5_disable_variability_tracker_for_live\"),R.Za=!0,V.Y(\"html5_simplified_backup_timeout_sabr_live\")&&(R.Fn=!0,R.P9=R.RV)):R.vK=V.Y(\"html5_probe_request_on_sabr_request_progress\"),R.yx=V.Y(\"html5_serve_start_seconds_seek_for_post_live_sabr\"),R.HU=V.Y(\"html5_flush_index_on_updated_timestamp_offset\"),R.UF=tP(f),R.hc=V.Y(\"html5_ignore_partial_segment_from_live_readahead\"),\nV.Y(\"html5_include_partial_segment_for_jumbo_ll\")&&Et(f)&&(R.hc=!1),R.DK=V.Y(\"html5_use_non_active_broadcast_for_post_live\"),R.qe=V.Y(\"html5_use_centralized_player_time\"),R.Gt=V.Y(\"html5_log_centralized_player_time\"),R.Jb=V.Y(\"html5_consume_onesie_sabr_seek\"),R.aY=V.Y(\"html5_enable_sabr_seek_loader_refactor\"),R.XN=g.mz(V.experiments,\"html5_sabr_quota_exceeded_retry_buffer_health_secs\"),f.enableServerStitchedDai&&(R.K=!0,R.jK=V.Y(\"html5_reset_server_stitch_state_for_non_sabr_seek\"),R.hY=V.Y(\"html5_remove_ssdai_append_pause\")&&\n!f.Jh(),R.qW=V.Y(\"html5_ssdai_log_ssevt_in_loader_timers\")),R.zX=V.oG(),R.gT=f.qY()&&V.Y(\"html5_prebuffer_instream_media_live\")&&V.Y(\"html5_report_prefetch_requests\"),R.wT=!f.qY()&&V.Y(\"html5_prebuffer_instream_media_vod\")&&V.Y(\"html5_report_prefetch_requests\"),R.Co=V.Y(\"html5_disable_prebuffer_for_limited_memory_devices\"));R.r4=g.x32(f);Yi(V.B,mx.BITRATE)&&(R.c5=NaN);if(F=g.mz(V.experiments,\"html5_request_size_max_kb\"))R.Ne=F*1024;V.B.X?R.ND=\"; \"+mx.EXPERIMENTAL.name+\"=allowed\":V.Y(\"html5_enable_cobalt_tunnel_mode\")&&\ng.uj()&&(V=mx.TUNNELMODE,R.ND=\"; \"+V.name+\"=\"+V.valid);f=f.serverPlaybackStartConfig;(f==null?0:f.enable)&&(f==null?0:f.playbackStartPolicy)&&(R.G3=!0,r8(R,f.playbackStartPolicy,2));f=kxG(K);K.hB.removeAll();a:{V=K.Gi.FA;if(F=K.videoData.videoId)if(D=V.U.get(F)){V.U.remove(F);V=D;break a}V=void 0}K.loader=new nN(K,K.IG,R,K.videoData.U,K.videoData.X,Cz(K),f,K.videoData.enableServerStitchedDai,V,K.videoData.EF);R=K.videoData.Y(\"html5_disable_preload_for_ssdai_with_preroll\")&&K.videoData.isLivePlayback&&\nK.Xs()?!0:K.tE&&wlM(K);K.loader.initialize(K.getCurrentTime(),Cz(K),R);K.videoData.probeUrl&&(K.loader.Za=K.videoData.probeUrl);if(K.NS.length||K.tE)K.videoData.cotn||eR(K,!1);nRB(K.Js,K.loader);K.BK&&(Ikv(K.loader,K.BK),K.KQ(\"sdai\",{sdl:1}));g.RC(K.videoData)&&(K=K.loader,K.policy.ao=K.policy.QJ)};\nqg=function(K,R){R=R===void 0?!0:R;K.W.JE&&!K.videoData.backgroundable&&K.mediaElement&&!K.dD()&&(K.isBackground()&&K.mediaElement.W6()?(K.KQ(\"bgmobile\",{suspend:1}),K.dk(!0,!0)):!K.isBackground()&&R&&Y5(K)&&K.KQ(\"bgmobile\",{resume:1}))};\nGG=function(K){K.loader&&(K.loader.dispose(),K.loader=null,nRB(K.Js,null));K.JK()?PhN(K):K.pW()};\nPhN=function(K){if(K.sF)if(K.Ls(),K.sF.T)try{K.W.oG()&&K.KQ(\"rms\",{l:\"vprms\",sr:K.JK(),rs:Fn(K.sF)});K.sF.clear();var R;(R=K.mediaElement)==null||R.Va(K.sF);K.sF=null}catch(f){R=new g.NB(\"Error while clearing Media Source in VideoPlayer: \"+f.name+\", \"+f.message),R=R2(R),K.handleError(R),K.pW()}else K.pW()};\nnKB=function(K,R){if(K.sF)return K.sF.X;a:{R=R===void 0?!1:R;R=R===void 0?!1:R;try{g.uj()&&K.videoData.jE()&&K.mediaElement.Je();var f=K.mediaElement.QZ(K.V2(),K.VE())}catch(D){if(sW2(K.C4,\"html5.missingapi\",{updateMs:\"1\"}))break a;console.error(\"window.URL object overwritten by external code\",D);K.CK(\"html5.missingapi\",2,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"updateMs.1\");break a}K.OR(f,!1,!1,R)}var V;return((V=K.QZ())==null?void 0:V.X)||null};\nIG5=function(K,R){R=R===void 0?!1:R;if(K.loader){K.videoData.enableServerStitchedDai&&pmG(K.loader);var f=K.getCurrentTime()-K.jy();K.loader.seek(f,{DI:R}).rk(function(){})}else UCB(K)};\ngKB=function(K,R){if(K.sF){K.sF.uT(R);var f;(f=K.loader)!=null&&f.policy.qe&&(f.N=R)}};\nqj=function(K,R){t0e(K,R.reason,R.U.info,R.token,R.videoId)};\nm9=function(K,R){K.publish(\"internalvideodatachange\",R===void 0?\"dataupdated\":R,K.videoData)};\nOkh=function(K){for(var R=g.Z(\"loadstart loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize\".split(\" \")),f=R.next();!f.done;f=R.next())K.Tj.j(K.mediaElement,f.value,K.hC,K);K.W.TY&&K.mediaElement.JF()&&(K.Tj.j(K.mediaElement,\"webkitplaybacktargetavailabilitychanged\",K.lZ5,K),K.Tj.j(K.mediaElement,\"webkitcurrentplaybacktargetiswirelesschanged\",K.rVF,K))};\nqi_=function(K){g.a9(K.ek);jSc(K)||(K.ek=g.xA(function(){return jSc(K)},100))};\njSc=function(K){var R=K.mediaElement;R&&K.LC&&!K.videoData.Z&&!A2(\"vfp\",K.ye.timerName)&&R.Rk()>=2&&!R.isEnded()&&GF(R.A$())&&K.ye.tick(\"vfp\");return(R=K.mediaElement)&&!K.videoData.Z&&R.getDuration()>0&&(R.isPaused()&&R.Rk()>=2&&GF(R.A$())&&(A2(\"pbp\",K.ye.timerName)||K.ye.tick(\"pbp\"),!K.videoData.Fn||K.Dw||R.isSeeking()||(K.Dw=!0,K.publish(\"onPlaybackPauseAtStart\"))),R=R.getCurrentTime(),x5(K.NE,R))?(K.Iz(),!0):!1};\nbkz=function(K){K.sC.onProgress();if(LZ(K.videoData)&&Date.now()>K.XD+6283){if(K.Y(\"html5_unified_live_latency_reporting\")){var R=K.sC;R.qoe&&dyB(R.qoe)}else!K.isAtLiveHead()||K.videoData.U&&Oy(K.videoData.U)||(R=K.sC,R.qoe&&dyB(R.qoe));R=g.dI(K.W);var f=K.Y(\"html5_always_log_rawlat\");(R||f)&&K.KQ(\"rawlat\",{l:IX(K.ev,\"rawlivelatency\").toFixed(3)});K.XD=Date.now()}K.videoData.K&&XH(K.videoData.K)&&(R=K.XA())&&R.videoHeight!==K.aZ&&(K.aZ=R.videoHeight,t0e(K,\"a\",M0D(K,K.videoData.y0)))};\nM0D=function(K,R){if(R.U.video.quality===\"auto\"&&XH(R.getInfo())&&K.videoData.v5)for(var f=g.Z(K.videoData.v5),V=f.next();!V.done;V=f.next())if(V=V.value,V.getHeight()===K.aZ&&V.U.video.quality!==\"auto\")return V.getInfo();return R.getInfo()};\nvK2=function(K){if(!LZ(K.videoData))return NaN;var R=0;K.loader&&K.videoData.U&&(R=xs(K.videoData)?K.loader.lw.jI()||0:K.videoData.U.y0);return(0,g.N7)()/1E3-K.IC()-R};\nYiN=function(K){K.mediaElement&&K.mediaElement.dD()&&(K.Rx=(0,g.N7)());K.W.i6?g.zs(function(){plB(K)},0):plB(K)};\nplB=function(K){var R;if((R=K.sF)==null||!R.Po()){if(K.mediaElement)try{K.A0=K.mediaElement.playVideo()}catch(V){ub(K,\"err.\"+V)}if(K.A0){var f=K.A0;f.then(void 0,function(V){if(!(g.G(K.playerState,4)||g.G(K.playerState,256)||K.A0!==f||V&&V.name===\"AbortError\"&&V.message&&V.message.includes(\"load\"))){var D=\"promise\";V&&V.name&&(D+=\";m.\"+V.name);ub(K,D);K.JO=!0;K.videoData.vK=!0}})}}};\nub=function(K,R){g.G(K.playerState,128)||(K.EL(zT(K.playerState,1028,9)),K.KQ(\"dompaused\",{r:R}),K.publish(\"onAutoplayBlocked\"))};\nY5=function(K,R){R=R===void 0?!1:R;if(!K.mediaElement||!K.videoData.X)return!1;var f=R;f=f===void 0?!1:f;var V=null;var D;if((D=K.videoData.X)==null?0:D.U){V=nKB(K,f);var H;(H=K.loader)==null||H.resume()}else GG(K),K.videoData.y0&&(V=K.videoData.y0.zE());D=K.mediaElement.W6();f=!1;D&&D.equals(V)||(mCB(K,V),f=!0);g.G(K.playerState,2)||(V=K.Js,R=R===void 0?!1:R,V.B||!(V.X>0)||V.mediaElement&&V.mediaElement.getCurrentTime()>0||(R={oQ:\"seektimeline_resumeTime\",DI:R},V.videoData.Z||(R.seekSource=15),V.seekTo(V.X,\nR)));a:{R=f;if(tP(K.videoData)){if(!K.videoData.Im())break a}else if(!g.WD(K.videoData))break a;if(K.mediaElement)if((V=K.videoData.B)&&K.mediaElement.JF()){D=K.mediaElement.ud();if(K.LK)if(D!==K.LK.element)KE(K);else if(R&&V.flavor===\"fairplay\"&&!s$())KE(K);else break a;if(K.Y(\"html5_report_error_for_unsupported_tvos_widevine\")&&s$()&&V.flavor===\"widevine\")K.CK(\"fmt.unplayable\",1,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.unspttvoswidevine\");else{K.LK=new Z_w(D,K.videoData,K.W,K.mediaElement);K.LK.subscribe(\"licenseerror\",\nK.z7,K);K.LK.subscribe(\"qualitychange\",K.N4t,K);K.LK.subscribe(\"heartbeatparams\",K.Q7,K);K.LK.subscribe(\"keystatuseschange\",K.Oy,K);K.LK.subscribe(\"ctmp\",K.KQ,K);R=g.Z(K.hB.keys);for(V=R.next();!V.done;V=R.next())V=K.hB.get(V.value),K.LK.Ez(V);K.Y(\"html5_eme_loader_sync\")||K.hB.removeAll()}}else K.CK(\"fmt.unplayable\",1,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.updatedrm\")}return f};\nmCB=function(K,R){K.ye.tick(\"vta\");ZR(\"vta\",void 0,\"video_to_ad\");K.getCurrentTime()>0&&OLB(K.Js,K.getCurrentTime());K.mediaElement.activate(R);K.sF&&Vn(4);!K.videoData.Z&&K.playerState.isOrWillBePlaying()&&K.mC.start();if(ApN(K)){var f;if(R=(f=K.mediaElement)==null?void 0:f.audioTracks())R.onchange=function(){K.publish(\"internalaudioformatchange\",K.videoData,!0)}}};\nKE=function(K){K.LK&&(K.LK.dispose(),K.LK=null)};\nGxB=function(K){var R=R===void 0?!1:R;K.mediaElement&&(K.sF?(KE(K),K.pW(),nKB(K,R)):(K.videoData.y0&&K.videoData.y0.xC(),K.mediaElement.stopVideo()),K.playVideo())};\nuew=function(K,R){K.W.Y(\"html5_log_rebuffer_reason\")&&(R={r:R,lact:ws()},K.mediaElement&&(R.bh=K.mediaElement.xE()),K.KQ(\"bufreason\",R))};\nsS5=function(K,R){if(K.W.oG()&&K.mediaElement){var f=K.mediaElement.PK();f.omt=(K.mediaElement.getCurrentTime()+K.jy()).toFixed(3);f.ps=K.playerState.state.toString(16);f.rt=(g.Wo(K.sC.provider)*1E3).toFixed();f.e=R;K.t0[K.Nq++%5]=f}};\nChD=function(K){if(K.W.oG()){K.t0.sort(function(V,D){return+V.rt-+D.rt});\nfor(var R=g.Z(K.t0),f=R.next();!f.done;f=R.next())f=f.value,K.KQ(\"vpe\",Object.assign({t:f.rt},f));K.t0=[];K.Nq=0}};\neHG=function(K){if(g.mO(\"cobalt\")&&g.mO(\"nintendo switch\")){var R=!window.matchMedia(\"screen and (max-height: 720px) and (min-resolution: 200dpi)\").matches;K.KQ(\"nxdock\",{d:R})}};\neR=function(K,R){var f;(f=K.loader)==null||O6(f,R)};\nEKw=function(K){Vg(K.videoData,\"html5_set_debugging_opt_in\")&&(K=g.Mm(),K.aG(183)||(p4(183,!0),K.save()))};\nKQv=function(K){return K.Y(\"html5_remove_ios_7_hack_force_play\")};\nB92=function(K,R){K.Gi.Sg()||(K.KQ(\"sgap\",{f:R}),K.Gi.clearQueue(!1,R===\"pe\"))};\nXj=function(K){return K.Y(\"html5_disable_video_player_initiated_seeks\")&&tP(K.videoData)};\nRY5=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);cm(this.api,\"isLifaAdPlaying\",function(){return R.api.isLifaAdPlaying()});\nthis.events.j(K,\"serverstitchedvideochange\",function(){var f;(f=R.api.getVideoData())!=null&&f.Jh()&&(R.api.isLifaAdPlaying()?(R.playbackRate=R.api.getPlaybackRate(),R.api.setPlaybackRate(1)):R.api.setPlaybackRate(R.playbackRate))});\nthis.playbackRate=1};\nRj=function(K){l8.call(this,\"Loop\",g.oW.ue);this.G=K;var R=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M17.29 1.29C17.11 1.46 17.01 1.70 17.00 1.94C16.98 2.19 17.06 2.43 17.22 2.63L17.29 2.70L18.58 4H7C5.67 4 4.40 4.52 3.46 5.46C2.52 6.40 2 7.67 2 9V13C2 13.26 2.10 13.51 2.29 13.70C2.48 13.89 2.73 14 3 14C3.26 14 3.51 13.89 3.70 13.70C3.89 13.51 4 13.26 4 13V9C4 8.20 4.31 7.44 4.87 6.87C5.44 6.31 6.20 6 7 6H18.58L17.29 7.29C17.11 7.48 17.01 7.73 17.01 7.99C17.01 8.25 17.11 8.50 17.30 8.69C17.49 8.88 17.74 8.98 18.00 8.98C18.26 8.98 18.51 8.88 18.70 8.70L22.41 5L18.70 1.29L18.63 1.22C18.43 1.06 18.19 .98 17.94 1.00C17.70 1.01 17.46 1.11 17.29 1.29ZM21 10C20.73 10 20.48 10.10 20.29 10.29C20.10 10.48 20 10.73 20 11V15C20 15.79 19.68 16.55 19.12 17.12C18.55 17.68 17.79 18 17 18H5.41L6.70 16.70C6.80 16.61 6.87 16.50 6.93 16.38C6.98 16.26 7.01 16.12 7.01 15.99C7.01 15.86 6.98 15.73 6.93 15.60C6.88 15.48 6.81 15.37 6.71 15.28C6.62 15.18 6.51 15.11 6.39 15.06C6.26 15.01 6.13 14.98 6.00 14.98C5.87 14.98 5.73 15.01 5.61 15.06C5.49 15.12 5.38 15.19 5.29 15.29L1.58 19L5.29 22.70L5.36 22.77C5.56 22.92 5.80 23.00 6.04 22.99C6.29 22.98 6.52 22.87 6.70 22.70C6.87 22.52 6.98 22.29 6.99 22.04C7.00 21.80 6.92 21.56 6.77 21.36L6.70 21.29L5.41 20H17C18.32 20 19.59 19.47 20.53 18.53C21.47 17.59 22 16.32 22 15V11C22 10.73 21.89 10.48 21.70 10.29C21.51 10.10 21.26 10 21 10Z\",\nfill:\"white\"}}]}:$mD();this.setIcon(R);this.subscribe(\"select\",this.K,this);K.createClientVe(this.element,this,28661);this.j(K,\"settingsMenuVisibilityChanged\",this.U);this.listen(\"click\",this.logClick);this.j(K,\"onLoopChange\",this.onLoopChange);dt(this,K.getLoopVideo());K.BR().ZZ(this)};\nffh=function(K){K_.call(this,K);var R=this;K.addEventListener(\"settingsMenuInitialized\",function(){R.menuItem||(R.menuItem=new Rj(R.api),g.q(R,R.menuItem))});\nK.addEventListener(\"videodatachange\",function(f,V){f=R.api.getPresentingPlayerType()===2;var D;(D=R.menuItem)==null||D.dn(!V.isLivePlayback&&!f)})};\nVGG=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);cm(this.api,\"seekToChapterWithAnimation\",function(f){R.seekToChapterWithAnimation(f)});\ncm(this.api,\"seekToTimeWithAnimation\",function(f,V){R.seekToTimeWithAnimation(f,V)});\ncm(this.api,\"renderChapterSeekingAnimation\",function(f,V,D){R.api.renderChapterSeekingAnimation(f,V,D)});\ncm(this.api,\"setMacroMarkers\",function(f){R.setMacroMarkers(K,f)});\ncm(this.api,\"changeMarkerVisibility\",function(f,V,D){R.changeMarkerVisibility(f,V,D)});\ncm(this.api,\"isSameMarkerTypeVisible\",function(f){return R.isSameMarkerTypeVisible(f)})};\nDjv=function(K,R,f){var V=K.api.getCurrentTime()*1E30;)switch(R=FD.shift(),R.type){case \"ERROR\":dT.wi(R.payload);break;case \"EVENT\":dT.logEvent(R.eventType,R.payload)}});\ncm(this.api,\"queueOfflineAction\",this.queueOfflineAction.bind(this));cm(this.api,\"updateDownloadState\",this.updateDownloadState.bind(this));cm(this.api,\"pauseVideoDownload\",this.pauseVideoDownload.bind(this));cm(this.api,\"resumeVideoDownload\",this.resumeVideoDownload.bind(this));cm(this.api,\"isOrchestrationLeader\",this.isOrchestrationLeader.bind(this));cm(this.api,\"refreshAllStaleEntities\",this.refreshAllStaleEntities.bind(this));cm(this.api,\"setUpPositionSyncInterval\",this.setUpPositionSyncInterval.bind(this))};\nv3z=function(K){K_.call(this,K);var R=this;this.loaded=!1;this.overlay=null;this.events=new g.de(K);g.q(this,this.events);this.U=new g.de(K);g.q(this,this.U);this.events.j(K,\"modulesCreated\",function(){R.ge()&&R.load()});\nthis.events.j(K,\"modulesDestroyed\",function(f){var V=!0;switch(f){case 2:case 3:V=!1;break;case 4:V=R.api.getPresentingPlayerType()===1}V&&R.unload()})};\nH_=function(K){K_.call(this,K);var R=this;cm(K,\"getAvailableQualityData\",function(){return R.getAvailableQualityData()});\ncm(K,\"getAvailableQualityDataAndMessaging\",function(){return R.getAvailableQualityDataAndMessaging()})};\nLQv=function(K,R,f){var V=[],D=R?156595:151874;K=g.Z(K);for(var H=K.next();!H.done;H=K.next()){var l=H.value;H=l.video;l={formatId:l.id,qualityLabel:H.qualityLabel,quality:H.quality,isPlayable:R};if(H=f.get(H.qualityLabel))l.paygatedQualityDetails={paygatedIndicatorText:H.paygatedIndicatorText,endpoint:H.endpoint,veType:D,trackingParams:H.trackingParams};V.push(l)}return V};\nwoo=function(K){for(var R=0,f=0;f0&&D>0&&(f.width+=D,g.Ds(R.element,\"width\",f.width+\"px\")));K.size=f}};\ng.v_=function(K,R){var f=K.U[K.U.length-1];f!==R&&(K.U.push(R),n3v(K,f,R))};\ng.LE=function(K){if(!(K.U.length<=1)){var R=K.U.pop(),f=K.U[0];K.U=[f];n3v(K,R,f,!0)}};\nn3v=function(K,R,f,V){Ifh(K);R&&(R.unsubscribe(\"size-change\",K.VL,K),R.unsubscribe(\"back\",K.tb,K));f.subscribe(\"size-change\",K.VL,K);f.subscribe(\"back\",K.tb,K);if(K.EC){g.dy(f.element,V?\"ytp-panel-animate-back\":\"ytp-panel-animate-forward\");f.V0(K.content);f.focus();K.element.scrollLeft=0;K.element.scrollTop=0;var D=K.size;PqG(K);g.SX(K.element,D);K.X=new g.CW(function(){g3h(K,R,f,V)},20,K);\nK.X.start()}else f.V0(K.content),R&&R.detach()};\ng3h=function(K,R,f,V){K.X.dispose();K.X=null;g.dy(K.element,\"ytp-popup-animating\");V?(g.dy(R.element,\"ytp-panel-animate-forward\"),g.c2(f.element,\"ytp-panel-animate-back\")):(g.dy(R.element,\"ytp-panel-animate-back\"),g.c2(f.element,\"ytp-panel-animate-forward\"));g.SX(K.element,K.size);K.J=new g.CW(function(){g.c2(K.element,\"ytp-popup-animating\");R.detach();g.ry(R.element,[\"ytp-panel-animate-back\",\"ytp-panel-animate-forward\"]);K.J.dispose();K.J=null},250,K);\nK.J.start()};\nIfh=function(K){K.X&&g.Ke(K.X);K.J&&g.Ke(K.J)};\nw3=function(K){g.iI.call(this,K,\"ytp-shopping-product-menu\");this.Fw=new g.oj(this.G);g.q(this,this.Fw);this.hide();g.v_(this,this.Fw);g.nl(this.G,this.element,4)};\njNN=function(K,R,f){var V,D=R==null?void 0:(V=R.text)==null?void 0:V.simpleText;D&&(f=ONh(K,f,D,R==null?void 0:R.icon,R==null?void 0:R.secondaryIcon),R.navigationEndpoint&&f.listen(\"click\",function(){K.G.lD(\"innertubeCommand\",R.navigationEndpoint);K.hide()},K))};\nq6_=function(K,R,f){var V,D=R==null?void 0:(V=R.text)==null?void 0:V.simpleText;D&&ONh(K,f,D,R==null?void 0:R.icon).listen(\"click\",function(){var H;(R==null?void 0:(H=R.icon)==null?void 0:H.iconType)===\"HIDE\"?K.G.publish(\"featuredproductdismissed\"):R.serviceEndpoint&&K.G.lD(\"innertubeCommand\",R.serviceEndpoint);K.hide()},K)};\nONh=function(K,R,f,V,D){R=new g.ur(g.sD({},[],!1,!!D),R,f);D&&R.updateValue(\"secondaryIcon\",MGe(D));R.setIcon(MGe(V));g.q(K,R);K.Fw.ZZ(R,!0);return R};\nMGe=function(K){if(!K)return null;switch(K.iconType){case \"ACCOUNT_CIRCLE\":return{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 1c4.96 0 9 4.04 9 9 0 1.42-.34 2.76-.93 3.96-1.53-1.72-3.98-2.89-7.38-3.03A3.99 3.99 0 0016 9c0-2.21-1.79-4-4-4S8 6.79 8 9c0 1.97 1.43 3.6 3.31 3.93-3.4.14-5.85 1.31-7.38 3.03C3.34 14.76 3 13.42 3 12c0-4.96 4.04-9 9-9zM9 9c0-1.65 1.35-3 3-3s3 1.35 3 3-1.35 3-3 3-3-1.35-3-3zm3 12c-3.16 0-5.94-1.64-7.55-4.12C6.01 14.93 8.61 13.9 12 13.9c3.39 0 5.99 1.03 7.55 2.98C17.94 19.36 15.16 21 12 21z\",\nfill:\"#fff\"}}]};case \"FLAG\":return{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M13.18 4L13.42 5.2L13.58 6H14.4H19V13H13.82L13.58 11.8L13.42 11H12.6H6V4H13.18ZM14 3H5V21H6V12H12.6L13 14H20V5H14.4L14 3Z\",fill:\"white\"}}]};case \"HELP\":return LS();case \"HIDE\":return{V:\"svg\",L:{\"enable-background\":\"new 0 0 24 24\",fill:\"#fff\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"g\",S:[{V:\"path\",L:{d:\"M16.24,9.17L13.41,12l2.83,2.83l-1.41,1.41L12,13.41l-2.83,2.83l-1.41-1.41L10.59,12L7.76,9.17l1.41-1.41L12,10.59 l2.83-2.83L16.24,9.17z M4.93,4.93c-3.91,3.91-3.91,10.24,0,14.14c3.91,3.91,10.24,3.91,14.14,0c3.91-3.91,3.91-10.24,0-14.14 C15.17,1.02,8.83,1.02,4.93,4.93z M18.36,5.64c3.51,3.51,3.51,9.22,0,12.73s-9.22,3.51-12.73,0s-3.51-9.22,0-12.73 C9.15,2.13,14.85,2.13,18.36,5.64z\"}}]}]};\ncase \"OPEN_IN_NEW\":return El()}};\nz3=function(K){yv.call(this,K,!1,!0);this.isCounterfactual=this.X=this.isVisible=this.isInitialized=this.shouldShowOverflowButton=this.shouldHideDismissButton=!1;this.N=!0;this.overflowButton=new g.Y({V:\"button\",Me:[\"ytp-featured-product-overflow-icon\",\"ytp-button\"],L:{\"aria-haspopup\":\"true\"}});this.overflowButton.hide();g.q(this,this.overflowButton);this.badge.element.classList.add(\"ytp-suggested-action\");this.thumbnailImage=new g.Y({V:\"img\",D:\"ytp-suggested-action-badge-img\",L:{src:\"{{url}}\"}});\nthis.thumbnailImage.hide();g.q(this,this.thumbnailImage);this.thumbnailIcon=new g.Y({V:\"div\",D:\"ytp-suggested-action-badge-icon\"});this.thumbnailIcon.hide();g.q(this,this.thumbnailIcon);this.banner=new g.Y({V:\"a\",D:\"ytp-suggested-action-container\",S:[this.thumbnailImage,this.thumbnailIcon,{V:\"div\",D:\"ytp-suggested-action-details\",S:[{V:\"text\",D:\"ytp-suggested-action-title\",Q0:\"{{title}}\"},{V:\"text\",D:\"ytp-suggested-action-subtitle\",Q0:\"{{subtitle}}\"},{V:\"text\",D:\"ytp-suggested-action-metadata-text\",\nQ0:\"{{metadata}}\"}]},this.dismissButton,this.overflowButton]});g.q(this,this.banner);this.banner.V0(this.J.element);this.j(this.G,\"videodatachange\",this.onVideoDataChange);this.j(this.G,g.gI(\"suggested_action_view_model\"),this.qLF);this.j(this.G,g.OK(\"suggested_action_view_model\"),this.Asr);this.j(this.overflowButton.element,\"click\",this.Nj);this.j(K,\"featuredproductdismissed\",this.iA);this.G.createServerVe(this.banner.element,this.banner,!0)};\nbNh=function(K){K.isInitialized&&(K.enabled=K.isVisible,K.aY=K.isVisible,r3(K),K.O$(),K.thumbnailImage.dn(K.isVisible),K.shouldHideDismissButton||K.dismissButton.dn(K.isVisible),K.shouldShowOverflowButton&&K.overflowButton.dn(K.isVisible))};\nxf=function(){z3.apply(this,arguments)};\npoB=function(K){K_.call(this,K);this.U=new xf(this.api);g.q(this,this.U);g.nl(this.api,this.U.element,4)};\nEM=function(K){K_.call(this,K);var R=this;this.U=!0;var f=new g.de(K);g.q(this,f);f.j(K,\"internalaudioformatchange\",function(V,D){Y6v(R,V,D)});\nf.j(K,\"annotationvisibility\",function(V){R.api.Y(\"web_fix_annotations\")&&mjB(R,(294).toString(),{boolValue:V})});\nf.j(K,\"videoplayerreset\",function(){GRw(R)});\nf.j(K,\"videodatachange\",function(V,D){R.onVideoDataChange(V,D)})};\nY6v=function(K,R,f){if(f){var V=\"\";u9h(K,R)&&(V=R,K.api.C().Za=R);if(V&&sNc(K,V)){V4B(K.api,V);var D;ml(yG(K.api.C(),(D=K.api.getVideoData())==null?void 0:g.Ys(D)),function(H){var l=V;CqG(H)!==l&&mjB(K,eYB(H),{stringValue:l})})}}};\nGRw=function(K){var R;if((R=Np())==null?0:R.size){var f;ml(yG(K.api.C(),(f=K.api.getVideoData())==null?void 0:g.Ys(f)),function(V){(V=CqG(V))&&sNc(K,V)&&(K.api.C().Za=V)})}};\nR9B=function(K,R){G1(ml(ml(K.PU(),function(f){return pYc(f,[eYB(R)])}),function(f){if(f){f=g.Z(f);\nfor(var V=f.next();!V.done;V=f.next()){var D=V.value;V=D.key;D=D.value;V&&D&&(K9o([{settingItemId:V,settingOptionValue:D}]),GRw(K))}}}),function(){K.U=!0})};\nu9h=function(K,R){K=K.api.getAvailableAudioTracks();K=g.Z(K);for(var f=K.next();!f.done;f=K.next())if(f=f.value,f.getLanguageInfo().getId()===R)return f;return null};\nCqG=function(K){K=eYB(K);var R=Np();K=R?R.get(K):void 0;return K&&K.stringValue?K.stringValue:\"\"};\neYB=function(K){var R=(484).toString();K&&(R=(483).toString());return R};\nsNc=function(K,R){var f;return R.split(\".\")[0]!==\"\"&&((f=K.api.getVideoData())==null?void 0:!GW(f))};\nmjB=function(K,R,f){K9o([{settingItemId:R,settingOptionValue:f}]);ml(K.PU(),function(V){mQe(V,R,f)})};\nK9o=function(K){var R=Np();R||(R=new Map);K=g.Z(K);for(var f=K.next();!f.done;f=K.next())f=f.value,R.set(f.settingItemId,f.settingOptionValue);R=JSON.stringify(Object.fromEntries(R));g.Pe(\"yt-player-user-settings\",R,2592E3)};\nfMD=function(){this.label=\"Auto-dubbed\"};\ng.aj=function(K,R,f,V,D,H,l){g.ur.call(this,g.sD({\"aria-haspopup\":\"true\"}),R,K);this.W5=V;this.N=!1;this.OO=null;this.options={};this.fL=new g.oj(f,void 0,K,D,H,l);g.q(this,this.fL);this.listen(\"keydown\",this.eL);this.listen(\"click\",this.open)};\nVRN=function(K){if(K.OO){var R=K.options[K.OO];R.element.getAttribute(\"aria-checked\");R.element.setAttribute(\"aria-checked\",\"false\");K.OO=null}};\nDgw=function(K,R){g.SZ(K.fL);for(var f={},V=!1,D=0;Dy.start&&f>=5;E+=J}D=E.substr(0,4)+\" \"+E.substr(4,4)+\" \"+E.substr(8,4)+\" \"+(E.substr(12,4)+\" \"+E.substr(16,4))}else D=\"\";l={video_id_and_cpn:String(R.videoId)+\" / \"+D,codecs:\"\",dims_and_frames:\"\",bandwidth_kbps:l.toFixed(0)+\" Kbps\",buffer_health_seconds:c.toFixed(2)+\n\" s\",date:\"\"+(new Date).toString(),drm_style:r?\"\":\"display:none\",drm:r,debug_info:f,extra_debug_info:\"\",bandwidth_style:S,network_activity_style:S,network_activity_bytes:F.toFixed(0)+\" KB\",shader_info:h,shader_info_style:h?\"\":\"display:none\",playback_categories:\"\"};F=V.clientWidth+\"x\"+V.clientHeight+(y>1?\"*\"+y.toFixed(2):\"\");c=\"-\";H.totalVideoFrames&&(c=(H.droppedVideoFrames||0)+\" dropped of \"+H.totalVideoFrames);l.dims_and_frames=F+\" / \"+c;K=K.getVolume();F=wGD(R);var B;if((B=R.J)==null?0:B.audio.K)B=\n\"VB\";else{var k;B=((k=R.J)==null?0:k.audio.U)?\"DRC\":Math.round(K*F)+\"%\"}k=Math.round(K)+\"% / \"+B;B=R.w3.toFixed(1);isFinite(Number(B))&&(k+=\" (content loudness \"+B+\"dB)\");l.volume=k;l.resolution=V.videoWidth+\"x\"+V.videoHeight;if(V=R.K){if(k=V.video)B=k.fps,B>1&&(l.resolution+=\"@\"+B),(B=H.AC)&&B.video&&(l.resolution+=\" / \"+B.video.width+\"x\"+B.video.height,B.video.fps>1&&(l.resolution+=\"@\"+B.video.fps)),l.codecs=ize(V),!R.J||V.audio&&V.video?V.jY&&(l.codecs+=\" / \"+V.jY+\"A\"):l.codecs+=\" / \"+ize(R.J),\nk.U||k.primaries?(B=k.U||\"unknown\",B===\"smpte2084\"?B+=\" (PQ)\":B===\"arib-std-b67\"&&(B+=\" (HLG)\"),l.color=B+\" / \"+(k.primaries||\"unknown\"),l.color_style=\"\"):l.color_style=\"display:none\";if(V.debugInfo)for(l.fmt_debug_info=\"\",V=g.Z(V.debugInfo),k=V.next();!k.done;k=V.next())k=k.value,l.fmt_debug_info+=k.label+\":\"+k.text+\" \";l.fmt_debug_info_style=l.fmt_debug_info&&l.fmt_debug_info.length>0?\"\":\"display:none\"}V=R.isLivePlayback;k=R.V9;l.live_mode_style=V||k?\"\":\"display:none\";l.live_latency_style=V?\"\":\n\"display:none\";if(k)l.live_mode=\"Post-Live\"+(xs(R)?\" Manifestless\":\"\");else if(V){k=H.D2;l.live_latency_secs=k.toFixed(2)+\"s\";V=xs(R)?\"Manifestless, \":\"\";R.eQ&&(V+=\"Windowed, \");B=\"Uncertain\";if(k>=0&&k<120)if(R.latencyClass&&R.latencyClass!==\"UNKNOWN\")switch(R.latencyClass){case \"NORMAL\":B=\"Optimized for Normal Latency\";break;case \"LOW\":B=\"Optimized for Low Latency\";break;case \"ULTRALOW\":B=\"Optimized for Ultra Low Latency\";break;default:B=\"Unknown Latency Setting\"}else B=R.isLowLatencyLiveStream?\n\"Optimized for Low Latency\":\"Optimized for Smooth Streaming\";V+=B;(k=H.Ld)&&(V+=\", seq \"+k.sequence);l.live_mode=V}!H.isGapless||rQ(R)&&H.Sg||(l.playback_categories+=\"Gapless \");l.playback_categories_style=l.playback_categories?\"\":\"display:none\";l.bandwidth_samples=H.Mb;l.network_activity_samples=H.mX;l.live_latency_samples=H.Hl;l.buffer_health_samples=H.qd;H=g.RC(R);if(R.cotn||H)l.cotn_and_local_media=(R.cotn?R.cotn:\"null\")+\" / \"+H;l.cotn_and_local_media_style=l.cotn_and_local_media?\"\":\"display:none\";\nVg(R,\"web_player_release_debug\")?(l.release_name=d[42],l.release_style=\"\"):l.release_style=\"display:none\";l.debug_info&&v.length>0&&l.debug_info.length+v.length<=60?l.debug_info+=\" \"+v:l.extra_debug_info=v;l.extra_debug_info_style=l.extra_debug_info&&l.extra_debug_info.length>0?\"\":\"display:none\";return l};\nize=function(K){var R=/codecs=\"([^\"]*)\"/.exec(K.mimeType);return R&&R[1]?R[1]+\" (\"+K.itag+\")\":K.itag};\nT3=function(K,R,f,V,D){g.Y.call(this,{V:\"div\",D:\"ytp-horizonchart\"});this.T=R;this.sampleCount=f;this.J=V;this.B=D;this.index=0;this.heightPx=-1;this.X=this.K=null;this.U=Math.round(K/f);this.element.style.width=this.U*this.sampleCount+\"px\";this.element.style.height=this.T+\"em\"};\nP_=function(K,R){if(K.heightPx===-1){var f=null;try{f=g.tB(\"CANVAS\"),K.K=f.getContext(\"2d\")}catch(F){}if(K.K){var V=K.U*K.sampleCount;K.X=f;K.X.width=V;K.X.style.width=V+\"px\";K.element.appendChild(K.X)}else for(K.sampleCount=Math.floor(K.sampleCount/4),K.U*=4,f=0;f1?2:1,K.X.height=K.heightPx*f,K.X.style.height=\nK.heightPx+\"px\",K.K.scale(1,f)));R=g.Z(R);for(V=R.next();!V.done;V=R.next()){f=K;var D=K.index,H=V.value;for(V=0;V+20&&g.Ba(R.K.element);V.classList.add(\"ytp-timely-actions-overlay\");R.K.element.appendChild(V)});\ng.q(this,this.K);this.Y(\"web_player_overlay_positioned_layout\")?this.events.j(K,\"basechromeinitialized\",function(){R.api.gm(R.K.element,4,!0);R.K.element.setAttribute(\"data-overlay-order\",\"10\")}):g.nl(this.api,this.K.element,4)};\nB72=function(K){K.timelyActions&&(K.J=K.timelyActions.reduce(function(R,f){if(f.cueRangeId===void 0)return R;R[f.cueRangeId]=0;return R},{}))};\nOM=function(K,R){if(K.timelyActions){K=g.Z(K.timelyActions);for(var f=K.next();!f.done;f=K.next())if(f=f.value,f.cueRangeId===R)return f}};\nXH5=function(K,R){if((K=OM(K,R))&&K.onCueRangeExit)return XY(K.onCueRangeExit)};\ntR2=function(K,R){return K.X===void 0?!1:R.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD\"&&Number(R.seekLengthMilliseconds)===5E3?K.X===72:R.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD\"&&Number(R.seekLengthMilliseconds)===1E4?K.X===74:R.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD\"&&Number(R.seekLengthMilliseconds)===5E3?K.X===71:R.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD\"&&Number(R.seekLengthMilliseconds)===1E4?K.X===73:!1};\nkGG=function(K,R){var f=Number(R==null?void 0:R.maxVisibleDurationMilliseconds);f&&(jZ(K),K.aY=setTimeout(function(){if(K.U!==void 0&&(R==null?void 0:R.cueRangeId)===K.U){K.EF=!1;var V=XH5(K,K.U);V&&K.api.lD(\"innertubeCommand\",V)}},f))};\njZ=function(K){K.aY&&clearTimeout(K.aY);K.aY=void 0;K.EF=!1};\nAV2=function(K){if(K=K.getWatchNextResponse()){var R,f;K=(R=K.playerOverlays)==null?void 0:(f=R.playerOverlayRenderer)==null?void 0:f.timelyActionsOverlayViewModel;R=g.z(K,T72);if(R!=null&&R.timelyActions)return R==null?void 0:R.timelyActions.map(function(V){return g.z(V,Pbh)}).filter(function(V){return!!V})}};\nn5N=function(K){K_.call(this,K);var R=this;r9(this.api,\"getPlaybackRate\",function(){return R.api.getPlaybackRate()});\nr9(this.api,\"setPlaybackRate\",function(f){typeof f===\"number\"&&R.api.setPlaybackRate(f)})};\nqh=function(K,R,f,V){l8.call(this,\"Voice boost\",g.oW.Od);this.G=K;this.X=R;this.K=f;this.getVoiceBoostState=V;this.U=!1;this.W5=this.G.Y(\"html5_enable_new_audio_settings_menu\")?K.BR().vC:K.BR();this.j(K,\"onFilterAudioFeatures\",this.Th);this.setIcon({V:\"svg\",L:{fill:\"currentColor\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M11.48 2.14 3.91 6.68A6 6 0 0 0 1 11.83v.33a6 6 0 0 0 2.91 5.14l7.57 4.54A1 1 0 0 0 13 21V3a1.00 1.00 0 0 0-1.51-.85Zm6.88 2.07a1 1 0 0 0-.00 1.41 9 9 0 0 1 0 12.72 1 1 0 0 0 1.41 1.41 11 11 0 0 0 0-15.55 1 1 0 0 0-1.41 0ZM4.94 8.40l.00-.00L11 4.76v14.46l-6.05-3.63A4 4 0 0 1 3 12.16v-.33a4 4 0 0 1 1.94-3.42ZM15.53 7.05a1 1 0 0 0 0 1.41 5 5 0 0 1 0 7.07 1 1 0 0 0 1.41 1.41 6.99 6.99 0 0 0 0-9.9 1 1 0 0 0-1.41 0Z\"}}]});\nthis.subscribe(\"select\",this.J,this);this.Th()};\nMh=function(K){K_.call(this,K);var R=this;this.events=new g.de(K);g.q(this,this.events);var f=this.api.Y(\"html5_enable_voice_boost\");f&&this.events.j(K,\"settingsMenuInitialized\",function(){IMv(R)});\ncm(this.api,\"getVoiceBoostUserPreference\",function(){return f?R.getVoiceBoostUserPreference():0});\ncm(this.api,\"setVoiceBoostUserPreference\",function(D){f&&R.setVoiceBoostUserPreference(D)});\ncm(this.api,\"getVoiceBoostState\",function(){return f?R.getVoiceBoostState():1});\nvar V;this.U=(V=dYM())!=null?V:0;this.updateEnvironmentData()};\nIMv=function(K){K.menuItem||(K.menuItem=new qh(K.api,function(R){K.setVoiceBoostUserPreference(R)},function(){return K.getVoiceBoostUserPreference()},function(){return K.getVoiceBoostState()}),g.q(K,K.menuItem))};\ng5G=function(K){K=K.y9();if(!K)return!1;K=g.FN(K).exp||\"\";return K.includes(\"xpv\")||K.includes(\"xpe\")};\nOzz=function(K){K=g.Z(g.bI(K,!0));for(var R=K.next();!R.done;R=K.next())if(g5G(R.value))return!0;return!1};\njXw=function(K,R){K=g.Z(g.bI(K,!0));for(var f=K.next();!f.done;f=K.next())if(f=f.value,g5G(f)){var V={potc:\"1\",pot:R};f.url&&(f.url=cS(f.url,V))}};\nqg5=function(K){return g.I(function(R){if(R.U==1)return g.Fp(R,2),g.P(R,K,4);if(R.U!=2)return g.rW(R,0);g.yH(R);g.lE(R)})};\npE=function(K){K_.call(this,K);var R=this;this.useLivingRoomPoToken=!1;this.B=new g.hn;this.U=!1;this.ye=null;this.N=!1;this.J=null;this.T=!1;var f=K.C().getWebPlayerContextConfig();this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"spsumpreject\",function(D,H,l){R.T=H;D&&R.N&&!R.J&&(R.Y(\"html5_generate_content_po_token\")&&l?R.Og(l):R.Y(\"html5_generate_session_po_token\")&&MRB(R));R.J||R.api.KQ(\"stp\",{s:+R.N,b:+R.T})});\nthis.events.j(K,\"poTokenVideoBindingChange\",function(D){R.Og(D)});\nif(this.Y(\"html5_web_po_on_demand_init\"))var V=this.events.j(K,\"videodatachange\",function(D,H){H.eD&&!R.N&&(bzB(R),R.events.hs(V))});\nthis.useLivingRoomPoToken=!(f==null||!f.useLivingRoomPoToken);K.addEventListener(\"csiinitialized\",function(){R.ye=K.MH();R.Y(\"html5_web_po_on_demand_init\")?R.X=bsB():bzB(R)});\nK.addEventListener(\"trackListLoaded\",this.iH.bind(this));K.bS(this)};\nbzB=function(K){var R=(K.Y(\"html5_generate_session_po_token\")||K.Y(\"html5_generate_content_po_token\"))&&!K.useLivingRoomPoToken;try{if(K.Y(\"html5_use_shared_owl_instance\"))pHo(K);else if(R){K.ye.n7(\"pot_isc\");var f=g.mz(K.api.C().experiments,\"html5_webpo_kaios_defer_timeout_ms\");f?(YgN(K),g.zs(function(){Yf(K)},f)):K.Y(\"html5_webpo_idle_priority_job\")?(YgN(K),g.ez(g.R8(),function(){Yf(K)})):Yf(K)}}catch(V){V instanceof Error&&g.A$(V)}};\nmgG=function(K){var R=vg(K.experiments,\"html5_web_po_request_key\");return R?R:g.cX(K)?\"Z1elNkAKLpSR3oPOUMSN\":\"O43z0dpjhgX20SCx4KAo\"};\nGG_=function(K){var R=new QxM,f={},V=(f[\"X-Goog-Api-Key\"]=\"AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw\",f);return new wz(R,K,function(){return V})};\nuj_=function(K){return new zQ(K)};\nmn=function(K,R){K.Y(\"html5_webpo_bge_ctmp\")&&K.api.KQ(R,{hwpo:!!K.K,hwpor:K.U})};\npHo=function(K){var R,f;g.I(function(V){if(V.U==1)return mn(K,\"swpo_i\"),YgN(K),G3(K),g.P(V,l1(),2);if(V.U!=3)return R=V.K,mn(K,\"swpo_co\"),g.P(V,Kkz(R),3);f=V.K;K.Y(\"html5_web_po_token_disable_caching\")||f.M5(150);K.K=f;mn(K,\"swpo_cc\");qg5(f.SC()).then(function(){K.U=!0;K.B.resolve();mn(K,\"swpo_re\")});\ng.zs(function(){Yf(K);mn(K,\"swpo_si\")},0);\ng.lE(V)})};\nCbB=function(K){var R=K.api.C(),f=mgG(R);f=GG_(f);var V=f.nR.bind(f);f.nR=function(F){var c;return g.I(function(r){if(r.U==1)return g.P(r,V(F),2);c=r.K;K.api.KQ(\"itr\",{});return r.return(c)})};\ntry{var D=uj_({lf:f,y8:{maxAttempts:5},UR:{PR:\"CLEn\",disable:R.experiments.rU(\"html5_web_po_disable_remote_logging\"),s6:GFw(R.experiments),QL:function(F){var c=sX5.get(F);c||(c=new jaD(F),c=new g.gC(c),sX5.set(F,c));return c},\neFr:K.Y(\"wpo_dis_lfdms\")?0:1E3},m1r:g.A$});var H=new gz({r8:D,lf:f,onError:g.A$});qg5(H.SC()).then(function(){K.U=!0;K.B.resolve()});\nK.Y(\"html5_web_po_token_disable_caching\")||H.M5(150);g.q(K,D);g.q(K,H);K.K=H}catch(F){g.A$(F);var l;(l=D)==null||l.dispose()}};\nYf=function(K){var R=K.api.C();K.ye.n7(\"pot_ist\");K.K||CbB(K);K.Y(\"html5_bandaid_attach_content_po_token\")||(K.Y(\"html5_generate_session_po_token\")&&(G3(K),MRB(K)),R=g.mz(R.experiments,\"html5_session_po_token_interval_time_ms\")||0,R>0&&(K.Z=g.xA(function(){G3(K)},R)),K.N=!0)};\nG3=function(K){var R,f,V,D;g.I(function(H){if(!K.Y(\"html5_generate_session_po_token\")||K.useLivingRoomPoToken)return H.return();R=K.api.C();f=g.KI(\"EOM_VISITOR_DATA\")||g.KI(\"VISITOR_DATA\");V=R.ao?R.datasyncId:f;D=vg(R.experiments,\"html5_mock_content_binding_for_session_token\")||R.livingRoomPoTokenId||V;R.v9=uI(K,D);g.lE(H)})};\nuI=function(K,R){if(!K.K){if(K.X)try{return K.X(R)}catch(H){g.A$(H)}return\"\"}try{K.ye.n7(K.U?\"pot_cms\":\"pot_csms\");var f={VW:!0,BY:!0,Q2:R};K.Y(\"html5_web_po_token_disable_caching\")||(f.DA={Hk:R,a_:!0,b8:!0});var V=K.K.zW(f);K.ye.n7(K.U?\"pot_cmf\":\"pot_csmf\");if(K.U){var D;(D=K.J)==null||D.resolve();K.J=null;K.T&&(K.T=!1,K.api.app.LQ().f3(!1))}return V}catch(H){return g.A$(H),\"\"}};\nMRB=function(K){K.K&&(K.J=new y9,K.B.promise.then(function(){K.ye.n7(\"pot_if\");G3(K)}))};\nYgN=function(K){K.X||(K.X=bsB())};\ng.sM=function(K,R,f){g.yb(K.element,\"ytp-suggestion-set\",!!R.videoId);var V=R.playlistId;f=R.AK(f?f:\"mqdefault.jpg\");var D=null,H=null;R instanceof XQ&&(R.lengthText?(D=R.lengthText||null,H=R.h2||null):R.lengthSeconds&&(D=g.zE(R.lengthSeconds),H=g.zE(R.lengthSeconds,!0)));var l=!!V;V=l&&Zb(V).type===\"RD\";var F=R instanceof XQ?R.isLivePlayback:null,c=R instanceof XQ?R.isUpcoming:null,r=R.author,y=R.shortViewCount,h=R.publishedTimeText,S=[],v=[];r&&S.push(r);y&&(S.push(y),v.push(y));h&&v.push(h);f=\n{title:R.title,author:r,author_and_views:S.join(\" \\u2022 \"),aria_label:R.ariaLabel||g.sK(\"Watch $TITLE\",{TITLE:R.title}),duration:D,timestamp:H,url:R.mq(),is_live:F,is_upcoming:c,is_list:l,is_mix:V,background:f?\"background-image: url(\"+f+\")\":\"\",views_and_publish_time:v.join(\" \\u2022 \"),autoplayAlternativeHeader:R.T9};R instanceof Bd&&(f.playlist_length=R.playlistLength);K.update(f)};\ng.CE=function(K){var R=K.C(),f=g.Du||g.Bg?{style:\"will-change: opacity\"}:void 0,V=R.J,D=[\"ytp-modern-videowall-still\"];R.K&&D.push(\"ytp-videowall-show-text\");g.Y.call(this,{V:\"a\",Me:D,L:{href:\"{{url}}\",target:V?R.EF:\"\",\"aria-label\":\"{{aria_label}}\",\"data-is-live\":\"{{is_live}}\",\"data-is-list\":\"{{is_list}}\",\"data-is-mix\":\"{{is_mix}}\"},S:[{V:\"div\",D:\"ytp-modern-videowall-still-image\",L:{style:\"{{background}}\"},S:[{V:\"span\",D:\"ytp-modern-videowall-still-info-duration\",Q0:\"{{duration}}\"}]},{V:\"span\",D:\"ytp-modern-videowall-still-info\",\nL:{\"aria-hidden\":\"true\"},S:[{V:\"span\",D:\"ytp-modern-videowall-still-info-bg\",S:[{V:\"span\",D:\"ytp-modern-videowall-still-info-content\",L:f,S:[{V:\"span\",D:\"ytp-modern-videowall-still-info-title\",Q0:\"{{title}}\"},{V:\"span\",D:\"ytp-modern-videowall-still-info-author\",Q0:\"{{author}}\"},{V:\"span\",D:\"ytp-modern-videowall-still-view-count-and-date-info\",Q0:\"{{views_and_publish_time}}\"},{V:\"span\",D:\"ytp-modern-videowall-still-info-live\",Q0:\"Live\"}]}]}]},{V:\"span\",Me:[\"ytp-modern-videowall-still-listlabel-regular\",\n\"ytp-modern-videowall-still-listlabel\"],L:{\"aria-hidden\":\"true\"},S:[{V:\"span\",D:\"ytp-modern-videowall-still-listlabel-icon\"},\"Playlist\",{V:\"span\",D:\"ytp-modern-videowall-still-listlabel-length\",S:[\" (\",{V:\"span\",Q0:\"{{playlist_length}}\"},\")\"]}]},{V:\"span\",Me:[\"ytp-modern-videowall-still-listlabel-mix\",\"ytp-modern-videowall-still-listlabel\"],L:{\"aria-hidden\":\"true\"},S:[{V:\"span\",D:\"ytp-modern-videowall-still-listlabel-mix-icon\"},\"Mix\",{V:\"span\",D:\"ytp-modern-videowall-still-listlabel-length\",Q0:\" (50+)\"}]}]});\nthis.suggestion=null;this.K=V;this.api=K;this.U=new g.de(this);g.q(this,this.U);this.listen(\"click\",this.onClick);this.listen(\"keypress\",this.onKeyPress);this.U.j(K,\"videodatachange\",this.onVideoDataChange);K.createServerVe(this.element,this);this.onVideoDataChange()};\ng.e9B=function(K,R){if(K.suggestion!==R){K.suggestion=R;var f=K.api.C(),V=\"hqdefault.jpg\";R.AK(\"sddefault.jpg\")&&(V=\"sddefault.jpg\");g.sM(K,R,V);g.kN(f)&&!K.api.Y(\"web_player_log_click_before_generating_ve_conversion_params\")&&(f=R.mq(),V={},g.hX(K.api,\"addEmbedsConversionTrackingParams\",[V]),f=g.B9(f,V),K.updateValue(\"url\",f));(R=(R=R.sessionData)&&R.itct)&&K.api.setTrackingParams(K.element,R)}};\nKnB=function(K,R){g.Y.call(this,{V:\"div\",Me:[\"ytp-fullscreen-grid\"],S:[{V:\"div\",D:\"ytp-fullscreen-grid-hover-overlay\",L:{\"aria-keyshortcuts\":\"v\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-tooltip-target-id\":\"ytp-fullscreen-grid-expand-button\",\"data-tooltip-offset-y\":\"-70\"}},{V:\"div\",D:\"ytp-fullscreen-grid-buttons-container\",S:[{V:\"button\",Me:[\"ytp-fullscreen-grid-expand-button\",\"ytp-button\"],L:{\"aria-keyshortcuts\":\"v\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-tooltip-target-id\":\"ytp-fullscreen-grid-expand-button\",\n\"data-tooltip-offset-y\":\"-10\"},S:[\"{{icon}}\"]}]},{V:\"div\",D:\"ytp-fullscreen-grid-main-content\",S:[{V:\"div\",D:\"ytp-fullscreen-grid-stills-container\"}]}]});this.player=K;this.stills=[];this.videoData=null;this.currentState=0;this.N=this.player.Y(\"web_player_use_external_grid_component\");(this.aY=this.player.Y(\"web_player_enable_horizontal_endscreen_shelf\"))&&g.dy(this.player.getRootNode(),\"ytp-enable-horizontal-endscreen-shelf\");this.J=this.IY(\"ytp-fullscreen-grid-main-content\");this.T=this.IY(\"ytp-fullscreen-grid-stills-container\");\nthis.Z=this.IY(\"ytp-fullscreen-grid-buttons-container\");this.N&&(this.T.style.display=\"none\");this.B=new g.de(this);g.q(this,this.B);this.UF=R;if(this.J&&this.T){if(K=this.IY(\"ytp-fullscreen-grid-hover-overlay\"))this.j(K,\"click\",this.ot),Ny(this.player,K,this);if(K=this.IY(\"ytp-fullscreen-grid-expand-button\"))this.j(K,\"click\",this.ot),Ny(this.player,K,this);if(K=this.player.getVideoData(1))this.videoData=K;this.player.createClientVe(this.J,this,223051);this.B.j(this.player,\"videodatachange\",this.onVideoDataChange)}};\nRrz=function(K,R){var f=\"\",V=g.UD(K.player,\"More videos\",\"v\");R===2?f=\"Hide videos\":R===1&&(f=\"More videos\");K.element.setAttribute(\"title\",V);K.element.setAttribute(\"data-title-no-tooltip\",f);K.element.setAttribute(\"aria-label\",f);R=K.IY(\"ytp-fullscreen-grid-expand-button\");var D=K.IY(\"ytp-fullscreen-grid-hover-overlay\");D&&(D.setAttribute(\"title\",V),D.setAttribute(\"data-title-no-tooltip\",f),D.setAttribute(\"aria-label\",f));R&&(R.setAttribute(\"title\",V),R.setAttribute(\"data-title-no-tooltip\",f),R.setAttribute(\"aria-label\",\nf));K.player.p7()};\nVZz=function(K){g.Y.call(this,{V:\"div\",Me:[\"ytp-more-videos-button\",\"ytp-button\"],L:{title:\"{{title}}\",role:\"button\",tabindex:\"0\",\"aria-hidden\":\"true\"},S:[{V:\"div\",D:\"ytp-more-videos-button-thumbnail\"},{V:\"span\",D:\"ytp-more-videos-button-title\",Q0:\"{{title}}\"}]});this.G=K;this.K=this.IY(\"ytp-more-videos-button-thumbnail\");this.X=this.IY(\"ytp-more-videos-button-title\");this.U=new g.de(this);g.q(this,this.U);this.U.j(this.G,\"videodatachange\",this.Wa);this.Wa();this.listen(\"click\",this.onClick);f5_(this,\n0);this.hide()};\nf5_=function(K,R){switch(R){case 2:R=\"Hide videos\";var f=\"Hide recommendations grid\";break;default:R=\"More videos\",f=\"Show recommendations grid\"}K.updateValue(\"title\",R);K.element.ariaLabel=f;K.X.textContent=R};\nHEN=function(K){K_.call(this,K);var R=this;this.T=this.U=this.X=0;this.Z=null;this.N=this.B=0;this.isEnded=!1;this.EF=null;var f=new g.de(K);g.q(this,f);this.Xt=g.mz(this.api.C().experiments,\"web_player_default_peeking_px\");this.er=this.api.Y(\"delhi_modern_player_enable_pause_peeking\");this.qe=g.mz(this.api.C().experiments,\"delhi_modern_player_pause_thumbnail_percentage\");this.G2=this.api.Y(\"web_player_imax_theater_mode\");this.J=this.api.Y(\"web_player_enable_fullscreen_grid_components\");this.y0=this.api.Y(\"web_player_enable_more_videos_button\");\nthis.B5=this.api.Y(\"web_player_use_external_grid_component\");g.dy(this.api.getRootNode(),\"ytp-grid-scrollable\");f.j(K,\"fullscreentoggled\",function(){eZ(R)});\nf.j(K,\"videodatachange\",function(){if(R.J){var V=R.api.getVideoData(1);R.videoData!==V&&R.X===2&&(g.c2(R.api.getRootNode(),\"ytp-grid-scrolling\"),Kp(R,1,\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"));R.videoData=V}},this);\nf.j(K,\"sizestylechange\",function(){R.J&&eZ(R)});\ncm(this.api,\"setFullscreenQuickActions\",function(V){R.setFullscreenQuickActions(V)});\ncm(this.api,\"setPlayerOverlayVideoDetailsRenderer\",function(V){R.setPlayerOverlayVideoDetailsRenderer(V)});\nthis.B5&&cm(this.api,\"setFullscreenGrid\",function(V){R.setFullscreenGrid(V)});\ncm(this.api,\"setCommentsButton\",function(V){R.setCommentsButton(V)});\ncm(this.api,\"setDescriptionButton\",function(V){R.setDescriptionButton(V)});\nthis.J&&Dh_(this,f,K)};\nDh_=function(K,R,f){R.j(f,\"keyboardserviceglobalkeydown\",function(V,D){K.J&&V.keyCode===86&&!V.repeat&&K.X!==0&&(D&&(D.Lb=!0),K.ZM(\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\"))});\nR.j(K.api.getRootNode(),\"wheel\",function(V){if(!K.EF){var D;if(K.J&&(D=K.K)!=null&&D.element&&!g.G(K.api.getPlayerStateObject(),2)&&K.X!==0&&R$(K))if(g.dy(K.api.getRootNode(),\"ytp-grid-scrolling\"),K.B===0&&(K.B=window.innerHeight),K.X===1)K.B!==0&&(K.U+=V.deltaY/K.B,K.U=g.fT(K.U,0,.7),fp(K),$hG(K,K.N/K.B+K.U>=.7,2));else if(K.X===2){D=V.deltaY<0;var H,l,F=((l=(H=K.K)==null?void 0:H.J)==null?void 0:l.scrollTop)===0;H=K.U!==0;D&&F||H&&!D?K.B!==0&&(K.U=Math.max(0,K.U-V.deltaY/K.B),fp(K),$hG(K,K.N/K.B+\nMath.abs(K.U)>=.7,1)):K.U!==0&&(K.U=0,fp(K))}}},K,!0);\nR.j(f,\"standardControlsInitialized\",function(){if(!K.K){K.K=new KnB(K.api,K.Zl.bind(K));K.y0&&(K.UF=new VZz(K.api),g.q(K,K.UF),K.UF.element.setAttribute(\"data-overlay-order\",\"12\"),K.api.gm(K.UF.element,4),K.UF.listen(\"click\",K.ZM,K));g.q(K,K.K);var V=K.api.getRootNode().querySelector(\".ytp-chrome-bottom\");V&&V.parentNode&&V.parentNode.insertBefore(K.K.element,V.nextSibling);l5h(K)}});\nR.j(f,\"presentingplayerstatechange\",function(){VW(K)});\nR.j(f,\"autonavvisibility\",function(){VW(K)});\nK.api.nP().subscribe(\"visibilitystatechange\",function(){VW(K)});\ndhc(K,K.X)};\n$hG=function(K,R,f){K.Z&&clearTimeout(K.Z);K.U===0&&g.c2(K.api.getRootNode(),\"ytp-grid-scrolling\");R?Fnc(K,f):K.U<.1&&(K.Z=window.setTimeout(function(){Fnc(K)},1E3))};\nFnc=function(K,R){K.Z&&(clearTimeout(K.Z),K.Z=null);K.B=0;K.J&&K.X!==0&&(R?Kp(K,R):Math.abs(K.U)>=.15&&K.ZM(\"INTERACTION_LOGGING_GESTURE_TYPE_SCROLL_BEGAN_DRAGGING\"),K.U=0,fp(K),g.c2(K.api.getRootNode(),\"ytp-grid-scrolling\"))};\nR$=function(K){return K.api.isFullscreen()||K.G2&&K.api.Ab()};\neZ=function(K){var R=R$(K);g.yb(K.api.getRootNode(),\"ytp-full-bleed-player\",R);K.aY&&g.vi(K.aY,R);K.playerOverlayVideoDetailsRenderer&&g.vi(K.playerOverlayVideoDetailsRenderer,R);K.J&&VW(K)};\nVW=function(K){if(K.J)if(g.c2(K.api.getRootNode(),\"ytp-grid-scrolling\"),K.api.getPresentingPlayerType()===2||K.api.EO()||K.api.isMinimized())Kp(K,0);else{var R=g.G(K.api.getPlayerStateObject(),2);if(R)Kp(K,2,\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\");else if(K.isEnded&&!R){var f=R$(K)?1:0;K.isEnded=R;Kp(K,f)}else R$(K)?K.X!==2&&Kp(K,1):Kp(K,0);K.isEnded=R}};\nKp=function(K,R,f){K.X=R;var V;(V=K.K)==null||V.YY(R,f);var D;(D=K.UF)==null||D.YY(R);K.U=0;fp(K);dhc(K,R)};\ndhc=function(K,R){var f=K.api.getRootNode();g.yb(f,\"ytp-fullscreen-grid-peeking\",R===1);g.yb(f,\"ytp-fullscreen-grid-active\",R===2);R===1&&l5h(K)};\nl5h=function(K){var R=K.api.getRootNode();if(g.G(K.api.getPlayerStateObject(),256)||g.G(K.api.getPlayerStateObject(),32)||g.G(K.api.getPlayerStateObject(),16))var f=K.N;else if(K.er&&K.api.getPlayerStateObject().isPaused()){var V;f=(((V=K.K)==null?void 0:V.element.clientWidth)||0)*.5625/3*K.qe||K.Xt}else f=K.Xt;K.N=f;R.style.setProperty(\"--ytp-grid-peek-height\",K.N+\"px\");g.yb(R,\"ytp-disable-bottom-gradient\",K.N<=12&&K.T===0)};\nfp=function(K){K.U===0&&K.api.getRootNode().style.setProperty(\"--ytp-grid-scroll-percentage\",\"0\");requestAnimationFrame(function(){var R=K.U-K.T,f=R;K.U!==0&&(f=g.fT(R,-.01,.01));K.T+=f;K.api.getRootNode().style.setProperty(\"--ytp-grid-scroll-percentage\",\"\"+K.T.toString());K.T!==K.U&&fp(K)})};\ncfw=function(K){K_.call(this,K);var R=this;this.freePreviewWatchedDuration=null;this.freePreviewUsageDetails=[];this.events=new g.de(K);g.q(this,this.events);this.events.j(K,\"heartbeatRequest\",function(f){if(R.freePreviewUsageDetails.length||R.freePreviewWatchedDuration!==null)f.heartbeatRequestParams||(f.heartbeatRequestParams={}),f.heartbeatRequestParams.unpluggedParams||(f.heartbeatRequestParams.unpluggedParams={}),R.freePreviewUsageDetails.length>0?f.heartbeatRequestParams.unpluggedParams.freePreviewUsageDetails=\nR.freePreviewUsageDetails:f.heartbeatRequestParams.unpluggedParams.freePreviewWatchedDuration={seconds:\"\"+R.freePreviewWatchedDuration}});\ncm(K,\"setFreePreviewWatchedDuration\",function(f){R.freePreviewWatchedDuration=f});\ncm(K,\"setFreePreviewUsageDetails\",function(f){R.freePreviewUsageDetails=f})};\nDH=function(K){g.O.call(this);this.features=[];var R=this.U,f=new gt(K),V=new RW(K),D=new H_(K),H=new pE(K);var l=g.dI(K.C())?void 0:new ZJ(K);var F=new D5(K),c=new z9G(K),r=new n5N(K),y=new IW(K);var h=g.dI(K.C())?new cfw(K):void 0;var S;var v=(S=K.C().getWebPlayerContextConfig())!=null&&S.cinematicSettingsAvailable?new WW(K):void 0;S=new n_(K);var L=K.Y(\"enable_courses_player_overlay_purchase\")?new Gn5(K):void 0;var E=g.fc(K.C())?new b12(K):void 0;var Q=new BW(K);var J=K.C().J?new I1z(K):void 0;\nvar A=g.kN(K.C())?new niB(K):void 0;var B=K.Y(\"web_player_move_autonav_toggle\")&&K.C().FQ?new AGG(K):void 0;var k=g.fc(K.C())?new VGG(K):void 0;var b=K.Y(\"web_enable_speedmaster\")&&g.fc(K.C())?new Z5(K):void 0;var M=K.C().Dq?void 0:new W9c(K);var Hc=K.Y(\"report_pml_debug_signal\")?new yGw(K):void 0;var fB=new iN_(K),Rw=new Fx(K);var FG=g.ke(K.C())?new Bxh(K):void 0;var yN=navigator.mediaSession&&window.MediaMetadata&&K.C().AF?new fE(K):void 0;var VN=K.Y(\"html5_enable_drc\")&&!K.C().T?new J4(K):void 0;\nvar aw=new DJ(K);var s5=g.fc(K.C())?new poB(K):void 0;var dW=K.Y(\"html5_enable_d6de4\")?new $f(K):void 0;var DB=g.fc(K.C())&&K.Y(\"web_sleep_timer\")?new Qv(K):void 0;var b_=g.kN(K.C())?new O1z(K):void 0;var Pc=new EM(K),YV=new Z1N(K),J_=new RY5(K);var t=K.Y(\"enable_sabr_snackbar_message\")?new dg5(K):void 0;var L8=K.Y(\"web_enable_timely_actions\")?new ZzB(K):void 0;var uE=new t4(K);var cc,BT;var N=((cc=K.C())==null?0:(BT=cc.getWebPlayerContextConfig())==null?0:BT.enableFullscreenComponentsFeature)?new HEN(K):\nvoid 0;cc=new Mh(K);BT=K.Y(\"web_player_loop_settings_menu\")&&K.C().hc?new ffh(K):void 0;var KB=g.dI(K.C())?void 0:new f_(K);var Eh=new WQD(K),Fl=new aW(K),GB=new v3z(K),cy=new Upc(K);var CB=g.fc(K.C())&&K.C().Y(\"delhi_modern_web_player\")?new XpG(K):void 0;var f8=K.C().X?void 0:new i1z(K);R.call(this,f,V,D,H,l,F,c,r,y,h,v,S,L,E,Q,J,A,B,k,b,M,Hc,fB,Rw,FG,void 0,yN,VN,aw,void 0,s5,dW,DB,b_,void 0,Pc,YV,J_,void 0,t,L8,uE,N,cc,void 0,BT,void 0,KB,Eh,Fl,GB,cy,CB,f8,new Sgv(K),new k2(K))};\nrf_=function(){this.K=this.U=NaN};\nyfB=function(K,R){this.W=K;this.timerName=\"\";this.X=!1;this.K=NaN;this.J=new rf_;this.U=R||null;this.X=!1};\nhrv=function(K,R,f){var V=g.Oc(R.gU)&&!R.gU.T;if(R.gU.By&&(Pg(R.gU)||R.gU.Xt===\"shortspage\"||d6(R.gU)||V)&&!K.X){K.X=!0;K.T=R.clientPlaybackNonce;g.KI(\"TIMING_ACTION\")||eK(\"TIMING_ACTION\",K.W.csiPageType);K.W.csiServiceName&&eK(\"CSI_SERVICE_NAME\",K.W.csiServiceName);if(K.U){V=K.U.MH();for(var D=g.Z(Object.keys(V)),H=D.next();!H.done;H=D.next())H=H.value,Uz(H,V[H],K.timerName);V=g.DY(zLc)(K.U.GG);g.WV(V,K.timerName);V=K.U;V.U={};V.GG={}}g.WV({playerInfo:{visibilityState:g.DY(w7o)()},playerType:\"LATENCY_PLAYER_HTML5\"},\nK.timerName);K.B!==R.clientPlaybackNonce||Number.isNaN(K.K)||(A2(\"_start\",K.timerName)?f=g.DY(xQ)(\"_start\",K.timerName)+K.K:g.A$(new g.NB(\"attempted to log gapless pbs before CSI timeline started\",{cpn:R.clientPlaybackNonce})));!f||A2(\"pbs\",K.timerName)||R.yx||Hz(K,f)}};\nHz=function(K,R,f){Uz(\"pbs\",R!=null?R:(0,g.N7)(),f!=null?f:K.timerName)};\n$z=function(K){JeD();AeB();K.timerName=\"\"};\nofe=function(K){if(K.U){var R=K.U;R.U={};R.GG={}}K.X=!1;K.B=void 0;K.K=NaN};\nSMe=function(K,R){g.VQ.call(this);this.gU=K;this.startSeconds=0;this.shuffle=!1;this.index=0;this.title=\"\";this.length=0;this.items=[];this.loaded=!1;this.sessionData=this.U=null;this.dislikes=this.likes=this.views=0;this.order=[];this.author=\"\";this.Du={};this.K=0;if(K=R.session_data)this.sessionData=$A(K,\"&\");this.index=Math.max(0,Number(R.index)||0);this.loop=!!R.loop;this.startSeconds=Number(R.startSeconds)||0;this.title=R.playlist_title||\"\";this.description=R.playlist_description||\"\";this.author=\nR.author||R.playlist_author||\"\";R.video_id&&(this.items[this.index]=R);if(K=R.api)typeof K===\"string\"&&K.length===16?R.list=\"PL\"+K:R.playlist=K;if(K=R.list)switch(R.listType){case \"user_uploads\":this.listId=new JP(\"UU\",\"PLAYER_\"+K);break;default:var f=R.playlist_length;f&&(this.length=Number(f)||0);this.listId=Zb(K);if(K=R.video)this.items=K.slice(0),this.loaded=!0}else if(R.playlist){K=R.playlist.toString().split(\",\");this.index>0&&(this.items=[]);K=g.Z(K);for(f=K.next();!f.done;f=K.next())(f=f.value)&&\nthis.items.push({video_id:f});this.length=this.items.length;if(K=R.video)this.items=K.slice(0),this.loaded=!0}this.setShuffle(!!R.shuffle);if(K=R.suggestedQuality)this.quality=K;this.Du=QG(R,\"playlist_\");this.X=(R=R.thumbnail_ids)?R.split(\",\"):[]};\niEw=function(K){return!!(K.playlist||K.list||K.api)};\nvfB=function(K){var R=K.index+1;return R>=K.length?0:R};\nLnB=function(K){var R=K.index-1;return R<0?K.length-1:R};\ng.lY=function(K,R,f,V){R=R!==void 0?R:K.index;R=K.items&&R in K.items?K.items[K.order[R]]:null;var D=null;R&&(f&&(R.autoplay=\"1\"),V&&(R.autonav=\"1\"),D=new g.ee(K.gU,R),g.q(K,D),D.WB=!0,D.startSeconds=K.startSeconds||D.clipStart||0,K.listId&&(D.playlistId=K.listId.toString()));return D};\nw_M=function(K,R){K.index=g.fT(R,0,K.length-1);K.startSeconds=0};\nzrG=function(K,R){if(R.video&&R.video.length){K.title=R.title||\"\";K.description=R.description;K.views=R.views;K.likes=R.likes;K.dislikes=R.dislikes;K.author=R.author||\"\";var f=R.loop;f&&(K.loop=f);f=g.lY(K);K.items=[];for(var V=g.Z(R.video),D=V.next();!D.done;D=V.next())if(D=D.value)D.video_id=D.encrypted_id,K.items.push(D);K.length=K.items.length;(R=R.index)?K.index=R:K.findIndex(f);K.setShuffle(!1);K.loaded=!0;K.K++;K.U&&K.U()}};\na5o=function(K,R){var f,V,D,H,l,F,c;return g.I(function(r){if(r.U==1){f=g.YQ();var y=K.C(),h={context:g.d9(K),playbackContext:{contentPlaybackContext:{ancestorOrigins:y.ancestorOrigins}}},S=y.getWebPlayerContextConfig();if(S==null?0:S.encryptedHostFlags)h.playbackContext.contentPlaybackContext.encryptedHostFlags=S.encryptedHostFlags;if(S==null?0:S.hideInfo)h.playerParams={showinfo:!1};S=y.embedConfig;var v=K.Pg;var L=R.docid||R.video_id||R.videoId||R.id;if(!L){L=R.raw_embedded_player_response;if(!L){var E=\nR.embedded_player_response;E&&(L=JSON.parse(E))}if(L){var Q,J,A,B,k,b;L=((b=g.z((Q=L)==null?void 0:(J=Q.embedPreview)==null?void 0:(A=J.thumbnailPreviewRenderer)==null?void 0:(B=A.playButton)==null?void 0:(k=B.buttonRenderer)==null?void 0:k.navigationEndpoint,g.$s))==null?void 0:b.videoId)||null}else L=null}Q=(Q=L)?Q:void 0;J=K.playlistId?K.playlistId:R.list;A=R.listType;if(J){var M;A===\"user_uploads\"?M={username:J}:M={playlistId:J};xh2(S,v,Q,R,M,y.experiments);h.playlistRequest=M}else R.playlist?\n(M={templistVideoIds:R.playlist.toString().split(\",\")},xh2(S,v,Q,R,M,y.experiments),h.playlistRequest=M):Q&&(M={videoId:Q},v&&y.Y(\"embeds_enable_per_video_embed_config\")?M.serializedThirdPartyEmbedConfig=v:S&&(M.serializedThirdPartyEmbedConfig=S),h.singleVideoRequest=M);V=h;D=g.C0(Ef5);g.Fp(r,2);return g.P(r,g.kQ(f,V,D),4)}if(r.U!=2)return H=r.K,l=K.C(),R.raw_embedded_player_response=H,l.y0=oa(R,g.kN(l)),l.X=l.y0===\"EMBEDDED_PLAYER_MODE_PFL\",H&&(F=H,F.trackingParams&&cp(F.trackingParams)),r.return(new g.ee(l,\nR));c=g.yH(r);c instanceof Error||(c=Error(\"b259802748\"));g.WR(c);return r.return(K)})};\nxh2=function(K,R,f,V,D,H){V.index&&(D.playlistIndex=String(Number(V.index)+1));D.videoId=f?f:\"\";R&&H.rU(\"embeds_enable_per_video_embed_config\")?D.serializedThirdPartyEmbedConfig=R:K&&(D.serializedThirdPartyEmbedConfig=K)};\ng.Fk=function(K,R){d2.get(K);d2.set(K,R)};\ng.cz=function(K){g.VQ.call(this);this.loaded=!1;this.player=K};\nQjc=function(){this.K=[];this.U=[]};\ng.bI=function(K,R){return R?K.U.concat(K.K):K.U};\ng.r2=function(K,R){switch(R.kind){case \"asr\":N3w(R,K.K);break;default:N3w(R,K.U)}};\nN3w=function(K,R){g.G$(R,function(f){return K.equals(f)})||R.push(K)};\ng.yW=function(K){g.O.call(this);this.YW=K;this.U=new Qjc;this.X=null;this.B=[];this.Z=[]};\ng.UhN=function(K,R){var f;return R.C().Y(\"html5_use_hls_native_captions\")&&g.v7&&K.qY()&&!((f=K.K)==null||!XH(f))};\ng.hu=function(K,R,f){g.yW.call(this,K);this.videoData=R;this.audioTrack=f;this.K=null;this.J=!1;this.B=R.IA;this.Z=R.x7;this.J=g.MW(R)};\ng.Wn5=function(K,R){var f;return K.C().Y(\"safari_live_drm_captions_fix\")&&((f=K.getVideoData())==null?0:f.Im())?!1:g.dI(K.C())&&!R.isManifestless};\ng.o$=function(K,R){return Ov(K.info.mimeType)?R?K.info.itag===R:!0:!1};\ng.tZM=function(K,R){if(K.U!=null&&g.Wn5(R,K.U)&&K.U.U.rawcc!=null)return!0;if(!K.qY())return!1;R=!!K.U&&K.U.isManifestless&&Object.values(K.U.U).some(function(f){return g.o$(f,\"386\")});\nK=!!K.U&&!K.U.isManifestless&&g.rvG(K.U);return R||K};\ng.Su=function(K,R,f,V,D,H){g.yW.call(this,K);this.videoId=f;this.zO=D;this.eventId=H;this.T={};this.K=null;K=V||g.FN(R).hl||\"\";K=K.split(\"_\").join(\"-\");this.J=cS(R,{hl:K})};\nAfe=function(K,R,f){f=f===void 0?\"\":f;g.O.call(this);var V=this;this.G=K;this.B=R;this.X=f;this.GG={};this.U={};this.K=null;this.J=new Set;this.T=new g.de(this);this.OC={orU:function(){return V.B},\ndh5:function(){return V.X}};\nthis.N=this.G.Y(\"web_player_defer_modules\");this.KT=new Map;g.q(this,this.T);this.T.j(K,\"videodatachange\",this.onVideoDataChange)};\nJf2=function(K,R){K.K=R};\ng.iY=function(K){return K.KT.get(\"captions\")};\nPIw=function(K,R){switch(R){case \"ad\":return ZED(K);case \"annotations_module\":return K.G.isEmbedsShortsMode()?K=!1:(R=K.G,K=R.C(),R=R.getVideoData(),K=K.X||R.YO||K.controlsType===\"3\"?!1:K.qe.isEmpty()&&K.playerStyle!==\"annotation-editor\"&&K.playerStyle!==\"live-dashboard\"?!!R.TT||!!g.Ot(R)||!!g.j7(R):!0),K;case \"asmjs\":return vz(K);case \"creatorendscreen\":return B3_(K);case \"embed\":return g.kN(K.G.C());case \"endscreen\":return g.X_e(K);case \"heartbeat\":return K.Xz();case \"kids\":return mT(K.G.C());case \"remote\":return K.G.C().ZY;\ncase \"miniplayer\":return K.G.C().showMiniplayerUiWhenMinimized;case \"offline\":return K.G.C().HR;case \"captions\":return k3o(K);case \"unplugged\":return g.jA(K.G.C());case \"ux\":return K.G.C().kW;case \"webgl\":return T3G(K);case \"ypc\":return K.Oe();default:return g.WR(Error(\"Module descriptor \"+R+\" does not match\")),!1}};\nLp=function(K,R,f,V,D){var H;f=f===void 0?!1:f;V=V===void 0?!1:V;var l=K.KT.get(R);if(!l||V)if(D||(D=function(){Lp(K,R,f,V)}),H||(H=function(){w2(K,R)}),l=l||nf_(K,R,PIw(K,R),D,H))K.KT.set(R,l),l.create(),K.G.publish(\"modulecreated\",R),f&&K.G.h$(\"onApiChange\")};\ngfc=function(K){var R=R===void 0?!1:R;var f,V,D,H,l;return g.I(function(F){if(F.U==1)return(f=K.KT.get(\"asmjs\"))&&!R?F.return(f):(V=d2.get(\"asmjs\"))!=null?(D=V,F.J5(2)):g.P(F,new Promise(function(c,r){I5v(K,\"asmjs\",function(){var y=d2.get(\"asmjs\");y?c(y):r(\"cannot load module asmjs\")},r)}),3);\nF.U!=2&&(D=F.K);H=D;if(!H)return F.return(Promise.reject(\"cannot load module asmjs\"));l=new H(K.G);K.KT.set(\"asmjs\",l);l.create();return F.return(l)})};\nqMM=function(K){OEo(K)&&K.hn();jj_(K)&&(Lp(K,\"captions\",!0),Lp(K,\"endscreen\"),K.eN(),Lp(K,\"creatorendscreen\",!0))};\nw2=function(K,R){R=g.Z(MZD[R]);for(var f=R.next();!f.done;f=R.next())K.G.Kv(f.value)};\njj_=function(K){var R=K.G.getVideoData(),f=K.N&&!R.isInlinePlaybackNoAd;K.G.Y(\"html5_defer_modules_on_ads_only\")&&!R.isAd()&&(f=!1);return f};\nOEo=function(K){K=K.G.getVideoData();var R;if(R=K.Y(\"web_player_defer_ad\")){if(g.Ka(K.s$,\"ad\")||Hu2(K)||K.enableServerStitchedDai)K=!1;else{R=K.playerResponse;K=K.startSeconds;var f=R==null?void 0:R.adPlacements;if(R=f){R=Number.MAX_VALUE;f=g.Z(f);for(var V=f.next();!V.done;V=f.next())if(V=V.value.adPlacementRenderer){var D=void 0,H=(D=V.config)==null?void 0:D.adPlacementConfig;D=void 0;if(((D=H)==null?void 0:D.kind)===\"AD_PLACEMENT_KIND_MILLISECONDS\"){var l=D=void 0;H=Number((D=H)==null?void 0:(l=\nD.adTimeOffset)==null?void 0:l.offsetStartMilliseconds)||0;l=D=void 0;V=Number(((D=V.renderer)==null?void 0:(l=D.adBreakServiceRenderer)==null?void 0:l.prefetchMilliseconds)||0);V=H-V;V=11;K=K.api.C().N&&tu;return!(!R&&!K)};\ng2=function(K,R){return!K.api.isInline()&&!yuz(K,Jq(R))&&g.xe(R)};\nruB=function(K){K.sO.VA();if(K.ly&&K.BG)K.BG=!1;else if(!K.api.C().G2&&!K.xL()){var R=K.api.getPlayerStateObject();g.G(R,2)&&g.AX(K.api)||K.Pn(R);!K.api.C().v5||R.isCued()||g.G(R,1024)?K.aV():K.LA.isActive()?(K.VS(),K.LA.stop()):K.LA.start()}};\nozM=function(K,R){var f;if((f=K.api.getVideoData())==null?0:f.mutedAutoplay){var V,D;if((V=R.target)==null?0:(D=V.className)==null?0:D.includes(\"ytp-info-panel\"))return!1}return g.xe(R)&&K.api.isMutedByMutedAutoplay()?(K.api.unMute(),K.api.getPresentingPlayerType()===2&&K.api.playVideo(),R=K.api.getPlayerStateObject(),!g.G(R,4)||g.G(R,8)||g.G(R,2)||K.aV(),!0):!1};\nSOv=function(K,R,f){K.api.isFullscreen()?f<1-R&&K.api.toggleFullscreen():f>1+R&&K.api.toggleFullscreen()};\ncu_=function(K){var R=Gs()&&pI()>=67&&!K.api.C().N;K=K.api.C().disableOrganicUi;return!g.mO(\"tizen\")&&!Ze&&!R&&!K};\ng.OO=function(K){g.Y.call(this,{V:\"div\",S:[{V:\"div\",D:\"ytp-bezel-text-wrapper\",S:[{V:\"div\",D:\"ytp-bezel-text\",Q0:\"{{title}}\"}]},{V:\"div\",D:\"ytp-bezel\",L:{role:\"status\",\"aria-label\":\"{{label}}\"},S:[{V:\"div\",D:\"ytp-bezel-icon\",Q0:\"{{icon}}\"}]}]});this.G=K;this.K=new g.CW(this.show,10,this);K=this.G.Y(\"delhi_modern_web_player\")?1E3:500;this.U=new g.CW(this.hide,K,this);g.q(this,this.K);g.q(this,this.U);this.hide()};\nqO=function(K,R,f){if(R<=0){f=AJ();R=\"muted\";var V=0}else f=f?{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z\",fill:\"#fff\"}}]}:{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z\",\nfill:\"#fff\"}}]},V=Math.floor(R),R=V+\"volume\";ju(K,f,R,V+\"%\")};\nipo=function(K,R){R=R?{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z\"}}]}:pSe();var f=K.G.getPlaybackRate(),V=g.sK(\"Speed is $RATE\",{RATE:String(f)});ju(K,R,V,f+\"x\")};\nvz_=function(K,R){R=R?\"Subtitles/closed captions on\":\"Subtitles/closed captions off\";ju(K,oi_(K.G),R)};\nju=function(K,R,f,V){V=V===void 0?\"\":V;K.updateValue(\"label\",f===void 0?\"\":f);K.updateValue(\"icon\",R);g.Rt(K.U);K.K.start();K.updateValue(\"title\",V);g.yb(K.element,\"ytp-bezel-text-hide\",!V)};\nL$v=function(K,R){g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-cards-button\"],L:{\"aria-label\":\"Show cards\",\"aria-owns\":\"iv-drawer\",\"aria-haspopup\":\"true\",\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"span\",D:\"ytp-cards-button-icon-default\",S:[{V:\"div\",D:\"ytp-cards-button-icon\",S:[K.C().Y(\"player_new_info_card_format\")?mow():{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z\"}}]}]},\n{V:\"div\",D:\"ytp-cards-button-title\",Q0:\"Info\"}]},{V:\"span\",D:\"ytp-cards-button-icon-shopping\",S:[{V:\"div\",D:\"ytp-cards-button-icon\",S:[{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",D:\"ytp-svg-shadow\",L:{d:\"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z\"}},{V:\"path\",D:\"ytp-svg-fill\",L:{d:\"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z\",\n\"fill-opacity\":\"1\"}},{V:\"path\",D:\"ytp-svg-shadow-fill\",L:{d:\"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z\",fill:\"#000\",\"fill-opacity\":\"0.15\"}}]}]},{V:\"div\",\nD:\"ytp-cards-button-title\",Q0:\"Shopping\"}]}]});this.G=K;this.K=R;this.U=null;this.fade=new g.K0(this,250,!0,100);g.q(this,this.fade);g.yb(this.K,\"ytp-show-cards-title\",g.kN(K.C()));this.hide();this.listen(\"click\",this.onClicked);this.listen(\"mouseover\",this.onHover);this.Hn(!0)};\nwzo=function(K,R){g.Y.call(this,{V:\"div\",D:\"ytp-cards-teaser\",S:[{V:\"div\",D:\"ytp-cards-teaser-box\"},{V:\"div\",D:\"ytp-cards-teaser-text\",S:K.C().Y(\"player_new_info_card_format\")?[{V:\"button\",D:\"ytp-cards-teaser-info-icon\",L:{\"aria-label\":\"Show cards\",\"aria-haspopup\":\"true\"},S:[mow()]},{V:\"img\",D:\"ytp-cards-teaser-channel-avatar\",L:{alt:\"\",\"aria-hidden\":\"true\"}},{V:\"span\",D:\"ytp-cards-teaser-label\",Q0:\"{{text}}\"},{V:\"button\",D:\"ytp-cards-teaser-close-button\",L:{\"aria-label\":\"Close\"},S:[g.i4()]}]:[{V:\"span\",\nD:\"ytp-cards-teaser-label\",Q0:\"{{text}}\"}]}]});var f=this;this.G=K;this.NQ=R;this.fade=new g.K0(this,250,!1,250);this.U=null;this.T=new g.CW(this.PM0,300,this);this.B=new g.CW(this.ZLU,2E3,this);this.J=[];this.X=null;this.N=new g.CW(function(){f.element.style.margin=\"0\"},250);\nthis.onClickCommand=this.K=null;g.q(this,this.fade);g.q(this,this.T);g.q(this,this.B);g.q(this,this.N);K.C().Y(\"player_new_info_card_format\")?(g.dy(K.getRootNode(),\"ytp-cards-teaser-dismissible\"),this.j(this.IY(\"ytp-cards-teaser-close-button\"),\"click\",this.ZF),this.j(this.IY(\"ytp-cards-teaser-info-icon\"),\"click\",this.oH),this.j(this.IY(\"ytp-cards-teaser-label\"),\"click\",this.oH)):this.listen(\"click\",this.oH);this.j(R.element,\"mouseover\",this.CN);this.j(R.element,\"mouseout\",this.He);this.j(K,\"cardsteasershow\",\nthis.To5);this.j(K,\"cardsteaserhide\",this.mB);this.j(K,\"cardstatechange\",this.FZ);this.j(K,\"presentingplayerstatechange\",this.FZ);this.j(K,\"appresize\",this.pY);this.j(K,\"onShowControls\",this.pY);this.j(K,\"onHideControls\",this.f0);this.listen(\"mouseenter\",this.P2)};\nzyD=function(K){g.Y.call(this,{V:\"button\",Me:[MO.BUTTON,MO.TITLE_NOTIFICATIONS],L:{\"aria-pressed\":\"{{pressed}}\",\"aria-label\":\"{{label}}\"},S:[{V:\"div\",D:MO.TITLE_NOTIFICATIONS_ON,L:{title:\"Stop getting notified about every new video\",\"aria-label\":\"Notify subscriptions\"},S:[g.xx()]},{V:\"div\",D:MO.TITLE_NOTIFICATIONS_OFF,L:{title:\"Get notified about every new video\",\"aria-label\":\"Notify subscriptions\"},S:[{V:\"svg\",L:{fill:\"#fff\",height:\"24px\",viewBox:\"0 0 24 24\",width:\"24px\"},S:[{V:\"path\",L:{d:\"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z\"}}]}]}]});\nthis.api=K;this.U=!1;K.createClientVe(this.element,this,36927);this.listen(\"click\",this.onClick,this);this.updateValue(\"pressed\",!1);this.updateValue(\"label\",\"Get notified about every new video\")};\nxOz=function(K,R){K.U=R;K.element.classList.toggle(MO.NOTIFICATIONS_ENABLED,K.U);var f=K.api.getVideoData();f?(R=R?f.Ws:f.Sp)?(K=K.api.PU())?Xi(K,R):g.WR(Error(\"No innertube service available when updating notification preferences.\")):g.WR(Error(\"No update preferences command available.\")):g.WR(Error(\"No video data when updating notification preferences.\"))};\naHh=function(K,R,f){var V=V===void 0?800:V;var D=D===void 0?600:D;var H=document.location.protocol;K=d8z(H+\"//\"+K+\"/signin?context=popup\",\"feature\",R,\"next\",H+\"//\"+location.hostname+\"/post_login\");Ezz(K,f,V,D)};\nEzz=function(K,R,f,V){f=f===void 0?800:f;V=V===void 0?600:V;if(K=g.Bb(window,K,\"loginPopup\",\"width=\"+f+\",height=\"+V+\",resizable=yes,scrollbars=yes\"))OeB(function(){R()}),K.moveTo((screen.width-f)/2,(screen.height-V)/2)};\ng.bY=function(K,R,f,V,D,H,l,F,c,r,y,h){K=K.charAt(0)+K.substring(1).toLowerCase();f=f.charAt(0)+f.substring(1).toLowerCase();if(R===\"0\"||R===\"-1\")R=null;if(V===\"0\"||V===\"-1\")V=null;var S=y.C(),v=S.userDisplayName&&g.Oc(S);g.Y.call(this,{V:\"div\",Me:[\"ytp-button\",\"ytp-sb\"],S:[{V:\"div\",D:\"ytp-sb-subscribe\",L:v?{title:y.C().Y(\"player_tooltip_data_title_killswitch\")?g.sK(\"Subscribe as $USER_NAME\",{USER_NAME:S.userDisplayName}):\"\",\"data-tooltip-title\":g.sK(\"Subscribe as $USER_NAME\",{USER_NAME:S.userDisplayName}),\n\"aria-label\":\"Subscribe to channel\",\"data-tooltip-image\":FQ(S),\"data-tooltip-opaque\":String(g.kN(S)),tabindex:\"0\",role:\"button\"}:{\"aria-label\":\"Subscribe to channel\"},S:[{V:\"div\",D:\"ytp-sb-text\",S:[{V:\"div\",D:\"ytp-sb-icon\"},K]},R?{V:\"div\",D:\"ytp-sb-count\",Q0:R}:\"\"]},{V:\"div\",D:\"ytp-sb-unsubscribe\",L:v?{title:y.Y(\"player_tooltip_data_title_killswitch\")?g.sK(\"Subscribed as $USER_NAME\",{USER_NAME:S.userDisplayName}):\"\",\"data-tooltip-title\":g.sK(\"Subscribed as $USER_NAME\",{USER_NAME:S.userDisplayName}),\n\"aria-label\":\"Unsubscribe to channel\",\"data-tooltip-image\":FQ(S),\"data-tooltip-opaque\":String(g.kN(S)),tabindex:\"0\",role:\"button\"}:{\"aria-label\":\"Unsubscribe to channel\"},S:[{V:\"div\",D:\"ytp-sb-text\",S:[{V:\"div\",D:\"ytp-sb-icon\"},f]},V?{V:\"div\",D:\"ytp-sb-count\",Q0:V}:\"\"]}],L:{\"aria-live\":\"polite\"}});var L=this;this.channelId=l;this.G=y;this.X=h;var E=this.IY(\"ytp-sb-subscribe\"),Q=this.IY(\"ytp-sb-unsubscribe\");H&&g.dy(this.element,\"ytp-sb-classic\");if(D){F?this.U():this.K();var J=function(){if(S.B5){var B=\nL.channelId;if(c||r){var k={c:B};var b;g.S4.isInitialized()&&(b=GUD(k));k=b||\"\";if(b=y.getVideoData())if(b=b.subscribeCommand){var M=y.PU();M?(Xi(M,b,{botguardResponse:k,feature:c}),y.lD(\"SUBSCRIBE\",B)):g.WR(Error(\"No innertube service available when updating subscriptions.\"))}else g.WR(Error(\"No subscribe command in videoData.\"));else g.WR(Error(\"No video data available when updating subscription.\"))}Q.focus();Q.removeAttribute(\"aria-hidden\");E.setAttribute(\"aria-hidden\",\"true\")}else aHh(g.sc(L.G.C()),\n\"sb_button\",L.J)},A=function(){var B=L.channelId;\nif(c||r){var k=y.getVideoData();Xi(y.PU(),k.unsubscribeCommand,{feature:c});y.lD(\"UNSUBSCRIBE\",B)}E.focus();E.removeAttribute(\"aria-hidden\");Q.setAttribute(\"aria-hidden\",\"true\")};\nthis.j(E,\"click\",J);this.j(Q,\"click\",A);this.j(E,\"keypress\",function(B){B.keyCode===13&&J(B)});\nthis.j(Q,\"keypress\",function(B){B.keyCode===13&&A(B)});\nthis.j(y,\"SUBSCRIBE\",this.U);this.j(y,\"UNSUBSCRIBE\",this.K);this.X&&v&&(Rae(y),Ny(y,E,this),Ny(y,Q,this))}else g.dy(E,\"ytp-sb-disabled\"),g.dy(Q,\"ytp-sb-disabled\")};\nUOz=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-title-channel\",S:[{V:\"div\",D:\"ytp-title-beacon\"},{V:\"a\",D:\"ytp-title-channel-logo\",L:{href:\"{{channelLink}}\",target:K.C().EF,role:\"link\",\"aria-label\":\"{{channelLogoLabel}}\",tabIndex:\"0\"}},{V:\"div\",D:\"ytp-title-expanded-overlay\",L:{\"aria-hidden\":\"{{flyoutUnfocusable}}\"},S:[{V:\"div\",D:\"ytp-title-expanded-heading\",S:[{V:\"div\",D:\"ytp-title-expanded-title\",S:[{V:\"a\",Q0:\"{{expandedTitle}}\",L:{href:\"{{channelTitleLink}}\",target:K.C().EF,\"aria-hidden\":\"{{shouldHideExpandedTitleForA11y}}\",\ntabIndex:\"{{channelTitleFocusable}}\"}}]},{V:\"div\",D:\"ytp-title-expanded-subtitle\",Q0:\"{{expandedSubtitle}}\",L:{\"aria-hidden\":\"{{shouldHideExpandedSubtitleForA11y}}\"}}]}]}]});var R=this;this.api=K;this.channel=this.IY(\"ytp-title-channel\");this.K=this.IY(\"ytp-title-channel-logo\");this.channelName=this.IY(\"ytp-title-expanded-title\");this.B=this.IY(\"ytp-title-expanded-overlay\");this.X=this.U=this.subscribeButton=null;this.J=!1;K.createClientVe(this.K,this,36925);K.createClientVe(this.channelName,this,\n37220);g.kN(this.api.C())&&Q$v(this);this.j(K,\"videodatachange\",this.T2);this.j(K,\"videoplayerreset\",this.T2);this.j(this.channelName,\"click\",function(f){R.api.logClick(R.channelName);g.Bb(window,N2e(R));f.preventDefault()});\nthis.j(this.K,\"click\",this.U1e);this.T2()};\nW$N=function(K){if(!K.api.C().hV){var R=K.api.getVideoData(),f=new g.bY(\"Subscribe\",null,\"Subscribed\",null,!0,!1,R.M$,R.subscribed,\"channel_avatar\",null,K.api,!0);K.api.createServerVe(f.element,K);var V;K.api.setTrackingParams(f.element,((V=R.subscribeButtonRenderer)==null?void 0:V.trackingParams)||null);K.j(f.element,\"click\",function(){K.api.logClick(f.element)});\nK.subscribeButton=f;g.q(K,K.subscribeButton);K.subscribeButton.V0(K.B);K.subscribeButton.hide();var D=new zyD(K.api);K.U=D;g.q(K,D);D.V0(K.B);D.hide();K.j(K.api,\"SUBSCRIBE\",function(){R.nT&&(D.show(),K.api.logVisibility(D.element,!0))});\nK.j(K.api,\"UNSUBSCRIBE\",function(){R.nT&&(D.hide(),K.api.logVisibility(D.element,!1),xOz(D,!1))})}};\nQ$v=function(K){var R=K.api.C();W$N(K);K.updateValue(\"flyoutUnfocusable\",\"true\");K.updateValue(\"channelTitleFocusable\",\"-1\");K.updateValue(\"shouldHideExpandedTitleForA11y\",\"true\");K.updateValue(\"shouldHideExpandedSubtitleForA11y\",\"true\");R.K||R.oY||(K.j(K.channel,\"mouseenter\",K.PG),K.j(K.channel,\"mouseleave\",K.Q_),K.j(K.channel,\"focusin\",K.PG),K.j(K.channel,\"focusout\",function(f){K.channel.contains(f.relatedTarget)||K.Q_()}));\nK.X=new g.CW(function(){K.isExpanded()&&(K.api.logVisibility(K.channelName,!1),K.subscribeButton&&(K.subscribeButton.hide(),K.api.logVisibility(K.subscribeButton.element,!1)),K.U&&(K.U.hide(),K.api.logVisibility(K.U.element,!1)),K.channel.classList.remove(\"ytp-title-expanded\"),K.channel.classList.add(\"ytp-title-show-collapsed\"))},500);\ng.q(K,K.X);K.j(K.channel,tuD,function(){Aue(K)});\nK.j(K.api,\"onHideControls\",K.YC);K.j(K.api,\"appresize\",K.YC);K.j(K.api,\"fullscreentoggled\",K.YC)};\nAue=function(K){K.channel.classList.remove(\"ytp-title-show-collapsed\");K.channel.classList.remove(\"ytp-title-show-expanded\")};\nJu_=function(K){var R=K.api.getPlayerSize();return g.kN(K.api.C())&&R.width>=524};\nN2e=function(K){var R=K.api.C(),f=K.api.getVideoData(),V=g.cd(R)+f.G2;g.Hm(f)&&(V=\"https://music.youtube.com\"+f.G2);if(!g.kN(R))return V;R={};g.hX(K.api,\"addEmbedsConversionTrackingParams\",[R]);return g.B9(V,R)};\npp=function(K){var R=g.sD({\"aria-haspopup\":\"true\"});g.ur.call(this,R,K);this.listen(\"keydown\",this.eL)};\nYz=function(K,R){K.element.setAttribute(\"aria-haspopup\",String(R))};\nZpB=function(K,R){g.Y.call(this,{V:\"div\",D:\"ytp-user-info-panel\",L:{\"aria-label\":\"User info\"},S:K.C().B5?[{V:\"div\",D:\"ytp-user-info-panel-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-user-info-panel-content\",S:[{V:\"div\",D:\"ytp-user-info-panel-info\",L:{tabIndex:\"{{userInfoFocusable}}\",role:\"text\"},Q0:\"{{watchingAsUsername}}\"},{V:\"div\",D:\"ytp-user-info-panel-info\",L:{tabIndex:\"{{userInfoFocusable2}}\",role:\"text\"},Q0:\"{{watchingAsEmail}}\"}]}]:[{V:\"div\",D:\"ytp-user-info-panel-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-user-info-panel-content\",\nS:[{V:\"div\",S:[{V:\"text\",L:{tabIndex:\"{{userInfoFocusable}}\"},Q0:\"Signed out\"}]},{V:\"div\",D:\"ytp-user-info-panel-login\",S:[{V:\"a\",L:{tabIndex:\"{{userInfoFocusable2}}\",role:\"button\"},Q0:K.C().hV?\"\":\"Sign in on YouTube\"}]}]}]});this.YW=K;this.sourceElement=R;K.C().B5||K.C().hV||this.j(this.IY(\"ytp-user-info-panel-login\"),\"click\",this.xv);this.closeButton=new g.Y({V:\"button\",Me:[\"ytp-collapse\",\"ytp-button\"],L:{title:\"Close\"},S:[g.tJ()]});this.closeButton.V0(this.element);g.q(this,this.closeButton);this.j(window,\n\"blur\",this.hide);this.j(document,\"click\",this.FO);this.T2()};\nPYh=function(K,R,f){g.oj.call(this,K);var V=this;this.W5=R;this.ma=f;this.getVideoUrl=new pp(6);this.Em=new pp(5);this.Sc=new pp(4);this.PK=new pp(3);this.yv=new g.ur(g.sD({href:\"{{href}}\",target:this.G.C().EF},void 0,!0),2,\"Troubleshoot playback issue\");this.showVideoInfo=new g.ur(g.sD(),1,\"Stats for nerds\");this.k_=new g.di({V:\"div\",Me:[\"ytp-copytext\",\"ytp-no-contextmenu\"],L:{draggable:\"false\",tabindex:\"1\"},Q0:\"{{text}}\"});this.vx=new hf(this.G,this.k_);this.Gj=this.Bt=null;g.kN(this.G.C())&&(this.closeButton=\nnew g.Y({V:\"button\",Me:[\"ytp-collapse\",\"ytp-button\"],L:{title:\"Close\"},S:[g.tJ()]}),g.q(this,this.closeButton),this.closeButton.V0(this.element),this.closeButton.listen(\"click\",this.YG,this));g.kN(this.G.C())&&(this.yP=new g.ur(g.sD(),10,\"Account\"),g.q(this,this.yP),this.ZZ(this.yP,!0),this.yP.listen(\"click\",this.h1D,this),K.createClientVe(this.yP.element,this.yP,137682));this.G.C().hc&&(this.S2=new l8(\"Loop\",9),g.q(this,this.S2),this.ZZ(this.S2,!0),this.S2.listen(\"click\",this.d1W,this),K.createClientVe(this.S2.element,\nthis.S2,28661));this.G.Y(\"web_player_miniplayer_in_context_menu\")&&(this.AS=new g.ur(g.sD(),8,\"Miniplayer\"),g.q(this,this.AS),this.ZZ(this.AS,!0),this.AS.listen(\"click\",this.OLQ,this),K.createClientVe(this.AS.element,this.AS,62946));this.G.Y(\"web_watch_pip_context_menu_button\")&&this.G.C().showMiniplayerButton&&(this.qN=new g.ur(g.sD(),7,\"Picture-in-picture\"),g.q(this,this.qN),this.ZZ(this.qN,!0),this.qN.listen(\"click\",this.zwp,this),K.createClientVe(this.qN.element,this.qN,194442));g.q(this,this.getVideoUrl);\nthis.ZZ(this.getVideoUrl,!0);this.getVideoUrl.listen(\"click\",this.oYp,this);K.createClientVe(this.getVideoUrl.element,this.getVideoUrl,28659);g.q(this,this.Em);this.ZZ(this.Em,!0);this.Em.listen(\"click\",this.T4W,this);K.createClientVe(this.Em.element,this.Em,28660);g.q(this,this.Sc);this.ZZ(this.Sc,!0);this.Sc.listen(\"click\",this.YL0,this);K.createClientVe(this.Sc.element,this.Sc,28658);g.q(this,this.PK);this.ZZ(this.PK,!0);this.PK.listen(\"click\",this.fkF,this);g.q(this,this.yv);this.ZZ(this.yv,!0);\nthis.yv.listen(\"click\",this.ch5,this);g.q(this,this.showVideoInfo);this.ZZ(this.showVideoInfo,!0);this.showVideoInfo.listen(\"click\",this.MH5,this);g.q(this,this.k_);this.k_.listen(\"click\",this.X0Q,this);g.q(this,this.vx);B2N()&&(this.Bt=new g.Y({V:\"textarea\",D:\"ytp-html5-clipboard\",L:{readonly:\"\",tabindex:\"-1\"}}),g.q(this,this.Bt),this.Bt.V0(this.element));var D;(D=this.yP)==null||D.setIcon(fxG());var H;(H=this.S2)==null||H.setIcon($mD());var l;(l=this.AS)==null||l.setIcon(this.G.Y(\"delhi_modern_web_player_icons\")?\ns9w():ah());var F;(F=this.qN)==null||F.setIcon(ah());this.PK.setIcon({V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{\"clip-rule\":\"evenodd\",d:\"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z\",\nfill:\"white\",\"fill-rule\":\"evenodd\"}}]});this.yv.setIcon(LS());this.showVideoInfo.setIcon(Y$w());this.j(K,\"onLoopChange\",this.onLoopChange);this.j(K,\"videodatachange\",this.onVideoDataChange);this.j(K,\"fullscreentoggled\",function(){XzG(V)});\nthis.j(K,\"minimized\",function(){XzG(V)});\nkhe(this);T2o(this,this.G.getVideoData())};\nm$=function(K,R){var f=!1;if(K.Bt){var V=K.Bt.element;V.value=R;V.select();try{f=document.execCommand(\"copy\")}catch(D){}}f?K.W5.mB():(K.k_.setContent(R,\"text\"),g.v_(K.W5,K.vx),h4(K.k_.element),K.Bt&&(K.Bt=null,khe(K)));return f};\nB2N=function(){var K=document.queryCommandSupported&&document.queryCommandSupported(\"copy\");i8h(\"Chromium\")>=43&&(K=!0);i8h(\"Firefox\")<=40&&(K=!1);return K};\nXzG=function(K){var R;(R=K.AS)==null||R.dn(!K.G.isFullscreen()&&!K.G.isMinimized()&&K.G.getPresentingPlayerType()!==2&&K.G.C().showMiniplayerButton)};\nT2o=function(K,R){var f=K.G.C(),V=K.G.getPresentingPlayerType()===2,D=!V||R.isListed;D=!f.aY&&!!R.videoId&&D;f.playerStyle!==\"play\"?f=\"https://support.google.com/youtube/?p=report_playback\":(f={contact_type:\"playbackissue\",html5:1,ei:R.eventId,v:R.videoId,p:\"movies_playback\"},R.K&&(f.fmt=R.K.itag),R.clientPlaybackNonce&&(f.cpn=R.clientPlaybackNonce),R.partnerId&&(f.partnerid=R.partnerId),f=g.B9(\"//support.google.com/googleplay/\",f));K.Sc.dn(D&&R.allowEmbed);K.getVideoUrl.dn(D);K.Em.dn(D&&!R.isLivePlayback);\nK.yv.setContent(f,\"href\");var H;(H=K.S2)==null||H.dn(!R.isLivePlayback&&!V);XzG(K);var l;(l=K.yP)==null||l.dn(!V)};\nkhe=function(K){var R=!!K.Bt;g.GV(K.PK,R?\"Copy debug info\":\"Get debug info\");Yz(K.PK,!R);g.GV(K.Sc,R?\"Copy embed code\":\"Get embed code\");Yz(K.Sc,!R);g.GV(K.getVideoUrl,R?\"Copy video URL\":\"Get video URL\");Yz(K.getVideoUrl,!R);g.GV(K.Em,R?\"Copy video URL at current time\":\"Get video URL at current time\");Yz(K.Em,!R);K.Sc.setIcon(R?MOB():null);K.getVideoUrl.setIcon(R?wi():null);K.Em.setIcon(R?wi():null)};\nnz2=function(K){return g.kN(K.G.C())?K.yP:K.S2};\ngzM=function(K,R){g.iI.call(this,K);this.ma=R;this.K=new g.de(this);this.N=new g.CW(this.dR0,1E3,this);this.Z=this.fL=null;g.q(this,this.K);g.q(this,this.N);R=this.G.C();K.createClientVe(this.element,this,28656);g.dy(this.element,\"ytp-contextmenu\");this.G.C().experiments.rU(\"delhi_modern_web_player\")&&g.fc(R)&&g.dy(this.element,\"ytp-delhi-modern-contextmenu\");IHz(this);this.hide()};\nIHz=function(K){g.kc(K.K);var R=K.G.C();R.playerStyle===\"gvn\"||R.K||R.oY||(R=K.G.Ft(),K.K.j(R,\"contextmenu\",K.QQ5),K.K.j(R,\"touchstart\",K.onTouchStart,null,!0),K.K.j(R,\"touchmove\",K.VR,null,!0),K.K.j(R,\"touchend\",K.VR,null,!0))};\nOpB=function(K){K.G.isFullscreen()?g.nl(K.G,K.element,10):K.V0(pl(K).body)};\nGh=function(K,R,f){f=f===void 0?240:f;g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-copylink-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title-attr}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"div\",D:\"ytp-copylink-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-copylink-title\",Q0:\"Copy link\",L:{\"aria-hidden\":\"true\"}}]});this.api=K;this.U=R;this.K=f;this.visible=!1;this.tooltip=this.U.sA();R=K.C();this.tooltip.element.setAttribute(\"aria-live\",\n\"polite\");g.yb(this.element,\"ytp-show-copylink-title\",g.kN(R));K.createClientVe(this.element,this,86570);this.listen(\"click\",this.onClick);this.j(K,\"videodatachange\",this.T2);this.j(K,\"videoplayerreset\",this.T2);this.j(K,\"appresize\",this.T2);this.T2();this.addOnDisposeCallback(g.Qg(this.tooltip,this.element))};\nj$_=function(K){var R=K.api.C(),f=K.api.getVideoData(),V=K.api.Ft().getPlayerSize().width;R=R.X;return!!f.videoId&&V>=K.K&&f.ZY&&!f.nL&&!K.api.isEmbedsShortsMode()&&!R};\nqOB=function(K){K.updateValue(\"icon\",hJ());if(K.api.C().K)K.tooltip.FJ(K.element,\"Link copied to clipboard\");else{K.updateValue(\"title-attr\",\"Link copied to clipboard\");K.updateValue(\"tooltip-title\",\"Link copied to clipboard\");K.tooltip.p7();K.tooltip.FJ(K.element);var R=K.listen(\"mouseleave\",function(){K.hs(R);K.T2();K.tooltip.sS()})}};\nMuw=function(K,R){return g.I(function(f){if(f.U==1)return g.Fp(f,2),g.P(f,navigator.clipboard.writeText(R),4);if(f.U!=2)return f.return(!0);g.yH(f);var V=f.return,D=!1,H=g.tB(\"TEXTAREA\");H.value=R;H.setAttribute(\"readonly\",\"\");var l=K.api.getRootNode();l.appendChild(H);if(pP){var F=window.getSelection();F.removeAllRanges();var c=document.createRange();c.selectNodeContents(H);F.addRange(c);H.setSelectionRange(0,R.length)}else H.select();try{D=document.execCommand(\"copy\")}catch(r){}l.removeChild(H);\nreturn V.call(f,D)})};\nbpM=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-doubletap-ui-legacy\",S:[{V:\"div\",D:\"ytp-doubletap-fast-forward-ve\"},{V:\"div\",D:\"ytp-doubletap-rewind-ve\"},{V:\"div\",D:\"ytp-doubletap-static-circle\",S:[{V:\"div\",D:\"ytp-doubletap-ripple\"}]},{V:\"div\",D:\"ytp-doubletap-overlay-a11y\"},{V:\"div\",D:\"ytp-doubletap-seek-info-container\",S:[{V:\"div\",D:\"ytp-doubletap-arrows-container\",S:[{V:\"span\",D:\"ytp-doubletap-base-arrow\"},{V:\"span\",D:\"ytp-doubletap-base-arrow\"},{V:\"span\",D:\"ytp-doubletap-base-arrow\"}]},{V:\"div\",\nD:\"ytp-doubletap-tooltip\",S:[{V:\"div\",D:\"ytp-seek-icon-text-container\",S:[{V:\"div\",D:\"ytp-seek-icon\",Q0:\"{{seekIcon}}\"},{V:\"div\",D:\"ytp-chapter-seek-text-legacy\",Q0:\"{{seekText}}\"}]},{V:\"div\",D:\"ytp-doubletap-tooltip-label\",Q0:\"{{seekTime}}\"}]}]}]});this.G=K;this.J=new g.CW(this.show,10,this);this.K=new g.CW(this.hide,700,this);this.T=this.X=0;this.UF=this.B=!1;this.U=this.IY(\"ytp-doubletap-static-circle\");g.q(this,this.J);g.q(this,this.K);this.hide();this.N=this.IY(\"ytp-doubletap-fast-forward-ve\");\nthis.Z=this.IY(\"ytp-doubletap-rewind-ve\");this.G.createClientVe(this.N,this,28240);this.G.createClientVe(this.Z,this,28239);this.G.logVisibility(this.N,!0);this.G.logVisibility(this.Z,!0);this.B=K.Y(\"web_show_cumulative_seek_time\");this.UF=K.Y(\"web_center_static_circles\")};\npzG=function(K,R){R=g.sK(\"$TOTAL_SEEK_TIME seconds\",{TOTAL_SEEK_TIME:R.toString()});K.updateValue(\"seekTime\",R)};\nYO_=function(K){yv.call(this,K,!1,!0);this.B5=[];this.Za=[];this.element.setAttribute(\"data-overlay-order\",\"9\");this.G.Y(\"web_enable_shopping_timely_shelf_client\")&&!this.G.Y(\"web_force_featured_product_banner_with_timely_shelf\")&&this.badge.element.classList.add(\"ytp-timely-shelf-present\");this.N=!0;this.badge.element.classList.add(\"ytp-featured-product\");this.y0=new g.Y({V:\"div\",D:\"ytp-featured-product-open-in-new\"});g.q(this,this.y0);this.countdownTimer=new g.Y({V:\"text\",D:\"ytp-featured-product-countdown\",\nQ0:\"{{content}}\"});this.countdownTimer.hide();g.q(this,this.countdownTimer);this.X=new g.Y({V:\"div\",D:\"ytp-featured-product-trending\",S:[{V:\"div\",D:\"ytp-featured-product-trending-icon\"},{V:\"text\",D:\"ytp-featured-product-trending-text\",Q0:\"{{trendingOffer}}\"}]});this.X.hide();g.q(this,this.X);this.overflowButton=new g.Y({V:\"button\",Me:[\"ytp-featured-product-overflow-icon\",\"ytp-button\"],L:{\"aria-haspopup\":\"true\"}});this.overflowButton.hide();g.q(this,this.overflowButton);this.T=new g.Y({V:\"text\",D:\"ytp-featured-product-exclusive-countdown\",\nQ0:\"{{content}}\",L:{id:\"exclusiveCountdown\",\"aria-hidden\":\"true\"}});this.T.hide();g.q(this,this.T);this.B=new g.Y({V:\"div\",D:\"ytp-featured-product-exclusive-container\",L:{\"aria-labelledby\":\"exclusiveBadge exclusiveCountdown\"},S:[{V:\"div\",D:\"ytp-featured-product-exclusive-badge-container\",S:[{V:\"div\",D:\"ytp-featured-product-exclusive-badge\",S:[{V:\"text\",D:\"ytp-featured-product-exclusive-badge-text\",Q0:\"{{exclusive}}\",L:{id:\"exclusiveBadge\",\"aria-hidden\":\"true\"}}]}]},this.T]});this.B.hide();g.q(this,\nthis.B);this.banner=new g.Y({V:\"a\",D:\"ytp-featured-product-container\",S:[{V:\"div\",D:\"ytp-featured-product-thumbnail\",S:[{V:\"img\",L:{src:\"{{thumbnail}}\"}},this.y0]},{V:\"div\",D:\"ytp-featured-product-details\",S:[{V:\"text\",D:\"ytp-featured-product-title\",Q0:\"{{title}}\"},this.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")?{V:\"div\",D:\"ytp-featured-product-price-container\",L:{\"aria-label\":\"{{priceA11yText}}\"},S:[{V:\"text\",D:\"ytp-featured-product-price-when-promotion-text-enabled\",\nQ0:\"{{price}}\",L:{\"aria-hidden\":\"true\"}},{V:\"text\",D:\"ytp-featured-product-promotion-text\",Q0:\"{{promotionText}}\",L:{\"aria-hidden\":\"true\"}}]}:{V:\"div\",L:{\"aria-label\":\"{{priceA11yText}}\"},S:[{V:\"text\",D:\"ytp-featured-product-price\",Q0:\"{{price}}\",L:{\"aria-hidden\":\"true\"}},{V:\"text\",D:\"ytp-featured-product-sales-original-price\",Q0:\"{{salesOriginalPrice}}\",L:{\"aria-hidden\":\"true\"}},{V:\"text\",D:\"ytp-featured-product-price-drop-reference-price\",Q0:\"{{priceDropReferencePrice}}\",L:{\"aria-hidden\":\"true\"}}]},\nthis.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")?{V:\"div\",D:\"ytp-featured-product-when-promotion-text-enabled\",S:[{V:\"text\",D:\"ytp-featured-product-affiliate-disclaimer-when-promotion-text-enabled\",Q0:\"{{affiliateDisclaimer}}\"},this.X,{V:\"text\",D:\"ytp-featured-product-vendor-when-promotion-text-enabled\",Q0:\"{{vendor}}\"}]}:{V:\"div\",S:[{V:\"text\",D:\"ytp-featured-product-affiliate-disclaimer\",Q0:\"{{affiliateDisclaimer}}\"},this.G.Y(\"web_player_enable_featured_product_banner_exclusives_on_desktop\")?\nthis.B:null,this.X,{V:\"text\",D:\"ytp-featured-product-vendor\",Q0:\"{{vendor}}\"},this.countdownTimer]}]},this.overflowButton]});g.q(this,this.banner);this.banner.V0(this.J.element);this.j(this.G,g.gI(\"featured_product\"),this.IuY);this.j(this.G,g.OK(\"featured_product\"),this.XJ);this.j(this.G,\"videodatachange\",this.onVideoDataChange);this.j(this.overflowButton.element,\"click\",this.v2);this.j(K,\"featuredproductdismissed\",this.iA)};\nmOB=function(K){var R,f;K=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:f.itemData;var V,D,H;return(K==null||!K.affiliateDisclaimer)&&(K==null?0:(V=K.exclusivesData)==null?0:V.exclusiveOfferLabelText)&&(K==null?0:(D=K.exclusivesData)==null?0:D.expirationTimestampMs)&&(K==null?0:(H=K.exclusivesData)==null?0:H.exclusiveOfferCountdownText)?!0:!1};\nukG=function(K){var R,f,V,D,H=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:(V=f.itemData)==null?void 0:(D=V.exclusivesData)==null?void 0:D.expirationTimestampMs;R=(Number(H)-Date.now())/1E3;if(R>0){if(R<604800){var l,F,c,r;f=(l=K.U)==null?void 0:(F=l.bannerData)==null?void 0:(c=F.itemData)==null?void 0:(r=c.exclusivesData)==null?void 0:r.exclusiveOfferCountdownText;if(f!==void 0)for(l=Date.now(),F=g.Z(f),c=F.next();!c.done;c=F.next())if(c=c.value,c!==void 0&&c.text!==void 0&&(r=Number(c.textDisplayStartTimestampMs),\n!isNaN(r)&&l>=r)){c.insertCountdown?(R=c.text.replace(/\\$0/,String(K1({seconds:R}))),K.T.setContent(R)):K.T.setContent(c.text);K.T.show();break}}var y,h,S,v;K.B.update({exclusive:(y=K.U)==null?void 0:(h=y.bannerData)==null?void 0:(S=h.itemData)==null?void 0:(v=S.exclusivesData)==null?void 0:v.exclusiveOfferLabelText});K.B.show();uY(K);var L;(L=K.nh)==null||L.start()}else GhB(K)};\nGhB=function(K){var R;(R=K.nh)==null||R.stop();K.T.hide();K.B.hide();sO(K)};\ns$v=function(K){var R,f,V=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:f.itemData;return K.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")&&(V==null||!V.priceReplacementText)&&(V==null?0:V.promotionText)?V==null?void 0:V.promotionText.content:null};\nCYz=function(K){var R,f,V=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:f.itemData,D,H;if(!(V!=null&&V.priceReplacementText||K.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\"))&&(V==null?0:(D=V.dealsData)==null?0:(H=D.sales)==null?0:H.originalPrice)){var l,F;return V==null?void 0:(l=V.dealsData)==null?void 0:(F=l.sales)==null?void 0:F.originalPrice}return null};\neyN=function(K){var R,f,V=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:f.itemData,D,H,l,F;if(!((V==null?0:V.priceReplacementText)||K.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")||(V==null?0:(D=V.dealsData)==null?0:(H=D.sales)==null?0:H.originalPrice))&&(V==null?0:(l=V.dealsData)==null?0:(F=l.priceDrop)==null?0:F.referencePrice)){var c,r;return V==null?void 0:(c=V.dealsData)==null?void 0:(r=c.priceDrop)==null?void 0:r.referencePrice}return null};\nKZ5=function(K){var R,f,V=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:f.itemData;if(V==null?0:V.priceReplacementText)return V==null?void 0:V.priceReplacementText;if((V==null?0:V.promotionText)&&K.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")){var D;return(V==null?void 0:V.price)+\" \"+(V==null?void 0:(D=V.promotionText)==null?void 0:D.content)}var H,l;if(V==null?0:(H=V.dealsData)==null?0:(l=H.sales)==null?0:l.originalPrice){var F,c;return V==null?void 0:(F=V.dealsData)==\nnull?void 0:(c=F.sales)==null?void 0:c.salesPriceAccessibilityLabel}var r,y;if(V==null?0:(r=V.dealsData)==null?0:(y=r.priceDrop)==null?0:y.referencePrice){var h,S;return(V==null?void 0:V.price)+\" \"+(V==null?void 0:(h=V.dealsData)==null?void 0:(S=h.priceDrop)==null?void 0:S.referencePrice)}return V==null?void 0:V.price};\nRnz=function(K){if(K.G.Y(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")){var R,f,V;return K.X.EC?null:(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:(V=f.itemData)==null?void 0:V.vendorName}var D,H,l,F,c,r;return K.X.EC||K.B.EC||((D=K.U)==null?0:(H=D.bannerData)==null?0:(l=H.itemData)==null?0:l.affiliateDisclaimer)?null:(F=K.U)==null?void 0:(c=F.bannerData)==null?void 0:(r=c.itemData)==null?void 0:r.vendorName};\nVtB=function(K,R){Cp(K);if(R){var f=g.FB.getState().entities;f=MI(f,\"featuredProductsEntity\",R);if(f!=null&&f.productsData){R=[];f=g.Z(f.productsData);for(var V=f.next();!V.done;V=f.next()){V=V.value;var D=void 0;if((D=V)!=null&&D.identifier&&V.featuredSegments){K.B5.push(V);var H=void 0;D=g.Z((H=V)==null?void 0:H.featuredSegments);for(H=D.next();!H.done;H=D.next()){var l=H.value;H=fyh(l.startTimeSec);H!==void 0&&(l=fyh(l.endTimeSec),R.push(new g.nQ(H*1E3,l===void 0?0x7ffffffffffff:l*1E3,{id:V.identifier,\nnamespace:\"featured_product\"})))}}}K.G.PV(R)}}};\nsO=function(K){if(K.trendingOfferEntityKey){var R=g.FB.getState().entities;if(R=MI(R,\"trendingOfferEntity\",K.trendingOfferEntityKey)){var f,V,D;R.encodedSkuId!==((f=K.U)==null?void 0:(V=f.bannerData)==null?void 0:(D=V.itemData)==null?void 0:D.encodedOfferSkuId)?uY(K):(K.X.update({trendingOffer:R.shortLabel+\" \\u2022 \"+R.countLabel}),K.X.show(),K.banner.update({vendor:Rnz(K)}))}else uY(K)}else uY(K)};\nuY=function(K){K.X.hide();K.banner.update({vendor:Rnz(K)})};\nCp=function(K){K.B5=[];K.XJ();K.G.BV(\"featured_product\")};\nDe2=function(K){var R,f,V,D,H=(R=K.U)==null?void 0:(f=R.bannerData)==null?void 0:(V=f.itemData)==null?void 0:(D=V.hiddenProductOptions)==null?void 0:D.dropTimestampMs;R=(Number(H)-Date.now())/1E3;K.countdownTimer.setContent(K1({seconds:R}));if(R>0){var l;(l=K.Gt)==null||l.start()}};\nH9w=function(K){var R;(R=K.Gt)==null||R.stop();K.countdownTimer.hide()};\nfyh=function(K){if(K!==void 0&&K.trim()!==\"\"&&(K=Math.trunc(Number(K.trim())),!(isNaN(K)||K<0)))return K};\ny7z=function(K,R,f){g.Y.call(this,{V:\"div\",Me:[\"ytp-info-panel-action-item\"],S:[{V:\"div\",D:\"ytp-info-panel-action-item-disclaimer\",Q0:\"{{disclaimer}}\"},{V:\"a\",Me:[\"ytp-info-panel-action-item-button\",\"ytp-button\"],L:{role:\"button\",href:\"{{url}}\",target:\"_blank\",rel:\"noopener\"},S:[{V:\"div\",D:\"ytp-info-panel-action-item-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-info-panel-action-item-label\",Q0:\"{{label}}\"}]}]});this.G=K;this.K=f;this.disclaimer=this.IY(\"ytp-info-panel-action-item-disclaimer\");this.button=\nthis.IY(\"ytp-info-panel-action-item-button\");this.e4=!1;this.G.createServerVe(this.element,this,!0);this.listen(\"click\",this.onClick);K=\"\";f=g.z(R==null?void 0:R.onTap,Z3);var V=g.z(f,g.Tq);this.e4=!1;V?(K=V.url||\"\",K.startsWith(\"//\")&&(K=\"https:\"+K),this.e4=!0,g.Wb(this.button,g.N2(K))):(V=g.z(f,$eh))&&!this.K?((K=V.phoneNumbers)&&K.length>0?(K=\"sms:\"+K[0],V.messageText&&(K+=\"?&body=\"+encodeURI(V.messageText))):K=\"\",this.e4=!0,g.Wb(this.button,g.N2(K,[lyv]))):(f=g.z(f,de_))&&!this.K&&(K=f.phoneNumber?\n\"tel:\"+f.phoneNumber:\"\",this.e4=!0,g.Wb(this.button,g.N2(K,[FZD])));this.G.Y(\"embeds_enable_info_panel_dismissal\")&&!K&&(f=g.z(R==null?void 0:R.onTap,Z3),V=g.z(f,c7o))&&(this.e4=!0,this.U=f,this.feedbackToken=V.feedbackToken);var D;if(f=(D=R.disclaimerText)==null?void 0:D.content){this.button.style.borderBottom=\"1px solid white\";this.button.style.paddingBottom=\"16px\";var H,l;this.update({label:(H=R.bodyText)==null?void 0:H.content,icon:this.G.Y(\"embeds_enable_info_panel_dismissal\")?r7G((l=R.icon)==\nnull?void 0:l.iconType):El(),disclaimer:f})}else{this.disclaimer.style.display=\"none\";var F,c;this.update({label:(F=R.bodyText)==null?void 0:F.content,icon:this.G.Y(\"embeds_enable_info_panel_dismissal\")?r7G((c=R.icon)==null?void 0:c.iconType):El()})}this.G.setTrackingParams(this.element,R.trackingParams||null);this.e4&&(this.X={externalLinkData:{url:K}})};\nr7G=function(K){switch(K){case \"OPEN_IN_NEW\":return El();case \"NOT_INTERESTED\":return{V:\"svg\",L:{fill:\"#fff\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M18.71,6C20.13,7.59,21,9.69,21,12c0,4.97-4.03,9-9,9c-2.31,0-4.41-0.87-6-2.29L18.71,6z M3,12 c0-4.97,4.03-9,9-9c2.31,0,4.41,.87,6,2.29L5.29,18C3.87,16.41,3,14.31,3,12z M12,2c5.52,0,10,4.48,10,10c0,5.52-4.48,10-10,10 C6.48,22,2,17.52,2,12C2,6.48,6.48,2,12,2z\",\"fill-rule\":\"evenodd\"}}]};case \"HELP_OUTLINE\":return LS();default:return El()}};\nhnh=function(K,R){var f=DQ();g.br.call(this,K,{V:\"div\",D:\"ytp-info-panel-detail-skrim\",S:[{V:\"div\",D:\"ytp-info-panel-detail\",L:{role:\"dialog\",id:f},S:[{V:\"div\",D:\"ytp-info-panel-detail-header\",S:[{V:\"div\",D:\"ytp-info-panel-detail-title\",Q0:\"{{title}}\"},{V:\"button\",Me:[\"ytp-info-panel-detail-close\",\"ytp-button\"],L:{\"aria-label\":\"Close\"},S:[g.i4()]}]},{V:\"div\",D:\"ytp-info-panel-detail-body\",Q0:\"{{body}}\"},{V:\"div\",D:\"ytp-info-panel-detail-items\"}]}]},250);var V=this;this.U=R;this.items=this.IY(\"ytp-info-panel-detail-items\");\nthis.K=new g.de(this);this.itemData=[];this.X=f;this.j(this.IY(\"ytp-info-panel-detail-close\"),\"click\",this.mB);this.j(this.IY(\"ytp-info-panel-detail-skrim\"),\"click\",this.mB);this.j(this.IY(\"ytp-info-panel-detail\"),\"click\",function(D){D.stopPropagation()});\nthis.j(this.G,\"infopaneldetaildismissed\",function(){K.Y(\"embeds_enable_info_panel_dismissal\")&&V.mB()});\ng.q(this,this.K);this.G.createServerVe(this.element,this,!0);this.j(K,\"videodatachange\",this.onVideoDataChange);this.onVideoDataChange(\"newdata\",K.getVideoData());this.hide()};\noj5=function(K,R){K=g.Z(K.itemData);for(var f=K.next();!f.done;f=K.next())f=f.value,f.G.logVisibility(f.element,R)};\nvj5=function(K,R){g.Y.call(this,{V:\"button\",D:\"ytp-info-panel-preview\",L:{\"aria-live\":\"assertive\",\"aria-atomic\":\"true\",\"aria-owns\":R.getId(),\"aria-haspopup\":\"true\",\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"div\",D:\"ytp-info-panel-preview-text\",Q0:\"{{text}}\"},{V:\"div\",D:\"ytp-info-panel-preview-chevron\",Q0:\"{{chevron}}\"}]});var f=this;this.G=K;this.NW=this.U=this.videoId=null;this.isDismissed=this.X=this.showControls=this.K=!1;this.j(this.element,\"click\",function(){K.logClick(f.element);K.xL();\nYb(R)});\nthis.fade=new g.K0(this,250,!1,100);g.q(this,this.fade);this.G.createServerVe(this.element,this,!0);this.j(K,\"videodatachange\",this.onVideoDataChange);this.j(K,\"presentingplayerstatechange\",this.pU);this.j(this.G,\"paidcontentoverlayvisibilitychange\",this.Cr);this.j(this.G,\"infopaneldetailvisibilitychange\",this.Cr);var V=K.getVideoData()||{};S92(V)&&i9_(this,V);this.j(K,\"onShowControls\",this.W2);this.j(K,\"onHideControls\",this.S$);this.j(this.G,\"infopaneldetaildismissed\",function(){K.Y(\"embeds_enable_info_panel_dismissal\")&&\n(f.isDismissed=!0,f.hide())})};\ni9_=function(K,R){if(!R.bf||!K.G.Zn()){var f=R.T$||1E4,V=S92(R);K.U?R.videoId&&R.videoId!==K.videoId&&(g.Rt(K.U),K.videoId=R.videoId,V?(LZ2(K,f,R),K.kY()):(K.mB(),K.U.dispose(),K.U=null)):V&&(R.videoId&&(K.videoId=R.videoId),LZ2(K,f,R),K.kY())}};\nS92=function(K){var R,f,V,D;return!!((R=K.Ch)==null?0:(f=R.title)==null?0:f.content)||!!((V=K.Ch)==null?0:(D=V.bodyText)==null?0:D.content)};\nLZ2=function(K,R,f){K.U&&K.U.dispose();K.U=new g.CW(K.Vge,R,K);g.q(K,K.U);var V;R=((V=f.Ch)==null?void 0:V.trackingParams)||null;K.G.setTrackingParams(K.element,R);var D;var H,l;if(f==null?0:(H=f.Ch)==null?0:(l=H.title)==null?0:l.content){var F;V=(D=f.Ch)==null?void 0:(F=D.title)==null?void 0:F.content;var c,r;if((c=f.Ch)==null?0:(r=c.bodyText)==null?0:r.content)V+=\" \\u2022 \";D=V}else D=\"\";var y,h;f=((y=f.Ch)==null?void 0:(h=y.bodyText)==null?void 0:h.content)||\"\";K.update({text:D+f,chevron:g.SD()})};\nwLh=function(K,R){K.U&&(g.G(R,8)?(K.K=!0,K.kY(),K.U.start()):(g.G(R,2)||g.G(R,64))&&K.videoId&&(K.videoId=null))};\neu=function(K){var R=null;try{R=K.toLocaleString(\"en\",{style:\"percent\"})}catch(f){R=K.toLocaleString(void 0,{style:\"percent\"})}return R};\nK9=function(K,R){var f=0;K=g.Z(K);for(var V=K.next();!(V.done||V.value.startTime>R);V=K.next())f++;return f===0?f:f-1};\nznB=function(K,R){for(var f=0,V=g.Z(K),D=V.next();!D.done;D=V.next()){D=D.value;if(R=D.timeRangeStartMillis&&R2147483647?\"0\":String(K)};\nf9=function(K,R,f){var V=K.api.getCurrentTime(),D=UeN(K,V);K=UeN(K,V+R);return{startMediaTimeMs:D,endMediaTimeMs:K,seekSource:f}};\nWZM=function(K){var R,f=(R=K.api.getVideoData())==null?void 0:R.Jh();return K.api.getPresentingPlayerType(f)!==2};\nRB=function(K,R){K.X.Eh=R;g.yb(K.api.getRootNode(),\"ytp-probably-keyboard-focus\",R);g.yb(K.contextMenu.element,\"ytp-probably-keyboard-focus\",R)};\nDy=function(K,R,f,V){var D=g.iY(K.api.JV());if(D&&D.loaded){var H=K.api.getSubtitlesUserSettings();D=void 0;for(var l=0;l0?R[0]:null;var f=g.Ea(\"ytp-chrome-bottom\"),V=g.Ea(\"ytp-ad-module\");K.X=!(f==null||!f.contains(R));K.T=!(V==null||!V.contains(R));K.N=!(R==null||!R.hasAttribute(\"data-tooltip-target-fixed\"));return R};\nnjD=function(K,R,f){if(!K.J){if(R){K.tooltipRenderer=R;R=K.tooltipRenderer.text;var V=!1,D;(R==null?0:(D=R.runs)==null?0:D.length)&&R.runs[0].text&&(K.update({title:R.runs[0].text.toString()}),V=!0);g.vi(K.title,V);R=K.tooltipRenderer.detailsText;D=!1;var H;if((R==null?0:(H=R.runs)==null?0:H.length)&&R.runs[0].text){V=R.runs[0].text.toString();H=V.indexOf(\"$TARGET_ICON\");if(H>-1)if(K.tooltipRenderer.targetId){R=[];V=V.split(\"$TARGET_ICON\");var l=new g.Hv({V:\"span\",D:\"ytp-promotooltip-details-icon\",\nS:[Tfw[K.tooltipRenderer.targetId]]});g.q(K,l);for(var F=[],c=g.Z(V),r=c.next();!r.done;r=c.next())r=new g.Hv({V:\"span\",D:\"ytp-promotooltip-details-component\",Q0:r.value}),g.q(K,r),F.push(r);V.length===2?(R.push(F[0].element),R.push(l.element),R.push(F[1].element)):V.length===1&&(H===0?(R.push(l.element),R.push(F[0].element)):(R.push(F[0].element),R.push(l.element)));H=R.length?R:null}else H=null;else H=V;if(H){if(typeof H!==\"string\")for(g.Ba(K.details),D=g.Z(H),H=D.next();!H.done;H=D.next())K.details.appendChild(H.value);\nelse K.update({details:H});D=!0}}g.vi(K.details,D);D=K.tooltipRenderer.acceptButton;H=!1;var y,h,S;((y=g.z(D,g.xu))==null?0:(h=y.text)==null?0:(S=h.runs)==null?0:S.length)&&g.z(D,g.xu).text.runs[0].text&&(K.update({acceptButtonText:g.z(D,g.xu).text.runs[0].text.toString()}),H=!0);g.vi(K.acceptButton,H);y=K.tooltipRenderer.dismissButton;h=!1;var v,L,E;((v=g.z(y,g.xu))==null?0:(L=v.text)==null?0:(E=L.runs)==null?0:E.length)&&g.z(y,g.xu).text.runs[0].text&&(K.update({dismissButtonText:g.z(y,g.xu).text.runs[0].text.toString()}),\nh=!0);g.vi(K.dismissButton,h)}f&&(K.sourceElement=f);K.U=kg2(K);K.B=!1;K.G.C().Y(\"web_player_hide_nitrate_promo_tooltip\")||K.dn(!0);PNh(K);K.EC&&!K.Z&&(K.Z=!0,K.OC.Np(0));K.K&&K.G.logVisibility(K.element,K.EC)}};\ndf=function(K){K.dn(!1);K.K&&K.G.logVisibility(K.element,K.EC)};\nIy5=function(K){var R,f,V,D=((R=g.z(K.acceptButton,g.xu))==null?void 0:(f=R.text)==null?void 0:(V=f.runs)==null?void 0:V.length)&&!!g.z(K.acceptButton,g.xu).text.runs[0].text,H,l,F;R=((H=g.z(K.dismissButton,g.xu))==null?void 0:(l=H.text)==null?void 0:(F=l.runs)==null?void 0:F.length)&&!!g.z(K.dismissButton,g.xu).text.runs[0].text;return D||R};\nPNh=function(K){var R;if(!(R=!K.U)){R=K.U;var f=window.getComputedStyle(R);R=f.display===\"none\"||f.visibility===\"hidden\"||R.getAttribute(\"aria-hidden\")===\"true\"}if(R||K.G.isMinimized())K.dn(!1);else if(R=g.i6(K.U),R.width&&R.height){K.G.Ug(K.element,K.U);var V=K.G.Ft().getPlayerSize().height;f=g.i6(K.IY(\"ytp-promotooltip-container\")).height;K.X?K.element.style.top=V-f-R.height-12+\"px\":K.N||(V=K.G.OT().height-f-R.height-12,K.element.style.top=V+\"px\");V=K.IY(\"ytp-promotooltip-pointer\");var D=g.os(K.U,\nK.G.getRootNode()),H=Number(K.element.style.left.replace(/[^\\d\\.]/g,\"\"));K=K.G.isFullscreen()?18:12;V.style.left=D.x-H+R.width/2-K+\"px\";V.style.top=f+\"px\"}else K.dn(!1)};\nFf=function(K){g.Y.call(this,{V:\"button\",Me:[\"ytp-replay-button\",\"ytp-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Replay\":\"\",\"data-tooltip-title\":\"Replay\"},S:[g.Ul()]});this.G=K;this.j(K,\"presentingplayerstatechange\",this.onStateChange);this.listen(\"click\",this.onClick,this);this.YY(K.getPlayerStateObject());Ny(this.G,this.element,this)};\ncL=function(K,R){R=R===void 0?240:R;g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-search-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Search\":\"\",\"data-tooltip-title\":\"Search\",\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"div\",D:\"ytp-search-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-search-title\",Q0:\"Search\"}]});this.api=K;this.K=R;this.visible=!1;this.updateValue(\"icon\",{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 24 24\",width:\"100%\"},S:[{V:\"path\",D:\"ytp-svg-fill\",L:{d:\"M21.24,19.83l-5.64-5.64C16.48,13.02,17,11.57,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7c0,3.87,3.13,7,7,7 c1.57,0,3.02-0.52,4.19-1.4l5.64,5.64L21.24,19.83z M5,10c0-2.76,2.24-5,5-5s5,2.24,5,5c0,2.76-2.24,5-5,5S5,12.76,5,10z\"}}]});\nK.createClientVe(this.element,this,184945);this.listen(\"click\",this.onClick);this.U();this.j(K,\"appresize\",this.U);this.j(K,\"videodatachange\",this.U);Ny(K,this.element,this)};\nrf=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-seek-overlay\",S:[{V:\"div\",Me:[\"ytp-seek-overlay-animation\",\"ytp-seek-overlay-animation-back\"],S:[{V:\"div\",Me:[\"ytp-seek-overlay-arrow\",\"ytp-seek-overlay-arrow-persistent\"],S:[{V:\"svg\",L:{viewBox:\"0 0 22 32\",width:\"22\",height:\"24\"},S:[{V:\"path\",L:{d:\"M 18 4 L 6 16 L 18 28\",stroke:\"white\",\"stroke-width\":\"4\",\"stroke-linecap\":\"round\",fill:\"none\"}}]}]},{V:\"div\",D:\"ytp-seek-overlay-duration\",Q0:\"{{durationBack}}\"}]},{V:\"div\",Me:[\"ytp-seek-overlay-animation\",\n\"ytp-seek-overlay-animation-forward\"],S:[{V:\"div\",D:\"ytp-seek-overlay-duration\",Q0:\"{{durationForward}}\"},{V:\"div\",Me:[\"ytp-seek-overlay-arrow\",\"ytp-seek-overlay-arrow-persistent\"],S:[{V:\"svg\",L:{viewBox:\"0 0 22 32\",width:\"22\",height:\"24\"},S:[{V:\"path\",L:{d:\"M 4 4 L 16 16 L 4 28\",stroke:\"white\",\"stroke-width\":\"4\",\"stroke-linecap\":\"round\",fill:\"none\"}}]}]}]},{V:\"div\",D:\"ytp-seek-overlay-message\",S:[{V:\"div\",D:\"ytp-seek-overlay-message-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-seek-overlay-message-text\",\nQ0:\"{{text}}\"}]}]});var R=this;this.G=K;this.B=0;this.U=\"hidden\";this.N=this.IY(\"ytp-seek-overlay-animation-back\");this.Z=this.IY(\"ytp-seek-overlay-animation-forward\");this.UF=this.IY(\"ytp-seek-overlay-message\");this.T=new g.CW(function(){gjD(R)},g.mz(this.G.C().experiments,\"web_player_seek_overlay_linger_duration\")||1E3);\ng.q(this,this.T);this.G.createClientVe(this.Z,this,28240);this.G.createClientVe(this.N,this,28239);this.G.logVisibility(this.Z,!0);this.G.logVisibility(this.N,!0);this.hide()};\nO9N=function(K,R){K.X=K.J.animate([{offset:0,easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\",opacity:R},{offset:1,opacity:1}],{duration:200,fill:\"forwards\"});K.X.addEventListener(\"finish\",function(){K.X=void 0;K.T.start();K.U=\"lingering\"})};\njBz=function(K,R,f,V){f=f===void 0?!1:f;V=V===void 0?!1:V;var D=[];D.push({offset:0,transform:\"translateX(\"+(K.K===-1?20:-20)+\"px)\",opacity:f?\"0\":\"1\"});f&&D.push({offset:.5,opacity:\"1\"});D.push({offset:1,transform:\"translateX(0)\",opacity:\"1\"});f=R.animate(D,{duration:400,easing:\"cubic-bezier(0.05, 0.00, 0.00, 1.00)\"});R=R.querySelector(\"path\");D=[];var H={offset:0,d:K.K===-1?'path(\"M 18 4 L 18 16 L 18 28\")':'path(\"M 4 4 L 4 16 L 4 28\")'};V&&(H.filter=\"drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.8))\");D.push(H);\nV&&D.push({offset:.8,filter:\"drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.8))\"});K={offset:1,d:K.K===-1?'path(\"M 18 4 L 6 16 L 18 28\")':'path(\"M 4 4 L 16 16 L 4 28\")'};V&&(K.filter=\"drop-shadow(0 0 0.5px rgba(0, 0, 0, 0))\");D.push(K);R.animate(D,{duration:333,easing:\"cubic-bezier(0.05, 0.00, 0.00, 1.00)\",fill:\"forwards\"});return f};\nq9D=function(K){var R=K.J.querySelector(\".ytp-seek-overlay-arrow-persistent\").cloneNode(!0);R.classList.add(\"ytp-seek-overlay-arrow-additional\");R.classList.remove(\"ytp-seek-overlay-arrow-persistent\");K.J.appendChild(R);jBz(K,R,!0,!0).addEventListener(\"finish\",function(){R.remove()})};\ngjD=function(K,R,f){f=f===void 0?!0:f;K.X=K.J.animate([{offset:0,opacity:R===void 0?1:R},{offset:1,opacity:0}],{duration:200,fill:\"forwards\",easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\"});f&&(K.X.addEventListener(\"finish\",function(){K.X=void 0;MtD(K);K.hide()}),K.U=\"fading-out\")};\nb9v=function(K){var R=Number(getComputedStyle(K.J).opacity),f;(f=K.X)==null||f.cancel();K.X=void 0;return R};\nMtD=function(K){K.B=0;K.U=\"hidden\";K.K=void 0;K.J=void 0;K.T.stop();K.X=void 0};\npLN=function(K,R,f){K.updateValue(\"text\",R);if(f){a:{switch(f){case \"PREMIUM_STANDALONE\":R=Vze();break a;case \"PREMIUM_STANDALONE_CAIRO\":R=Dmw();break a}R=void 0}K.updateValue(\"icon\",R)}R=g.Z(K.UF.getAnimations());for(f=R.next();!f.done;f=R.next())f.value.cancel();K.UF.animate([{offset:0,opacity:0},{offset:.3,opacity:1},{offset:.7,opacity:1},{offset:1,opacity:0}],{duration:1400}).addEventListener(\"finish\",function(){K.updateValue(\"text\",\"\");K.updateValue(\"icon\",\"\")})};\nyS=function(K,R,f,V){V=V===void 0?240:V;g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-share-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Share\":\"\",\"data-tooltip-title\":\"Share\",\"aria-haspopup\":\"true\",\"aria-owns\":f.element.id,\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"div\",D:\"ytp-share-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-share-title\",Q0:\"Share\"}]});this.api=K;this.U=R;this.K=f;this.X=V;this.visible=!1;this.tooltip=this.U.sA();K.createClientVe(this.element,this,28664);this.listen(\"click\",\nthis.onClick);this.j(K,\"videodatachange\",this.T2);this.j(K,\"videoplayerreset\",this.T2);this.j(K,\"appresize\",this.T2);this.j(K,\"presentingplayerstatechange\",this.T2);this.T2();this.addOnDisposeCallback(g.Qg(this.tooltip,this.element))};\nY9e=function(K){var R=K.api.C(),f=K.api.getVideoData(),V=g.kN(R)&&g.Xs(K.api)&&g.G(K.api.getPlayerStateObject(),128);R=R.X||R.disableSharing&&K.api.getPresentingPlayerType()!==2||!f.showShareButton||f.ZY||V||f.nL||!1;V=K.api.Ft().getPlayerSize().width;return!!f.videoId&&V>=K.X&&!R};\nmeh=function(K,R){R.name!==\"InvalidStateError\"&&R.name!==\"AbortError\"&&(R.name===\"NotAllowedError\"?(K.U.xL(),Yb(K.K,K.element,!1)):g.WR(R))};\nufM=function(K,R){var f=DQ(),V=K.C();f={V:\"div\",D:\"ytp-share-panel\",L:{id:DQ(),role:\"dialog\",\"aria-labelledby\":f},S:[{V:\"div\",D:\"ytp-share-panel-inner-content\",S:[{V:\"div\",D:\"ytp-share-panel-title\",L:{id:f},Q0:\"Share\"},{V:\"a\",Me:[\"ytp-share-panel-link\",\"ytp-no-contextmenu\"],L:{href:\"{{link}}\",target:V.EF,title:\"Share link\",\"aria-label\":\"{{shareLinkWithUrl}}\"},Q0:\"{{linkText}}\"},{V:\"label\",D:\"ytp-share-panel-include-playlist\",S:[{V:\"input\",D:\"ytp-share-panel-include-playlist-checkbox\",L:{type:\"checkbox\",\nchecked:\"true\"}},\"Include playlist\"]},{V:\"div\",D:\"ytp-share-panel-loading-spinner\",S:[yi()]},{V:\"div\",D:\"ytp-share-panel-service-buttons\",Q0:\"{{buttons}}\"},{V:\"div\",D:\"ytp-share-panel-error\",Q0:\"An error occurred while retrieving sharing information. Please try again later.\"}]},{V:\"button\",Me:[\"ytp-share-panel-close\",\"ytp-button\"],L:{title:\"Close\"},S:[g.i4()]}]};g.br.call(this,K,f,250);var D=this;this.moreButton=null;this.api=K;this.tooltip=R.sA();this.K=[];this.J=this.IY(\"ytp-share-panel-inner-content\");\nthis.closeButton=this.IY(\"ytp-share-panel-close\");this.j(this.closeButton,\"click\",this.mB);this.addOnDisposeCallback(g.Qg(this.tooltip,this.closeButton));this.X=this.IY(\"ytp-share-panel-include-playlist-checkbox\");this.j(this.X,\"click\",this.T2);this.U=this.IY(\"ytp-share-panel-link\");this.addOnDisposeCallback(g.Qg(this.tooltip,this.U));this.api.createClientVe(this.U,this,164503);this.j(this.U,\"click\",function(H){H.preventDefault();D.api.logClick(D.U);var l=D.api.getVideoUrl(!0,!0,!1,!1);l=GgM(D,l);\ng.cW(l,D.api,H)&&D.api.lD(\"SHARE_CLICKED\")});\nthis.listen(\"click\",this.Km);this.j(K,\"videoplayerreset\",this.hide);this.j(K,\"fullscreentoggled\",this.onFullscreenToggled);this.j(K,\"onLoopRangeChange\",this.uRU);this.hide()};\nenz=function(K,R){sB_(K);for(var f=R.links||R.shareTargets,V=0,D={},H=0;H0&&!M&&!k?(B.length===2&&(B=[\"noreferrer\"]),g.Bb(v,E,S,B[0]),v=Abe()):(Q=A.join(\",\"),CC()&&v.navigator&&v.navigator.standalone&&S&&S!=\"_self\"?(Q=g.tB(\"A\"),g.Wb(Q,E),Q.target=S,J&&(Q.rel=\"noreferrer\"),((L=L.attributionsrc)||L===\"\")&&Q.setAttribute(\"attributionsrc\",L),L=document.createEvent(\"MouseEvent\"),\nL.initMouseEvent(\"click\",!0,!0,v,1),Q.dispatchEvent(L),v=Abe()):J?(v=g.Bb(v,\"\",S,Q),L=g.EA(E),v&&(v.opener=null,L===\"\"&&(L=\"javascript:''\"),L='',L=Jl(L),(E=v.document)&&E.write&&(E.write(ZP(L)),E.close()))):((v=g.Bb(v,E,S,Q))&&L.noopener&&(v.opener=null),v&&L.noreferrer&&(v.opener=null)));v&&(v.opener||(v.opener=window),v.focus());h.preventDefault()}}}(D));\nD.Q4.addOnDisposeCallback(g.Qg(K.tooltip,D.Q4.element));F===\"Facebook\"?K.api.createClientVe(D.Q4.element,D.Q4,164504):F===\"Twitter\"&&K.api.createClientVe(D.Q4.element,D.Q4,164505);K.j(D.Q4.element,\"click\",function(y){return function(){K.api.logClick(y.Q4.element)}}(D));\nK.api.logVisibility(D.Q4.element,!0);K.K.push(D.Q4);V++}}var c=R.more||R.moreLink,r=new g.Y({V:\"a\",Me:[\"ytp-share-panel-service-button\",\"ytp-button\"],S:[{V:\"span\",D:\"ytp-share-panel-service-button-more\",S:[{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 38 38\",width:\"100%\"},S:[{V:\"rect\",L:{fill:\"#fff\",height:\"34\",width:\"34\",x:\"2\",y:\"2\"}},{V:\"path\",L:{d:\"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z\",\nfill:\"#4e4e4f\",\"fill-rule\":\"evenodd\"}}]}]}],L:{href:c,target:\"_blank\",title:\"More\"}});r.listen(\"click\",function(y){var h=c;K.api.logClick(K.moreButton.element);h=GgM(K,h);g.cW(h,K.api,y)&&K.api.lD(\"SHARE_CLICKED\")});\nr.addOnDisposeCallback(g.Qg(K.tooltip,r.element));K.api.createClientVe(r.element,r,164506);K.j(r.element,\"click\",function(){K.api.logClick(r.element)});\nK.api.logVisibility(r.element,!0);K.K.push(r);K.moreButton=r;K.updateValue(\"buttons\",K.K)};\nGgM=function(K,R){var f={};g.kN(K.api.C())&&(g.hX(K.api,\"addEmbedsConversionTrackingParams\",[f]),R=g.B9(R,f));return R};\nsB_=function(K){for(var R=g.Z(K.K),f=R.next();!f.done;f=R.next())f=f.value,f.detach(),g.v5(f);K.K=[]};\nh7=function(K){return K===void 0||K.startSec===void 0||K.endSec===void 0?!1:!0};\nKEG=function(K,R){K.startSec+=R;K.endSec+=R};\nfWM=function(K){yv.call(this,K);this.X=this.U=this.isContentForward=this.T=!1;this.element.setAttribute(\"data-overlay-order\",\"8\");RAe(this);this.j(this.G,\"changeProductsInVideoVisibility\",this.DW2);this.j(this.G,\"videodatachange\",this.onVideoDataChange)};\nV_v=function(K){K.B&&K.er.element.removeChild(K.B.element);K.B=void 0};\nHqG=function(K,R){return R.map(function(f){var V,D;if((f=(V=g.z(f,DTv))==null?void 0:(D=V.thumbnail)==null?void 0:D.thumbnails)&&f.length!==0)return f[0].url}).filter(function(f){return f!==void 0}).map(function(f){f=new g.Y({V:\"img\",\nD:\"ytp-suggested-action-product-thumbnail\",L:{alt:\"\",src:f}});g.q(K,f);return f})};\n$T2=function(K,R){K.isContentForward=R;g.yb(K.badge.element,\"ytp-suggested-action-badge-content-forward\",R)};\noB=function(K){var R=K.isContentForward&&!K.G5();g.yb(K.badge.element,\"ytp-suggested-action-badge-preview-collapsed\",R&&K.U);g.yb(K.badge.element,\"ytp-suggested-action-badge-preview-expanded\",R&&K.X)};\nSt=function(K,R,f){return new g.nQ(K*1E3,R*1E3,{priority:9,namespace:f})};\nlWB=function(K){K.G.BV(\"shopping_overlay_visible\");K.G.BV(\"shopping_overlay_preview_collapsed\");K.G.BV(\"shopping_overlay_preview_expanded\");K.G.BV(\"shopping_overlay_expanded\")};\nRAe=function(K){K.j(K.G,g.gI(\"shopping_overlay_visible\"),function(){K.Qt(!0)});\nK.j(K.G,g.OK(\"shopping_overlay_visible\"),function(){K.Qt(!1)});\nK.j(K.G,g.gI(\"shopping_overlay_expanded\"),function(){K.aY=!0;r3(K)});\nK.j(K.G,g.OK(\"shopping_overlay_expanded\"),function(){K.aY=!1;r3(K)});\nK.j(K.G,g.gI(\"shopping_overlay_preview_collapsed\"),function(){K.U=!0;oB(K)});\nK.j(K.G,g.OK(\"shopping_overlay_preview_collapsed\"),function(){K.U=!1;oB(K)});\nK.j(K.G,g.gI(\"shopping_overlay_preview_expanded\"),function(){K.X=!0;oB(K)});\nK.j(K.G,g.OK(\"shopping_overlay_preview_expanded\"),function(){K.X=!1;oB(K)})};\ncgG=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-shorts-title-channel\",S:[{V:\"a\",D:\"ytp-shorts-title-channel-logo\",L:{href:\"{{channelLink}}\",target:K.C().EF,\"aria-label\":\"{{channelLogoLabel}}\"}},{V:\"div\",D:\"ytp-shorts-title-expanded-heading\",S:[{V:\"div\",D:\"ytp-shorts-title-expanded-title\",S:[{V:\"a\",Q0:\"{{expandedTitle}}\",L:{href:\"{{channelTitleLink}}\",target:K.C().EF,tabIndex:\"0\"}}]}]}]});var R=this;this.api=K;this.U=this.IY(\"ytp-shorts-title-channel-logo\");this.channelName=this.IY(\"ytp-shorts-title-expanded-title\");\nthis.subscribeButton=null;K.createClientVe(this.U,this,36925);this.j(this.U,\"click\",function(f){R.api.logClick(R.U);g.Bb(window,dT_(R));f.preventDefault()});\nK.createClientVe(this.channelName,this,37220);this.j(this.channelName,\"click\",function(f){R.api.logClick(R.channelName);g.Bb(window,dT_(R));f.preventDefault()});\nFEc(this);this.j(K,\"videodatachange\",this.T2);this.j(K,\"videoplayerreset\",this.T2);this.T2()};\nFEc=function(K){if(!K.api.C().hV){var R=K.api.getVideoData(),f=new g.bY(\"Subscribe\",null,\"Subscribed\",null,!0,!1,R.M$,R.subscribed,\"channel_avatar\",null,K.api,!0);K.api.createServerVe(f.element,K);var V;K.api.setTrackingParams(f.element,((V=R.subscribeButtonRenderer)==null?void 0:V.trackingParams)||null);K.j(f.element,\"click\",function(){K.api.logClick(f.element)});\nK.subscribeButton=f;g.q(K,K.subscribeButton);K.subscribeButton.V0(K.element)}};\ndT_=function(K){var R=K.api.C(),f=K.api.getVideoData();f=g.cd(R)+f.G2;if(!g.kN(R))return f;R={};g.hX(K.api,\"addEmbedsConversionTrackingParams\",[R]);return g.B9(f,R)};\niN=function(K){g.br.call(this,K,{V:\"button\",Me:[\"ytp-skip-intro-button\",\"ytp-popup\",\"ytp-button\"],S:[{V:\"div\",D:\"ytp-skip-intro-button-text\",Q0:\"Skip Intro\"}]},100);var R=this;this.K=!1;this.U=new g.CW(function(){R.hide()},5E3);\nthis.qV=this.Ub=NaN;g.q(this,this.U);this.N=function(){R.show()};\nthis.J=function(){R.hide()};\nthis.X=function(){var f=R.G.getCurrentTime();f>R.Ub/1E3&&f0?{V:\"svg\",L:{height:\"100%\",mlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",width:\"100%\"},S:[{V:\"path\",Me:[\"ytp-circle-arrow\",\"ytp-svg-fill\"],L:{d:\"m19,12c0,2.1 -0.93,4.07 -2.55,5.4c-1.62,1.34 -3.76,1.87 -5.86,1.46c-2.73,-0.53 -4.92,-2.72 -5.45,-5.45c-0.41,-2.1 .12,-4.24 1.46,-5.86c1.33,-1.62 3.3,-2.55 5.4,-2.55l1.27,0l-0.85,.85l1.41,1.41l3.35,-3.35l-3.35,-3.35l-1.41,1.41l1.01,1.03l-1.43,0c-2.7,0 -5.23,1.19 -6.95,3.28c-1.72,2.08 -2.4,4.82 -1.88,7.52c0.68,3.52 3.51,6.35 7.03,7.03c0.6,.11 1.19,.17 1.78,.17c2.09,0 4.11,-0.71 5.74,-2.05c2.09,-1.72 3.28,-4.25 3.28,-6.95l-2,0z\"}},\n{V:\"text\",Me:[\"ytp-jump-button-text\",\"ytp-svg-fill\"],L:{x:\"7.05\",y:\"15.05\"}}]}:{V:\"svg\",L:{height:\"100%\",mlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",width:\"100%\"},S:[{V:\"path\",Me:[\"ytp-circle-arrow\",\"ytp-svg-fill\"],L:{d:\"m18.95,6.28c-1.72,-2.09 -4.25,-3.28 -6.95,-3.28l-1.43,0l1.02,-1.02l-1.41,-1.41l-3.36,3.35l3.35,3.35l1.41,-1.41l-0.85,-0.86l1.27,0c2.1,0 4.07,.93 5.4,2.55c1.34,1.62 1.87,3.76 1.46,5.86c-0.53,2.73 -2.72,4.92 -5.45,5.45c-2.11,.41 -4.24,-0.12 -5.86,-1.46c-1.62,-1.33 -2.55,-3.3 -2.55,-5.4l-2,0c0,2.7 1.19,5.23 3.28,6.95c1.62,1.34 3.65,2.05 5.74,2.05c0.59,0 1.19,-0.06 1.78,-0.17c3.52,-0.68 6.35,-3.51 7.03,-7.03c0.52,-2.7 -0.17,-5.44 -1.88,-7.52z\"}},\n{V:\"text\",Me:[\"ytp-jump-button-text\",\"ytp-svg-fill\"],L:{x:\"6.5\",y:\"15\"}}]}]});var f=this;this.G=K;this.U=R;this.K=new g.CW(function(){f.X?(f.X=!1,f.K.start()):f.element.classList.remove(\"ytp-jump-spin\",\"backwards\")},250);\nthis.X=!1;(R=R>0)?this.G.createClientVe(this.element,this,36843):this.G.createClientVe(this.element,this,36844);var V=g.sK(R?\"Seek forward $SECONDS seconds. (\\u2192)\":\"Seek backwards $SECONDS seconds. (\\u2190)\",{SECONDS:Math.abs(this.U).toString()});this.G.Y(\"player_tooltip_data_title_killswitch\")?this.update({title:V,\"data-title-no-tooltip\":V,\"aria-keyshortcuts\":R?\"\\u2192\":\"\\u2190\"}):this.update({\"tooltip-title\":V,\"data-title-no-tooltip\":V,\"aria-keyshortcuts\":R?\"\\u2192\":\"\\u2190\"});this.J=this.element.querySelector(\".ytp-jump-button-text\");\nthis.J.textContent=Math.abs(this.U).toString();this.listen(\"click\",this.onClick,this);Ny(K,this.element,this)};\nLEo=function(K,R){R?K.element.classList.add(\"ytp-jump-button-enabled\"):K.element.classList.remove(\"ytp-jump-button-enabled\");K.G.logVisibility(K.element,R);K.G.p7()};\naB=function(K,R){L9.call(this,K,R,\"timedMarkerCueRange\",\"View key moments\");this.j(K,g.OK(\"timedMarkerCueRange\"),this.eM);this.j(K,\"updatemarkervisibility\",this.updateVideoData)};\nwNv=function(K){var R,f=(R=K.G.getVideoData())==null?void 0:R.er;if(f)for(K=K.J.kW,f=g.Z(f),R=f.next();!R.done;R=f.next())if(R=K[R.value]){var V=void 0,D=void 0,H=void 0;if(((V=R.onTap)==null?void 0:(D=V.innertubeCommand)==null?void 0:(H=D.changeEngagementPanelVisibilityAction)==null?void 0:H.targetId)!==\"engagement-panel-macro-markers-problem-walkthroughs\")return R}};\nQS=function(K){g.Y.call(this,{V:\"button\",Me:[\"ytp-miniplayer-button\",\"ytp-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"aria-keyshortcuts\":\"i\",\"data-priority\":\"7\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-tooltip-target-id\":\"ytp-miniplayer-button\"},S:[\"{{icon}}\"]});this.G=K;this.visible=!1;this.listen(\"click\",this.onClick);this.j(K,\"fullscreentoggled\",this.T2);this.G.Y(\"player_tooltip_data_title_killswitch\")?\nthis.update({title:g.UD(K,\"Miniplayer\",\"i\"),\"data-title-no-tooltip\":\"Miniplayer\",icon:zAv(this)}):this.update({\"tooltip-title\":g.UD(K,\"Miniplayer\",\"i\"),\"data-title-no-tooltip\":\"Miniplayer\",icon:zAv(this)});Ny(K,this.element,this);K.createClientVe(this.element,this,62946);this.T2()};\nzAv=function(K){return K.G.Y(\"delhi_modern_web_player_icons\")?s9w():ah()};\nNe=function(K,R,f,V,D,H){H=H===void 0?!1:H;var l={V:\"div\",Me:[\"ytp-input-slider-section\"],S:[{V:\"input\",D:\"ytp-input-slider\",L:{role:\"slider\",tabindex:\"0\",type:\"range\",min:\"{{minvalue}}\",max:\"{{maxvalue}}\",\"aria-valuemin\":\"{{ariaMinValue}}\",\"aria-valuemax\":\"{{ariaMaxValue}}\",\"aria-valuenow\":\"{{ariaValueNow}}\",step:\"{{stepvalue}}\",value:\"{{slidervalue}}\"}}]};D&&l.S.unshift(D);H&&l.Me.push(\"ytp-vertical-slider\");g.Y.call(this,l);this.X=K;this.B=R;this.N=f;this.initialValue=V;this.header=D;this.K=this.IY(\"ytp-input-slider\");\nthis.U=V?V:K;this.init();this.j(this.K,\"input\",this.J);this.j(this.K,\"keydown\",this.T)};\nU9=function(K,R){K.U=R;K.update({slidervalue:K.U,ariaValueNow:K.U});K.K.valueAsNumber=K.U;xTo(K,R)};\nxTo=function(K,R){K.K.style.setProperty(\"--yt-slider-shape-gradient-percent\",(R-K.X)/(K.B-K.X)*100+\"%\")};\nWL=function(K){var R=K.isMuted()?0:K.getVolume();Ne.call(this,0,100,1,R,void 0,!0);this.G=K;this.UF=uu(this.Xt,10,this);this.Z=!1;this.j(K,\"onVolumeChange\",this.onVolumeChange);this.j(this.element,\"wheel\",this.aY)};\nEZN=function(K,R){g.Y.call(this,{V:\"div\",L:{tabindex:\"0\",title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Volume\":\"\",\"data-tooltip-title\":\"Volume\",\"data-tooltip-offset-y\":\"-120\"},Me:[\"ytp-volume-popover\"]});var f=this;this.isVisible=!1;this.tooltip=R.sA();this.K=new WL(K);g.q(this,this.K);this.K.V0(this.element);this.U=new g.CW(function(){t7(f,!1)},300);\nthis.listen(\"mouseenter\",function(){f.U.stop()});\nthis.listen(\"mouseleave\",function(){f.U.start()});\nthis.listen(\"focus\",function(){f.U.stop()});\nthis.j(this.K.K,\"focus\",function(){f.U.stop()});\nthis.listen(\"focusout\",function(){f.U.start();f.element.dispatchEvent(new Event(\"blur\"))});\nthis.addOnDisposeCallback(g.Qg(R.sA(),this.element));g.q(this,this.U)};\nt7=function(K,R){K.element.classList.toggle(\"ytp-volume-popover-hovering\",R);K.isVisible=R;(K=K.element.closest(\".ytp-chrome-bottom\"))&&K.classList.toggle(\"ytp-volume-popover-showing\",R)};\nA7=function(K,R,f){f=f===void 0?!1:f;var V=K.C().er?{\"aria-keyshortcuts\":\"m\",\"aria-label\":\"{{aria-label}}\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-priority\":\"{{dataPriority}}\",\"data-tooltip-offset-y\":\"{{dataTooltipOffsetY}}\",\"data-tooltip-title\":\"{{tooltip-title}}\",title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\"}:{\"aria-disabled\":\"true\",\"aria-haspopup\":\"true\"};V=K.Y(\"delhi_modern_web_player\")?{V:\"div\",D:\"ytp-mute-button\",S:[{V:\"button\",L:V,Me:[\"ytp-volume-icon\",\n\"ytp-button\"],Q0:\"{{icon}}\"}]}:{V:\"button\",Me:[\"ytp-mute-button\",\"ytp-button\"],L:V,S:[{V:\"div\",D:\"ytp-volume-icon\",Q0:\"{{icon}}\"}]};g.Y.call(this,V);this.G=K;this.qe=f;this.K=null;this.T=this.Xt=this.Z=this.N=NaN;this.y0=this.UF=null;this.B=[];this.J=[];this.visible=!1;this.X=this.U=this.aY=null;K.Y(\"delhi_modern_web_player\")&&this.update({\"data-priority\":4});f=this.G.C();this.updateValue(\"icon\",AJ());this.tooltip=R.sA();this.updateValue(\"dataTooltipOffsetY\",0);this.X=g.Ea(\"ytp-volume-icon\",this.element);\nV=this.G.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",Me:[\"ytp-svg-fill\",\"ytp-svg-volume-animation-speaker\"],L:{d:\"M 11.60 2.08 L 11.48 2.14 L 3.91 6.68 C 3.02 7.21 2.28 7.97 1.77 8.87 C 1.26 9.77 1.00 10.79 1 11.83 V 12.16 L 1.01 12.56 C 1.07 13.52 1.37 14.46 1.87 15.29 C 2.38 16.12 3.08 16.81 3.91 17.31 L 11.48 21.85 C 11.63 21.94 11.80 21.99 11.98 21.99 C 12.16 22.00 12.33 21.95 12.49 21.87 C 12.64 21.78 12.77 21.65 12.86 21.50 C 12.95 21.35 13 21.17 13 21 V 3 C 12.99 2.83 12.95 2.67 12.87 2.52 C 12.80 2.37 12.68 2.25 12.54 2.16 C 12.41 2.07 12.25 2.01 12.08 2.00 C 11.92 1.98 11.75 2.01 11.60 2.08 Z\",\nfill:\"#fff\"}},{V:\"path\",D:\"ytp-svg-volume-animation-small-ripple\",L:{d:\" M 15.53 7.05 C 15.35 7.22 15.25 7.45 15.24 7.70 C 15.23 7.95 15.31 8.19 15.46 8.38 L 15.53 8.46 L 15.70 8.64 C 16.09 9.06 16.39 9.55 16.61 10.08 L 16.70 10.31 C 16.90 10.85 17 11.42 17 12 L 16.99 12.24 C 16.96 12.73 16.87 13.22 16.70 13.68 L 16.61 13.91 C 16.36 14.51 15.99 15.07 15.53 15.53 C 15.35 15.72 15.25 15.97 15.26 16.23 C 15.26 16.49 15.37 16.74 15.55 16.92 C 15.73 17.11 15.98 17.21 16.24 17.22 C 16.50 17.22 16.76 17.12 16.95 16.95 C 17.6 16.29 18.11 15.52 18.46 14.67 L 18.59 14.35 C 18.82 13.71 18.95 13.03 18.99 12.34 L 19 12 C 18.99 11.19 18.86 10.39 18.59 9.64 L 18.46 9.32 C 18.15 8.57 17.72 7.89 17.18 7.3 L 16.95 7.05 L 16.87 6.98 C 16.68 6.82 16.43 6.74 16.19 6.75 C 15.94 6.77 15.71 6.87 15.53 7.05\",\nfill:\"#fff\"}},{V:\"path\",D:\"ytp-svg-volume-animation-big-ripple\",L:{d:\"M18.36 4.22C18.18 4.39 18.08 4.62 18.07 4.87C18.05 5.12 18.13 5.36 18.29 5.56L18.36 5.63L18.66 5.95C19.36 6.72 19.91 7.60 20.31 8.55L20.47 8.96C20.82 9.94 21 10.96 21 11.99L20.98 12.44C20.94 13.32 20.77 14.19 20.47 15.03L20.31 15.44C19.86 16.53 19.19 17.52 18.36 18.36C18.17 18.55 18.07 18.80 18.07 19.07C18.07 19.33 18.17 19.59 18.36 19.77C18.55 19.96 18.80 20.07 19.07 20.07C19.33 20.07 19.59 19.96 19.77 19.77C20.79 18.75 21.61 17.54 22.16 16.20L22.35 15.70C22.72 14.68 22.93 13.62 22.98 12.54L23 12C22.99 10.73 22.78 9.48 22.35 8.29L22.16 7.79C21.67 6.62 20.99 5.54 20.15 4.61L19.77 4.22L19.70 4.15C19.51 3.99 19.26 3.91 19.02 3.93C18.77 3.94 18.53 4.04 18.36 4.22 Z\",\nfill:\"#fff\"}}]}:{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"defs\",S:[{V:\"clipPath\",L:{id:\"ytp-svg-volume-animation-mask\"},S:[{V:\"path\",L:{d:\"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z\"}},{V:\"path\",L:{d:\"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z\"}},{V:\"path\",D:\"ytp-svg-volume-animation-mover\",L:{d:\"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z\"}}]},{V:\"clipPath\",L:{id:\"ytp-svg-volume-animation-slash-mask\"},S:[{V:\"path\",D:\"ytp-svg-volume-animation-mover\",\nL:{d:\"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z\"}}]}]},{V:\"path\",uM:!0,Me:[\"ytp-svg-fill\",\"ytp-svg-volume-animation-speaker\"],L:{\"clip-path\":\"url(#ytp-svg-volume-animation-mask)\",d:\"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z\",fill:\"#fff\"}},{V:\"path\",uM:!0,Me:[\"ytp-svg-fill\",\"ytp-svg-volume-animation-hider\"],L:{\"clip-path\":\"url(#ytp-svg-volume-animation-slash-mask)\",d:\"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z\",\nfill:\"#fff\"}}]};this.K=new g.Hv(V);g.q(this,this.K);this.UF=this.K.IY(\"ytp-svg-volume-animation-speaker\");this.y0=this.UF.getAttribute(\"d\");this.B=g.za(\"ytp-svg-volume-animation-mover\",this.K.element);this.G.Y(\"delhi_modern_web_player_icons\");this.J=g.za(\"ytp-svg-volume-animation-hider\",this.K.element);this.G.Y(\"delhi_modern_web_player_icons\");this.er=new Ij;g.q(this,this.er);this.B5=new Ij;g.q(this,this.B5);this.j(K,\"appresize\",this.BF);this.j(K,\"onVolumeChange\",this.onVolumeChange);K.Y(\"delhi_modern_web_player\")?\nthis.listen(\"click\",this.OT2):this.listen(\"click\",this.Bv);f.er?(K.Y(\"delhi_modern_web_player\")&&!K.Y(\"delhi_modern_web_player_horizontal_volume_controls\")&&(this.U=new EZN(K,R),this.U.V0(this.element),g.q(this,this.U),this.j(this.X,\"mouseover\",this.V1),this.j(this.X,\"focus\",this.V1),this.j(this.X,\"mouseout\",this.vO),this.j(this.X,\"blur\",this.vO)),f=K.Y(\"delhi_modern_web_player\")?this.X:this.element,this.addOnDisposeCallback(g.Qg(R.sA(),f))):aWo(this);this.message=null;K.createClientVe(this.element,\nthis,28662);this.BF(K.Ft().getPlayerSize());this.setVolume(K.getVolume(),K.isMuted())};\nQF5=function(K,R){if(K.G.C().er){var f=g.UD(K.G,\"Mute\",\"m\"),V=g.UD(K.G,\"Unmute\",\"m\");f=R?V:f;K.G.C().Y(\"player_tooltip_data_title_killswitch\")?K.updateValue(\"title\",f):K.update({\"tooltip-title\":f,\"aria-label\":f});K.update({\"data-title-no-tooltip\":R?\"Unmute\":\"Mute\"});K.tooltip.p7()}};\nWEB=function(K,R){K.N=R;var f=K.y0;K.G.Y(\"delhi_modern_web_player_icons\")?K.K.IY(\"ytp-svg-volume-animation-big-ripple\").setAttribute(\"transform\",\"translate(22, 12) scale(\"+(R+\") translate(-22,-12)\")):R&&(f+=QXe(NZz,UT5,R));K.UF.setAttribute(\"d\",f)};\nt_G=function(K,R){var f;R===1?f=K.G.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M11.60 2.08L11.48 2.14L3.91 6.68C3.02 7.21 2.28 7.97 1.77 8.87C1.26 9.77 1.00 10.79 1 11.83V12.16L1.01 12.56C1.07 13.52 1.37 14.46 1.87 15.29C2.38 16.12 3.08 16.81 3.91 17.31L11.48 21.85C11.63 21.94 11.80 21.99 11.98 21.99C12.16 22.00 12.33 21.95 12.49 21.87C12.64 21.78 12.77 21.65 12.86 21.50C12.95 21.35 13 21.17 13 21V3C12.99 2.83 12.95 2.67 12.87 2.52C12.80 2.37 12.68 2.25 12.54 2.16C12.41 2.07 12.25 2.01 12.08 2.00C11.92 1.98 11.75 2.01 11.60 2.08ZM4.94 8.4V8.40L11 4.76V19.23L4.94 15.6C4.38 15.26 3.92 14.80 3.58 14.25C3.24 13.70 3.05 13.07 3.00 12.43L3 12.17V11.83C2.99 11.14 3.17 10.46 3.51 9.86C3.85 9.25 4.34 8.75 4.94 8.4ZM21.29 8.29L19 10.58L16.70 8.29L16.63 8.22C16.43 8.07 16.19 7.99 15.95 8.00C15.70 8.01 15.47 8.12 15.29 8.29C15.12 8.47 15.01 8.70 15.00 8.95C14.99 9.19 15.07 9.43 15.22 9.63L15.29 9.70L17.58 12L15.29 14.29C15.19 14.38 15.12 14.49 15.06 14.61C15.01 14.73 14.98 14.87 14.98 15.00C14.98 15.13 15.01 15.26 15.06 15.39C15.11 15.51 15.18 15.62 15.28 15.71C15.37 15.81 15.48 15.88 15.60 15.93C15.73 15.98 15.86 16.01 15.99 16.01C16.12 16.01 16.26 15.98 16.38 15.93C16.50 15.87 16.61 15.80 16.70 15.70L19 13.41L21.29 15.70L21.36 15.77C21.56 15.93 21.80 16.01 22.05 15.99C22.29 15.98 22.53 15.88 22.70 15.70C22.88 15.53 22.98 15.29 22.99 15.05C23.00 14.80 22.93 14.56 22.77 14.36L22.70 14.29L20.41 12L22.70 9.70C22.80 9.61 22.87 9.50 22.93 9.38C22.98 9.26 23.01 9.12 23.01 8.99C23.01 8.86 22.98 8.73 22.93 8.60C22.88 8.48 22.81 8.37 22.71 8.28C22.62 8.18 22.51 8.11 22.39 8.06C22.26 8.01 22.13 7.98 22.00 7.98C21.87 7.98 21.73 8.01 21.61 8.06C21.49 8.12 21.38 8.19 21.29 8.29Z\",\nfill:\"white\"}}]}:AJ():f=K.K;K.Xt=R;if(K.G.Y(\"delhi_modern_web_player_icons\"))K.K.IY(\"ytp-svg-volume-animation-small-ripple\").setAttribute(\"transform\",\"translate(18, 12) scale(\"+(1-R+\") translate(-18,-12)\")),K.K.IY(\"ytp-svg-volume-animation-big-ripple\").setAttribute(\"transform\",\"translate(22, 12) scale(\"+(K.N-R+\") translate(-22, -12)\"));else{for(var V=20*R,D=0;D=3&&K.G.getPresentingPlayerType()!==2};\nkZN=function(K){var R=Bm(K.G.JV());return R?K.U?R.hasNext():R.hasPrevious():!1};\nZqe=function(K){var R={duration:null,preview:null,text:null,title:null,\"tooltip-title\":null,url:null,\"data-title-no-tooltip\":null,\"aria-keyshortcuts\":null},f=K.playlist!=null&&K.playlist.hasNext();f=g.Xs(K.G)&&(!K.U||f);var V=K.U&&g.IC(K.G),D=kZN(K),H=K.U&&K.G.getPresentingPlayerType()===5,l=g.UD(K.G,\"Next\",\"SHIFT+n\"),F=g.UD(K.G,\"Previous\",\"SHIFT+p\");if(H)R.title=\"Start video\",R[\"tooltip-title\"]=\"Start video\";else if(K.X)R.title=\"Replay\",R[\"tooltip-title\"]=\"Replay\";else if(f){var c=null;K.playlist&&\n(c=g.lY(K.playlist,K.U?vfB(K.playlist):LnB(K.playlist)));if(c){if(c.videoId){var r=K.playlist.listId;R.url=K.G.C().getVideoUrl(c.videoId,r?r.toString():void 0)}R.text=c.title;R.duration=c.lengthText?c.lengthText:c.lengthSeconds?g.zE(c.lengthSeconds):null;R.preview=c.AK(\"mqdefault.jpg\")}K.U?(R.title=l,R[\"tooltip-title\"]=l,R[\"data-title-no-tooltip\"]=\"Next\",R[\"aria-keyshortcuts\"]=\"SHIFT+n\"):(R.title=F,R[\"tooltip-title\"]=F,R[\"data-title-no-tooltip\"]=\"Previous\",R[\"aria-keyshortcuts\"]=\"SHIFT+p\")}else if(V){if(F=\n(c=K.videoData)==null?void 0:g.lv(c))R.url=F.mq(),R.text=F.title,R.duration=F.lengthText?F.lengthText:F.lengthSeconds?g.zE(F.lengthSeconds):null,R.preview=F.AK(\"mqdefault.jpg\");R.title=l;R[\"tooltip-title\"]=l;R[\"data-title-no-tooltip\"]=\"Next\";R[\"aria-keyshortcuts\"]=\"SHIFT+n\"}R.disabled=!V&&!f&&!D&&!H;K.update(R);K.T=!!R.url;V||f||K.X||D||H?K.K||(K.K=g.Qg(K.tooltip,K.element),K.B=K.listen(\"click\",K.onClick,K)):K.K&&(K.K(),K.K=null,K.hs(K.B),K.B=null);K.tooltip.p7();g.yb(K.element,\"ytp-playlist-ui\",\nK.U&&(f||K.G.Y(\"web_hide_next_button\")))};\nJg5=function(K,R){return K?R?Cjv():zq():R?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M4 4C3.73 4 3.48 4.10 3.29 4.29C3.10 4.48 3 4.73 3 5V19C3 19.26 3.10 19.51 3.29 19.70C3.48 19.89 3.73 20 4 20C4.26 20 4.51 19.89 4.70 19.70C4.89 19.51 5 19.26 5 19V5C5 4.73 4.89 4.48 4.70 4.29C4.51 4.10 4.26 4 4 4ZM18.95 4.23L6 12.00L18.95 19.77C19.15 19.89 19.39 19.96 19.63 19.96C19.87 19.97 20.10 19.91 20.31 19.79C20.52 19.67 20.69 19.50 20.81 19.29C20.93 19.09 21.00 18.85 21 18.61V5.38C20.99 5.14 20.93 4.91 20.81 4.70C20.69 4.50 20.52 4.33 20.31 4.21C20.10 4.09 19.87 4.03 19.63 4.03C19.39 4.04 19.15 4.10 18.95 4.23Z\",\nfill:\"white\"}}]}:H4B()};\nPte=function(K,R){g.Y.call(this,{V:\"div\",D:\"ytp-fine-scrubbing\",S:[{V:\"div\",D:\"ytp-fine-scrubbing-draggable\",S:[{V:\"div\",D:\"ytp-fine-scrubbing-thumbnails\",L:{tabindex:\"0\",role:\"slider\",type:\"range\",\"aria-label\":\"Click or scroll the panel for the precise seeking.\",\"aria-valuemin\":\"{{ariamin}}\",\"aria-valuemax\":\"{{ariamax}}\",\"aria-valuenow\":\"{{arianow}}\",\"aria-valuetext\":\"{{arianowtext}}\"}}]},{V:\"div\",L:{\"aria-hidden\":\"true\"},D:\"ytp-fine-scrubbing-cursor\"},{V:\"div\",D:\"ytp-fine-scrubbing-seek-time\",L:{\"aria-hidden\":\"true\"},\nQ0:\"{{seekTime}}\"},{V:\"div\",D:\"ytp-fine-scrubbing-play\",S:[K.Y(\"delhi_modern_web_player_icons\")?Nf():QQ()],L:{title:\"Play from this position\",role:\"button\"}},{V:\"div\",D:\"ytp-fine-scrubbing-dismiss\",S:[g.i4()],L:{title:\"Exit precise seeking\",role:\"button\"}}]});var f=this;this.api=K;this.B=this.IY(\"ytp-fine-scrubbing-thumbnails\");this.dismissButton=this.IY(\"ytp-fine-scrubbing-dismiss\");this.Xt=this.IY(\"ytp-fine-scrubbing-draggable\");this.playButton=this.IY(\"ytp-fine-scrubbing-play\");this.thumbnails=\n[];this.K=[];this.qe=this.U=0;this.er=void 0;this.UF=NaN;this.G2=this.Z=this.X=this.N=0;this.J=[];this.interval=this.frameCount=0;this.T=160;this.scale=1;this.oY=0;this.isEnabled=this.y0=!1;TZN(this,this.api.getCurrentTime());this.addOnDisposeCallback(g.Qg(R,this.dismissButton));this.addOnDisposeCallback(g.Qg(R,this.playButton));this.B5=new g.UM(this.Xt,!0);this.B5.subscribe(\"dragstart\",this.qB,this);this.B5.subscribe(\"dragmove\",this.MB,this);this.B5.subscribe(\"dragend\",this.WE,this);this.j(K,\"SEEK_COMPLETE\",\nthis.zx);K.Y(\"web_fix_fine_scrubbing_false_play\")&&this.j(K,\"rootnodemousedown\",function(V){f.aY=V});\nthis.B.addEventListener(\"keydown\",function(){});\ng.q(this,this.B5);this.api.createClientVe(this.element,this,153154);this.api.createClientVe(this.B,this,152789);this.api.createClientVe(this.dismissButton,this,153156);this.api.createClientVe(this.playButton,this,153155)};\nTZN=function(K,R){var f=g.zE(R),V=g.sK(\"Seek to $PROGRESS\",{PROGRESS:g.zE(R,!0)});K.update({ariamin:0,ariamax:Math.floor(K.api.getDuration()),arianow:Math.floor(R),arianowtext:V,seekTime:f})};\nnZG=function(K){K.UF=NaN;K.Z=0;K.N=K.X};\nOq_=function(K){var R=K.api.MF();if(R){var f=90*K.scale,V=b$(R,160*K.scale);if(R=R.levels[V]){K.T=R.width;if(!K.J.length){V=[];for(var D=pc(R,R.X0()),H=R.columns*R.rows,l=R.frameCount,F=0;F<=D;F++)for(var c=lK.J.length;)V=\nvoid 0,(V=K.thumbnails.pop())==null||V.dispose();for(;K.thumbnails.lengthf.length;)V=void 0,(V=K.K.pop())==null||V.dispose();\nfor(;K.K.length-f?-R/f*K.interval*.5:-(R+f/2)/f*K.interval};\njFM=function(K){return-((K.B.offsetWidth||(K.frameCount-1)*K.T*K.scale)-K.U/2)};\nIWD=function(){g.Y.call(this,{V:\"div\",D:\"ytp-fine-scrubbing-thumbnail\"})};\ngZo=function(){g.Y.call(this,{V:\"div\",D:\"ytp-fine-scrubbing-chapter-title\",S:[{V:\"div\",D:\"ytp-fine-scrubbing-chapter-title-content\",Q0:\"{{chapterTitle}}\"}]})};\nM_5=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-heat-map-chapter\",S:[{V:\"svg\",D:\"ytp-heat-map-svg\",L:{height:\"100%\",preserveAspectRatio:\"none\",version:\"1.1\",viewBox:\"0 0 1000 100\",width:\"100%\"},S:[{V:\"defs\",S:[{V:\"clipPath\",L:{id:\"{{id}}\"},S:[{V:\"path\",D:\"ytp-heat-map-path\",L:{d:\"\",fill:\"white\"}}]},{V:\"linearGradient\",L:{gradientUnits:\"userSpaceOnUse\",id:\"ytp-heat-map-gradient-def\",x1:\"0%\",x2:\"0%\",y1:\"0%\",y2:\"100%\"},S:[{V:\"stop\",L:{offset:\"0%\",\"stop-color\":\"white\",\"stop-opacity\":\"1\"}},{V:\"stop\",L:{offset:\"100%\",\n\"stop-color\":\"white\",\"stop-opacity\":\"0\"}}]}]},{V:\"rect\",D:\"ytp-heat-map-graph\",L:{\"clip-path\":\"url(#hm_1)\",fill:\"white\",\"fill-opacity\":\"0.4\",height:\"100%\",width:\"100%\",x:\"0\",y:\"0\"}},{V:\"rect\",D:\"ytp-heat-map-hover\",L:{\"clip-path\":\"url(#hm_1)\",fill:\"white\",\"fill-opacity\":\"0.7\",height:\"100%\",width:\"100%\",x:\"0\",y:\"0\"}},{V:\"rect\",D:\"ytp-heat-map-play\",L:{\"clip-path\":\"url(#hm_1)\",height:\"100%\",x:\"0\",y:\"0\"}},{V:\"path\",D:\"ytp-modern-heat-map\",L:{d:\"\",fill:\"url(#ytp-heat-map-gradient-def)\",height:\"100%\",\nstroke:\"white\",\"stroke-opacity\":\"1\",\"stroke-width\":\"2px\",width:\"100%\",x:\"0\",y:\"0\"}}]}]});this.api=K;this.N=this.IY(\"ytp-heat-map-svg\");this.B=this.IY(\"ytp-heat-map-path\");this.J=this.IY(\"ytp-heat-map-graph\");this.T=this.IY(\"ytp-heat-map-play\");this.U=this.IY(\"ytp-heat-map-hover\");this.X=this.IY(\"ytp-modern-heat-map\");this.e4=!1;this.K=60;K=\"\"+g.n8(this);this.update({id:K});K=\"url(#\"+K+\")\";this.J.setAttribute(\"clip-path\",K);this.T.setAttribute(\"clip-path\",K);this.U.setAttribute(\"clip-path\",K)};\nbqh=function(K,R){R>0&&(K.K=R,K.N.style.height=K.K+\"px\")};\nXf=function(){g.Y.call(this,{V:\"div\",D:\"ytp-chapter-hover-container\",S:[{V:\"div\",D:\"ytp-progress-bar-padding\"},{V:\"div\",D:\"ytp-progress-list\",S:[{V:\"div\",Me:[\"ytp-play-progress\",\"ytp-swatch-background-color\"]},{V:\"div\",D:\"ytp-progress-linear-live-buffer\"},{V:\"div\",D:\"ytp-load-progress\"},{V:\"div\",D:\"ytp-hover-progress\"},{V:\"div\",D:\"ytp-ad-progress-list\"}]}]});this.startTime=NaN;this.title=\"\";this.index=NaN;this.width=0;this.K=this.IY(\"ytp-progress-list\");this.B=this.IY(\"ytp-progress-linear-live-buffer\");\nthis.J=this.IY(\"ytp-ad-progress-list\");this.T=this.IY(\"ytp-load-progress\");this.N=this.IY(\"ytp-play-progress\");this.X=this.IY(\"ytp-hover-progress\");this.U=this.IY(\"ytp-chapter-hover-container\")};\nkj=function(K,R){g.Ds(K.U,\"width\",R)};\npNB=function(K,R){g.Ds(K.U,\"margin-right\",R+\"px\")};\nY7B=function(){this.K=this.position=this.X=this.U=this.J=this.width=NaN};\nmTw=function(){g.Y.call(this,{V:\"div\",D:\"ytp-timed-marker\"});this.U=this.timeRangeStartMillis=NaN;this.title=\"\";this.onActiveCommand=void 0};\ng.PL=function(K,R){g.di.call(this,{V:\"div\",D:\"ytp-progress-bar-container\",L:{\"aria-disabled\":\"true\"},S:[{V:\"div\",Me:[\"ytp-heat-map-container\"],S:[{V:\"div\",D:\"ytp-heat-map-edu\"}]},{V:\"div\",Me:[\"ytp-progress-bar\"],L:{tabindex:\"0\",role:\"slider\",\"aria-label\":\"Seek slider\",\"aria-valuemin\":\"{{ariamin}}\",\"aria-valuemax\":\"{{ariamax}}\",\"aria-valuenow\":\"{{arianow}}\",\"aria-valuetext\":\"{{arianowtext}}\"},S:[{V:\"div\",D:\"ytp-chapters-container\"},{V:\"div\",D:\"ytp-timed-markers-container\"},{V:\"div\",D:\"ytp-clip-start-exclude\"},\n{V:\"div\",D:\"ytp-clip-end-exclude\"},{V:\"div\",D:\"ytp-scrubber-container\",S:[{V:\"div\",Me:[\"ytp-scrubber-button\",\"ytp-swatch-background-color\"],S:[{V:\"div\",D:\"ytp-scrubber-pull-indicator\"},{V:\"img\",Me:[\"ytp-decorated-scrubber-button\"]}]}]}]},{V:\"div\",Me:[\"ytp-fine-scrubbing-container\"],S:[{V:\"div\",D:\"ytp-fine-scrubbing-edu\"}]},{V:\"div\",D:\"ytp-bound-time-left\",Q0:\"{{boundTimeLeft}}\"},{V:\"div\",D:\"ytp-bound-time-right\",Q0:\"{{boundTimeRight}}\"},{V:\"div\",D:\"ytp-clip-start\",L:{title:\"{{clipstarttitle}}\"},Q0:\"{{clipstarticon}}\"},\n{V:\"div\",D:\"ytp-clip-end\",L:{title:\"{{clipendtitle}}\"},Q0:\"{{clipendicon}}\"}]});this.api=K;this.Jb=!1;this.nT=this.Dq=this.OF=this.Xt=this.T=this.G3=0;this.v9=null;this.xN=!1;this.Ne={};this.vK={};this.clipEnd=Infinity;this.nh=this.IY(\"ytp-clip-end\");this.FQ=new g.UM(this.nh,!0);this.r4=this.IY(\"ytp-clip-end-exclude\");this.MW=this.IY(\"ytp-clip-start-exclude\");this.clipStart=0;this.XQ=this.IY(\"ytp-clip-start\");this.qW=new g.UM(this.XQ,!0);this.UF=this.Kh=0;this.progressBar=this.IY(\"ytp-progress-bar\");\nthis.Gt={};this.kW={};this.v5=this.IY(\"ytp-chapters-container\");this.ZY=this.IY(\"ytp-timed-markers-container\");this.U=[];this.N=[];this.lH={};this.HR=null;this.er=-1;this.hV=this.qe=0;this.P9=this.Z=null;this.WB=this.IY(\"ytp-scrubber-button\");this.B5=this.IY(\"ytp-decorated-scrubber-button\");this.ND=this.IY(\"ytp-scrubber-container\");this.bd=new g.Ha;this.Dk=0;this.Cv=new Y7B;this.X=new JM(0,0);this.Ve=null;this.B=this.rQ=!1;this.lW=null;this.aY=this.IY(\"ytp-heat-map-container\");this.MR=this.IY(\"ytp-heat-map-edu\");\nthis.J=[];this.heatMarkersDecorations=[];this.pQ=this.IY(\"ytp-fine-scrubbing-container\");this.OA=this.IY(\"ytp-fine-scrubbing-edu\");this.K=void 0;this.G2=this.Fn=this.oY=!1;this.tooltip=R.sA();this.addOnDisposeCallback(g.Qg(this.tooltip,this.nh));g.q(this,this.FQ);this.FQ.subscribe(\"hoverstart\",this.df,this);this.FQ.subscribe(\"hoverend\",this.jm,this);this.j(this.nh,\"click\",this.cI);this.addOnDisposeCallback(g.Qg(this.tooltip,this.XQ));g.q(this,this.qW);this.qW.subscribe(\"hoverstart\",this.df,this);\nthis.qW.subscribe(\"hoverend\",this.jm,this);this.j(this.XQ,\"click\",this.cI);GZ_(this);this.j(K,\"resize\",this.xl);this.j(K,\"presentingplayerstatechange\",this.Kx);this.j(K,\"videodatachange\",this.u$);this.j(K,\"videoplayerreset\",this.Wm);this.j(K,\"cuerangesadded\",this.mFU);this.j(K,\"cuerangesremoved\",this.LYW);this.j(K,\"onLoopRangeChange\",this.M8);this.j(K,\"innertubeCommand\",this.onClickCommand);this.j(K,\"onRetroModeChanged\",this.iKr);this.j(K,g.gI(\"timedMarkerCueRange\"),this.NoY);this.j(K,\"updatemarkervisibility\",\nthis.nf);this.j(K,\"serverstitchedvideochange\",this.AbZ);this.updateVideoData(K.getVideoData(),!0);this.M8(K.getLoopRange());Tg(this)&&!this.K&&(this.K=new Pte(this.api,this.tooltip),K=g.hQ(this.element).x||0,this.K.xl(K,this.T),this.K.V0(this.pQ),g.q(this,this.K),this.j(this.K.dismissButton,\"click\",this.rq),this.j(this.K.playButton,\"click\",this.vG),this.j(this.K.element,\"dblclick\",this.vG));this.api.createClientVe(this.aY,this,139609,!0);this.api.createClientVe(this.MR,this,140127,!0);this.api.createClientVe(this.OA,\nthis,151179,!0);this.api.createClientVe(this.progressBar,this,38856,!0)};\nGZ_=function(K){if(K.U.length===0){var R=new Xf;K.U.push(R);g.q(K,R);R.V0(K.v5,0)}for(;K.U.length>1;)K.U.pop().dispose();kj(K.U[0],\"100%\");K.U[0].startTime=0;K.U[0].title=\"\"};\nuRo=function(K){var R=R===void 0?NaN:R;var f=new M_5(K.api);K.J.push(f);g.q(K,f);f.V0(K.aY);R>=0&&(f.element.style.width=R+\"px\")};\nsFM=function(K){for(;K.N.length;)K.N.pop().dispose()};\neAc=function(K){var R,f,V,D,H;return(H=g.z((D=g.z((R=K.getWatchNextResponse())==null?void 0:(f=R.playerOverlays)==null?void 0:(V=f.playerOverlayRenderer)==null?void 0:V.decoratedPlayerBarRenderer,k_))==null?void 0:D.playerBar,CtN))==null?void 0:H.chapters};\nK0o=function(K){for(var R=K.U,f=[],V=0;V=l&&E<=y&&H.push(S)}c>0&&(K.aY.style.height=c+\"px\");l=K.J[V];y=H;S=D;L=c;E=V===0;E=E===void 0?!1:E;bqh(l,L);h=y;v=l.K;E=E===void 0?!1:E;var Q=1E3/h.length,J=[];J.push({x:0,y:100});for(var A=0;A0&&(f=H[H.length-1])}g.n9(K);F=[];R=g.Z(R.heatMarkersDecorations||[]);for(D=R.next();!D.done;D=R.next())if(D=g.z(D.value,lCh))c=D.label,V=f=r=void 0,F.push({visibleTimeRangeStartMillis:(r=D.visibleTimeRangeStartMillis)!=null?r:-1,visibleTimeRangeEndMillis:(f=D.visibleTimeRangeEndMillis)!=null?f:-1,decorationTimeMillis:(V=D.decorationTimeMillis)!=null?V:NaN,label:c?g.ri(c):\"\"});K.heatMarkersDecorations=F}};\nVlh=function(K,R){K.N.push(R);g.q(K,R);R.V0(K.ZY,K.ZY.children.length)};\nDGe=function(K,R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next()){f=f.value;var V=IB(K,f.timeRangeStartMillis/(K.X.U*1E3),gf(K)),D=K.api.Y(\"delhi_modern_web_player\")?.667:.6;g.Ds(f.element,\"transform\",\"translateX(\"+V+\"px) scaleX(\"+D+\")\")}};\nR4B=function(K,R){var f=0,V=!1;R=g.Z(R);for(var D=R.next();!D.done;D=R.next()){D=D.value;if(g.z(D,F0M)){D=g.z(D,F0M);var H={startTime:NaN,title:null,onActiveCommand:void 0},l=D.title;H.title=l?g.ri(l):\"\";l=D.timeRangeStartMillis;l!=null&&(H.startTime=l);H.onActiveCommand=D.onActiveCommand;D=H;f===0&&D.startTime!==0&&(K.U[f].startTime=0,K.U[f].title=\"\",K.U[f].onActiveCommand=D.onActiveCommand,f++,V=!0);K.U.length<=f&&(H=new Xf,K.U.push(H),g.q(K,H),H.V0(K.v5,K.v5.children.length));K.U[f].startTime=\nD.startTime;K.U[f].title=D.title?D.title:\"\";K.U[f].onActiveCommand=D.onActiveCommand;K.U[f].index=V?f-1:f}f++}for(;f=0;V--)if(K.U[V].width>0){pNB(K.U[V],0);var D=Math.floor(K.U[V].width);K.U[V].width=D;kj(K.U[V],D+\"px\");break}K.U[f].width=0;kj(K.U[f],\"0\")}else f===K.U.length-1?(V=Math.floor(K.U[f].width+R),K.U[f].width=V,kj(K.U[f],V+\"px\")):(R=K.U[f].width+R,V=Math.round(R),R-=V,K.U[f].width=V,kj(K.U[f],V+\"px\"));f=0;if(K.J.length===K.U.length)for(R=0;R<\nK.J.length;R++)V=K.U[R].width,K.J[R].element.style.width=V+\"px\",K.J[R].element.style.left=f+\"px\",f+=V+jt(K);K.api.Y(\"delhi_modern_web_player\")&&(K.U.length===1?K.U[0].K.classList.add(\"ytp-progress-bar-start\",\"ytp-progress-bar-end\"):(K.U[0].K.classList.remove(\"ytp-progress-bar-end\"),K.U[0].K.classList.add(\"ytp-progress-bar-start\"),K.U[K.U.length-1].K.classList.add(\"ytp-progress-bar-end\")))};\nc6c=function(K,R){var f=0,V=!1,D=K.U.length,H=K.X.U*1E3;H===0&&(H=K.api.getProgressState().seekableEnd*1E3);if(H>0&&K.T>0){for(var l=K.T-jt(K)*K.qe,F=K.hV===0?3:l*K.hV,c=g.Z(K.U),r=c.next();!r.done;r=c.next())r.value.width=0;for(;f1);r=(H===0?0:c/H*l)+K.U[f].width;if(r>F)K.U[f].width=r;else{K.U[f].width=0;var y=K,h=f,S=y.U[h-1];S!==void 0&&S.width>0?\nS.width+=r:hK.hV&&(K.hV=c/H),V=!0)}f++}}return V};\nO9=function(K){if(K.T){var R=K.api.getProgressState(),f=K.api.getVideoData();if(!(f&&f.enableServerStitchedDai&&f.rh)||isFinite(R.current)){var V;if(((V=K.api.getVideoData())==null?0:Dk(V))&&R.airingStart&&R.airingEnd)var D=qe(K,R.airingStart,R.airingEnd);else if(K.api.getPresentingPlayerType()===2){var H,l,F;D=(f=(D=K.api.getVideoData())==null?void 0:(H=D.getPlayerResponse())==null?void 0:(l=H.playerConfig)==null?void 0:(F=l.webPlayerConfig)==null?void 0:F.skippableAdProgressBarDuration)?qe(K,R.seekableStart,\nf/1E3):qe(K,R.seekableStart,R.seekableEnd)}else D=qe(K,R.seekableStart,R.seekableEnd);H=ZF(D,R.loaded,0);R=ZF(D,R.current,0);l=K.X.K!==D.K||K.X.U!==D.U;K.X=D;Me(K,R,H);l&&r65(K);y6c(K);R=48;D=K.api.C();H=g.mz(K.api.C().experiments,\"delhi_modern_web_player_responsive_compact_controls_threshold\");H=K.api.Y(\"delhi_modern_web_player_compact_controls\")||H>0&&K.api.getPlayerSize().width<=H;K.api.Y(\"delhi_modern_web_player\")?R=K.api.getPlayerSize().width<=528?H?56:64:K.B?H?72:96:H?56:72:K.B?R=54:g.kN(D)&&\n!D.K&&(R=40);K.Xt=R}}};\nqe=function(K,R,f){return h4N(K)?new JM(Math.max(R,K.Ve.startTimeMs/1E3),Math.min(f,K.Ve.endTimeMs/1E3)):new JM(R,f)};\nSwG=function(K,R){var f,V,D;R=g.z((f=R.getWatchNextResponse())==null?void 0:(V=f.playerOverlays)==null?void 0:(D=V.playerOverlayRenderer)==null?void 0:D.decoratedPlayerBarRenderer,k_);if(R==null?0:R.progressColor)for(f=0;f1){f=bN(K,R.X,!0);for(var V=0,D=0;D0&&(V+=K.U[D].width,V+=jt(K));f=(K.U[f].startTime+(R.X-V)/K.U[f].width*((f===K.U.length-1?K.X.U*1E3:K.U[f+1].startTime)-K.U[f].startTime))/1E3||0}return f};\nvCe=function(K,R){if(R<0)return\"0\";K=Math.floor(Math.min(R,K.api.getDuration())*1E3);return K>2147483647?\"0\":String(K)};\nYj=function(K,R,f,V,D){R=vCe(K,R);f=vCe(K,f);K=K.progressBar.visualElement;V={seekData:{startMediaTimeMs:R,endMediaTimeMs:f,seekSource:V}};(R=g.wu())&&KS(R,K,D,V)};\nL0z=function(K,R,f){if(f>=K.U.length)return!1;var V=K.T-jt(K)*K.qe;return Math.abs(R-K.U[f].startTime/1E3)/K.X.U*V<4};\nr65=function(K){K.WB.style.removeProperty(\"height\");for(var R=g.Z(Object.keys(K.Ne)),f=R.next();!f.done;f=R.next())wCz(K,f.value);mZ(K);Me(K,K.UF,K.Kh)};\ngf=function(K){var R=K.bd.x;R=g.fT(R,0,K.T);K.Cv.update(R,K.T);return K.Cv};\nMe=function(K,R,f){K.UF=R;K.Kh=f;var V=gf(K),D=K.X.U,H=Ixv(K.X,K.UF),l=g.sK(\"$PLAY_PROGRESS of $DURATION\",{PLAY_PROGRESS:g.zE(H,!0),DURATION:g.zE(D,!0)}),F=K9(K.U,H*1E3);F=K.U[F].title;K.update({ariamin:Math.floor(K.X.K),ariamax:Math.floor(D),arianow:Math.floor(H),arianowtext:F?F+\" \"+l:l});D=K.clipStart;H=K.clipEnd;K.Ve&&K.api.getPresentingPlayerType()!==2&&(D=K.Ve.startTimeMs/1E3,H=K.Ve.endTimeMs/1E3);D=ZF(K.X,D,0);F=ZF(K.X,H,1);l=K.api.getVideoData();H=g.fT(R,D,F);f=(l==null?0:g.RC(l))?1:g.fT(f,\nD,F);R=IB(K,R,V);g.Ds(K.ND,\"transform\",\"translateX(\"+R+\"px)\");K.api.Y(\"delhi_modern_web_player\")&&K.api.Y(\"delhi_modern_web_player_cutout\")&&z45(K,R);Gg(K,V,D,H,\"PLAY_PROGRESS\");(l==null?0:Dk(l))?(R=K.api.getProgressState().seekableEnd)&&Gg(K,V,H,ZF(K.X,R),\"LIVE_BUFFER\"):Gg(K,V,D,f,\"LOAD_PROGRESS\");if(K.api.Y(\"web_player_heat_map_played_bar\")){var c;(c=K.J[0])!=null&&c.T.setAttribute(\"width\",(H*100).toFixed(2)+\"%\")}};\nz45=function(K,R){K.api.getPresentingPlayerType()!==1?K.v5.style.removeProperty(\"clip-path\"):(R||(R=IB(K,K.UF,gf(K))),K.v5.style.clipPath='path(\"'+(K.xN?xGN(K,8,R,K.B?50:36,0,6):xGN(K,4,R,K.B?34:24,2,3))+'\")')};\nxGN=function(K,R,f,V,D,H){var l=f-V/2;f+=V/2;R+=D;return\"M 0 \"+D+\" L 0 \"+(R+\" L \")+(l+\" \"+R+\" C \")+(l+H+\" \"+R+\" \"+(l+H)+\" \"+D+\" \"+l+\" \"+D+\" L 0 \")+(D+\" M \")+(f+\" \"+D+\" L \")+(K.T+\" \"+D+\" L \")+(K.T+\" \"+R+\" L \")+(f+\" \"+R+\" C \")+(f-H+\" \"+R+\" \"+(f-H)+\" \"+D+\" \"+f+\" \"+D)};\nGg=function(K,R,f,V,D){var H=K.U.length,l=R.U-K.qe*jt(K),F=f*l;f=bN(K,F);var c=V*l;l=bN(K,c);D===\"HOVER_PROGRESS\"&&(l=bN(K,R.U*V,!0),c=R.U*V-EC_(K,R.U*V)*jt(K));V=Math.max(F-aCN(K,f),0);for(F=f;F=K.U.length)return K.T;for(var f=0,V=0;V0||K.r4.clientWidth>0?(H=R.clientWidth/f,K=-1*K.MW.clientWidth/f):(H/=f,K=-1*K.U[D].element.offsetLeft/f),g.Ds(R,\"background-size\",H+\"px\"),g.Ds(R,\"background-position-x\",K+\"px\"))};\nuN=function(K,R,f,V,D){D||K.api.C().K?R.style.width=f+\"px\":g.Ds(R,\"transform\",\"scalex(\"+(V?f/V:0)+\")\")};\nbN=function(K,R,f){var V=0;(f===void 0?0:f)&&(R-=EC_(K,R)*jt(K));f=g.Z(K.U);for(var D=f.next();!D.done;D=f.next()){D=D.value;if(R>D.width)R-=D.width;else break;V++}return V===K.U.length?V-1:V};\nIB=function(K,R,f){var V=R*K.X.U*1E3;for(var D=-1,H=g.Z(K.U),l=H.next();!l.done;l=H.next())l=l.value,V>l.startTime&&l.width>0&&D++;V=D<0?0:D;D=f.U-jt(K)*K.qe;return R*D+jt(K)*V+f.J};\nEC_=function(K,R){for(var f=K.U.length,V=0,D=g.Z(K.U),H=D.next();!H.done;H=D.next())if(H=H.value,H.width!==0)if(R>H.width)R-=H.width,R-=jt(K),V++;else break;return V===f?f-1:V};\ng.UGw=function(K,R,f,V){var D=K.T!==f,H=K.B!==V;K.G3=R;K.T=f;K.B=V;Tg(K)&&(R=K.K)!=null&&(R.scale=V?1.5:1);r65(K);K.U.length===1&&(K.U[0].width=f||0);D&&g.n9(K);K.K&&H&&Tg(K)&&(K.K.isEnabled&&(f=K.B?135:90,V=f-K.Xt,K.pQ.style.height=f+\"px\",g.Ds(K.aY,\"transform\",\"translateY(\"+-V+\"px)\"),g.Ds(K.progressBar,\"transform\",\"translateY(\"+-V+\"px)\")),Oq_(K.K))};\nmZ=function(K){var R=!!K.Ve&&K.api.getPresentingPlayerType()!==2,f=K.clipStart,V=K.clipEnd,D=!0,H=!0;R&&K.Ve?(f=K.Ve.startTimeMs/1E3,V=K.Ve.endTimeMs/1E3):(D=f>K.X.K,H=K.X.U>0&&VK.UF);g.yb(K.WB,\"ytp-scrubber-button-hover\",f===V&&K.U.length>1);if(K.api.Y(\"web_player_heat_map_played_bar\")){var H;(H=K.J[0])!=null&&H.U.setAttribute(\"width\",(R.K*100).toFixed(2)+\"%\")}}};\nwCz=function(K,R){var f=K.Ne[R];R=K.vK[R];var V=gf(K),D=ZF(K.X,f.start/1E3,0),H=f35(f,K.B)/V.width;var l=ZF(K.X,f.end/1E3,1);H!==Number.POSITIVE_INFINITY&&(D=g.fT(D,0,l-H));l=Math.min(l,D+H);f.color&&(R.style.background=f.color);f=D;R.style.left=Math.max(f*V.U+V.J,0)+\"px\";uN(K,R,g.fT((l-f)*V.U+V.J,0,V.width),V.width,!0)};\nW0D=function(K,R){var f=R.getId();K.Ne[f]===R&&(g.kU(K.vK[f]),delete K.Ne[f],delete K.vK[f])};\nTg=function(K){var R=g.fc(K.api.C())&&(K.api.Y(\"web_shorts_pip\")||K.api.Y(\"web_watch_pip\")),f;return!((f=K.api.getVideoData())==null?0:f.isLivePlayback)&&!K.api.isMinimized()&&!K.api.isInline()&&(!K.api.qF()||!R)};\ns9=function(K){K.K&&(K.K.disable(),K.OF=0,K.aY.style.removeProperty(\"transform\"),K.progressBar.style.removeProperty(\"transform\"),K.pQ.style.removeProperty(\"height\"),K.element.parentElement&&K.element.parentElement.style.removeProperty(\"height\"))};\ntlD=function(K,R){var f=R/((K.B?135:90)-K.Xt)*K.Xt;g.Ds(K.progressBar,\"transform\",\"translateY(\"+-R+\"px)\");g.Ds(K.aY,\"transform\",\"translateY(\"+-R+\"px)\");g.Ds(K.pQ,\"transform\",\"translateY(\"+f+\"px)\");K.pQ.style.height=R+f+\"px\";K.element.parentElement&&(K.element.parentElement.style.height=K.Xt-f+\"px\")};\nA6N=function(K,R){R?K.Z||(K.element.removeAttribute(\"aria-disabled\"),K.Z=new g.UM(K.progressBar,!0),K.api.Y(\"enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity\")&&K.Z.subscribe(\"hoverstart\",K.kFF,K),K.Z.subscribe(\"hovermove\",K.dWp,K),K.Z.subscribe(\"hoverend\",K.jCt,K),K.Z.subscribe(\"dragstart\",K.N85,K),K.Z.subscribe(\"dragmove\",K.HK5,K),K.Z.subscribe(\"dragend\",K.LaD,K),K.api&&K.api.Y(\"delhi_modern_web_player\")&&K.api.Y(\"delhi_modern_web_player_cutout\")&&(K.P9=new g.UM(K.progressBar,\n!0),K.P9.subscribe(\"hoverstart\",function(){K.xN=!0;z45(K)},K),K.P9.subscribe(\"hoverend\",function(){K.xN=!1;\nz45(K)},K)),K.lW=K.listen(\"keydown\",K.eL)):K.Z&&(K.element.setAttribute(\"aria-disabled\",\"true\"),K.hs(K.lW),K.Z.cancel(),K.Z.dispose(),K.Z=null)};\njt=function(K){return K.api.Y(\"delhi_modern_web_player\")?4:K.B?3:2};\nh4N=function(K){var R;return!((R=K.Ve)==null||!R.postId)&&K.api.getPresentingPlayerType()!==2};\nC9=function(K,R){g.Y.call(this,{V:\"button\",Me:[\"ytp-remote-button\",\"ytp-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Play on TV\":\"\",\"data-tooltip-title\":\"Play on TV\",\"aria-haspopup\":\"true\",\"data-priority\":\"10\"},Q0:\"{{icon}}\"});this.G=K;this.W5=R;this.U=null;this.j(K,\"onMdxReceiversChange\",this.T2);this.j(K,\"presentingplayerstatechange\",this.T2);this.j(K,\"appresize\",this.T2);K.createClientVe(this.element,this,139118);this.T2();this.listen(\"click\",this.K,this);Ny(K,this.element,this)};\net=function(K,R){g.Y.call(this,{V:\"button\",Me:[\"ytp-button\",\"ytp-settings-button\"],L:{\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"aria-controls\":DQ(),title:K.Y(\"player_tooltip_data_title_killswitch\")?\"Settings\":\"\",\"data-tooltip-title\":\"Settings\",\"data-tooltip-target-id\":\"ytp-settings-button\"},S:[K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M12.84 1H11.15C10.72 .99 10.30 1.14 9.95 1.40C9.60 1.66 9.35 2.02 9.23 2.44L9.19 2.61C9.11 3.00 8.96 3.38 8.73 3.71C8.51 4.04 8.22 4.33 7.89 4.55L7.75 4.64C7.37 4.85 6.96 4.98 6.53 5.02C6.11 5.06 5.68 5.01 5.27 4.87C4.86 4.73 4.42 4.73 4.00 4.86C3.59 5.00 3.23 5.26 2.99 5.62L2.89 5.77L2.05 7.23C1.82 7.63 1.73 8.10 1.81 8.55C1.88 9.01 2.12 9.43 2.47 9.73L2.58 9.84C3.15 10.39 3.50 11.15 3.50 12L3.49 12.16C3.47 12.56 3.37 12.95 3.19 13.31C3.01 13.67 2.77 13.99 2.47 14.26C2.12 14.56 1.88 14.98 1.81 15.43C1.73 15.89 1.82 16.36 2.05 16.76L2.89 18.22L2.99 18.37C3.24 18.73 3.59 18.99 4.01 19.13C4.42 19.26 4.86 19.26 5.27 19.12L5.42 19.07C5.81 18.96 6.21 18.93 6.61 18.98C7.01 19.03 7.40 19.15 7.75 19.36L7.89 19.44C8.22 19.66 8.51 19.95 8.73 20.28C8.96 20.61 9.11 20.99 9.19 21.38C9.28 21.84 9.52 22.24 9.88 22.54C10.24 22.83 10.69 23.00 11.15 23H12.84C13.30 23.00 13.75 22.83 14.11 22.54C14.47 22.24 14.71 21.84 14.80 21.38C14.89 20.96 15.06 20.56 15.31 20.21C15.55 19.86 15.88 19.57 16.25 19.36L16.39 19.28C16.75 19.10 17.14 18.99 17.54 18.96C17.94 18.94 18.34 18.99 18.72 19.12L18.89 19.17C19.31 19.27 19.75 19.24 20.15 19.07C20.55 18.90 20.88 18.60 21.10 18.23L21.95 16.76C22.18 16.36 22.26 15.89 22.19 15.43C22.11 14.98 21.88 14.56 21.53 14.26C21.23 13.99 20.98 13.67 20.80 13.31C20.63 12.95 20.52 12.56 20.50 12.16L20.50 12C20.50 11.57 20.59 11.14 20.77 10.75C20.94 10.36 21.20 10.01 21.53 9.73C21.88 9.43 22.11 9.01 22.19 8.55C22.26 8.10 22.18 7.63 21.95 7.23L21.10 5.76C20.88 5.39 20.55 5.09 20.15 4.92C19.76 4.75 19.31 4.72 18.89 4.82L18.72 4.87C18.34 5.00 17.94 5.05 17.54 5.03C17.14 5.00 16.75 4.89 16.4 4.71L16.25 4.63C15.88 4.42 15.56 4.13 15.31 3.78C15.06 3.43 14.89 3.03 14.80 2.61C14.71 2.15 14.47 1.74 14.11 1.45C13.75 1.16 13.30 .99 12.84 1ZM11.15 3H12.84C12.98 3.70 13.26 4.36 13.68 4.94C14.09 5.52 14.63 6.01 15.25 6.37C15.87 6.72 16.55 6.94 17.26 7.01C17.97 7.08 18.69 6.99 19.37 6.76L20.21 8.23C19.67 8.69 19.24 9.27 18.94 9.92C18.65 10.57 18.50 11.28 18.5 12C18.50 12.71 18.65 13.42 18.95 14.07C19.24 14.72 19.67 15.29 20.21 15.76L19.37 17.23C18.69 16.99 17.97 16.91 17.26 16.98C16.55 17.05 15.86 17.27 15.25 17.63C14.63 17.98 14.09 18.47 13.68 19.05C13.26 19.63 12.98 20.29 12.84 21H11.15C11.01 20.29 10.73 19.63 10.31 19.05C9.90 18.47 9.36 17.98 8.75 17.62C8.13 17.27 7.44 17.05 6.73 16.98C6.02 16.91 5.30 16.99 4.62 17.23L3.78 15.76C4.32 15.29 4.75 14.71 5.05 14.06C5.34 13.41 5.49 12.71 5.5 12C5.50 11.28 5.34 10.57 5.05 9.92C4.75 9.27 4.32 8.69 3.78 8.23L4.62 6.76C5.30 7.00 6.02 7.08 6.73 7.01C7.44 6.94 8.13 6.72 8.75 6.37C9.36 6.01 9.90 5.52 10.31 4.94C10.73 4.36 11.01 3.70 11.15 3ZM12.00 8C10.94 8 9.92 8.42 9.17 9.17C8.42 9.92 8.00 10.93 8.00 12C8.00 13.06 8.42 14.07 9.17 14.82C9.92 15.57 10.94 16 12.00 16C13.06 16 14.08 15.57 14.83 14.82C15.58 14.07 16.00 13.06 16.00 12C16.00 10.93 15.58 9.92 14.83 9.17C14.08 8.42 13.06 8 12.00 8ZM12.00 10H12L12.20 10.01C12.69 10.06 13.15 10.29 13.48 10.65C13.81 11.02 14.00 11.50 14 12L13.99 12.20C13.95 12.58 13.80 12.95 13.55 13.25C13.31 13.55 12.98 13.78 12.62 13.90C12.25 14.02 11.85 14.03 11.48 13.93C11.11 13.83 10.77 13.62 10.51 13.34C10.25 13.05 10.08 12.69 10.02 12.31C9.96 11.93 10.01 11.54 10.17 11.18C10.32 10.83 10.58 10.53 10.91 10.32C11.23 10.11 11.61 10.00 12 10\",\nfill:\"white\"}}]}:g.Wv()]});this.G=K;this.W5=R;this.K=!0;this.listen(\"click\",this.X);this.j(K,\"onPlaybackQualityChange\",this.updateBadge);this.j(K,\"videodatachange\",this.updateBadge);this.j(K,\"webglsettingschanged\",this.updateBadge);this.j(K,\"appresize\",this.U);Ny(K,this.element,this);this.G.createClientVe(this.element,this,28663);this.updateBadge();this.U(K.Ft().getPlayerSize())};\nJ6o=function(K,R){K.K=!!R;K.U(K.G.Ft().getPlayerSize())};\nKq=function(K,R,f){if(K.Y(\"web_add_footer_template_to_audio_track\")){var V=\"Edit your $BEGIN_LINKpreferred languages$END_LINK in settings\".split(/\\$(BEGIN|END)_LINK/);V={V:\"div\",D:\"ytp-panel-footer-content\",S:[V[0],{V:\"a\",D:\"ytp-panel-footer-content-link\",L:{href:\"/account_playback\"},Q0:V[2]},V[4]]}}g.aj.call(this,\"Audio track\",g.oW.AUDIO,K,R,void 0,void 0,V);this.G=K;this.U=f;this.tracks={};g.dy(this.element,\"ytp-audio-menu-item\");this.countLabel=new g.Y({V:\"div\",S:[{V:\"span\",Q0:\"Audio track\"},{V:\"span\",\nD:\"ytp-menuitem-label-count\",Q0:\"{{content}}\"}]});K.Y(\"web_settings_menu_icons\")&&!this.G.Y(\"html5_enable_new_audio_settings_menu\")&&(R=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M19.4 .2C19.29 .27 19.20 .37 19.13 .49C19.07 .60 19.02 .72 19.01 .85C18.99 .98 18.99 1.12 19.03 1.24C19.06 1.37 19.12 1.49 19.2 1.6L20.8 .4C20.64 .18 20.40 .04 20.14 .01C19.87 -0.02 19.61 .04 19.4 .2ZM20.8 .4L20 1L19.2 1.59C20.37 3.16 21.00 5.06 21.00 7.01C20.99 8.97 20.35 10.87 19.17 12.42C19.01 12.64 18.94 12.90 18.98 13.16C19.02 13.43 19.16 13.66 19.37 13.83C19.58 13.99 19.84 14.05 20.11 14.02C20.37 13.98 20.61 13.84 20.77 13.63C22.21 11.73 22.99 9.41 23 7.02C23.00 4.63 22.23 2.31 20.8 .4ZM10 2C8.67 2 7.40 2.52 6.46 3.46C5.52 4.40 5 5.67 5 7C5 8.32 5.52 9.59 6.46 10.53C7.40 11.47 8.67 12 10 12C11.32 12 12.59 11.47 13.53 10.53C14.47 9.59 15 8.32 15 7C15 5.67 14.47 4.40 13.53 3.46C12.59 2.52 11.32 2 10 2ZM16.17 2.29C15.97 2.48 15.86 2.73 15.86 2.99C15.85 3.26 15.95 3.51 16.14 3.71C16.98 4.58 17.44 5.68 17.49 6.80L17.5 7.02C17.49 8.22 17.01 9.40 16.10 10.32C15.92 10.51 15.83 10.77 15.83 11.03C15.84 11.29 15.95 11.53 16.13 11.71C16.32 11.90 16.57 12.00 16.83 12.00C17.09 12.00 17.34 11.90 17.53 11.72C18.78 10.44 19.49 8.77 19.5 7.03L19.49 6.71C19.42 5.09 18.74 3.53 17.58 2.32C17.49 2.23 17.38 2.15 17.26 2.10C17.14 2.05 17.01 2.02 16.88 2.01C16.75 2.01 16.62 2.03 16.49 2.08C16.37 2.13 16.26 2.20 16.17 2.29ZM10 4C10.39 4 10.78 4.07 11.14 4.22C11.51 4.37 11.84 4.60 12.12 4.87C12.39 5.15 12.62 5.48 12.77 5.85C12.92 6.21 13 6.60 13 7C13 7.39 12.92 7.78 12.77 8.14C12.62 8.51 12.39 8.84 12.12 9.12C11.84 9.39 11.51 9.62 11.14 9.77C10.78 9.92 10.39 10 10 10C9.20 10 8.44 9.68 7.87 9.12C7.31 8.55 7 7.79 7 7C7 6.20 7.31 5.44 7.87 4.87C8.44 4.31 9.20 4 10 4ZM10.39 13.01L10 13C8.01 12.99 6.10 13.73 4.63 15.06L4.34 15.34C3.60 16.08 3.01 16.96 2.60 17.93C2.20 18.90 1.99 19.94 2 21C2 21.26 2.10 21.51 2.29 21.70C2.48 21.89 2.73 22 3 22C3.26 22 3.51 21.89 3.70 21.70C3.89 21.51 4 21.26 4 21C4.00 19.40 4.63 17.88 5.75 16.75L5.97 16.55C7.07 15.55 8.51 15 10 15L10.29 15.00C11.78 15.08 13.18 15.70 14.24 16.75L14.44 16.97C15.44 18.07 16 19.51 16 21C16 21.26 16.10 21.51 16.29 21.70C16.48 21.89 16.73 22 17 22C17.26 22 17.51 21.89 17.70 21.70C17.89 21.51 18 21.26 18 21C18.00 19.01 17.26 17.10 15.93 15.63L15.65 15.34C14.25 13.93 12.37 13.10 10.39 13.01Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M11.72,11.93C13.58,11.59,15,9.96,15,8c0-2.21-1.79-4-4-4C8.79,4,7,5.79,7,8c0,1.96,1.42,3.59,3.28,3.93 C4.77,12.21,2,15.76,2,20h18C20,15.76,17.23,12.21,11.72,11.93z M8,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S8,9.65,8,8z M11,12.9c5.33,0,7.56,2.99,7.94,6.1H3.06C3.44,15.89,5.67,12.9,11,12.9z M16.68,11.44l-0.48-0.88C17.31,9.95,18,8.77,18,7.5 c0-1.27-0.69-2.45-1.81-3.06l0.49-0.88C18.11,4.36,19,5.87,19,7.5C19,9.14,18.11,10.64,16.68,11.44z M18.75,13.13l-0.5-0.87 C19.95,11.28,21,9.46,21,7.5s-1.05-3.78-2.75-4.76l0.5-0.87C20.75,3.03,22,5.19,22,7.5S20.76,11.97,18.75,13.13z\",\nfill:\"white\"}}]},this.setIcon(R));g.q(this,this.countLabel);g.GV(this,this.countLabel);K.createClientVe(this.element,this,273318);this.listen(\"click\",this.onClick);this.j(K,\"videodatachange\",this.T2);this.j(K,\"onPlaybackAudioChange\",this.T2);this.T2()};\nZxN=function(K,R){g.ur.call(this,g.sD({\"aria-haspopup\":\"true\"},[\"ytp-audio-settings-menu-item\"]),g.oW.qs);this.G=K;this.W5=R;g.dy(this.element,\"ytp-audio-settings-menu-item\");this.fL=new g.oj(K,void 0,\"Audio\");this.countLabel=new g.Y({V:\"div\",S:[{V:\"span\",Q0:\"Audio\"},{V:\"span\",D:\"ytp-menuitem-label-count\",Q0:\"{{content}}\"}]});K.Y(\"web_settings_menu_icons\")&&this.setIcon({V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M17.5,12c0,2.14-1.5,3.92-3.5,4.38v-1.04c1.44-0.43,2.5-1.76,2.5-3.34c0-1.58-1.06-2.9-2.5-3.34V7.62 C16,8.08,17.5,9.86,17.5,12z M12,4.07v15.86L6.16,15H3V9h3.16L12,4.07z M11,6.22L6.52,10H4v4h2.52L11,17.78V6.22z M21,12 c0,4.08-3.05,7.44-7,7.93v-1.01c3.39-0.49,6-3.4,6-6.92s-2.61-6.43-6-6.92V4.07C17.95,4.56,21,7.92,21,12z\",\nfill:\"white\"}}]});this.ID=new Kq(K,this.W5,this);g.q(this,this.ID);this.j(K,\"settingsMenuInitialized\",this.Th.bind(this));this.j(K,\"videodatachange\",this.Th.bind(this));g.q(this,this.countLabel);g.GV(this,this.countLabel);this.W5.ZZ(this);this.j(K,\"onPlaybackAudioChange\",this.bH);this.listen(\"keydown\",this.eL);this.listen(\"click\",this.open)};\nRF=function(K,R){l8.call(this,\"Autoplay\",g.oW.m3);this.G=K;this.W5=R;this.U=!1;this.K=[];this.j(K,\"presentingplayerstatechange\",this.Th);this.subscribe(\"select\",this.onSelect,this);K.createClientVe(this.element,this,113682);this.Th()};\nBPe=function(K,R){g.ur.call(this,g.sD({\"aria-haspopup\":\"false\"}),0,\"More options\");this.G=K;this.W5=R;this.j(this.element,\"click\",this.onClick);this.W5.ZZ(this)};\nXCe=function(K,R){var f;g.fc(K.C())&&(f={V:\"div\",D:\"ytp-panel-footer-content\",S:[{V:\"span\",Q0:\"Adjust download quality from your \"},{V:\"a\",D:\"ytp-panel-footer-content-link\",Q0:\"Settings\",L:{href:\"/account_downloads\"}}]});g.aj.call(this,\"Quality\",g.oW.GB,K,R,void 0,void 0,f);this.G=K;this.UF={};this.B={};this.K={};this.aY=new Set;this.U=this.X=!1;this.J=\"unknown\";this.T=\"\";this.Z=new g.MQ;g.q(this,this.Z);this.X=this.G.Y(\"web_player_use_new_api_for_quality_pullback\");this.U=this.G.Y(\"web_player_enable_premium_hbr_playback_cap\");\nK.Y(\"web_settings_menu_icons\")&&(R=K.Y(\"delhi_modern_web_player_icons\")?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M9 3C8.11 2.99 7.25 3.29 6.54 3.83C5.84 4.38 5.34 5.14 5.12 6H3C2.73 6 2.48 6.10 2.29 6.29C2.10 6.48 2 6.73 2 7C2 7.26 2.10 7.51 2.29 7.70C2.48 7.89 2.73 8 3 8H5.12C5.34 8.85 5.84 9.61 6.55 10.16C7.25 10.70 8.11 10.99 9 10.99C9.88 10.99 10.74 10.70 11.44 10.16C12.15 9.61 12.65 8.85 12.87 8H21C21.26 8 21.51 7.89 21.70 7.70C21.89 7.51 22 7.26 22 7C22 6.73 21.89 6.48 21.70 6.29C21.51 6.10 21.26 6 21 6H12.87C12.65 5.14 12.15 4.38 11.45 3.83C10.74 3.29 9.88 2.99 9 3ZM9 5C9.53 5 10.03 5.21 10.41 5.58C10.78 5.96 11 6.46 11 7C11 7.53 10.78 8.03 10.41 8.41C10.03 8.78 9.53 9 9 9C8.46 9 7.96 8.78 7.58 8.41C7.21 8.03 7 7.53 7 7C7 6.46 7.21 5.96 7.58 5.58C7.96 5.21 8.46 5 9 5ZM15 13C14.11 12.99 13.25 13.29 12.54 13.83C11.84 14.38 11.34 15.14 11.12 16H3C2.73 16 2.48 16.10 2.29 16.29C2.10 16.48 2 16.73 2 17C2 17.26 2.10 17.51 2.29 17.70C2.48 17.89 2.73 18 3 18H11.12C11.34 18.85 11.84 19.61 12.55 20.16C13.25 20.70 14.11 20.99 15 20.99C15.88 20.99 16.74 20.70 17.44 20.16C18.15 19.61 18.65 18.85 18.87 18H21C21.26 18 21.51 17.89 21.70 17.70C21.89 17.51 22 17.26 22 17C22 16.73 21.89 16.48 21.70 16.29C21.51 16.10 21.26 16 21 16H18.87C18.65 15.14 18.15 14.38 17.45 13.83C16.74 13.29 15.88 12.99 15 13ZM15 15C15.53 15 16.03 15.21 16.41 15.58C16.78 15.96 17 16.46 17 17C17 17.53 16.78 18.03 16.41 18.41C16.03 18.78 15.53 19 15 19C14.46 19 13.96 18.78 13.58 18.41C13.21 18.03 13 17.53 13 17C13 16.46 13.21 15.96 13.58 15.58C13.96 15.21 14.46 15 15 15Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M15,17h6v1h-6V17z M11,17H3v1h8v2h1v-2v-1v-2h-1V17z M14,8h1V6V5V3h-1v2H3v1h11V8z M18,5v1h3V5H18z M6,14h1v-2v-1V9H6v2H3v1 h3V14z M10,12h11v-1H10V12z\",fill:\"white\"}}]},this.setIcon(R));g.dy(this.fL.element,\"ytp-quality-menu\");this.j(K,\"videodatachange\",this.Th);this.j(K,\"videoplayerreset\",this.Th);this.j(K,\"onPlaybackQualityChange\",this.q8);this.Th();K.createClientVe(this.element,this,137721)};\nTPh=function(K,R,f){var V=K.UF[R],D=g.x0[R];return k0N(K,V?V.qualityLabel:D?D+\"p\":\"Auto\",R,f)};\nPyw=function(K,R,f,V,D){var H=(R=K.U?K.K[R]:K.B[R])&&R.quality,l=R&&R.qualityLabel;l=l?l:\"Auto\";V&&(l=\"(\"+l);K=k0N(K,l,H||\"\",D);V&&K.S.push(\")\");(V=(V=R&&R.paygatedQualityDetails)&&V.paygatedIndicatorText)&&f&&K.S.push({V:\"div\",D:\"ytp-premium-label\",Q0:V});return K};\nk0N=function(K,R,f,V){R={V:\"span\",Me:V,S:[R]};var D;V=\"ytp-swatch-color\";if(K.X||K.U)V=\"ytp-swatch-color-white\";f===\"highres\"?D=\"8K\":f===\"hd2880\"?D=\"5K\":f===\"hd2160\"?D=\"4K\":f.indexOf(\"hd\")===0&&f!==\"hd720\"&&(D=\"HD\");D&&(R.S.push(\" \"),R.S.push({V:\"sup\",D:V,Q0:D}));return R};\nfq=function(K){Ne.call(this,K.getAvailablePlaybackRates()[0],K.getAvailablePlaybackRates()[K.getAvailablePlaybackRates().length-1],.05,K.getPlaybackRate(),{V:\"div\",D:\"ytp-speedslider-indicator-container\",S:[{V:\"div\",D:\"ytp-speedslider-badge\"},{V:\"p\",D:\"ytp-speedslider-text\"}]});this.G=K;this.UF=uu(this.Xt,50,this);g.dy(this.K,\"ytp-speedslider\");this.Z=this.IY(\"ytp-speedslider-text\");this.aY=this.IY(\"ytp-speedslider-badge\");nC5(this);this.j(this.K,\"change\",this.B5)};\nnC5=function(K){K.Z.textContent=K.U.toFixed(2)+\"x\";var R=K.U>2&&K.G.Y(\"enable_web_premium_varispeed\");K.aY.classList.toggle(\"ytp-speedslider-premium-badge\",R);K.aY.setAttribute(\"aria-label\",R?\"Premium\":\"\")};\nVp=function(K,R,f,V,D,H,l){g.Y.call(this,{V:\"div\",D:\"ytp-slider-section\",L:{role:\"slider\",\"aria-valuemin\":\"{{minvalue}}\",\"aria-valuemax\":\"{{maxvalue}}\",\"aria-valuenow\":\"{{valuenow}}\",\"aria-valuetext\":\"{{valuetext}}\",tabindex:\"0\"},S:[{V:\"div\",D:\"ytp-slider\",S:[{V:\"div\",D:\"ytp-slider-handle\"}]}]});this.N=K;this.Z=R;this.K=f;this.X=V;this.UF=D;this.y0=H;this.range=this.X-this.K;this.er=this.IY(\"ytp-slider-section\");this.J=this.IY(\"ytp-slider\");this.aY=this.IY(\"ytp-slider-handle\");this.T=new g.UM(this.J,\n!0);this.U=l?l:f;g.q(this,this.T);this.T.subscribe(\"dragmove\",this.b7,this);this.j(this.element,\"keydown\",this.Eq);this.j(this.element,\"wheel\",this.iq);this.init()};\nDW=function(K){Vp.call(this,.05,.05,K.getAvailablePlaybackRates()[0],K.getAvailablePlaybackRates()[K.getAvailablePlaybackRates().length-1],150,20,K.getPlaybackRate());this.G=K;this.B=g.tB(\"P\");this.B5=uu(this.Xt,50,this);g.dy(this.J,\"ytp-speedslider\");g.dy(this.B,\"ytp-speedslider-text\");K=this.B;var R=this.J;R.parentNode&&R.parentNode.insertBefore(K,R.nextSibling);ICG(this);this.j(this.G,\"onPlaybackRateChange\",this.updateValues)};\nICG=function(K){K.B.textContent=gCz(K,K.U)+\"x\"};\ngCz=function(K,R){K=Number(g.fT(R,K.K,K.X).toFixed(2));R=Math.floor((K+.001)*100%5+2E-15);var f=K;R!==0&&(f=K-R*.01);return Number(f.toFixed(2))};\nOx2=function(K){g.di.call(this,{V:\"div\",D:\"ytp-speedslider-component\"});K.Y(\"web_settings_use_input_slider\")?this.U=new fq(K):this.U=new DW(K);g.q(this,this.U);this.element.appendChild(this.U.element)};\njLN=function(K){var R=new Ox2(K);hf.call(this,K,R,\"Custom\");g.q(this,R)};\nMlG=function(K,R){var f=new jLN(K);g.aj.call(this,\"Playback speed\",g.oW.r$,K,R,HN(K)?void 0:\"Custom\",HN(K)?void 0:function(){g.v_(R,f)});\nvar V=this;this.T=new g.Y({V:\"div\",D:\"ytp-menuitem-premium-badge\",L:{\"aria-label\":\"Premium\"}});this.J=!1;this.OC={L5Z:function(){return V.bu}};\ng.q(this,f);this.X=new fq(K);g.q(this,this.X);if(K.Y(\"web_settings_menu_icons\")){var D=K.Y(\"delhi_modern_web_player_icons\")?e72():{V:\"svg\",L:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M10,8v8l6-4L10,8L10,8z M6.3,5L5.7,4.2C7.2,3,9,2.2,11,2l0.1,1C9.3,3.2,7.7,3.9,6.3,5z M5,6.3L4.2,5.7C3,7.2,2.2,9,2,11 l1,.1C3.2,9.3,3.9,7.7,5,6.3z M5,17.7c-1.1-1.4-1.8-3.1-2-4.8L2,13c0.2,2,1,3.8,2.2,5.4L5,17.7z M11.1,21c-1.8-0.2-3.4-0.9-4.8-2 l-0.6,.8C7.2,21,9,21.8,11,22L11.1,21z M22,12c0-5.2-3.9-9.4-9-10l-0.1,1c4.6,.5,8.1,4.3,8.1,9s-3.5,8.5-8.1,9l0.1,1 C18.2,21.5,22,17.2,22,12z\",\nfill:\"white\"}}]};this.setIcon(D)}this.G=K;this.J=!1;this.Z=null;HN(K)?(this.U=g.sK(\"Custom ($CURRENT_CUSTOM_SPEED)\",{CURRENT_CUSTOM_SPEED:this.G.getPlaybackRate().toString()}),this.B=this.G.getPlaybackRate()):this.B=this.U=null;g.q(this,this.T);var H,l,F,c;this.UF=(H=this.G.getVideoData())==null?void 0:(l=H.getWatchNextResponse())==null?void 0:(F=l.playerOverlays)==null?void 0:(c=F.playerOverlayRenderer)==null?void 0:c.showPlaybackRateUpsellPanelCommand;qwB(K,this.UF)?(this.K=$Z(4),this.G.createClientVe(this.T.element,\nthis,273508)):this.K=null;this.G.Y(\"enable_web_premium_varispeed_upsell\")&&this.G.createClientVe(this.element,this,278479);this.bu=this.G.getAvailablePlaybackRates();this.j(K,\"presentingplayerstatechange\",this.T2);var r;((r=this.G.getVideoData())==null?0:r.Jh())&&this.j(K,\"serverstitchedvideochange\",this.T2);this.j(K,\"videodatachange\",this.onVideoDataChange);this.j(this.X.K,\"change\",function(){V.J=!0;V.T2()});\nthis.T2()};\nbxe=function(K,R){var f=$Z(R);K.U&&(K.J||R===K.B)?(K.LP(K.U),K.setContent(R.toString())):K.LP(f)};\nYwB=function(K){var R=K.bu.map($Z);K.K&&R.push(K.K);K.di(R);K.U=null;K.B=null;R=K.G.getPlaybackRate();HN(K.G)&&pC2(K,R);!K.bu.includes(R)||K.J?K.LP(K.U):K.LP($Z(R))};\npC2=function(K,R){K.B=R;K.U=g.sK(\"Custom ($CURRENT_CUSTOM_SPEED)\",{CURRENT_CUSTOM_SPEED:R.toString()});R=K.bu.map($Z);R.unshift(K.U);K.K&&R.push(K.K);K.di(R)};\nmGc=function(K,R,f,V){f=new g.ur({V:\"div\",Me:[\"ytp-menuitem\"],L:{tabindex:\"0\",role:\"menuitemradio\",\"aria-checked\":V?\"true\":\"false\"},S:[{V:\"div\",Me:[\"ytp-menuitem-label\"],S:[{V:\"div\",Me:[\"ytp-menuitem-container-with-badge\"],S:[{V:\"div\",Q0:\"{{label}}\"},K.T]}]}]},f,K.RC(R));f.listen(\"click\",function(){K.FG(R)});\nreturn f};\n$Z=function(K){return K.toString()};\nHN=function(K){return K.Y(\"web_settings_menu_surface_custom_playback\")};\nqwB=function(K,R){return!!R&&K.getAvailablePlaybackRates()[K.getAvailablePlaybackRates().length-1]<=2};\nG0N=function(K){return K.Y(\"web_settings_menu_surface_custom_playback\")&&K.Y(\"web_settings_use_input_slider\")};\nuoc=function(K,R){g.oj.call(this,K,void 0,\"Playback speed\");this.W5=R;this.OO=null;this.bu=this.G.getAvailablePlaybackRates();this.T2()};\nsL2=function(K,R,f,V){f=new g.ur({V:\"div\",Me:[\"ytp-menuitem\"],L:{tabindex:\"0\",role:\"menuitemradio\",\"aria-checked\":V?\"true\":\"false\"},S:[{V:\"div\",D:\"ytp-menuitem-label\",Q0:\"{{label}}\"}]},f,K.RC(R));f.listen(\"click\",function(){K.FG(R)});\nreturn f};\nCyc=function(K){return K.toString()};\ne45=function(K){var R=new g.di({V:\"div\"});hf.call(this,K,R,\"Playback speed\");g.q(this,R)};\nlt=function(K,R){g.aj.call(this,\"Playback speed\",g.oW.r$,K,R);this.G=K;K.Y(\"web_settings_menu_icons\")&&this.setIcon(e72());this.U(K.getPlaybackRate());this.j(K,\"onPlaybackRateChange\",this.U)};\nRd2=function(K,R,f,V){var D=new g.oj(R,void 0,\"Video Override\");g.aj.call(this,V.text||\"\",K,R,f,\"Video Override\",function(){g.v_(f,D)});\nvar H=this;g.dy(this.element,\"ytp-subtitles-options-menu-item\");this.setting=V.option.toString();K=V.options;this.settings=g.wJ(K,this.mG,this);this.X=D;g.q(this,this.X);R=new g.ur({V:\"div\",D:\"ytp-menuitemtitle\",Q0:\"Allow for a different caption style if specified by the video.\"},0);g.q(this,R);this.X.ZZ(R,!0);this.K=new g.ur({V:\"div\",D:\"ytp-menuitem\",L:{role:\"menuitemradio\",tabindex:\"0\"},S:[{V:\"div\",D:\"ytp-menuitem-label\",Q0:\"On\"}]},-1);g.q(this,this.K);this.X.ZZ(this.K,!0);this.j(this.K.element,\n\"click\",function(){K85(H,!0)});\nthis.U=new g.ur({V:\"div\",D:\"ytp-menuitem\",L:{role:\"menuitemradio\",tabindex:\"0\"},S:[{V:\"div\",D:\"ytp-menuitem-label\",Q0:\"Off\"}]},-2);g.q(this,this.U);this.X.ZZ(this.U,!0);this.j(this.U.element,\"click\",function(){K85(H,!1)});\nthis.di(g.JQ(K,this.mG))};\nK85=function(K,R){K.publish(\"settingChange\",K.setting+\"Override\",!R);K.W5.tb()};\ndZ=function(K,R){g.oj.call(this,K,void 0,\"Options\");var f=this;this.xr={};for(var V=0;V=350)};\noSG=function(K,R,f){var V=Math.floor(R),D=V+\"% volume\"+(f?\" muted\":\"\");f=f?0:R/100;K.updateValue(\"valuenow\",V);K.updateValue(\"valuetext\",D);V=K.X?78:52;D=!K.api.Y(\"delhi_modern_web_player\")&&K.X?18:12;K.aY.style.left=(V-D)*f+\"px\";K.volume=R};\nvSB=function(K,R){g.yb(K.element,\"ytp-volume-control-hover\",R);S_(K,R,K.isDragging,K.K,K.api.Rv())};\nS_=function(K,R,f,V,D){var H=K.U||K.isDragging||K.K||K.Rv;K.U=R;K.isDragging=f;K.K=V;K.Rv=D;R=K.U||K.isDragging||K.K||K.Rv;H!==R&&(R?K.B=K.j(K.element,\"wheel\",K.K2):(K.hs(K.B),K.B=null),g.yb(K.T,\"ytp-volume-slider-active\",R))};\nvN=function(K,R){var f=K.C(),V=[\"ytp-youtube-button\",\"ytp-button\",\"yt-uix-sessionlink\"];f.X&&V.push(\"no-link\");var D={title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",target:f.EF,\"data-priority\":\"6\",\"data-sessionlink\":\"feature=player-button\"};f.X||(D.href=\"{{url}}\");g.Y.call(this,{V:\"a\",Me:V,L:D,Q0:\"{{logoSvg}}\"});this.U=null;this.api=K;this.visible=!1;f.X||(this.U=this.listen(\"click\",this.onClick));this.j(K,\"videodatachange\",this.onVideoDataChange);\nthis.j(K,\"videoplayerreset\",this.onVideoDataChange);this.j(K,\"onLoopRangeChange\",this.onVideoDataChange);this.j(K,\"appresize\",this.xl);this.onVideoDataChange();f.X||this.addOnDisposeCallback(g.Qg(R.sA(),this.element));this.xl()};\nwAB=function(K,R,f){g.de.call(this);var V=this;this.G=K;this.Xt=R;this.sO=f;this.OF=NaN;this.aY=this.oY=this.playButton=this.J=this.B=this.G2=this.er=this.UF=this.EF=this.muteButton=this.N=this.Ne=this.dc=this.Za=null;this.X=new $uG(this.G);this.progressBar=new g.PL(this.G,this.Xt);this.U2=new g.yp(this.G,this.Xt);this.kW=new iqB(this.G,this.Xt);this.Z=new g.sH(this.u7,null,this);f=K.C();this.sO.subscribe(\"autohideupdate\",this.RB,this);var D=!K.getPlayerStateObject().isCued(),H;(this.pQ=!K.Y(\"delhi_modern_web_player\")&&\nK.C().Y(\"html5_player_dynamic_bottom_gradient\"))?this.Ne=H=new yg5(K):H=new g.Y({V:\"div\",D:\"ytp-gradient-bottom\"});g.q(this,H);g.nl(K,H.element,9);this.y0=new g.K0(H,250,D,100);g.q(this,this.y0);this.U=new g.Y({V:\"div\",D:\"ytp-chrome-bottom\",S:[{V:\"div\",D:\"ytp-chrome-controls\"}]});g.q(this,this.U);g.nl(K,this.U.element,9);this.B5=new g.K0(this.U,250,D,100);g.q(this,this.B5);this.qe=this.U.element.children[0];g.q(this,this.X);g.nl(K,this.X.element,6);this.X.subscribe(\"show\",function(r){V.G.Hn(!r);K.zp(V.X,\nr)});\ng.q(this,this.progressBar);this.progressBar.V0(this.U.element,0);D=new xj(K,R);g.q(this,D);g.nl(K,D.element,4);D=new g.Hv({V:\"div\",D:\"ytp-left-controls\"});g.q(this,D);D.V0(this.qe);K.Y(\"delhi_modern_web_player\")||(H=new g.Zy(K,R,!1),g.q(this,H),H.V0(D.element));K.Y(\"web_render_jump_buttons\")&&(this.EF=new E9(K,-10),g.q(this,this.EF),this.EF.V0(D.element));f.G2||(this.playButton=new g.J7(K,R),g.q(this,this.playButton),this.playButton.V0(D.element));K.Y(\"web_render_jump_buttons\")&&(this.UF=new E9(K,\n10),g.q(this,this.UF),this.UF.V0(D.element));K.Y(\"delhi_modern_web_player_remove_nav_buttons\")||(K.Y(\"delhi_modern_web_player\")&&(H=new g.Zy(K,R,!1),g.q(this,H),H.V0(D.element)),H=new g.Zy(K,R,!0),g.q(this,H),H.V0(D.element));if(!K.Y(\"delhi_modern_web_player\")||K.Y(\"delhi_modern_web_player_horizontal_volume_controls\"))if(H=new g.Y({V:\"span\",D:\"ytp-volume-area\"}),g.q(this,H),H.V0(D.element),!f.vK&&(this.muteButton=new A7(K,R),g.q(this,this.muteButton),this.muteButton.V0(H.element),f.er&&!f.N)){var l=\nnew SWG(K,this.U.element);this.oY=l;g.q(this,l);l.V0(H.element);H=new g.UM(H.element);g.q(this,H);H.subscribe(\"hoverstart\",function(){var r;(r=V.oY)==null||vSB(r,!0)});\nH=new g.UM(D.element);g.q(this,H);H.subscribe(\"hoverend\",function(){var r;(r=V.oY)==null||vSB(r,!1)})}K.Y(\"delhi_modern_web_player_lhs_volume_controls\")&&!K.Y(\"delhi_modern_web_player_horizontal_volume_controls\")&&(D.element.classList.add(\"ytp-left-controls-with-volume\"),this.muteButton=new A7(K,R),g.q(this,this.muteButton),this.muteButton.V0(D.element),this.muteButton.element.classList.add(\"ytp-standalone-mute-button\"));\ng.q(this,this.U2);this.U2.V0(D.element);this.er=new wf(K,this.progressBar);g.q(this,this.er);this.er.V0(D.element);f.Y(\"web_key_moments_markers\")&&(this.G2=new aB(K,this.progressBar),g.q(this,this.G2),this.G2.V0(D.element));K.Y(\"delhi_modern_web_player\")?this.K=new g.Hv({V:\"div\",D:\"ytp-right-controls\",S:[{V:\"div\",D:Lq.RIGHT_CONTROLS_LEFT},{V:\"div\",D:Lq.RIGHT_CONTROLS_RIGHT}]}):this.K=new g.Hv({V:\"div\",D:\"ytp-right-controls\"});g.q(this,this.K);this.K.V0(this.qe);K.Y(\"delhi_modern_web_player\")&&(this.N=\nnew zg(K),g.q(this,this.N),this.N.V0(this.K.IY(Lq.RIGHT_CONTROLS_LEFT)),K.Y(\"delhi_modern_web_player_lhs_volume_controls\")||K.Y(\"delhi_modern_web_player_horizontal_volume_controls\")||(this.muteButton=new A7(K,R),g.q(this,this.muteButton),this.muteButton.V0(this.K.IY(Lq.RIGHT_CONTROLS_LEFT))));this.v5=new F8h(K,R);g.q(this,this.v5);wZ(this,this.v5,\"RIGHT_CONTROLS_LEFT\");this.settingsButton=new et(K,this.X);g.q(this,this.settingsButton);l2N(this.X,this.settingsButton);wZ(this,this.settingsButton,\"RIGHT_CONTROLS_LEFT\");\nD=K.getVideoData();if(f.DU||D.nL&&f.controlsType===\"1\")this.B=new vN(K,R),g.q(this,this.B),this.B.V0(this.K.element);f.showMiniplayerButton&&!K.Y(\"web_player_miniplayer_in_context_menu\")&&(this.J=new QS(K),g.q(this,this.J),wZ(this,this.J,\"RIGHT_CONTROLS_RIGHT\"));f.ZY&&(R=new C9(K,this.X),g.q(this,R),wZ(this,R,\"RIGHT_CONTROLS_RIGHT\"));f.TY&&(R=new vL(K),g.q(this,R),wZ(this,R,\"RIGHT_CONTROLS_RIGHT\"));g.q(this,this.kW);wZ(this,this.kW,\"RIGHT_CONTROLS_RIGHT\");g.q(this,this.Z);this.j(K,\"appresize\",this.xl);\nthis.j(K,\"fullscreentoggled\",this.xl);var F;(F=this.N)==null||F.subscribe(\"small-mode-expand-right-bottom-controls\",function(){L8v(V)});\nvar c;(c=this.N)==null||c.subscribe(\"small-mode-collapse-right-bottom-controls\",function(){L8v(V)});\nthis.j(K,\"presentingplayerstatechange\",this.En);this.j(K,\"videodatachange\",this.onVideoDataChange);this.xl()};\nL8v=function(K){K.U.element.classList.toggle(\"ytp-xsmall-width-right-controls-expanded\",K.N.isExpanded())};\nzdh=function(K,R){K.G.getPlayerStateObject().isCued()||R?R&&(K.B5.hide(),K.y0.hide(),K.muteButton&&K.muteButton.bM(!1),K.B&&K.B.bM(!1),K.J&&K.J.bM(!1),K.G.sS(K.ud())):R||(K.B5.show(),K.y0.show(),K.muteButton&&K.muteButton.bM(!0),K.B&&K.B.bM(!0),K.J&&K.J.bM(!0),K.RB())};\nESN=function(K){var R=K.G.Ft().getPlayerSize().width;return Math.max(R-xuB(K)*2,100)};\nxuB=function(K){if(K.G.Y(\"web_player_rtr_ctrls\")&&K.G.Ft().fM)return 0;var R=K.G.uH(),f=K.G.getVideoData().nL,V=0;K.G.uH()&&K.G.isEmbedsShortsMode()&&(V=(K.G.Ft().getPlayerSize().width-K.G.getVideoContentRect().width)/2);return 12*(f?0:R?2:1)+V};\na2v=function(K){var R=K.G.uH()?72:50,f=K.G.C();g.fc(f)&&(f.Y(\"delhi_modern_web_player\")?(R=g.mz(f.experiments,\"delhi_modern_web_player_responsive_compact_controls_threshold\"),R=K.G.Y(\"delhi_modern_web_player_compact_controls\")||R>0&&K.G.getPlayerSize().width<=R,R=K.G.uH()?112:R?70:78,K.G.getRootNode().classList.contains(\"ytp-fullscreen-grid-peeking\")&&(K=getComputedStyle(K.G.getRootNode()).getPropertyValue(\"--ytp-grid-peek-height\")||\"36px\",R+=Number(K.replace(\"px\",\"\")))):R=62,g.Oc(f)&&(R=54));return R};\nwZ=function(K,R,f){K.G.Y(\"delhi_modern_web_player\")?R.V0(K.K.IY(Lq[f])):R.V0(K.K.element)};\nNwN=function(K){yv.call(this,K,!1);var R=this;this.suggestedActions={};this.U=null;this.X=!1;this.U=ig(282639);this.element.setAttribute(\"data-overlay-order\",\"7\");this.j(this.G,\"videodatachange\",this.onVideoDataChange);this.j(this.G,g.gI(\"suggested_action_button_visible\"),function(f){QfD(R,f.id);R.enabled=!0;R.Qt()});\nthis.j(this.G,g.OK(\"suggested_action_button_visible\"),function(f){R.enabled=!1;R.Qt();R.G.removeCueRange(f.id)});\nthis.j(K,\"presentingplayerstatechange\",this.onStateChange)};\nQfD=function(K,R){K.text=R;Xo2(K);var f;K.onClickCommand=(f=K.suggestedActions[R])==null?void 0:f.tapCommand};\nUuG=function(K){K.suggestedActions={};K.G.BV(\"suggested_action_button_visible\");K.X=!1};\nxZ=function(K){g.Y.call(this,{V:\"div\",D:zZ.TITLE,S:[{V:\"div\",Me:[zZ.TEXT,K.Y(\"enable_larger_title_line_height\")?\"ytp-title-text-larger-line-height\":\"\"],S:[{V:\"a\",Me:[zZ.LINK,zZ.SESSIONLINK],L:{target:K.C().EF,href:\"{{url}}\",\"data-sessionlink\":\"feature=player-title\",tabIndex:\"{{channelTitleFocusable}}\"},Q0:\"{{title}}\"},{V:\"div\",D:zZ.SUBTEXT,S:[\"{{subtextElement}}\"]}]}]});this.api=K;this.U=null;this.link=this.IY(zZ.LINK);K.createClientVe(this.element,this,23851);this.j(K,\"videodatachange\",this.T2);\nthis.j(K,\"videoplayerreset\",this.T2);this.T2()};\nW8o=function(K){K.updateValue(\"channelLink\",\"\");K.updateValue(\"channelName\",\"\");g.Oc(K.api.C())||K.api.Y(\"enable_channel_title_always_focusable\")?K.updateValue(\"channelTitleFocusable\",\"0\"):K.updateValue(\"channelTitleFocusable\",\"-1\")};\ng.E7=function(K,R){g.Y.call(this,{V:\"div\",S:[{V:\"div\",D:\"ytp-tooltip-text-wrapper\",L:{\"aria-hidden\":\"{{ariaHidden}}\"},S:[{V:\"div\",D:\"ytp-tooltip-edu\",S:[{V:\"svg\",L:{height:\"100%\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",L:{d:\"M14.1 36.75 12 34.65 24 22.65 36 34.65 33.9 36.75 24 26.85ZM14.1 24.1 12 22 24 10 36 22 33.9 24.1 24 14.2Z\"}}]},{V:\"span\",Q0:\"{{eduText}}\"}]},{V:\"div\",D:\"ytp-tooltip-image\"},{V:\"div\",D:\"ytp-tooltip-title\",S:[{V:\"span\",Q0:\"{{title}}\"},{V:\"div\",D:\"ytp-tooltip-keyboard-shortcut\",\nQ0:\"{{keyBoardShortcutTitle}}\"}]},{V:\"div\",D:\"ytp-tooltip-bottom-text\",S:[{V:\"span\",D:\"ytp-tooltip-text\",Q0:\"{{text}}\"},{V:\"div\",D:\"ytp-tooltip-keyboard-shortcut\",Q0:\"{{keyBoardShortcut}}\"}]},{V:\"div\",D:\"ytp-tooltip-progress-bar-pill\",S:[{V:\"div\",D:\"ytp-tooltip-progress-bar-pill-time-stamp\",Q0:\"{{pillTimeStamp}}\"},{V:\"div\",D:\"ytp-tooltip-progress-bar-pill-title\",Q0:\"{{pillTitle}}\"}]}]},{V:\"div\",D:\"ytp-tooltip-bg\",S:[{V:\"div\",D:\"ytp-tooltip-duration\",Q0:\"{{duration}}\"}]}]});var f=this;this.api=K;this.er=\nR;this.Z=function(V){(V=V.relatedTarget)&&g.Ta(f.U,V)||f.vU()};\nthis.B=function(V){f.type===3&&f.vU();(V=V.currentTarget)&&V.nodeType===1&&!f.type&&(V.removeEventListener(\"mouseover\",f.B),V.addEventListener(\"mouseout\",f.Z),V.removeEventListener(\"focus\",f.B),V.addEventListener(\"blur\",f.Z),tNN(f,V,2))};\nthis.UF=function(){f.vU()};\nthis.type=this.U=null;this.N=!1;this.K=null;this.X=\"\";this.T=!0;this.scale=1;this.env=this.api.C();this.B5=this.env.K;this.wrapper=this.IY(\"ytp-tooltip-text-wrapper\");this.bg=this.IY(\"ytp-tooltip-bg\");this.y0=this.IY(\"ytp-tooltip-edu\");this.image=this.IY(\"ytp-tooltip-image\");this.text=this.IY(\"ytp-tooltip-text\");this.bottomText=this.IY(\"ytp-tooltip-bottom-text\");this.title=this.IY(\"ytp-tooltip-title\");this.fade=new g.K0(this,100);this.J=NaN;this.Au=this.api.Ft().getPlayerSize().width;this.aY=new g.CW(this.c55,\n250,this);this.Xt=new g.CW(this.vU,5E3,this);g.q(this,this.fade);g.q(this,this.aY);g.q(this,this.Xt);J1&&(K=this.IY(\"ytp-tooltip-text\"),K.setAttribute(\"role\",\"text\"),K.setAttribute(\"aria-live\",\"polite\"))};\nAUv=function(K,R){K.env.Y(\"delhi_modern_web_player\")&&K.scale!==.6&&(K.scale=R?.8:1)};\ng.Qg=function(K,R){if(K.B5)return function(){};\nR.addEventListener(\"mouseover\",K.B);R.addEventListener(\"focus\",K.B);var f=K.env.Y(\"player_tooltip_data_title_killswitch\")?R.getAttribute(\"title\"):R.getAttribute(\"data-tooltip-title\");f&&!R.hasAttribute(\"aria-label\")&&R.setAttribute(\"aria-label\",f);return function(){K.U===R&&K.vU();R.removeEventListener(\"mouseover\",K.B);R.removeEventListener(\"focus\",K.B)}};\ntNN=function(K,R,f,V){if(R&&!R.hasAttribute)K=new g.NB(\"showElementTooltip called with non-element.\",R.toString()),g.WR(K);else{isNaN(K.J)||(K.J=NaN,K.bg.style.background=\"\");g.c2(K.element,\"ytp-tooltip-progress-bar-style\");K.U=R;K.N=!!V;V?K.X=V:(K.env.Y(\"player_tooltip_data_title_killswitch\")?K.X=R.getAttribute(\"title\"):K.X=R.getAttribute(\"data-tooltip-title\"),K.env.Y(\"player_tooltip_data_title_killswitch\")?R.removeAttribute(\"title\"):R.removeAttribute(\"data-tooltip-title\"));g.$w(K.element,\"ytp-tooltip\");\nvar D=R.getAttribute(\"data-tooltip-image\");D&&(K.image.style.backgroundImage=\"url(\"+D+\")\");V?K.update({ariaHidden:\"false\"}):K.update({ariaHidden:\"true\"});g.yb(K.element,\"ytp-tooltip-image-enabled\",!!D);R=R.getAttribute(\"data-tooltip-opaque\");g.yb(K.element,\"ytp-tooltip-opaque\",!!R);K.type=f;K.api.addEventListener(\"appresize\",K.UF);K.T&&(aF(K),K.fade.show(0))}};\naF=function(K){if(K.U){var R=K.U.getAttribute(\"data-tooltip-text\");if(K.X&&K.U.getAttribute(\"aria-label\")!==K.X)var f=K.X;var V=K.U.getAttribute(\"aria-keyshortcuts\"),D=K.U.getAttribute(\"data-title-no-tooltip\");V&&D&&(f=g.sK(\"$BUTTON_TITLE keyboard shortcut $SHORTCUT_KEY\",{BUTTON_TITLE:D,SHORTCUT_KEY:V}));f&&K.U.setAttribute(\"aria-label\",f);if(R&&!K.N){AUv(K,!0);var H=K.U;K.updateValue(\"text\",R);f=H.getAttribute(\"data-duration\");K.update({title:K.X,duration:f});H=H.getAttribute(\"data-preview\");K.env.Y(\"delhi_modern_web_player\")?\n(K.updateValue(\"title\",D),K.updateValue(\"keyBoardShortcutTitle\",V.toUpperCase())):AUv(K,!1);V=243*K.scale;D=141*K.scale;K.bg.style.width=V+\"px\";K.bg.style.height=D+\"px\";K.bg.style.backgroundImage=H?\"url(\"+H+\")\":\"\";K.bg.style.backgroundSize=V+\"px \"+D+\"px\";K.wrapper.style.width=V+\"px\";g.FJ(K.element,[\"ytp-text-detail\",\"ytp-preview\"]);g.yb(K.element,\"ytp-has-duration\",!!f)}else D&&V&&K.env.Y(\"delhi_modern_web_player\")?(K.updateValue(\"text\",D),K.updateValue(\"keyBoardShortcut\",V.toUpperCase())):K.updateValue(\"text\",\nK.X),g.ry(K.element,[\"ytp-text-detail\",\"ytp-preview\",\"ytp-has-duration\"]);f=K.U;f.hasAttribute(\"data-tooltip-offset-y\")?(f=Number(f.getAttribute(\"data-tooltip-offset-y\")),f=isNaN(f)?0:f):f=0;JUM(K,!!R,void 0,f)}};\nJUM=function(K,R,f,V){var D=Math.min(K.Au,300*K.scale);K.element.style.maxWidth=R?\"\":D+\"px\";K.er.Ug(K.element,K.U,f,K.type===1,V);K.element.style.top?g.dy(K.element,\"ytp-bottom\"):K.element.style.bottom&&g.dy(K.element,\"ytp-top\");K.type===3&&K.Xt.start()};\nZR_=function(K,R){g.yb(K.element,\"ytp-preview\",R>=0);if(!(R<0||R===K.J)){K.J=R;R=243*K.scale;var f=141*K.scale,V=iXe(K.K,K.J,R);hAB(K.bg,V,R,f,!0);K.aY.start()}};\nBww=function(K){var R=K.U;K.type===3&&K.Xt.stop();K.api.removeEventListener(\"appresize\",K.UF);K.N||(K.env.Y(\"player_tooltip_data_title_killswitch\")?R.setAttribute(\"title\",K.X):R.setAttribute(\"data-tooltip-title\",K.X));K.X=\"\";K.U=null;K.update({keyBoardShortcut:\"\",keyBoardShortcutTitle:\"\"});K.wrapper.style.width=\"\"};\nkPo=function(K){g.Y.call(this,{V:\"button\",Me:[\"ytp-watch-later-button\",\"ytp-button\"],L:{title:K.Y(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"data-tooltip-image\":\"{{image}}\",\"data-tooltip-opaque\":String(g.kN(K.C()))},S:[{V:\"div\",D:\"ytp-watch-later-icon\",Q0:\"{{icon}}\"},{V:\"div\",D:\"ytp-watch-later-title\",Q0:\"Watch later\"}]});this.G=K;this.icon=null;this.visible=this.isRequestPending=this.U=!1;Rae(K);K.createClientVe(this.element,this,28665);this.listen(\"click\",\nthis.onClick,this);this.j(K,\"videoplayerreset\",this.onReset);this.j(K,\"appresize\",this.L5);this.j(K,\"videodatachange\",this.L5);this.j(K,\"presentingplayerstatechange\",this.L5);this.L5();K=this.G.C();var R=g.n4(\"yt-player-watch-later-pending\");K.J&&R?(HQ5(),XAM(this)):this.T2(2);g.yb(this.element,\"ytp-show-watch-later-title\",g.kN(K));Ny(this.G,this.element,this)};\nTwB=function(K){var R=K.G.getPlayerSize(),f=K.G.C(),V=K.G.getVideoData(),D=g.kN(f)&&g.Xs(K.G)&&g.G(K.G.getPlayerStateObject(),128),H=f.X;return f.XQ&&R.width>=240&&!V.isAd()&&V.XQ&&!D&&!V.nL&&!K.G.isEmbedsShortsMode()&&!H};\nPxe=function(K,R){aHh(g.sc(K.G.C()),\"wl_button\",function(){HQ5({videoId:R});window.location.reload()})};\nXAM=function(K){if(!K.isRequestPending){K.isRequestPending=!0;K.T2(3);var R=K.G.getVideoData();R=K.U?R.removeFromWatchLaterCommand:R.addToWatchLaterCommand;var f=K.G.PU(),V=K.U?function(){K.U=!1;K.isRequestPending=!1;K.T2(2);K.G.C().Z&&K.G.lD(\"WATCH_LATER_VIDEO_REMOVED\")}:function(){K.U=!0;\nK.isRequestPending=!1;K.T2(1);K.G.C().K&&K.G.FJ(K.element);K.G.C().Z&&K.G.lD(\"WATCH_LATER_VIDEO_ADDED\")};\nXi(f,R).then(V,function(){K.isRequestPending=!1;K.T2(4,\"An error occurred. Please try again later.\");K.G.C().Z&&K.G.lD(\"WATCH_LATER_ERROR\",\"An error occurred. Please try again later.\")})}};\nnSo=function(K,R){if(R!==K.icon){switch(R){case 3:var f=yi();break;case 1:f=hJ();break;case 2:f={V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z\"}}]};break;case 4:f={V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",\nuM:!0,L:{d:\"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z\",fill:\"#fff\"}}]}}K.updateValue(\"icon\",f);K.icon=R}};\nI2c=function(){g.I$.apply(this,arguments);this.bY=(this.Iw=g.kN(this.api.C()))&&(this.api.C().K||He()||VP());this.pG=48;this.zz=69;this.nj=this.V6=null;this.py=[];this.HW=this.XP=this.CA=this.O2=this.ma=null;this.Jr=[];this.contextMenu=this.f7=this.overflowButton=this.bW=this.NQ=this.searchButton=this.copyLinkButton=this.shareButton=this.Zg=this.BB=this.title=this.channelAvatar=this.Eg=this.tooltip=null;this.NO=!1;this.rL=this.Vs=this.hM=this.MZ=null;this.vNQ=this.Y9=this.V_=!1};\ngS5=function(K){var R=K.api.C(),f=g.G(K.api.getPlayerStateObject(),128);return R.J&&f&&!K.api.isFullscreen()};\nORh=function(K){if(K.C7()&&!K.api.isEmbedsShortsMode()&&K.bW){var R=K.api.Y(\"web_player_hide_overflow_button_if_empty_menu\");!K.Zg||R&&!TwB(K.Zg)||A7_(K.bW,K.Zg);!K.shareButton||R&&!Y9e(K.shareButton)||A7_(K.bW,K.shareButton);!K.copyLinkButton||R&&!j$_(K.copyLinkButton)||A7_(K.bW,K.copyLinkButton)}else{R=K.api.C().getWebPlayerContextConfig();if(K.bW){for(var f=K.bW,V=g.Z(f.actionButtons),D=V.next();!D.done;D=V.next())D.value.detach();f.actionButtons=[]}K.searchButton&&!g.Ta(K.BB.element,K.searchButton.element)&&\nK.searchButton.V0(K.BB.element);!K.Zg||(R==null?0:R.hideTopWatchNextButton)||g.Ta(K.BB.element,K.Zg.element)||K.Zg.V0(K.BB.element);!K.shareButton||(R==null?0:R.hideTopShareButton)||g.Ta(K.BB.element,K.shareButton.element)||K.shareButton.V0(K.BB.element);K.copyLinkButton&&!g.Ta(K.BB.element,K.copyLinkButton.element)&&K.copyLinkButton.V0(K.BB.element)}};\njf5=function(K,R,f){R=f?R.lastElementChild:R.firstElementChild;for(var V=null;R;){if(dB(R,\"display\")!==\"none\"&&R.getAttribute(\"aria-hidden\")!==\"true\"){var D=void 0;R.tabIndex>=0?D=R:D=jf5(K,R,f);D&&(V?f?D.tabIndex>V.tabIndex&&(V=D):D.tabIndexR||f>10||(K.play(),g.zs(function(){MNB(K,K.getCurrentTime(),f+1)},500))};\nbR5=function(K,R){K.B&&K.B.equals(R)||(K.B&&K.B.dispose(),K.B=R)};\npAB=function(K){K.LT()&&(K.bD&&K.bD.E2(\"rs_s\"),pP&&K.getCurrentTime()>0&&K.seekTo(0),K.TZ(),K.load(),bR5(K,null));delete K.T};\nYWw=function(K,R){return K.view?CH(R,K.view.start,K.view.end):R};\nGPM=function(K){K=K===void 0?!1:K;muw||(window.addEventListener(J1?\"touchstart\":\"click\",function(){var R=K;R=R===void 0?!1:R;for(var f=U7.length;f<4;f++){var V=g.tB(\"VIDEO\");V.load();U7.push(R?new g.NT(V):new g.kf(V))}},{capture:!0,\npassive:!0}),muw=!0)};\nuah=function(K,R,f,V,D){D=D===void 0?!1:D;var H=f.getVideoData(),l=R.getVideoData();if(f.getPlayerState().isError())return{msg:\"player-error\"};var F=l.X;if(R.Xg()>V/1E3+1)return{msg:\"in-the-past\"};if(l.isLivePlayback&&!isFinite(V))return{msg:\"live-infinite\"};V=R.CL();var c=null;V&&(c=D?V.U.played||qr([],[]):V.isView()?V.mediaElement.q_():V.q_());if(c&&c.length>12&&g.WD(H))return{msg:\"played-ranges\"};if(!H.X)return null;if(!F)return{msg:\"no-pvd-formats\"};if(!H.X.U||!F.U)return{msg:\"non-dash\"};D=F.videoInfos[0];\nV=H.X.videoInfos[0];K.UF&&rQ(l)&&(D=R.V2(),V=f.V2());if(!D||!V)return{msg:\"no-video-info\"};if(K.T&&(Jv(D)||Jv(V)))return{msg:\"av1\"};R=K.J&&l.mO()&&fy();if(V.containerType!==D.containerType)if(R)l.KQ(\"sgap\",{ierr:\"container\"});else return{msg:\"container\"};if(K.B&&!R&&(V.P5!==D.P5||V.P5===\"\"||D.P5===\"\"))return{msg:\"codec\"};if(K.N&&V.video&&D.video&&Math.abs(V.video.width/V.video.height-D.video.width/D.video.height)>.01)return{msg:\"ratio\"};if(g.WD(l)&&g.WD(H))return{msg:\"content-protection\"};F=F.U[0];\nH=H.X.U[0];f=F.audio;c=H.audio;if(f.sampleRate!==c.sampleRate&&!g.Du)if(R)l.KQ(\"sgap\",{ierr:\"srate\"});else return{msg:\"sample-rate\",ci:F.itag,cr:f.sampleRate,ni:H.itag,nr:c.sampleRate};return(f.numChannels||2)!==(c.numChannels||2)?{msg:\"channel-count\"}:K.Z&&l.mO()&&D.video.fps!==V.video.fps?{msg:\"fps\"}:null};\nsfv=function(K,R,f,V){V=V===void 0?!1:V;var D=K.getVideoData(),H=R.getVideoData();if(!D.C().supportsGaplessShorts())return{nq:\"env\"};if((!f.EF||D.Z8&&!D.isAd()||H.Z8&&!H.isAd())&&(!f.K||D.Z8&&!D.isAd()||H.Z8)&&(!f.X||H.Z8&&!H.isAd()||D.Z8)&&(D.Z8||H.Z8))return{nq:\"autoplay\"};if(D.endSeconds>0)return{nq:\"endcr\"};if(!D.N)return{nq:\"client\"};if(!K.Sg())return{nq:\"no-empty\"};K=uah(f,K,R,Infinity,V);return K!=null?{nq:K.msg}:null};\nWN=function(K){g.O.call(this);this.app=K;this.B=this.J=this.K=this.U=null;this.X=1;this.events=new g.de(this);this.events.j(this.app.YW,g.OK(\"gaplessshortslooprange\"),this.Z);g.q(this,this.events)};\nCxM=function(){this.U=this.N=this.X=this.K=this.EF=this.T=this.UF=this.Z=this.B=this.J=!1};\nede=function(K){var R=new CxM;R.J=K.Y(\"h5_gapless_support_types_diff\");R.Z=!1;R.UF=K.Y(\"html5_gapless_use_format_info_fix\");R.T=K.Y(\"html5_gapless_disable_on_av1\")&&!K.Y(\"html5_gapless_enable_on_av1\");R.B=K.Y(\"html5_gapless_check_codec_diff_strictly\");R.EF=K.Y(\"html5_gapless_on_ad_autoplay\");R.N=K.Y(\"html5_gapless_disable_diff_aspect_radio\");R.K=K.Y(\"html5_gapless_ad_autoplay_on_ad_to_video_only\")&&!K.Y(\"html5_disable_loop_range_for_shorts_ads\");R.U=K.Y(\"html5_pseudogapless_shorts_seek_to_next_start\");\nR.X=K.Y(\"html5_gapless_ad_autoplay_on_video_to_ad_only\");return R};\ng.tg=function(K,R,f,V){V=V===void 0?!1:V;hL.call(this);this.mediaElement=K;this.start=R;this.end=f;this.HC=V};\nKv_=function(K,R,f,V,D,H){H=H===void 0?0:H;g.O.call(this);var l=this;this.policy=K;this.U=R;this.K=f;this.Gi=D;this.B=H;this.J=this.X=null;this.currentVideoDuration=this.T=-1;this.N=!1;this.yA=new y9;this.jf=V-R.jy()*1E3;this.yA.then(void 0,function(){});\nthis.timeout=new g.CW(function(){l.Fg(\"timeout\")},1E4);\ng.q(this,this.timeout);this.Z=isFinite(V)||this.Gi.C().experiments.rU(\"html5_pseudogapless_shorts\")&&rQ(R.getVideoData());this.status={status:0,error:null}};\nfVM=function(K){var R,f,V,D,H,l,F,c,r;return g.I(function(y){if(y.U==1){if(K.mZ())return y.return(Promise.reject(Error(K.status.error||\"disposed\")));K.timeout.start();return g.P(y,K.yA,2)}R=K.U.CL();if(R.isEnded())return K.Fg(\"ended_in_finishTransition\"),y.return(Promise.reject(Error(K.status.error||\"\")));if(!K.J||!$W(K.J))return K.Fg(\"next_mse_closed\"),y.return(Promise.reject(Error(K.status.error||\"\")));if(K.K.QZ()!==K.J)return K.Fg(\"next_mse_mismatch\"),y.return(Promise.reject(Error(K.status.error||\n\"\")));f=Ag(K);V=f.dX;D=f.Eo;H=f.AU;K.U.EU(!1,!0);l=Roe(K,R,V,H,!K.K.getVideoData().isAd());K.K.setMediaElement(l);(F=K.U.Ky())&&K.K.YX(F.tB,F.GZ);K.Z&&(K.policy.U||K.K.seekTo(K.K.getCurrentTime()+.001,{bJ:!0,du:3,oQ:\"gapless_pseudo\"}),l.play());c=R.PK();c.cpn=K.U.getVideoData().clientPlaybackNonce;c.st=\"\"+V;c.et=\"\"+H;K.K.KQ(\"gapless\",c);K.U.KQ(\"gaplessTo\",{cpn:K.K.getVideoData().clientPlaybackNonce});r=K.U.getPlayerType()===K.K.getPlayerType();K.U.b3(D,!0,!1,r,K.K.getVideoData().clientPlaybackNonce);\nK.K.b3(K.K.getCurrentTime(),!0,!0,r,K.U.getVideoData().clientPlaybackNonce);K.K.QM();g.WE(function(){!K.K.getVideoData().Z&&K.K.getPlayerState().isOrWillBePlaying()&&K.K.Iz()});\nJg(K,6);K.dispose();return y.return(Promise.resolve())})};\n$EB=function(K){if(K.K.getVideoData().X){var R=K.Gi.C().Y(\"html5_gapless_suspend_next_loader\")&&K.B===1;K.K.OR(K.J,R,VUe(K));Jg(K,3);DE_(K);var f=Hjz(K);R=f.Qm;f=f.dB;R.subscribe(\"updateend\",K.Ew,K);f.subscribe(\"updateend\",K.Ew,K);K.Ew(R);K.Ew(f)}};\nDE_=function(K){K.U.unsubscribe(\"internalvideodatachange\",K.Hy,K);K.K.unsubscribe(\"internalvideodatachange\",K.Hy,K);K.Gi.C().Y(\"html5_gapless_use_format_info_fix\")&&(K.U.unsubscribe(\"internalvideoformatchange\",K.Hy,K),K.K.unsubscribe(\"internalvideoformatchange\",K.Hy,K));K.U.unsubscribe(\"mediasourceattached\",K.Hy,K);K.K.unsubscribe(\"statechange\",K.e5,K)};\nlV5=function(K){var R=K.Gi.C().experiments.ph().U.aG(ZW);return uah(K.policy,K.U,K.K,K.jf,R)};\nRoe=function(K,R,f,V,D){if(K.Gi.C().experiments.ph().U.aG(ZW))return R.view={start:f,end:V,HC:D===void 0?!1:D},R;K=R.isView()?R.mediaElement:R;return new g.tg(K,f,V,D)};\nJg=function(K,R){R<=K.status.status||(K.status={status:R,error:null},R===5&&K.yA.resolve())};\nVUe=function(K){return K.Gi.C().Y(\"html5_gapless_no_clear_buffer_timeline\")&&K.B===1&&tP(K.U.getVideoData())};\nAg=function(K){var R=K.U.CL();R=R.isView()?R.start:0;var f=K.U.getVideoData().isLivePlayback?Infinity:K.U.K4(!0);f=Math.min(K.jf/1E3,f)+R;var V=K.Z?100:0;K=f-K.K.Xg()+V;return{Uo:R,dX:K,Eo:f,AU:Infinity}};\nHjz=function(K){return{Qm:K.X.U.SM,dB:K.X.K.SM}};\nBN=function(K){g.O.call(this);var R=this;this.app=K;this.N=this.K=this.U=null;this.UF=!1;this.EF=this.T=this.X=this.J=null;this.B=ede(this.app.C());this.Z=function(){g.WE(function(){dEv(R)})}};\nFv_=function(K,R,f,V,D){V=V===void 0?0:V;D=D===void 0?0:D;K.Sg()||(kZ(K),TZ(K));K.J=new y9;K.U=R;var H=f,l=D===0;l=l===void 0?!0:l;var F=K.app.LQ(),c=F.getVideoData().isLivePlayback?Infinity:F.K4(!0)*1E3;H>c&&(H=c-200,K.UF=!0);l&&F.getCurrentTime()>=H/1E3?K.Z():(K.K=F,l&&(l=H,H=K.K,K.app.YW.addEventListener(g.gI(\"vqueued\"),K.Z),l=isFinite(l)||l/1E3>H.getDuration()?l:0x8000000000000,K.N=new g.nQ(l,0x8000000000000,{namespace:\"vqueued\"}),H.addCueRange(K.N)));l=V/=1E3;H=R.getVideoData().U;V&&H&&K.K&&\n(F=V,c=0,R.getVideoData().isLivePlayback&&(l=Math.min(f/1E3,K.K.K4(!0)),c=Math.max(0,l-K.K.getCurrentTime()),F=Math.min(V,R.K4()+c)),l=ZH2(H,F)||V,l!==V&&K.U.KQ(\"qvaln\",{st:V,at:l,rm:c,ct:F}));R=l;V=K.U;V.getVideoData().nh=!0;V.getVideoData().N=!0;V.z1(!0);H={};K.K&&(H=K.K.l$(),l=K.K.getVideoData().clientPlaybackNonce,H={crt:(H*1E3).toFixed(),cpn:l});V.KQ(\"queued\",H);R!==0&&V.seekTo(R+.01,{bJ:!0,du:3,oQ:\"videoqueuer_queued\"});K.X=new Kv_(K.B,K.app.LQ(),K.U,f,K.app,D);f=K.X;f.status.status!==Infinity&&\n(Jg(f,1),f.U.subscribe(\"internalvideodatachange\",f.Hy,f),f.K.subscribe(\"internalvideodatachange\",f.Hy,f),f.Gi.C().Y(\"html5_gapless_use_format_info_fix\")&&(f.U.subscribe(\"internalvideoformatchange\",f.Hy,f),f.K.subscribe(\"internalvideoformatchange\",f.Hy,f)),f.U.subscribe(\"mediasourceattached\",f.Hy,f),f.K.subscribe(\"statechange\",f.e5,f),f.U.subscribe(\"newelementrequired\",f.FY,f),f.Hy());return K.J};\ndEv=function(K){var R,f,V,D,H,l,F;g.I(function(c){switch(c.U){case 1:if(K.mZ()||!K.J||!K.U)return c.return();K.UF&&K.app.LQ().GX(!0,!1);R=null;if(!K.X){c.J5(2);break}g.Fp(c,3);return g.P(c,fVM(K.X),5);case 5:g.rW(c,2);break;case 3:R=f=g.yH(c);case 2:if(!K.U)return c.return();cwc.Vn(\"vqsp\",function(){K.app.vA(K.U)});\nif(!K.U)return c.return();V=K.U.CL();K.app.C().Y(\"html5_gapless_seek_on_negative_time\")&&V&&V.getCurrentTime()<-.01&&K.U.seekTo(0);cwc.Vn(\"vqpv\",function(){K.app.playVideo()});\nR&&(K.U?(D=R?R.message:\"forced\",(H=K.K)==null||H.KQ(\"gapfulfbk\",{r:D}),K.U.rg(D)):(l=K.K)==null||l.KQ(\"gapsp\",{}));F=K.J;TZ(K);F&&F.resolve();return c.return(Promise.resolve())}})};\nTZ=function(K,R){R=R===void 0?!1:R;if(K.K){if(K.N){var f=K.K;K.app.YW.removeEventListener(g.gI(\"vqueued\"),K.Z);f.removeCueRange(K.N)}K.K=null;K.N=null}K.X&&(K.X.status.status!==6&&(f=K.X,f.status.status!==Infinity&&f.B!==1&&f.Fg(\"Canceled\")),K.X=null);K.J=null;K.U&&!R&&K.U!==K.app.z2()&&K.U!==K.app.LQ()&&K.U.dispose();K.U&&R&&K.U.pW();K.U=null;K.UF=!1};\nkZ=function(K){K.EF&&K.T&&K.EF.removeEventListener(\"timeupdate\",K.T);K.T=null;K.EF=null};\nywe=function(K,R){if(K.app.C().ph().U.aG(rww)){kZ(K);var f,V=(f=K.app.LQ())==null?void 0:f.CL();V&&K.U&&(K.U.getVideoData().yx=!0,K.T=function(){var D=V.getCurrentTime();D>=R+.2&&(D=Date.now()-(D-R)*1E3,K.app.MH().tick(\"pbs\",D),kZ(K))},K.EF=V,V.addEventListener(\"timeupdate\",K.T))}};\nho2=function(K){var R;return((R=K.X)==null?void 0:R.currentVideoDuration)||-1};\nokv=function(K,R,f){if(K.Sg())return\"qie\";if(K.U==null||K.U.mZ()||K.U.getVideoData()==null)return\"qpd\";if(R.videoId!==K.U.Vt())return\"vinm\";if(ho2(K)<=0)return\"ivd\";if(f!==1)return\"upt\";if((f=K.X)==null)K=void 0;else if(f.getStatus().status!==5)K=\"niss\";else if(lV5(f)!=null)K=\"pge\";else{R=Hjz(f);K=R.Qm;var V=R.dB;R=g.mz(f.Gi.C().experiments,\"html5_shorts_gapless_next_buffer_in_seconds\");var D=f.T+R;f.Gi.C().experiments.rU(\"html5_pseudogapless_shorts\")&&(D=Ag(f).dX+R);f=pH(V.vV(),D);K=pH(K.vV(),D);\nK=!(R>0)||f&&K?null:\"neb\"}return K!=null?K:null};\nSVD=function(){g.VQ.call(this);var K=this;this.fullscreen=0;this.J=this.X=this.pictureInPicture=this.U=this.K=this.inline=!1;this.B=function(){K.Qt()};\ng2N(this.B);this.T=this.getVisibilityState(this.dD(),this.isFullscreen(),this.isMinimized(),this.isInline(),this.qF(),this.d7(),this.Z_(),this.Ab())};\nYmw=function(K){return!(K.isMinimized()||K.isInline()||K.isBackground()||K.qF()||K.d7()||K.Z_()||K.Ab())};\ng.PN=function(K){g.O.call(this);this.W=K;this.videoData=this.playerState=null};\nLvM=function(K,R,f){return(f===void 0?0:f)?new ijw(K,R):new vk5(K,R)};\nvk5=function(K,R){g.O.call(this);var f=this;this.data=[];this.X=K||NaN;this.K=R||null;this.U=new g.CW(function(){nq(f);IF(f)});\ng.q(this,this.U)};\nnq=function(K){var R=(0,g.N7)();K.data.forEach(function(f){f.expireV)break;var H=f.U.remove(),l=f.map.get(H);l&&l.F0===D&&O7(f,H,!0)}j_(f)});\nthis.map=new Map;this.U=new q1;Number.isNaN(K);g.q(this,this.X)};\nO7=function(K,R,f){var V=K.map.get(R);if(!V)return!1;K.map.delete(R);f&&K.K&&K.K(V.value);if(K.U.U.length>K.map.size*2)for(K.U.clear(),R=g.Z(K.map.entries()),f=R.next();!f.done;f=R.next())V=g.Z(f.value),f=V.next().value,V=V.next().value,isFinite(V.F0)&&K.U.enqueue(V.F0,f);return!0};\nj_=function(K){K.X.stop();for(var R;!K.U.isEmpty();){var f=jy(K.U);var V=K.U.U;V=V.length!=0?V[0].getValue():void 0;if(f===void 0||V===void 0)break;if((V=K.map.get(V))&&V.F0===f){R=f;break}else K.U.remove()}R!==void 0&&(f=(0,g.N7)(),K.X.start(Math.max(R-f,100)))};\ng.qT=function(K,R){g.O.call(this);var f=this;this.api=K;this.X={};this.pP=null;this.J={};this.U=null;this.N=new Map;this.B=null;R=LvM(R,function(V){V!==f.mY({playerType:V.getPlayerType()})&&V.dispose()},K.C().ph().U.aG(wPD));\ng.q(this,R);this.K=this.EF=this.Z=new g.PN(K.C());this.T=R};\nMT=function(K){var R=[{cpn:K.K.uL()}];K.U&&R.push({cpn:K.U.uL()});K.api.publish(\"playbackChange\",{sd5:R})};\nzoh=function(K){for(var R=g.Z(Object.values(K.J)),f=R.next();!f.done;f=R.next())f.value.dispose();K.J={};K.U=null;K.B=null;K.N.clear();MT(K)};\nbt=function(K,R,f){var V=V===void 0?\"\":V;K.J[R.uL()]=R;K.U=R;f&&(K.B=R);K.N.set(V,R);MT(K)};\nWvo=function(K){var R=K.experiments,f=R.rU.bind(R);xE5=f(\"html5_use_async_stopVideo\");EkB=f(\"html5_pause_for_async_stopVideo\");aVM=f(\"html5_not_reset_media_source\");f(\"html5_listen_for_audio_output_changed\")&&(QO_=!0);lU=f(\"html5_not_reset_media_source\");NAv=f(\"html5_not_reset_media_source\");Ky=f(\"html5_retain_source_buffer_appends_for_debugging\");rV5(f(\"web_watch_pip\")||f(\"web_shorts_pip\"));qmN(f(\"log_foreground_not_focused_as_background\"));b_w(f(\"web_player_pip_logging_fix\"));f(\"html5_mediastream_applies_timestamp_offset\")&&\n(OJ=!0);if(!R.ph().U.aG(UE5)){var V=g.mz(R,\"html5_cobalt_override_quic\");V&&x3(\"QUIC\",+(V>0))}K.oG()&&Dyz();Error.stackTraceLimit=50;var D=g.mz(R,\"html5_idle_rate_limit_ms\");D&&Object.defineProperty(window,\"requestIdleCallback\",{value:function(H){return window.setTimeout(H,D)}});\nfnN(K.B);zRv(f(\"html5_use_ump_request_slicer\"));CfD(f(\"html5_record_now\"));f(\"html5_disable_streaming_xhr\")&&(e7=!1);f(\"html5_byterate_constraints\")&&(Bp=!0);f(\"html5_use_non_active_broadcast_for_post_live\")&&(yq=!0);f(\"html5_enable_encrypted_av1\")&&(Av=!0);K6G(g.mz(K.experiments,\"html5_sticky_duration_mos\"))};\nPnD=function(K){function R(H,l,F){V.push(ml(l(F),function(c){f[H]=c}))}\nvar f={};K=K.experiments.lK();var V=[],D=K.U.aG(tUG);DS(D)&&Number(D)>0&&R(\"SetPreferMinimalPostProcessing\",GW2,Number(D)===1);(D=K.U.aG(Awh))&&R(\"MediaSource.EnableUsingMediaSourceBufferedRange\",uBz,D===1);(D=K.U.aG(JwB))&&R(\"HTTP3\",sUe,D===1);(D=K.U.aG(ZjG))&&R(\"MediaSource.EnableUsingMediaSourceAttachmentMethods\",Cv_,D===1);(D=K.U.aG(BAh))&&R(\"QUIC\",ePB,D===1);(D=K.U.aG(XPz))&&R(\"Media.PlayerConfiguration.DecodeToTexturePreferred\",Rcz,D===1);(D=K.U.aG(kDB))&&R(\"Media.AudioWriteDurationLocal\",KKB,\nNumber(D));(K=K.U.aG(TAD))&&R(\"Media.DisableExternalAllocator\",fk5,Number(K)===1);return ml(EHG(V),function(){return f})};\nnko=function(K){this.K=K===void 0?15:K;this.values=new Float64Array(176);this.U=new Float64Array(11);this.X=new Float64Array(16)};\npq=function(K,R,f,V){f=f===void 0?.5:f;V=V===void 0?0:V;this.resolution=R;this.K=0;this.X=!1;this.IT=!0;this.U=Math.round(K*this.resolution);this.values=Array(this.U);for(K=0;K0)R=K.byterate,this.UF=\n!0;else{var V;f=(((V=navigator.connection)==null?void 0:V.downlink)||0)*64*1024;f>0&&(R=f,this.UF=!0)}this.X.DY(this.policy.T,R);K.delay>0&&this.Z.DY(1,Math.min(K.delay,2));K.stall>0&&this.N.DY(1,K.stall);K.init>0&&(this.qe=Math.min(K.init,this.qe));K.interruptions&&(this.J=this.J.concat(K.interruptions),this.J.length>16&&this.J.pop());this.aY=(0,g.N7)();this.policy.N>0&&(this.oY=new g.CW(this.kW,this.policy.N,this),g.q(this,this.oY),this.oY.start())};\nSa=function(K,R,f,V){K.X.DY(V===void 0?R:V,f/R);K.T=(0,g.N7)()};\nLC5=function(K){K.B||(K.B=(0,g.N7)());K.policy.EF&&(K.T=(0,g.N7)())};\nzbo=function(K,R){if(K.B){var f=R-K.B;if(f<6E4){if(f>1E3){var V=K.interruptions;V.push(Math.ceil(f));V.sort(function(D,H){return H-D});\nV.length>16&&V.pop()}K.B5+=f}}K.B=R};\nYZ=function(K,R,f,V,D,H){H=H===void 0?!1:H;K.er.DY(R,f/R);K.T=(0,g.N7)();D||K.EF.DY(1,R-V);H||(K.B=0);K.aY>-1&&(0,g.N7)()-K.aY>3E4&&(RTG(ch(K)),K.aY=(0,g.N7)(),K.UF=!0)};\nmE=function(K,R,f){R=Math.max(R,K.K.U);K.N.DY(1,f/R)};\nq$=function(K){K=K.Z.jI()+K.y0.jI()||0;K=isNaN(K)?.5:K;return K=Math.min(K,5)};\ngkM=function(K,R,f){isNaN(f)||(K.Xt+=f);isNaN(R)||(K.Ne+=R)};\nOjz=function(K){K=K.X.jI();return K>0?K:1};\nb8=function(K,R,f){R=R===void 0?!1:R;f=f===void 0?1048576:f;var V=Ojz(K);V=1/((K.N.jI()||0)*K.policy.UF+1/V);var D=K.er.jI();D=D>0?D:1;var H=Math.max(V,D);K.policy.B>0&&D=4E3};\njOz=function(K){this.experiments=K;this.U=17;this.X=13E4;this.T=.5;this.J=this.K=!1;this.aY=this.Y(\"html5_use_histogram_for_bandwidth\");this.B=g.mz(this.experiments,\"html5_auxiliary_estimate_weight\");this.UF=g.mz(this.experiments,\"html5_stall_factor\")||1;this.N=g.mz(this.experiments,\"html5_check_for_idle_network_interval_ms\");this.Z=this.experiments.rU(\"html5_trigger_loader_when_idle_network\");this.EF=this.experiments.rU(\"html5_sabr_fetch_on_idle_network_preloaded_players\")};\nqVc=function(K,R,f){var V=new jOz(f);K&&(V.K=!0,V.T=.1);f.rU(\"html5_media_time_weight\")&&(V.K=!1);R&&(V.X=R/8);V.J=zn()>=480;return V};\nbjo=function(K,R,f,V){V=V===void 0?0:V;g.My.call(this,f.nV());var D=this;this.BK=K;this.videoData=R;this.duration=V;this.U=this.startTimeSecs=0;this.K=this.X=!0;this.J=new MUB(function(H,l){return void D.KQ(H,l)})};\nMUB=function(K){this.KQ=K;this.U={}};\npPN=function(K,R,f){K.U[R]||(K.KQ(\"huli-sdai-err\",f),K.U[R]=!0)};\nYVe=function(K){this.end=this.start=K};\ng.GZ=function(){this.U=new Map;this.X=new Map;this.K=new Map};\nmE5=function(K){var R=this;this.W=K;this.K=[];this.X=new Map;this.J=new Map;this.U=new Map;this.OC={Oo:function(){return R.X},\nY2Z:function(){return R.J},\nrd:function(){return R.K}};\nthis.B=this.W.Y(\"html5_huli_ssdai_deprecate_playback_timeline_id\")};\nGD2=function(K,R,f){K=K.K;var V=g.hh(K,{RQ:R},function(l,F){return l.RQ-F.RQ});\nV=V<0?(V+2)*-1:V;if(V>=0)for(var D=V;D<=V+1&&D=H.RQ-f&&R<=H.pL+f)return H}};\nsOM=function(K,R){g.vy(K.K,R,function(f,V){return f.RQ===V.RQ?f.durationMs-V.durationMs:f.RQ-V.RQ});\nK.X.set(R.cpn,R);R.As&&!K.B&&K.J.set(R.As,R);R.P1&&uFv(K,R.P1,R)};\nCnB=function(K,R){for(var f=[],V=g.Z(K.K),D=V.next();!D.done;D=V.next())D=D.value,R(D)||f.push(D);if(K.W.Y(\"html5_sstm_fixes\"))for(V=g.Z(K.K),D=V.next();!D.done;D=V.next())D=D.value,R(D)&&(K.X.delete(D.cpn),D.As&&K.J.delete(D.As));K.K=f};\neoD=function(K,R){R=g.hh(K.K,{pL:R},function(f,V){return f.pL-V.pL});\nreturn R>=0?K.K[R]:null};\nKP5=function(K,R){var f=K.K.indexOf(R);f>=0&&K.K.splice(f,1);K.X.delete(R.cpn);R.As&&K.J.delete(R.As)};\nuFv=function(K,R,f){var V=K.U.get(R);V?(V.push(f),g.Sc(V,function(D,H){return D.RQ-H.RQ})):K.U.set(R,[f])};\ng.ut=function(K,R,f,V){g.O.call(this);var D=this;this.api=K;this.W=R;this.playback=f;this.app=V;this.UF=new g.GZ;this.K=new Map;this.Gt=new Map;this.Xt=new Map;this.y0=null;this.Kh=NaN;this.v5=this.bd=null;this.pQ=new g.CW(function(){Rjh(D,D.Kh,D.bd||void 0)});\nthis.events=new g.de(this);this.Za=15E3;this.T=new g.CW(function(){D.N=!0;D.playback.xe(D.Za);fKB(D);if(D.playback.getVideoData().Jh()){var H;D.MY({togab:(H=D.B)==null?void 0:H.identifier})}D.IF(!1)},this.Za);\nthis.N=!1;this.rR=new Map;this.Ne=[];this.B=null;this.r4=new Set;this.Z=[];this.qe=[];this.aQ=[];this.XQ=[];this.G2=new Set;this.Id=0;this.EF=!1;this.vK=new Set;this.Dk=new Set;this.M1=new Set;this.OF=new Set;this.nh=this.Dp=0;this.kV=this.Ch=!1;this.NR=this.X=\"\";this.aY=null;this.logger=new g.vf(\"dai\");this.qW=\"\";this.oY=!0;this.er=new Map;this.hV=new Map;this.OC={e72:function(){return D.K},\nOo:function(){return D.U.OC.Oo()},\njFp:function(){return D.X},\nIAt:function(H){D.onCueRangeEnter(D.K.get(H))},\nV8Z:function(H){D.onCueRangeExit(D.K.get(H))},\nxwW:function(H,l){D.K.set(H,l)},\nvX0:function(H){D.NR=H},\nvy:function(){return D.vy()},\nfAQ:function(H){return D.U.U.get(H)},\nk$2:function(){return D.aY},\nrd:function(){return D.U.OC.rd()},\nxb:function(H,l){D.xb(H,l)},\nOoY:function(){return D.Gt},\nPC:function(H){D.PC(H)}};\nthis.playback.getPlayerType();this.U=new mE5(this.W);this.playback.M3(this);this.kW=this.W.oG();g.q(this,this.pQ);g.q(this,this.events);g.q(this,this.T);this.OA=this.W.Y(\"html5_use_new_ssdai_transition_detector\");this.MR=this.W.ph().U.aG(NcM);this.MW=this.playback.getVideoData().Wn;this.OA?this.playback.subscribe(\"playbackstarted\",this.xb,this):(this.events.j(this.api,g.gI(\"serverstitchedcuerange\"),this.onCueRangeEnter),this.events.j(this.api,g.OK(\"serverstitchedcuerange\"),this.onCueRangeExit));this.FQ=\nthis.W.Y(\"html5_ssdai_report_stitch_error_after_skip_ad\");bt(this.app.EJ(),this.playback,!1)};\nlKo=function(K,R,f,V,D,H,l,F,c){var r=VPh(K,H,H+D);K.N&&K.MY({adaftto:1});f||K.MY({missadcon:1,enter:H,len:D,aid:F});K.J&&!K.J.Yg&&(K.J.Yg=F);K.kV&&K.MY({adfbk:1,enter:H,len:D,aid:F});var y=K.playback;H>l&&s7(K,{reason:\"enterTime_greater_than_return\",RQ:H,pL:l});var h=y.Zk()*1E3;Hy&&s7(K,{reason:\"parent_return_greater_than_content_duration\",pL:l,fXW:y});(y=eoD(K.U,H))&&y.pL>H&&DAD(K,R.video_id||\n\"\",H,l,y);if(r&&y)for(h=0;h=R)return f}K=g.Z(K.K.values());for(f=K.next();!f.done;f=K.next())if(f=f.value,f.start<=R&&f.end>=R)return f};\nRjh=function(K,R,f){var V=K.v5||K.app.LQ().getPlayerState();Kx(K,!0);K.playback.seekTo(R,f);K=K.app.LQ();R=K.getPlayerState();V.isOrWillBePlaying()&&!R.isOrWillBePlaying()?K.playVideo():V.isPaused()&&!R.isPaused()&&K.pauseVideo()};\nKx=function(K,R){K.Kh=NaN;K.bd=null;K.pQ.stop();K.y0&&R&&K.y0.Wb();K.v5=null;K.y0=null};\nLPc=function(K){var R=R===void 0?-1:R;var f=f===void 0?Infinity:f;imo(K,R,f);for(var V=g.Z(K.K.values()),D=V.next();!D.done;D=V.next())D=D.value,D.start>=R&&D.end<=f&&(K.playback.removeCueRange(D),K.K.delete(D.getId()),K.MY({rmAdCR:1}));V=e_(K,R/1E3);R=V.Uy;V=V.IB;R&&(V=V*1E3-R.RQ,v1e(K,R,V,R.RQ+V),V=K.K.get(R.cpn))&&(V.start=R.RQ,V.end=R.RQ+R.durationMs);if(R=e_(K,f/1E3).Uy){var H;V=\"playback_timelinePlaybackId_\"+R.As+\"_video_id_\"+((H=R.videoData)==null?void 0:H.videoId)+\"_durationMs_\"+R.durationMs+\n\"_enterTimeMs_\"+R.RQ+\"_parentReturnTimeMs_\"+R.pL;K.wi(\"Invalid_clearEndTimeMs_\"+f+\"_that_falls_during_\"+V+\"._Child_playbacks_can_only_have_duration_updated_not_their_start.\")}};\nw02=function(K){K.UF.clearAll();K.K.clear();K.U.clear();K.rR.clear();K.Ne=[];K.B=null;K.r4.clear();K.G2.clear();K.Z=[];K.qe=[];K.aQ=[];K.XQ=[];K.vK.clear();K.Dk.clear();K.M1.clear();K.OF.clear();K.N=!1;K.Id=0;K.EF=!1;K.oY=!1;K.Dp=0;K.nh=0;K.Ch=!1;K.kV=!1;K.X=\"\";zoh(K.app.EJ());bt(K.app.EJ(),K.playback,!1);K.Xt.clear();K.T.isActive()&&Cq(K)};\nv1e=function(K,R,f,V){R.durationMs=f;R.pL=V;(V=K.Xt.get(R.cpn))?V.uT(f/1E3):K.MY({nop_d:R.cpn})};\nimo=function(K,R,f){CnB(K.U,function(V){return V.RQ>=R&&V.pL<=f})};\nE1N=function(K,R,f,V,D,H){if(!K.kV)if(g.zjD(K,f))K.MY({gdu:\"undec\",seg:f,itag:D});else if(R=xAz(K,R,f,V,H),!(K.playback.getVideoData().Jh()&&(R==null?0:R.MP)))return R};\nxAz=function(K,R,f,V,D){var H=K.rR.get(f);if(!H){if(H=fL(K,R))return H;R=K.yz(f-1,V!=null?V:2);if(D)return K.MY({misscue:D,sq:f,type:V,prevsstate:R==null?void 0:R.eB,prevrecord:K.rR.has(f-1)}),K.rR.get(f-1);if((R==null?void 0:R.eB)===2)return K.MY({adnf:1,sq:f,type:V,prevrecord:K.rR.has(f-1)}),K.rR.get(f-1)}return H};\nfL=function(K,R){R+=K.AX();var f;if(K.playback.getVideoData().Jh()){a:{var V=R*1E3;K=g.Z(K.U.K);for(f=K.next();!f.done;f=K.next()){f=f.value;var D=f.L_?f.L_*1E3:f.RQ;if(V>=f.RQ-1E3&&V<=D+f.durationMs+1E3){V=f;break a}}V=void 0}f={Uy:V,IB:R}}else f=e_(K,R),((V=f)==null?0:V.Uy)||(f=e_(K,R,1));var H;return(H=f)==null?void 0:H.Uy};\ng.cP2=function(K,R,f,V,D,H,l){var F=D===3,c=E1N(K,R,f,D,V,l);if(!c){RL(K,f,F);var r=g.zjD(K,f)?\"undec\":\"ncp\";K.MY({gvprp:r,mt:R,seg:f,tt:D,itag:V,ce:l});return null}F||K.rR.set(f,c);l=c.P1;var y;D=((y=K.yz(f-1,D,H))==null?void 0:y.jz)||\"\";D===\"\"&&K.MY({eds:1});y=aKh(K,c.ssdaiAdsConfig);H=K.playback.getVideoData();var h;F=((h=H.K)==null?void 0:h.containerType)||0;h=H.By[F];c=c.Tb&&f>=c.Tb?c.Tb:void 0;h={Wg:l?Qc2(K,l):[],adsConfig:y,jz:D,EH:c,Q1:Gd(h.split(\";\")[0]),uN:h.split(\";\")[1]||\"\"};c={N4:h};\nK.kW&&(R={gvprpro:\"v\",sq:f,mt:R.toFixed(3),itag:V,acpns:((r=h.Wg)==null?void 0:r.join(\"_\"))||\"none\",abid:l},K.MY(R));return c};\naKh=function(K,R){R=R===void 0?\"\":R;var f=A1(R)||void 0;if(!R||!f){var V;K.MY({adcfg:(V=R)==null?void 0:V.length,dcfg:f==null?void 0:f.length})}return f};\nN5w=function(K){for(var R=g.Z(K.K.values()),f=R.next();!f.done;f=R.next())K.playback.removeCueRange(f.value);K.K.clear();K.UF.clearAll()};\nWPw=function(K,R,f,V,D,H,l){if(R&&f){K.NR=f.cpn;K.gM(f.cpn,f.startTimeSecs||D);FPc(K,f);var F=dAG(K,\"a2a\",f);K.MY(F);K.Dp++;F=UAG(K);K.playback.aO(R,f,V||0,D||0,!!H,!!l,void 0,F)}else K.MY({misspbkonadtrans:1,enter:(f==null?void 0:f.cpn)||\"\",exit:(R==null?void 0:R.cpn)||\"\",seek:H,skip:l})};\nRL=function(K,R,f){if(f===void 0||!f){f=g.Z(K.Ne);for(var V=f.next();!V.done;V=f.next()){V=V.value;if(R>=V.start&&R<=V.end)return;if(R===V.end+1){V.end+=1;return}}K.Ne.push(new YVe(R))}};\ng.zjD=function(K,R){K=g.Z(K.Ne);for(var f=K.next();!f.done;f=K.next())if(f=f.value,R>=f.start&&R<=f.end)return!0;return!1};\ntPh=function(K,R,f){var V;if(V=K.playback.getVideoData().Jh())V=(V=K.U.mY({cpn:R}))&&V.P1?(K=K.U.U.get(V==null?void 0:V.P1))&&K.slice(-1)[0].cpn===R:!1;return V&&f===2?1E3:0};\nDAD=function(K,R,f,V,D){var H;R={reason:\"overlapping_playbacks\",qzt:R,RQ:f,pL:V,yF5:D.As,JF5:((H=D.videoData)==null?void 0:H.videoId)||\"\",R7r:D.durationMs,g8r:D.RQ,wZY:D.pL};s7(K,R)};\ns7=function(K,R,f){K.playback.nw(R,f)};\nQc2=function(K,R){var f=[];K=K.U.U.get(R);if(!K)return[];K=g.Z(K);for(R=K.next();!R.done;R=K.next())R=R.value,R.cpn&&f.push(R.cpn);return f};\nAkM=function(K,R,f){var V=0;K=K.U.U.get(f);if(!K)return-1;K=g.Z(K);for(f=K.next();!f.done;f=K.next()){if(f.value.cpn===R)return V;V++}return-1};\nJkw=function(K,R){var f=0;K=K.U.U.get(R);if(!K)return 0;K=g.Z(K);for(R=K.next();!R.done;R=K.next())R=R.value,R.durationMs!==0&&R.pL!==R.RQ&&f++;return f};\nZmG=function(K,R,f){var V=!1;if(f=K.U.U.get(f)){f=g.Z(f);for(var D=f.next();!D.done;D=f.next())D=D.value,D.durationMs!==0&&D.pL!==D.RQ&&(D=D.cpn,R===D&&(V=!0),V&&!K.Dk.has(D)&&(K.MY({decoratedAd:D}),K.Dk.add(D)))}};\nfKB=function(K){K.kW&&K.MY({adf:\"0_\"+((new Date).getTime()/1E3-K.nh)+\"_isTimeout_\"+K.N})};\nVPh=function(K,R,f){if(K.Z.length)for(var V=g.Z(K.Z),D=V.next(),H={};!D.done;H={jX:void 0},D=V.next()){H.jX=D.value;D=H.jX.startSecs*1E3;var l=H.jX.w8*1E3+D;if(R>D&&RD&&f0&&(K.Dp=0,K.NR=\"\",K.W.Y(\"html5_huli_ssdai_use_playback_state\")&&K.gM(K.playback.uL(),0),K.api.publish(\"serverstitchedvideochange\"));K.playback.dh(V,D);return!0};\nCq=function(K){K.N=!1;K.T.isActive()&&fKB(K);K.T.stop();K.IF(!1)};\nB5e=function(K,R){var f=\"\";R?R.event===\"unknown\"?f=\"unknown\":K.G2.has(R.identifier)?K.J&&K.J.GH===R.identifier?K.J.GH===R.identifier?f=V3(K.qe,function(V){return V.identifier===R.identifier})?\"shortad\":\"pending\":V3(K.qe,function(V){return V.identifier===R.identifier})||(f=\"noAdsAdded\"):f=\"wrongAdBreakInfo\":f=\"unscheduled\":f=\"noCuepoint\";\nreturn f};\nVs=function(K,R){K.X||K.EF||fx(K,K.NR);var f=R.zG,V=R.vH;if(V.cpn===K.NR)K.MY({igtranssame:1,enter:V.cpn,exit:f.cpn});else{var D=K.EF,H=!!K.X;K.X=\"\";var l=R.SN,F=f.playerType===2?f.RQ/1E3+f.videoData.hV:K.vy().videoData.hV;K.api.Y(\"html5_ssdai_enable_media_end_cue_range\")&&(H||D||f.playerType!==2?(D||H)&&K.MY({mecr:0,seek:D,skip:H}):K.api.C6(f.cpn));if(f.playerType===2&&V.playerType===2)H?K.MY({igtransskip:1,enter:V.cpn,exit:f.cpn,seek:D,skip:K.X}):WPw(K,f,V,F,l,D,H);else{K.NR=V.cpn;K.gM(V.cpn,V.startTimeSecs||\nl);R=R.fuW;if(f.playerType===1&&V.playerType===2){K.Id=0;FPc(K,V);var c=dAG(K,\"c2a\",V);K.MY(c);K.Dp++}else if(f.playerType===2&&V.playerType===1){K.api.publish(\"serverstitchedvideochange\");c=dAG(K,\"a2c\");K.MY(c);K.Dp=0;K.Id=F;c=f.cpn;var r=K.Id;if(c!==K.playback.uL()){var y=K.Xt.get(c);y?y.U=r:K.MY({nop_e:c})}K.PC(f.P1)}c=UAG(K);K.playback.aO(f,V,F,l,D,H,R,c)}X0B(K)}};\nkC_=function(K,R,f,V){K.W.Y(\"html5_ssdai_log_ssevt_in_loader_timers\")&&(V=K.EF?0:Math.round((V-f)*1E3),K.playback.KQ(\"ssevt\",{tag:\"sstme\",ad:R!==K.playback.uL(),cpn:R,st:(f-K.playback.AX()).toFixed(3),late:V}))};\nT5N=function(K,R,f){K.playback.mx();K.playback.seekTo(R,f);K.playback.playVideo()};\nPG_=function(K,R,f,V){R={zG:R,vH:f,SN:K.playback.getCurrentTime(),fuW:V};Vs(K,R)};\nfx=function(K,R){var f=R||K.NR,V=K.U.mY({cpn:f});if(V){R=V.videoData;var D,H;f=V.L_||((H=(D=K.K.get(f))==null?void 0:D.start)!=null?H:0)/1E3;K=K.playback.getCurrentTime()-f;R.hV=K>0?K:0}else K.vy().videoData.hV=K.playback.getCurrentTime()};\nX0B=function(K){K.OF.add(K.X);K.X=\"\";K.EF=!1};\nUAG=function(K){if(K.MR){var R=Array.from(K.app.EJ().N.values()),f=[],V=[],D=[],H=[],l=[];R=g.Z(R);for(var F=R.next();!F.done;F=R.next()){F=K.U.mY({cpn:F.value.uL()});var c=void 0;((c=F)==null?0:c.serializedPlaybackPingContextLoggingData)&&f.push(F.serializedPlaybackPingContextLoggingData);c=void 0;if((c=F)==null?0:c.serializedQoeContextData)V.push(F.serializedQoeContextData),D.push(F.cpn),H.push(F.videoData.videoId||\"\"),l.push(F.videoData.pQ)}return{jkt:{serializedPlaybackPingContextLoggingData:f},\nGAZ:{Wg:D,SS:H,adFormats:l,serializedQoeContextData:V}}}};\nIKv=function(K,R,f,V){g.O.call(this);var D=this;this.api=K;this.W=R;this.U=f;this.app=V;this.B=new Map;this.K=[];this.X=this.N=null;this.UF=NaN;this.T=this.J=this.EF=null;this.Z=new g.CW(function(){n1c(D,D.UF,D.EF||void 0)});\nthis.aY=[];this.Xt=new g.CW(function(){var H=D.aY.pop();if(H){var l=H.As,F=H.playerVars;H=H.playerType;F&&(F.prefer_gapless=!0,D.api.preloadVideoByPlayerVars(F,H,NaN,\"\",l),D.aY.length&&g.eE(D.Xt,4500))}});\nthis.events=new g.de(this);this.OC={HoZ:function(){return D.K}};\nthis.U.getPlayerType();g.q(this,this.Z);g.q(this,this.Xt);g.q(this,this.events);this.events.j(this.api,g.gI(\"childplayback\"),this.onCueRangeEnter);this.events.j(this.api,\"onQueuedVideoLoaded\",this.onQueuedVideoLoaded);this.events.j(this.api,\"presentingplayerstatechange\",this.vR)};\nqbw=function(K,R,f,V,D,H){var l=R.cpn,F=R.docid||R.video_id||R.videoId||R.id,c=K.U;H=H===void 0?D+V:H;if(D>H)return DC(K,\"enterAfterReturn enterTimeMs=\"+D+\" is greater than parentReturnTimeMs=\"+H.toFixed(3),l,F),\"\";var r=c.Zk()*1E3;if(Dr)return c=\"returnAfterDuration parentReturnTimeMs=\"+H.toFixed(3)+\" is greater than parentDurationMs=\"+r+\". And timestampOffset in seconds is \"+\nc.jy(),DC(K,c,l,F),\"\";r=null;for(var y=g.Z(K.K),h=y.next();!h.done;h=y.next()){h=h.value;if(D>=h.RQ&&Dh.RQ)return DC(K,\"overlappingReturn\",l,F),\"\";if(H===h.RQ)return DC(K,\"outOfOrder\",l,F),\"\";D===h.pL&&(r=h)}l=\"cs_childplayback_\"+g1D++;F={BU:HC(V,!0),jf:Infinity,target:null};var S={As:l,playerVars:R,playerType:f,durationMs:V,RQ:D,pL:H,Fb:F};K.K=K.K.concat(S).sort(function(E,Q){return E.RQ-Q.RQ});\nr?Omv(K,r,{BU:HC(r.durationMs,!0),jf:r.Fb.jf,target:S}):(R={BU:HC(D,!1),jf:D,target:S},K.B.set(R.BU,R),c.addCueRange(R.BU));R=!0;if(K.U===K.app.LQ()&&(c=c.getCurrentTime()*1E3,c>=S.RQ&&cR)break;if(H>R)return{Uy:V,IB:R-D};f=H-V.pL/1E3}return{Uy:null,IB:R-f}};\nn1c=function(K,R,f){f=f===void 0?{}:f;var V=K.T||K.app.LQ().getPlayerState();dP(K,!0);R=isFinite(R)?R:K.U.B1();var D=Ybv(K,R);R=D.IB;var H=(D=D.Uy)&&!$C(K,D)||!D&&K.U!==K.app.LQ(),l=R*1E3;l=K.X&&K.X.start<=l&&l<=K.X.end;!H&&l||ly(K);D?jcz(K,D,R,f,V):mAe(K,R,f,V,\"_execute\")};\nmAe=function(K,R,f,V,D){var H=K.U;H!==K.app.LQ()&&K.app.J3();K.W.Y(\"html5_sabr_csdai_seek_log\")||(D=\"\");var l;H.seekTo(R,Object.assign({},{oQ:\"application_timelinemanager\"+((l=D)!=null?l:\"\")},f));GCv(K,V)};\njcz=function(K,R,f,V,D){var H=$C(K,R);if(!H){R.playerVars.prefer_gapless=!0;var l=new g.ee(K.W,R.playerVars);l.As=R.As;K.api.Cy(l,R.playerType)}l=K.app.LQ();H||l.addCueRange(R.Fb.BU);l.seekTo(f,Object.assign({},{oQ:\"application_timelinemanager\"},V));GCv(K,D)};\nGCv=function(K,R){K=K.app.LQ();var f=K.getPlayerState();R.isOrWillBePlaying()&&!f.isOrWillBePlaying()?K.playVideo():R.isPaused()&&!f.isPaused()&&K.pauseVideo()};\ndP=function(K,R){K.UF=NaN;K.EF=null;K.Z.stop();K.J&&R&&K.J.Wb();K.T=null;K.J=null};\n$C=function(K,R){K=K.app.LQ();return!!K&&K.getVideoData().As===R.As};\nuSB=function(K){var R=K.K.find(function(D){return $C(K,D)});\nif(R){var f=K.app.LQ();ly(K);var V=new g.S3(8);R=p02(K,R)/1E3;mAe(K,R,{},V,\"_force\");f.KQ(\"forceParentTransition\",{childPlayback:1});K.U.KQ(\"forceParentTransition\",{parentPlayback:1})}};\nCG2=function(K,R,f){R=R===void 0?-1:R;f=f===void 0?Infinity:f;for(var V=R,D=f,H=g.Z(K.B),l=H.next();!l.done;l=H.next()){var F=g.Z(l.value);l=F.next().value;F=F.next().value;F.jf>=V&&F.target&&F.target.pL<=D&&(K.U.removeCueRange(l),K.B.delete(l))}V=R;D=f;H=[];l=g.Z(K.K);for(F=l.next();!F.done;F=l.next())if(F=F.value,F.RQ>=V&&F.pL<=D){var c=K;c.N===F&&ly(c);$C(c,F)&&c.app.J3()}else H.push(F);K.K=H;V=Ybv(K,R/1E3);R=V.Uy;V=V.IB;R&&(V*=1E3,scN(K,R,V,R.pL===R.RQ+R.durationMs?R.RQ+V:R.pL));(R=Ybv(K,f/1E3).Uy)&&\nDC(K,\"Invalid clearEndTimeMs=\"+f+\" that falls during playback={timelinePlaybackId=\"+(R.As+\" video_id=\"+R.playerVars.video_id+\" durationMs=\"+R.durationMs+\" enterTimeMs=\"+R.RQ+\" parentReturnTimeMs=\"+R.pL+\"}.Child playbacks can only have duration updated not their start.\"))};\nscN=function(K,R,f,V){R.durationMs=f;R.pL=V;V={BU:HC(f,!0),jf:f,target:null};Omv(K,R,V);$C(K,R)&&K.app.LQ().getCurrentTime()*1E3>f&&(R=p02(K,R)/1E3,f=K.app.LQ().getPlayerState(),mAe(K,R,{},f,\"_update\"))};\nDC=function(K,R,f,V){K.U.KQ(\"timelineerror\",{e:R,cpn:f?f:void 0,videoId:V?V:void 0})};\nKyo=function(K){K&&K!==\"web\"&&ej5.includes(K)};\nFo=function(K){K=K===void 0?!1:K;g.O.call(this);this.U=LvM(5,null,K);g.q(this,this.U);this.K=LvM(15,null,K);g.q(this,this.K)};\nN8c=function(K,R){return R?!!K.U.get(R):!1};\nRqv=function(K,R){K.dataset.version=R};\nDMo=function(K){g.Y.call(this,{V:\"div\",Me:[\"html5-video-player\"],L:{tabindex:K.C().disableOrganicUi?\"\":\"-1\",id:K.webPlayerContextConfig.rootElementId},S:[{V:\"div\",D:g.UC.VIDEO_CONTAINER,L:{\"data-layer\":\"0\"}}]});var R=this;this.app=K;this.YZ=this.IY(g.UC.VIDEO_CONTAINER);this.eP=new g.Rs(0,0,0,0);this.cK=null;this.Nk=new g.Rs(0,0,0,0);this.St=this.DD=this.Te=NaN;this.n$=this.Ye=this.ED=this.Nb=!1;this.y_=NaN;this.vz=!1;this.xO=null;this.KB=new g.CW(function(){R.app.C().Y(\"web_enable_smart_zoom\")&&\nR.app.YW.getInternalApi().isAutocropEnabled()||R.resize()},100);\nthis.Uc=function(){R.element.focus({preventScroll:!0})};\nthis.uE=function(){R.app.YW.publish(\"playerUnderlayVisibilityChange\",\"visible\");R.cK.classList.remove(g.UC.VIDEO_CONTAINER_TRANSITIONING);R.cK.removeEventListener(N$,R.uE);R.cK.removeEventListener(\"transitioncancel\",R.uE)};\nthis.Nz=this.fM=!1;var f=this.element.addEventListener,V=this.element.removeEventListener;this.addEventListener=function(H,l,F){f.apply(R.element,[H,l,F])};\nthis.removeEventListener=function(H,l,F){V.apply(R.element,[H,l,F])};\nvar D=K.C();D.transparentBackground&&this.H8(\"ytp-transparent\");D.controlsType===\"0\"&&this.H8(\"ytp-hide-controls\");g.dy(this.element,\"ytp-exp-bottom-control-flexbox\");g.dy(this.element,\"ytp-modern-caption\");D.Y(\"enable_new_paid_product_placement\")&&!g.Hd(D)&&g.dy(this.element,\"ytp-exp-ppp-update\");g.dy(this.element,\"ytp-livebadge-color\");Rqv(this.element,f0M(K));this.Hj=!1;this.BS=new g.lu(NaN,NaN);VW_(this);this.j(K.YW,\"onMutedAutoplayChange\",this.onMutedAutoplayChange);g.q(this,this.KB)};\nVW_=function(K){function R(l){K.cK&&cC(K);rP(K)!==K.vz&&K.resize();K.app.C().Y(\"web_enable_smart_zoom\")&&K.oa&&(l.state.isPaused()?K.oa.pause():g.rH(l,8)&&K.oa.playState===\"paused\"&&K.oa.play())}\nfunction f(l,F){K.u$(l,F)}\nfunction V(l){l.getVideoData()&&K.updateVideoData(l.getVideoData())}\nfunction D(){K.Nk=new g.Rs(0,0,0,0);K.eP=new g.Rs(0,0,0,0)}\nvar H=K.app.YW;H.addEventListener(\"initializingmode\",D);H.addEventListener(\"videoplayerreset\",V);H.addEventListener(\"videodatachange\",f);H.addEventListener(\"presentingplayerstatechange\",R);K.addOnDisposeCallback(function(){H.removeEventListener(\"initializingmode\",D);H.removeEventListener(\"videoplayerreset\",V);H.removeEventListener(\"videodatachange\",f);H.removeEventListener(\"presentingplayerstatechange\",R)})};\n$M2=function(K){var R=K.app.LQ();if(R=R?R.getVideoData():null){if(g.PD(R)||g.nZ(R)||g.IU(R))return 16/9;if(cD(R)&&R.X.U)return K=R.X.videoInfos[0].video,HKz(K.width,K.height)}return(K=K.cK)?HKz(K.videoWidth,K.videoHeight):16/9};\nl0G=function(K,R,f,V){var D=f,H=HKz(R.width,R.height);K.Nb?D=fH?{width:R.width,height:R.width/D,aspectRatio:D}:DD?K.width=K.height*f:fc;if(rP(K)){var r=$M2(K);var y=isNaN(r)||g.Gr||wL&&g.v7||c;pP&&!g.Rz(601)?r=D.aspectRatio:y=y||H.controlsType===\"3\";y?c?(y=H.Y(\"place_shrunken_video_on_left_of_player\")?16:K.getPlayerSize().width-R.width-16,r=Math.max((K.getPlayerSize().height-R.height)/2,0),y=new g.Rs(y,r,R.width,\nR.height),K.cK.style.setProperty(\"border-radius\",\"12px\")):y=new g.Rs(0,0,R.width,R.height):(f=D.aspectRatio/r,y=new g.Rs((R.width-D.width/f)/2,(R.height-D.height)/2,D.width/f,D.height),f===1&&g.v7&&(r=y.width-R.height*r,r>0&&(y.width+=r,y.height+=r)));g.yb(K.element,\"ytp-fit-cover-video\",Math.max(y.width-D.width,y.height-D.height)<1);if(F||K.Hj)K.cK.style.display=\"\";K.vz=!0}else{y=-R.height;pP?y*=window.devicePixelRatio:g.$_&&(y-=window.screen.height);y=new g.Rs(0,y,R.width,R.height);if(F||K.Hj)K.cK.style.display=\n\"none\";K.vz=!1}fU(K.Nk,y)||(K.Nk=y,g.jA(H)?(K.cK.style.setProperty(\"width\",y.width+\"px\",\"important\"),K.cK.style.setProperty(\"height\",y.height+\"px\",\"important\")):g.SX(K.cK,y.getSize()),V=new g.Ha(y.left,y.top),g.rB(K.cK,Math.round(V.x),Math.round(V.y)),V=!0);R=new g.Rs((R.width-D.width)/2,(R.height-D.height)/2,D.width,D.height);fU(K.eP,R)||(K.eP=R,V=!0);g.Ds(K.cK,\"transform\",f===1?\"\":\"scaleX(\"+f+\")\");l&&c!==K.Ye&&(c&&(K.cK.addEventListener(N$,K.uE),K.cK.addEventListener(\"transitioncancel\",K.uE),K.cK.classList.add(g.UC.VIDEO_CONTAINER_TRANSITIONING)),\nK.Ye=c,K.app.YW.publish(\"playerUnderlayVisibilityChange\",K.Ye?\"transitioning\":\"hidden\"));return V};\nc9M=function(K){K.fM=!K.fM;K.Nz=!0;K.element.classList.toggle(\"ytp-retro-player\",K.fM);K.resize();K.Nz=!1;K.app.YW.lD(\"onRetroModeChanged\",K.fM)};\nr9e=function(){this.csn=g.wu();this.clientPlaybackNonce=null;this.elements=new Set;this.X=new Set;this.U=new Set;this.K=new Set};\ny9B=function(K){if(K.csn!==g.wu())if(K.csn===\"UNDEFINED_CSN\")K.csn=g.wu();else{var R=g.wu(),f=g.LM();if(R&&f){K.csn=R;for(var V=g.Z(K.elements),D=V.next();!D.done;D=V.next())(D=D.value.visualElement)&&D.isClientVe()&&R&&f&&(g.No(\"combine_ve_grafts\")?FA(lf(),D,f):g.DY(g.jV)(void 0,R,f,D))}if(R)for(K=g.Z(K.U),f=K.next();!f.done;f=K.next())(f=f.value.visualElement)&&f.isClientVe()&&g.ug(R,f)}};\nys=function(K,R){g.O.call(this);this.X=K;this.KQ=R;this.K=0};\nhqG=function(K){var R,f,V,D;return g.I(function(H){if(H.U==1){if(K.Xj)return H.return();K.Xj=new Worker(wN(K.X),void 0);g.Fp(H,2);f=Promise.withResolvers();R=setTimeout(function(){f.reject(\"timeout\")},1E3);\nK.Xj.onerror=function(){f.reject(\"error\")};\nK.Xj.onmessage=function(){f.resolve();clearTimeout(R)};\nreturn g.P(H,f.promise,4)}if(H.U!=2)return K.Xj.onmessage=null,K.Xj.onerror=null,K.Xj.addEventListener(\"message\",function(l){return void K.onMessage(l)}),K.KQ(\"workerCtor\",{}),g.rW(H,0);\nV=g.yH(H);clearTimeout(R);(D=K.Xj)==null||D.terminate();K.Xj.onmessage=null;K.Xj.onerror=null;K.Xj=void 0;K.KQ(\"workerErr\",{e:\"\"+V});g.lE(H)})};\noG5=function(K,R,f){g.I(function(V){if(V.U==1)return g.P(V,hqG(K),2);if(!K.Xj)return V.return();K.U=setInterval(function(){K.sendMessage(f)},R);\ng.lE(V)})};\nSTo=function(K){var R;(R=K.Xj)==null||R.terminate();K.Xj=void 0;K.KQ(\"workerDtor\",{})};\ng.h6=function(K,R,f,V){g.O.call(this);var D=this;this.logger=new g.vf(\"App\");this.Q$=this.JN=!1;this.HI={};this.dI=[];this.Kc=!1;this.sj=null;this.intentionalPlayback=!1;this.wP=!0;this.IH=!1;this.dc=this.GJ=this.IZ=null;this.F7=!0;this.mediaElement=this.Ve=null;this.Lu=NaN;this.TI=!1;this.oC=this.qc=this.j4=this.screenLayer=this.playlist=null;this.n9=[];this.m0=0;this.OC={EJ:function(){return D.lM},\nDM:function(){return D.j4}};\nif(!f)throw Error(\"b/179532961\");this.cN=(R==null?void 0:R.args)||{};this.webPlayerContextConfig=f;R=this.cN;this.W=new G9(R,f,f.canaryState,V);g.q(this,this.W);Wvo(this.W);V=PnD(this.W);this.W.oG()&&ml(V,function(l){D.hj(\"h5vcc\",l)});\nthis.W.experiments.rU(\"jspb_serialize_with_worker\")&&hBe();this.W.experiments.rU(\"gzip_gel_with_worker\")&&Vyh();this.W.K&&(V=this.W.experiments.ph().U.aG(ZW),GPM(V));this.Y(\"html5_onesie\")&&(this.zo=new kK(this.W),g.q(this,this.zo));this.IG=new IV5(qVc(g.cX(this.W),this.W.KO,this.W.experiments),new Dp2(this.W.experiments),function(){return void D.z$()});\ng.q(this,this.IG);this.rB=dm(Pg(this.W)&&!0,R.enablesizebutton);this.xn=dm(!1,R.player_wide);this.visibility=new SVD;g.q(this,this.visibility);this.Y(\"web_log_theater_mode_visibility\")&&this.SP(dm(!1,R.player_wide));this.JN=dm(!1,R.external_list);this.events=new g.de(this);g.q(this,this.events);this.Y(\"start_client_gcf\")&&(Ee(Ue(),{QV:Fq,a5:Uko()}),this.Db=Ue().resolve(Fq),AoB(this.Db));this.mQZ=new oC;g.q(this,this.mQZ);this.u9=new r9e;R=new SM;this.YW=new g.Wm(this,R);g.q(this,this.YW);this.template=\nnew DMo(this);g.q(this,this.template);this.appState=1;this.fv=iKh(this);g.q(this,R);R={};this.oL=(R.internalvideodatachange=this.FD,R.playbackready=this.FBr,R.playbackstarted=this.xY2,R.statechange=this.nla,R);this.Lg=new DH(this.YW);this.kB=vGh(this);R=this.W.T;!1!==R&&this.hj(\"badps\",{hbp:R,hostname:window.location.hostname,ps:this.W.playerStyle});this.ye=new yfB(this.W,this.kB);this.YW.publish(\"csiinitialized\");(this.webPlayerContextConfig.wasmModuleUrl||vz(this.kB))&&Lyz(this);R=10;g.cX(this.W)&&\n(R=3);VG(this.W)&&(R=g.mz(this.W.experiments,\"tvhtml5_unplugged_preload_cache_size\"));this.lM=new g.qT(this.YW,R);R=wUM(this);this.lM.gJ(R);zq5(this);R={};this.rE=(R.airplayactivechange=this.EBY,R.airplayavailabilitychange=this.UWt,R.beginseeking=this.QCe,R.sabrCaptionsDataLoaded=this.mW0,R.endseeking=this.XVa,R.internalAbandon=this.R4e,R.internalaudioformatchange=this.KaW,R.internalvideodatachange=this.YAa,R.internalvideoformatchange=this.T8t,R.liveviewshift=this.gBU,R.playbackstalledatstart=this.fJr,\nR.progresssync=this.M4Z,R.onAbnormalityDetected=this.bK5,R.onSnackbarMessage=this.GFY,R.onLoadProgress=this.wV5,R.SEEK_COMPLETE=this.Ah0,R.SEEK_TO=this.e4F,R.onVideoProgress=this.sCt,R.onLoadedMetadata=this.yh5,R.onAutoplayBlocked=this.aJF,R.onPlaybackPauseAtStart=this.V4e,R.playbackready=this.B8e,R.statechange=this.UI,R.newelementrequired=this.b4,R.heartbeatparams=this.IJr,R.videoelementevent=this.oBU,R.drmoutputrestricted=this.uwp,R.signatureexpired=this.t4p,R.nonfatalerror=this.JhU,R.reloadplayer=\nthis.qAQ,R);this.Pt=new g.de(this);g.q(this,this.Pt);this.FA=new Fo(this.W.ph().U.aG(wPD));g.q(this,this.FA);this.Fx=this.bO=-1;this.E1=new g.CW(this.template.resize,16,this.template);g.q(this,this.E1);this.BK=new IKv(this.YW,this.W,this.z2(),this);this.Ql=new BN(this);g.q(this,this.Ql);this.UM=new WN(this);g.q(this,this.UM);Kyo(this.W.U.c);this.events.j(this.YW,g.gI(\"appapi\"),this.OhU);this.events.j(this.YW,g.OK(\"appapi\"),this.ZhQ);this.events.j(this.YW,g.gI(\"appprogressboundary\"),this.Cne);this.events.j(this.YW,\ng.OK(\"applooprange\"),this.uy);this.events.j(this.YW,\"presentingplayerstatechange\",this.vR);this.events.j(this.YW,\"resize\",this.pVp);this.template.V0(va(document,K));this.events.j(this.YW,\"offlineslatestatechange\",this.vY0);this.events.j(this.YW,\"sabrCaptionsTrackChanged\",this.INZ);this.events.j(this.YW,\"sabrCaptionsBufferedRangesUpdated\",this.X9r);this.kB.G.C().HR&&Lp(this.kB,\"offline\");this.W.kW&&g.Fk(\"ux\",g.Qp);K=g.mz(this.W.experiments,\"html5_defer_fetch_att_ms\");this.Q5=new g.CW(this.o4Z,K,this);\ng.q(this,this.Q5);this.W0().e4()&&(g.gm()&&this.W0().s$.push(\"mdx\"),xMh(this));this.ye.tick(\"fs\");EGw(this);this.W.kW&&Lp(this.kB,\"ux\",!0);g.kN(this.kB.G.C())&&Lp(this.kB,\"embed\");this.Y(\"web_player_sentinel_is_uniplayer\")||g.A$(new g.NB(\"Player experiment flags missing\",\"web_player_sentinel_is_uniplayer\"));K=this.Y(\"web_player_sentinel_yt_experiments_sync\");R=g.No(\"web_player_sentinel_yt_experiments_sync\");K!==R&&g.A$(new g.NB(\"b/195699950\",{yt:K,player:R}));this.l8=a05(this);if(K=g.mz(this.W.experiments,\n\"html5_block_pip_safari_delay\"))this.UZ=new g.CW(this.fB,K,this),g.q(this,this.UZ);var H;f=Zh((H=f==null?void 0:f.trustedEchoWorkerUrl)!=null?H:null);H=this.W.ph().U.aG(QeB);K=this.W.ph().U.aG(NYv);f&&H>0&&K>0&&(this.VO=new ys(f,function(l,F){D.z2().KQ(l,F)}),g.q(this,this.VO),oG5(this.VO,H,K));\nI9=this.W.Ch;this.YW.publish(\"applicationInitialized\")};\na05=function(K){function R(f){f.stack&&f.stack.indexOf(\"player\")!==-1&&K.LQ().nC(f)}\nJ$.subscribe(\"handleError\",R);fI.push(R);return function(){J$.unsubscribe(\"handleError\",R);var f=fI.indexOf(R);f!==-1&&fI.splice(f,1)}};\nwUM=function(K){var R=new g.ee(K.W,K.cN);K.YW.publish(\"initialvideodatacreated\",R);return oL(K,1,R,!1)};\nzq5=function(K){var R=K.z2();R.setPlaybackRate(K.W.J?1:UM5(K,Number(g.n4(\"yt-player-playback-rate\"))||1));R.Ro(K.oL,K);R.W7()};\nvGh=function(K){var R=\"\",f=\"\",V=f0M(K),D=P9(V,\"cb\");D&&/^[\\w-]+$/.test(D)&&(f=D);V.indexOf(\"//\")===0&&(V=K.W.protocol+\":\"+V);D=V.lastIndexOf(\"/base.js\");D!==-1&&(R=V.substring(0,D+1));if(V=Error().stack)if(V=V.match(/\\((.*?\\/(debug-)?player-.*?):\\d+:\\d+\\)/))V=V[1],V.includes(R)||g.A$(Error(\"Player module URL mismatch: \"+(V+\" vs \"+R+\".\")));R=new Afe(K.YW,R,f);f={};Jf2(R,(f.destroyed=function(){K.onApiChange()},f));\nreturn R};\niKh=function(K){if(K.W.storeUserVolume){K=g.n4(\"yt-player-volume\")||{};var R=K.volume;K={volume:isNaN(R)?100:g.fT(Math.floor(R),0,100),muted:!!K.muted}}else K={volume:100,muted:K.W.mute};return K};\nSl=function(K){var R=K.W.experiments.ph().U.aG(ZW);var f=K.W.deviceIsAudioOnly;R=R===void 0?!1:R;f=f?R?new g.NT(g.tB(\"AUDIO\")):new g.kf(g.tB(\"AUDIO\")):U7.pop()||(R?new g.NT(g.tB(\"VIDEO\")):new g.kf(g.tB(\"VIDEO\")));K.mediaElement=f;g.q(K,K.mediaElement);K.LQ().setMediaElement(K.mediaElement);try{K.W.vK?(K.qc&&K.events.hs(K.qc),K.qc=K.events.j(K.mediaElement,\"volumechange\",K.rsF)):(K.mediaElement.nO(K.fv.muted),K.mediaElement.setVolume(K.fv.volume/100))}catch(D){K.Fg(\"html5.missingapi\",2,\"UNSUPPORTED_DEVICE\",\n\"setvolume.1;emsg.\"+(D&&typeof D===\"object\"&&\"message\"in D&&typeof D.message===\"string\"&&D.message.replace(/[;:,]/g,\"_\")));return}g.kc(K.Pt);WyN(K);f=K.template;R=K.mediaElement.ud();f.cK=R;f.n$=!1;f.cK.parentNode||XU(f.YZ,f.cK,0);f.Nk=new g.Rs(0,0,0,0);FyG(f);cC(f);R=f.cK;g.dy(R,\"video-stream\");g.dy(R,g.UC.MAIN_VIDEO);var V=f.app.C();V.G3&&R.setAttribute(\"data-no-fullscreen\",\"true\");V.Y(\"html5_local_playsinline\")?\"playsInline\"in fH()&&(R.playsInline=!0):V.YL&&(R.setAttribute(\"webkit-playsinline\",\n\"\"),R.setAttribute(\"playsinline\",\"\"));V.zX&&f.cK&&f.j(R,\"click\",R.play,R);try{K.mediaElement.activate()}catch(D){K.Fg(\"html5.missingapi\",2,\"UNSUPPORTED_DEVICE\",\"activate.1;emsg.\"+(D&&typeof D===\"object\"&&\"message\"in D&&typeof D.message===\"string\"&&D.message.replace(/[;:,]/g,\"_\")))}};\nA9e=function(K){if(!tW5(K)){var R=K.z2().CL();R&&(R=R.ZG(),R instanceof Promise&&R.catch(function(){}));\niy(K,aT(K.getPlayerStateObject()))}};\nWyN=function(K){var R=K.mediaElement;$0()?K.Pt.j(R,\"webkitpresentationmodechanged\",K.gNU):window.document.pictureInPictureEnabled&&(K.Pt.j(R,\"enterpictureinpicture\",function(){K.f6(!0)}),K.Pt.j(R,\"leavepictureinpicture\",function(){K.f6(!1)}));\nRa&&(K.Pt.j(R,\"webkitbeginfullscreen\",function(){K.IM(3)}),K.Pt.j(R,\"webkitendfullscreen\",function(){K.IM(0)}))};\ng.vC=function(K,R){return K.lM.mY(R)||K.lM.Z};\ng.J92=function(K,R,f,V){var D=K.ye;R===2&&(D=new yfB(K.W));return new g.Mg(K.W,R,D,K.template,function(H,l,F){K.YW.publish(H,l,F)},function(){return K.YW.getVisibilityState()},K.visibility,K,K.IG,f,V)};\noL=function(K,R,f,V,D){K=g.J92(K,R,f,D);K=new g.My(K);V&&K.W7();return K};\nLx=function(K,R){return K.pT(R)?K.z2():R};\nwP=function(K,R){var f=K.LQ();return R===K.z2()&&K.pT(R)&&K.pT(f)?f:R};\nZKc=function(K){if(!z0(K)){var R=xz(K.kB);R&&!R.created&&ZED(K.kB)&&R.create()}};\nBYB=function(K){var R=K.getVideoData(),f=K.kB;OEo(f)||f.hn();!Wg&&vz(f)&&mh5(f);Lp(f,\"embed\");Lp(f,\"kids\");Lp(f,\"remote\");Lp(f,\"miniplayer\");Lp(f,\"offline\");Lp(f,\"unplugged\");Lp(f,\"ypc\",!1,!0);Lp(f,\"webgl\",!1,!0);jj_(f)||(Lp(f,\"captions\",!0),Lp(f,\"endscreen\"),f.eN(),Lp(f,\"creatorendscreen\",!0));f.Sb();f.G.publish(\"modulesCreated\");K.YW.publish(\"videoready\",R)};\nxC=function(K){K=K.W0();K.e4();return pZ(K)};\nEGw=function(K){K.kD();var R=K.cN;Sl(K);K.events.j(window,\"resize\",K.z4F);var f=K.W0();K.YW.h$(\"onVolumeChange\",K.fv);if(R&&iEw(R)){var V=eA(K.W);V&&!K.JN&&(R.fetch=0);var D=g.kN(K.W);D&&!K.JN&&(R.fetch=0);Ew(K,R);g.kN(K.W)&&K.ye.tick(\"ep_pr_s\");if(!V||K.JN)if(D&&!K.JN)XUe(K);else if(!f.e4())K.playlist.onReady(function(){aL(K)})}K.vA(K.z2(),!1,!0);\ng.G(K.z2().getPlayerState(),128)||(R=uY_(!K.W.deviceIsAudioOnly),R===\"fmt.noneavailable\"?K.Fg(\"html5.missingapi\",2,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"nocodecs.1\"):R===\"html5.missingapi\"?K.Fg(R,2,\"UNSUPPORTED_DEVICE\",\"nocanplaymedia.1\"):f&&f.e4()&&xC(K)&&(K.W.CP||K.W.lH)?Qs(K):f.Xb?K.YW.mutedAutoplay({durationMode:f.mutedAutoplayDurationMode}):g.n4(\"yt-player-playback-on-reload\")?(g.h$(\"embedsItpPlayedOnReload\",{playedOnReload:!0,isLoggedIn:!!K.W.B5}),g.Pe(\"yt-player-playback-on-reload\",!1),Qs(K)):\nd6(K.W)||kSN(K),g.fc(K.W)||o4(K.W)===\"MWEB\"?(g.ez(g.R8(),function(){NG(K)}),g.ez(g.R8(),function(){REz()})):(NG(K),REz()))};\nNG=function(K){if(!K.Y(\"use_rta_for_player\"))if(K.Y(\"fetch_att_independently\"))g.eE(K.Q5);else{var R=K.getVideoData().botguardData;R&&g.wj(R,K.W,K.getVideoData().C_||\"\")}};\nkSN=function(K){K.YW.publish(\"initializingmode\");K.QA(2);Lp(K.kB,\"remote\");Lp(K.kB,\"miniplayer\")};\nQs=function(K){var R=K.z2();if(g.G(R.getPlayerState(),128))return!1;R=R.getVideoData();xC(K)&&K.W.lH&&(U7.length&&K.Q$?(Uw(K,{muted:!1,volume:K.fv.volume},!1),WC(K,!1)):U7.length||K.fv.muted||(Uw(K,{muted:!0,volume:K.fv.volume},!1),WC(K,!0)));xC(K)&&g.kN(K.W)&&R.mutedAutoplay&&(Uw(K,{muted:!0,volume:K.fv.volume},!1),WC(K,!0));R.uI&&Uw(K,{muted:!0,volume:K.fv.volume},!1);TYz(K,1,R,!1);var f=K.z2();K.YW.publish(\"initializingmode\");K.vA(f);K.QA(3);var V;if(!(V=!K.W.N9)){if(V=K.oC){V=K.oC;var D=K.mediaElement;\nV=!!D&&D===V.mediaElement}V=V&&K.Kc}V&&(K.EU(),Sl(K),f.setMediaElement(K.mediaElement));f.UH();if(g.G(f.getPlayerState(),128))return!1;R.Fn||iy(K,3);return K.Kc=!0};\nz0=function(K){K=Bm(K.kB);return!!K&&K.loaded};\nPLo=function(K,R){if(!K.Ve)return!1;var f=K.Ve.startTimeMs*.001-1,V=K.Ve.endTimeMs*.001;K.Ve.type===\"repeatChapter\"&&V--;return Math.abs(R-f)<=1E-6||Math.abs(R-V)<=1E-6||R>=f&&R<=V};\nnGe=function(K){var R=K.LQ();if(K.Y(\"html5_disable_loop_range_for_shorts_ads\")&&R.getVideoData().isAd()?0:rQ(R.getVideoData())&&!R.Qs())R=t6(K)*1E3-K.getVideoData().BC,K.Y(\"html5_gapless_new_slr\")?(K=K.UM,A6(K.app,\"gaplessshortslooprange\"),R=new g.nQ(0,R,{id:\"gaplesslooprange\",namespace:\"gaplessshortslooprange\"}),(K=K.app.LQ())&&K.addCueRange(R)):K.setLoopRange({startTimeMs:0,endTimeMs:R,type:\"shortsLoop\"})};\nI0h=function(K){var R=K.z2();if(!(g.G(R.getPlayerState(),64)&&K.W0().isLivePlayback&&K.Ve.startTimeMs<5E3)){if(K.Ve.type===\"repeatChapter\"){var f,V=(f=Yro(K.JV()))==null?void 0:f.Vl(),D;f=(D=K.getVideoData())==null?void 0:D.M1;V instanceof g.I$&&f&&(D=f[K9(f,K.Ve.startTimeMs)],V.renderChapterSeekingAnimation(0,D.title));isNaN(Number(K.Ve.loopCount))?K.Ve.loopCount=0:K.Ve.loopCount++;K.Ve.loopCount===1&&K.YW.lD(\"innertubeCommand\",K.getVideoData().KV)}V={oQ:\"application_loopRangeStart\"};if(K.Ve.type===\n\"clips\"||K.Ve.type===\"shortsLoop\")V.seekSource=58;R.seekTo(K.Ve.startTimeMs*.001,V)}};\nUM5=function(K,R){var f=K.YW.getAvailablePlaybackRates();R=Number(R.toFixed(2));K=f[0];f=f[f.length-1];R<=K?R=K:R>=f?R=f:(K=Math.floor(R*100+.001)%5,R=K===0?R:Math.floor((R-K*.01)*100+.001)/100);return R};\nt6=function(K,R){R=g.vC(K,{playerType:R});R=Lx(K,R);return J6(K,R.K4(),R)};\nJ6=function(K,R,f){if(K.pT(f)&&(f=f.getVideoData(),!ZC(K))){K=K.BK;for(var V=g.Z(K.K),D=V.next();!D.done;D=V.next())if(D=D.value,f.As===D.As){R+=D.RQ/1E3;break}V=R;K=g.Z(K.K);for(D=K.next();!D.done;D=K.next()){D=D.value;if(f.As===D.As)break;var H=D.RQ/1E3;if(H1&&(D=!1);K.TI&&D===R||(V=V.lock(D?\"portrait\":\"landscape\"),V!=null&&V.catch(function(){}),K.TI=!0)}else K.TI&&(K.TI=!1,V.unlock())};\nPC=function(K,R,f){K.YW.publish(R,f);var V=g.cX(K.W)||g.jA(K.W)||g.ke(K.W);if(f&&V){switch(R){case \"cuerangemarkersupdated\":var D=\"onCueRangeMarkersUpdated\";break;case \"cuerangesadded\":D=\"onCueRangesAdded\";break;case \"cuerangesremoved\":D=\"onCueRangesRemoved\"}D&&K.YW.lD(D,f.map(function(H){return{getId:function(){return this.id},\nend:H.end,id:H.getId(),namespace:H.namespace===\"ad\"?\"ad\":\"\",start:H.start,style:H.style,visible:H.visible,markerPositionMs:H.markerPositionMs}}))}};\nnx=function(K,R,f,V,D,H){f=f===void 0?!0:f;var l=g.vC(K,{playerType:D});if((l.getPlayerType()!==2||K.pT(l))&&!g.ks(l.getVideoData())){var F=K.lM.pP;F?F.seekTo(R,{wA:!f,Fz:V,oQ:\"application\",seekSource:H}):(l&&l===K.z2()&&K.Ve&&!PLo(K,R)&&K.setLoopRange(null),K.seekTo(R,f,V,D,H,\"_request\"))}};\nKBM=function(K,R,f,V){f&&(K.EU(),Sl(K));f=K.LQ();f.vI(R);var D=K.getVideoData(),H={};H.video_id=D.videoId;H.adformat=D.adFormat;D.isLivePlayback||(H.start=f.getCurrentTime(),H.resume=\"1\");D.isLivePlayback&&xs(D)&&g.dI(K.W)&&(H.live_utc_start=f.IC(),H.resume=\"1\");D.aY&&(H.vvt=D.aY);D.T&&(H.vss_credentials_token=D.T,H.vss_credentials_token_type=D.Jc);D.oauthToken&&(H.oauth_token=D.oauthToken);H.autoplay=1;H.reload_count=D.Ne+1;H.reload_reason=R;D.sY&&(H.unplugged_partner_opt_out=D.sY);D.MW&&(H.ypc_is_premiere_trailer=\nD.MW);D.playerParams&&(H.player_params=D.playerParams);D.UF&&(H.itct=D.UF);K.loadVideoByPlayerVars(H,void 0,!0,void 0,void 0,V);R===\"signature\"&&K.j4&&ZKc(K)};\nRkc=function(K,R){K.W0().autonavState=R;g.Pe(\"yt-player-autonavstate\",R);K.YW.publish(\"autonavchange\",R)};\nfm_=function(K){var R=K.getVideoData().Bb,f=K.W.OF,V=K.isInline()&&!K.getVideoData().hP,D=K.mediaElement;R||f||V?D.kP():(D.HH(),Uw(K,K.fv))};\nBC=function(K){(K=xz(K.JV()))&&K.created&&K.destroy()};\nZC=function(K){return K.getVideoData().enableServerStitchedDai&&!!K.j4};\nV2_=function(K,R){R.bounds=K.getBoundingClientRect();for(var f=g.Z([\"display\",\"opacity\",\"visibility\",\"zIndex\"]),V=f.next();!V.done;V=f.next())V=V.value,R[V]=dB(K,V);R.hidden=!!K.hidden};\nf0M=function(K){var R=K.webPlayerContextConfig.trustedJsUrl;return R?Zh(R).toString():K.webPlayerContextConfig.jsUrl};\nDZw=function(K,R){var f=K.mY({playerType:1});if(f){if(f.getVideoData().clientPlaybackNonce===R)return f;if((K=K.Ql.U)&&K.getVideoData().clientPlaybackNonce===R)return K}return null};\nLyz=function(K){uQ(K,function(){var R=this;return function V(){var D,H,l,F;return vT(V,function(c){switch(c.U){case 1:return g.cT(c,2),R.ye.tick(\"wasm_s\"),D=vz(R.kB)?function(r){return ml(G3w(R.kB),function(y){return y.G2a(r)})}:void 0,g.Fp(c,4),H=xPv(R.webPlayerContextConfig.wasmModuleUrl,D,R.hj.bind(R)),l=z$,$V(c,sr(H),6);\ncase 6:F=l(c.K);R.ye.tick(F.U?\"wasm_fa\":\"wasm_fw\");byc(R.W,F);g.rW(c,2);break;case 4:g.yH(c),R.ye.tick(\"wasm_ferr\");case 2:g.h_(c),g.oi(c,0)}})}()})};\nHFc=function(K){return K.name===\"TypeError\"&&K.stack.includes(\"/s/player/\")&&pI()<=105};\n$ZM=function(K){return K.isTimeout?\"NO_BID\":\"ERR_BID\"};\nlmh=function(){var K=null;VgB().then(function(R){return K=R},function(R){return K=$ZM(R)});\nreturn K};\ndZD=function(){var K=Ir(1E3,\"NO_BID\");return g.kd(r3c([VgB(),K]).rk($ZM),function(){K.cancel()})};\nIL=function(K){return K.FQ?g.Mm().aG(140)?\"STATE_OFF\":\"STATE_ON\":\"STATE_NONE\"};\ngP=function(K){this.player=K;this.X=this.U=1};\nrjN=function(K,R,f,V,D,H){R.client||(R.client={});K.player.C().Y(\"h5_remove_url_for_get_ad_break\")||(R.client.originalUrl=f);var l=y2(f),F=g.Nw(f)?!1:!0;(l||F)&&typeof Intl!==\"undefined\"&&(R.client.timeZone=(new Intl.DateTimeFormat).resolvedOptions().timeZone);F=g.Nw(f)?!1:!0;if(l||F||V!==\"\"){var c={};f=lj(vS(V)).split(\"&\");var r=new Map;f.forEach(function(y){y=y.split(\"=\");y.length>1&&r.set(y[0].toString(),decodeURIComponent(y[1].toString()))});\nr.has(\"bid\")&&(c.bid=r.get(\"bid\"));c.params=[];FBh.forEach(function(y){r.has(y)&&(y={key:y,value:r.get(y)},c.params.push(y))});\ncj_(K,c);R.adSignalsInfo=c}R.client.unpluggedAppInfo||(R.client.unpluggedAppInfo={});R.client.unpluggedAppInfo.enableFilterMode=!1;f=D.U.cosver;f!=null&&f!==\"cosver\"&&(R.client.osVersion=f);f=D.U.cplatform;f!=null&&f!==\"cplatform\"&&f!==\"\"&&(R.client.platform=f);f=D.U.cmodel;f!=null&&f!==\"cmodel\"&&(R.client.deviceModel=f);f=D.U.cplayer;f!=null&&f!==\"cplayer\"&&(R.client.playerType=f);f=D.U.cbrand;f!=null&&f!==\"cbrand\"&&(R.client.deviceMake=f);R.user||(R.user={});R.user.lockedSafetyMode=!1;g.Oc(D)&&\nyCG(R,H,K.player.getPlayerState(1));if(K=D.livingRoomPoTokenId)R.client.tvAppInfo=Object.assign({},R.client.tvAppInfo,{livingRoomPoTokenId:K})};\no9N=function(K,R){var f=!1;if(R===\"\")return f;R.split(\",\").forEach(function(V){var D={},H={clientName:\"UNKNOWN_INTERFACE\",platform:\"UNKNOWN_PLATFORM\",clientVersion:\"\"},l=\"ACTIVE\";V[0]===\"!\"&&(V=V.substring(1),l=\"INACTIVE\");V=V.split(\"-\");V.length<3||(V[0]in yjN&&(H.clientName=yjN[V[0]]),V[1]in hkv&&(H.platform=hkv[V[1]]),H.applicationState=l,H.clientVersion=V.length>2?V[2]:\"\",D.remoteClient=H,K.remoteContexts?K.remoteContexts.push(D):K.remoteContexts=[D],f=!0)});\nreturn f};\niFh=function(K){if(!(\"FLAG_AUTO_CAPTIONS_DEFAULT_ON\"in S3D))return!1;K=K.split(RegExp(\"[:&]\"));var R=S3D.FLAG_AUTO_CAPTIONS_DEFAULT_ON,f=\"f\"+(1+Math.floor(R/31)).toString();R=1<=2?l[1]:\"\";var F=LBh.test(R),c=wB_.exec(R);c=c!=null&&c.length>=2?c[1]:\"\";var r=zkh.exec(R);r=r!=null&&r.length>=2&&!Number.isNaN(Number(r[1]))?Number(r[1]):1;var y=xZN.exec(R);y=y!=null&&y.length>=2?y[1]:\"0\";var h=p5(K.player.C().kI),S=K.player.getVideoData(1),v=g.GE(S.UF,!0),L=\"BISCOTTI_ID\"in f?f.BISCOTTI_ID:\"\";rjN(K,v,R,L.toString(),K.player.C(),\nS);S={splay:!1,lactMilliseconds:f.LACT.toString(),playerHeightPixels:Math.trunc(f.P_H),playerWidthPixels:Math.trunc(f.P_W),vis:Math.trunc(f.VIS),signatureTimestamp:20402,autonavState:IL(K.player.C())};V&&(V={},o9N(V,f.YT_REMOTE)&&(S.mdxContext=V));if(V=E92.includes(h)?void 0:g.jO(\"PREF\")){for(var E=V.split(RegExp(\"[:&]\")),Q=0,J=E.length;Q1&&A[1].toUpperCase()===\"TRUE\"){v.user.lockedSafetyMode=!0;break}}S.autoCaptionsDefaultOn=\niFh(V)}R=amo.exec(R);(R=R!=null&&R.length>=2?R[1]:\"\")&&c&&(v.user.credentialTransferTokens=[{token:R,scope:\"VIDEO\"}]);R={contentPlaybackContext:S};l={adBlock:Math.trunc(f.AD_BLOCK),params:l,breakIndex:r,breakPositionMs:y,clientPlaybackNonce:f.CPN,topLevelDomain:h,isProxyAdTagRequest:F,context:v,adSignalsInfoString:lj(vS(L.toString())),overridePlaybackContext:R};D!==void 0&&(l.cueProcessedMs=Math.round(D).toString());c&&(l.videoId=c);f.LIVE_TARGETING_CONTEXT&&(l.liveTargetingParams=f.LIVE_TARGETING_CONTEXT);\nf.AD_BREAK_LENGTH&&(l.breakLengthMs=Math.trunc(f.AD_BREAK_LENGTH*1E3).toString());H&&(l.driftFromHeadMs=H.toString());l.currentMediaTimeMs=Math.round(K.player.getCurrentTime(1)*1E3);(K=K.player.getGetAdBreakContext())&&(l.getAdBreakContext=K);return l};\nNa2=function(){gP.apply(this,arguments)};\nUZw=function(K,R,f,V,D){var H=f.sK;var l=f.BU;var F=K.player.C().lW,c=0;f.cueProcessedMs&&l&&!H&&(f=l.end-l.start,f>0&&(c=Math.floor(f/1E3)));var r={AD_BLOCK:D,AD_BREAK_LENGTH:H?H.w8:c,AUTONAV_STATE:IL(K.player.C()),CA_TYPE:\"image\",CPN:K.player.getVideoData(1).clientPlaybackNonce,DRIFT_FROM_HEAD_MS:K.player.C8()*1E3,LACT:ws(),LIVE_INDEX:H?K.X++:1,LIVE_TARGETING_CONTEXT:H&&H.context?H.context:\"\",MIDROLL_POS:l?Math.round(l.start/1E3):0,MIDROLL_POS_MS:l?Math.round(l.start):0,VIS:K.player.getVisibilityState(),\nP_H:K.player.Ft().xR().height,P_W:K.player.Ft().xR().width,YT_REMOTE:F?F.join(\",\"):\"\"},y=ij(SO);Object.keys(y).forEach(function(h){y[h]!=null&&(r[h.toUpperCase()]=y[h].toString())});\nV!==\"\"&&(r.BISCOTTI_ID=V);V={};o9(R)&&(V.sts=\"20402\",(K=K.player.C().forcedExperiments)&&(V.forced_experiments=K));return rG(g.XZ(R,r),V)};\nWBN=function(K,R){var f=K.player.C(),V,D=(V=K.player.getVideoData(1))==null?void 0:V.oauthToken;return g.r6(f,D).then(function(H){if(H&&hm()){var l=jM();qy(l,H)}return g.kQ(K.player.PU(l),R,\"/youtubei/v1/player/ad_break\").then(function(F){return F})})};\nt2G=function(K){this.A5=K};\nAjM=function(K){this.G=K};\nJjv=function(K){this.A5=K};\nBaB=function(K){g.O.call(this);this.U=K;this.Xi=ZFB(this)};\nZFB=function(K){var R=new D6_(K.U.OL);g.q(K,R);K=[new t2G(K.U.A5),new AjM(K.U.G),new Jjv(K.U.A5),new yE(K.U.n4,K.U.hZ),new od,new vs(K.U.US,K.U.b$,K.U.A5),new hi,new rd(K.U.b$)];K=g.Z(K);for(var f=K.next();!f.done;f=K.next())H3w(R,f.value);K=g.Z([\"adInfoDialogEndpoint\",\"adFeedbackEndpoint\"]);for(f=K.next();!f.done;f=K.next())SQ(R,f.value,function(){});\nreturn R};\nXB5=function(K,R){this.US=K;this.wU=R};\nOw=function(K){var R=K.Da,f=K.wU;K=K.ZJ;var V={n0D:new XB5(R.get(),f),wU:f};return{Tt:new ID(f,K,R),context:V}};\njl=function(K,R,f,V,D){g.O.call(this);this.K=R;this.h5=f;this.Da=V;this.TF=D;this.listeners=[];var H=new Be(this);g.q(this,H);H.j(K,\"internalAbandon\",this.sQp);this.addOnDisposeCallback(function(){g.kc(H)})};\nqG=function(K){this.G=K;this.adVideoId=this.U=this.videoId=this.adCpn=this.contentCpn=null;this.B=!0;this.K=this.X=!1;this.adFormat=null;this.J=\"AD_PLACEMENT_KIND_UNKNOWN\";this.actionType=\"unknown_type\";this.videoStreamType=\"VIDEO_STREAM_TYPE_VOD\"};\nkHo=function(K){K.contentCpn=null;K.adCpn=null;K.videoId=null;K.adVideoId=null;K.adFormat=null;K.J=\"AD_PLACEMENT_KIND_UNKNOWN\";K.actionType=\"unknown_type\";K.X=!1;K.K=!1};\nTa_=function(K,R){K=g.Z(R);for(R=K.next();!R.done;R=K.next())if((R=R.value.renderer)&&(R.instreamVideoAdRenderer||R.linearAdSequenceRenderer||R.sandwichedLinearAdRenderer||R.instreamSurveyAdRenderer)){Uz(\"ad_i\");g.WV({isMonetized:!0});break}};\nPw_=function(K){var R;(R=K.G.getVideoData(1))!=null&&R.Z&&(K.K=!1,R={},K.U&&K.videoId&&(R.cttAuthInfo={token:K.U,videoId:K.videoId}),t2(\"video_to_ad\",R))};\nOG=function(K){K.K=!1;var R={};K.U&&K.videoId&&(R.cttAuthInfo={token:K.U,videoId:K.videoId});t2(\"ad_to_video\",R);n95(K)};\nn95=function(K){if(K.X)if(K.J===\"AD_PLACEMENT_KIND_START\"&&K.actionType===\"video_to_ad\")an(\"video_to_ad\");else{var R={adBreakType:UG(K.J),playerType:\"LATENCY_PLAYER_HTML5\",playerInfo:{preloadType:\"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER\"},videoStreamType:K.videoStreamType};K.actionType===\"ad_to_video\"?(K.contentCpn&&(R.targetCpn=K.contentCpn),K.videoId&&(R.targetVideoId=K.videoId)):(K.adCpn&&(R.targetCpn=K.adCpn),K.adVideoId&&(R.targetVideoId=K.adVideoId));K.adFormat&&(R.adType=K.adFormat);K.contentCpn&&\n(R.clientPlaybackNonce=K.contentCpn);K.videoId&&(R.videoId=K.videoId);K.adCpn&&(R.adClientPlaybackNonce=K.adCpn);K.adVideoId&&(R.adVideoId=K.adVideoId);g.WV(R,K.actionType);K.G.C().experiments.rU(\"html5_ads_csi_qoes\")&&(R=K.G.l$(K.actionType===\"ad_to_video\"?1:2),R=(0,g.N7)()-1E3*R,J2(\"qoes\",R,K.actionType))}};\nMG=function(K){g.O.call(this);this.G=K;this.U=new Map;this.K=new Be(this);g.q(this,this.K);this.K.j(this.G,g.gI(\"ad\"),this.onCueRangeEnter,this);this.K.j(this.G,g.OK(\"ad\"),this.onCueRangeExit,this)};\nImB=function(K,R,f,V,D,H,l){g.nQ.call(this,R,f,{id:K,namespace:\"ad\",priority:D,visible:V,associatedClipId:H,markerPositionMs:l})};\nby=function(K){this.G=K};\ng9z=function(K,R){K.G.cueVideoByPlayerVars(R,2)};\npx=function(K){this.G=K};\nYC=function(K){this.G=K};\nJC=function(K,R){return K.G.C().Y(R)};\nOFw=function(K){return K.G.C().Y(\"substitute_ad_cpn_macro_in_ssdai\")};\nfu=function(K){var R,f,V;return((R=K.G.getVideoData(1).getPlayerResponse())==null?void 0:(f=R.playerConfig)==null?void 0:(V=f.daiConfig)==null?void 0:V.enableServerStitchedDai)||!1};\nPco=function(K){return K.G.C().Y(\"html5_enable_vod_slar_with_notify_pacf\")};\njJc=function(K){return K.G.C().Y(\"html5_recognize_predict_start_cue_point\")};\nIq=function(K){return K.G.C().experiments.rU(\"enable_desktop_player_underlay\")};\nq3c=function(K){return K.G.C().experiments.rU(\"html5_load_empty_player_in_media_break_sub_lra\")};\nZn=function(K,R){return K.G.C().Y(\"html5_cue_video_for_preroll\")&&(R==null?void 0:R.kind)===\"AD_PLACEMENT_KIND_START\"?!1:K.G.C().experiments.rU(\"html5_load_ads_instead_of_cue\")};\nBq=function(K){return K.G.C().experiments.rU(\"html5_preload_ads\")};\nM2e=function(K){return K.G.C().experiments.rU(\"should_ignore_cuepoints_during_lifa_preroll\")};\nBG=function(K){return K.G.C().experiments.rU(\"enable_ads_control_flow_deterministic_id_generation\")};\nbFN=function(K){return K.G.C().experiments.rU(\"enable_desktop_discovery_video_abandon_pings\")||Kc(K.G.C())};\npB_=function(K){return K.G.C().experiments.rU(\"enable_progres_commands_lr_feeds\")};\nY3w=function(K){return K.G.C().experiments.rU(\"enable_progress_commands_lr_shorts\")};\nVL=function(K){return K.G.C().experiments.rU(\"html5_cuepoint_identifier_logging\")};\nMYM=function(K){K=K.G.getVideoData(1);return!!K&&K.Y(\"html5_preload_first_vod_video_ad\")&&!K.isDaiEnabled()&&!K.isLivePlayback};\nmZ2=function(K){return K.G.C().experiments.rU(\"html5_ssdai_enable_media_end_cue_range\")};\nGHB=function(K){switch(K){case \"audio_audible\":return\"adaudioaudible\";case \"audio_measurable\":return\"adaudiomeasurable\";case \"fully_viewable_audible_half_duration_impression\":return\"adfullyviewableaudiblehalfdurationimpression\";case \"measurable_impression\":return\"adactiveviewmeasurable\";case \"overlay_unmeasurable_impression\":return\"adoverlaymeasurableimpression\";case \"overlay_unviewable_impression\":return\"adoverlayunviewableimpression\";case \"overlay_viewable_end_of_session_impression\":return\"adoverlayviewableendofsessionimpression\";\ncase \"overlay_viewable_immediate_impression\":return\"adoverlayviewableimmediateimpression\";case \"viewable_impression\":return\"adviewableimpression\";default:return null}};\nu2c=function(){g.VQ.call(this);var K=this;this.U={};this.addOnDisposeCallback(function(){for(var R=g.Z(Object.keys(K.U)),f=R.next();!f.done;f=R.next())delete K.U[f.value]})};\nm0=function(){if(sJG===null){sJG=new u2c;kO(fw).K=\"b\";var K=kO(fw),R=Go(K)==\"h\"||Go(K)==\"b\",f=!(w1(),!1);R&&f&&(K.B=!0,K.T=new ZGc)}return sJG};\nCwh=function(K,R,f){K.U[R]=f};\nekB=function(K){switch(K){case \"abandon\":case \"unmuted_abandon\":return\"abandon\";case \"active_view_fully_viewable_audible_half_duration\":return\"fully_viewable_audible_half_duration_impression\";case \"active_view_measurable\":return\"measurable_impression\";case \"active_view_viewable\":return\"viewable_impression\";case \"audio_audible\":return\"audio_audible\";case \"audio_measurable\":return\"audio_measurable\";case \"complete\":case \"unmuted_complete\":return\"complete\";case \"end_fullscreen\":case \"unmuted_end_fullscreen\":return\"exitfullscreen\";\ncase \"first_quartile\":case \"unmuted_first_quartile\":return\"firstquartile\";case \"fullscreen\":case \"unmuted_fullscreen\":return\"fullscreen\";case \"impression\":case \"unmuted_impression\":return\"impression\";case \"midpoint\":case \"unmuted_midpoint\":return\"midpoint\";case \"mute\":case \"unmuted_mute\":return\"mute\";case \"pause\":case \"unmuted_pause\":return\"pause\";case \"progress\":case \"unmuted_progress\":return\"progress\";case \"resume\":case \"unmuted_resume\":return\"resume\";case \"swipe\":case \"skip\":case \"unmuted_skip\":return\"skip\";\ncase \"start\":case \"unmuted_start\":return\"start\";case \"third_quartile\":case \"unmuted_third_quartile\":return\"thirdquartile\";case \"unmute\":case \"unmuted_unmute\":return\"unmute\";default:return null}};\nG0=function(K,R,f){this.h5=K;this.G=R;this.wU=f;this.K=new Set;this.U=new Map;m0().subscribe(\"adactiveviewmeasurable\",this.Ob,this);m0().subscribe(\"adfullyviewableaudiblehalfdurationimpression\",this.rP,this);m0().subscribe(\"adviewableimpression\",this.Zd,this);m0().subscribe(\"adaudioaudible\",this.C3,this);m0().subscribe(\"adaudiomeasurable\",this.lJ,this)};\nCx=function(K,R,f){var V=f.Y8,D=f.s_,H=f.listener;f=f.nm;if(K.U.has(R))dH(\"Unexpected registration of layout in LidarApi\");else{if(f){if(K.K.has(f))return;K.K.add(f)}K.U.set(R,H);pa(w1().w4,\"fmd\",1);jkG(kO(fw),V);Cwh(m0(),R,{A6:function(){if(!D)return{};var l=K.G.getPresentingPlayerType(!0),F;return(F=K.G.getVideoData(l))!=null&&F.isAd()?{currentTime:K.h5.get().getCurrentTimeSec(l,!1,void 0),duration:D,isPlaying:uy(K.h5.get(),l).isPlaying(),isVpaid:!1,isYouTube:!0,volume:K.h5.get().isMuted()?0:K.h5.get().getVolume()/\n100}:{}}})}};\nel=function(K,R){K.U.has(R)?(K.U.delete(R),delete m0().U[R]):dH(\"Unexpected unregistration of layout in LidarApi\")};\nKmD=function(K,R){if(K.G.isLifaAdPlaying()){var f=K.G.OT(!0,!0);K.FS(R,f.width*.5*1.1,f.height*.25*1.1,f.width*.5*.9,f.height*.5*.9)}};\nVfz=function(K,R){var f={};RN2(K,f,R);fgc(f);f.LACT=KR(function(){return ws().toString()});\nf.VIS=KR(function(){return K.getVisibilityState().toString()});\nf.SDKV=\"h.3.0\";f.VOL=KR(function(){return K.isMuted()?\"0\":Math.round(K.getVolume()).toString()});\nf.VED=\"\";return f};\nD_5=function(K,R){var f={};if(R||!K||!K.kind)return f;if(K.kind===\"AD_PLACEMENT_KIND_MILLISECONDS\"||K.kind===\"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\"){if(!K.adTimeOffset||!K.adTimeOffset.offsetStartMilliseconds)return g.WR(Error(\"malformed AdPlacementConfig\")),f;f.MIDROLL_POS=KR(pT(Math.round(Gd(K.adTimeOffset.offsetStartMilliseconds)/1E3).toString()))}else f.MIDROLL_POS=KR(pT(\"0\"));return f};\nKR=function(K){return{toString:function(){return K()}}};\nH2o=function(K,R,f){function V(F,c){(c=f[c])&&(H[F]=c)}\nfunction D(F,c){(c=f[c])&&(H[F]=l(c))}\nif(!f||g.ZL(f))return K;var H=Object.assign({},K),l=R?encodeURIComponent:function(F){return F};\nD(\"DV_VIEWABILITY\",\"doubleVerifyViewability\");D(\"IAS_VIEWABILITY\",\"integralAdsViewability\");D(\"MOAT_INIT\",\"moatInit\");D(\"MOAT_VIEWABILITY\",\"moatViewability\");V(\"GOOGLE_VIEWABILITY\",\"googleViewability\");V(\"VIEWABILITY\",\"viewability\");return H};\nRN2=function(K,R,f){R.CPN=KR(function(){var V;(V=K.getVideoData(1))?V=V.clientPlaybackNonce:(g.A$(Error(\"Video data is null.\")),V=null);return V});\nR.AD_MT=KR(function(){if(f!=null)var V=f;else if(K.C().Y(\"enable_h5_shorts_ad_fill_ad_mt_macro\")||K.C().Y(\"enable_desktop_discovery_pings_ad_mt_macro\")||Kc(K.C())){var D=K.getPresentingPlayerType(!0),H;V=((H=K.getVideoData(D))==null?0:H.isAd())?K.getCurrentTime(D,!1):0}else V=K.getCurrentTime(2,!1);return $_M(V)});\nR.MT=KR(function(){return $_M(K.getCurrentTime(1,!1))});\nR.P_H=KR(function(){return K.Ft().xR().height.toString()});\nR.P_W=KR(function(){return K.Ft().xR().width.toString()});\nR.PV_H=KR(function(){return K.Ft().getVideoContentRect().height.toString()});\nR.PV_W=KR(function(){return K.Ft().getVideoContentRect().width.toString()})};\n$_M=function(K){return Math.round(Math.max(0,K*1E3)).toString()};\nfgc=function(K){K.CONN=KR(pT(\"0\"));K.WT=KR(function(){return Date.now().toString()})};\nlg2=function(){};\nd_M=function(K,R,f,V,D){var H,l,F,c,r,y,h,S,v,L,E,Q,J;g.I(function(A){switch(A.U){case 1:H=!!R.scrubReferrer;l=g.XZ(R.baseUrl,H2o(f,H,V));F={};if(!R.headers){A.J5(2);break}c=K.J();if(!c.U){r=c.getValue();A.J5(3);break}return g.P(A,c.U,4);case 4:r=A.K;case 3:y=r;h=g.Z(R.headers);for(S=h.next();!S.done;S=h.next())switch(v=S.value,v.headerType){case \"VISITOR_ID\":g.KI(\"VISITOR_DATA\")&&(F[\"X-Goog-Visitor-Id\"]=g.KI(\"VISITOR_DATA\"));break;case \"EOM_VISITOR_ID\":g.KI(\"EOM_VISITOR_DATA\")&&(F[\"X-Goog-EOM-Visitor-Id\"]=\ng.KI(\"EOM_VISITOR_DATA\"));break;case \"USER_AUTH\":y&&(F.Authorization=\"Bearer \"+y);break;case \"PLUS_PAGE_ID\":(L=K.B())&&(F[\"X-Goog-PageId\"]=L);break;case \"AUTH_USER\":E=K.U();!y&&E&&(F[\"X-Goog-AuthUser\"]=E);break;case \"DATASYNC_ID\":if(Q=void 0,(Q=K.X())==null?0:Q.rU(\"enable_datasync_id_header_in_web_vss_pings\"))J=K.K(),y2(l)&&g.KI(\"LOGGED_IN\")&&J&&(F[\"X-YouTube-DataSync-Id\"]=J)}\"X-Goog-EOM-Visitor-Id\"in F&&\"X-Goog-Visitor-Id\"in F&&delete F[\"X-Goog-Visitor-Id\"];case 2:g.PY(l,void 0,H,Object.keys(F).length!==\n0?F:void 0,\"\",!0,D),g.lE(A)}})};\nFme=function(K,R,f,V,D){this.J=K;this.B=R;this.U=f;this.K=V;this.X=D};\ncso=function(K,R){this.U=K;this.wU=R};\nRf=function(K,R,f,V,D,H){var l=l===void 0?new Fme(function(){var F=K.C(),c=K.getVideoData(1);return g.r6(F,c?g.Ys(c):\"\")},function(){return K.C().pageId},function(){return K.C().B5},function(){var F;\nreturn(F=K.C().datasyncId)!=null?F:\"\"},function(){return K.C().experiments}):l;\nthis.G=K;this.K=R;this.UC=f;this.Da=V;this.Tt=D;this.wU=H;this.J=l;this.N3=null;this.U=new Map;this.X=new cso(l,this.wU)};\nys_=function(K,R,f,V,D){var H=yL(K.K.get(),f);H?(f=Fz(K,rs5(H),H,void 0,void 0,V),R.hasOwnProperty(\"baseUrl\")?K.J.send(R,f):K.X.send(R,f,{},D)):dH(\"Trying to ping from an unknown layout\",void 0,void 0,{layoutId:f})};\nhDD=function(K,R,f,V,D,H){V=V===void 0?[]:V;var l=yL(K.K.get(),R);if(l){var F=K.UC.get().NH(R,f),c=Fz(K,rs5(l),l,D,H);V.forEach(function(r,y){r.baseUrl&&(K.X.send(r.baseUrl,c,F,r.attributionSrcMode),r.serializedAdPingMetadata&&K.Tt.U(\"ADS_CLIENT_EVENT_TYPE_PING_DISPATCHED\",void 0,void 0,void 0,void 0,l,new y22(r,y),void 0,void 0,l.adLayoutLoggingData))})}else dH(\"Trying to track from an unknown layout.\",void 0,void 0,{layoutId:R,\ntrackingType:f})};\nfb=function(K,R){K.G.sendVideoStatsEngageEvent(R,void 0,2)};\nbU=function(K,R){g.h$(\"adsClientStateChange\",R)};\nhNB=function(K,R){K.U.has(R.k5())?dH(\"Trying to register an existing AdErrorInfoSupplier.\"):K.U.set(R.k5(),R)};\nomM=function(K,R){K.U.delete(R.k5())||dH(\"Trying to unregister a AdErrorInfoSupplier that has not been registered yet.\")};\nmN=function(K,R,f){typeof f===\"string\"?K.G.getVideoData(1).Bw(R,f):K.G.getVideoData(1).KQ(R,f)};\nrs5=function(K){var R=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\");K=Oj(K.clientMetadata,\"metadata_type_media_sub_layout_index\");return{adPlacementConfig:R,QW:K}};\nFz=function(K,R,f,V,D,H){var l=f?S8B(K):{},F=f?i2G(K,f.layoutId):{},c=vmz(K),r,y=D!=null?D:(r=sU(K.Da.get(),2))==null?void 0:r.clientPlaybackNonce;D={};K=Object.assign({},Vfz(K.G,V),D_5(R.adPlacementConfig,(f==null?void 0:f.renderingContent)!==void 0),F,l,c,(D.FINAL=KR(function(){return\"1\"}),D.AD_CPN=KR(function(){return y||\"\"}),D));\n(f==null?void 0:f.renderingContent)!==void 0||(K.SLOT_POS=KR(function(){return(R.QW||0).toString()}));\nf={};H=Object.assign({},K,H);K=g.Z(Object.values(LmM));for(V=K.next();!V.done;V=K.next())V=V.value,l=H[V],l!=null&&l.toString()!=null&&(f[V]=l.toString());return f};\nS8B=function(K){var R={},f,V=(f=K.N3)==null?void 0:f.E$/1E3;V!=null&&(R.SURVEY_ELAPSED_MS=KR(function(){return Math.round(V*1E3).toString()}));\nR.SURVEY_LOCAL_TIME_EPOCH_S=KR(function(){return Math.round(Date.now()/1E3).toString()});\nreturn R};\ni2G=function(K,R){K=K.U.get(R);if(!K)return{};K=K.QE();if(!K)return{};R={};return R.YT_ERROR_CODE=K.J7.toString(),R.ERRORCODE=K.Yd.toString(),R.ERROR_MSG=K.errorMessage,R};\nvmz=function(K){var R={},f=K.G.getVideoData(1);R.ASR=KR(function(){var V;return(V=f==null?void 0:f.jD)!=null?V:null});\nR.EI=KR(function(){var V;return(V=f==null?void 0:f.eventId)!=null?V:null});\nreturn R};\nfR=function(K,R,f){g.O.call(this);this.G=K;this.JR=R;this.wU=f;this.listeners=[];this.yg=null;this.qO=new Map;R=new g.de(this);g.q(this,R);R.j(K,\"videodatachange\",this.lND);R.j(K,\"serverstitchedvideochange\",this.J$r);this.N2=sU(this)};\nsU=function(K,R){var f=K.G.getVideoData(R);return f?K.cC(f,R||K.G.getPresentingPlayerType(!0)):null};\nwjM=function(K,R,f){var V=K.cC(R,f);K.N2=V;K.listeners.forEach(function(D){D.A8(V)})};\nV8=function(K,R){g.O.call(this);this.G=K;this.Da=R;this.listeners=[];this.F5=[];this.Ea=function(){dH(\"Called 'doUnlockPreroll' before it's initialized.\")};\nR=new Be(this);var f=new g.de(this);g.q(this,f);g.q(this,R);R.j(K,\"progresssync\",this.rhp);R.j(K,\"presentingplayerstatechange\",this.h40);R.j(K,\"fullscreentoggled\",this.onFullscreenToggled);R.j(K,\"onVolumeChange\",this.onVolumeChange);R.j(K,\"minimized\",this.zr);R.j(K,\"overlayvisibilitychange\",this.q4);R.j(K,\"shortsadswipe\",this.Ax);R.j(K,\"resize\",this.xl);f.j(K,g.gI(\"appad\"),this.hx)};\nzN2=function(K,R){K.F5=K.F5.filter(function(f){return f!==R})};\nD2=function(K,R,f){return K.getCurrentTimeSec(R,f)};\nHA=function(K,R){var f;R=(f=K.Da.get().qO.get(R))!=null?f:null;if(R===null)return dH(\"Expected ad video start time on playback timeline\"),0;K=K.G.getCurrentTime(2,!0);return K0){var H=R.end.toString();D.forEach(function(l){(l=l.config&&l.config.adPlacementConfig)&&l.kind===\"AD_PLACEMENT_KIND_MILLISECONDS\"&&l.adTimeOffset&&l.adTimeOffset.offsetEndMilliseconds===\"-1\"&&l.adTimeOffset.offsetEndMilliseconds!==H&&(l.adTimeOffset.offsetEndMilliseconds=H)});\nV.map(function(l){return g.z(l,SH)}).forEach(function(l){var F;\n(l=l==null?void 0:(F=l.slotEntryTrigger)==null?void 0:F.mediaTimeRangeTrigger)&&l.offsetEndMilliseconds===\"-1\"&&(l.offsetEndMilliseconds=H)})}return{RR:D,\nadSlots:V,uR:!1,ssdaiAdsConfig:K.ssdaiAdsConfig}};\ncA=function(K){g.O.call(this);this.G=K;this.listeners=[];this.U=new Be(this);g.q(this,this.U);this.U.j(this.G,\"aduxclicked\",this.onAdUxClicked);this.U.j(this.G,\"aduxmouseover\",this.PL);this.U.j(this.G,\"aduxmouseout\",this.ZD);this.U.j(this.G,\"muteadaccepted\",this.Cd0)};\nU__=function(K,R,f){R=g.JQ(R,function(V){return new i4h(V,f,V.id)});\nK.G.lD(\"onAdUxUpdate\",R)};\nrw=function(K,R){K=g.Z(K.listeners);for(var f=K.next();!f.done;f=K.next())R(f.value)};\ny8=function(K,R){this.K=K;this.X=R===void 0?!1:R;this.U={}};\nWme=function(K,R){var f=K.startSecs+K.w8;f=f<=0?null:f;if(f===null)return null;switch(K.event){case \"start\":case \"continue\":case \"stop\":break;case \"predictStart\":if(R)break;return null;default:return null}R=Math.max(K.startSecs,0);return{rb:new N1(R,f),oWW:new HF(R,f-R,K.context,K.identifier,K.event,K.U)}};\ntfB=function(){this.U=[]};\nJMv=function(K,R,f){var V=g.hh(K.U,R);if(V>=0)return R;R=-V-1;return R>=K.U.length||K.U[R]>f?null:K.U[R]};\nhU=function(K,R,f){g.O.call(this);this.G=K;this.wU=R;this.A5=f;this.listeners=[];this.J=!1;this.gA=[];this.U=null;this.B=new y8(this,jJc(R.get()));this.X=new tfB;this.K=null};\nAsh=function(K,R){K.gA.push(R);for(var f=!1,V=g.Z(K.listeners),D=V.next();!D.done;D=V.next())f=D.value.qT(R)||f;K.J=f;VL(K.wU.get())&&mN(K.A5.get(),\"onci\",\"cpi.\"+R.identifier+\";cpe.\"+R.event+\";cps.\"+R.startSecs+\";cbi.\"+f)};\nZ25=function(K,R){bU(K.A5.get(),{cuepointTrigger:{event:JsN(R.event),cuepointId:R.identifier,totalCueDurationMs:R.w8*1E3,playheadTimeMs:R.U,cueStartTimeMs:R.startSecs*1E3,cuepointReceivedTimeMs:Date.now(),contentCpn:K.G.getVideoData(1).clientPlaybackNonce}})};\nJsN=function(K){switch(K){case \"unknown\":return\"CUEPOINT_EVENT_UNKNOWN\";case \"start\":return\"CUEPOINT_EVENT_START\";case \"continue\":return\"CUEPOINT_EVENT_CONTINUE\";case \"stop\":return\"CUEPOINT_EVENT_STOP\";case \"predictStart\":return\"CUEPOINT_EVENT_PREDICT_START\";default:return tl(K,\"Unexpected cuepoint event\")}};\nof=function(K){this.G=K};\nSN=function(K){this.G=K};\nBRB=function(K){switch(K){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:tl(K,\"unknown transitionReason\")}};\nix=function(){g.O.apply(this,arguments);this.ugp=new Map};\nXj_=function(K){this.G=K};\nkcG=function(K,R,f,V,D){g.O.call(this);var H=this,l=aM(function(){return new Z_(H.wU)});\ng.q(this,l);var F=aM(function(){return new Xr(l)});\ng.q(this,F);var c=aM(function(){return new cG});\ng.q(this,c);var r=aM(function(){return new d$(K)});\ng.q(this,r);var y=aM(function(){return new kF(l,F,H.wU)});\ng.q(this,y);var h=aM(function(){return new g$});\ng.q(this,h);this.UL=aM(function(){return new cA(R)});\ng.q(this,this.UL);this.AV=aM(function(){return new NY(D)});\ng.q(this,this.AV);this.q1=aM(function(){return new qG(R)});\ng.q(this,this.q1);this.IQ=aM(function(){return new MG(R)});\ng.q(this,this.IQ);this.N1=aM(function(){return new by(R)});\ng.q(this,this.N1);this.OL=aM(function(){return new px(R)});\ng.q(this,this.OL);this.wU=aM(function(){return new YC(R)});\ng.q(this,this.wU);var S=aM(function(){return new Fa(V)});\ng.q(this,S);var v=aM(function(){return new GU(H.wU)});\ng.q(this,v);this.GA=aM(function(){return new of(R)});\ng.q(this,this.GA);this.JZ=aM(function(){return new tC});\ng.q(this,this.JZ);this.Da=aM(function(){return new fR(R,h,H.wU)});\ng.q(this,this.Da);var L=Ow({Da:this.Da,wU:this.wU,ZJ:v}),E=L.context;this.Tt=L.Tt;this.TF=aM(function(){return new hU(R,H.wU,H.A5)});\ng.q(this,this.TF);this.d4=aM(function(){return new SN(R)});\ng.q(this,this.d4);this.h5=aM(function(){return new V8(R,H.Da)});\ng.q(this,this.h5);this.yf=aM(function(){return new ix});\ng.q(this,this.yf);L=aM(function(){return new CX(l,y,F,H.wU,v,\"SLOT_TYPE_ABOVE_FEED\",H.h5,H.VY,H.fT)});\ng.q(this,L);this.o0=aM(function(){return new AC(H.wU)});\nthis.UC=aM(function(){return new G0(H.h5,R,H.wU)});\ng.q(this,this.UC);this.A5=aM(function(){return new Rf(R,c,H.UC,H.Da,H.Tt,H.wU)});\ng.q(this,this.A5);this.f4=new $F(HG,vA,function(J,A,B,k){return nX(F.get(),J,A,B,k)},r,y,F,v,this.wU,this.Da);\ng.q(this,this.f4);this.aC=new lQ(r,L,f,K,this.Da,this.h5,this.q1);g.q(this,this.aC);var Q=new jl(R,this.aC,this.h5,this.Da,this.TF);this.MQ=aM(function(){return Q});\nthis.Pq=Q;this.VY=new RD(r,y,this.MQ,this.TF,this.h5,this.wU,this.A5,this.d4);g.q(this,this.VY);this.Y4=new Fr(r,y,this.IQ,this.MQ,E);g.q(this,this.Y4);this.Q9=new aq(this.wU,r,y,L,this.Da,this.Y4,f,this.N1);g.q(this,this.Q9);this.nF=aM(function(){return new Yh(S,F,v,H.wU,H.A5,H.h5,H.d4)});\ng.q(this,this.nF);this.zF=aM(function(){return new m6});\ng.q(this,this.zF);this.cB=new vG(K,this.UL,this.wU);g.q(this,this.cB);this.HK=new Lu(K);g.q(this,this.HK);this.fZ=new w$(K);g.q(this,this.fZ);this.Jm=new xF(K,this.MQ,E);g.q(this,this.Jm);this.DN=new Er(K,this.IQ,this.h5,this.Da);g.q(this,this.DN);this.qA=new aD(K,this.Da);g.q(this,this.qA);this.fT=new Ur(K,this.TF,this.h5,this.A5,this.MQ,this.VY);g.q(this,this.fT);this.Ep=new QL(K);g.q(this,this.Ep);this.I0=new JE(K);g.q(this,this.I0);this.e2=new N3(K);g.q(this,this.e2);this.CH=new AE(K);g.q(this,\nthis.CH);this.I0=new JE(K);g.q(this,this.I0);this.nK=aM(function(){return new hE});\ng.q(this,this.nK);this.Yq=aM(function(){return new oD(H.h5)});\ng.q(this,this.Yq);this.FC=aM(function(){return new BuN(H.UL,H.A5,K,c,H.UC)});\ng.q(this,this.FC);this.Fj=aM(function(){return new B6(H.Q9,r,l)});\ng.q(this,this.Fj);this.ET=aM(function(){return new Tl(H.wU,H.A5,H.Ep,H.UC)});\ng.q(this,this.ET);this.G8=aM(function(){return new R6(K,H.I0,H.Ep,H.Da,H.d4,H.h5,H.yf,H.A5,h,H.TF,H.UC,H.o0,H.N1,H.IQ,H.q1,H.OL,H.AV,H.GA,H.wU,c,E)});\ng.q(this,this.G8);this.Wv=aM(function(){return new mSB(H.h5,H.A5,H.AV,H.wU,H.UC,H.Da)});\ng.q(this,this.Wv);this.MV=aM(function(){return new RIM(H.UL,H.h5,H.A5,c,H.UC,H.fZ,H.CH,H.AV,H.wU,f)});\ng.q(this,this.MV);this.ra=aM(function(){return new XRe(H.UL,H.A5,c)});\ng.q(this,this.ra);this.Jz=new dw(K,this.JZ,l);g.q(this,this.Jz);this.wQ={V$:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Q9],[\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",this.VY],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.f4],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.aC],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.Y4]]),WZ:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nF],[\"SLOT_TYPE_ABOVE_FEED\",this.zF],[\"SLOT_TYPE_FORECASTING\",this.zF],\n[\"SLOT_TYPE_IN_PLAYER\",this.zF],[\"SLOT_TYPE_PLAYER_BYTES\",this.zF],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.zF],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.zF],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",this.zF]]),wR:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.cB],[\"TRIGGER_TYPE_SURVEY_SUBMITTED\",this.cB],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",\nthis.HK],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_UNSCHEDULED\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED\",this.HK],[\"TRIGGER_TYPE_CLOSE_REQUESTED\",this.fZ],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.Jm],[\"TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER\",this.DN],[\"TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER\",\nthis.DN],[\"TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME\",this.DN],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",this.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED\",this.DN],[\"TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE\",this.DN],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED\",this.qA],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED\",this.qA],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.Ep],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",\nthis.Jm],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.e2],[\"TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER\",this.CH],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.I0],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",this.fT],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",this.fT],[\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",this.fT],[\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\",this.fT],[\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\",this.fT]]),DX:new Map([[\"SLOT_TYPE_ABOVE_FEED\",this.nK],\n[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nK],[\"SLOT_TYPE_FORECASTING\",this.nK],[\"SLOT_TYPE_IN_PLAYER\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES\",this.Yq],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.nK],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",this.nK]]),dM:new Map([[\"SLOT_TYPE_ABOVE_FEED\",this.FC],[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Fj],[\"SLOT_TYPE_FORECASTING\",this.ET],[\"SLOT_TYPE_PLAYER_BYTES\",this.G8],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.Wv],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",\nthis.Wv],[\"SLOT_TYPE_IN_PLAYER\",this.MV],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.ra]])};this.listeners=[c.get()];this.vu={Q9:this.Q9,b$:this.wU.get(),H5:this.AV.get(),m1:this.h5.get(),aC:this.aC,zn:l.get(),H$:this.JZ.get(),hZ:this.cB,n4:c.get(),US:this.Da.get()}};\nTRB=function(K,R,f,V,D){g.O.call(this);var H=this,l=aM(function(){return new Z_(H.wU)});\ng.q(this,l);var F=aM(function(){return new Xr(l)});\ng.q(this,F);var c=aM(function(){return new cG});\ng.q(this,c);var r=aM(function(){return new d$(K)});\ng.q(this,r);var y=aM(function(){return new kF(l,F,H.wU)});\ng.q(this,y);var h=aM(function(){return new g$});\ng.q(this,h);this.UL=aM(function(){return new cA(R)});\ng.q(this,this.UL);this.AV=aM(function(){return new NY(D)});\ng.q(this,this.AV);this.q1=aM(function(){return new qG(R)});\ng.q(this,this.q1);this.IQ=aM(function(){return new MG(R)});\ng.q(this,this.IQ);this.N1=aM(function(){return new by(R)});\ng.q(this,this.N1);this.OL=aM(function(){return new px(R)});\ng.q(this,this.OL);this.wU=aM(function(){return new YC(R)});\ng.q(this,this.wU);var S=aM(function(){return new Fa(V)});\ng.q(this,S);var v=aM(function(){return new GU(H.wU)});\ng.q(this,v);var L=aM(function(){return new CX(l,y,F,H.wU,v,null,null,H.VY,H.fT)});\ng.q(this,L);this.GA=aM(function(){return new of(R)});\ng.q(this,this.GA);this.JZ=aM(function(){return new tC});\ng.q(this,this.JZ);this.Da=aM(function(){return new fR(R,h,H.wU)});\ng.q(this,this.Da);var E=Ow({Da:this.Da,wU:this.wU,ZJ:v}),Q=E.context;this.Tt=E.Tt;this.TF=aM(function(){return new hU(R,H.wU,H.A5)});\nthis.h5=aM(function(){return new V8(R,H.Da)});\ng.q(this,this.h5);this.yf=aM(function(){return new ix});\ng.q(this,this.yf);this.UC=aM(function(){return new G0(H.h5,R,H.wU)});\ng.q(this,this.UC);this.A5=aM(function(){return new Rf(R,c,H.UC,H.Da,H.Tt,H.wU)});\ng.q(this,this.A5);this.o0=aM(function(){return new AC(H.wU)});\ng.q(this,this.o0);this.f4=new $F(HG,vA,function(A,B,k,b){return nX(F.get(),A,B,k,b)},r,y,F,v,this.wU,this.Da);\ng.q(this,this.f4);this.aC=new lQ(r,L,f,K,this.Da,this.h5,this.q1);g.q(this,this.aC);var J=new jl(R,this.aC,this.h5,this.Da,this.TF);this.MQ=aM(function(){return J});\nthis.Pq=J;this.VY=new RD(r,y,this.MQ,this.TF,this.h5,this.wU,this.A5);g.q(this,this.VY);this.Y4=new Fr(r,y,this.IQ,this.MQ,Q);g.q(this,this.Y4);this.Q9=new aq(this.wU,r,y,L,this.Da,this.Y4,f,this.N1);g.q(this,this.Q9);this.nF=aM(function(){return new Yh(S,F,v,H.wU,H.A5,H.h5)});\ng.q(this,this.nF);this.zF=aM(function(){return new m6});\ng.q(this,this.zF);this.cB=new vG(K,this.UL,this.wU);g.q(this,this.cB);this.HK=new Lu(K);g.q(this,this.HK);this.fZ=new w$(K);g.q(this,this.fZ);this.Jm=new xF(K,this.MQ,Q);g.q(this,this.Jm);this.DN=new Er(K,this.IQ,this.h5,this.Da);g.q(this,this.DN);this.Ep=new QL(K);g.q(this,this.Ep);this.e2=new N3(K);g.q(this,this.e2);this.CH=new AE(K);g.q(this,this.CH);this.d4=aM(function(){return new SN(R)});\ng.q(this,this.d4);this.I0=new JE(K);g.q(this,this.I0);this.fT=new Ur(K,this.TF,this.h5,this.A5,this.MQ,this.VY);g.q(this,this.fT);this.nK=aM(function(){return new hE});\ng.q(this,this.nK);this.Yq=aM(function(){return new oD(H.h5)});\ng.q(this,this.Yq);this.Fj=aM(function(){return new B6(H.Q9,r,l)});\ng.q(this,this.Fj);this.ET=aM(function(){return new Tl(H.wU,H.A5,H.Ep,H.UC)});\ng.q(this,this.ET);this.MV=aM(function(){return new fRv(H.UL,H.h5,H.A5,c,H.UC,H.fZ,H.CH,H.AV,H.wU,f)});\ng.q(this,this.MV);this.G8=aM(function(){return new f6(K,H.I0,H.Ep,H.A5,H.UC,H.o0,H.N1,H.Da,H.h5,H.yf,H.IQ,H.q1,H.OL,H.AV,H.GA,H.wU,H.d4,Q)});\ng.q(this,this.G8);this.Jz=new dw(K,this.JZ,l);g.q(this,this.Jz);this.wQ={V$:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Q9],[\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",this.VY],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.f4],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.aC],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.Y4]]),WZ:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nF],[\"SLOT_TYPE_FORECASTING\",this.zF],[\"SLOT_TYPE_IN_PLAYER\",this.zF],\n[\"SLOT_TYPE_PLAYER_BYTES\",this.zF]]),wR:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.cB],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.HK],\n[\"TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED\",this.HK],[\"TRIGGER_TYPE_CLOSE_REQUESTED\",this.fZ],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.Jm],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",this.DN],[\"TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE\",this.DN],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.Ep],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.Jm],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.e2],[\"TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER\",\nthis.CH],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.I0],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",this.fT],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",this.fT],[\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",this.fT],[\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\",this.fT],[\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\",this.fT]]),DX:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nK],[\"SLOT_TYPE_FORECASTING\",this.nK],[\"SLOT_TYPE_IN_PLAYER\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES\",this.Yq]]),\ndM:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Fj],[\"SLOT_TYPE_FORECASTING\",this.ET],[\"SLOT_TYPE_IN_PLAYER\",this.MV],[\"SLOT_TYPE_PLAYER_BYTES\",this.G8]])};this.listeners=[c.get()];this.vu={Q9:this.Q9,b$:this.wU.get(),H5:this.AV.get(),m1:this.h5.get(),aC:this.aC,zn:l.get(),H$:this.JZ.get(),hZ:this.cB,n4:c.get(),US:this.Da.get()}};\nPsM=function(K,R,f,V,D){g.O.call(this);var H=this,l=aM(function(){return new Z_(H.wU)});\ng.q(this,l);var F=aM(function(){return new Xr(l)});\ng.q(this,F);var c=aM(function(){return new cG});\ng.q(this,c);var r=aM(function(){return new d$(K)});\ng.q(this,r);var y=aM(function(){return new kF(l,F,H.wU)});\ng.q(this,y);var h=aM(function(){return new g$});\ng.q(this,h);this.UL=aM(function(){return new cA(R)});\ng.q(this,this.UL);this.AV=aM(function(){return new NY(D)});\ng.q(this,this.AV);this.q1=aM(function(){return new qG(R)});\ng.q(this,this.q1);this.IQ=aM(function(){return new MG(R)});\ng.q(this,this.IQ);this.N1=aM(function(){return new by(R)});\ng.q(this,this.N1);this.OL=aM(function(){return new px(R)});\ng.q(this,this.OL);this.wU=aM(function(){return new YC(R)});\ng.q(this,this.wU);var S=aM(function(){return new Fa(V)});\ng.q(this,S);var v=aM(function(){return new GU(H.wU)});\ng.q(this,v);var L=aM(function(){return new CX(l,y,F,H.wU,v,null,null,null,null)});\ng.q(this,L);this.GA=aM(function(){return new of(R)});\ng.q(this,this.GA);this.Da=aM(function(){return new fR(R,h,H.wU)});\ng.q(this,this.Da);var E=Ow({Da:this.Da,wU:this.wU,ZJ:v}),Q=E.context;this.Tt=E.Tt;this.h5=aM(function(){return new V8(R,H.Da)});\ng.q(this,this.h5);this.yf=aM(function(){return new ix});\ng.q(this,this.yf);this.UC=aM(function(){return new G0(H.h5,R,H.wU)});\ng.q(this,this.UC);this.A5=aM(function(){return new Rf(R,c,H.UC,H.Da,H.Tt,H.wU)});\ng.q(this,this.A5);this.o0=aM(function(){return new AC(H.wU)});\ng.q(this,this.o0);this.f4=new $F(HG,vA,function(A,B,k,b){return nX(F.get(),A,B,k,b)},r,y,F,v,this.wU,this.Da);\ng.q(this,this.f4);this.aC=new lQ(r,L,f,K,this.Da,this.h5,this.q1);g.q(this,this.aC);var J=new jl(R,this.aC,this.h5,this.Da);this.MQ=aM(function(){return J});\nthis.Pq=J;this.Y4=new Fr(r,y,this.IQ,this.MQ,Q);g.q(this,this.Y4);this.Q9=new aq(this.wU,r,y,L,this.Da,this.Y4,f,this.N1);g.q(this,this.Q9);this.nF=aM(function(){return new Yh(S,F,v,H.wU,H.A5,H.h5)});\ng.q(this,this.nF);this.zF=aM(function(){return new m6});\ng.q(this,this.zF);this.cB=new vG(K,this.UL,this.wU);g.q(this,this.cB);this.HK=new Lu(K);g.q(this,this.HK);this.Jm=new xF(K,this.MQ,Q);g.q(this,this.Jm);this.DN=new Er(K,this.IQ,this.h5,this.Da);g.q(this,this.DN);this.Ep=new QL(K);g.q(this,this.Ep);this.e2=new N3(K);g.q(this,this.e2);this.d4=aM(function(){return new SN(R)});\ng.q(this,this.d4);this.I0=new JE(K);g.q(this,this.I0);this.nK=aM(function(){return new hE});\ng.q(this,this.nK);this.Yq=aM(function(){return new oD(H.h5)});\ng.q(this,this.Yq);this.Fj=aM(function(){return new B6(H.Q9,r,l)});\ng.q(this,this.Fj);this.ET=aM(function(){return new Tl(H.wU,H.A5,H.Ep,H.UC)});\ng.q(this,this.ET);this.tC=aM(function(){return new pRB(H.UL,H.h5,H.A5,c,f,H.wU)});\ng.q(this,this.tC);this.G8=aM(function(){return new f6(K,H.I0,H.Ep,H.A5,H.UC,H.o0,H.N1,H.Da,H.h5,H.yf,H.IQ,H.q1,H.OL,H.AV,H.GA,H.wU,H.d4,Q)});\ng.q(this,this.G8);this.wQ={V$:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Q9],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.f4],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.aC],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.Y4]]),WZ:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nF],[\"SLOT_TYPE_FORECASTING\",this.zF],[\"SLOT_TYPE_IN_PLAYER\",this.zF],[\"SLOT_TYPE_PLAYER_BYTES\",this.zF]]),wR:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.cB],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",\nthis.HK],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.HK],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.Jm],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",\nthis.DN],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.Ep],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.Jm],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.e2],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.I0]]),DX:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nK],[\"SLOT_TYPE_ABOVE_FEED\",this.nK],[\"SLOT_TYPE_FORECASTING\",this.nK],[\"SLOT_TYPE_IN_PLAYER\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES\",this.Yq]]),dM:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Fj],[\"SLOT_TYPE_FORECASTING\",this.ET],[\"SLOT_TYPE_IN_PLAYER\",\nthis.tC],[\"SLOT_TYPE_PLAYER_BYTES\",this.G8]])};this.listeners=[c.get()];this.vu={Q9:this.Q9,b$:this.wU.get(),H5:this.AV.get(),m1:this.h5.get(),aC:this.aC,zn:l.get(),H$:null,hZ:this.cB,n4:c.get(),US:this.Da.get()}};\nnmG=function(K,R,f,V,D){g.O.call(this);var H=this,l=aM(function(){return new Z_(H.wU)});\ng.q(this,l);var F=aM(function(){return new Xr(l)});\ng.q(this,F);var c=aM(function(){return new cG});\ng.q(this,c);var r=aM(function(){return new d$(K)});\ng.q(this,r);var y=aM(function(){return new kF(l,F,H.wU)});\ng.q(this,y);var h=aM(function(){return new g$});\ng.q(this,h);this.Nl=aM(function(){return new Xj_(R)});\ng.q(this,this.Nl);this.UL=aM(function(){return new cA(R)});\ng.q(this,this.UL);this.AV=aM(function(){return new NY(D)});\ng.q(this,this.AV);this.q1=aM(function(){return new qG(R)});\ng.q(this,this.q1);this.IQ=aM(function(){return new MG(R)});\ng.q(this,this.IQ);this.N1=aM(function(){return new by(R)});\ng.q(this,this.N1);this.OL=aM(function(){return new px(R)});\ng.q(this,this.OL);this.wU=aM(function(){return new YC(R)});\ng.q(this,this.wU);var S=aM(function(){return new Fa(V)});\ng.q(this,S);var v=aM(function(){return new GU(H.wU)});\ng.q(this,v);var L=aM(function(){return new CX(l,y,F,H.wU,v,null,null,null,null)});\ng.q(this,L);this.GA=aM(function(){return new of(R)});\ng.q(this,this.GA);this.Da=aM(function(){return new fR(R,h,H.wU)});\ng.q(this,this.Da);var E=Ow({Da:this.Da,wU:this.wU,ZJ:v}),Q=E.context;this.Tt=E.Tt;this.h5=aM(function(){return new V8(R,H.Da)});\ng.q(this,this.h5);this.yf=aM(function(){return new ix});\ng.q(this,this.yf);this.UC=aM(function(){return new G0(H.h5,R,H.wU)});\ng.q(this,this.UC);this.A5=aM(function(){return new Rf(R,c,H.UC,H.Da,H.Tt,H.wU)});\ng.q(this,this.A5);this.o0=aM(function(){return new AC(H.wU)});\ng.q(this,this.o0);this.f4=new $F(OYN,vA,function(A,B,k,b){return Fzo(F.get(),A,B,k,b)},r,y,F,v,this.wU,this.Da);\ng.q(this,this.f4);this.aC=new lQ(r,L,f,K,this.Da,this.h5,this.q1);g.q(this,this.aC);var J=new jl(R,this.aC,this.h5,this.Da);this.MQ=aM(function(){return J});\nthis.Pq=J;this.Y4=new Fr(r,y,this.IQ,this.MQ,Q);g.q(this,this.Y4);this.Q9=new aq(this.wU,r,y,L,this.Da,this.Y4,f,this.N1);g.q(this,this.Q9);this.nF=aM(function(){return new Yh(S,F,v,H.wU,H.A5,H.h5)});\ng.q(this,this.nF);this.zF=aM(function(){return new m6});\ng.q(this,this.zF);this.cB=new vG(K,this.UL,this.wU);g.q(this,this.cB);this.HK=new Lu(K);g.q(this,this.HK);this.Jm=new xF(K,this.MQ,Q);g.q(this,this.Jm);this.DN=new Er(K,this.IQ,this.h5,this.Da);g.q(this,this.DN);this.Ep=new QL(K);g.q(this,this.Ep);this.e2=new N3(K);g.q(this,this.e2);this.d4=aM(function(){return new SN(R)});\ng.q(this,this.d4);this.I0=new JE(K);g.q(this,this.I0);this.nK=aM(function(){return new hE});\ng.q(this,this.nK);this.Yq=aM(function(){return new oD(H.h5)});\ng.q(this,this.Yq);this.Fj=aM(function(){return new B6(H.Q9,r,l)});\ng.q(this,this.Fj);this.ET=aM(function(){return new Tl(H.wU,H.A5,H.Ep,H.UC)});\ng.q(this,this.ET);this.G8=aM(function(){return new f6(K,H.I0,H.Ep,H.A5,H.UC,H.o0,H.N1,H.Da,H.h5,H.yf,H.IQ,H.q1,H.OL,H.AV,H.GA,H.wU,H.d4,Q)});\ng.q(this,this.G8);this.XW=aM(function(){return new D4z(H.UL,H.h5,H.A5,c,H.Nl,f,H.Da)});\ng.q(this,this.XW);this.wQ={V$:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Q9],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.f4],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.aC],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.Y4]]),WZ:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nF],[\"SLOT_TYPE_FORECASTING\",this.zF],[\"SLOT_TYPE_IN_PLAYER\",this.zF],[\"SLOT_TYPE_PLAYER_BYTES\",this.zF]]),wR:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.cB],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",\nthis.HK],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.HK],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.Jm],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",\nthis.DN],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.Ep],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.Jm],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.e2],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.I0]]),DX:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nK],[\"SLOT_TYPE_FORECASTING\",this.nK],[\"SLOT_TYPE_IN_PLAYER\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES\",this.Yq]]),dM:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Fj],[\"SLOT_TYPE_FORECASTING\",this.ET],[\"SLOT_TYPE_IN_PLAYER\",this.XW],[\"SLOT_TYPE_PLAYER_BYTES\",\nthis.G8]])};this.listeners=[c.get()];this.vu={Q9:this.Q9,b$:this.wU.get(),H5:this.AV.get(),m1:this.h5.get(),aC:this.aC,zn:l.get(),H$:null,hZ:this.cB,n4:c.get(),US:this.Da.get()}};\nIgD=function(K,R,f,V,D){g.O.call(this);var H=this,l=aM(function(){return new Z_(H.wU)});\ng.q(this,l);var F=aM(function(){return new Xr(l)});\ng.q(this,F);var c=aM(function(){return new cG});\ng.q(this,c);var r=aM(function(){return new d$(K)});\ng.q(this,r);var y=aM(function(){return new kF(l,F,H.wU)});\ng.q(this,y);var h=aM(function(){return new g$});\ng.q(this,h);this.Nl=aM(function(){return new Xj_(R)});\ng.q(this,this.Nl);this.UL=aM(function(){return new cA(R)});\ng.q(this,this.UL);this.AV=aM(function(){return new NY(D)});\ng.q(this,this.AV);this.q1=aM(function(){return new qG(R)});\ng.q(this,this.q1);this.IQ=aM(function(){return new MG(R)});\ng.q(this,this.IQ);this.N1=aM(function(){return new by(R)});\ng.q(this,this.N1);this.OL=aM(function(){return new px(R)});\ng.q(this,this.OL);this.wU=aM(function(){return new YC(R)});\ng.q(this,this.wU);var S=aM(function(){return new Fa(V)});\ng.q(this,S);var v=aM(function(){return new GU(H.wU)});\ng.q(this,v);this.GA=aM(function(){return new of(R)});\ng.q(this,this.GA);this.Da=aM(function(){return new fR(R,h,H.wU)});\ng.q(this,this.Da);var L=Ow({Da:this.Da,wU:this.wU,ZJ:v}),E=L.context;this.Tt=L.Tt;this.TF=aM(function(){return new hU(R,H.wU,H.A5)});\ng.q(this,this.TF);this.d4=aM(function(){return new SN(R)});\ng.q(this,this.d4);this.h5=aM(function(){return new V8(R,H.Da)});\ng.q(this,this.h5);this.yf=aM(function(){return new ix});\ng.q(this,this.yf);L=aM(function(){return new CX(l,y,F,H.wU,v,null,H.h5,H.VY,H.fT,3)});\ng.q(this,L);this.o0=aM(function(){return new AC(H.wU)});\nthis.UC=aM(function(){return new G0(H.h5,R,H.wU)});\ng.q(this,this.UC);this.A5=aM(function(){return new Rf(R,c,H.UC,H.Da,H.Tt,H.wU)});\ng.q(this,this.A5);this.aC=new lQ(r,L,f,K,this.Da,this.h5,this.q1);g.q(this,this.aC);var Q=new jl(R,this.aC,this.h5,this.Da,this.TF);this.MQ=aM(function(){return Q});\nthis.Pq=Q;this.f4=new $F(jd_,vA,function(J,A,B,k){return Fzo(F.get(),J,A,B,k)},r,y,F,v,this.wU,this.Da);\ng.q(this,this.f4);this.VY=new RD(r,y,this.MQ,this.TF,this.h5,this.wU,this.A5,this.d4);g.q(this,this.VY);this.Y4=new Fr(r,y,this.IQ,this.MQ,E);g.q(this,this.Y4);this.Q9=new aq(this.wU,r,y,L,this.Da,this.Y4,f,this.N1);g.q(this,this.Q9);this.nF=aM(function(){return new Yh(S,F,v,H.wU,H.A5,H.h5,H.d4)});\ng.q(this,this.nF);this.zF=aM(function(){return new m6});\ng.q(this,this.zF);this.cB=new vG(K,this.UL,this.wU);g.q(this,this.cB);this.HK=new Lu(K);g.q(this,this.HK);this.Jm=new xF(K,this.MQ,E);g.q(this,this.Jm);this.DN=new Er(K,this.IQ,this.h5,this.Da);g.q(this,this.DN);this.qA=new aD(K,this.Da);g.q(this,this.qA);this.fT=new Ur(K,this.TF,this.h5,this.A5,this.MQ,this.VY);g.q(this,this.fT);this.Ep=new QL(K);g.q(this,this.Ep);this.e2=new N3(K);g.q(this,this.e2);this.I0=new JE(K);g.q(this,this.I0);this.nK=aM(function(){return new hE});\ng.q(this,this.nK);this.Yq=aM(function(){return new oD(H.h5)});\ng.q(this,this.Yq);this.Fj=aM(function(){return new B6(H.Q9,r,l)});\ng.q(this,this.Fj);this.ET=aM(function(){return new Tl(H.wU,H.A5,H.Ep,H.UC)});\ng.q(this,this.ET);this.G8=aM(function(){return new R6(K,H.I0,H.Ep,H.Da,H.d4,H.h5,H.yf,H.A5,h,H.TF,H.UC,H.o0,H.N1,H.IQ,H.q1,H.OL,H.AV,H.GA,H.wU,c,E)});\ng.q(this,this.G8);this.MV=aM(function(){return new H$G(H.UL,H.h5,H.A5,c,H.Nl,f,H.wU,H.Da)});\ng.q(this,this.MV);this.wQ={V$:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Q9],[\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",this.VY],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.f4],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.aC],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.Y4]]),WZ:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nF],[\"SLOT_TYPE_FORECASTING\",this.zF],[\"SLOT_TYPE_IN_PLAYER\",this.zF],[\"SLOT_TYPE_PLAYER_BYTES\",this.zF]]),wR:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",\nthis.cB],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.HK],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.HK],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.HK],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.Jm],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",\nthis.DN],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",this.DN],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED\",this.qA],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED\",this.qA],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.Ep],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.Jm],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.e2],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.I0],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",this.fT],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",\nthis.fT],[\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",this.fT],[\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\",this.fT],[\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\",this.fT]]),DX:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.nK],[\"SLOT_TYPE_FORECASTING\",this.nK],[\"SLOT_TYPE_IN_PLAYER\",this.nK],[\"SLOT_TYPE_PLAYER_BYTES\",this.Yq]]),dM:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Fj],[\"SLOT_TYPE_FORECASTING\",this.ET],[\"SLOT_TYPE_PLAYER_BYTES\",this.G8],[\"SLOT_TYPE_IN_PLAYER\",this.MV]])};this.listeners=[c.get()];\nthis.vu={Q9:this.Q9,b$:this.wU.get(),H5:this.AV.get(),m1:this.h5.get(),aC:this.aC,zn:l.get(),H$:null,hZ:this.cB,n4:c.get(),US:this.Da.get()}};\nO2B=function(K,R,f,V){function D(){return H.K}\ng.O.call(this);var H=this;K.C().experiments.rU(\"html5_dispose_of_manager_before_dependency\")?(this.U=gmv(D,K,R,f,V),this.K=(new QM(this.U)).X(),g.q(this,this.K),g.q(this,this.U)):(this.U=gmv(D,K,R,f,V),g.q(this,this.U),this.K=(new QM(this.U)).X(),g.q(this,this.K))};\nLR=function(K){return K.U.vu};\ngmv=function(K,R,f,V,D){try{var H=R.C();if(g.fc(H))var l=new kcG(K,R,f,V,D);else if(g.Hd(H))l=new TRB(K,R,f,V,D);else if(mT(H))l=new PsM(K,R,f,V,D);else if(g.ke(H))l=new nmG(K,R,f,V,D);else if(g.jA(H))l=new IgD(K,R,f,V,D);else throw new TypeError(\"Unknown web interface\");return l}catch(F){return l=R.C(),dH(\"Unexpected interface not supported in Ads Control Flow\",void 0,void 0,{platform:l.U.cplatform,interface:l.U.c,SBW:l.U.cver,vrZ:l.U.ctheme,nrY:l.U.cplayer,Dwr:l.playerStyle}),new Q15(K,R,f,V,D)}};\nj1z=function(K){qf.call(this,K)};\nq8w=function(K,R,f,V,D){sl.call(this,K,{V:\"div\",D:\"ytp-ad-timed-pie-countdown-container\",S:[{V:\"svg\",D:\"ytp-ad-timed-pie-countdown\",L:{viewBox:\"0 0 20 20\"},S:[{V:\"circle\",D:\"ytp-ad-timed-pie-countdown-background\",L:{r:\"10\",cx:\"10\",cy:\"10\"}},{V:\"circle\",D:\"ytp-ad-timed-pie-countdown-inner\",L:{r:\"5\",cx:\"10\",cy:\"10\"}},{V:\"circle\",D:\"ytp-ad-timed-pie-countdown-outer\",L:{r:\"10\",cx:\"10\",cy:\"10\"}}]}]},\"timed-pie-countdown\",R,f,V,D);this.J=this.IY(\"ytp-ad-timed-pie-countdown-container\");this.X=this.IY(\"ytp-ad-timed-pie-countdown-inner\");\nthis.B=this.IY(\"ytp-ad-timed-pie-countdown-outer\");this.K=Math.ceil(2*Math.PI*5);this.hide()};\nMfB=function(K,R,f,V,D,H){FW.call(this,K,{V:\"div\",D:\"ytp-ad-action-interstitial\",L:{tabindex:\"0\"},S:[{V:\"div\",D:\"ytp-ad-action-interstitial-background-container\"},{V:\"div\",D:\"ytp-ad-action-interstitial-slot\",S:[{V:\"div\",D:\"ytp-ad-action-interstitial-instream-info\"},{V:\"div\",D:\"ytp-ad-action-interstitial-card\",S:[{V:\"div\",D:\"ytp-ad-action-interstitial-image-container\"},{V:\"div\",D:\"ytp-ad-action-interstitial-headline-container\"},{V:\"div\",D:\"ytp-ad-action-interstitial-description-container\"},{V:\"div\",\nD:\"ytp-ad-action-interstitial-action-button-container\"}]}]}]},\"ad-action-interstitial\",R,f,V);this.wu=D;this.tD=H;this.navigationEndpoint=this.U=this.skipButton=this.K=this.actionButton=null;this.G2=this.IY(\"ytp-ad-action-interstitial-instream-info\");this.qe=this.IY(\"ytp-ad-action-interstitial-image-container\");this.Z=new Ih(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,\"ytp-ad-action-interstitial-image\");g.q(this,this.Z);this.Z.V0(this.qe);this.y0=this.IY(\"ytp-ad-action-interstitial-headline-container\");\nthis.B=new Gq(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,\"ytp-ad-action-interstitial-headline\");g.q(this,this.B);this.B.V0(this.y0);this.aY=this.IY(\"ytp-ad-action-interstitial-description-container\");this.X=new Gq(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,\"ytp-ad-action-interstitial-description\");g.q(this,this.X);this.X.V0(this.aY);this.OF=this.IY(\"ytp-ad-action-interstitial-background-container\");this.oY=new Ih(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.H5,\"ytp-ad-action-interstitial-background\",!0);g.q(this,this.oY);this.oY.V0(this.OF);this.kW=this.IY(\"ytp-ad-action-interstitial-action-button-container\");this.slot=this.IY(\"ytp-ad-action-interstitial-slot\");this.qR=this.IY(\"ytp-ad-action-interstitial-card\");this.J=new Be;g.q(this,this.J);this.hide()};\nb2z=function(K){var R=g.Ea(\"html5-video-player\");R&&g.yb(R,\"ytp-ad-display-override\",K)};\nGcw=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-overlay-slot\",S:[{V:\"div\",D:\"ytp-ad-overlay-container\"}]},\"invideo-overlay\",R,f,V);this.Z=[];this.OF=this.y0=this.J=this.kW=this.G2=null;this.oY=!1;this.B=null;this.aY=0;K=this.IY(\"ytp-ad-overlay-container\");this.qe=new HQ(K,45E3,6E3,.3,.4);g.q(this,this.qe);this.X=pjc(this);g.q(this,this.X);this.X.V0(K);this.K=Y8v(this);g.q(this,this.K);this.K.V0(K);this.U=m_z(this);g.q(this,this.U);this.U.V0(K);this.hide()};\npjc=function(K){var R=new g.di({V:\"div\",D:\"ytp-ad-text-overlay\",S:[{V:\"div\",D:\"ytp-ad-overlay-ad-info-button-container\"},{V:\"div\",D:\"ytp-ad-overlay-close-container\",S:[{V:\"button\",D:\"ytp-ad-overlay-close-button\",S:[JJ(u5B)]}]},{V:\"div\",D:\"ytp-ad-overlay-title\",Q0:\"{{title}}\"},{V:\"div\",D:\"ytp-ad-overlay-desc\",Q0:\"{{description}}\"},{V:\"div\",Me:[\"ytp-ad-overlay-link-inline-block\",\"ytp-ad-overlay-link\"],Q0:\"{{displayUrl}}\"}]});K.j(R.IY(\"ytp-ad-overlay-title\"),\"click\",function(f){ww(K,R.element,f)});\nK.j(R.IY(\"ytp-ad-overlay-link\"),\"click\",function(f){ww(K,R.element,f)});\nK.j(R.IY(\"ytp-ad-overlay-close-container\"),\"click\",K.mU);R.hide();return R};\nY8v=function(K){var R=new g.di({V:\"div\",Me:[\"ytp-ad-text-overlay\",\"ytp-ad-enhanced-overlay\"],S:[{V:\"div\",D:\"ytp-ad-overlay-ad-info-button-container\"},{V:\"div\",D:\"ytp-ad-overlay-close-container\",S:[{V:\"button\",D:\"ytp-ad-overlay-close-button\",S:[JJ(u5B)]}]},{V:\"div\",D:\"ytp-ad-overlay-text-image\",S:[{V:\"img\",L:{src:\"{{imageUrl}}\"}}]},{V:\"div\",D:\"ytp-ad-overlay-title\",Q0:\"{{title}}\"},{V:\"div\",D:\"ytp-ad-overlay-desc\",Q0:\"{{description}}\"},{V:\"div\",Me:[\"ytp-ad-overlay-link-inline-block\",\"ytp-ad-overlay-link\"],\nQ0:\"{{displayUrl}}\"}]});K.j(R.IY(\"ytp-ad-overlay-title\"),\"click\",function(f){ww(K,R.element,f)});\nK.j(R.IY(\"ytp-ad-overlay-link\"),\"click\",function(f){ww(K,R.element,f)});\nK.j(R.IY(\"ytp-ad-overlay-close-container\"),\"click\",K.mU);K.j(R.IY(\"ytp-ad-overlay-text-image\"),\"click\",K.s0U);R.hide();return R};\nm_z=function(K){var R=new g.di({V:\"div\",D:\"ytp-ad-image-overlay\",S:[{V:\"div\",D:\"ytp-ad-overlay-ad-info-button-container\"},{V:\"div\",D:\"ytp-ad-overlay-close-container\",S:[{V:\"button\",D:\"ytp-ad-overlay-close-button\",S:[JJ(u5B)]}]},{V:\"div\",D:\"ytp-ad-overlay-image\",S:[{V:\"img\",L:{src:\"{{imageUrl}}\",width:\"{{width}}\",height:\"{{height}}\"}}]}]});K.j(R.IY(\"ytp-ad-overlay-image\"),\"click\",function(f){ww(K,R.element,f)});\nK.j(R.IY(\"ytp-ad-overlay-close-container\"),\"click\",K.mU);R.hide();return R};\ns1o=function(K,R){if(R){var f=g.z(R,wh)||null;f==null?g.WR(Error(\"AdInfoRenderer did not contain an AdHoverTextButtonRenderer.\")):(R=g.Ea(\"video-ads ytp-ad-module\")||null,R==null?g.WR(Error(\"Could not locate the root ads container element to attach the ad info dialog.\")):(K.y0=new g.di({V:\"div\",D:\"ytp-ad-overlay-ad-info-dialog-container\"}),g.q(K,K.y0),K.y0.V0(R),R=new m2(K.api,K.layoutId,K.interactionLoggingClientData,K.H5,K.y0.element,!1),g.q(K,R),R.init(Rh(\"ad-info-hover-text-button\"),f,K.macros),\nK.B?(R.V0(K.B,0),R.subscribe(\"f\",K.LBr,K),R.subscribe(\"e\",K.V7,K),K.j(K.B,\"click\",K.HhF),K.j(g.Ea(\"ytp-ad-button\",R.element),\"click\",function(){var V;if(g.z((V=g.z(f.button,g.xu))==null?void 0:V.serviceEndpoint,Um_))K.oY=K.api.getPlayerState(1)===2,K.api.pauseVideo();else K.api.onAdUxClicked(\"ad-info-hover-text-button\",K.layoutId)}),K.OF=R):g.WR(Error(\"Ad info button container within overlay ad was not present.\"))))}else g.A$(Error(\"AdInfoRenderer was not present within InvideoOverlayAdRenderer.\"))};\neNB=function(K,R){if(Csw(K,zP)||K.api.isMinimized())return!1;var f=cv(R.title),V=cv(R.description);if(g.Ca(f)||g.Ca(V))return!1;K.createServerVe(K.X.element,R.trackingParams||null);K.X.updateValue(\"title\",cv(R.title));K.X.updateValue(\"description\",cv(R.description));K.X.updateValue(\"displayUrl\",cv(R.displayUrl));R.navigationEndpoint&&g.lT(K.Z,R.navigationEndpoint);K.X.show();K.qe.start();K.logVisibility(K.X.element,!0);K.j(K.X.element,\"mouseover\",function(){K.aY++});\nreturn!0};\nKWh=function(K,R){if(Csw(K,zP)||K.api.isMinimized())return!1;var f=cv(R.title),V=cv(R.description);if(g.Ca(f)||g.Ca(V))return!1;K.createServerVe(K.K.element,R.trackingParams||null);K.K.updateValue(\"title\",cv(R.title));K.K.updateValue(\"description\",cv(R.description));K.K.updateValue(\"displayUrl\",cv(R.displayUrl));K.K.updateValue(\"imageUrl\",Pjh(R.image));R.navigationEndpoint&&g.lT(K.Z,R.navigationEndpoint);K.kW=R.imageNavigationEndpoint||null;K.K.show();K.qe.start();K.logVisibility(K.K.element,!0);\nK.j(K.K.element,\"mouseover\",function(){K.aY++});\nreturn!0};\nReG=function(K,R){if(K.api.isMinimized())return!1;var f=nA_(R.image),V=f;f.width0?(R=new BQ(K.api,K.U),\nR.V0(K.playerOverlay),g.q(K,R)):(K=Error(\"Survey progress bar was not added. SurveyAdQuestionCommon: \"+JSON.stringify(R)),g.WR(K))}}else g.WR(Error(\"addCommonComponents() needs to be called before starting countdown.\"))};\nyy_=function(K){function R(f){return{toString:function(){return f()}}}\nK.macros.SURVEY_LOCAL_TIME_EPOCH_S=R(function(){var f=new Date;return(Math.round(f.valueOf()/1E3)+-1*f.getTimezoneOffset()*60).toString()});\nK.macros.SURVEY_ELAPSED_MS=R(function(){return(Date.now()-K.X).toString()})};\nhew=function(K,R,f,V,D){Q8.call(this,K,R,f,V,\"survey-question-multi-select\");this.aY=D;this.noneOfTheAbove=null;this.submitEndpoints=[];this.B=null;this.hide()};\noBo=function(K,R,f){K.noneOfTheAbove=new lZz(K.api,K.layoutId,K.interactionLoggingClientData,K.H5);K.noneOfTheAbove.V0(K.answers);K.noneOfTheAbove.init(Rh(\"survey-none-of-the-above\"),R,f)};\niA5=function(K){K.K.forEach(function(R){R.U.toggleButton(!1)});\nS4w(K,!0)};\nS4w=function(K,R){var f=K.J;K=vBv(K);R=R===void 0?!1:R;f.U&&(K?f.U.hide():f.U.show(),R&&f.U instanceof ov&&!f.U.J&&Tmo(f.U,!1));f.K&&(K?f.K.show():f.K.hide())};\nvBv=function(K){return K.K.some(function(R){return R.U.isToggled()})||K.noneOfTheAbove.button.isToggled()};\nNu=function(K,R,f,V,D){Q8.call(this,K,R,f,V,\"survey-question-single-select\",function(l){H.api.C().Y(\"supports_multi_step_on_desktop\")&&D([l])});\nvar H=this;this.hide()};\nUW=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-survey\",S:[{V:\"div\",D:\"ytp-ad-survey-questions\"}]},\"survey\",R,f,V);this.questions=[];this.K=[];this.conditioningRules=[];this.U=0;this.B=this.IY(\"ytp-ad-survey-questions\");this.api.C().Y(\"fix_survey_color_contrast_on_destop\")&&this.IY(\"ytp-ad-survey\").classList.add(\"color-contrast-fix\");this.api.C().Y(\"web_enable_speedmaster\")&&this.IY(\"ytp-ad-survey\").classList.add(\"relative-positioning-survey\");this.hide()};\nze_=function(K,R){var f=K.K[R],V;(V=K.X)==null||V.dispose();g.z(f,vJ)?LWv(K,g.z(f,vJ),K.macros):g.z(f,iW)&&w1e(K,g.z(f,iW),K.macros);K.U=R};\nLWv=function(K,R,f){var V=new Nu(K.api,K.layoutId,K.interactionLoggingClientData,K.H5,K.J.bind(K));V.V0(K.B);V.init(Rh(\"survey-question-single-select\"),R,f);K.api.C().Y(\"supports_multi_step_on_desktop\")?K.X=V:K.questions.push(V);g.q(K,V)};\nw1e=function(K,R,f){var V=new hew(K.api,K.layoutId,K.interactionLoggingClientData,K.H5,K.J.bind(K));V.V0(K.B);V.init(Rh(\"survey-question-multi-select\"),R,f);K.api.C().Y(\"supports_multi_step_on_desktop\")?K.X=V:K.questions.push(V);g.q(K,V)};\nWA=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-survey-interstitial\",S:[{V:\"div\",D:\"ytp-ad-survey-interstitial-contents\",S:[{V:\"div\",D:\"ytp-ad-survey-interstitial-logo\",S:[{V:\"div\",D:\"ytp-ad-survey-interstitial-logo-image\"}]},{V:\"div\",D:\"ytp-ad-survey-interstitial-text\"}]}]},\"survey-interstitial\",R,f,V);this.U=this.actionButton=null;this.interstitial=this.IY(\"ytp-ad-survey-interstitial\");this.K=this.IY(\"ytp-ad-survey-interstitial-contents\");this.text=this.IY(\"ytp-ad-survey-interstitial-text\");\nthis.logoImage=this.IY(\"ytp-ad-survey-interstitial-logo-image\");this.transition=new g.K0(this,500,!1,300);g.q(this,this.transition)};\nxnN=function(K,R){R=R&&nS(R)||\"\";if(g.Ca(R))g.A$(Error(\"Found ThumbnailDetails without valid image URL\"));else{var f=K.style;K=K.style.cssText;var V=document.implementation.createHTMLDocument(\"\").createElement(\"DIV\");V.style.cssText=K;K=SE5(V.style);f.cssText=[K,'background-image:url(\"'+R+'\");'].join(\"\")}};\nEBw=function(K){var R=g.Ea(\"html5-video-player\");R&&g.yb(R,\"ytp-ad-display-override\",K)};\ntU=function(K,R,f,V,D,H){H=H===void 0?0:H;sl.call(this,K,{V:\"div\",D:\"ytp-preview-ad\",S:[{V:\"div\",D:\"ytp-preview-ad__text\"}]},\"preview-ad\",R,f,V,D);var l=this;this.aY=H;this.K=0;this.J=-1;this.X=this.IY(\"ytp-preview-ad__text\");switch(this.aY){case 1:this.X.classList.add(\"ytp-preview-ad__text--font--small\")}this.transition=new g.K0(this,400,!1,100,function(){l.hide()});\ng.q(this,this.transition);this.hide()};\nAU=function(K,R,f,V){FW.call(this,K,{V:\"img\",D:\"ytp-ad-avatar\"},\"ad-avatar\",R,f,V);this.hide()};\naZ_=function(K){switch(K.size){case \"AD_AVATAR_SIZE_XXS\":return 16;case \"AD_AVATAR_SIZE_XS\":return 24;case \"AD_AVATAR_SIZE_S\":return 32;case \"AD_AVATAR_SIZE_M\":return 36;case \"AD_AVATAR_SIZE_L\":return 56;case \"AD_AVATAR_SIZE_XL\":return 72;default:return 36}};\nJU=function(K,R,f,V,D,H){D=D===void 0?!1:D;H=H===void 0?!1:H;FW.call(this,K,{V:\"button\",D:\"ytp-ad-button-vm\"},\"ad-button\",R,f,V);this.buttonText=this.buttonIcon=null;this.hide();this.U=D;this.K=H};\nQHG=function(K,R,f,V,D){sl.call(this,K,{V:\"div\",Me:[\"ytp-ad-avatar-lockup-card--inactive\",\"ytp-ad-avatar-lockup-card\"],S:[{V:\"div\",D:\"ytp-ad-avatar-lockup-card__avatar_and_text_container\",S:[{V:\"div\",D:\"ytp-ad-avatar-lockup-card__text_container\"}]}]},\"ad-avatar-lockup-card\",R,f,V,D);this.startMilliseconds=0;this.adAvatar=new AU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.adAvatar);XU(this.element,this.adAvatar.element,0);this.headline=new U_(this.api,this.layoutId,\nthis.interactionLoggingClientData,this.H5);g.q(this,this.headline);this.headline.V0(this.IY(\"ytp-ad-avatar-lockup-card__text_container\"));this.headline.element.classList.add(\"ytp-ad-avatar-lockup-card__headline\");this.description=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.description);this.description.V0(this.IY(\"ytp-ad-avatar-lockup-card__text_container\"));this.description.element.classList.add(\"ytp-ad-avatar-lockup-card__description\");this.adButton=new JU(this.api,\nthis.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.adButton);this.adButton.V0(this.element);this.hide()};\nZ2=function(K,R,f,V){FW.call(this,K,{V:\"button\",D:\"ytp-skip-ad-button\",S:[{V:\"div\",D:\"ytp-skip-ad-button__text\"}]},\"skip-button\",R,f,V);var D=this;this.K=!1;this.J=this.IY(\"ytp-skip-ad-button__text\");this.transition=new g.K0(this,500,!1,100,function(){D.hide()});\ng.q(this,this.transition);this.U=new HQ(this.element,15E3,5E3,.5,.5,!0);g.q(this,this.U);this.hide()};\nNDe=function(K,R,f,V,D){sl.call(this,K,{V:\"div\",D:\"ytp-skip-ad\"},\"skip-ad\",R,f,V,D);this.skipOffsetMilliseconds=0;this.isSkippable=!1;this.X=new Z2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.X);this.X.V0(this.element);this.hide()};\nBA=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-visit-advertiser-link\"},\"visit-advertiser-link\",R,f,V);this.hide()};\nXa=function(K,R,f,V,D){FW.call(this,K,{V:\"div\",D:\"ytp-ad-player-overlay-layout\",S:[{V:\"div\",D:\"ytp-ad-player-overlay-layout__player-card-container\"},{V:\"div\",D:\"ytp-ad-player-overlay-layout__ad-info-container\"},{V:\"div\",D:\"ytp-ad-player-overlay-layout__skip-or-preview-container\"},{V:\"div\",D:\"ytp-ad-player-overlay-layout__ad-disclosure-banner-container\"}]},\"player-overlay-layout\",R,f,V);this.K=D;this.y0=this.IY(\"ytp-ad-player-overlay-layout__player-card-container\");this.U=this.IY(\"ytp-ad-player-overlay-layout__ad-info-container\");\nthis.Z=this.IY(\"ytp-ad-player-overlay-layout__skip-or-preview-container\");this.aY=this.IY(\"ytp-ad-player-overlay-layout__ad-disclosure-banner-container\");this.hide()};\nUnG=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-grid-card-text\",S:[{V:\"div\",D:\"ytp-ad-grid-card-text__metadata\",S:[{V:\"div\",D:\"ytp-ad-grid-card-text__metadata__headline\"},{V:\"div\",D:\"ytp-ad-grid-card-text__metadata__description\",S:[{V:\"div\",D:\"ytp-ad-grid-card-text__metadata__description__line\"},{V:\"div\",D:\"ytp-ad-grid-card-text__metadata__description__line\"}]}]},{V:\"div\",D:\"ytp-ad-grid-card-text__button\"}]},\"ad-grid-card-text\",R,f,V);this.headline=new U_(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.H5);g.q(this,this.headline);this.headline.V0(this.IY(\"ytp-ad-grid-card-text__metadata__headline\"));this.moreInfoButton=new JU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0);g.q(this,this.moreInfoButton);this.moreInfoButton.V0(this.IY(\"ytp-ad-grid-card-text__button\"))};\nkS=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-grid-card-collection\"},\"ad-grid-card-collection\",R,f,V);this.U=[]};\nTP=function(K,R,f,V,D,H,l){sl.call(this,K,H,l,R,f,V,D);this.playerProgressOffsetMs=0;this.K=!1};\nWWo=function(K){var R=g.Ea(\"html5-video-player\");R&&g.yb(R,\"ytp-ad-display-override\",K)};\ntjh=function(K,R,f,V,D){TP.call(this,K,R,f,V,D,{V:\"div\",D:\"ytp-display-underlay-text-grid-cards\",S:[{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container\",S:[{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container__header\",S:[{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar\"},{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container__header__headline\"}]},{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container__ad_grid_card_collection\"},\n{V:\"div\",D:\"ytp-display-underlay-text-grid-cards__content_container__ad_button\"}]}]},\"display-underlay-text-grid-cards\");this.adGridCardCollection=new kS(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.adGridCardCollection);this.adGridCardCollection.V0(this.IY(\"ytp-display-underlay-text-grid-cards__content_container__ad_grid_card_collection\"));this.adButton=new JU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.adButton);this.adButton.V0(this.IY(\"ytp-display-underlay-text-grid-cards__content_container__ad_button\"));\nthis.X=this.IY(\"ytp-display-underlay-text-grid-cards__content_container\");this.J=this.IY(\"ytp-display-underlay-text-grid-cards__content_container__header\")};\nPA=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-ad-details-line\"},\"ad-details-line\",R,f,V);this.U=[];this.hide()};\nnR=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-image-background\",S:[{V:\"img\",D:\"ytp-image-background-image\"}]},\"image-background\",R,f,V);this.hide()};\nAyc=function(K,R,f,V,D){sl.call(this,K,{V:\"svg\",D:\"ytp-timed-pie-countdown\",L:{viewBox:\"0 0 20 20\"},S:[{V:\"circle\",D:\"ytp-timed-pie-countdown__background\",L:{r:\"10\",cx:\"10\",cy:\"10\"}},{V:\"circle\",D:\"ytp-timed-pie-countdown__inner\",L:{r:\"5\",cx:\"10\",cy:\"10\"}},{V:\"circle\",D:\"ytp-timed-pie-countdown__outer\",L:{r:\"10\",cx:\"10\",cy:\"10\"}}]},\"timed-pie-countdown\",R,f,V,D);this.X=this.IY(\"ytp-timed-pie-countdown__inner\");this.K=Math.ceil(2*Math.PI*5);this.hide()};\nIf=function(K,R,f,V){FW.call(this,K,{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout\",L:{tabindex:\"0\"},S:[{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content\",S:[{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__instream-info-container\"},{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__lockup\",S:[{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container\"},{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container\"},\n{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container\"},{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container\"}]}]},{V:\"div\",D:\"ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container\"}]},\"video-interstitial-buttoned-centered\",R,f,V);this.K=null;this.J=this.IY(\"ytp-video-interstitial-buttoned-centered-layout__content__instream-info-container\");this.X=new Be;g.q(this,this.X);this.hide()};\nJyB=function(K){var R=g.Ea(\"html5-video-player\");R&&g.yb(R,\"ytp-ad-display-override\",K)};\nZAG=function(K){if(!K.adAvatar||!g.z(K.adAvatar,gw))return g.WR(Error(\"VideoInterstitialButtonedCenteredLayoutRenderer has no avatar.\")),!1;if(!K.headline)return g.WR(Error(\"VideoInterstitialButtonedCenteredLayoutRenderer has no headline.\")),!1;if(!K.adBadge||!g.z(K.adBadge,OW))return g.WR(Error(\"VideoInterstitialButtonedCenteredLayoutRenderer has no ad badge.\")),!1;if(!K.adButton||!g.z(K.adButton,jN))return g.WR(Error(\"VideoInterstitialButtonedCenteredLayoutRenderer has no action button.\")),!1;if(!K.adInfoRenderer||\n!g.z(K.adInfoRenderer,wh))return g.WR(Error(\"VideoInterstitialButtonedCenteredLayoutRenderer has no ad info button.\")),!1;K=K.durationMilliseconds||0;return typeof K!==\"number\"||K<=0?(g.WR(Error(\"durationMilliseconds was specified incorrectly in VideoInterstitialButtonedCenteredLayoutRenderer with a value of: \"+K)),!1):!0};\nqu=function(K,R){R=R===void 0?2:R;g.VQ.call(this);this.api=K;this.U=null;this.handler=new Be(this);g.q(this,this.handler);this.K=PeM;this.handler.j(this.api,\"presentingplayerstatechange\",this.Il);this.U=this.handler.j(this.api,\"progresssync\",this.eM);this.rC=R;this.rC===1&&this.eM()};\nMu=function(K,R,f){qf.call(this,K);this.api=K;this.H5=R;this.components={};K=new g.Y({V:\"div\",Me:[\"video-ads\",\"ytp-ad-module\"]});g.q(this,K);Ze&&g.dy(K.element,\"ytp-ads-tiny-mode\");this.J=new rs(K.element);g.q(this,this.J);g.nl(this.api,K.element,4);Iq(f)&&(f=new g.Y({V:\"div\",Me:[\"ytp-ad-underlay\"]}),g.q(this,f),this.K=new rs(f.element),g.q(this,this.K),g.nl(this.api,f.element,0));g.q(this,rqc())};\nBDN=function(K,R){K=g.By(K.components,R.id,null);K==null&&g.A$(Error(\"Component not found for element id: \"+R.id));return K||null};\nX1B=function(K){g.cz.call(this,K);var R=this;this.K=null;this.created=!1;this.X=K.C().Y(\"h5_use_refactored_get_ad_break\")?new Na2(this.player):new gP(this.player);this.J=function(){if(R.K!=null)return R.K;var V=new BaB({hZ:LR(R.U).hZ,US:LR(R.U).US,G:R.player,b$:LR(R.U).b$,A5:R.U.U.A5,n4:LR(R.U).n4,OL:R.U.U.OL});R.K=V.Xi;return R.K};\nthis.U=new O2B(this.player,this,this.X,this.J);g.q(this,this.U);var f=K.C();!FE(f)||g.jA(f)||mT(f)||(g.q(this,new Mu(K,LR(this.U).H5,LR(this.U).b$)),g.q(this,new j1z(K)))};\nkJB=function(K){K.created!==K.loaded&&dH(\"Created and loaded are out of sync\")};\nnBw=function(K){g.cz.prototype.load.call(K);var R=LR(K.U).b$;try{K.player.getRootNode().classList.add(\"ad-created\")}catch(F){dH(F instanceof Error?F:String(F))}var f=K.player.getVideoData(1),V=f&&f.videoId||\"\",D=f&&f.getPlayerResponse()||{},H=(D&&D.adPlacements||[]).map(function(F){return F.adPlacementRenderer}),l=((D==null?void 0:D.adSlots)||[]).map(function(F){return g.z(F,SH)});\nD=D.playerConfig&&D.playerConfig.daiConfig&&D.playerConfig.daiConfig.enableDai||!1;f&&f.qY();R=TDD(H,l,R,LR(K.U).zn);H=f&&f.clientPlaybackNonce||\"\";f=f&&f.q2||!1;l=1E3*K.player.getDuration(1);Pkw(K);K.U.U.Pq.Yh(H,l,f,R.VM,R.zg,R.VM,D,V)};\nPkw=function(K){var R,f;if(f=(R=K.player.getVideoData(1))==null||!R.q2)R=K.player.C(),f=FE(R)&&!g.dI(R)&&R.playerStyle===\"desktop-polymer\";f&&(K=K.player.getInternalApi(),K.addEventListener(\"updateKevlarOrC3Companion\",peh),K.addEventListener(\"updateEngagementPanelAction\",YXM),K.addEventListener(\"changeEngagementPanelVisibility\",mmh),window.addEventListener(\"yt-navigate-start\",u42))};\nbx=function(K,R){R===K.tF&&(K.tF=void 0)};\nIZ2=function(K){var R=LR(K.U).aC,f=R.J().CV(\"SLOT_TYPE_PLAYER_BYTES\",1);R=sU(R.Da.get(),1).clientPlaybackNonce;var V=!1;f=g.Z(f);for(var D=f.next();!D.done;D=f.next()){D=D.value;var H=D.slotType===\"SLOT_TYPE_PLAYER_BYTES\"&&D.slotEntryTrigger instanceof ST?D.slotEntryTrigger.rV:void 0;H&&H===R&&(V&&dH(\"More than 1 preroll playerBytes slot detected\",D),V=!0)}V||LR(K.U).m1.Ea()};\ngBo=function(K){var R=\"\";K=g.Z(LR(K.U).n4.iW.keys());for(var f=K.next();!f.done;f=K.next()){f=f.value;if(f.slotType===\"SLOT_TYPE_PLAYER_BYTES\"&&f.dU===\"core\")return!0;R+=f.slotType+\" \"}Math.random()<.01&&dH(\"Ads Playback Not Managed By Controlflow\",void 0,null,{slotTypes:R});return!1};\nOAN=function(K){K=g.Z(LR(K.U).n4.iW.values());for(var R=K.next();!R.done;R=K.next())if(R.value.layoutType===\"LAYOUT_TYPE_MEDIA_BREAK\")return!0;return!1};\nO$B=function(K,R,f,V,D,H,l){f=f===void 0?[]:f;V=V===void 0?\"\":V;D=D===void 0?\"\":D;var F=LR(K.U).b$,c=K.player.getVideoData(1);c&&c.getPlayerResponse();c&&c.qY();f=TDD(R,f,F,LR(K.U).zn);pVM(LR(K.U).Q9,V,f.VM,f.zg,R,D,H,l)};\nTDD=function(K,R,f,V){R={VM:[],zg:R};K=g.Z(K);for(var D=K.next();!D.done;D=K.next())if((D=D.value)&&D.renderer!=null){var H=D.renderer;if(!f.G.C().Y(\"html5_enable_vod_lasr_with_notify_pacf\")){var l=void 0,F=void 0,c=void 0,r=void 0,y=V;g.z((r=H.sandwichedLinearAdRenderer)==null?void 0:r.adVideoStart,sQ)?(l=g.z((c=H.sandwichedLinearAdRenderer)==null?void 0:c.adVideoStart,sQ),l=Hf_(l,y),g.kt(H.sandwichedLinearAdRenderer.adVideoStart,sQ,l)):g.z((F=H.linearAdSequenceRenderer)==null?void 0:F.adStart,sQ)&&\n(c=g.z((l=H.linearAdSequenceRenderer)==null?void 0:l.adStart,sQ),l=Hf_(c,y),g.kt(H.linearAdSequenceRenderer.adStart,sQ,l))}R.VM.push(D)}return R};\ng.pR=function(K){if(typeof DOMParser!=\"undefined\")return q2(new DOMParser,cAh(K),\"application/xml\");throw Error(\"Your browser does not support loading xml documents\");};\ng.YS=function(K){g.O.call(this);this.callback=K;this.U=new at(0,0,.4,0,.2,1,1,1);this.delay=new g.sH(this.next,window,this);g.q(this,this.delay)};\ng.jHz=function(K){var R=K.C();return R.aQ&&!R.X&&g.kN(R)?K.isEmbedsShortsMode()?(K=K.OT(),Math.min(K.width,K.height)>=315):!K.C7():!1};\ng.m8=function(K){g.Y.call(this,{V:\"div\",D:\"ytp-more-videos-view\",L:{tabIndex:\"-1\"}});var R=this;this.api=K;this.K=!0;this.X=new g.de(this);this.U=[];this.suggestionData=[];this.columns=this.containerWidth=this.N=this.J=this.scrollPosition=0;this.title=new g.Y({V:\"h2\",D:\"ytp-related-title\",Q0:\"{{title}}\"});this.previous=new g.Y({V:\"button\",Me:[\"ytp-button\",\"ytp-previous\"],L:{\"aria-label\":\"Show previous suggested videos\"},S:[g.oh()]});this.T=new g.YS(function(f){R.suggestions.element.scrollLeft=-f});\nthis.next=new g.Y({V:\"button\",Me:[\"ytp-button\",\"ytp-next\"],L:{\"aria-label\":\"Show more suggested videos\"},S:[g.SD()]});g.q(this,this.X);this.B=K.C().J;g.q(this,this.title);this.title.V0(this.element);this.suggestions=new g.Y({V:\"div\",D:\"ytp-suggestions\"});g.q(this,this.suggestions);this.suggestions.V0(this.element);g.q(this,this.previous);this.previous.V0(this.element);this.previous.listen(\"click\",this.wv,this);g.q(this,this.T);q4o(this);g.q(this,this.next);this.next.V0(this.element);this.next.listen(\"click\",\nthis.Rl,this);this.X.j(this.api,\"appresize\",this.xl);this.X.j(this.api,\"fullscreentoggled\",this.FB);this.X.j(this.api,\"videodatachange\",this.onVideoDataChange);this.xl(this.api.Ft().getPlayerSize());this.onVideoDataChange()};\nq4o=function(K){for(var R={fI:0};R.fI<16;R={fI:R.fI},++R.fI){var f=new g.Y({V:\"a\",D:\"ytp-suggestion-link\",L:{href:\"{{link}}\",target:K.api.C().EF,\"aria-label\":\"{{aria_label}}\"},S:[{V:\"div\",D:\"ytp-suggestion-image\"},{V:\"div\",D:\"ytp-suggestion-overlay\",L:{style:\"{{blink_rendering_hack}}\",\"aria-hidden\":\"{{aria_hidden}}\"},S:[{V:\"div\",D:\"ytp-suggestion-title\",Q0:\"{{title}}\"},{V:\"div\",D:\"ytp-suggestion-author\",Q0:\"{{author_and_views}}\"},{V:\"div\",L:{\"data-is-live\":\"{{is_live}}\"},D:\"ytp-suggestion-duration\",\nQ0:\"{{duration}}\"}]}]});g.q(K,f);var V=f.IY(\"ytp-suggestion-link\");g.Ds(V,\"transitionDelay\",R.fI/20+\"s\");K.X.j(V,\"click\",function(D){return function(H){var l=D.fI;if(K.K){var F=K.suggestionData[l],c=F.sessionData;K.B&&K.api.Y(\"web_player_log_click_before_generating_ve_conversion_params\")?(K.api.logClick(K.U[l].element),l=F.mq(),F={},g.kb(K.api,F),l=g.B9(l,F),g.cW(l,K.api,H)):g.FK(H,K.api,K.B,c||void 0)&&K.api.V4(F.videoId,c,F.playlistId)}else H.preventDefault(),document.activeElement.blur()}}(R));\nf.V0(K.suggestions.element);K.U.push(f);K.api.createServerVe(f.element,f)}};\nMjc=function(K){if(K.api.C().Y(\"web_player_log_click_before_generating_ve_conversion_params\"))for(var R=Math.floor(-K.scrollPosition/(K.J+8)),f=Math.min(R+K.columns,K.suggestionData.length)-1;R<=f;R++)K.api.logVisibility(K.U[R].element,!0)};\ng.GP=function(K){var R=K.api.uH()?32:16;R=K.N/2+R;K.next.element.style.bottom=R+\"px\";K.previous.element.style.bottom=R+\"px\";R=K.scrollPosition;var f=K.containerWidth-K.suggestionData.length*(K.J+8);g.yb(K.element,\"ytp-scroll-min\",R>=0);g.yb(K.element,\"ytp-scroll-max\",R<=f)};\np1B=function(K){for(var R=K.suggestionData.length,f=0;f>>0)+\"_\",D=0;return R});\npB(\"Symbol.iterator\",function(K){if(K)return K;K=Symbol(\"Symbol.iterator\");me(Array.prototype,K,{configurable:!0,writable:!0,value:function(){return XcM(Now(this))}});\nreturn K});\npB(\"Promise\",function(K){function R(l){this.U=0;this.X=void 0;this.K=[];this.N=!1;var F=this.J();try{l(F.resolve,F.reject)}catch(c){F.reject(c)}}\nfunction f(){this.U=null}\nfunction V(l){return l instanceof R?l:new R(function(F){F(l)})}\nif(K)return K;f.prototype.K=function(l){if(this.U==null){this.U=[];var F=this;this.X(function(){F.B()})}this.U.push(l)};\nvar D=g.Yv.setTimeout;f.prototype.X=function(l){D(l,0)};\nf.prototype.B=function(){for(;this.U&&this.U.length;){var l=this.U;this.U=[];for(var F=0;F0&&f>0;)if(V[--f]!=R[--D])return!1;return D<=0}});\npB(\"Array.prototype.find\",function(K){return K?K:function(R,f){return k25(this,R,f).z5}});\npB(\"Array.prototype.entries\",function(K){return K?K:function(){return ES(this,function(R,f){return[R,f]})}});\npB(\"Array.prototype.keys\",function(K){return K?K:function(){return ES(this,function(R){return R})}});\npB(\"String.prototype.startsWith\",function(K){return K?K:function(R,f){var V=xV(this,R,\"startsWith\");R+=\"\";var D=V.length,H=R.length;f=Math.max(0,Math.min(f|0,V.length));for(var l=0;l=H}});\npB(\"Number.isFinite\",function(K){return K?K:function(R){return typeof R!==\"number\"?!1:!isNaN(R)&&R!==Infinity&&R!==-Infinity}});\npB(\"String.prototype.repeat\",function(K){return K?K:function(R){var f=xV(this,null,\"repeat\");if(R<0||R>1342177279)throw new RangeError(\"Invalid count value\");R|=0;for(var V=\"\";R;)if(R&1&&(V+=f),R>>>=1)f+=f;return V}});\npB(\"Object.entries\",function(K){return K?K:function(R){var f=[],V;for(V in R)eh(R,V)&&f.push([V,R[V]]);return f}});\npB(\"Number.MAX_SAFE_INTEGER\",function(){return 9007199254740991});\npB(\"Number.MIN_SAFE_INTEGER\",function(){return-9007199254740991});\npB(\"Array.from\",function(K){return K?K:function(R,f,V){f=f!=null?f:function(F){return F};\nvar D=[],H=typeof Symbol!=\"undefined\"&&Symbol.iterator&&R[Symbol.iterator];if(typeof H==\"function\"){R=H.call(R);for(var l=0;!(H=R.next()).done;)D.push(f.call(V,H.value,l++))}else for(H=R.length,l=0;l>>0;if(R===0)return 32;var f=0;(R&4294901760)===0&&(R<<=16,f+=16);(R&4278190080)===0&&(R<<=8,f+=8);(R&4026531840)===0&&(R<<=4,f+=4);(R&3221225472)===0&&(R<<=2,f+=2);(R&2147483648)===0&&f++;return f}});\npB(\"Number.isNaN\",function(K){return K?K:function(R){return typeof R===\"number\"&&isNaN(R)}});\npB(\"Array.prototype.values\",function(K){return K?K:function(){return ES(this,function(R,f){return f})}});\npB(\"Array.prototype.fill\",function(K){return K?K:function(R,f,V){var D=this.length||0;f<0&&(f=Math.max(0,D+f));if(V==null||V>D)V=D;V=Number(V);V<0&&(V=Math.max(0,D+V));for(f=Number(f||0);f0&&f?f.repeat(Math.ceil(R/f.length)).substring(0,R):\"\")+V}});\npB(\"Array.prototype.findIndex\",function(K){return K?K:function(R,f){return k25(this,R,f).eA}});\npB(\"Promise.prototype.finally\",function(K){return K?K:function(R){return this.then(function(f){return Promise.resolve(R()).then(function(){return f})},function(f){return Promise.resolve(R()).then(function(){throw f;\n})})}});\npB(\"Math.imul\",function(K){return K?K:function(R,f){R=Number(R);f=Number(f);var V=R&65535,D=f&65535;return V*D+((R>>>16&65535)*D+V*(f>>>16&65535)<<16>>>0)|0}});\npB(\"Math.sign\",function(K){return K?K:function(R){R=Number(R);return R===0||isNaN(R)?R:R>0?1:-1}});\npB(\"WeakSet\",function(K){function R(f){this.U=new WeakMap;if(f){f=g.Z(f);for(var V;!(V=f.next()).done;)this.add(V.value)}}\nif(function(){if(!K||!Object.seal)return!1;try{var f=Object.seal({}),V=Object.seal({}),D=new K([f]);if(!D.has(f)||D.has(V))return!1;D.delete(f);D.add(V);return!D.has(f)&&D.has(V)}catch(H){return!1}}())return K;\nR.prototype.add=function(f){this.U.set(f,!0);return this};\nR.prototype.has=function(f){return this.U.has(f)};\nR.prototype.delete=function(f){return this.U.delete(f)};\nreturn R});\npB(\"Array.prototype.copyWithin\",function(K){function R(f){f=Number(f);return f===Infinity||f===-Infinity?f:f|0}\nreturn K?K:function(f,V,D){var H=this.length;f=R(f);V=R(V);D=D===void 0?H:R(D);f=f<0?Math.max(H+f,0):Math.min(f,H);V=V<0?Math.max(H+V,0):Math.min(V,H);D=D<0?Math.max(H+D,0):Math.min(D,H);if(fV;)--D in this?this[--f]=this[D]:delete this[--f];return this}});\nMB(\"copyWithin\",function(K){return K?K:Array.prototype.copyWithin});\npB(\"Array.prototype.at\",function(K){return K?K:ai});\nMB(\"at\",function(K){return K?K:ai});\npB(\"String.prototype.at\",function(K){return K?K:ai});\npB(\"Promise.withResolvers\",function(K){return K?K:function(){var R,f;return{promise:new Promise(function(V,D){R=V;f=D}),\nresolve:R,reject:f}}});\npB(\"Array.prototype.findLastIndex\",function(K){return K?K:function(R,f){return Toz(this,R,f).eA}});\nMB(\"findLastIndex\",function(K){return K?K:function(R,f){return Toz(this,R,f).eA}});\npB(\"Number.parseInt\",function(K){return K||parseInt});var Yd,T$,P_z;Yd=Yd||{};g.Nz=this||self;T$=\"closure_uid_\"+(Math.random()*1E9>>>0);P_z=0;g.Mz(bE,Error);bE.prototype.name=\"CustomError\";var K1h;var bB_,Bi,V3;bB_=Array.prototype.indexOf?function(K,R){return Array.prototype.indexOf.call(K,R,void 0)}:function(K,R){if(typeof K===\"string\")return typeof R!==\"string\"||R.length!=1?-1:K.indexOf(R,0);\nfor(var f=0;f=0;f--)if(f in K&&K[f]===R)return f;return-1};\ng.La=Array.prototype.forEach?function(K,R,f){Array.prototype.forEach.call(K,R,f)}:function(K,R,f){for(var V=K.length,D=typeof K===\"string\"?K.split(\"\"):K,H=0;H=.3:this.Ah>=.5};var uT={YTr:0,yQa:1},Yah={NONE:0,i8r:1,m$Z:2};var H8o=\"constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf\".split(\" \");IK.prototype.getValue=function(){return this.K};\ng.x(gJ,IK);gJ.prototype.X=function(K){this.K===null&&g.Ah(this.J,K)&&(this.K=K)};\ng.x(Oh,IK);Oh.prototype.X=function(K){this.K===null&&typeof K===\"number\"&&(this.K=K)};\ng.x(jc,IK);jc.prototype.X=function(K){this.K===null&&typeof K===\"string\"&&(this.K=K)};Md.prototype.disable=function(){this.K=!1};\nMd.prototype.enable=function(){this.K=!0};\nMd.prototype.isEnabled=function(){return this.K};\nMd.prototype.reset=function(){this.U={};this.K=!0;this.X={}};var H5=document,bu=window;var KDD=A_(1,!0),Hb=A_(610401301,!1);A_(899588437,!1);var Rlz=A_(772657768,KDD),frw=A_(513659523,!1),VBN=A_(568333945,!0),CN_=A_(1331761403,!1);A_(651175828,!1);A_(722764542,!1);A_(748402145,!1);A_(748402146,!1);var g7_=A_(748402147,!0),ux=A_(824648567,!1);A_(824656860,!1);A_(333098724,!1);A_(2147483644,!1);A_(2147483645,!1);A_(2147483646,KDD);A_(2147483647,!0);var $7=!!g.t_(\"yt.config_.EXPERIMENTS_FLAGS.html5_enable_client_hints_override\");var RE=String.prototype.trim?function(K){return K.trim()}:function(K){return/^[\\s\\xa0]*([\\s\\S]*?)[\\s\\xa0]*$/.exec(K)[1]},A_o=/&/g,J_v=//g,BWN=/\"/g,XTv=/'/g,k$2=/\\x00/g,t8G=/[\\x00&<>\"']/;var lm,DsN=g.Nz.navigator;lm=DsN?DsN.userAgentData||null:null;var vVv=globalThis.trustedTypes,Sv;vb.prototype.toString=function(){return this.U+\"\"};x7.prototype.toString=function(){return this.U};\nvar ziw=new x7(\"about:invalid#zClosurez\");var FZD=Q7(\"tel\"),lyv=Q7(\"sms\"),wT_=[Q7(\"data\"),Q7(\"http\"),Q7(\"https\"),Q7(\"mailto\"),Q7(\"ftp\"),new aE(function(K){return/^[^:]*([/?#]|$)/.test(K)})],xzo=/^\\s*(?!javascript:)(?:[\\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;Al.prototype.toString=function(){return this.U+\"\"};k7.prototype.toString=function(){return this.U+\"\"};IE.prototype.toString=function(){return this.U};var OA={};g.Hd_=String.prototype.repeat?function(K,R){return K.repeat(R)}:function(K,R){return Array(R+1).join(K)};KT[\" \"]=function(){};var $O,wL,CLB,$sw,lrv,dsN,J1,Ze,FD2;g.Bg=rN();g.ip=r_N();g.Gr=F8(\"Edge\");g.$_=g.Gr||g.ip;$O=F8(\"Gecko\")&&!(KC(g.DP(),\"WebKit\")&&!F8(\"Edge\"))&&!(F8(\"Trident\")||F8(\"MSIE\"))&&!F8(\"Edge\");g.QJ=KC(g.DP(),\"WebKit\")&&!F8(\"Edge\");wL=ev();CLB=O8M();g.Dx=gVG();$sw=sA();lrv=F8(\"iPad\");dsN=F8(\"iPod\");J1=CC();Ze=KC(g.DP(),\"KaiOS\");\na:{var cKM=\"\",rKo=function(){var K=g.DP();if($O)return/rv:([^\\);]+)(\\)|;)/.exec(K);if(g.Gr)return/Edge\\/([\\d\\.]+)/.exec(K);if(g.ip)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(K);if(g.QJ)return/WebKit\\/(\\S+)/.exec(K);if(g.Bg)return/(?:Version)[ \\/]?(\\S+)/.exec(K)}();\nrKo&&(cKM=rKo?rKo[1]:\"\");if(g.ip){var sW,yKw=g.Nz.document;sW=yKw?yKw.documentMode:void 0;if(sW!=null&&sW>parseFloat(cKM)){FD2=String(sW);break a}}FD2=cKM}var b82=FD2,qS5={};var Ra,f4;g.dV=y7();Ra=sA()||F8(\"iPod\");f4=F8(\"iPad\");g.XC=hio();g.Du=hl();g.v7=oE()&&!CC();var eKM=!g.ip&&!oE();g.w=g.Ha.prototype;g.w.clone=function(){return new g.Ha(this.x,this.y)};\ng.w.equals=function(K){return K instanceof g.Ha&&$U(this,K)};\ng.w.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};\ng.w.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};\ng.w.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};\ng.w.scale=function(K,R){this.x*=K;this.y*=typeof R===\"number\"?R:K;return this};g.w=g.lu.prototype;g.w.clone=function(){return new g.lu(this.width,this.height)};\ng.w.aspectRatio=function(){return this.width/this.height};\ng.w.isEmpty=function(){return!FU(this)};\ng.w.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};\ng.w.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\ng.w.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};\ng.w.scale=function(K,R){this.width*=K;this.height*=typeof R===\"number\"?R:K;return this};rE.prototype.toString=function(){return this.U};\nvar ca={};new rE(ca,\"\");var mz2=/^[a-z][a-z\\d-]*$/i,G$N=\"APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE\".split(\" \"),sio=\"AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR\".split(\" \"),eiB=[\"action\",\"formaction\",\"href\"];var R_M={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",frameborder:\"frameBorder\",height:\"height\",maxlength:\"maxLength\",nonce:\"nonce\",role:\"role\",rowspan:\"rowSpan\",type:\"type\",usemap:\"useMap\",valign:\"vAlign\",width:\"width\"};g.w=oz.prototype;g.w.ud=function(K){return va(this.U,K)};\ng.w.getElementsByTagName=function(K,R){return(R||this.U).getElementsByTagName(String(K))};\ng.w.IY=function(K){return g.Ea(K,this.U)};\ng.w.setProperties=az;g.w.createElement=function(K){return Ua(this.U,K)};\ng.w.appendChild=g.JB;g.w.append=function(K,R){Ha_(SL(K),K,arguments,1)};\ng.w.canHaveChildren=function(K){if(K.nodeType!=1)return!1;switch(K.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return!1}return!0};\ng.w.removeNode=g.kU;g.w.getChildren=function(K){return K.children!=void 0?K.children:Array.prototype.filter.call(K.childNodes,function(R){return R.nodeType==1})};\ng.w.contains=g.Ta;g.w.isFocusable=nT;Oa.prototype.now=function(){return 0};\nOa.prototype.K=function(){return 0};\nOa.prototype.X=function(){return 0};\nOa.prototype.U=function(){return 0};g.x(MV,Oa);MV.prototype.now=function(){return qV()&&bu.performance.now?bu.performance.now():Oa.prototype.now.call(this)};\nMV.prototype.K=function(){return qV()&&bu.performance.memory?bu.performance.memory.totalJSHeapSize||0:Oa.prototype.K.call(this)};\nMV.prototype.X=function(){return qV()&&bu.performance.memory?bu.performance.memory.usedJSHeapSize||0:Oa.prototype.X.call(this)};\nMV.prototype.U=function(){return qV()&&bu.performance.memory?bu.performance.memory.jsHeapSizeLimit||0:Oa.prototype.U.call(this)};var uu2=function(){if(!g.Nz.addEventListener||!Object.defineProperty)return!1;var K=!1,R=Object.defineProperty({},\"passive\",{get:function(){K=!0}});\ntry{var f=function(){};\ng.Nz.addEventListener(\"test\",f,R);g.Nz.removeEventListener(\"test\",f,R)}catch(V){}return K}();var tuD=dde(\"AnimationEnd\"),N$=dde(\"TransitionEnd\");g.w=sa.prototype;g.w.getHeight=function(){return this.bottom-this.top};\ng.w.clone=function(){return new sa(this.top,this.right,this.bottom,this.left)};\ng.w.contains=function(K){return this&&K?K instanceof sa?K.left>=this.left&&K.right<=this.right&&K.top>=this.top&&K.bottom<=this.bottom:K.x>=this.left&&K.x<=this.right&&K.y>=this.top&&K.y<=this.bottom:!1};\ng.w.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};\ng.w.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};\ng.w.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};\ng.w.scale=function(K,R){R=typeof R===\"number\"?R:K;this.left*=K;this.right*=K;this.top*=R;this.bottom*=R;return this};g.w=g.Rs.prototype;g.w.clone=function(){return new g.Rs(this.left,this.top,this.width,this.height)};\ng.w.contains=function(K){return K instanceof g.Ha?K.x>=this.left&&K.x<=this.left+this.width&&K.y>=this.top&&K.y<=this.top+this.height:this.left<=K.left&&this.left+this.width>=K.left+K.width&&this.top<=K.top&&this.top+this.height>=K.top+K.height};\ng.w.getSize=function(){return new g.lu(this.width,this.height)};\ng.w.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};\ng.w.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\ng.w.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};\ng.w.scale=function(K,R){R=typeof R===\"number\"?R:K;this.left*=K;this.width*=K;this.top*=R;this.height*=R;return this};var chz={};var vnM=ma(function(){var K=!1;try{var R=Object.defineProperty({},\"passive\",{get:function(){K=!0}});\ng.Nz.addEventListener(\"test\",null,R)}catch(f){}return K});L12.prototype.isVisible=function(){return z4(H5)===1};var aLe=RegExp(\"^https?://(\\\\w|-)+\\\\.cdn\\\\.ampproject\\\\.(net|org)(\\\\?|/|$)\");UY.prototype.y9=function(K,R,f){K=K+\"//\"+R+f;var V=AhN(this)-f.length;if(V<0)return\"\";this.U.sort(function(r,y){return r-y});\nf=null;R=\"\";for(var D=0;D=c.length){V-=c.length;K+=c;R=this.X;break}f=f==null?H:f}}V=\"\";f!=null&&(V=\"\"+R+\"trn=\"+f);return K+V};var ylz=Xd(function(K){return typeof K===\"number\"}),yR=Xd(function(K){return typeof K===\"string\"}),hge=Xd(function(K){return typeof K===\"boolean\"}),q3=Xd(function(K){return K!=null&&typeof K===\"object\"&&typeof K.then===\"function\"}),avc=Xd(function(K){return typeof K===\"function\"}),hlz=Xd(function(K){return!!K&&(typeof K===\"object\"||typeof K===\"function\")});var Udw={ujD:\"allow-forms\",X1e:\"allow-modals\",Iq0:\"allow-orientation-lock\",RE5:\"allow-pointer-lock\",gh5:\"allow-popups\",w1Z:\"allow-popups-to-escape-sandbox\",yNr:\"allow-presentation\",JND:\"allow-same-origin\",VQ5:\"allow-scripts\",BkF:\"allow-top-navigation\",hEZ:\"allow-top-navigation-by-user-activation\"},kBG=ma(function(){return W1z()});T4.prototype.setInterval=function(K,R){return bu.setInterval(K,R)};\nT4.prototype.clearInterval=function(K){bu.clearInterval(K)};\nT4.prototype.setTimeout=function(K,R){return bu.setTimeout(K,R)};\nT4.prototype.clearTimeout=function(K){bu.clearTimeout(K)};var BZ=void 0,Z8,$VM=typeof TextDecoder!==\"undefined\",Mcw,qhe=typeof String.prototype.isWellFormed===\"function\",jKD=typeof TextEncoder!==\"undefined\";var GB2={},M8=null,ulw=$O||g.QJ||typeof g.Nz.btoa==\"function\";var $2z=typeof Uint8Array!==\"undefined\",Rgh=!g.ip&&typeof btoa===\"function\",fPM=/[-_.]/g,e_5={\"-\":\"+\",_:\"/\",\".\":\"=\"},pU={};b6.prototype.isEmpty=function(){return this.U==null};\nb6.prototype.sizeBytes=function(){var K=G4(this);return K?K.length:0};\nvar HCv;var lPw=void 0;var fG=typeof Symbol===\"function\"&&typeof Symbol()===\"symbol\",oyG=Ro(\"jas\",void 0,!0),Ik=Ro(void 0,\"1oa\"),CG=Ro(void 0,Symbol()),SnN=Ro(void 0,\"0ub\"),Jlw=Ro(void 0,\"0ubs\"),BE2=Ro(void 0,\"0ubsb\"),jEB=Ro(void 0,\"0actk\"),G6=Ro(\"m_m\",\"wPa\",!0),XbG=Ro(void 0,\"vps\"),idB=Ro();Math.max.apply(Math,g.X(Object.values({Ac5:1,mle:2,qfZ:4,hmZ:8,oLY:16,Xgt:32,t2t:64,kT2:128,hY5:256,ELt:512,qSF:1024,jMt:2048,Iga:4096,fTQ:8192})));var FpG={fa5:{value:0,configurable:!0,writable:!0,enumerable:!1}},d2G=Object.defineProperties,VR=fG?oyG:\"fa5\",zu,vyM=[];H4(vyM,7);zu=Object.freeze(vyM);var uF={},lF={},Gdc=Object.freeze({}),kr={},c4={};var ht=typeof g.Nz.BigInt===\"function\"&&typeof g.Nz.BigInt(0)===\"bigint\";var DS=Xd(function(K){return ht?K>=LDc&&K<=wwe:K[0]===\"-\"?o7G(K,zlo):o7G(K,xsG)}),zlo=Number.MIN_SAFE_INTEGER.toString(),LDc=ht?BigInt(Number.MIN_SAFE_INTEGER):void 0,xsG=Number.MAX_SAFE_INTEGER.toString(),wwe=ht?BigInt(Number.MAX_SAFE_INTEGER):void 0;var ROD=typeof Uint8Array.prototype.slice===\"function\",v4=0,LG=0,Xae;var nG=typeof BigInt===\"function\"?BigInt.asIntN:void 0,QE5=typeof BigInt===\"function\"?BigInt.asUintN:void 0,bF=Number.isSafeInteger,ZO=Number.isFinite,MD=Math.trunc,v7h=/^-?([1-9][0-9]*|0)(\\.[0-9]+)?$/;var kdh={};var Eyv={xQF:!0};var fV;var TNw,Pmh;var CmB=oo(0),eF={};vZ.prototype.init=function(K,R,f,V){var D=V===void 0?{}:V;V=D.Ln===void 0?!1:D.Ln;D=D.rJ===void 0?!1:D.rJ;this.Ln=V;this.rJ=D;K&&(K=iS(K,this.rJ),this.K=K.buffer,this.B=K.U,this.J=R||0,this.X=f!==void 0?this.J+f:this.K.length,this.U=this.J)};\nvZ.prototype.free=function(){this.clear();Uo.length<100&&Uo.push(this)};\nvZ.prototype.clear=function(){this.K=null;this.B=!1;this.U=this.X=this.J=0;this.Ln=!1};\nvZ.prototype.reset=function(){this.U=this.J};\nvar Uo=[];WZ.prototype.free=function(){this.U.clear();this.K=this.X=-1;t8.length<100&&t8.push(this)};\nWZ.prototype.reset=function(){this.U.reset();this.J=this.U.U;this.K=this.X=-1};\nvar t8=[];var cBB,yBN;nJ.prototype.length=function(){return this.U.length};\nnJ.prototype.end=function(){var K=this.U;this.U=[];return K};var Yr=bS(),ar_=bS(),QZG=bS(),NK_=bS(),Use=bS(),WDw=bS(),tBo=bS(),AKo=bS(),JKN=bS(),Zdo=bS(),BKw=bS();pJ.prototype.toJSON=function(){return $T(this)};\npJ.prototype.PB=function(K){return JSON.stringify($T(this,K))};\npJ.prototype.clone=function(){var K=this.Sr,R=K[VR]|0;return c$(this,K,R)?r4(this,K,!0):new this.constructor(Ft(K,R,!1))};\npJ.prototype[G6]=uF;pJ.prototype.toString=function(){return this.Sr.toString()};var EUe=Gb(function(K,R,f,V,D){if(K.K!==2)return!1;J8(K,g4(R,V,f),D);return!0},xVz),azw=Gb(function(K,R,f,V,D){if(K.K!==2)return!1;\nJ8(K,g4(R,V,f),D);return!0},xVz),H9=Symbol(),KD=Symbol(),Vu=Symbol(),AB2=Symbol(),UVw=Symbol(),uS,so;var Xwh=oo(0),k8B=d1(function(K,R,f){if(K.K!==1)return!1;c9(R,f,QU(K.U));return!0},r1,JKN),TK5=d1(function(K,R,f){if(K.K!==1)return!1;\nK=QU(K.U);c9(R,f,K===0?void 0:K);return!0},r1,JKN),PDB=d1(function(K,R,f,V){if(K.K!==1)return!1;\nP$(R,f,V,QU(K.U));return!0},r1,JKN),ny5=d1(function(K,R,f){if(ux)return K.K!==0?K=!1:(c9(R,f,wk(K.U,Uq)),K=!0),K;\nif(K.K!==0)return!1;c9(R,f,wk(K.U,QR));return!0},yu,tBo),Ir2=d1(function(K,R,f){if(ux)return K.K!==0?R=!1:(K=wk(K.U,Uq),c9(R,f,K===Xwh?void 0:K),R=!0),R;\nif(K.K!==0)return!1;K=wk(K.U,QR);c9(R,f,K===0?void 0:K);return!0},yu,tBo),gyD=d1(function(K,R,f,V){if(ux)return K.K!==0?K=!1:(P$(R,f,V,wk(K.U,Uq)),K=!0),K;\nif(K.K!==0)return!1;P$(R,f,V,wk(K.U,QR));return!0},yu,tBo),OdD=d1(function(K,R,f){if(K.K!==0)return!1;\nc9(R,f,zb(K.U));return!0},h3,NK_),jZN=d1(function(K,R,f){if(K.K!==0)return!1;\nK=zb(K.U);c9(R,f,K===0?void 0:K);return!0},h3,NK_),qnz=d1(function(K,R,f,V){if(K.K!==0)return!1;\nP$(R,f,V,zb(K.U));return!0},h3,NK_),MB5=d1(function(K,R,f){if(ux)return K.K!==1?K=!1:(c9(R,f,al(K.U)),K=!0),K;\nif(K.K!==1)return!1;c9(R,f,Eo(K.U));return!0},function(K,R,f){La_(K,f,NN5(R))},AKo),bdN=Fv(function(K,R,f){if(ux)return K.K!==1&&K.K!==2?K=!1:(R=ZS(R,R[VR]|0,f),K.K==2?dVe(K,al,R):R.push(al(K.U)),K=!0),K;\nif(K.K!==1&&K.K!==2)return!1;R=ZS(R,R[VR]|0,f);K.K==2?dVe(K,Eo,R):R.push(Eo(K.U));return!0},function(K,R,f){R=l5(NN5,R,!1);\nif(R!=null)for(var V=0;V>>0);return!0},function(K,R,f){R=T6(R);\nR!=null&&R!=null&&(qU(K,f,0),gk(K.U,R))},Use),Vo=d1(function(K,R,f){if(K.K!==0)return!1;\nc9(R,f,zb(K.U));return!0},function(K,R,f){R=ko(R);\nR!=null&&(R=parseInt(R,10),qU(K,f,0),oUN(K.U,R))},BKw);var nU5=new Map;g.x(Iz2,FaM);OT2.prototype.register=function(){KT(this)};g.x(i5,pJ);i5.prototype.X=qah([0,TK5,Ir2,-2,jZN]);paM.prototype.aG=function(K){var R=this.U[K.key];if(K.valueType===\"proto\"){try{var f=JSON.parse(R);if(Array.isArray(f))return f}catch(V){}return K.defaultValue}return typeof R===typeof K.defaultValue?R:K.defaultValue};var mVe={C5U:1,le:2,bMU:3,1:\"POSITION\",2:\"VISIBILITY\",3:\"MONITOR_VISIBILITY\"};uUB.prototype.K9=function(K){if(typeof K===\"string\"&&K.length!=0){var R=this.w4;if(R.K){K=K.split(\"&\");for(var f=K.length-1;f>=0;f--){var V=K[f].split(\"=\"),D=decodeURIComponent(V[0]);V.length>1?(V=decodeURIComponent(V[1]),V=/^[0-9]+$/g.exec(V)?parseInt(V,10):V):V=1;(D=R.U[D])&&D.X(V)}}}};var DV=null;var E0=g.Nz.performance,elN=!!(E0&&E0.mark&&E0.measure&&E0.clearMarks),zw=ma(function(){var K;if(K=elN){var R=R===void 0?window:R;if(DV===null){DV=\"\";try{K=\"\";try{K=R.top.location.hash}catch(V){K=R.location.hash}if(K){var f=K.match(/\\bdeid=([\\d,]+)/);DV=f?f[1]:\"\"}}catch(V){}}R=DV;K=!!R.indexOf&&R.indexOf(\"1337\")>=0}return K});\nxP.prototype.disable=function(){this.U=!1;this.events!==this.K.google_js_reporting_queue&&(zw()&&g.La(this.events,fs5),this.events.length=0)};\nxP.prototype.start=function(K,R){if(!this.U)return null;var f=Kb5()||eOo();K=new RK5(K,R,f);R=\"goog_\"+K.label+\"_\"+K.uniqueId+\"_start\";E0&&zw()&&E0.mark(R);return K};\nxP.prototype.end=function(K){if(this.U&&typeof K.value===\"number\"){var R=Kb5()||eOo();K.duration=R-K.value;R=\"goog_\"+K.label+\"_\"+K.uniqueId+\"_end\";E0&&zw()&&E0.mark(R);!this.U||this.events.length>2048||this.events.push(K)}};var VXv=RegExp(\"^(?:([^:/?#.]+):)?(?://(?:([^\\\\\\\\/?#]*)@)?([^\\\\\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\\\\\/?#]|$))?([^?#]+)?(?:\\\\?([^#]*))?(?:#([\\\\s\\\\S]*))?$\"),Tw=/#|$/,Fb2=/[?&]($|#)/;rQh.prototype.e6=function(K,R,f,V,D){D=D||this.AP;try{var H=new UY;H.U.push(1);H.K[1]=Wi(\"context\",K);R.error&&R.meta&&R.id||(R=new jx(qw(R)));if(R.msg){var l=R.msg.substring(0,512);H.U.push(2);H.K[2]=Wi(\"msg\",l)}var F=R.meta||{};if(this.fG)try{this.fG(F)}catch(v){}if(V)try{V(F)}catch(v){}V=[F];H.U.push(3);H.K[3]=V;var c=NJz();if(c.K){var r=c.K.url||\"\";H.U.push(4);H.K[4]=Wi(\"top\",r)}var y={url:c.U.url||\"\"};if(c.U.url){var h=g.Qu(c.U.url);var S=a_(h[1],null,h[3],h[4])}else S=\"\";r=[y,{url:S}];H.U.push(5);\nH.K[5]=r;sze(this.U,D,H,f)}catch(v){try{sze(this.U,D,{context:\"ecmserr\",rctx:K,msg:qw(v),url:c&&c.U.url},f)}catch(L){}}return this.Vm};\ng.x(jx,Cu5);var g1,O0,I_=new xP;g1=new function(){var K=\"https:\";bu&&bu.location&&bu.location.protocol===\"http:\"&&(K=\"http:\");this.K=K;this.U=.01};\nO0=new rQh;bu&&bu.document&&(bu.document.readyState==\"complete\"?hKo():I_.U&&wB(bu,\"load\",function(){hKo()}));var iUB=Date.now(),u5=-1,mR=-1,WGz,s0=-1,Gw=!1;CD.prototype.equals=function(K,R){return!!K&&(!(R===void 0?0:R)||this.volume==K.volume)&&this.X==K.X&&eL(this.U,K.U)&&!0};ex.prototype.ud=function(){return this.N};\nex.prototype.equals=function(K,R){return this.J.equals(K.J,R===void 0?!1:R)&&this.N==K.N&&eL(this.X,K.X)&&eL(this.T,K.T)&&this.U==K.U&&this.B==K.B&&this.K==K.K&&this.Z==K.Z};var KJ_={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},f7={s7:\"start\",Cl:\"firstquartile\",gN:\"midpoint\",NK:\"thirdquartile\",COMPLETE:\"complete\",ERROR:\"error\",RX:\"metric\",PAUSE:\"pause\",YA:\"resume\",TB:\"skip\",Cm:\"viewable_impression\",yJ:\"mute\",dN:\"unmute\",lq:\"fullscreen\",Ll:\"exitfullscreen\",fl:\"bufferstart\",Gx:\"bufferfinish\",r9:\"fully_viewable_audible_half_duration_impression\",IX:\"measurable_impression\",w9:\"abandon\",d9:\"engagedview\",xt:\"impression\",sQ:\"creativeview\",LOADED:\"loaded\",\nZM0:\"progress\",CLOSE:\"close\",m45:\"collapse\",tfe:\"overlay_resize\",Gb5:\"overlay_unmeasurable_impression\",fg5:\"overlay_unviewable_impression\",oE5:\"overlay_viewable_immediate_impression\",YmY:\"overlay_viewable_end_of_session_impression\",Ds:\"custom_metric_viewable\",BE:\"audio_audible\",Ms:\"audio_measurable\",hq:\"audio_impression\"},ISv=\"start firstquartile midpoint thirdquartile resume loaded\".split(\" \"),gTw=[\"start\",\"firstquartile\",\"midpoint\",\"thirdquartile\"],AtM=[\"abandon\"],Ep={UNKNOWN:-1,s7:0,Cl:1,gN:2,\nNK:3,COMPLETE:4,RX:5,PAUSE:6,YA:7,TB:8,Cm:9,yJ:10,dN:11,lq:12,Ll:13,r9:14,IX:15,w9:16,d9:17,xt:18,sQ:19,LOADED:20,Ds:21,fl:22,Gx:23,hq:27,Ms:28,BE:29};var Lb5={pRQ:\"addEventListener\",eYe:\"getMaxSize\",tO5:\"getScreenSize\",GTZ:\"getState\",fSa:\"getVersion\",B00:\"removeEventListener\",tc5:\"isViewable\"};NBG.prototype.update=function(K){K&&K.document&&(this.N=Ks(!1,K,this.isMobileDevice),this.U=Ks(!0,K,this.isMobileDevice),WbM(this,K),U8c(this,K))};lJ.prototype.cancel=function(){Pi().clearTimeout(this.U);this.U=null};\nlJ.prototype.schedule=function(){var K=this,R=Pi(),f=w1().U.U;this.U=R.setTimeout(v9(f,b5(143,function(){K.K++;K.X.sample()})),vOv())};g.w=dX.prototype;g.w.n5=function(){return!1};\ng.w.initialize=function(){return this.isInitialized=!0};\ng.w.Qz=function(){return this.U.y0};\ng.w.bk=function(){return this.U.UF};\ng.w.fail=function(K,R){if(!this.UF||(R===void 0?0:R))this.UF=!0,this.y0=K,this.Z=0,this.U!=this||c5(this)};\ng.w.getName=function(){return this.U.G2};\ng.w.bA=function(){return this.U.zD()};\ng.w.zD=function(){return{}};\ng.w.iz=function(){return this.U.Z};\ng.w.yj=function(){var K=D$();K.U=Ks(!0,this.X,K.isMobileDevice)};\ng.w.JG=function(){U8c(D$(),this.X)};\ng.w.hA=function(){return this.J.U};\ng.w.sample=function(){};\ng.w.isActive=function(){return this.U.T};\ng.w.h1=function(K){var R=this.U;this.U=K.iz()>=this.Z?K:this;R!==this.U?(this.T=this.U.T,c5(this)):this.T!==this.U.T&&(this.T=this.U.T,c5(this))};\ng.w.wM=function(K){if(K.K===this.U){var R=!this.J.equals(K,this.EF);this.J=K;R&&JQD(this)}};\ng.w.UY=function(){return this.EF};\ng.w.dispose=function(){this.B5=!0};\ng.w.mZ=function(){return this.B5};g.w=rX.prototype;g.w.observe=function(){return!0};\ng.w.unobserve=function(){};\ng.w.FS=function(K){this.B=K};\ng.w.dispose=function(){if(!this.mZ()){var K=this.K;g.fa(K.B,this);K.EF&&this.UY()&&AQz(K);this.unobserve();this.Xt=!0}};\ng.w.mZ=function(){return this.Xt};\ng.w.bA=function(){return this.K.bA()};\ng.w.iz=function(){return this.K.iz()};\ng.w.Qz=function(){return this.K.Qz()};\ng.w.bk=function(){return this.K.bk()};\ng.w.h1=function(){};\ng.w.wM=function(){this.Nh()};\ng.w.UY=function(){return this.B5};g.w=y3.prototype;g.w.iz=function(){return this.U.iz()};\ng.w.Qz=function(){return this.U.Qz()};\ng.w.bk=function(){return this.U.bk()};\ng.w.create=function(K,R,f){var V=null;this.U&&(V=this.Ie(K,R,f),Fm(this.U,V));return V};\ng.w.Vj=function(){return this.v6()};\ng.w.v6=function(){return!1};\ng.w.init=function(K){return this.U.initialize()?(Fm(this.U,this),this.J=K,!0):!1};\ng.w.h1=function(K){K.iz()==0&&this.J(K.Qz(),this)};\ng.w.wM=function(){};\ng.w.UY=function(){return!1};\ng.w.dispose=function(){this.B=!0};\ng.w.mZ=function(){return this.B};\ng.w.bA=function(){return{}};om.prototype.add=function(K,R,f){++this.X;K=new BBB(K,R,f);this.U.push(new BBB(K.K,K.U,K.X+this.X/4096));this.K=!0;return this};nOM.prototype.toString=function(){var K=\"//pagead2.googlesyndication.com//pagead/gen_204\",R=iJ(this.U);R.length>0&&(K+=\"?\"+R);return K};g.O.prototype.HU=!1;g.O.prototype.mZ=function(){return this.HU};\ng.O.prototype.dispose=function(){this.HU||(this.HU=!0,this.uD())};\ng.O.prototype[Symbol.dispose]=function(){this.dispose()};\ng.O.prototype.addOnDisposeCallback=function(K,R){this.HU?R!==void 0?K.call(R):K():(this.SI||(this.SI=[]),R&&(K=K.bind(R)),this.SI.push(K))};\ng.O.prototype.uD=function(){if(this.SI)for(;this.SI.length;)this.SI.shift()()};var RhM=[0,ny5,pww,-1];wX.prototype.update=function(K,R,f){K&&(this.U+=R,this.K+=R,this.J+=R,this.X=Math.max(this.X,this.J));if(f===void 0?!K:f)this.J=0};var qYe=[1,.75,.5,.3,0];ze.prototype.update=function(K,R,f,V,D,H){H=H===void 0?!0:H;R=D?Math.min(K,R):R;for(D=0;D0&&R>=l;l=!(K>0&&K>=l)||f;this.U[D].update(H&&F,V,!H||l)}};U1.prototype.update=function(K,R,f,V){this.N=this.N!=-1?Math.min(this.N,R.Ah):R.Ah;this.aY=Math.max(this.aY,R.Ah);this.Xt=this.Xt!=-1?Math.min(this.Xt,R.Dn):R.Dn;this.y0=Math.max(this.y0,R.Dn);this.v5.update(R.Dn,f.Dn,R.U,K,V);this.qe+=K;R.Ah===0&&(this.G2+=K);this.K.update(R.Ah,f.Ah,R.U,K,V);f=V||f.uJ!=R.uJ?f.isVisible()&&R.isVisible():f.isVisible();R=!R.isVisible()||R.U;this.Ne.update(f,K,R)};\nU1.prototype.VT=function(){return this.Ne.X>=this.OF};if(H5&&H5.URL){var fpz=H5.URL,Vpw;a:{if(fpz){var DND=RegExp(\".*[&#?]google_debug(=[^&]*)?(&.*)?$\");try{var HP=DND.exec(decodeURIComponent(fpz));if(HP){Vpw=HP[1]&&HP[1].length>1?HP[1].substring(1):\"true\";break a}}catch(K){}}Vpw=\"\"}O0.Vm=!(Vpw.length>0)};var Hi5=new sa(0,0,0,0);var ssw=new sa(0,0,0,0);g.x(Z$,g.O);g.w=Z$.prototype;\ng.w.uD=function(){if(this.pF.U){if(this.oR.dj){var K=this.pF.U;typeof K.removeEventListener===\"function\"&&K.removeEventListener(\"mouseover\",this.oR.dj,LU());this.oR.dj=null}this.oR.j6&&(K=this.pF.U,typeof K.removeEventListener===\"function\"&&K.removeEventListener(\"mouseout\",this.oR.j6,LU()),this.oR.j6=null)}this.E_&&this.E_.dispose();this.GF&&this.GF.dispose();delete this.tL;delete this.Ge;delete this.Ze;delete this.pF.lA;delete this.pF.U;delete this.oR;delete this.E_;delete this.GF;delete this.w4;\ng.O.prototype.uD.call(this)};\ng.w.p_=function(){return this.GF?this.GF.U:this.position};\ng.w.K9=function(K){w1().K9(K)};\ng.w.UY=function(){return!1};\ng.w.GQ=function(){return new U1};\ng.w.MD=function(){return this.tL};\ng.w.QH=function(K){return Rfw(this,K,1E4)};\ng.w.T2=function(K,R,f,V,D,H,l){this.m5||(this.uK&&(K=this.dW(K,f,D,l),V=V&&this.WU.Ah>=(this.uJ()?.3:.5),this.iS(H,K,V),this.N_=R,K.Ah>0&&-1===this.R7&&(this.R7=R),this.M6==-1&&this.VT()&&(this.M6=R),this.Ma==-2&&(this.Ma=Ac(this.p_())?K.Ah:-1),this.WU=K),this.Ge(this))};\ng.w.iS=function(K,R,f){this.MD().update(K,R,this.WU,f)};\ng.w.Tq=function(){return new zB};\ng.w.dW=function(K,R,f,V){f=this.Tq();f.U=R;R=Pi().K;R=z4(H5)===0?-1:R.isVisible()?0:1;f.K=R;f.Ah=this.Ia(K);f.uJ=this.uJ();f.Dn=V;return f};\ng.w.Ia=function(K){return this.opacity===0&&Yn(this.w4,\"opac\")===1?0:K};\ng.w.uJ=function(){return!1};\ng.w.fA=function(){return this.k2F||this.LZ2};\ng.w.Dd=function(){YP()};\ng.w.aB=function(){YP()};\ng.w.d2=function(){return this.requestSource};\ng.w.eZ=function(){return 0};\ng.w.VT=function(){return this.tL.VT()};\ng.w.mK=function(){var K=this.uK;K=(this.hasCompleted||this.mZ())&&!K;var R=w1().K!==2||this.UFt;return this.m5||R&&K?2:this.VT()?4:3};\ng.w.Iu=function(){return 0};g.Xm.prototype.next=function(){return g.$k};\ng.$k={done:!0,value:void 0};g.Xm.prototype.tQ=function(){return this};g.x(lOM,zB);var ln=FG_([void 0,1,2,3,4,8,16]),dA=FG_([void 0,4,8,16]),$NN={sv:\"sv\",v:\"v\",cb:\"cb\",e:\"e\",nas:\"nas\",msg:\"msg\",\"if\":\"if\",sdk:\"sdk\",p:\"p\",p0:ns(\"p0\",dA),p1:ns(\"p1\",dA),p2:ns(\"p2\",dA),p3:ns(\"p3\",dA),cp:\"cp\",tos:\"tos\",mtos:\"mtos\",amtos:\"amtos\",mtos1:P5(\"mtos1\",[0,2,4],!1,dA),mtos2:P5(\"mtos2\",[0,2,4],!1,dA),mtos3:P5(\"mtos3\",[0,2,4],!1,dA),mcvt:\"mcvt\",ps:\"ps\",scs:\"scs\",bs:\"bs\",vht:\"vht\",mut:\"mut\",a:\"a\",a0:ns(\"a0\",dA),a1:ns(\"a1\",dA),a2:ns(\"a2\",dA),a3:ns(\"a3\",dA),ft:\"ft\",dft:\"dft\",at:\"at\",dat:\"dat\",as:\"as\",\nvpt:\"vpt\",gmm:\"gmm\",std:\"std\",efpf:\"efpf\",swf:\"swf\",nio:\"nio\",px:\"px\",nnut:\"nnut\",vmer:\"vmer\",vmmk:\"vmmk\",vmiec:\"vmiec\",nmt:\"nmt\",tcm:\"tcm\",bt:\"bt\",pst:\"pst\",vpaid:\"vpaid\",dur:\"dur\",vmtime:\"vmtime\",dtos:\"dtos\",dtoss:\"dtoss\",dvs:\"dvs\",dfvs:\"dfvs\",dvpt:\"dvpt\",fmf:\"fmf\",vds:\"vds\",is:\"is\",i0:\"i0\",i1:\"i1\",i2:\"i2\",i3:\"i3\",ic:\"ic\",cs:\"cs\",c:\"c\",c0:ns(\"c0\",dA),c1:ns(\"c1\",dA),c2:ns(\"c2\",dA),c3:ns(\"c3\",dA),mc:\"mc\",nc:\"nc\",mv:\"mv\",nv:\"nv\",qmt:ns(\"qmtos\",ln),qnc:ns(\"qnc\",ln),qmv:ns(\"qmv\",ln),qnv:ns(\"qnv\",ln),\nraf:\"raf\",rafc:\"rafc\",lte:\"lte\",ces:\"ces\",tth:\"tth\",femt:\"femt\",femvt:\"femvt\",emc:\"emc\",emuc:\"emuc\",emb:\"emb\",avms:\"avms\",nvat:\"nvat\",qi:\"qi\",psm:\"psm\",psv:\"psv\",psfv:\"psfv\",psa:\"psa\",pnk:\"pnk\",pnc:\"pnc\",pnmm:\"pnmm\",pns:\"pns\",ptlt:\"ptlt\",pngs:\"pings\",veid:\"veid\",ssb:\"ssb\",ss0:ns(\"ss0\",dA),ss1:ns(\"ss1\",dA),ss2:ns(\"ss2\",dA),ss3:ns(\"ss3\",dA),dc_rfl:\"urlsigs\",obd:\"obd\",omidp:\"omidp\",omidr:\"omidr\",omidv:\"omidv\",omida:\"omida\",omids:\"omids\",omidpv:\"omidpv\",omidam:\"omidam\",omidct:\"omidct\",omidia:\"omidia\",\nomiddc:\"omiddc\",omidlat:\"omidlat\",omiddit:\"omiddit\",nopd:\"nopd\",co:\"co\",tm:\"tm\",tu:\"tu\"},lpv=Object.assign({},$NN,{avid:pT(\"audio\"),avas:\"avas\",vs:\"vs\"}),dNG={atos:\"atos\",avt:P5(\"atos\",[2]),davs:\"davs\",dafvs:\"dafvs\",dav:\"dav\",ss:function(K,R){return function(f){return f[K]===void 0&&R!==void 0?R:f[K]}}(\"ss\",0),\nt:\"t\"};jJ.prototype.getValue=function(){return this.K};\njJ.prototype.update=function(K,R){K>=32||(this.U&1<=.5;fs(R.volume)&&(this.J=this.J!=-1?Math.min(this.J,R.volume):R.volume,this.T=Math.max(this.T,R.volume));H&&(this.B5+=K,this.EF+=D?K:0);this.U.update(R.Ah,f.Ah,R.U,K,V,D);this.X.update(!0,K);this.B.update(D,K);this.UF.update(f.fullscreen,K);this.pQ.update(D&&!H,K);K=Math.floor(R.mediaTime/1E3);this.er.update(K,R.isVisible());this.Za.update(K,R.Ah>=1);this.kW.update(K,\nTe(R))}};SqM.prototype.K=function(K){this.X||(this.U(K)?(K=URc(this.EF,this.J,K),this.B|=K,K=K==0):K=!1,this.X=K)};g.x(bJ,SqM);bJ.prototype.U=function(){return!0};\nbJ.prototype.T=function(){return!1};\nbJ.prototype.getId=function(){var K=this,R=Jh(f7,function(f){return f==K.J});\nreturn Ep[R].toString()};\nbJ.prototype.toString=function(){var K=\"\";this.T()&&(K+=\"c\");this.X&&(K+=\"s\");this.B>0&&(K+=\":\"+this.B);return this.getId()+K};g.x(ps,bJ);ps.prototype.K=function(K,R){R=R===void 0?null:R;R!=null&&this.N.push(R);bJ.prototype.K.call(this,K)};g.x(Y$,iGN);Y$.prototype.K=function(){return null};\nY$.prototype.X=function(){return[]};g.x(mV,rX);g.w=mV.prototype;g.w.rW=function(){if(this.element){var K=this.element,R=this.K.U.X;try{try{var f=EOG(K.getBoundingClientRect())}catch(r){f=new sa(0,0,0,0)}var V=f.right-f.left,D=f.bottom-f.top,H=ono(K,R),l=H.x,F=H.y;var c=new sa(Math.round(F),Math.round(l+V),Math.round(F+D),Math.round(l))}catch(r){c=Hi5.clone()}this.X=c;this.U=ZUo(this,this.X)}};\ng.w.tO=function(){this.T=this.K.J.U};\ng.w.yy=function(K){var R=Yn(this.w4,\"od\")==1;return udc(K,this.T,this.element,R)};\ng.w.G0=function(){this.timestamp=YP()};\ng.w.Nh=function(){this.G0();this.rW();if(this.element&&typeof this.element.videoWidth===\"number\"&&typeof this.element.videoHeight===\"number\"){var K=this.element;var R=new g.lu(K.videoWidth,K.videoHeight);K=this.U;var f=CT(K),V=K.getHeight(),D=R.width;R=R.height;D<=0||R<=0||f<=0||V<=0||(D/=R,R=f/V,K=K.clone(),D>R?(f/=D,V=(V-f)/2,V>0&&(V=K.top+V,K.top=Math.round(V),K.bottom=Math.round(V+f))):(V*=D,f=Math.round((f-V)/2),f>0&&(f=K.left+f,K.left=Math.round(f),K.right=Math.round(f+V))));this.U=K}this.tO();\nK=this.U;f=this.T;K=K.left<=f.right&&f.left<=K.right&&K.top<=f.bottom&&f.top<=K.bottom?new sa(Math.max(K.top,f.top),Math.min(K.right,f.right),Math.min(K.bottom,f.bottom),Math.max(K.left,f.left)):new sa(0,0,0,0);f=K.top>=K.bottom||K.left>=K.right?new sa(0,0,0,0):K;K=this.K.J;R=D=V=0;if((this.U.bottom-this.U.top)*(this.U.right-this.U.left)>0)if(this.yy(f))f=new sa(0,0,0,0);else{V=D$().J;R=new sa(0,V.height,V.width,0);var H;V=Jc(f,(H=this.B)!=null?H:this.U);D=Jc(f,D$().U);R=Jc(f,R)}H=f.top>=f.bottom||\nf.left>=f.right?new sa(0,0,0,0):KU(f,-this.U.left,-this.U.top);$$()||(D=V=0);this.EF=new ex(K,this.element,this.U,H,V,D,this.timestamp,R)};\ng.w.getName=function(){return this.K.getName()};var FJ5=new sa(0,0,0,0);g.x(Ge,mV);g.w=Ge.prototype;g.w.observe=function(){this.J();return!0};\ng.w.wM=function(){mV.prototype.Nh.call(this)};\ng.w.G0=function(){};\ng.w.rW=function(){};\ng.w.Nh=function(){this.J();mV.prototype.Nh.call(this)};\ng.w.h1=function(K){K=K.isActive();K!==this.Z&&(K?this.J():(D$().U=new sa(0,0,0,0),this.U=new sa(0,0,0,0),this.T=new sa(0,0,0,0),this.timestamp=-1));this.Z=K};var FF={},UDv=(FF.firstquartile=0,FF.midpoint=1,FF.thirdquartile=2,FF.complete=3,FF);g.x(s1,Z$);g.w=s1.prototype;g.w.UY=function(){return!0};\ng.w.gC=function(){return this.yZ==2};\ng.w.QH=function(K){return Rfw(this,K,Math.max(1E4,this.X/3))};\ng.w.T2=function(K,R,f,V,D,H,l){var F=this,c=this.N(this)||{};g.na(c,D);this.X=c.duration||this.X;this.EF=c.isVpaid||this.EF;this.G2=c.isYouTube||this.G2;Pi();this.v5=!1;D=LGD(this,R);voN(this)===1&&(H=D);Z$.prototype.T2.call(this,K,R,f,V,c,H,l);this.MS&&this.MS.X&&g.La(this.T,function(r){r.K(F)})};\ng.w.iS=function(K,R,f){Z$.prototype.iS.call(this,K,R,f);K7(this).update(K,R,this.WU,f);this.OF=Te(this.WU)&&Te(R);this.y0==-1&&this.Za&&(this.y0=this.MD().X.U);this.D8.X=0;K=this.VT();R.isVisible()&&O1(this.D8,\"vs\");K&&O1(this.D8,\"vw\");fs(R.volume)&&O1(this.D8,\"am\");Te(R)?O1(this.D8,\"a\"):O1(this.D8,\"mut\");this.s8&&O1(this.D8,\"f\");R.K!=-1&&(O1(this.D8,\"bm\"),R.K==1&&(O1(this.D8,\"b\"),Te(R)&&O1(this.D8,\"umutb\")));Te(R)&&R.isVisible()&&O1(this.D8,\"avs\");this.OF&&K&&O1(this.D8,\"avw\");R.Ah>0&&O1(this.D8,\n\"pv\");Rx(this,this.MD().X.U,!0)&&O1(this.D8,\"gdr\");Q3(this.MD().K,1)>=2E3&&O1(this.D8,\"pmx\");this.v5&&O1(this.D8,\"tvoff\")};\ng.w.GQ=function(){return new qJ};\ng.w.MD=function(){return this.tL};\ng.w.Tq=function(){return new lOM};\ng.w.dW=function(K,R,f,V){K=Z$.prototype.dW.call(this,K,R,f,V===void 0?-1:V);K.fullscreen=this.s8;K.paused=this.gC();K.volume=f.volume;fs(K.volume)||(this.bd++,R=this.WU,fs(R.volume)&&(K.volume=R.volume));f=f.currentTime;K.mediaTime=f!==void 0&&f>=0?f:-1;return K};\ng.w.Ia=function(K){return D$(),this.s8?1:Z$.prototype.Ia.call(this,K)};\ng.w.eZ=function(){return 1};\ng.w.getDuration=function(){return this.X};\ng.w.mK=function(){return this.m5?2:zfz(this)?5:this.VT()?4:3};\ng.w.Iu=function(){return this.pQ?this.MD().B.X>=2E3?4:3:2};\ng.w.FS=function(K){this.GF&&this.GF.FS(K)};var cYB=g.OS();noo.prototype.reset=function(){this.U=[];this.K=[]};\nvar lo=kO(noo);g.x(ck,y3);g.w=ck.prototype;g.w.getName=function(){return(this.K?this.K:this.U).getName()};\ng.w.bA=function(){return(this.K?this.K:this.U).bA()};\ng.w.iz=function(){return(this.K?this.K:this.U).iz()};\ng.w.init=function(K){var R=!1;(0,g.La)(this.X,function(f){f.initialize()&&(R=!0)});\nR&&(this.J=K,Fm(this.U,this));return R};\ng.w.dispose=function(){(0,g.La)(this.X,function(K){K.dispose()});\ny3.prototype.dispose.call(this)};\ng.w.Vj=function(){return V3(this.X,function(K){return K.n5()})};\ng.w.v6=function(){return V3(this.X,function(K){return K.n5()})};\ng.w.Ie=function(K,R,f){return new mV(K,this.U,R,f)};\ng.w.wM=function(K){this.K=K.K};var YqN={threshold:[0,.3,.5,.75,1]};g.x(rb,mV);g.w=rb.prototype;g.w.observe=function(){var K=this;this.aY||(this.aY=YP());if(SY5(298,function(){return mDG(K)}))return!0;\nthis.K.fail(\"msf\");return!1};\ng.w.unobserve=function(){if(this.J&&this.element)try{this.J.unobserve(this.element),this.Z?(this.Z.unobserve(this.element),this.Z=null):this.N&&(this.N.disconnect(),this.N=null)}catch(K){}};\ng.w.Nh=function(){var K=yT(this);K.length>0&&h5(this,K);mV.prototype.Nh.call(this)};\ng.w.rW=function(){};\ng.w.yy=function(){return!1};\ng.w.tO=function(){};\ng.w.bA=function(){var K={};return Object.assign(this.K.bA(),(K.niot_obs=this.aY,K.niot_cbk=this.UF,K))};\ng.w.getName=function(){return\"nio\"};g.x(ox,y3);ox.prototype.getName=function(){return\"nio\"};\nox.prototype.v6=function(){return!D$().K&&this.U.U.X.IntersectionObserver!=null};\nox.prototype.Ie=function(K,R,f){return new rb(K,this.U,R,f)};g.x(Ss,dX);Ss.prototype.hA=function(){return D$().U};\nSs.prototype.n5=function(){var K=u6e();this.Z!==K&&(this.U!=this&&K>this.U.Z&&(this.U=this,c5(this)),this.Z=K);return K==2};io.prototype.sample=function(){wb(this,db(),!1)};\nio.prototype.J=function(){var K=$$(),R=YP();K?(Gw||(u5=R,g.La(lo.U,function(f){var V=f.MD();V.oY=MJ(V,R,f.yZ!=1)})),Gw=!0):(this.N=RXo(this,R),Gw=!1,WGz=R,g.La(lo.U,function(f){f.uK&&(f.MD().Z=R)}));\nwb(this,db(),!K)};\nvar vk=kO(io);var VFe=null,Y8=\"\",p7=!1;var $Rz=HV_().aT,x8=HV_().uQ;var FrM={JQa:\"visible\",OFY:\"audible\",aUp:\"time\",Qge:\"timetype\"},cIN={visible:function(K){return/^(100|[0-9]{1,2})$/.test(K)},\naudible:function(K){return K==\"0\"||K==\"1\"},\ntimetype:function(K){return K==\"mtos\"||K==\"tos\"},\ntime:function(K){return/^(100|[0-9]{1,2})%$/.test(K)||/^([0-9])+ms$/.test(K)}};\ndRN.prototype.setTime=function(K,R,f){R==\"ms\"?(this.X=K,this.J=-1):(this.X=-1,this.J=K);this.B=f===void 0?\"tos\":f;return this};g.x(NL,bJ);NL.prototype.getId=function(){return this.N};\nNL.prototype.T=function(){return!0};\nNL.prototype.U=function(K){var R=K.MD(),f=K.getDuration();return V3(this.Z,function(V){if(V.U!=void 0)var D=yIo(V,R);else b:{switch(V.B){case \"mtos\":D=V.K?R.B.X:R.X.U;break b;case \"tos\":D=V.K?R.B.U:R.X.U;break b}D=0}D==0?V=!1:(V=V.X!=-1?V.X:f!==void 0&&f>0?V.J*f:-1,V=V!=-1&&D>=V);return V})};g.x(Up,rth);Up.prototype.U=function(K){var R=new ctc;R.U=gX(K,$NN);R.K=gX(K,dNG);return R};g.x(Wk,bJ);Wk.prototype.U=function(K){return zfz(K)};g.x(Bk,iGN);g.x(XL,bJ);XL.prototype.U=function(K){return K.MD().VT()};g.x(k8,ps);k8.prototype.U=function(K){var R=g.Ka(this.N,Yn(w1().w4,\"ovms\"));return!K.m5&&(K.yZ!=0||R)};g.x(To,Bk);To.prototype.K=function(){return new k8(this.U)};\nTo.prototype.X=function(){return[new XL(\"viewable_impression\",this.U),new Wk(this.U)]};g.x(Pk,Ge);Pk.prototype.J=function(){var K=g.t_(\"ima.admob.getViewability\"),R=Yn(this.w4,\"queryid\");typeof K===\"function\"&&R&&K(R)};\nPk.prototype.getName=function(){return\"gsv\"};g.x(n7,y3);n7.prototype.getName=function(){return\"gsv\"};\nn7.prototype.v6=function(){var K=D$();w1();return K.K&&!1};\nn7.prototype.Ie=function(K,R,f){return new Pk(this.U,R,f)};g.x(Ix,Ge);Ix.prototype.J=function(){var K=this,R=g.t_(\"ima.bridge.getNativeViewability\"),f=Yn(this.w4,\"queryid\");typeof R===\"function\"&&f&&R(f,function(V){g.ZL(V)&&K.N++;var D=V.opt_nativeViewVisibleBounds||{},H=V.opt_nativeViewHidden;K.U=asc(V.opt_nativeViewBounds||{});var l=K.K.J;l.U=H?FJ5.clone():asc(D);K.timestamp=V.opt_nativeTime||-1;D$().U=l.U;V=V.opt_nativeVolume;V!==void 0&&(l.volume=V)})};\nIx.prototype.getName=function(){return\"nis\"};g.x(gb,y3);gb.prototype.getName=function(){return\"nis\"};\ngb.prototype.v6=function(){var K=D$();w1();return K.K&&!1};\ngb.prototype.Ie=function(K,R,f){return new Ix(this.U,R,f)};g.x(Op,dX);g.w=Op.prototype;g.w.n5=function(){return this.K.Bg!=null};\ng.w.zD=function(){var K={};this.er&&(K.mraid=this.er);this.Xt&&(K.mlc=1);K.mtop=this.K.Gra;this.N&&(K.mse=this.N);this.qe&&(K.msc=1);K.mcp=this.K.compatibility;return K};\ng.w.e_=function(K){var R=g.wW.apply(1,arguments);try{return this.K.Bg[K].apply(this.K.Bg,R)}catch(f){pD(538,f,.01,function(V){V.method=K})}};\ng.w.initialize=function(){var K=this;if(this.isInitialized)return!this.bk();this.isInitialized=!0;if(this.K.compatibility===2)return this.N=\"ng\",this.fail(\"w\"),!1;if(this.K.compatibility===1)return this.N=\"mm\",this.fail(\"w\"),!1;D$().Z=!0;this.X.document.readyState&&this.X.document.readyState==\"complete\"?iVv(this):tc(this.X,\"load\",function(){Pi().setTimeout(b5(292,function(){return iVv(K)}),100)},292);\nreturn!0};\ng.w.yj=function(){var K=D$(),R=xRe(this,\"getMaxSize\");K.U=new sa(0,R.width,R.height,0)};\ng.w.JG=function(){D$().J=xRe(this,\"getScreenSize\")};\ng.w.dispose=function(){LrD(this);dX.prototype.dispose.call(this)};var rYo=new function(K,R){this.key=K;this.defaultValue=R===void 0?!1:R;this.valueType=\"boolean\"}(\"45378663\");g.w=qL.prototype;g.w.Ng=function(K){B5(K,!1);joz(K)};\ng.w.HN=function(){};\ng.w.u3=function(K,R,f,V){var D=this;K=new s1(bu,K,f?R:-1,7,this.mN(),this.Wx());K.WR=V;$zv(K.w4);pa(K.w4,\"queryid\",K.WR);K.K9(\"\");DDc(K,function(){return D.Yx.apply(D,g.X(g.wW.apply(0,arguments)))},function(){return D.KZF.apply(D,g.X(g.wW.apply(0,arguments)))});\n(V=kO(FL).U)&&KGB(K,V);this.X&&(K.FS(this.X),this.X=null);K.pF.lA&&kO(so2);return K};\ng.w.h1=function(K){switch(K.iz()){case 0:if(K=kO(FL).U)K=K.U,g.fa(K.B,this),K.EF&&this.UY()&&AQz(K);bo();break;case 2:L7()}};\ng.w.wM=function(){};\ng.w.UY=function(){return!1};\ng.w.KZF=function(K,R){K.m5=!0;switch(K.eZ()){case 1:WrG(K,R);break;case 2:this.mF(K)}};\ng.w.y5Q=function(K){var R=K.N(K);R&&(R=R.volume,K.pQ=fs(R)&&R>0);aOD(K,0);return VT(K,\"start\",$$())};\ng.w.Jl=function(K,R,f){wb(vk,[K],!$$());return this.tX(K,R,f)};\ng.w.tX=function(K,R,f){return VT(K,f,$$())};\ng.w.X5t=function(K){return sp(K,\"firstquartile\",1)};\ng.w.Rpr=function(K){K.Za=!0;return sp(K,\"midpoint\",2)};\ng.w.J52=function(K){return sp(K,\"thirdquartile\",3)};\ng.w.aaD=function(K){var R=sp(K,\"complete\",4);Cs(K);return R};\ng.w.QYp=function(K){K.yZ=3;return VT(K,\"error\",$$())};\ng.w.wB=function(K,R,f){R=$$();if(K.gC()&&!R){var V=K.MD(),D=YP();V.Z=D}wb(vk,[K],!R);K.gC()&&(K.yZ=1);return VT(K,f,R)};\ng.w.w5Z=function(K,R){R=this.Jl(K,R||{},\"skip\");Cs(K);return R};\ng.w.IaW=function(K,R){B5(K,!0);return this.Jl(K,R||{},\"fullscreen\")};\ng.w.utW=function(K,R){B5(K,!1);return this.Jl(K,R||{},\"exitfullscreen\")};\ng.w.xz=function(K,R,f){R=K.MD();var V=YP();R.oY=MJ(R,V,K.yZ!=1);wb(vk,[K],!$$());K.yZ==1&&(K.yZ=2);return VT(K,f,$$())};\ng.w.gWQ=function(K){wb(vk,[K],!$$());return K.K()};\ng.w.Xl=function(K){wb(vk,[K],!$$());this.Ul(K);Cs(K);return K.K()};\ng.w.Yx=function(){};\ng.w.mF=function(){};\ng.w.Ul=function(){};\ng.w.Be=function(){};\ng.w.An=function(){};\ng.w.Wx=function(){this.U||(this.U=this.An());return this.U==null?new Y$:new To(this.U)};\ng.w.mN=function(){return new Up};g.x(C7,bJ);C7.prototype.U=function(K){return K.Iu()==4};g.x(es,ps);es.prototype.U=function(K){K=K.Iu();return K==3||K==4};g.x(Kw,Bk);Kw.prototype.K=function(){return new es(this.U)};\nKw.prototype.X=function(){return[new C7(this.U)]};g.x(RA,rth);RA.prototype.U=function(K){K&&(K.e===28&&(K=Object.assign({},K,{avas:3})),K.vs===4||K.vs===5)&&(K=Object.assign({},K,{vs:3}));var R=new ctc;R.U=gX(K,lpv);R.K=gX(K,dNG);return R};ZVz.prototype.K=function(){return g.t_(this.U)};g.x(fw,qL);g.w=fw.prototype;g.w.HN=function(K,R){var f=this,V=kO(FL);if(V.U!=null)switch(V.U.getName()){case \"nis\":var D=T4v(this,K,R);break;case \"gsv\":D=ku_(this,K,R);break;case \"exc\":D=P9h(this,K)}D||(R.opt_overlayAdElement?D=void 0:R.opt_adElement&&(D=AIM(this,K,R.opt_adElement,R.opt_osdId)));D&&D.eZ()==1&&(D.N==g.YU&&(D.N=function(H){return f.Be(H)}),X$v(this,D,R));\nreturn D};\ng.w.Be=function(K){K.K=0;K.B5=0;if(K.J==\"h\"||K.J==\"n\"){w1();K.kW&&(w1(),Go(this)!=\"h\"&&Go(this));var R=g.t_(\"ima.common.getVideoMetadata\");if(typeof R===\"function\")try{var f=R(K.WR)}catch(D){K.K|=4}else K.K|=2}else if(K.J==\"b\")if(R=g.t_(\"ytads.bulleit.getVideoMetadata\"),typeof R===\"function\")try{f=R(K.WR)}catch(D){K.K|=4}else K.K|=2;else if(K.J==\"ml\")if(R=g.t_(\"ima.common.getVideoMetadata\"),typeof R===\"function\")try{f=R(K.WR)}catch(D){K.K|=4}else K.K|=2;else K.K|=1;K.K||(f===void 0?K.K|=8:f===null?\nK.K|=16:g.ZL(f)?K.K|=32:f.errorCode!=null&&(K.B5=f.errorCode,K.K|=64));f==null&&(f={});R=f;K.Z=0;for(var V in KJ_)R[V]==null&&(K.Z|=KJ_[V]);JI2(R,\"currentTime\");JI2(R,\"duration\");fs(f.volume)&&fs()&&(f.volume*=NaN);return f};\ng.w.An=function(){w1();Go(this)!=\"h\"&&Go(this);var K=nT5(this);return K!=null?new ZVz(K):null};\ng.w.mF=function(K){!K.U&&K.m5&&uo(this,K,\"overlay_unmeasurable_impression\")&&(K.U=!0)};\ng.w.Ul=function(K){K.CE&&(K.VT()?uo(this,K,\"overlay_viewable_end_of_session_impression\"):uo(this,K,\"overlay_unviewable_impression\"),K.CE=!1)};\ng.w.Yx=function(){};\ng.w.u3=function(K,R,f,V){if(w1().flags.aG(rYo)){var D=Yn(w1().w4,\"mm\"),H={};(D=(H[LD.Vc]=\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\",H[LD.VIDEO]=\"ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO\",H)[D])&&jkG(this,D);this.J===\"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED\"&&pD(1044,Error())}K=qL.prototype.u3.call(this,K,R,f,V);this.B&&(R=this.T,K.B==null&&(K.B=new HGB),R.U[K.WR]=K.B,K.B.B=cYB);return K};\ng.w.Ng=function(K){K&&K.eZ()==1&&this.B&&delete this.T.U[K.WR];return qL.prototype.Ng.call(this,K)};\ng.w.Wx=function(){this.U||(this.U=this.An());return this.U==null?new Y$:this.J===\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\"?new Kw(this.U):new To(this.U)};\ng.w.mN=function(){return this.J===\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\"?new RA:new Up};\ng.w.FS=function(K,R,f,V,D){R=new sa(f,R+V,f+D,R);(K=$8(lo,K))?K.FS(R):this.X=R};\nvar yYD=Mw(193,MF_,void 0,tF_);g.WT(\"Goog_AdSense_Lidar_sendVastEvent\",yYD);var hh2=b5(194,function(K,R){R=R===void 0?{}:R;K=OV_(kO(fw),K,R);return qsh(K)});\ng.WT(\"Goog_AdSense_Lidar_getViewability\",hh2);var oEz=Mw(195,function(){return ILB()});\ng.WT(\"Goog_AdSense_Lidar_getUrlSignalsArray\",oEz);var SZ5=b5(196,function(){return JSON.stringify(ILB())});\ng.WT(\"Goog_AdSense_Lidar_getUrlSignalsList\",SZ5);var YsM=g.u_([\"//ep2.adtrafficquality.google/sodar/\",\"\"]),mRo=g.u_([\"//tpc.googlesyndication.com/sodar/\",\"\"]);g.x(HK,Error);g.x(dr,g.O);dr.prototype.SC=function(){return this.wpc.f()};\ndr.prototype.M5=function(K){this.wpc.c(K)};\ndr.prototype.vt=function(K){return this.wpc.m(C9_(K))};\ndr.prototype.zW=function(K){return this.wpc.mws(C9_(K))};\ng.x($Y,g.O);$Y.prototype.snapshot=function(K){return this.r8.s(Object.assign({},K.Q2&&{c:K.Q2},K.Jd&&{s:K.Jd},K.hd!==void 0&&{p:K.hd}))};\n$Y.prototype.h0=function(K){this.r8.e(K)};\n$Y.prototype.AD=function(){return this.r8.l()};g.x(cK,g.O);cK.prototype.share=function(){if(this.mZ())throw Error(\"E:AD\");this.K++;return this};\ncK.prototype.dispose=function(){--this.K||g.O.prototype.dispose.call(this)};DUz.prototype.QP=function(K,R){this.U.QP(\"/client_streamz/bg/frs\",K,R)};\nHJc.prototype.QP=function(K,R,f,V,D,H){this.U.QP(\"/client_streamz/bg/wrl\",K,R,f,V,D,H)};\n$UM.prototype.eH=function(K,R){this.U.eO(\"/client_streamz/bg/ec\",K,R)};\nl8B.prototype.QP=function(K,R,f){this.U.QP(\"/client_streamz/bg/el\",K,R,f)};\ndUo.prototype.eH=function(K,R){this.U.eO(\"/client_streamz/bg/cec\",K,R)};\nFkN.prototype.eH=function(K,R){this.U.eO(\"/client_streamz/bg/po/csc\",K,R)};\nc8e.prototype.eH=function(K,R){this.U.eO(\"/client_streamz/bg/po/ctav\",K,R)};\nr8B.prototype.eH=function(K,R){this.U.eO(\"/client_streamz/bg/po/cwsc\",K,R)};g.x(y85,pJ);g.x(oA,pJ);var xY=[1,2,3];var ii_=[0,xY,uwM,qnz,msc];var vEG=[0,eN,[0,k8B,ny5]];g.x(Sd,pJ);var zv=[1,2,3];var LJM=[0,zv,gyD,PDB,RO,vEG];g.x(i1,pJ);var wt2=[0,eN,ii_,LJM];var zhz=[0,CR];g.x(vK,pJ);var xNB=[0,CR,-1,YnM];var EEc=[0,CR,-1,OdD,YnM];g.x(Lw,pJ);var O4w=[1,2,3];var ap_=[0,O4w,RO,xNB,RO,EEc,RO,zhz];g.x(wr,pJ);wr.prototype.Sd=function(){var K=ak(this,3,Yo,3,!0);F6(K);return K[void 0]};wr.prototype.X=qah([0,CR,ap_,G8G,eN,wt2,MB5,bdN]);g.x(oro,pJ);g.w=EE.prototype;g.w.isEnabled=function(){if(!g.Nz.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set(\"TESTCOOKIESENABLED\",\"1\",{nJ:60});if(this.get(\"TESTCOOKIESENABLED\")!==\"1\")return!1;this.remove(\"TESTCOOKIESENABLED\");return!0};\ng.w.set=function(K,R,f){var V=!1;if(typeof f===\"object\"){var D=f.sameSite;V=f.secure||!1;var H=f.domain||void 0;var l=f.path||void 0;var F=f.nJ}if(/[;=\\s]/.test(K))throw Error('Invalid cookie name \"'+K+'\"');if(/[;\\r\\n]/.test(R))throw Error('Invalid cookie value \"'+R+'\"');F===void 0&&(F=-1);f=H?\";domain=\"+H:\"\";l=l?\";path=\"+l:\"\";V=V?\";secure\":\"\";F=F<0?\"\":F==0?\";expires=\"+(new Date(1970,1,1)).toUTCString():\";expires=\"+(new Date(Date.now()+F*1E3)).toUTCString();this.U.cookie=K+\"=\"+R+f+l+F+V+(D!=null?\n\";samesite=\"+D:\"\")};\ng.w.get=function(K,R){for(var f=K+\"=\",V=(this.U.cookie||\"\").split(\";\"),D=0,H;D=0;R--)this.remove(K[R])};\nvar gG=new EE(typeof document==\"undefined\"?null:document);Qh.prototype.compress=function(K){var R,f,V,D;return g.I(function(H){switch(H.U){case 1:return R=new CompressionStream(\"gzip\"),f=(new Response(R.readable)).arrayBuffer(),V=R.writable.getWriter(),g.P(H,V.write((new TextEncoder).encode(K)),2);case 2:return g.P(H,V.close(),3);case 3:return D=Uint8Array,g.P(H,f,4);case 4:return H.return(new D(H.K))}})};\nQh.prototype.isSupported=function(K){return K<1024?!1:typeof CompressionStream!==\"undefined\"};g.x(Nx,pJ);UE.prototype.setInterval=function(K){this.intervalMs=K;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};\nUE.prototype.start=function(){var K=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){K.tick()},this.intervalMs),this.K=this.U())};\nUE.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};\nUE.prototype.tick=function(){var K=this;if(this.enabled){var R=Math.max(this.U()-this.K,0);R0?f:void 0));f=LV(f,4,X6(D>0?D:void 0));f=LV(f,5,X6(H>0?H:void 0));D=f.Sr;H=D[VR]|0;f=dO(f,H)?f:c$(f,D,H)?r4(f,D):new f.constructor(Ft(D,H,!0));MR(l,g.Ab,10,f)}l=this.U.clone();f=Date.now().toString();l=LV(l,4,qD(f));K=b9(l,nw,3,K.slice());V&&(l=new WK,V=LV(l,13,X6(V)),l=\nnew tb,V=MR(l,WK,2,V),l=new PK,V=MR(l,tb,1,V),V=D8(V,2,9),MR(K,PK,18,V));R&&Rl(K,14,R);return K};g.qx.prototype.K=0;g.qx.prototype.reset=function(){this.U=this.X=this.J;this.K=0};\ng.qx.prototype.getValue=function(){return this.X};g.x(o_,pJ);var QPe=Sx(o_);g.x(gUo,pJ);var cP;cP=new OT2;g.x(YY,g.O);g.w=YY.prototype;g.w.uD=function(){pw(this);this.K.stop();this.er.stop();g.O.prototype.uD.call(this)};\ng.w.dispatch=function(K){if(K instanceof nw)this.log(K);else try{var R=new nw,f=K.PB();var V=fJ(R,8,f);this.log(V)}catch(D){ms(this,4,1)}};\ng.w.log=function(K){ms(this,2,1);if(this.qe){K=K.clone();var R=this.Ne++;K=Rl(K,21,R);this.componentId&&fJ(K,26,this.componentId);R=K;var f=i9(R,1);var V=V===void 0?!1:V;var D=typeof f;V=f==null?f:D===\"bigint\"?String(nG(64,f)):B4(f)?D===\"string\"?P4(f):V?Oq(f):jq(f):void 0;V==null&&(V=Date.now(),V=Number.isFinite(V)?V.toString():\"0\",LV(R,1,qD(V)));V=i9(R,15);V!=null&&(typeof V===\"bigint\"?DS(V)?V=Number(V):(V=nG(64,V),V=DS(V)?Number(V):String(V)):V=B4(V)?typeof V===\"number\"?jq(V):P4(V):void 0);V!=null||\nRl(R,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(V=this.experimentIds.clone(),MR(R,Nx,16,V));ms(this,1,1);R=this.U.length-1E3+1;R>0&&(this.U.splice(0,R),this.J+=R,ms(this,3,R));this.U.push(K);this.zc||this.K.enabled||this.K.start()}};\ng.w.flush=function(K,R){var f=this;if(this.U.length===0)K&&K();else if(this.y0&&this.UF)this.X.K=3,I8N(this);else{var V=Date.now();if(this.oY>V&&this.B50&&(f.B5=Date.now(),f.oY=f.B5+S);S=j8(CG);var E;fG&&S&&((E=v.Sr[S])==null?void 0:E[175237375])!=null&&KG(SnN,3);a:{var Q=Q===void 0?!1:Q;if(j8(idB)&&j8(CG)&&void 0===idB){E=v.Sr;S=E[CG];if(!S)break a;if(S=S.dZ)try{S(E,175237375,Eyv);break a}catch(J){Is(J)}}Q&&(Q=v.Sr,\n(E=j8(CG))&&E in Q&&(Q=Q[E])&&delete Q[175237375])}Q=cP.U?cP.K(v,cP.U,175237375,cP.X):cP.K(v,175237375,null,cP.X);if(Q=Q===null?void 0:Q)Q=g.mr(Q,1,-1),Q!==-1&&(f.B=new g.qx(Q<1?1:Q,3E5,.1),f.K.setInterval(f.B.getValue()))}}K&&K();f.T=0},y=function(S,v){var L=qR(H,nw,3);\nvar E=Number(egD(H,14));g.Mx(f.B);f.K.setInterval(f.B.getValue());S===401&&l&&(f.G2=l);E&&(f.J+=E);v===void 0&&(v=f.isRetryable(S));v&&(f.U=L.concat(f.U),f.zc||f.K.enabled||f.K.start());ms(f,7,1);R&&R(\"net-send-failed\",S);++f.T},h=function(){f.network&&f.network.send(c,r,y)};\nF?F.then(function(S){ms(f,5,D);c.requestHeaders[\"Content-Encoding\"]=\"gzip\";c.requestHeaders[\"Content-Type\"]=\"application/binary\";c.body=S;c.JJ=2;h()},function(){ms(f,6,D);\nh()}):h()}}}};\ng.w.isRetryable=function(K){return 500<=K&&K<600||K===401||K===0};Gv.prototype.send=function(K,R,f){var V=this,D,H,l,F,c,r,y,h,S,v;return g.I(function(L){switch(L.U){case 1:return H=(D=V.xA?new AbortController:void 0)?setTimeout(function(){D.abort()},K.timeoutMillis):void 0,g.Fp(L,2,3),l=Object.assign({},{method:K.requestType,\nheaders:Object.assign({},K.requestHeaders)},K.body&&{body:K.body},K.withCredentials&&{credentials:\"include\"},{signal:K.timeoutMillis&&D?D.signal:null}),g.P(L,fetch(K.url,l),5);case 5:F=L.K;if(F.status!==200){(c=f)==null||c(F.status);L.J5(3);break}if((r=R)==null){L.J5(7);break}return g.P(L,F.text(),8);case 8:r(L.K);case 7:case 3:g.h_(L);clearTimeout(H);g.oi(L,0);break;case 2:y=g.yH(L);switch((h=y)==null?void 0:h.name){case \"AbortError\":(S=f)==null||S(408);break;default:(v=f)==null||v(400)}L.J5(3)}})};\nGv.prototype.L$=function(){return 4};g.x(u1,g.O);u1.prototype.LR=function(){this.J=!0;return this};\nu1.prototype.build=function(){this.network||(this.network=new Gv);var K=new YY({logSource:this.logSource,ib:this.ib?this.ib:Nke,sessionIndex:this.sessionIndex,tLD:this.rO,yT:this.X,zc:!1,LR:this.J,Bx:this.Bx,network:this.network});g.q(this,K);if(this.buildLabel){var R=this.buildLabel,f=jd(K.X);fJ(f,7,R)}K.N=new Qh;this.componentId&&(K.componentId=this.componentId);this.KH&&(K.KH=this.KH);this.pageId&&(K.pageId=this.pageId);this.U&&((f=this.U)?(K.experimentIds||(K.experimentIds=new Nx),R=K.experimentIds,\nf=f.PB(),fJ(R,4,f)):K.experimentIds&&LV(K.experimentIds,4));this.K&&(K.y0=K.UF);XZ_(K.X);this.network.dF&&this.network.dF(this.logSource);this.network.BQF&&this.network.BQF(K);return K};g.x(sE,g.O);sE.prototype.flush=function(K){K=K||[];if(K.length){for(var R=new oro,f=[],V=0;V-1?(R=K[l],f||(R.K1=!1)):(R=new Yow(R,this.src,H,!!V,D),R.K1=f,K.push(R));return R};\ng.w.remove=function(K,R,f,V){K=K.toString();if(!(K in this.listeners))return!1;var D=this.listeners[K];R=dC(D,R,f,V);return R>-1?(HE(D[R]),g.RK(D,R),D.length==0&&(delete this.listeners[K],this.U--),!0):!1};\ng.w.removeAll=function(K){K=K&&K.toString();var R=0,f;for(f in this.listeners)if(!K||f==K){for(var V=this.listeners[f],D=0;D-1?K[D]:null};\ng.w.hasListener=function(K,R){var f=K!==void 0,V=f?K.toString():\"\",D=R!==void 0;return g.i_(this.listeners,function(H){for(var l=0;l>>0);g.Mz(g.vE,g.O);g.vE.prototype[bJN]=!0;g.w=g.vE.prototype;g.w.addEventListener=function(K,R,f,V){g.cE(this,K,R,f,V)};\ng.w.removeEventListener=function(K,R,f,V){KRw(this,K,R,f,V)};\ng.w.dispatchEvent=function(K){var R=this.Zr;if(R){var f=[];for(var V=1;R;R=R.Zr)f.push(R),++V}R=this.vQ;V=K.type||K;if(typeof K===\"string\")K=new g.fo(K,R);else if(K instanceof g.fo)K.target=K.target||R;else{var D=K;K=new g.fo(V,R);g.na(K,D)}D=!0;var H;if(f)for(H=f.length-1;!K.K&&H>=0;H--){var l=K.currentTarget=f[H];D=Lo(l,V,!0,K)&&D}K.K||(l=K.currentTarget=R,D=Lo(l,V,!0,K)&&D,K.K||(D=Lo(l,V,!1,K)&&D));if(f)for(H=0;!K.K&&H0){this.K--;var K=this.U;this.U=K.next;K.next=null}else K=this.X();return K};var xd;ar.prototype.add=function(K,R){var f=$wN.get();f.set(K,R);this.K?this.K.next=f:this.U=f;this.K=f};\nar.prototype.remove=function(){var K=null;this.U&&(K=this.U,this.U=this.U.next,this.U||(this.K=null),K.next=null);return K};\nvar $wN=new wC(function(){return new QV},function(K){return K.reset()});\nQV.prototype.set=function(K,R){this.U=K;this.scope=R;this.next=null};\nQV.prototype.reset=function(){this.next=this.scope=this.U=null};var Nt,Ud=!1,Dwh=new ar;ljG.prototype.reset=function(){this.context=this.K=this.X=this.U=null;this.J=!1};\nvar dwB=new wC(function(){return new ljG},function(K){K.reset()});\ng.AA.prototype.then=function(K,R,f){return vPN(this,zt(typeof K===\"function\"?K:null),zt(typeof R===\"function\"?R:null),f)};\ng.AA.prototype.$goog_Thenable=!0;g.w=g.AA.prototype;g.w.finally=function(K){var R=this;K=zt(K);return new g.AA(function(f,V){y3o(R,function(D){K();f(D)},function(D){K();\nV(D)})})};\ng.w.rk=function(K,R){return vPN(this,null,zt(K),R)};\ng.w.catch=g.AA.prototype.rk;g.w.cancel=function(K){if(this.U==0){var R=new Tt(K);g.WE(function(){hJB(this,R)},this)}};\ng.w.gIW=function(K){this.U=0;tA(this,2,K)};\ng.w.wRp=function(K){this.U=0;tA(this,3,K)};\ng.w.TN=function(){for(var K;K=oPN(this);)S05(this,K,this.U,this.N);this.T=!1};\nvar xwv=Is;g.Mz(Tt,bE);Tt.prototype.name=\"cancel\";g.Mz(g.PE,g.vE);g.w=g.PE.prototype;g.w.enabled=!1;g.w.LL=null;g.w.setInterval=function(K){this.OU=K;this.LL&&this.enabled?(this.stop(),this.start()):this.LL&&this.stop()};\ng.w.vRF=function(){if(this.enabled){var K=g.OS()-this.Yw;K>0&&K0&&(this.getStatus(),this.T=setTimeout(this.AI.bind(this),\nthis.UF)),this.getStatus(),this.EF=!0,this.U.send(K),this.EF=!1}catch(l){this.getStatus(),P5_(this,l)}};\ng.w.AI=function(){typeof Yd!=\"undefined\"&&this.U&&(this.J=\"Timed out after \"+this.UF+\"ms, aborting\",this.K=8,this.getStatus(),this.dispatchEvent(\"timeout\"),this.abort(8))};\ng.w.abort=function(K){this.U&&this.X&&(this.getStatus(),this.X=!1,this.B=!0,this.U.abort(),this.B=!1,this.K=K||7,this.dispatchEvent(\"complete\"),this.dispatchEvent(\"abort\"),po(this))};\ng.w.uD=function(){this.U&&(this.X&&(this.X=!1,this.B=!0,this.U.abort(),this.B=!1),po(this,!0));g.bX.ZN.uD.call(this)};\ng.w.u4=function(){this.mZ()||(this.Xt||this.EF||this.B?nPh(this):this.Pna())};\ng.w.Pna=function(){nPh(this)};\ng.w.isActive=function(){return!!this.U};\ng.w.isComplete=function(){return g.mq(this)==4};\ng.w.getStatus=function(){try{return g.mq(this)>2?this.U.status:-1}catch(K){return-1}};\ng.w.getResponseHeader=function(K){if(this.U&&this.isComplete())return K=this.U.getResponseHeader(K),K===null?void 0:K};\ng.w.getLastError=function(){return typeof this.J===\"string\"?this.J:String(this.J)};eo.prototype.send=function(K,R,f){R=R===void 0?function(){}:R;\nf=f===void 0?function(){}:f;\nkw5(K.url,function(V){V=V.target;Gt(V)?R(g.uX(V)):f(V.getStatus())},K.requestType,K.body,K.requestHeaders,K.timeoutMillis,K.withCredentials)};\neo.prototype.L$=function(){return 1};Ru.prototype.done=function(){this.logger.A2(this.event,Kg()-this.startTime)};\ng.x(fg,cK);g.x(DE,fg);g.w=DE.prototype;g.w.Zz=function(){};\ng.w.d0=function(){};\ng.w.A2=function(){};\ng.w.wi=function(){};\ng.w.l9=function(){};\ng.w.P$=function(K,R,f,V){return V};\ng.w.hL=function(){};\ng.w.JL=function(){};\ng.w.Bi=function(){};\ng.x(H8,fg);g.w=H8.prototype;g.w.update=function(K){this.logger.dispose();this.logger=K};\ng.w.d0=function(K){this.logger.d0(K)};\ng.w.A2=function(K,R){this.logger.A2(K,R)};\ng.w.wi=function(K){this.logger.wi(K)};\ng.w.l9=function(){this.logger.l9()};\ng.w.P$=function(K,R,f,V){return this.logger.P$(K,R,f,V)};\ng.w.hL=function(K){this.logger.hL(K)};\ng.w.JL=function(K){this.logger.JL(K)};\ng.w.Bi=function(K){this.logger.Bi(K)};\ng.w.Zz=function(K){this.logger.Zz(K)};\ng.x(j_h,g.O);g.x($L,fg);g.w=$L.prototype;g.w.Zz=function(K){this.metrics.YJ2.QP(K,this.PR)};\ng.w.d0=function(K){this.metrics.eventCount.eH(K,this.PR)};\ng.w.A2=function(K,R){this.metrics.oy.QP(R,K,this.PR)};\ng.w.wi=function(K){this.metrics.errorCount.eH(K,this.PR)};\ng.w.P$=function(K,R,f,V){function D(F){if(!H.mZ()){var c=Kg()-l;H.metrics.dF0.QP(c,K,f,F,R,H.PR)}}\nvar H=this,l=Kg();V.then(function(){return void D(0)},function(F){return void D(F instanceof Od?F.code:-1)});\nreturn V};\ng.w.hL=function(K){this.metrics.Hva.eH(K,this.PR)};\ng.w.JL=function(K){this.metrics.BJ.eH(K,this.PR)};\ng.w.Bi=function(K){this.metrics.LOr.eH(K,this.PR)};\ng.x(lH,$L);lH.prototype.l9=function(){q02(this.U)};g.x(dz,pJ);g.x(FP,pJ);g.x(c8,pJ);var f$o=Sx(c8),bDw=function(K){return Xd(function(R){return R instanceof K&&!dO(R)})}(c8);\nc8.messageId=\"bfkj\";g.x(Fg,pJ);g.x(rz,pJ);var p9_=Sx(rz);g.x(ou,g.O);ou.prototype.snapshot=function(K){if(this.mZ())throw Error(\"Already disposed\");this.logger.d0(\"n\");var R=this.logger.share();return this.X.then(function(f){var V=f.ul;return new Promise(function(D){var H=new Ru(R,\"n\");V(function(l){H.done();R.Zz(l.length);R.l9();R.dispose();D(l)},[K.Q2,\nK.Jd,K.uq,K.hd])})})};\nou.prototype.Pj=function(K){var R=this;if(this.mZ())throw Error(\"Already disposed\");this.logger.d0(\"n\");var f=Vt(this.logger,function(){return R.J([K.Q2,K.Jd,K.uq,K.hd])},\"n\");\nthis.logger.Zz(f.length);this.logger.l9();return f};\nou.prototype.h0=function(K){this.X.then(function(R){var f;(f=R.z1Q)==null||f(K)})};\nou.prototype.AD=function(){return this.logger.share()};g.x(v8,pJ);g.x(Lg,pJ);wz.prototype.nR=function(K){return $Jz(this,K,new DE,0)};g.x(zQ,g.O);g.w=zQ.prototype;g.w.snapshot=function(K){var R=this;return g.I(function(f){switch(f.U){case 1:if(R.mZ())throw Error(\"Already disposed\");if(R.K||R.N){f.J5(2);break}return g.P(f,R.B.promise,2);case 2:if(!R.K){f.J5(4);break}return g.P(f,R.K.snapshot(K),5);case 5:return f.return(f.K);case 4:throw R.N;}})};\ng.w.pause=function(){this.mZ()||this.isPaused||(this.isPaused=!0,this.U&&this.U.pause())};\ng.w.resume=function(){!this.mZ()&&this.isPaused&&(this.isPaused=!1,this.U&&this.U.resume())};\ng.w.checkForRefresh=function(){var K=this;return g.I(function(R){if(K.mZ())throw Error(\"Already disposed\");var f;if(f=K.U)f=K.U,f.isExpired()?(Qt(f),f.Mf(0),f=!0):f=!1,f=!f;return f?R.J5(0):g.P(R,K.X.promise,0)})};\ng.w.h0=function(K){var R,f;(R=this.K)==null||(f=R.h0)==null||f.call(R,K)};\ng.w.handleError=function(K){if(!this.mZ()){this.N=K;this.B.resolve();var R,f;(f=(R=this.options).m1r)==null||f.call(R,K)}};\ng.w.AD=function(){return this.logger.share()};\nvar FVh={TDa:432E5,dJ:3E5,hf:10,kG:1E4,H4:3E4,zp5:3E4,qJW:6E4,GN:1E3,ea:6E4,fg:6E5,YQ:.25,Ay:2,maxAttempts:10};au.prototype.pause=function(){this.isPaused||(this.isPaused=!0,Qt(this))};\nau.prototype.resume=function(){this.isPaused&&(this.isPaused=!1,this.tick())};\nau.prototype.isExpired=function(){return Date.now()>this.endTimeMs};var WJe,w5e=(WJe=Math.imul)!=null?WJe:function(K,R){return K*R|0},Ux=[196,\n200,224,18];W8.prototype.PB=function(){return String(this.U)+\",\"+this.K.join()};\nW8.prototype.Am=function(K,R){var f=void 0;if(this.K[this.U]!==K){var V=this.K.indexOf(K);V!==-1?(this.K.splice(V,1),V0;)R[f++]=\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\".charAt(K%62),K=Math.floor(K/62);return R.join(\"\")}};g.x(An,g.O);An.prototype.zW=function(K,R){var f=this.vt(K);R==null||R(f);return Vt(this.logger,function(){return g.OY(f,2)},this.K)};\ng.x(B8,An);B8.prototype.vt=function(K,R){var f=this;this.logger.d0(this.U);++this.B>=this.T&&this.X.resolve();var V=K();K=Vt(this.logger,function(){return f.J(V)},\"C\");\nif(K===void 0)throw new HK(17,\"YNJ:Undefined\");if(!(K instanceof Uint8Array))throw new HK(18,\"ODM:Invalid\");R==null||R(K);return K};\ng.x(XP,An);XP.prototype.vt=function(){return this.J};\ng.x(kL,An);kL.prototype.vt=function(){var K=this;return Vt(this.logger,function(){return q8(K.J)},\"d\")};\nkL.prototype.zW=function(){return this.J};\ng.x(TQ,An);TQ.prototype.vt=function(){if(this.J)return this.J;this.J=BXB(this,function(K){return\"_\"+Zso(K)});\nreturn BXB(this,function(K){return K})};\ng.x(ng,An);ng.prototype.vt=function(){var K=Math.floor(Date.now()/1E3),R=[Math.random()*255,Math.random()*255],f=R.concat([this.J&255,this.clientState],[K>>24&255,K>>16&255,K>>8&255,K&255]);K=new Uint8Array(2+f.length);K[0]=34;K[1]=f.length;K.set(f,2);f=K.subarray(2);for(var V=R=R.length;V150))try{this.cache=new UJB(K,this.logger)}catch(R){this.reportError(new HK(22,\"GBJ:init\",R))}};\ng.w.reportError=function(K){this.logger.wi(K.code);this.onError(K);return K};\nvar TXM=function(K){return Xd(function(R){if(!hlz(R))return!1;for(var f=g.Z(Object.entries(K)),V=f.next();!V.done;V=f.next()){var D=g.Z(V.value);V=D.next().value;D=D.next().value;if(!(V in R)){if(D.ptW===!0)continue;return!1}if(!D(R[V]))return!1}return!0})}({r8:function(K){return Xd(function(R){return R instanceof K})}(zQ)},\"\");var QrG=(new Date).getTime();g.x(jg,pJ);var tp2=Sx(jg);p55.prototype.getMetadata=function(){return this.metadata};qX.prototype.getMetadata=function(){return this.metadata};\nqX.prototype.getStatus=function(){return this.status};MX.prototype.T=function(K,R){R=R===void 0?{}:R;return new p55(K,this,R)};\nMX.prototype.getName=function(){return this.name};var AY_=new MX(\"/google.internal.waa.v1.Waa/Create\",v8,jg,function(K){return K.PB()},tp2);g.x(bH,pJ);var DJ5=new MX(\"/google.internal.waa.v1.Waa/GenerateIT\",Lg,bH,function(K){return K.PB()},Sx(bH));var E82=new Set([\"SAPISIDHASH\",\"APISIDHASH\"]);g.x(pg,pJ);pg.prototype.getValue=function(){var K=i9(this,2);if(Array.isArray(K)||K instanceof pJ)throw Error(\"Cannot access the Any.value field on Any protos encoded using the jspb format, call unpackJspb instead\");return NR(this,2)};g.x(YL,pJ);YL.prototype.getMessage=function(){return u9(this,2)};\nvar CJz=Sx(YL);mt.prototype.removeListener=function(K,R){K===\"data\"?Vj(this.K,R):K===\"metadata\"?Vj(this.J,R):K===\"status\"?Vj(this.B,R):K===\"end\"?Vj(this.X,R):K===\"error\"&&Vj(this.U,R);return this};\nmt.prototype.cancel=function(){this.xhr.abort()};\ng.x(mJ2,Error);g.Mz(g.DU,B1v);g.DU.prototype.U=function(){var K=new HI(this.J,this.X);this.K&&K.setCredentialsMode(this.K);return K};\ng.DU.prototype.setCredentialsMode=function(K){this.K=K};\ng.Mz(HI,g.vE);g.w=HI.prototype;g.w.open=function(K,R){if(this.readyState!=0)throw this.abort(),Error(\"Error reopening a connection\");this.aY=K;this.UF=R;this.readyState=1;$l(this)};\ng.w.send=function(K){if(this.readyState!=1)throw this.abort(),Error(\"need to call open() first. \");if(this.Z.signal.aborted)throw this.abort(),Error(\"Request was aborted.\");this.U=!0;var R={headers:this.EF,method:this.aY,credentials:this.B,cache:void 0,signal:this.Z.signal};K&&(R.body=K);(this.Xt||g.Nz).fetch(new Request(this.UF,R)).then(this.EW5.bind(this),this.Ov.bind(this))};\ng.w.abort=function(){this.response=this.responseText=\"\";this.EF=new Headers;this.status=0;this.Z.abort(\"Request was aborted.\");this.X&&this.X.cancel(\"Request was aborted.\").catch(function(){});\nthis.readyState>=1&&this.U&&this.readyState!=4&&(this.U=!1,l7(this));this.readyState=0};\ng.w.EW5=function(K){if(this.U&&(this.J=K,this.K||(this.status=this.J.status,this.statusText=this.J.statusText,this.K=K.headers,this.readyState=2,$l(this)),this.U&&(this.readyState=3,$l(this),this.U)))if(this.responseType===\"arraybuffer\")K.arrayBuffer().then(this.iB.bind(this),this.Ov.bind(this));else if(typeof g.Nz.ReadableStream!==\"undefined\"&&\"body\"in K){this.X=K.body.getReader();if(this.T){if(this.responseType)throw Error('responseType must be empty for \"streamBinaryChunks\" mode responses.');this.response=\n[]}else this.response=this.responseText=\"\",this.N=new TextDecoder;eZB(this)}else K.text().then(this.bQe.bind(this),this.Ov.bind(this))};\ng.w.lB=function(K){if(this.U){if(this.T&&K.value)this.response.push(K.value);else if(!this.T){var R=K.value?K.value:new Uint8Array(0);if(R=this.N.decode(R,{stream:!K.done}))this.response=this.responseText+=R}K.done?l7(this):$l(this);this.readyState==3&&eZB(this)}};\ng.w.bQe=function(K){this.U&&(this.response=this.responseText=K,l7(this))};\ng.w.iB=function(K){this.U&&(this.response=K,l7(this))};\ng.w.Ov=function(){this.U&&l7(this)};\ng.w.setRequestHeader=function(K,R){this.EF.append(K,R)};\ng.w.getResponseHeader=function(K){return this.K?this.K.get(K.toLowerCase())||\"\":\"\"};\ng.w.getAllResponseHeaders=function(){if(!this.K)return\"\";for(var K=[],R=this.K.entries(),f=R.next();!f.done;)f=f.value,K.push(f[0]+\": \"+f[1]),f=R.next();return K.join(\"\\r\\n\")};\ng.w.setCredentialsMode=function(K){this.B=K};\nObject.defineProperty(HI.prototype,\"withCredentials\",{get:function(){return this.B===\"include\"},\nset:function(K){this.setCredentialsMode(K?\"include\":\"same-origin\")}});g.vc.prototype.toString=function(){var K=[],R=this.B;R&&K.push(ho(R,JY2,!0),\":\");var f=this.U;if(f||R==\"file\")K.push(\"//\"),(R=this.Z)&&K.push(ho(R,JY2,!0),\"@\"),K.push(g.M2(f).replace(/%25([0-9a-fA-F]{2})/g,\"%$1\")),f=this.X,f!=null&&K.push(\":\",String(f));if(f=this.K)this.U&&f.charAt(0)!=\"/\"&&K.push(\"/\"),K.push(ho(f,f.charAt(0)==\"/\"?Zi_:Bnv,!0));(f=this.J.toString())&&K.push(\"?\",f);(f=this.T)&&K.push(\"#\",ho(f,Xth));return K.join(\"\")};\ng.vc.prototype.resolve=function(K){var R=this.clone(),f=!!K.B;f?g.d_(R,K.B):f=!!K.Z;f?R.Z=K.Z:f=!!K.U;f?g.LB(R,K.U):f=K.X!=null;var V=K.K;if(f)g.FZ(R,K.X);else if(f=!!K.K){if(V.charAt(0)!=\"/\")if(this.U&&!this.K)V=\"/\"+V;else{var D=R.K.lastIndexOf(\"/\");D!=-1&&(V=R.K.slice(0,D+1)+V)}D=V;if(D==\"..\"||D==\".\")V=\"\";else if(g.ec(D,\"./\")||g.ec(D,\"/.\")){V=sh(D,\"/\");D=D.split(\"/\");for(var H=[],l=0;l1||H.length==1&&H[0]!=\"\")&&H.pop(),\nV&&l==D.length&&H.push(\"\")):(H.push(F),V=!0)}V=H.join(\"/\")}else V=D}f?R.K=V:f=K.J.toString()!==\"\";f?cI(R,K.J.clone()):f=!!K.T;f&&(R.T=K.T);return R};\ng.vc.prototype.clone=function(){return new g.vc(this)};\nvar JY2=/[#\\/\\?@]/g,Bnv=/[#\\?:]/g,Zi_=/[#\\?]/g,DL2=/[#\\?@]/g,Xth=/#/g;g.w=yj.prototype;g.w.add=function(K,R){SE(this);this.X=null;K=i7(this,K);var f=this.U.get(K);f||this.U.set(K,f=[]);f.push(R);this.K=this.K+1;return this};\ng.w.remove=function(K){SE(this);K=i7(this,K);return this.U.has(K)?(this.X=null,this.K=this.K-this.U.get(K).length,this.U.delete(K)):!1};\ng.w.clear=function(){this.U=this.X=null;this.K=0};\ng.w.isEmpty=function(){SE(this);return this.K==0};\ng.w.forEach=function(K,R){SE(this);this.U.forEach(function(f,V){f.forEach(function(D){K.call(R,D,V,this)},this)},this)};\ng.w.hX=function(){SE(this);for(var K=Array.from(this.U.values()),R=Array.from(this.U.keys()),f=[],V=0;V0?String(K[0]):R};\ng.w.toString=function(){if(this.X)return this.X;if(!this.U)return\"\";for(var K=[],R=Array.from(this.U.keys()),f=0;f>>3;H.X!=1&&H.X!=2&&H.X!=15&&z_(H,l,F,\"unexpected tag\");H.U=1;H.K=0;H.J=0}\nfunction f(c){H.J++;H.J==5&&c&240&&z_(H,l,F,\"message length too long\");H.K|=(c&127)<<(H.J-1)*7;c&128||(H.U=2,H.Z=0,typeof Uint8Array!==\"undefined\"?H.B=new Uint8Array(H.K):H.B=Array(H.K),H.K==0&&D())}\nfunction V(c){H.B[H.Z++]=c;H.Z==H.K&&D()}\nfunction D(){if(H.X<15){var c={};c[H.X]=H.B;H.N.push(c)}H.U=0}\nfor(var H=this,l=K instanceof Array?K:new Uint8Array(K),F=0;F0?K:null};xl.prototype.isInputValid=function(){return this.U===null};\nxl.prototype.R0=function(){return this.U};\nxl.prototype.GP=function(){return!1};\nxl.prototype.parse=function(K){this.U!==null&&y5B(this,K,\"stream already broken\");var R=null;try{var f=this.X;f.X||r5_(f,K,\"stream already broken\");f.U+=K;var V=Math.floor(f.U.length/4);if(V==0)var D=null;else{try{var H=CT5(f.U.slice(0,V*4))}catch(l){r5_(f,f.U,l.message)}f.K+=V*4;f.U=f.U.slice(V*4);D=H}R=D===null?null:this.J.parse(D)}catch(l){y5B(this,K,l.message)}this.K+=K.length;return R};g.w=aI.prototype;g.w.isInputValid=function(){return this.B!=3};\ng.w.R0=function(){return this.EF};\ng.w.done=function(){return this.B===2};\ng.w.GP=function(){return!1};\ng.w.parse=function(K){function R(){for(;h0;)if(v=K[h++],H.Z===4?H.Z=0:H.Z++,!v)break a;if(v==='\"'&&!H.N){H.U=V();break}if(v===\"\\\\\"&&!H.N&&(H.N=!0,v=K[h++],\n!v))break;if(H.N)if(H.N=!1,v===\"u\"&&(H.Z=1),v=K[h++])continue;else break;F.lastIndex=h;v=F.exec(K);if(!v){h=K.length+1;break}h=v.index+1;v=K[v.index];if(!v)break}H.X+=h-L;continue;case 9:if(!v)continue;v===\"r\"?H.U=10:Qj(H,K,h);continue;case 10:if(!v)continue;v===\"u\"?H.U=11:Qj(H,K,h);continue;case 11:if(!v)continue;v===\"e\"?H.U=V():Qj(H,K,h);continue;case 12:if(!v)continue;v===\"a\"?H.U=13:Qj(H,K,h);continue;case 13:if(!v)continue;v===\"l\"?H.U=14:Qj(H,K,h);continue;case 14:if(!v)continue;v===\"s\"?H.U=15:\nQj(H,K,h);continue;case 15:if(!v)continue;v===\"e\"?H.U=V():Qj(H,K,h);continue;case 16:if(!v)continue;v===\"u\"?H.U=17:Qj(H,K,h);continue;case 17:if(!v)continue;v===\"l\"?H.U=18:Qj(H,K,h);continue;case 18:if(!v)continue;v===\"l\"?H.U=V():Qj(H,K,h);continue;case 19:v===\".\"?H.U=20:Qj(H,K,h);continue;case 20:if(\"0123456789.eE+-\".indexOf(v)!==-1)continue;else h--,H.X--,H.U=V();continue;default:Qj(H,K,h)}}}\nfunction V(){var v=l.pop();return v!=null?v:1}\nfunction D(v){H.K>1||(v||(v=y===-1?H.J+K.substring(r,h):K.substring(y,h)),H.UF?H.T.push(v):H.T.push(JSON.parse(v)),y=h)}\nfor(var H=this,l=H.aY,F=H.Xt,c=K.length,r=0,y=-1,h=0;h0?(S=H.T,H.T=[],S):null}return null};Nk.prototype.isInputValid=function(){return this.B===null};\nNk.prototype.R0=function(){return this.B};\nNk.prototype.GP=function(){return!1};\nNk.prototype.parse=function(K){function R(c){H.K=6;H.B=\"The stream is broken @\"+H.U+\"/\"+l+\". Error: \"+c+\". With input:\\n\";throw Error(H.B);}\nfunction f(){H.X=new aI({DSe:!0,WJ:!0})}\nfunction V(c){if(c)for(var r=0;r1)&&R(\"extra status: \"+c);H.T=!0;var r={};r[2]=c[0];H.J.push(r)}}\nfor(var H=this,l=0;l0?(K=H.J,H.J=[],K):null};UH.prototype.vr=function(){return this.U};\nUH.prototype.getStatus=function(){return this.B};\nUH.prototype.UF=function(K){K=K.target;try{if(K==this.U)a:{var R=g.mq(this.U),f=this.U.K,V=this.U.getStatus(),D=g.uX(this.U);K=[];if(g.sd(this.U)instanceof Array){var H=g.sd(this.U);H.length>0&&H[0]instanceof Uint8Array&&(this.EF=!0,K=H)}if(!(R<3||R==3&&!D&&K.length==0))if(V=V==200||V==206,R==4&&(f==8?WI(this,7):f==7?WI(this,8):V||WI(this,3)),this.K||(this.K=htz(this.U),this.K==null&&WI(this,5)),this.B>2)to(this);else{if(K.length>this.X){var l=K.length;f=[];try{if(this.K.GP())for(var F=0;Fthis.X){F=D.slice(this.X);this.X=D.length;try{var r=this.K.parse(F);r!=null&&this.J&&this.J(r)}catch(y){WI(this,5);to(this);break a}}R==4?(D.length!=\n0||this.EF?WI(this,2):WI(this,4),to(this)):WI(this,1)}}}catch(y){WI(this,6),to(this)}};g.w=o8_.prototype;g.w.addListener=function(K,R){eg(this,K,R);return this};\ng.w.removeListener=function(K,R){var f=this.K[K];f&&g.fa(f,R);(K=this.U[K])&&g.fa(K,R);return this};\ng.w.once=function(K,R){var f=this.U[K];f||(f=[],this.U[K]=f);f.push(R);return this};\ng.w.Rwe=function(K){var R=this.K.data;R&&SpN(K,R);(R=this.U.data)&&SpN(K,R);this.U.data=[]};\ng.w.tHt=function(){switch(this.X.getStatus()){case 1:Ao(this,\"readable\");break;case 5:case 6:case 4:case 7:case 3:Ao(this,\"error\");break;case 8:Ao(this,\"close\");break;case 2:Ao(this,\"end\")}};i7w.prototype.serverStreaming=function(K,R,f,V){var D=this,H=K.substring(0,K.length-V.name.length);return al_(function(l){var F=l.gf,c=l.getMetadata(),r=wkB(D,!1);c=zt_(D,c,r,H+F.getName());var y=xLB(r,F.K,!0);l=F.U(l.u_);r.send(c,\"POST\",l);return y},this.U9).call(this,V.T(R,f))};QxM.prototype.create=function(K,R,f){var V=this.U,D=this.K+\"/$rpc/google.internal.waa.v1.Waa/Create\";R=R||{};f=f===void 0?{}:f;return HsG(V,D,K,R,AY_,f)};var TnB,Pa_,nE5,QeB,NYv,NcM,Ipw,Fe,Xl5,WwD,rww,ZuB,Te2,o2N,vbz,gE5,Adh,Oi_,UE5,jPw,gGo,wPD,ZW,uxw;TnB=new Jo(45739196);Pa_=new Jo(45739198);nE5=new Jo(45739197);QeB=new ZU(45737488,0);NYv=new ZU(45737489,0);NcM=new Jo(45733514);Ipw=new Jo(45736776);Fe=new Jo(45738227);Xl5=new Jo(45732791);WwD=new Jo(45728572);rww=new Jo(45737482);ZuB=new Jo(45732704);Te2=new Jo(45731083);o2N=new Jo(45728553);vbz=new Jo(45735874);gE5=new Jo(45734191);Adh=new Jo(45735523);Oi_=new ZU(45735428,4E3);UE5=new Jo(45725537);\njPw=new Jo(45727949);gGo=new Jo(45728181);wPD=new Jo(45733155);ZW=new Jo(45732481);uxw=new Jo(45732775);g.qZB=new Jo(45734776);var kDB=new ZU(45725542,0),TAD=new ZU(45739023,0),XPz=new ZU(45725543,0),JwB=new ZU(45725539,0),BAh=new ZU(45725541,0),ZjG=new ZU(45725540,0),Awh=new ZU(45725538,0),tUG=new function(K,R,f,V){this.Ra=K;this.x8=R;this.defaultValue=V;this.WG=\"int\"}(3,45721421,\"h5vcc_set_prefer_minimal_post_processing\",oo(\"0\"));var tsM=\"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav\".split(\" \"),A5_=/\\bocr\\b/;var Z7h=/(?:\\[|%5B)([a-zA-Z0-9_]+)(?:\\]|%5D)/g;g.x(BbG,pJ);g.x(Xk2,pJ);g.x(kl,pJ);kl.prototype.getName=function(){return u9(this,1)};\nkl.prototype.getOptions=function(){return Os(this,Xk2,3)};\nkl.prototype.clearOptions=function(){return LV(this,3)};g.x(T_,pJ);g.w=T_.prototype;g.w.getName=function(){return u9(this,1)};\ng.w.getOptions=function(){return Os(this,BbG,3)};\ng.w.clearOptions=function(){return LV(this,3)};\ng.w.nP=function(){return CV(this,6)};\ng.w.dn=function(K){D8(this,6,K)};var PoG=function(K){return function(R){R=JSON.parse(R);if(!Array.isArray(R))throw Error(\"Expected jspb data to be an array, got \"+ZB(R)+\": \"+R);DO(R,34);return new K(R)}}(T_);var TbB=Symbol();var IlN=Symbol();Object.assign({},{attributes:{},handleError:function(K){throw K;}},{WDY:!0,\npAQ:!0,zQZ:frw,iOa:frw,bot:VBN,E82:!1,Uh0:!1,Nrt:!1,cSW:!0,aAF:Rlz,SPp:!1,q2Y:!1,Uw2:!1});var nW=null,g_=!1,sxo=1,mLv=Symbol(\"SIGNAL\"),rA={version:0,b65:0,IT:!1,producers:void 0,YF:void 0,Z0:void 0,Ae:void 0,Jj:!1,g5:!1,w5:!1,kind:\"unknown\",PD:function(){return!1},\nF2:function(){},\nxJ:function(){},\nZOa:function(){}};var yo=Symbol(\"UNSET\"),hw=Symbol(\"COMPUTING\"),oO=Symbol(\"ERRORED\");Object.assign({},rA,{value:yo,IT:!0,error:null,Ow:PI,kind:\"computed\",PD:function(K){return K.value===yo||K.value===hw},\nF2:function(K){if(K.value===hw)throw Error(\"\");var R=K.value;K.value=hw;var f=qpw(K),V=!1;try{var D=K.Tm();II(null);V=R!==yo&&R!==oO&&D!==oO&&K.Ow(R,D)}catch(H){D=oO,K.error=H}finally{II(f),K&&b7B(K)}V?K.value=R:(K.value=D,K.version++)}});Object.assign({},rA,{w5:!0,g5:!0,IT:!0,kind:\"effect\"});var Yp5=Object.assign({},rA,{Ow:PI,value:void 0,kind:\"signal\"});Object.assign({},rA,{value:yo,IT:!0,error:null,Ow:PI,kind:\"linkedSignal\",PD:function(K){return K.value===yo||K.value===hw},\nF2:function(K){if(K.value===hw)throw Error(\"\");var R=K.value;K.value=hw;var f=qpw(K);try{var V=K.source();var D=K.Tm(V,R===yo||R===oO?void 0:{source:K.TQp,value:R});K.TQp=V}catch(H){D=oO,K.error=H}finally{II(f),K&&b7B(K)}R!==yo&&D!==oO&&K.Ow(R,D)?K.value=R:(K.value=D,K.version++)}});Object.assign({},rA,{w5:!0,g5:!1,xJ:function(K){K.schedule!==null&&K.schedule(K.L$W)},\nHOU:function(){}});g.x(Mk,g.vE);Mk.prototype.dispose=function(){window.removeEventListener(\"offline\",this.X);window.removeEventListener(\"online\",this.X);this.wC.SQ(this.B);delete Mk.instance};\nMk.prototype.XL=function(){return this.U};\nMk.prototype.zi=function(){var K=this;this.B=this.wC.sU(function(){var R;return g.I(function(f){if(f.U==1)return K.U?((R=window.navigator)==null?0:R.onLine)?f.J5(3):g.P(f,qk(K),3):g.P(f,qk(K),3);K.zi();g.lE(f)})},3E4)};g.x(etv,pJ);var qko=jzc(etv,[0,Vo,RhM,OdD,Vo,-2,OdD,ny5]);pW.prototype.set=function(K,R){R=R===void 0?!0:R;0<=K&&K<52&&Number.isInteger(K)&&this.data[K]!==R&&(this.data[K]=R,this.U=-1)};\npW.prototype.get=function(K){return!!this.data[K]};var mo;g.Mz(g.sH,g.O);g.w=g.sH.prototype;g.w.start=function(){this.stop();this.J=!1;var K=Rz5(this),R=fd2(this);K&&!R&&this.K.mozRequestAnimationFrame?(this.U=g.cE(this.K,\"MozBeforePaint\",this.X),this.K.mozRequestAnimationFrame(null),this.J=!0):this.U=K&&R?K.call(this.K,this.X):this.K.setTimeout(F15(this.X),20)};\ng.w.stop=function(){if(this.isActive()){var K=Rz5(this),R=fd2(this);K&&!R&&this.K.mozRequestAnimationFrame?or(this.U):K&&R?R.call(this.K,this.U):this.K.clearTimeout(this.U)}this.U=null};\ng.w.isActive=function(){return this.U!=null};\ng.w.e$=function(){this.J&&this.U&&or(this.U);this.U=null;this.T.call(this.B,g.OS())};\ng.w.uD=function(){this.stop();g.sH.ZN.uD.call(this)};g.Mz(g.CW,g.O);g.w=g.CW.prototype;g.w.SR=0;g.w.uD=function(){g.CW.ZN.uD.call(this);this.stop();delete this.U;delete this.K};\ng.w.start=function(K){this.stop();this.SR=g.no(this.X,K!==void 0?K:this.OU)};\ng.w.stop=function(){this.isActive()&&g.Nz.clearTimeout(this.SR);this.SR=0};\ng.w.isActive=function(){return this.SR!=0};\ng.w.M0=function(){this.SR=0;this.U&&this.U.call(this.K)};g.x(g.fe,g.O);g.w=g.fe.prototype;g.w.Re=function(K){this.X=arguments;this.LL||this.K?this.U=!0:Vb(this)};\ng.w.stop=function(){this.LL&&(g.Nz.clearTimeout(this.LL),this.LL=null,this.U=!1,this.X=null)};\ng.w.pause=function(){this.K++};\ng.w.resume=function(){this.K--;this.K||!this.U||this.LL||(this.U=!1,Vb(this))};\ng.w.uD=function(){g.O.prototype.uD.call(this);this.stop()};g.Da.prototype[Symbol.iterator]=function(){return this};\ng.Da.prototype.next=function(){var K=this.U.next();return{value:K.done?void 0:this.K.call(void 0,K.value),done:K.done}};g.Mz(g.hF,g.vE);g.w=g.hF.prototype;g.w.isPlaying=function(){return this.U==1};\ng.w.isPaused=function(){return this.U==-1};\ng.w.Z6=function(){this.Of(\"begin\")};\ng.w.Y0=function(){this.Of(\"end\")};\ng.w.onFinish=function(){this.Of(\"finish\")};\ng.w.onStop=function(){this.Of(\"stop\")};\ng.w.Of=function(K){this.dispatchEvent(K)};var Mpw=ma(function(){var K=g.tB(\"DIV\"),R=g.QJ?\"-webkit\":$O?\"-moz\":null,f=\"transition:opacity 1s linear;\";R&&(f+=R+\"-transition:opacity 1s linear;\");R=CEM({style:f});if(K.nodeType===1&&/^(script|style)$/i.test(K.tagName))throw Error(\"\");K.innerHTML=ZP(R);return g.l6(K.firstChild,\"transition\")!=\"\"});g.Mz(ot,g.hF);g.w=ot.prototype;g.w.play=function(){if(this.isPlaying())return!1;this.Z6();this.Of(\"play\");this.startTime=g.OS();this.U=1;if(Mpw())return g.Ds(this.K,this.T),this.X=g.no(this.Qmp,void 0,this),!0;this.Pa(!1);return!1};\ng.w.Qmp=function(){g.i6(this.K);Hw2(this.K,this.N);g.Ds(this.K,this.J);this.X=g.no((0,g.Ii)(this.Pa,this,!1),this.B*1E3)};\ng.w.stop=function(){this.isPlaying()&&this.Pa(!0)};\ng.w.Pa=function(K){g.Ds(this.K,\"transition\",\"\");g.Nz.clearTimeout(this.X);g.Ds(this.K,this.J);this.endTime=g.OS();this.U=0;if(K)this.onStop();else this.onFinish();this.Y0()};\ng.w.uD=function(){this.stop();ot.ZN.uD.call(this)};\ng.w.pause=function(){};var ld2={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,\"linear-gradient\":!0,\"radial-gradient\":!0,\"repeating-linear-gradient\":!0,\"repeating-radial-gradient\":!0,\"cubic-bezier\":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0,\"var\":!0};Sy(\"Element\",\"attributes\")||Sy(\"Node\",\"attributes\");Sy(\"Element\",\"innerHTML\")||Sy(\"HTMLElement\",\"innerHTML\");Sy(\"Node\",\"nodeName\");Sy(\"Node\",\"nodeType\");Sy(\"Node\",\"parentNode\");Sy(\"Node\",\"childNodes\");Sy(\"HTMLElement\",\"style\")||Sy(\"Element\",\"style\");Sy(\"HTMLStyleElement\",\"sheet\");var hzN=FsG(\"getPropertyValue\"),oYM=FsG(\"setProperty\");Sy(\"Element\",\"namespaceURI\")||Sy(\"Node\",\"namespaceURI\");var yb5={\"-webkit-border-horizontal-spacing\":!0,\"-webkit-border-vertical-spacing\":!0};var LsG,bAw,vYN,iwe,wKN;LsG=RegExp(\"[A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]\");bAw=RegExp(\"^[\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]\");g.bih=RegExp(\"^[^\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]*[A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]\");\ng.v2=RegExp(\"^[^A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]*[\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]\");vYN=/^http:\\/\\/.*/;g.ptv=RegExp(\"^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)\",\"i\");iwe=/\\s+/;wKN=/[\\d\\u06f0-\\u06f9]/;wy.prototype.tQ=function(){return new zm(this.K())};\nwy.prototype[Symbol.iterator]=function(){return new xw(this.K())};\nwy.prototype.U=function(){return new xw(this.K())};\ng.x(zm,g.Xm);zm.prototype.next=function(){return this.K.next()};\nzm.prototype[Symbol.iterator]=function(){return new xw(this.K)};\nzm.prototype.U=function(){return new xw(this.K)};\ng.x(xw,wy);xw.prototype.next=function(){return this.X.next()};at.prototype.clone=function(){return new at(this.U,this.N,this.X,this.B,this.J,this.T,this.K,this.Z)};\nat.prototype.equals=function(K){return this.U==K.U&&this.N==K.N&&this.X==K.X&&this.B==K.B&&this.J==K.J&&this.T==K.T&&this.K==K.K&&this.Z==K.Z};N1.prototype.clone=function(){return new N1(this.start,this.end)};(function(){if(CLB){var K=/Windows NT ([0-9.]+)/;return(K=K.exec(g.DP()))?K[1]:\"0\"}return wL?(K=/1[0|1][_.][0-9_.]+/,(K=K.exec(g.DP()))?K[0].replace(/_/g,\".\"):\"10\"):g.Dx?(K=/Android\\s+([^\\);]+)(\\)|;)/,(K=K.exec(g.DP()))?K[1]:\"\"):$sw||lrv||dsN?(K=/(?:iPhone|CPU)\\s+OS\\s+(\\S+)/,(K=K.exec(g.DP()))?K[1].replace(/_/g,\".\"):\"\"):\"\"})();var xxN=function(){if(g.dV)return UL(/Firefox\\/([0-9.]+)/);if(g.ip||g.Gr||g.Bg)return b82;if(g.Du){if(CC()||ev()){var K=UL(/CriOS\\/([0-9.]+)/);if(K)return K}return UL(/Chrome\\/([0-9.]+)/)}if(g.v7&&!CC())return UL(/Version\\/([0-9.]+)/);if(Ra||f4){if(K=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(g.DP()))return K[1]+\".\"+K[2]}else if(g.XC)return(K=UL(/Android\\s+([0-9.]+)/))?K:UL(/Version\\/([0-9.]+)/);return\"\"}();g.Mz(g.tF,g.O);g.w=g.tF.prototype;g.w.subscribe=function(K,R,f){var V=this.K[K];V||(V=this.K[K]=[]);var D=this.T;this.U[D]=K;this.U[D+1]=R;this.U[D+2]=f;this.T=D+3;V.push(D);return D};\ng.w.unsubscribe=function(K,R,f){if(K=this.K[K]){var V=this.U;if(K=K.find(function(D){return V[D+1]==R&&V[D+2]==f}))return this.kR(K)}return!1};\ng.w.kR=function(K){var R=this.U[K];if(R){var f=this.K[R];this.J!=0?(this.X.push(K),this.U[K+1]=function(){}):(f&&g.fa(f,K),delete this.U[K],delete this.U[K+1],delete this.U[K+2])}return!!R};\ng.w.publish=function(K,R){var f=this.K[K];if(f){var V=Array(arguments.length-1),D=arguments.length,H;for(H=1;H0&&this.J==0)for(;f=this.X.pop();)this.kR(f)}}return H!=0}return!1};\ng.w.clear=function(K){if(K){var R=this.K[K];R&&(R.forEach(this.kR,this),delete this.K[K])}else this.U.length=0,this.K={}};\ng.w.uD=function(){g.tF.ZN.uD.call(this);this.clear();this.X.length=0};g.AF.prototype.set=function(K,R){R===void 0?this.ZI.remove(K):this.ZI.set(K,g.jo(R))};\ng.AF.prototype.get=function(K){try{var R=this.ZI.get(K)}catch(f){return}if(R!==null)try{return JSON.parse(R)}catch(f){throw\"Storage: Invalid value was encountered\";}};\ng.AF.prototype.remove=function(K){this.ZI.remove(K)};g.Mz(JF,g.AF);JF.prototype.set=function(K,R){JF.ZN.set.call(this,K,QAh(R))};\nJF.prototype.Bu=function(K){K=JF.ZN.get.call(this,K);if(K===void 0||K instanceof Object)return K;throw\"Storage: Invalid value was encountered\";};\nJF.prototype.get=function(K){if(K=this.Bu(K)){if(K=K.data,K===void 0)throw\"Storage: Invalid value was encountered\";}else K=void 0;return K};g.Mz(Za,JF);Za.prototype.set=function(K,R,f){if(R=QAh(R)){if(f){if(f=f.length)return g.$k;var D=f.key(R++);if(K)return g.k$(D);D=f.getItem(D);if(typeof D!==\"string\")throw\"Storage mechanism: Invalid value was encountered\";return g.k$(D)};\nreturn V};\ng.w.clear=function(){Tm(this);this.U.clear()};\ng.w.key=function(K){Tm(this);return this.U.key(K)};g.Mz(P2,kw);g.Mz(Wse,kw);g.Mz(ne,XJ);ne.prototype.set=function(K,R){this.K.set(this.U+K,R)};\nne.prototype.get=function(K){return this.K.get(this.U+K)};\nne.prototype.remove=function(K){this.K.remove(this.U+K)};\nne.prototype.tQ=function(K){var R=this.K[Symbol.iterator](),f=this,V=new g.Xm;V.next=function(){var D=R.next();if(D.done)return D;for(D=D.value;D.slice(0,f.U.length)!=f.U;){D=R.next();if(D.done)return D;D=D.value}return g.k$(K?D.slice(f.U.length):f.K.get(D))};\nreturn V};gy.prototype.getValue=function(){return this.K};\ngy.prototype.clone=function(){return new gy(this.U,this.K)};g.w=OL.prototype;g.w.Am=function(K,R){var f=this.U;f.push(new gy(K,R));K=f.length-1;R=this.U;for(f=R[K];K>0;){var V=K-1>>1;if(R[V].U>f.U)R[K]=R[V],K=V;else break}R[K]=f};\ng.w.remove=function(){var K=this.U,R=K.length,f=K[0];if(!(R<=0)){if(R==1)K.length=0;else{K[0]=K.pop();K=0;R=this.U;for(var V=R.length,D=R[K];K>1;){var H=K*2+1,l=K*2+2;H=lD.U)break;R[K]=R[H];K=H}R[K]=D}return f.getValue()}};\ng.w.PX=function(){for(var K=this.U,R=[],f=K.length,V=0;V>>16&65535|0;for(var H;f!==0;){H=f>2E3?2E3:f;f-=H;do D=D+R[V++]|0,K=K+D|0;while(--H);D%=65521;K%=65521}return D|K<<16|0};for(var ER={},SU,sPv=[],vP=0;vP<256;vP++){SU=vP;for(var Cah=0;Cah<8;Cah++)SU=SU&1?3988292384^SU>>>1:SU>>>1;sPv[vP]=SU}ER=function(K,R,f,V){f=V+f;for(K^=-1;V>>8^sPv[(K^R[V])&255];return K^-1};var lP={};lP={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"};var Kr=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],VD=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ez5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],jAe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rF=Array(576);pe(rF);var yD=Array(60);pe(yD);var fr=Array(512);pe(fr);var ey=Array(256);pe(ey);var RY=Array(29);pe(RY);var Dh=Array(30);pe(Dh);var ugM,sAD,C1c,Gvh=!1;var Wn;Wn=[new UR(0,0,0,0,function(K,R){var f=65535;for(f>K.Ef-5&&(f=K.Ef-5);;){if(K.FR<=1){aY(K);if(K.FR===0&&R===0)return 1;if(K.FR===0)break}K.XR+=K.FR;K.FR=0;var V=K.Ho+f;if(K.XR===0||K.XR>=V)if(K.FR=K.XR-V,K.XR=V,hZ(K,!1),K.YB.d8===0)return 1;if(K.XR-K.Ho>=K.uZ-262&&(hZ(K,!1),K.YB.d8===0))return 1}K.Am=0;if(R===4)return hZ(K,!0),K.YB.d8===0?3:4;K.XR>K.Ho&&hZ(K,!1);return 1}),\nnew UR(4,4,8,4,QD),new UR(4,5,16,8,QD),new UR(4,6,32,32,QD),new UR(4,4,16,16,NF),new UR(8,16,32,32,NF),new UR(8,16,128,128,NF),new UR(8,32,128,256,NF),new UR(32,128,258,1024,NF),new UR(32,258,258,4096,NF)];var mxN={};mxN=function(){this.input=null;this.lG=this.wk=this.Hq=0;this.output=null;this.Cb=this.d8=this.u1=0;this.msg=\"\";this.state=null;this.N5=2;this.un=0};var Kqo=Object.prototype.toString;\ntZ.prototype.push=function(K,R){var f=this.YB,V=this.options.chunkSize;if(this.ended)return!1;var D=R===~~R?R:R===!0?4:0;typeof K===\"string\"?f.input=Jb_(K):Kqo.call(K)===\"[object ArrayBuffer]\"?f.input=new Uint8Array(K):f.input=K;f.Hq=0;f.wk=f.input.length;do{f.d8===0&&(f.output=new bp.nH(V),f.u1=0,f.d8=V);K=YEN(f,D);if(K!==1&&K!==0)return this.Y0(K),this.ended=!0,!1;if(f.d8===0||f.wk===0&&(D===4||D===2))if(this.options.to===\"string\"){var H=bp.ym(f.output,f.u1);R=H;H=H.length;if(H<65537&&(R.subarray&&\nuX2||!R.subarray))R=String.fromCharCode.apply(null,bp.ym(R,H));else{for(var l=\"\",F=0;F0||f.d8===0)&&K!==1);if(D===4)return(f=this.YB)&&f.state?(V=f.state.status,V!==42&&V!==69&&V!==73&&V!==91&&V!==103&&V!==113&&V!==666?K=dF(f,-2):(f.state=null,K=V===113?dF(f,-3):0)):K=-2,this.Y0(K),this.ended=!0,K===0;D===2&&(this.Y0(0),f.d8=0);return!0};\ntZ.prototype.Y0=function(K){K===0&&(this.result=this.options.to===\"string\"?this.chunks.join(\"\"):bp.TD(this.chunks));this.chunks=[];this.err=K;this.msg=this.YB.msg};var JZ=\"@@redux/INIT\"+AZ(),$tM=\"@@redux/REPLACE\"+AZ();var lco=typeof Symbol===\"function\"&&Symbol.observable||\"@@observable\";var ehB=[0,sZ_,-3,fj];g.x(rA2,pJ);var LT2=jzc(rA2,[0,Vo,CDo,CR,sZ_,CR,-1,fj,sZ_,fj,-1,Vo,fj,CDo,eN,ehB,CR,-1,fj]);var wcw=1981193384;var Kei=function(K,R){return function(){var f=new Iz2(K,R,kr);return function(){return f}}()}(\"youtube.api.innertube.AttestationError\",'[null,[[\"ATTESTATION_ERROR_UNKNOWN\",0],[\"ATTESTATION_ERROR_VM_NOT_INITIALIZED\",1],[\"ATTESTATION_ERROR_VM_NO_RESPONSE\",2],[\"ATTESTATION_ERROR_VM_TIMEOUT\",3],[\"ATTESTATION_ERROR_VM_INTERNAL_ERROR\",4],[\"ATTESTATION_ERROR_PREFETCH_CHALLENGE_INVALID\",5],[\"ATTESTATION_ERROR_PREFETCH_CHALLENGE_NETWORK_ERROR\",6],[\"ATTESTATION_ERROR_PREFETCH_CHALLENGE_OFFLINE\",7],[\"ATTESTATION_ERROR_PREFETCH_CHALLENGE_INTERNAL_ERROR\",8],[\"ATTESTATION_ERROR_API_NOT_READY\",9],[\"ATTESTATION_ERROR_DEVICE_OFFLINE\",10],[\"ATTESTATION_ERROR_KEY_PAIR_INIT_FAILED\",12],[\"ATTESTATION_ERROR_SIGNING_DATA_MISSING\",13],[\"ATTESTATION_ERROR_SIGNING_FAILED\",14],[\"ATTESTATION_ERROR_CERT_CHAIN_RETRIEVAL_FAILED\",15]],null,[[11,11]]]');var Um_=new g.XV(\"adInfoDialogEndpoint\");var lAB=new g.XV(\"adPingingEndpoint\");var LHo=new g.XV(\"crossDeviceProgressCommand\");var b0=new g.XV(\"actionCompanionAdRenderer\");var M9=new g.XV(\"adActionInterstitialRenderer\");var RM$=new g.XV(\"adDurationRemainingRenderer\");var wh=new g.XV(\"adHoverTextButtonRenderer\");var Qa_=new g.XV(\"adInfoDialogRenderer\");var sQ=new g.XV(\"adMessageRenderer\");var zz=new g.XV(\"adPreviewRenderer\");var YM=new g.XV(\"adsEngagementPanelRenderer\");var aRe=new g.XV(\"dismissablePanelTextPortraitImageRenderer\");var cJ=new g.XV(\"adsEngagementPanelSectionListViewModel\");var fDS=new g.XV(\"flyoutCtaRenderer\");var p6=new g.XV(\"imageCompanionAdRenderer\");var j$=new g.XV(\"instreamAdPlayerOverlayRenderer\");var cyc=new g.XV(\"instreamSurveyAdBackgroundImageRenderer\");var LX=new g.XV(\"instreamSurveyAdPlayerOverlayRenderer\");var Di=new g.XV(\"instreamSurveyAdRenderer\"),vJ=new g.XV(\"instreamSurveyAdSingleSelectQuestionRenderer\"),iW=new g.XV(\"instreamSurveyAdMultiSelectQuestionRenderer\"),Lj=new g.XV(\"instreamSurveyAdAnswerRenderer\"),Vh8=new g.XV(\"instreamSurveyAdAnswerNoneOfTheAboveRenderer\");var fX=new g.XV(\"instreamVideoAdRenderer\");var DBz=new g.XV(\"textOverlayAdContentRenderer\"),HBS=new g.XV(\"enhancedTextOverlayAdContentRenderer\"),$B_=new g.XV(\"imageOverlayAdContentRenderer\");var q9=new g.XV(\"playerOverlayLayoutRenderer\");var bR=new g.XV(\"videoInterstitialButtonedCenteredLayoutRenderer\");var tYz=new g.XV(\"aboveFeedAdLayoutRenderer\");var A2o=new g.XV(\"belowPlayerAdLayoutRenderer\");var W3c=new g.XV(\"inPlayerAdLayoutRenderer\");var J25=new g.XV(\"inPlayerOrganicOverlayAdLayoutRenderer\");var lW=new g.XV(\"playerBytesAdLayoutRenderer\");var oq=new g.XV(\"playerBytesSequenceItemAdLayoutRenderer\");var hd=new g.XV(\"playerUnderlayAdLayoutRenderer\");var Vy=new g.XV(\"adIntroRenderer\");var KX=new g.XV(\"playerBytesSequentialLayoutRenderer\");var cR2=new g.XV(\"slidingTextPlayerOverlayRenderer\");var HJ=new g.XV(\"surveyTextInterstitialRenderer\");var dh=new g.XV(\"videoAdTrackingRenderer\");var wVc=new g.XV(\"videoInterstitialCenteredLayoutViewModel\");var lDE=new g.XV(\"simpleAdBadgeRenderer\");var Cy=new g.XV(\"skipAdRenderer\"),dBp=new g.XV(\"skipButtonRenderer\");var SH=new g.XV(\"adSlotRenderer\");var rh=new g.XV(\"squeezebackPlayerSidePanelRenderer\");var FeE=new g.XV(\"timedPieCountdownRenderer\");var gw=new g.XV(\"adAvatarViewModel\");var OW=new g.XV(\"adBadgeViewModel\");var jN=new g.XV(\"adButtonViewModel\");var czE=new g.XV(\"adDetailsLineViewModel\");var rzS=new g.XV(\"adDisclosureBannerViewModel\");var yz$=new g.XV(\"adPodIndexViewModel\");var hMz=new g.XV(\"imageBackgroundViewModel\");var ov8=new g.XV(\"adGridCardCollectionViewModel\");var S5V=new g.XV(\"adGridCardTextViewModel\");var iBu=new g.XV(\"adPreviewViewModel\");var vv_=new g.XV(\"playerAdAvatarLockupCardButtonedViewModel\");var Le8=new g.XV(\"skipAdButtonViewModel\");var wci=new g.XV(\"skipAdViewModel\");var zMV=new g.XV(\"timedPieCountdownViewModel\");var xBp=new g.XV(\"visitAdvertiserLinkViewModel\");var mA=new g.XV(\"bannerImageLayoutViewModel\");var Gi=new g.XV(\"topBannerImageTextIconButtonedLayoutViewModel\");var u0=new g.XV(\"adsEngagementPanelLayoutViewModel\");var yy=new g.XV(\"displayUnderlayTextGridCardsLayoutViewModel\");g.BD=new g.XV(\"browseEndpoint\");var Evi=new g.XV(\"confirmDialogEndpoint\");var JV5=new g.XV(\"commandContext\");var ggD=new g.XV(\"rawColdConfigGroup\");var Ihe=new g.XV(\"rawHotConfigGroup\");g.hM=new g.XV(\"commandExecutorCommand\");g.x(yAD,pJ);var kT2={TSF:0,Z_Y:1,i_2:32,Qwe:61,ySt:67,ILe:103,XAp:86,zIe:42,bOY:60,F42:62,aLZ:73,USt:76,RQr:88,g0t:90,JSU:99,cR2:98,wAe:100,KDa:102,VGt:41,Brt:69,hQD:70,MGZ:71,Rm0:2,gEF:27,ANDROID:3,mDt:54,eEe:14,k3U:91,tQ5:55,G3Y:24,fqF:20,Y$Y:18,TkF:21,s1U:104,dD2:30,CZt:29,lqQ:28,H_r:101,rND:34,j15:36,oh2:38,IOS:5,Ei5:15,wyt:92,UlY:40,aTW:25,Qop:17,uqQ:19,Xyr:64,ITQ:66,Rr5:26,Jc2:22,Vca:33,BRe:68,hrW:35,giQ:53,ycW:37,Kct:39,JRa:7,VdQ:57,BSa:43,Md0:59,hID:93,HF5:74,qYZ:75,m9D:85,ARp:65,td0:80,GYa:8,w8Y:10,\nYYU:58,fU2:63,eIQ:72,LqY:23,ASD:11,eQ0:13,hqt:12,yRa:16,p8F:56,umQ:31,Qpr:77,YS2:84,E0t:87,Te2:89,oVW:94,niQ:95};g.x(kg,pJ);kg.prototype.ij=function(){return u9(this,3)};\nkg.prototype.uB=function(){return u9(this,5)};\nkg.prototype.Fm=function(K){return fJ(this,5,K)};g.x(TI,pJ);g.x(h3N,pJ);g.x(Pn,pJ);g.w=Pn.prototype;g.w.getDeviceId=function(){return u9(this,6)};\ng.w.KI=function(K){var R=ak(this,9,ko,3,!0);F6(R,K);return R[K]};\ng.w.getPlayerType=function(){return CV(this,36)};\ng.w.setHomeGroupInfo=function(K){return MR(this,h3N,81,K)};\ng.w.clearLocationPlayabilityToken=function(){return LV(this,89)};g.x(nr,pJ);nr.prototype.getValue=function(){return u9(this,nV(this,PPD,2))};\nvar PPD=[2,3,4,5,6];g.x(IY,pJ);IY.prototype.setTrackingParams=function(K){return LV(this,1,clN(K,!1))};g.x(gF,pJ);g.x(OR,pJ);OR.prototype.KI=function(K){var R=ak(this,5,T6,3,!0);F6(R,K);return R[K]};g.x(jK,pJ);jK.prototype.getToken=function(){return KJ(this,2)};\njK.prototype.setToken=function(K){return fJ(this,2,K)};g.x(qF,pJ);qF.prototype.setSafetyMode=function(K){return D8(this,5,K)};g.x(MF,pJ);MF.prototype.kT=function(K){return MR(this,Pn,1,K)};var EQ=new g.XV(\"thumbnailLandscapePortraitRenderer\");g.aD8=new g.XV(\"changeEngagementPanelVisibilityAction\");var RLB=new g.XV(\"continuationCommand\");g.Qwz=new g.XV(\"openPopupAction\");var Ar2=new g.XV(\"signalAction\");g.wA=new g.XV(\"webCommandMetadata\");var nuD=new g.XV(\"metadataBadgeRenderer\");var KLc=new g.XV(\"signalServiceEndpoint\");var Z3=new g.XV(\"innertubeCommand\");var ncN=new g.XV(\"loggingDirectives\");var u3_={b82:\"EMBEDDED_PLAYER_MODE_UNKNOWN\",poe:\"EMBEDDED_PLAYER_MODE_DEFAULT\",i4r:\"EMBEDDED_PLAYER_MODE_PFP\",zqF:\"EMBEDDED_PLAYER_MODE_PFL\"};var yEv=new g.XV(\"channelThumbnailEndpoint\");var rEe=new g.XV(\"embeddedPlayerErrorMessageRenderer\");var l_c=new g.XV(\"embeddedPlayerOverlayVideoDetailsRenderer\"),h8M=new g.XV(\"embeddedPlayerOverlayVideoDetailsCollapsedRenderer\"),oFc=new g.XV(\"embeddedPlayerOverlayVideoDetailsExpandedRenderer\");var kzz=new g.XV(\"embedsInfoPanelRenderer\");var c7o=new g.XV(\"feedbackEndpoint\");var Noi=new g.XV(\"callToActionButtonViewModel\");var UB$=new g.XV(\"interactionLoggingCommandMetadata\");var ME5={W4r:\"WEB_DISPLAY_MODE_UNKNOWN\",x90:\"WEB_DISPLAY_MODE_BROWSER\",vLZ:\"WEB_DISPLAY_MODE_MINIMAL_UI\",SYF:\"WEB_DISPLAY_MODE_STANDALONE\",nL5:\"WEB_DISPLAY_MODE_FULLSCREEN\"};g.x(bP,pJ);bP.prototype.getPlayerType=function(){return CV(this,7)};\nbP.prototype.Vt=function(){return u9(this,19)};\nbP.prototype.setVideoId=function(K){return fJ(this,19,K)};g.x(pr,pJ);g.x(Yg,pJ);g.x(mY,pJ);\nvar WeB=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353,\n354,355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,399,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469,471,473,474,480,481,482,484,485,486,491,495,496,506,507,509,511,512,513,514,515,516,517,518,519,520,522,523,524,525,526,527,528,529,530,531];var thi=new g.XV(\"loggingContext\");g.x(GI,pJ);g.x(uP,pJ);uP.prototype.Vt=function(){return KJ(this,nV(this,fM,1))};\nuP.prototype.setVideoId=function(K){return Tu(this,1,fM,pG(K))};\nuP.prototype.getPlaylistId=function(){return KJ(this,nV(this,fM,2))};\nvar fM=[1,2];g.x(g.sR,pJ);g.sR.prototype.PS=go(0);var Azu=new g.XV(\"dismissPlayerOverlayCommand\");var dQ=new g.XV(\"changeKeyedMarkersVisibilityCommand\");var Jzi=new g.XV(\"changeMarkersVisibilityCommand\");var guw=new g.XV(\"loadMarkersCommand\");var ZBH=new g.XV(\"suggestedActionDataViewModel\");var Pbh=new g.XV(\"timelyActionViewModel\");var T72=new g.XV(\"timelyActionsOverlayViewModel\");var DTv=new g.XV(\"productListItemRenderer\");var Bo8=new g.XV(\"shoppingOverlayRenderer\");var d3N=new g.XV(\"musicEmbeddedPlayerOverlayVideoDetailsRenderer\");var Xci=new g.XV(\"adFeedbackEndpoint\");var k2S=new g.XV(\"menuEndpoint\");var de_=new g.XV(\"phoneDialerEndpoint\");var $eh=new g.XV(\"sendSmsEndpoint\");var $3_=new g.XV(\"copyTextEndpoint\");var To_=new g.XV(\"shareEndpoint\"),P__=new g.XV(\"shareEntityEndpoint\"),nvV=new g.XV(\"shareEntityServiceEndpoint\"),IDp=new g.XV(\"webPlayerShareEntityServiceEndpoint\");g.Tq=new g.XV(\"urlEndpoint\");g.$s=new g.XV(\"watchEndpoint\");var gvS=new g.XV(\"watchPlaylistEndpoint\");g.OBi=new g.XV(\"offlineOrchestrationActionCommand\");var yTv=new g.XV(\"compositeVideoOverlayRenderer\");var jwH=new g.XV(\"miniplayerRenderer\");var VmB=new g.XV(\"paidContentOverlayRenderer\");var Iw_=new g.XV(\"playerMutedAutoplayOverlayRenderer\"),gM_=new g.XV(\"playerMutedAutoplayEndScreenRenderer\");var Bqo=new g.XV(\"unserializedPlayerResponse\"),u$o=new g.XV(\"unserializedPlayerResponse\");var q5B=new g.XV(\"playlistEditEndpoint\");var zD;g.xu=new g.XV(\"buttonRenderer\");zD=new g.XV(\"toggleButtonRenderer\");var x4N=new g.XV(\"counterfactualRenderer\");var Mhi=new g.XV(\"resolveUrlCommandMetadata\");var bBE=new g.XV(\"modifyChannelNotificationPreferenceEndpoint\");var $6G=new g.XV(\"pingingEndpoint\");var pcW=new g.XV(\"unsubscribeEndpoint\");g.XB=new g.XV(\"subscribeButtonRenderer\");var Y5T=new g.XV(\"subscribeEndpoint\");var YC5=new g.XV(\"buttonViewModel\");var EQM=new g.XV(\"qrCodeRenderer\");var PUz={Hp5:\"LIVING_ROOM_APP_MODE_UNSPECIFIED\",jo5:\"LIVING_ROOM_APP_MODE_MAIN\",kkF:\"LIVING_ROOM_APP_MODE_KIDS\",dl5:\"LIVING_ROOM_APP_MODE_MUSIC\",LcQ:\"LIVING_ROOM_APP_MODE_UNPLUGGED\",NRa:\"LIVING_ROOM_APP_MODE_GAMING\"};var ZXG=new g.XV(\"autoplaySwitchButtonRenderer\");var k_,CtN,fi_,F0M;k_=new g.XV(\"decoratedPlayerBarRenderer\");CtN=new g.XV(\"chapteredPlayerBarRenderer\");fi_=new g.XV(\"multiMarkersPlayerBarRenderer\");F0M=new g.XV(\"chapterRenderer\");g.fC5=new g.XV(\"markerRenderer\");var oCv=new g.XV(\"decoratedPlayheadRenderer\");var Thz=new g.XV(\"desktopOverlayConfigRenderer\");var QnG=new g.XV(\"engagementPanelSectionListRenderer\");var XJz=new g.XV(\"gatedActionsOverlayViewModel\");var $GD=new g.XV(\"heatMarkerRenderer\");var Hxo=new g.XV(\"heatmapRenderer\");var Ii2=new g.XV(\"watchToWatchTransitionRenderer\");var Fl_=new g.XV(\"playlistPanelRenderer\");var mB$=new g.XV(\"productUpsellSuggestedActionViewModel\");var G2B=new g.XV(\"suggestedActionTimeRangeTrigger\"),uG$=new g.XV(\"suggestedActionsRenderer\"),swz=new g.XV(\"suggestedActionRenderer\");var lCh=new g.XV(\"timedMarkerDecorationRenderer\");var zMv=new g.XV(\"cipher\");var XO2=new g.XV(\"playerVars\");var s6v=new g.XV(\"playerVars\");var xk=g.Nz.window,C_B,eMW,Cr=(xk==null?void 0:(C_B=xk.yt)==null?void 0:C_B.config_)||(xk==null?void 0:(eMW=xk.ytcfg)==null?void 0:eMW.data_)||{};g.WT(\"yt.config_\",Cr);var fI=[];var acw=/^[\\w.]*$/,wEM={q:!0,search_query:!0},Lqw=String($A);var SO=new function(){var K=window.document;this.U=window;this.K=K};\ng.WT(\"yt.ads_.signals_.getAdSignalsString\",function(K){return lj(vS(K))});g.OS();var NCB=\"XMLHttpRequest\"in g.Nz?function(){return new XMLHttpRequest}:null;var KuH=\"client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods\".split(\" \");g.X(KuH);var AAe={Authorization:\"AUTHORIZATION\",\"X-Goog-EOM-Visitor-Id\":\"EOM_VISITOR_DATA\",\"X-Goog-Visitor-Id\":\"SANDBOXED_VISITOR_ID\",\"X-Youtube-Domain-Admin-State\":\"DOMAIN_ADMIN_STATE\",\"X-Youtube-Chrome-Connected\":\"CHROME_CONNECTED_HEADER\",\"X-YouTube-Client-Name\":\"INNERTUBE_CONTEXT_CLIENT_NAME\",\"X-YouTube-Client-Version\":\"INNERTUBE_CONTEXT_CLIENT_VERSION\",\"X-YouTube-Delegation-Context\":\"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT\",\"X-YouTube-Device\":\"DEVICE\",\"X-Youtube-Identity-Token\":\"ID_TOKEN\",\"X-YouTube-Page-CL\":\"PAGE_CL\",\n\"X-YouTube-Page-Label\":\"PAGE_BUILD_LABEL\",\"X-Goog-AuthUser\":\"SESSION_INDEX\",\"X-Goog-PageId\":\"DELEGATED_SESSION_ID\"},Oow=\"app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address\".split(\" \").concat(g.X(KuH)),PX5=!1,XE2=Am;g.x(BS,bE);Ts.prototype.then=function(K,R,f){return this.U?this.U.then(K,R,f):this.X===1&&K?(K=K.call(f,this.K))&&typeof K.then===\"function\"?K:nI(K):this.X===2&&R?(K=R.call(f,this.K))&&typeof K.then===\"function\"?K:PS(K):this};\nTs.prototype.getValue=function(){return this.K};\nTs.prototype.$goog_Thenable=!0;var I9=!1;var pP=Ra||f4;var mt_=/^([0-9\\.]+):([0-9\\.]+)$/;g.x(ve,bE);ve.prototype.name=\"BiscottiError\";g.x(ie,bE);ie.prototype.name=\"BiscottiMissingError\";var CXG={format:\"RAW\",method:\"GET\",timeout:5E3,withCredentials:!0},L4=null;var Qiv=g.u_([\"data-\"]),lE2={};var Ri8=0,wm=g.QJ?\"webkit\":$O?\"moz\":g.ip?\"ms\":g.Bg?\"o\":\"\",fB8=g.t_(\"ytDomDomGetNextId\")||function(){return++Ri8};\ng.WT(\"ytDomDomGetNextId\",fB8);var rn5={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Nm.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};\nNm.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};\nNm.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var UX=g.Nz.ytEventsEventsListeners||{};g.WT(\"ytEventsEventsListeners\",UX);var oLw=g.Nz.ytEventsEventsCounter||{count:0};g.WT(\"ytEventsEventsCounter\",oLw);var Lt5=ma(function(){var K=!1;try{var R=Object.defineProperty({},\"passive\",{get:function(){K=!0}});\nwindow.addEventListener(\"test\",null,R)}catch(f){}return K}),SxB=ma(function(){var K=!1;\ntry{var R=Object.defineProperty({},\"capture\",{get:function(){K=!0}});\nwindow.addEventListener(\"test\",null,R)}catch(f){}return K});var EV;EV=window;g.N7=EV.ytcsi&&EV.ytcsi.now?EV.ytcsi.now:EV.performance&&EV.performance.timing&&EV.performance.now&&EV.performance.timing.navigationStart?function(){return EV.performance.timing.navigationStart+EV.performance.now()}:function(){return(new Date).getTime()};g.Mz(Zx,g.O);Zx.prototype.EF=function(K){K.U===void 0&&yno(K);var R=K.U;K.K===void 0&&yno(K);this.U=new g.Ha(R,K.K)};\nZx.prototype.p_=function(){return this.U||new g.Ha};\nZx.prototype.UF=function(){if(this.U){var K=(0,g.N7)();if(this.J!=0){var R=this.T,f=this.U,V=R.x-f.x;R=R.y-f.y;V=Math.sqrt(V*V+R*R)/(K-this.J);this.K[this.X]=Math.abs((V-this.B)/this.B)>.5?1:0;for(f=R=0;f<4;f++)R+=this.K[f]||0;R>=3&&this.N();this.B=V}this.J=K;this.T=this.U;this.X=(this.X+1)%4}};\nZx.prototype.uD=function(){g.a9(this.Z);g.tq(this.aY)};g.x(Be,g.O);Be.prototype.j=function(K,R,f,V,D){f=g.DY((0,g.Ii)(f,V||this.bd));f={target:K,name:R,callback:f};var H;D&&Lt5()&&(H={passive:!0});K.addEventListener(R,f.callback,H);this.T.push(f);return f};\nBe.prototype.hs=function(K){for(var R=0;R=b.dR)||Q.U.version>=M||Q.U.objectStoreNames.contains(k)||A.push(k)}c=A;if(c.length===0){E.J5(5);break}r=Object.keys(f.options.G1);\ny=F.objectStoreNames();if(f.Bf.options.version+1)throw S.close(),f.X=!1,Dkc(f,v);return E.return(S);case 8:throw R(),\nh instanceof Error&&!g.No(\"ytidb_async_stack_killswitch\")&&(h.stack=h.stack+\"\\n\"+l.substring(l.indexOf(\"\\n\")+1)),LP(h,f.name,\"\",(L=f.options.version)!=null?L:-1);}})}\nfunction R(){f.U===V&&(f.U=void 0)}\nvar f=this;if(!this.X)throw Dkc(this);if(this.U)return this.U;var V,D={blocking:function(H){H.close()},\nclosed:R,PH0:R,upgrade:this.options.upgrade};return this.U=V=K()};var M7=new j1(\"YtIdbMeta\",{G1:{databases:{dR:1}},upgrade:function(K,R){R(1)&&g.te(K,\"databases\",{keyPath:\"actualName\"})}});var sN,u3=new function(){}(new function(){});new g.hn;g.x(KO,j1);KO.prototype.K=function(K,R,f){f=f===void 0?{}:f;return(this.options.shared?hpe:yoB)(K,R,Object.assign({},f))};\nKO.prototype.delete=function(K){K=K===void 0?{}:K;return(this.options.shared?vlo:ol5)(this.name,K)};var r_H={},wID=g.Rp(\"ytGcfConfig\",{G1:(r_H.coldConfigStore={dR:1},r_H.hotConfigStore={dR:1},r_H),shared:!1,upgrade:function(K,R){R(1)&&(g.kI(g.te(K,\"hotConfigStore\",{keyPath:\"key\",autoIncrement:!0}),\"hotTimestampIndex\",\"timestamp\"),g.kI(g.te(K,\"coldConfigStore\",{keyPath:\"key\",autoIncrement:!0}),\"coldTimestampIndex\",\"timestamp\"))},\nversion:1});g.x(V_,g.O);V_.prototype.uD=function(){for(var K=g.Z(this.K),R=K.next();!R.done;R=K.next()){var f=this.U;R=f.indexOf(R.value);R>=0&&f.splice(R,1)}this.K.length=0;g.O.prototype.uD.call(this)};Fq.prototype.Fm=function(K){this.hotHashData=K;g.WT(\"yt.gcf.config.hotHashData\",this.hotHashData||null)};var y_W=typeof TextEncoder!==\"undefined\"?new TextEncoder:null,lae=y_W?function(K){return y_W.encode(K)}:function(K){K=g.gB(K);\nfor(var R=new Uint8Array(K.length),f=0;f=R?!1:!0};\ng.w.KA=function(){var K=this;if(!ZI(this))throw Error(\"IndexedDB is not supported: retryQueuedRequests\");this.eg.u2(\"QUEUED\",this.kN).then(function(R){R&&!K.iE(R,K.WD)?K.wC.sU(function(){return g.I(function(f){if(f.U==1)return R.id===void 0?f.J5(2):g.P(f,K.eg.sD(R.id,K.kN),2);K.KA();g.lE(f)})}):K.I$.XL()&&K.Xk()})};var k6;var qRo={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135,\nmangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28,\nnextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42,\nassetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225,\nliveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationPlayablesMetrics:533,liveCreationStreamWebrtcStats:288,liveCreationWebrtcError:526,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,\nvisualElementShown:72,visualElementHidden:73,visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,\nspacecastSummaryRequested:88,spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,\nvrCopresencePartyStats:153,vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrCowatchUserStartOrJoinEvent:504,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,\nbuyFlowStarted:136,mbsConnectionInitiated:138,mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,\nbuyFlowEvent:167,kidsParentalGateTracking:168,kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,\ntransactionFlowPaymentCallBackReceived:387,transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,\noutOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189,ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,\nypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258,ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,\nwatchTimeSegment:219,appWidthLayoutError:221,accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,\ndeviceContextEvent:244,templateResolutionException:245,musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,\nytbFileOpened:268,tfliteModelError:269,apiTest:270,yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,\nwatchRestoreAttempt:294,liteAccountSignIn:296,notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,\ntvhtml5UnexpectedRestart:319,tvhtml5DeviceStorageStats:535,tvhtml5StabilityTraceEvent:478,tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,\nappShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340,iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,\nwebViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361,mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,\nparentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380,mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,\nprefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400,clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,\nsfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420,mdeQosEvent:510,mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,\nparentCodeEvent:502,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77,dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,\nbiscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447,tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,producerAppStateChange:509,producerProjectDiskInsufficientExportFailure:516,producerMediaServicesResetDetails:522,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,\nyoutubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476,tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,\ncrossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503,innertubeResponseCacheMetrics:505,miniAppAdEvent:506,dataPlanUpsellEvent:507,producerProjectRenamed:508,producerMediaSelectionEvent:511,\nembedsAutoplayStatusChanged:512,remoteConnectEvent:513,connectedSessionMisattributionEvent:514,producerProjectElementModified:515,adsSeenClientLogging:517,producerEvent:518,tvhtml5CleanStart:519,deviceAccountMetricsEvent:520,derpLogEvent:521,playablesPortalEvent:523,ipValidationStarted:524,ipValidationReceived:525,reelsSequenceMutationEvent:527,watchZoomStateChange:528,metadataEditorEvent:529,kidsPrismaDeeplinksEvent:530,creationOrchestrationEvent:531,coordinatedSamplingTriggered:532,dnaRecapScreenshotEvent:534};var oVV={},NyD=g.Rp(\"ServiceWorkerLogsDatabase\",{G1:(oVV.SWHealthLog={dR:1},oVV),shared:!0,upgrade:function(K,R){R(1)&&g.kI(g.te(K,\"SWHealthLog\",{keyPath:\"id\",autoIncrement:!0}),\"swHealthNewRequest\",[\"interface\",\"timestamp\"])},\nversion:1});var nO={},Ze5=0;var Ip;OB.prototype.requestComplete=function(K,R){R&&(this.K=!0);K=this.removeParams(K);this.U.get(K)||this.U.set(K,R)};\nOB.prototype.isEndpointCFR=function(K){K=this.removeParams(K);return(K=this.U.get(K))?!1:K===!1&&this.K?!0:null};\nOB.prototype.removeParams=function(K){return K.split(\"?\")[0]};\nOB.prototype.removeParams=OB.prototype.removeParams;OB.prototype.isEndpointCFR=OB.prototype.isEndpointCFR;OB.prototype.requestComplete=OB.prototype.requestComplete;OB.getInstance=j5;g.x(qQ,g.vE);g.w=qQ.prototype;g.w.XL=function(){return this.U.XL()};\ng.w.NA=function(K){this.U.U=K};\ng.w.Dl=function(){var K=window.navigator.onLine;return K===void 0?!0:K};\ng.w.gt=function(){this.K=!0};\ng.w.listen=function(K,R){return this.U.listen(K,R)};\ng.w.RP=function(K){K=qk(this.U,K);K.then(function(R){g.No(\"use_cfr_monitor\")&&j5().requestComplete(\"generate_204\",R)});\nreturn K};\nqQ.prototype.sendNetworkCheckRequest=qQ.prototype.RP;qQ.prototype.listen=qQ.prototype.listen;qQ.prototype.enableErrorFlushing=qQ.prototype.gt;qQ.prototype.getWindowStatus=qQ.prototype.Dl;qQ.prototype.networkStatusHint=qQ.prototype.NA;qQ.prototype.isNetworkAvailable=qQ.prototype.XL;qQ.getInstance=kmN;g.x(g.MQ,g.vE);g.MQ.prototype.XL=function(){var K=g.t_(\"yt.networkStatusManager.instance.isNetworkAvailable\");return K?K.bind(this.K)():!0};\ng.MQ.prototype.NA=function(K){var R=g.t_(\"yt.networkStatusManager.instance.networkStatusHint\").bind(this.K);R&&R(K)};\ng.MQ.prototype.RP=function(K){var R=this,f;return g.I(function(V){f=g.t_(\"yt.networkStatusManager.instance.sendNetworkCheckRequest\").bind(R.K);return g.No(\"skip_network_check_if_cfr\")&&j5().isEndpointCFR(\"generate_204\")?V.return(new Promise(function(D){var H;R.NA(((H=window.navigator)==null?void 0:H.onLine)||!0);D(R.XL())})):f?V.return(f(K)):V.return(!0)})};var bO;g.x(pO,BY);pO.prototype.writeThenSend=function(K,R){R||(R={});R=mF(K,R);g.ue()||(this.U=!1);BY.prototype.writeThenSend.call(this,K,R)};\npO.prototype.sendThenWrite=function(K,R,f){R||(R={});R=mF(K,R);g.ue()||(this.U=!1);BY.prototype.sendThenWrite.call(this,K,R,f)};\npO.prototype.sendAndWrite=function(K,R){R||(R={});R=mF(K,R);g.ue()||(this.U=!1);BY.prototype.sendAndWrite.call(this,K,R)};\npO.prototype.awaitInitialization=function(){return this.X.promise};var gwh=g.Nz.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.WT(\"ytNetworklessLoggingInitializationOptions\",gwh);g.Gp.prototype.isReady=function(){!this.config_&&P75()&&(this.config_=g.rg());return!!this.config_};var SSp,CO,K3;SSp=g.Nz.ytPubsubPubsubInstance||new g.tF;CO=g.Nz.ytPubsubPubsubSubscribedKeys||{};K3=g.Nz.ytPubsubPubsubTopicToKeys||{};g.e5=g.Nz.ytPubsubPubsubIsSynchronous||{};g.tF.prototype.subscribe=g.tF.prototype.subscribe;g.tF.prototype.unsubscribeByKey=g.tF.prototype.kR;g.tF.prototype.publish=g.tF.prototype.publish;g.tF.prototype.clear=g.tF.prototype.clear;g.WT(\"ytPubsubPubsubInstance\",SSp);g.WT(\"ytPubsubPubsubTopicToKeys\",K3);g.WT(\"ytPubsubPubsubIsSynchronous\",g.e5);\ng.WT(\"ytPubsubPubsubSubscribedKeys\",CO);var p2N={};g.x(cr,g.O);cr.prototype.append=function(K){if(!this.K)throw Error(\"This does not support the append operation\");K=K.ud();this.ud().appendChild(K)};\ng.x(rs,cr);rs.prototype.ud=function(){return this.U};g.x(y1,g.O);y1.prototype.onTouchStart=function(K){this.N=!0;this.K=K.touches.length;this.U.isActive()&&(this.U.stop(),this.B=!0);K=K.touches;this.T=GmN(this,K)||K.length!=1;var R=K.item(0);this.T||!R?this.EF=this.Z=Infinity:(this.Z=R.clientX,this.EF=R.clientY);for(R=this.X.length=0;R=0)}if(R||K&&Math.pow(K.clientX-this.Z,2)+Math.pow(K.clientY-this.EF,2)>25)this.J=!0};\ny1.prototype.onTouchEnd=function(K){var R=K.changedTouches;R&&this.N&&this.K==1&&!this.J&&!this.B&&!this.T&&GmN(this,R)&&(this.UF=K,this.U.start());this.K=K.touches.length;this.K===0&&(this.J=this.N=!1,this.X.length=0);this.B=!1};var h0=Date.now().toString();var L3={};var aQ=Symbol(\"injectionDeps\");zO.prototype.toString=function(){return\"InjectionToken(\"+this.name+\")\"};\ne2_.prototype.resolve=function(K){return K instanceof xJ?Q1(this,K.key,[],!0):Q1(this,K,[])};var N6;var Wr=window;var ZA=g.No(\"web_enable_lifecycle_monitoring\")&&t0()!==0,dFN=g.No(\"web_enable_lifecycle_monitoring\");HrN.prototype.cancel=function(){for(var K=g.Z(this.U),R=K.next();!R.done;R=K.next())R=R.value,R.jobId===void 0||R.jk||this.scheduler.SQ(R.jobId),R.jk=!0;this.K.resolve()};g.w=Br.prototype;g.w.install=function(K){this.plugins.push(K);return this};\ng.w.uninstall=function(){var K=this;g.wW.apply(0,arguments).forEach(function(R){R=K.plugins.indexOf(R);R>-1&&K.plugins.splice(R,1)})};\ng.w.transition=function(K,R){var f=this;ZA&&VKo(this.state);var V=this.transitions.find(function(H){return Array.isArray(H.from)?H.from.find(function(l){return l===f.state&&H.to===K}):H.from===f.state&&H.to===K});\nif(V){this.K&&($Fv(this.K),this.K=void 0);FYw(this,K,R);this.state=K;ZA&&A0(this.state);V=V.action.bind(this);var D=this.plugins.filter(function(H){return H[K]}).map(function(H){return H[K]});\nV(lho(this,D),R)}else throw Error(\"no transition specified from \"+this.state+\" to \"+K);};\ng.w.Sp0=function(K){var R=g.wW.apply(1,arguments);g.R8();for(var f=g.Z(K),V=f.next(),D={};!V.done;D={CJ:void 0},V=f.next())D.CJ=V.value,Jne(function(H){return function(){kJ(H.CJ.name);Pr(function(){return H.CJ.callback.apply(H.CJ,g.X(R))});\nTO(H.CJ.name)}}(D))};\ng.w.v4D=function(K){var R=g.wW.apply(1,arguments),f,V,D,H;return g.I(function(l){l.U==1&&(g.R8(),f=g.Z(K),V=f.next(),D={});if(l.U!=3){if(V.done)return l.J5(0);D.Ht=V.value;D.Z$=void 0;H=function(F){return function(){kJ(F.Ht.name);var c=Pr(function(){return F.Ht.callback.apply(F.Ht,g.X(R))});\nq3(c)?F.Z$=g.No(\"web_lifecycle_error_handling_killswitch\")?c.then(function(){TO(F.Ht.name)}):c.then(function(){TO(F.Ht.name)},function(r){DF_(r);\nTO(F.Ht.name)}):TO(F.Ht.name)}}(D);\nJne(H);return D.Z$?g.P(l,D.Z$,3):l.J5(3)}D={Ht:void 0,Z$:void 0};V=f.next();return l.J5(2)})};\ng.w.T_=function(K){var R=g.wW.apply(1,arguments),f=this,V=K.map(function(D){return{cz:function(){kJ(D.name);Pr(function(){return D.callback.apply(D,g.X(R))});\nTO(D.name)},\npriority:Xh(f,D)}});\nV.length&&(this.K=new HrN(V))};\ng.Yv.Object.defineProperties(Br.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var IQ;g.x(n3,Br);n3.prototype.B=function(K,R){var f=this;this.U=g.ez(0,function(){f.currentState===\"application_navigating\"&&f.transition(\"none\")},5E3);\nK(R==null?void 0:R.event)};\nn3.prototype.T=function(K,R){this.U&&(g.b7.SQ(this.U),this.U=null);K(R==null?void 0:R.event)};var cR=[];g.WT(\"yt.logging.transport.getScrapedGelPayloads\",function(){return cR});gs.prototype.storePayload=function(K,R){K=Oe(K);this.store[K]?this.store[K].push(R):(this.K={},this.store[K]=[R]);this.U++;g.No(\"more_accurate_gel_parser\")&&(R=new CustomEvent(\"TRANSPORTING_NEW_EVENT\"),window.dispatchEvent(R));return K};\ngs.prototype.smartExtractMatchingEntries=function(K){if(!K.keys.length)return[];for(var R=q6(this,K.keys.splice(0,1)[0]),f=[],V=0;V=0){V=!1;break a}}V=!0}V&&(R=XY(R))&&this.ej(R)}};\ng.w.x3=function(K){return K};\ng.w.onTouchStart=function(K){this.Xt.onTouchStart(K)};\ng.w.onTouchMove=function(K){this.Xt.onTouchMove(K)};\ng.w.onTouchEnd=function(K){if(this.Xt)this.Xt.onTouchEnd(K)};\ng.w.ej=function(K){this.layoutId?this.H5.executeCommand(K,this.layoutId):(K=new g.NB(\"There is undefined layoutId when calling the runCommand method.\",{componentType:this.componentType}),g.WR(K))};\ng.w.createServerVe=function(K,R){this.api.createServerVe(K,this);this.api.setTrackingParams(K,R)};\ng.w.logVisibility=function(K,R){this.api.hasVe(K)&&this.api.logVisibility(K,R,this.interactionLoggingClientData)};\ng.w.uD=function(){this.clear(null);this.hs(this.v5);for(var K=g.Z(this.B5),R=K.next();!R.done;R=K.next())this.hs(R.value);g.di.prototype.uD.call(this)};g.x(ZQ,FW);\nZQ.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.U=R;if(R.text==null&&R.icon==null)g.A$(Error(\"ButtonRenderer did not have text or an icon set.\"));else{switch(R.style||null){case \"STYLE_UNKNOWN\":K=\"ytp-ad-button-link\";break;default:K=null}K!=null&&g.dy(this.element,K);R.text!=null&&(K=g.ri(R.text),g.Ca(K)||(this.element.setAttribute(\"aria-label\",K),this.X=new g.di({V:\"span\",D:\"ytp-ad-button-text\",Q0:K}),g.q(this,this.X),this.X.V0(this.element)));R.accessibilityData&&R.accessibilityData.accessibilityData&&\nR.accessibilityData.accessibilityData.label&&!g.Ca(R.accessibilityData.accessibilityData.label)&&this.element.setAttribute(\"aria-label\",R.accessibilityData.accessibilityData.label);R.icon!=null&&(R=JJ(R.icon,this.J),R!=null&&(this.K=new g.di({V:\"span\",D:\"ytp-ad-button-icon\",S:[R]}),g.q(this,this.K)),this.B?XU(this.element,this.K.element,0):this.K.V0(this.element))}};\nZQ.prototype.clear=function(){this.hide()};\nZQ.prototype.onClick=function(K){FW.prototype.onClick.call(this,K);K=g.Z(cq_(this));for(var R=K.next();!R.done;R=K.next())R=R.value,this.layoutId?this.H5.executeCommand(R,this.layoutId):g.WR(Error(\"Missing layoutId for button.\"));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.x(Bv,g.O);Bv.prototype.uD=function(){this.K&&g.tq(this.K);this.U.clear();XW=null;g.O.prototype.uD.call(this)};\nBv.prototype.register=function(K,R){R&&this.U.set(K,R)};\nvar XW=null;g.x(Pv,FW);\nPv.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);K=R.hoverText||null;R=R.button&&g.z(R.button,g.xu)||null;R==null?g.WR(Error(\"AdHoverTextButtonRenderer.button was not set in response.\")):(this.button=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,void 0,void 0,void 0,void 0,this.X),g.q(this,this.button),this.button.init(Rh(\"button\"),R,this.macros),K&&this.button.element.setAttribute(\"aria-label\",g.ri(K)),this.button.V0(this.element),this.Z&&!g.lp(this.button.element,\n\"ytp-ad-clickable\")&&g.dy(this.button.element,\"ytp-ad-clickable\"),this.X&&g.dy(this.button.element,\"ytp-ad-hover-text-button--clean-player\"),K&&(this.K=new g.di({V:\"div\",D:\"ytp-ad-hover-text-container\"}),this.B&&(R=new g.di({V:\"div\",D:\"ytp-ad-hover-text-callout\"}),R.V0(this.K.element),g.q(this,R)),g.q(this,this.K),this.K.V0(this.element),R=kx(K),XU(this.K.element,R,0)),this.show())};\nPv.prototype.hide=function(){this.button&&this.button.hide();this.K&&this.K.hide();FW.prototype.hide.call(this)};\nPv.prototype.show=function(){this.button&&this.button.show();FW.prototype.show.call(this)};g.x(Ih,FW);\nIh.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);f=(K=R.thumbnail)&&nS(K)||\"\";g.Ca(f)?Math.random()<.01&&g.A$(Error(\"Found AdImage without valid image URL\")):(this.U?g.Ds(this.element,\"backgroundImage\",\"url(\"+f+\")\"):az(this.element,{src:f}),az(this.element,{alt:K&&K.accessibility&&K.accessibility.label||\"\"}),R&&R.adRendererCommands&&R.adRendererCommands.clickCommand?this.element.classList.add(\"ytp-ad-clickable-element\"):this.element.classList.remove(\"ytp-ad-clickable-element\"),this.show())};\nIh.prototype.clear=function(){this.hide()};g.x(gi,FW);g.w=gi.prototype;g.w.hide=function(){FW.prototype.hide.call(this);this.X&&this.X.focus()};\ng.w.show=function(){this.X=document.activeElement;FW.prototype.show.call(this);this.J.focus()};\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.K=R;R.dialogMessages||R.title!=null?R.confirmLabel==null?g.WR(Error(\"ConfirmDialogRenderer.confirmLabel was not set.\")):R.cancelLabel==null?g.WR(Error(\"ConfirmDialogRenderer.cancelLabel was not set.\")):och(this,R):g.WR(Error(\"Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set.\"))};\ng.w.clear=function(){g.kc(this.U);this.hide()};\ng.w.nu=function(){this.hide()};\ng.w.F8=function(){var K=this.K.cancelEndpoint;K&&(this.layoutId?this.H5.executeCommand(K,this.layoutId):g.WR(Error(\"Missing layoutId for confirm dialog.\")));this.hide()};\ng.w.vL=function(){var K=this.K.confirmNavigationEndpoint||this.K.confirmEndpoint;K&&(this.layoutId?this.H5.executeCommand(K,this.layoutId):g.WR(Error(\"Missing layoutId for confirm dialog.\")));this.hide()};g.x(Ol,FW);g.w=Ol.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.X=R;if(R.defaultText==null&&R.defaultIcon==null)g.WR(Error(\"ToggleButtonRenderer must have either text or icon set.\"));else if(R.defaultIcon==null&&R.toggledIcon!=null)g.WR(Error(\"ToggleButtonRenderer cannot have toggled icon set without a default icon.\"));else{if(R.style){switch(R.style.styleType){case \"STYLE_UNKNOWN\":case \"STYLE_DEFAULT\":K=\"ytp-ad-toggle-button-default-style\";break;default:K=null}K!=null&&g.dy(this.J,K)}K={};R.defaultText?\n(f=g.ri(R.defaultText),g.Ca(f)||(K.buttonText=f,this.api.C().experiments.rU(\"a11y_h5_associate_survey_question\")||this.U.setAttribute(\"aria-label\",f),this.api.C().experiments.rU(\"fix_h5_toggle_button_a11y\")&&this.K.setAttribute(\"aria-label\",f))):g.vi(this.y0,!1);R.defaultTooltip&&(K.tooltipText=R.defaultTooltip,this.U.hasAttribute(\"aria-label\")||this.K.setAttribute(\"aria-label\",R.defaultTooltip));R.defaultIcon?(f=JJ(R.defaultIcon),this.updateValue(\"untoggledIconTemplateSpec\",f),R.toggledIcon?(this.aY=\n!0,f=JJ(R.toggledIcon),this.updateValue(\"toggledIconTemplateSpec\",f)):(g.vi(this.Z,!0),g.vi(this.B,!1)),g.vi(this.U,!1)):g.vi(this.K,!1);g.ZL(K)||this.update(K);R.isToggled&&(g.dy(this.J,\"ytp-ad-toggle-button-toggled\"),this.toggleButton(R.isToggled));jD(this);this.j(this.element,\"change\",this.q0);this.show()}};\ng.w.onClick=function(K){this.B5.length>0&&(this.toggleButton(!this.isToggled()),this.q0());FW.prototype.onClick.call(this,K)};\ng.w.q0=function(){g.yb(this.J,\"ytp-ad-toggle-button-toggled\",this.isToggled());for(var K=g.Z(SX5(this,this.isToggled())),R=K.next();!R.done;R=K.next())R=R.value,this.layoutId?this.H5.executeCommand(R,this.layoutId):g.WR(Error(\"Missing layoutId for toggle button.\"));if(this.isToggled())this.api.onAdUxClicked(\"toggle-button\",this.layoutId);jD(this)};\ng.w.clear=function(){this.hide()};\ng.w.toggleButton=function(K){g.yb(this.J,\"ytp-ad-toggle-button-toggled\",K);this.U.checked=K;jD(this)};\ng.w.isToggled=function(){return this.U.checked};g.x(qf,Be);qf.prototype.B=function(K){if(Array.isArray(K)){K=g.Z(K);for(var R=K.next();!R.done;R=K.next())R=R.value,R instanceof i4h&&this.X(R)}};g.x(Mf,FW);g.w=Mf.prototype;g.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);R.reasons?R.confirmLabel==null?g.WR(Error(\"AdFeedbackRenderer.confirmLabel was not set.\")):(R.cancelLabel==null&&g.A$(Error(\"AdFeedbackRenderer.cancelLabel was not set.\")),R.title==null&&g.A$(Error(\"AdFeedbackRenderer.title was not set.\")),zVB(this,R)):g.WR(Error(\"AdFeedbackRenderer.reasons were not set.\"))};\ng.w.clear=function(){Aq(this.B);Aq(this.Z);this.J.length=0;this.hide()};\ng.w.hide=function(){this.U&&this.U.hide();this.K&&this.K.hide();FW.prototype.hide.call(this);this.X&&this.X.focus()};\ng.w.show=function(){this.U&&this.U.show();this.K&&this.K.show();this.X=document.activeElement;FW.prototype.show.call(this);this.B.focus()};\ng.w.Lr=function(){this.api.onAdUxClicked(\"ad-feedback-dialog-close-button\",this.layoutId);this.publish(\"a\");this.hide()};\ng.w.CXt=function(){this.hide()};\nb4.prototype.ud=function(){return this.U.element};\nb4.prototype.getCommand=function(){return this.K};\nb4.prototype.isChecked=function(){return this.X.checked};g.x(pS,gi);pS.prototype.nu=function(K){gi.prototype.nu.call(this,K);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-close-button\")};\npS.prototype.F8=function(K){gi.prototype.F8.call(this,K);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-close-button\")};\npS.prototype.vL=function(K){gi.prototype.vL.call(this,K);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-confirm-button\");this.publish(\"b\")};g.x(Yx,FW);g.w=Yx.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.B=R;if(R.dialogMessage==null&&R.title==null)g.WR(Error(\"Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set.\"));else{R.confirmLabel==null&&g.A$(Error(\"AdInfoDialogRenderer.confirmLabel was not set.\"));if(K=R.closeOverlayRenderer&&g.z(R.closeOverlayRenderer,g.xu)||null)this.U=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,[\"ytp-ad-info-dialog-close-button\"],\"ad-info-dialog-close-button\"),\ng.q(this,this.U),this.U.init(Rh(\"button\"),K,this.macros),this.U.V0(this.element);R.title&&(K=g.ri(R.title),this.updateValue(\"title\",K));if(R.adReasons)for(K=R.adReasons,f=0;f=this.qe?(this.aY.hide(),this.oY=!0,this.publish(\"i\")):this.X&&this.X.isTemplated()&&(K=Math.max(0,Math.ceil((this.qe-K)/1E3)),K!=this.kW&&(u4(this.X,{TIME_REMAINING:String(K)}),this.kW=K)))}};g.x(Vd,sl);g.w=Vd.prototype;\ng.w.init=function(K,R,f){sl.prototype.init.call(this,K,R,f);if(R.image&&R.image.thumbnail)if(R.headline)if(R.description)if((K=R.actionButton&&g.z(R.actionButton,g.xu))&&K.navigationEndpoint){var V=this.api.getVideoData(2);if(V!=null)if(R.image&&R.image.thumbnail){var D=R.image.thumbnail.thumbnails;D!=null&&D.length>0&&g.Ca(g.Y7(D[0].url))&&(D[0].url=V.profilePicture)}else g.A$(Error(\"FlyoutCtaRenderer does not have image.thumbnail.\"));this.X.init(Rh(\"ad-image\"),R.image,f);this.B.init(Rh(\"ad-text\"),\nR.headline,f);this.J.init(Rh(\"ad-text\"),R.description,f);this.K.init(Rh(\"button\"),K,f);f=u7(this.K.element);G_(this.K.element,f+\" This link opens in new tab\");this.aY=K.navigationEndpoint;this.api.lU()||this.show();this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.AG.bind(this));this.y0=R.startMs||0;CS(this)}else g.WR(Error(\"FlyoutCtaRenderer has no valid action button.\"));else g.WR(Error(\"FlyoutCtaRenderer has no description AdText.\"));else g.WR(Error(\"FlyoutCtaRenderer has no headline AdText.\"));\nelse g.A$(Error(\"FlyoutCtaRenderer has no image.\"))};\ng.w.onClick=function(K){sl.prototype.onClick.call(this,K);this.api.pauseVideo();!g.Ta(this.K.element,K.target)&&this.aY&&(this.layoutId?this.H5.executeCommand(this.aY,this.layoutId):g.WR(Error(\"Missing layoutId for flyout cta.\")))};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();(K&&K.current||this.qe)&&1E3*K.current>=this.y0&&(eD(this),g.c2(this.element,\"ytp-flyout-cta-inactive\"),this.K.element.removeAttribute(\"tabIndex\"))}};\ng.w.Kp=function(){this.clear()};\ng.w.clear=function(){this.hide();this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.AG.bind(this))};\ng.w.show=function(){this.K&&this.K.show();sl.prototype.show.call(this)};\ng.w.hide=function(){this.K&&this.K.hide();sl.prototype.hide.call(this)};\ng.w.AG=function(K){K==\"hidden\"?this.show():this.hide()};g.x(DF,FW);g.w=DF.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.U=R;if(this.U.rectangle)for(K=this.U.likeButton&&g.z(this.U.likeButton,zD),R=this.U.dislikeButton&&g.z(this.U.dislikeButton,zD),this.X.init(Rh(\"toggle-button\"),K,f),this.K.init(Rh(\"toggle-button\"),R,f),this.j(this.element,\"change\",this.eS),this.J.show(100),this.show(),f=g.Z(this.U&&this.U.impressionCommands||[]),K=f.next();!K.done;K=f.next())K=K.value,this.layoutId?this.H5.executeCommand(K,this.layoutId):g.WR(Error(\"Missing layoutId for instream user sentiment.\"))};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){this.X.hide();this.K.hide();FW.prototype.hide.call(this)};\ng.w.show=function(){this.X.show();this.K.show();FW.prototype.show.call(this)};\ng.w.eS=function(){Dxe(this.element,\"ytp-ad-instream-user-sentiment-selected\");this.U.postMessageAction&&this.api.lD(\"onYtShowToast\",this.U.postMessageAction);this.J.hide()};\ng.w.onClick=function(K){this.B5.length>0&&this.eS();FW.prototype.onClick.call(this,K)};g.x(HQ,g.O);g.w=HQ.prototype;g.w.uD=function(){this.reset();g.O.prototype.uD.call(this)};\ng.w.reset=function(){g.kc(this.J);this.T=!1;this.U&&this.U.stop();this.B.stop();this.X&&(this.X=!1,this.N.play())};\ng.w.start=function(){this.reset();this.J.j(this.K,\"mouseover\",this.Gg,this);this.J.j(this.K,\"mouseout\",this.tG,this);this.UF&&(this.J.j(this.K,\"focusin\",this.Gg,this),this.J.j(this.K,\"focusout\",this.tG,this));this.U?this.U.start():(this.T=this.X=!0,g.Ds(this.K,{opacity:this.EF}))};\ng.w.Gg=function(){this.X&&(this.X=!1,this.N.play());this.B.stop();this.U&&this.U.stop()};\ng.w.tG=function(){this.T?this.B.start():this.U&&this.U.start()};\ng.w.R_=function(){this.X||(this.X=!0,this.Z.play(),this.T=!0)};var BmN=[new $e(\"b.f_\",0),new $e(\"j.s_\",2),new $e(\"r.s_\",4),new $e(\"e.h_\",6),new $e(\"i.s_\",8),new $e(\"s.t_\",10),new $e(\"p.h_\",12),new $e(\"s.i_\",14),new $e(\"f.i_\",16),new $e(\"a.b_\",18),new $e(\"a.o_\"),new $e(\"g.o_\",22),new $e(\"p.i_\",24),new $e(\"p.m_\"),new $e(\"n.k_\",20),new $e(\"i.f_\"),new $e(\"a.s_\"),new $e(\"m.c_\"),new $e(\"n.h_\",26),new $e(\"o.p_\"),new $e(\"m.p_\",28),new $e(\"o.a_\"),new $e(\"d.p_\"),new $e(\"e.i_\")].reduce(function(K,R){K[R.K]=R;return K},{});g.x(yd,sl);g.w=yd.prototype;\ng.w.init=function(K,R,f){sl.prototype.init.call(this,K,R,f);this.aY=R;(this.y0=kk5(this))&&g.A$(Error(\"hasAdControlInClickCommands_ is true.\"));if(!R||g.ZL(R))g.WR(Error(\"SkipButtonRenderer was not specified or empty.\"));else if(!R.message||g.ZL(R.message))g.WR(Error(\"SkipButtonRenderer.message was not specified or empty.\"));else if(K=this.B?{iconType:\"SKIP_NEXT_NEW\"}:{iconType:\"SKIP_NEXT\"},R=this.api.C().Y(\"delhi_modern_web_player_icons\"),R=JJ(K,!1,!1,R),R==null?g.WR(Error(\"Icon for SkipButton was unable to be retrieved. Icon.IconType: \"+K.iconType+\n\".\")):(this.api.C().Y(\"disable_touch_events_on_skip_button\")&&(R.L=Object.assign({},R.L,{\"aria-hidden\":\"true\",mhF:\"false\"})),this.X=new g.di({V:\"button\",Me:[this.B?\"ytp-ad-skip-button-modern\":\"ytp-ad-skip-button\",\"ytp-button\"],S:[{V:\"span\",D:this.B?\"ytp-ad-skip-button-icon-modern\":\"ytp-ad-skip-button-icon\",S:[R]}]}),g.q(this,this.X),this.X.V0(this.J.element),this.K=new Gq(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,\"ytp-ad-skip-button-text\"),this.B&&this.K.element.classList.add(\"ytp-ad-skip-button-text-centered\"),\nthis.K.init(Rh(\"ad-text\"),this.aY.message,f),g.q(this,this.K),XU(this.X.element,this.K.element,0)),!this.api.C().Y(\"disable_touch_events_on_skip_button\")){var V=V===void 0?null:V;f=this.api.C();!(this.B5.length>0)&&f.K&&(Ze?0:\"ontouchstart\"in document.documentElement&&(z_B()||as()))&&(this.hs(this.v5),V&&this.hs(V),this.B5=[this.j(this.element,\"touchstart\",this.onTouchStart,this),this.j(this.element,\"touchmove\",this.onTouchMove,this),this.j(this.element,\"touchend\",this.onTouchEnd,this)])}};\ng.w.clear=function(){this.qe.reset();this.hide()};\ng.w.hide=function(){this.J.hide();this.K&&this.K.hide();eD(this);sl.prototype.hide.call(this)};\ng.w.onClick=function(K){if(this.X!=null){if(K){var R=K||window.event;R.returnValue=!1;R.preventDefault&&R.preventDefault()}var f;if(Jqc(K,{contentCpn:((f=this.api.getVideoData(1))==null?void 0:f.clientPlaybackNonce)||\"\"})===0)this.api.lD(\"onAbnormalityDetected\");else if(sl.prototype.onClick.call(this,K),this.publish(\"j\"),this.api.lD(\"onAdSkip\"),this.oY||!this.y0)this.api.onAdUxClicked(this.componentType,this.layoutId)}};\ng.w.x3=function(K){if(!this.oY)return this.y0&&dH(\"SkipButton click commands not pruned while ALC exist\"),K;var R,f=(R=g.z(K,g.hM))==null?void 0:R.commands;if(!f)return K;K=[];for(R=0;R=this.B&&Tmo(this,!0)};g.x(SC,ZQ);SC.prototype.init=function(K,R,f){ZQ.prototype.init.call(this,K,R,f);K=!1;R.text!=null&&(K=g.ri(R.text),K=!g.Ca(K));K?R.navigationEndpoint==null?g.A$(Error(\"No visit advertiser clickthrough provided in renderer,\")):R.style!==\"STYLE_UNKNOWN\"?g.A$(Error(\"Button style was not a link-style type in renderer,\")):this.show():g.A$(Error(\"No visit advertiser text was present in the renderer.\"))};g.x(id,FW);\nid.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);K=R.text;g.Ca(cv(K))?g.A$(Error(\"SimpleAdBadgeRenderer has invalid or empty text\")):(K&&K.text&&(R=K.text,this.X&&!this.K&&(R=this.api.C(),R=K.text+\" \"+(R&&R.K?\"\\u2022\":\"\\u00b7\")),R={text:R,isTemplated:K.isTemplated},K.style&&(R.style=K.style),K.targetId&&(R.targetId=K.targetId),K=new Gq(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),K.init(Rh(\"simple-ad-badge\"),R,f),K.V0(this.element),g.q(this,K)),this.show())};\nid.prototype.clear=function(){this.hide()};g.x(vQ,fS);g.x(L0,g.VQ);g.w=L0.prototype;g.w.wg=function(){return this.durationMs};\ng.w.stop=function(){this.U&&this.handler.hs(this.U)};\ng.w.eM=function(K){this.K={seekableStart:0,seekableEnd:this.durationMs/1E3,current:K.current};this.publish(\"h\")};\ng.w.getProgressState=function(){return this.K};\ng.w.tI=function(K){g.rH(K,2)&&this.publish(\"g\")};g.x(wH,g.VQ);g.w=wH.prototype;g.w.wg=function(){return this.durationMs};\ng.w.start=function(){this.U||(this.U=!0,this.timer.start())};\ng.w.stop=function(){this.U&&(this.U=!1,this.timer.stop())};\ng.w.eM=function(){this.E$+=100;var K=!1;this.E$>this.durationMs&&(this.E$=this.durationMs,this.timer.stop(),K=!0);this.K={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.E$/1E3};this.publish(\"h\");K&&this.publish(\"g\")};\ng.w.getProgressState=function(){return this.K};g.x(E_,sl);g.w=E_.prototype;g.w.init=function(K,R,f){sl.prototype.init.call(this,K,R,f);var V;if(R==null?0:(V=R.templatedCountdown)==null?0:V.templatedAdText){K=R.templatedCountdown.templatedAdText;if(!K.isTemplated){g.A$(Error(\"AdDurationRemainingRenderer has no templated ad text.\"));return}this.K=new Gq(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);this.K.init(Rh(\"ad-text\"),K,{});this.K.V0(this.element);g.q(this,this.K)}this.show()};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){eD(this);sl.prototype.hide.call(this)};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(this.U!=null){var K=this.U.getProgressState();if(K!=null&&K.current!=null&&this.K){var R=this.U instanceof L0?this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:K.seekableEnd:this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:this.U instanceof wH?K.seekableEnd:this.api.getDuration(2,!1);K=K.current;var f,V,D=((f=this.api.getVideoData())==null?0:(V=f.Jh)==null?0:V.call(f))?Math.max(R-K,0):R-K;u4(this.K,{FORMATTED_AD_DURATION_REMAINING:String(g.zE(D)),\nTIME_REMAINING:String(Math.ceil(D))})}}};\ng.w.show=function(){CS(this);sl.prototype.show.call(this)};g.x(av,Gq);av.prototype.onClick=function(K){Gq.prototype.onClick.call(this,K);this.api.onAdUxClicked(this.componentType)};g.x(U_,FW);U_.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(K=R.content){g.Pa(this.element,K);var f,V;R=((f=R.interaction)==null?void 0:(V=f.accessibility)==null?void 0:V.label)||K;this.element.setAttribute(\"aria-label\",R)}else g.WR(Error(\"AdSimpleAttributedString does not have text content\"))};\nU_.prototype.clear=function(){this.hide()};\nU_.prototype.onClick=function(K){FW.prototype.onClick.call(this,K)};g.x(WQ,FW);\nWQ.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});(K=R.label)&&K.content&&!g.Ca(K.content)?(this.adBadgeText.init(Rh(\"ad-simple-attributed-string\"),new Qd(K)),(R=R.adPodIndex)&&R.content&&!g.Ca(R.content)&&(this.U=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),this.U.V0(this.element),g.q(this,this.U),this.U.element.classList.add(\"ytp-ad-badge__pod-index\"),this.U.init(Rh(\"ad-simple-attributed-string\"),new Qd(R))),this.element.classList.add(this.K?\"ytp-ad-badge--stark-clean-player\":\n\"ytp-ad-badge--stark\"),this.show()):g.WR(Error(\"No label is returned in AdBadgeViewModel.\"))};\nWQ.prototype.show=function(){this.adBadgeText.show();var K;(K=this.U)==null||K.show();FW.prototype.show.call(this)};\nWQ.prototype.hide=function(){this.adBadgeText.hide();var K;(K=this.U)==null||K.hide();FW.prototype.hide.call(this)};g.x(tM,FW);tM.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});(K=R.adPodIndex)&&K.content&&!g.Ca(K.content)&&(this.U=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),this.U.V0(this.element),g.q(this,this.U),this.U.init(Rh(\"ad-simple-attributed-string\"),new Qd(K)),R.visibilityCondition===\"AD_POD_INDEX_VISIBILITY_CONDITION_AUTOHIDE\"&&this.element.classList.add(\"ytp-ad-pod-index--autohide\"));this.element.classList.add(\"ytp-ad-pod-index--stark\");this.show()};\ntM.prototype.show=function(){var K;(K=this.U)==null||K.show();FW.prototype.show.call(this)};\ntM.prototype.hide=function(){var K;(K=this.U)==null||K.hide();FW.prototype.hide.call(this)};g.x(AM,FW);\nAM.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(R!=null&&R.text){var f;if(((f=R.text)==null?0:f.content)&&!g.Ca(R.text.content)){this.U=new g.di({V:\"div\",D:\"ytp-ad-disclosure-banner__text\",Q0:R.text.content});g.q(this,this.U);this.U.V0(this.element);if(this.api.C().Y(\"enable_ad_disclosure_banner_a11y_fix\")){var V,D,H=(V=R.interaction)==null?void 0:(D=V.accessibility)==null?void 0:D.label;H||(H=R.text.content+\" This link opens in new tab\");G_(this.element,H)}else{var l;V=((H=\nR.interaction)==null?void 0:(l=H.accessibility)==null?void 0:l.label)||R.text.content;this.element.setAttribute(\"aria-label\",V)}var F;if((F=R.interaction)==null?0:F.onTap)this.K=new g.di({V:\"div\",D:\"ytp-ad-disclosure-banner__chevron\",S:[g.SD()]}),g.q(this,this.K),this.K.V0(this.element),this.api.C().Y(\"enable_ad_disclosure_banner_a11y_fix\")&&(Yl(this.element),this.element.setAttribute(\"tabindex\",\"0\"),this.listen(\"keydown\",this.eL));this.show()}}else g.WR(Error(\"No banner text found in AdDisclosureBanner.\"))};\nAM.prototype.eL=function(K){if(K.key===\"Enter\"||K.key===\" \")K.preventDefault(),this.element.click()};\nAM.prototype.clear=function(){this.hide()};g.x(BQ,g.di);BQ.prototype.eM=function(){var K=this.K.getProgressState(),R=K.seekableEnd;this.api.getPresentingPlayerType()===2&&(R=this.X?this.X/1E3:K.seekableEnd);this.progressBar.style.width=ZF(new JM(K.seekableStart,R),K.current,0)*100+\"%\"};\nBQ.prototype.onStateChange=function(){g.jA(this.api.C())||(this.api.getPresentingPlayerType()===2?this.U===-1&&(this.show(),this.U=this.K.subscribe(\"h\",this.eM,this),this.eM()):this.U!==-1&&(this.hide(),this.K.kR(this.U),this.U=-1))};g.x(Xc,FW);\nXc.prototype.init=function(K,R,f,V){FW.prototype.init.call(this,K,R,f);if(R.skipOrPreviewRenderer){if(K=g.z(R.skipOrPreviewRenderer,Cy))f=new ov(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K,this.Z),f.V0(this.G2),f.init(Rh(\"skip-button\"),K,this.macros),g.q(this,f);if(K=g.z(R.skipOrPreviewRenderer,Cy))var D=K.skipOffsetMilliseconds}R.brandInteractionRenderer&&(K=R.brandInteractionRenderer.brandInteractionRenderer,f=new DF(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),\nf.V0(this.y0),f.init(Rh(\"instream-user-sentiment\"),K,this.macros),g.q(this,f));if(K=g.z(R,fDS))if(K=g.z(K,fDS))f=new Vd(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K,!!R.showWithoutLinkedMediaLayout),g.q(this,f),f.V0(this.B),f.init(Rh(\"flyout-cta\"),K,this.macros);V=V&&V.videoAdDurationSeconds;R.adBadgeRenderer&&(f=R.adBadgeRenderer,K=g.z(f,OW),K!=null?(f=new WQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!1),g.q(this,f),f.V0(this.U),f.init(Rh(\"ad-badge\"),\nK,this.macros),this.X=f.element):(K=f.simpleAdBadgeRenderer,K==null&&(K={text:{text:\"Ad\",isTemplated:!1}}),f=new id(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0),g.q(this,f),f.V0(this.U),f.init(Rh(\"simple-ad-badge\"),K,this.macros)));R.adPodIndex&&(K=g.z(R.adPodIndex,yz$),K!=null&&(f=new tM(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,f),f.V0(this.U),f.init(Rh(\"ad-pod-index\"),K)));R.adDurationRemaining&&!R.showWithoutLinkedMediaLayout&&(K=R.adDurationRemaining.adDurationRemainingRenderer,\nK==null&&(K={templatedCountdown:{templatedAdText:{text:\"{FORMATTED_AD_DURATION_REMAINING}\",isTemplated:!0}}}),V=new E_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K,V,!1),g.q(this,V),V.V0(this.U),V.init(Rh(\"ad-duration-remaining\"),K,this.macros));R.adInfoRenderer&&(V=g.z(R.adInfoRenderer,wh))&&(K=new m2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.element,void 0,!1),g.q(this,K),this.X!==null?this.U.insertBefore(K.element,this.X.nextSibling):K.V0(this.U),\nK.init(Rh(\"ad-info-hover-text-button\"),V,this.macros));R.visitAdvertiserRenderer&&(K=g.z(R.visitAdvertiserRenderer,g.xu))&&(f=gcB(this)&&this.J?this.J:this.U)&&(V=new SC(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,V),V.V0(f),V.init(Rh(\"visit-advertiser\"),K,this.macros),Yl(V.element),K=u7(V.element),G_(V.element,K+\" This link opens in new tab\"));!(V=this.api.C())||g.gV(V)||g.kN(V)||V.controlsType!=\"3\"&&!V.disableOrganicUi||(D=new BQ(this.api,this.K,D,!1),D.V0(this.qe),\ng.q(this,D));R.adDisclosureBannerRenderer&&(R=g.z(R.adDisclosureBannerRenderer,rzS))&&(D=new AM(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),D.V0(this.aY),D.init(Rh(\"ad-disclosure-banner\"),R),g.q(this,D));this.api.C().Y(\"enable_updated_html5_player_focus_style\")&&g.dy(this.element,\"ytp-ad-player-overlay-updated-focus-style\");this.show()};\nXc.prototype.clear=function(){this.hide()};g.PQ.prototype.flush=function(K,R){K=K===void 0?[]:K;R=R===void 0?!1:R;if(g.No(\"enable_client_streamz_web\")){K=g.Z(K);for(var f=K.next();!f.done;f=K.next())f=vre(f.value),this.U&&MR(f,Lw,2,this.U),f={serializedIncrementBatch:g.OY(f.X())},g.h$(\"streamzIncremented\",f,{sendIsolatedPayload:R})}};\ng.x(jaD,g.PQ);var sX5=new Map;n0.prototype.set=function(K,R,f){f=f!==void 0?Date.now()+f:void 0;this.U.set(K,R,f)};\nn0.prototype.get=function(K){return this.U.get(K)};\nn0.prototype.remove=function(K){this.U.remove(K)};var Mzz=null;var qc=null,Mc=null,bd=null,GkB=null;g.WT(\"yt.www.ads.eventcache.getLastCompanionData\",function(){return qc});\ng.WT(\"yt.www.ads.eventcache.getLastPlaShelfData\",function(){return null});\ng.WT(\"yt.www.ads.eventcache.getLastUpdateEngagementPanelAction\",function(){return Mc});\ng.WT(\"yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction\",function(){return bd});\ng.WT(\"yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand\",function(){return GkB});var saz=new Map([[\"dark\",\"USER_INTERFACE_THEME_DARK\"],[\"light\",\"USER_INTERFACE_THEME_LIGHT\"]]);p0.prototype.handleResponse=function(K,R){if(!R)throw Error(\"request needs to be passed into ConsistencyService\");var f,V;R=((f=R.oT.context)==null?void 0:(V=f.request)==null?void 0:V.consistencyTokenJars)||[];var D;(K=(D=K.responseContext)==null?void 0:D.consistencyTokenJar)&&this.replace(R,K)};\np0.prototype.replace=function(K,R){K=g.Z(K);for(var f=K.next();!f.done;f=K.next())delete this.U[f.value.encryptedTokenJarContents];eVh(this,R)};var xzW=window.location.hostname.split(\".\").slice(-2).join(\".\"),tw;mH.getInstance=function(){tw=g.t_(\"yt.clientLocationService.instance\");tw||(tw=new mH,g.WT(\"yt.clientLocationService.instance\",tw));return tw};\ng.w=mH.prototype;\ng.w.setLocationOnInnerTubeContext=function(K){K.client||(K.client={});if(this.U)K.client.locationInfo||(K.client.locationInfo={}),K.client.locationInfo.latitudeE7=Math.floor(this.U.coords.latitude*1E7),K.client.locationInfo.longitudeE7=Math.floor(this.U.coords.longitude*1E7),K.client.locationInfo.horizontalAccuracyMeters=Math.round(this.U.coords.accuracy),K.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0;else if(this.X||this.locationPlayabilityToken)K.client.locationPlayabilityToken=this.X||\nthis.locationPlayabilityToken};\ng.w.handleResponse=function(K){var R;K=(R=K.responseContext)==null?void 0:R.locationPlayabilityToken;K!==void 0&&(this.locationPlayabilityToken=K,this.U=void 0,g.KI(\"INNERTUBE_CLIENT_NAME\")===\"TVHTML5\"?(this.localStorage=Ye(this))&&this.localStorage.set(\"yt-location-playability-token\",K,15552E3):g.O$(\"YT_CL\",JSON.stringify({loctok:K}),15552E3,xzW,!0))};\ng.w.clearLocationPlayabilityToken=function(K){K===\"TVHTML5\"?(this.localStorage=Ye(this))&&this.localStorage.remove(\"yt-location-playability-token\"):g.qo(\"YT_CL\");this.X=void 0;this.K!==-1&&(clearTimeout(this.K),this.K=-1)};\ng.w.getCurrentPositionFromGeolocation=function(){var K=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error(\"Geolocation unsupported\"));var R=!1,f=1E4;g.KI(\"INNERTUBE_CLIENT_NAME\")===\"MWEB\"&&(R=!0,f=15E3);return new Promise(function(V,D){navigator.geolocation.getCurrentPosition(function(H){K.U=H;V(H)},function(H){D(H)},{enableHighAccuracy:R,\nmaximumAge:0,timeout:f})})};\ng.w.createUnpluggedLocationInfo=function(K){var R={};K=K.coords;if(K==null?0:K.latitude)R.latitudeE7=Math.floor(K.latitude*1E7);if(K==null?0:K.longitude)R.longitudeE7=Math.floor(K.longitude*1E7);if(K==null?0:K.accuracy)R.locationRadiusMeters=Math.round(K.accuracy);return R};\ng.w.createLocationInfo=function(K){var R={};K=K.coords;if(K==null?0:K.latitude)R.latitudeE7=Math.floor(K.latitude*1E7);if(K==null?0:K.longitude)R.longitudeE7=Math.floor(K.longitude*1E7);return R};g.w=D7B.prototype;g.w.contains=function(K){return Object.prototype.hasOwnProperty.call(this.U,K)};\ng.w.get=function(K){if(this.contains(K))return this.U[K]};\ng.w.set=function(K,R){this.U[K]=R};\ng.w.hX=function(){return Object.keys(this.U)};\ng.w.remove=function(K){delete this.U[K]};ud.prototype.getModuleId=function(K){return K.serviceId.getModuleId()};\nud.prototype.get=function(K){a:{var R=this.mappings.get(K.toString());switch(R.type){case \"mapping\":K=R.value;break a;case \"factory\":R=R.value();this.mappings.set(K.toString(),{type:\"mapping\",value:R});K=R;break a;default:K=tl(R)}}return K};\nud.prototype.registerService=function(K,R){this.mappings.set(K.toString(),{type:\"mapping\",value:R});return K};\nnew ud;var Aw={},HP2=(Aw.WEB_UNPLUGGED=\"^unplugged/\",Aw.WEB_UNPLUGGED_ONBOARDING=\"^unplugged/\",Aw.WEB_UNPLUGGED_OPS=\"^unplugged/\",Aw.WEB_UNPLUGGED_PUBLIC=\"^unplugged/\",Aw.WEB_CREATOR=\"^creator/\",Aw.WEB_KIDS=\"^kids/\",Aw.WEB_EXPERIMENTS=\"^experiments/\",Aw.WEB_MUSIC=\"^music/\",Aw.WEB_REMIX=\"^music/\",Aw.WEB_MUSIC_EMBEDDED_PLAYER=\"^music/\",Aw.WEB_MUSIC_EMBEDDED_PLAYER=\"^main_app/|^sfv/\",Aw);eC.prototype.B=function(K,R,f){R=R===void 0?{}:R;f=f===void 0?ha:f;var V={context:g.GE(K.clickTrackingParams,!1,this.J)};var D=this.K(K);if(D){this.U(V,D,R);var H;R=g.C0(this.X());(D=(H=g.z(K.commandMetadata,g.wA))==null?void 0:H.apiUrl)&&(R=D);H=MoM(Mo(R));K=Object.assign({},{command:K},void 0);V={input:H,m$:bj(H),oT:V,config:K};V.config.yU?V.config.yU.identity=f:V.config.yU={identity:f};return V}f=new g.NB(\"Error: Failed to create Request from Command.\",K);g.WR(f)};\ng.Yv.Object.defineProperties(eC.prototype,{J:{configurable:!0,enumerable:!0,get:function(){return!1}}});\ng.x(K$,eC);g.x(Rn,K$);Rn.prototype.B=function(){return{input:\"/getDatasyncIdsEndpoint\",m$:bj(\"/getDatasyncIdsEndpoint\",\"GET\"),oT:{}}};\nRn.prototype.X=function(){return[]};\nRn.prototype.K=function(){};\nRn.prototype.U=function(){};var EV$={},Io2=(EV$.GET_DATASYNC_IDS=s_(Rn),EV$);var Jw={},aBu=(Jw[\"analytics.explore\"]=\"LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE\",Jw[\"artist.analytics\"]=\"LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS\",Jw[\"artist.events\"]=\"LATENCY_ACTION_CREATOR_ARTIST_CONCERTS\",Jw[\"artist.presskit\"]=\"LATENCY_ACTION_CREATOR_ARTIST_PROFILE\",Jw[\"asset.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS\",Jw[\"asset.composition\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION\",Jw[\"asset.composition_ownership\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP\",\nJw[\"asset.composition_policy\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY\",Jw[\"asset.embeds\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS\",Jw[\"asset.history\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_HISTORY\",Jw[\"asset.issues\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES\",Jw[\"asset.licenses\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES\",Jw[\"asset.metadata\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA\",Jw[\"asset.ownership\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP\",Jw[\"asset.policy\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY\",\nJw[\"asset.references\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES\",Jw[\"asset.shares\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES\",Jw[\"asset.sound_recordings\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS\",Jw[\"asset_group.assets\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS\",Jw[\"asset_group.campaigns\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS\",Jw[\"asset_group.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS\",Jw[\"asset_group.metadata\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA\",\nJw[\"song.analytics\"]=\"LATENCY_ACTION_CREATOR_SONG_ANALYTICS\",Jw.creator_channel_dashboard=\"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD\",Jw[\"channel.analytics\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS\",Jw[\"channel.comments\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS\",Jw[\"channel.content\"]=\"LATENCY_ACTION_CREATOR_POST_LIST\",Jw[\"channel.content.promotions\"]=\"LATENCY_ACTION_CREATOR_PROMOTION_LIST\",Jw[\"channel.copyright\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT\",Jw[\"channel.editing\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_EDITING\",\nJw[\"channel.monetization\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION\",Jw[\"channel.music\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MUSIC\",Jw[\"channel.music_storefront\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT\",Jw[\"channel.playlists\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS\",Jw[\"channel.translations\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS\",Jw[\"channel.videos\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS\",Jw[\"channel.live_streaming\"]=\"LATENCY_ACTION_CREATOR_LIVE_STREAMING\",Jw[\"dialog.copyright_strikes\"]=\n\"LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES\",Jw[\"dialog.video_copyright\"]=\"LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT\",Jw[\"dialog.uploads\"]=\"LATENCY_ACTION_CREATOR_DIALOG_UPLOADS\",Jw.owner=\"LATENCY_ACTION_CREATOR_CMS_DASHBOARD\",Jw[\"owner.allowlist\"]=\"LATENCY_ACTION_CREATOR_CMS_ALLOWLIST\",Jw[\"owner.analytics\"]=\"LATENCY_ACTION_CREATOR_CMS_ANALYTICS\",Jw[\"owner.art_tracks\"]=\"LATENCY_ACTION_CREATOR_CMS_ART_TRACKS\",Jw[\"owner.assets\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSETS\",Jw[\"owner.asset_groups\"]=\n\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS\",Jw[\"owner.bulk\"]=\"LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY\",Jw[\"owner.campaigns\"]=\"LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS\",Jw[\"owner.channel_invites\"]=\"LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES\",Jw[\"owner.channels\"]=\"LATENCY_ACTION_CREATOR_CMS_CHANNELS\",Jw[\"owner.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS\",Jw[\"owner.claims\"]=\"LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING\",Jw[\"owner.claims.manual\"]=\"LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING\",Jw[\"owner.delivery\"]=\n\"LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY\",Jw[\"owner.delivery_templates\"]=\"LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES\",Jw[\"owner.issues\"]=\"LATENCY_ACTION_CREATOR_CMS_ISSUES\",Jw[\"owner.licenses\"]=\"LATENCY_ACTION_CREATOR_CMS_LICENSES\",Jw[\"owner.pitch_music\"]=\"LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC\",Jw[\"owner.policies\"]=\"LATENCY_ACTION_CREATOR_CMS_POLICIES\",Jw[\"owner.releases\"]=\"LATENCY_ACTION_CREATOR_CMS_RELEASES\",Jw[\"owner.reports\"]=\"LATENCY_ACTION_CREATOR_CMS_REPORTS\",Jw[\"owner.videos\"]=\"LATENCY_ACTION_CREATOR_CMS_VIDEOS\",\nJw[\"playlist.videos\"]=\"LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST\",Jw[\"post.comments\"]=\"LATENCY_ACTION_CREATOR_POST_COMMENTS\",Jw[\"post.edit\"]=\"LATENCY_ACTION_CREATOR_POST_EDIT\",Jw[\"promotion.edit\"]=\"LATENCY_ACTION_CREATOR_PROMOTION_EDIT\",Jw[\"video.analytics\"]=\"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS\",Jw[\"video.claims\"]=\"LATENCY_ACTION_CREATOR_VIDEO_CLAIMS\",Jw[\"video.comments\"]=\"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS\",Jw[\"video.copyright\"]=\"LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT\",Jw[\"video.edit\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDIT\",\nJw[\"video.editor\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDITOR\",Jw[\"video.editor_async\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC\",Jw[\"video.live_settings\"]=\"LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS\",Jw[\"video.live_streaming\"]=\"LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING\",Jw[\"video.monetization\"]=\"LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION\",Jw[\"video.policy\"]=\"LATENCY_ACTION_CREATOR_VIDEO_POLICY\",Jw[\"video.rights_management\"]=\"LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT\",Jw[\"video.translations\"]=\"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS\",\nJw),ZV={},yez=(ZV.auto_search=\"LATENCY_ACTION_AUTO_SEARCH\",ZV.ad_to_ad=\"LATENCY_ACTION_AD_TO_AD\",ZV.ad_to_video=\"LATENCY_ACTION_AD_TO_VIDEO\",ZV.app_startup=\"LATENCY_ACTION_APP_STARTUP\",ZV.browse=\"LATENCY_ACTION_BROWSE\",ZV.cast_splash=\"LATENCY_ACTION_CAST_SPLASH\",ZV.channel_activity=\"LATENCY_ACTION_KIDS_CHANNEL_ACTIVITY\",ZV.channels=\"LATENCY_ACTION_CHANNELS\",ZV.chips=\"LATENCY_ACTION_CHIPS\",ZV.commerce_transaction=\"LATENCY_ACTION_COMMERCE_TRANSACTION\",ZV.direct_playback=\"LATENCY_ACTION_DIRECT_PLAYBACK\",\nZV.editor=\"LATENCY_ACTION_EDITOR\",ZV.embed=\"LATENCY_ACTION_EMBED\",ZV.embed_no_video=\"LATENCY_ACTION_EMBED_NO_VIDEO\",ZV.entity_key_serialization_perf=\"LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF\",ZV.entity_key_deserialization_perf=\"LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF\",ZV.explore=\"LATENCY_ACTION_EXPLORE\",ZV.favorites=\"LATENCY_ACTION_FAVORITES\",ZV.home=\"LATENCY_ACTION_HOME\",ZV.inboarding=\"LATENCY_ACTION_INBOARDING\",ZV.landing=\"LATENCY_ACTION_LANDING\",ZV.learning=\"LATENCY_ACTION_LEARNING\",\nZV.learning_journey_browse=\"LATENCY_ACTION_LEARNING_JOURNEY_BROWSE\",ZV.learning_journey_watch=\"LATENCY_ACTION_LEARNING_JOURNEY_WATCH\",ZV.library=\"LATENCY_ACTION_LIBRARY\",ZV.live=\"LATENCY_ACTION_LIVE\",ZV.live_pagination=\"LATENCY_ACTION_LIVE_PAGINATION\",ZV.management=\"LATENCY_ACTION_MANAGEMENT\",ZV.mini_app=\"LATENCY_ACTION_MINI_APP_PLAY\",ZV.notification_settings=\"LATENCY_ACTION_KIDS_NOTIFICATION_SETTINGS\",ZV.onboarding=\"LATENCY_ACTION_ONBOARDING\",ZV.parent_profile_settings=\"LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS\",\nZV.parent_tools_collection=\"LATENCY_ACTION_PARENT_TOOLS_COLLECTION\",ZV.parent_tools_dashboard=\"LATENCY_ACTION_PARENT_TOOLS_DASHBOARD\",ZV.player_att=\"LATENCY_ACTION_PLAYER_ATTESTATION\",ZV.prebuffer=\"LATENCY_ACTION_PREBUFFER\",ZV.prefetch=\"LATENCY_ACTION_PREFETCH\",ZV.profile_settings=\"LATENCY_ACTION_KIDS_PROFILE_SETTINGS\",ZV.profile_switcher=\"LATENCY_ACTION_LOGIN\",ZV.projects=\"LATENCY_ACTION_PROJECTS\",ZV.reel_watch=\"LATENCY_ACTION_REEL_WATCH\",ZV.results=\"LATENCY_ACTION_RESULTS\",ZV.red=\"LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE\",\nZV.premium=\"LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE\",ZV.privacy_policy=\"LATENCY_ACTION_KIDS_PRIVACY_POLICY\",ZV.review=\"LATENCY_ACTION_REVIEW\",ZV.search_overview_answer=\"LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER\",ZV.search_ui=\"LATENCY_ACTION_SEARCH_UI\",ZV.search_suggest=\"LATENCY_ACTION_SUGGEST\",ZV.search_zero_state=\"LATENCY_ACTION_SEARCH_ZERO_STATE\",ZV.secret_code=\"LATENCY_ACTION_KIDS_SECRET_CODE\",ZV.seek=\"LATENCY_ACTION_PLAYER_SEEK\",ZV.settings=\"LATENCY_ACTION_SETTINGS\",ZV.store=\"LATENCY_ACTION_STORE\",\nZV.supervision_dashboard=\"LATENCY_ACTION_KIDS_SUPERVISION_DASHBOARD\",ZV.tenx=\"LATENCY_ACTION_TENX\",ZV.video_preview=\"LATENCY_ACTION_VIDEO_PREVIEW\",ZV.video_to_ad=\"LATENCY_ACTION_VIDEO_TO_AD\",ZV.watch=\"LATENCY_ACTION_WATCH\",ZV.watch_it_again=\"LATENCY_ACTION_KIDS_WATCH_IT_AGAIN\",ZV[\"watch,watch7\"]=\"LATENCY_ACTION_WATCH\",ZV[\"watch,watch7_html5\"]=\"LATENCY_ACTION_WATCH\",ZV[\"watch,watch7ad\"]=\"LATENCY_ACTION_WATCH\",ZV[\"watch,watch7ad_html5\"]=\"LATENCY_ACTION_WATCH\",ZV.wn_comments=\"LATENCY_ACTION_LOAD_COMMENTS\",\nZV.ww_rqs=\"LATENCY_ACTION_WHO_IS_WATCHING\",ZV.voice_assistant=\"LATENCY_ACTION_VOICE_ASSISTANT\",ZV.cast_load_by_entity_to_watch=\"LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH\",ZV.networkless_performance=\"LATENCY_ACTION_NETWORKLESS_PERFORMANCE\",ZV.gel_compression=\"LATENCY_ACTION_GEL_COMPRESSION\",ZV.gel_jspb_serialize=\"LATENCY_ACTION_GEL_JSPB_SERIALIZE\",ZV.attestation_challenge_fetch=\"LATENCY_ACTION_ATTESTATION_CHALLENGE_FETCH\",ZV);Object.assign(yez,aBu);g.x(cV,op);var U7e=new S5(\"aft-recorded\",cV);var QiV=g.Nz.ytLoggingGelSequenceIdObj_||{};g.WT(\"ytLoggingGelSequenceIdObj_\",QiV);var h2=g.Nz.ytLoggingLatencyUsageStats_||{};g.WT(\"ytLoggingLatencyUsageStats_\",h2);r0.prototype.tick=function(K,R,f,V){on(this,\"tick_\"+K+\"_\"+R)||g.h$(\"latencyActionTicked\",{tickName:K,clientActionNonce:R},{timestamp:f,cttAuthInfo:V})};\nr0.prototype.info=function(K,R,f){var V=Object.keys(K).join(\"\");on(this,\"info_\"+V+\"_\"+R)||(K=Object.assign({},K),K.clientActionNonce=R,g.h$(\"latencyActionInfo\",K,{cttAuthInfo:f}))};\nr0.prototype.jspbInfo=function(K,R,f){for(var V=\"\",D=0;D<$T(K).length;D++)$T(K)[D]!==void 0&&(V=D===0?V.concat(\"\"+D):V.concat(\"_\"+D));if(!on(this,\"info_\"+V+\"_\"+R)){fJ(K,2,R);f={cttAuthInfo:f};R=g.No(\"jspb_sparse_encoded_pivot\")?new mY([{}]):new mY;sEc(R,bP,7,WeB,K);f=f===void 0?{}:f;K=!1;g.KI(\"ytLoggingEventsDefaultDisabled\",!1)&&(K=!0);K=K?null:g.Gp;f=f===void 0?{}:f;V=Math.round(f.timestamp||(0,g.N7)());Rl(R,1,V=D.length?(R.append(D),K-=D.length):K?(R.append(new Uint8Array(D.buffer,D.byteOffset,K)),f.append(new Uint8Array(D.buffer,D.byteOffset+K,D.length-K)),K=0):f.append(D);return{FU:R,VP:f}};\n$4.prototype.isFocused=function(K){return K>=this.X&&K=64&&(this.T.set(K.subarray(0,64-this.K),this.K),R=64-this.K,this.K=0,ZOD(this,this.T,0));for(;R+64<=f;R+=64)ZOD(this,K,R);R=this.start&&(K=2&&f.ssdaiAdsConfig&&dH(\"Unexpected ad placement renderers length\",K.slot,null,{length:V.length});var D;((D=f.adSlots)==null?0:D.some(function(H){var l,F;return((l=g.z(H,SH))==null?void 0:(F=l.adSlotMetadata)==null?void 0:F.slotType)===\"SLOT_TYPE_PLAYER_BYTES\"}))||V.some(function(H){var l,F,c,r;\nreturn!!((l=H.renderer)==null?0:(F=l.linearAdSequenceRenderer)==null?0:(c=F.linearAds)==null?0:c.length)||!((r=H.renderer)==null||!r.instreamVideoAdRenderer)})||VVG(K)})};\njS.prototype.ZP=function(){qeB(this.U)};qY.prototype.JM=function(){var K=this;jQ2(this.K,function(){var R=Oj(K.slot.clientMetadata,\"metadata_type_ad_break_request_data\");return R.cueProcessedMs?K.U.get().fetch({Kk:R.getAdBreakUrl,YD:new g.nQ(R.HA,R.LO),cueProcessedMs:R.cueProcessedMs}):K.U.get().fetch({Kk:R.getAdBreakUrl,YD:new g.nQ(R.HA,R.LO)})})};\nqY.prototype.ZP=function(){qeB(this.K)};MY.prototype.JM=function(){var K=this.slot.clientMetadata,R,f=(R=this.slot.fulfilledLayout)!=null?R:Oj(K,\"metadata_type_fulfilled_layout\");Ld_(this.callback,this.slot,f)};\nMY.prototype.ZP=function(){RM(this.callback,this.slot,new C(\"Got CancelSlotFulfilling request for \"+this.slot.slotType+\" in DirectFulfillmentAdapter.\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_INVALID_FULFILLMENT_CANCELLATION_REQUEST\"),\"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED\")};pQ.prototype.build=function(K,R){return R.fulfilledLayout||bV(R,{UA:[\"metadata_type_fulfilled_layout\"]})?new MY(K,R):this.X(K,R)};g.x(Yh,pQ);\nYh.prototype.X=function(K,R){if(bV(R,{UA:[\"metadata_type_ad_break_request_data\",\"metadata_type_cue_point\"],slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\"}))return new jS(K,R,this.U,this.K,this.ZJ,this.wU,this.A5,this.h5,this.d4);if(bV(R,{UA:[\"metadata_type_ad_break_request_data\"],slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\"}))return new qY(K,R,this.U,this.K,this.ZJ,this.wU);throw new C(\"Unsupported slot with type: \"+R.slotType+\" and client metadata: \"+jr(R.clientMetadata)+\" in AdBreakRequestSlotFulfillmentAdapterFactory.\");};g.x(m6,pQ);m6.prototype.X=function(K,R){throw new C(\"Unsupported slot with type: \"+R.slotType+\" and client metadata: \"+jr(R.clientMetadata)+\" in DefaultFulfillmentAdapterFactory.\");};g.w=DSB.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){};\ng.w.release=function(){};\ng.w.startRendering=function(K){if(K.layoutId!==this.layout.layoutId)this.callback.lL(this.slot,K,new IR(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\");else{var R=Oj(K.clientMetadata,\"metadata_type_ad_break_response_data\");this.slot.slotType===\"SLOT_TYPE_AD_BREAK_REQUEST\"?(this.callback.KL(this.slot,K),qzG(this.X,\nthis.slot,R)):dH(\"Unexpected slot type in AdBreakResponseLayoutRenderingAdapter - this should never happen\",this.slot,K)}};\ng.w.Xn=function(K,R){K.layoutId!==this.layout.layoutId?this.callback.lL(this.slot,K,new IR(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):(this.callback.jM(this.slot,K,R),$Sw(this),l3v(this))};g.x(eS,g.VQ);g.w=eS.prototype;g.w.Sy=function(){return this.K.slot};\ng.w.nQ=function(){return this.K.layout};\ng.w.init=function(){this.X.get().addListener(this)};\ng.w.release=function(){this.X.get().removeListener(this);this.dispose()};\ng.w.Uj=function(){};\ng.w.zq=function(){};\ng.w.pV=function(){};\ng.w.lO=function(){};\ng.w.startRendering=function(K){var R=this;CQ(this.K,K,function(){return void R.YU()})};\ng.w.YU=function(){this.X.get().YU(this.U)};\ng.w.Xn=function(K,R){var f=this;CQ(this.K,K,function(){var V=f.X.get();U__(V,f.U,3);f.U=[];f.callback.jM(f.slot,K,R)})};\ng.w.uD=function(){this.X.mZ()||this.X.get().removeListener(this);g.VQ.prototype.uD.call(this)};\ng.Yv.Object.defineProperties(eS.prototype,{slot:{configurable:!0,enumerable:!0,get:function(){return this.K.slot}},\nlayout:{configurable:!0,enumerable:!0,get:function(){return this.K.layout}}});lR.prototype.NH=function(K,R){R=R===void 0?!1:R;var f=(this.X.get(K)||[]).concat();if(R=R&&r$_(K)){var V=this.X.get(R);V&&f.push.apply(f,g.X(V))}c6(this,K,f);this.U.add(K);R&&this.U.add(R)};\nlR.prototype.Lh=function(K,R){R=R===void 0?!1:R;if(!this.U.has(K)){var f=R&&r$_(K);f&&(R=!this.U.has(f));this.NH(K,R)}};g.x(otB,fS);g.x(S$,eS);g.w=S$.prototype;g.w.W9=function(K,R){Va(\"ads-engagement-panel-layout\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,u0),this.callback,\"metadata_type_ads_engagement_panel_layout_view_model\",function(R,f,V,D,H){return new otB(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(iM_,fS);g.x(iR,eS);g.w=iR.prototype;g.w.W9=function(K,R){Va(\"banner-image\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,mA),this.callback,\"metadata_type_banner_image_layout_view_model\",function(R,f,V,D,H){return new iM_(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(v6,fS);g.x(Lb,eS);g.w=Lb.prototype;g.w.W9=function(K,R){Va(\"action-companion\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,b0),this.callback,\"metadata_type_action_companion_ad_renderer\",function(R,f,V,D,H){return new v6(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){R.layoutId===this.layout.layoutId?this.CQ.Lh(\"impression\"):this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(wRM,fS);g.x(wU,eS);g.w=wU.prototype;g.w.W9=function(K,R){Va(\"image-companion\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,p6),this.callback,\"metadata_type_image_companion_ad_renderer\",function(R,f,V,D,H){return new wRM(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){R.layoutId===this.layout.layoutId?this.CQ.Lh(\"impression\"):this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(xSh,fS);g.x(zl,eS);g.w=zl.prototype;g.w.W9=function(K,R){Va(\"shopping-companion\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),void 0,this.callback,\"metadata_type_shopping_companion_carousel_renderer\",function(R,f,V,D,H){return new xSh(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){R.layoutId===this.layout.layoutId?this.CQ.Lh(\"impression\"):this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(ag,eS);g.w=ag.prototype;g.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),void 0,this.callback,\"metadata_type_action_companion_ad_renderer\",function(R,f,V,D,H){return new v6(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(){};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};\ng.w.W9=function(){};g.w=USG.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){this.h5.get().addListener(this);this.h5.get().F5.push(this);var K=Oj(this.layout.clientMetadata,\"metadata_type_video_length_seconds\"),R=Oj(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");Dt(this.layout.iD)&&Cx(this.UC.get(),this.layout.layoutId,{Y8:R,s_:K,listener:this})};\ng.w.release=function(){this.h5.get().removeListener(this);zN2(this.h5.get(),this);Dt(this.layout.iD)&&el(this.UC.get(),this.layout.layoutId)};\ng.w.startRendering=function(K){this.callback.KL(this.slot,K)};\ng.w.Xn=function(K,R){bFN(this.wU.get())&&!this.U&&(this.CQ.Lh(\"abandon\"),this.U=!0);this.callback.jM(this.slot,K,R)};\ng.w.hx=function(K){switch(K.id){case \"part2viewed\":this.CQ.Lh(\"start\");this.CQ.Lh(\"impression\");break;case \"videoplaytime25\":this.CQ.Lh(\"first_quartile\");break;case \"videoplaytime50\":this.CQ.Lh(\"midpoint\");break;case \"videoplaytime75\":this.CQ.Lh(\"third_quartile\");break;case \"videoplaytime100\":bFN(this.wU.get())?this.U||(this.CQ.Lh(\"complete\"),this.U=!0):this.CQ.Lh(\"complete\");og(this.CQ)&&ya(this.CQ,Infinity,!0);pB_(this.wU.get())&&EU(this.K,Infinity,!0);break;case \"engagedview\":og(this.CQ)||this.CQ.Lh(\"progress\");\nbreak;case \"conversionview\":case \"videoplaybackstart\":case \"videoplayback2s\":case \"videoplayback10s\":break;default:dH(\"Cue Range ID unknown in DiscoveryLayoutRenderingAdapter\",this.slot,this.layout)}};\ng.w.onVolumeChange=function(){};\ng.w.Bo=function(){};\ng.w.zr=function(){};\ng.w.q4=function(){};\ng.w.onFullscreenToggled=function(){};\ng.w.xI=function(){};\ng.w.fF=function(){};\ng.w.S6=function(K){pB_(this.wU.get())&&EU(this.K,K*1E3,!1);og(this.CQ)&&ya(this.CQ,K*1E3,!1)};\ng.w.Ax=function(){};\ng.w.Ob=function(){this.CQ.Lh(\"active_view_measurable\")};\ng.w.Zd=function(){this.CQ.Lh(\"active_view_viewable\")};\ng.w.rP=function(){this.CQ.Lh(\"active_view_fully_viewable_audible_half_duration\")};\ng.w.lJ=function(){this.CQ.Lh(\"audio_measurable\")};\ng.w.C3=function(){this.CQ.Lh(\"audio_audible\")};g.x(Qa,eS);g.w=Qa.prototype;g.w.init=function(){eS.prototype.init.call(this);var K=Oj(this.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),R={adsClientData:this.layout.Yl};this.U.push(new vQ(K,this.layout.layoutId,Oj(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),R,!0))};\ng.w.r0=function(){this.J||this.h5.get().resumeVideo(1)};\ng.w.startRendering=function(K){eS.prototype.startRendering.call(this,K);$S(this.h5.get(),\"ad-showing\");this.callback.KL(this.slot,K);this.B.tF=this};\ng.w.Xn=function(K,R){eS.prototype.Xn.call(this,K,R);lx(this.h5.get(),\"ad-showing\");bx(this.B,this)};\ng.w.W9=function(K){switch(K){case \"ad-info-icon-button\":(this.J=this.h5.get().gC(1))||this.h5.get().pauseVideo();break;case \"visit-advertiser\":this.h5.get().pauseVideo()}};\ng.w.uD=function(){eS.prototype.uD.call(this)};g.x(N9,fS);g.x(UU,eS);g.w=UU.prototype;g.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),void 0,this.callback,\"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model\",function(R,f,V,D,H){return new N9(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(){};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};\ng.w.W9=function(){};g.x(W6,fS);g.x(tD,eS);tD.prototype.init=function(){eS.prototype.init.call(this);this.U.push(new W6(g.z(this.layout.renderingContent,yy),this.layout.layoutId,{adsClientData:this.layout.Yl}))};\ntD.prototype.W9=function(){r$(this.J.get(),this.B)&&fb(this.A5.get(),3)};\ntD.prototype.startRendering=function(K){eS.prototype.startRendering.call(this,K);this.callback.KL(this.slot,K)};\ntD.prototype.uD=function(){eS.prototype.uD.call(this)};g.x(AD,fS);g.x(JD,eS);JD.prototype.init=function(){eS.prototype.init.call(this);var K=g.z(this.layout.renderingContent,M9)||Oj(this.layout.clientMetadata,\"metadata_type_ad_action_interstitial_renderer\"),R=Kb(this.CQ);this.U.push(new AD(K,R,this.layout.layoutId,{adsClientData:this.layout.Yl},!0,!0))};\nJD.prototype.startRendering=function(K){eS.prototype.startRendering.call(this,K);this.callback.KL(this.slot,K)};\nJD.prototype.W9=function(K,R){if(R===this.layout.layoutId)switch(K){case \"skip-button\":var f;(K=(f=Oj(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:f.current)&&ny(K,this.Sy(),this.layout)}};\nJD.prototype.uD=function(){eS.prototype.uD.call(this)};B6.prototype.build=function(K,R,f,V){if(Zt(V,{UA:[\"metadata_type_ad_break_response_data\"],HV:[\"LAYOUT_TYPE_AD_BREAK_RESPONSE\",\"LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE\"]}))return new DSB(K,f,V,this.K,this.X,this.U);throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+jr(V.clientMetadata)+\" in AdBreakRequestLayoutRenderingAdapterFactory.\");};g.x(A$B,fS);g.x(Xz,eS);g.w=Xz.prototype;g.w.W9=function(K,R){Va(\"ads-engagement-panel\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,YM),this.callback,\"metadata_type_ads_engagement_panel_renderer\",function(R,f,V,D,H){return new A$B(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){R.layoutId===this.layout.layoutId?this.CQ.Lh(\"impression\"):this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};g.x(kp,eS);g.w=kp.prototype;g.w.W9=function(K,R){Va(\"top-banner-image-text-icon-buttoned\",K,this.T.get().iW,this.A5.get(),this.J,this.B,this.Sy(),this.nQ(),R)};\ng.w.startRendering=function(K){Rg(this.CQ,this.Sy(),this.nQ(),g.z(this.nQ().renderingContent,Gi),this.callback,\"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model\",function(R,f,V,D,H){return new N9(R,f,V,D,H)},this.U);\neS.prototype.startRendering.call(this,K)};\ng.w.KL=function(K,R){this.B===R.layoutId&&(this.J===null?this.J=this.A5.get().UJ():dH(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.uD=function(){Cf(this.g4(),this);eS.prototype.uD.call(this)};BuN.prototype.build=function(K,R,f,V){if(Zt(V,J$h())||g.z(V.renderingContent,YM)!==void 0)return new Xz(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,LM5())||g.z(V.renderingContent,b0)!==void 0)return new Lb(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,zDc())||g.z(V.renderingContent,p6)!==void 0)return new wU(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,EtN()))return new zl(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,Nuw()))return new ag(K,f,V,this.UL,this.A5,this.g4,\nthis.UC,this.U);if(Zt(V,vtw())||g.z(V.renderingContent,mA)!==void 0)return new iR(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,ZMN())||g.z(V.renderingContent,Gi)!==void 0)return new kp(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,WMc()))return new UU(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);if(Zt(V,SIc())||g.z(V.renderingContent,u0)!==void 0)return new S$(K,f,V,this.UL,this.A5,this.g4,this.UC,this.U);throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+\njr(V.clientMetadata)+\" in DesktopAboveFeedLayoutRenderingAdapterFactory.\");};XRe.prototype.build=function(K,R,f,V){if(Zt(V,{UA:[\"metadata_type_linked_player_bytes_layout_id\"],HV:[\"LAYOUT_TYPE_DISPLAY_UNDERLAY_TEXT_GRID_CARDS\"]}))return new tD(K,f,V,this.UL,this.A5,this.U);throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+jr(V.clientMetadata)+\" in DesktopPlayerUnderlayLayoutRenderingAdapterFactory.\");};g.w=kNN.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){};\ng.w.release=function(){};\ng.w.startRendering=function(K){K.layoutId!==this.layout.layoutId?this.callback.lL(this.slot,K,new IR(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"):(this.callback.KL(this.slot,K),this.CQ.Lh(\"impression\"),j3(this.M4,K))};\ng.w.Xn=function(K,R){K.layoutId!==this.layout.layoutId?this.callback.lL(this.slot,K,new IR(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):this.callback.jM(this.slot,K,R)};g.w=Pg_.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){};\ng.w.release=function(){};\ng.w.startRendering=function(K){K.layoutId!==this.layout.layoutId?this.callback.lL(this.slot,K,new IR(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"):(this.callback.KL(this.slot,K),this.CQ.Lh(\"impression\"),j3(this.M4,K))};\ng.w.Xn=function(K,R){K.layoutId!==this.layout.layoutId?this.callback.lL(this.slot,K,new IR(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):this.callback.jM(this.slot,K,R)};Tl.prototype.build=function(K,R,f,V){if(!this.wU.get().G.C().Y(\"h5_optimize_forcasting_slot_layout_creation_with_trimmed_metadata\")){if(Zt(V,TuD()))return new kNN(K,f,V,this.A5,this.M4)}else if(Zt(V,{UA:[],HV:[\"LAYOUT_TYPE_FORECASTING\"]}))return new Pg_(K,f,V,this.A5,this.M4);throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+jr(V.clientMetadata)+\" in ForecastingLayoutRenderingAdapterFactory.\");};g.x(gtN,fS);g.x(P6,eS);g.w=P6.prototype;g.w.init=function(){eS.prototype.init.call(this);var K=g.z(this.layout.renderingContent,q9)||Oj(this.layout.clientMetadata,\"metadata_type_player_overlay_layout_renderer\"),R={adsClientData:this.layout.Yl};this.U.push(new gtN(K,Oj(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),this.layout.layoutId,R))};\ng.w.r0=function(){this.J||this.h5.get().resumeVideo(2)};\ng.w.startRendering=function(K){eS.prototype.startRendering.call(this,K);this.callback.KL(this.slot,K);this.B.tF=this};\ng.w.Xn=function(K,R){eS.prototype.Xn.call(this,K,R);bx(this.B,this)};\ng.w.W9=function(K,R){if(!JC(this.wU.get(),\"stop_handling_click_for_non_rendering_overlay_layout\")||R===this.layout.layoutId){if(r$(this.T.get(),this.N))switch(K){case \"visit-advertiser-link\":fb(this.A5.get(),3)}switch(K){case \"ad-mute-confirm-dialog-close-button\":case \"ad-feedback-undo-mute-button\":case \"ad-info-dialog-close-button\":this.J||this.h5.get().resumeVideo(2);break;case \"ad-info-icon-button\":case \"ad-player-overflow-button\":(this.J=this.h5.get().gC(2))||this.h5.get().pauseVideo();break;\ncase \"visit-advertiser-link\":this.h5.get().pauseVideo();OMN(this).pw();break;case \"skip-button\":if(K=OMN(this),this.layout.renderingContent&&!TU(this.layout.clientMetadata,\"metadata_type_dai\")||!K||!K.KC){var f;(K=(f=Oj(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:f.current)&&ny(K,this.Sy(),this.layout)}else dH(\"Requesting to skip by LegacyPlayerBytes when components enabled\"),K.e1(this.Sy(),this.layout)}}};\ng.w.uD=function(){eS.prototype.uD.call(this)};g.x(nb,eS);g.w=nb.prototype;g.w.init=function(){eS.prototype.init.call(this);var K=g.z(this.layout.renderingContent,j$)||Oj(this.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),R={adsClientData:this.layout.Yl},f;(f=!!this.layout.renderingContent)||(f=Ig(this),f=!(f&&f.KC));this.U.push(new vQ(K,this.layout.layoutId,Oj(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),R,f))};\ng.w.r0=function(){this.J||this.h5.get().resumeVideo(2)};\ng.w.startRendering=function(K){eS.prototype.startRendering.call(this,K);this.callback.KL(this.slot,K);this.B.tF=this};\ng.w.Xn=function(K,R){eS.prototype.Xn.call(this,K,R);bx(this.B,this)};\ng.w.W9=function(K,R){if(!this.wU||!JC(this.wU.get(),\"stop_handling_click_for_non_rendering_overlay_layout\")||R===this.layout.layoutId){if(r$(this.T.get(),this.N))switch(K){case \"visit-advertiser\":fb(this.A5.get(),3)}switch(K){case \"ad-mute-confirm-dialog-close-button\":case \"ad-feedback-undo-mute-button\":case \"ad-info-dialog-close-button\":this.J||this.h5.get().resumeVideo(2);break;case \"ad-info-icon-button\":case \"ad-player-overflow-button\":(this.J=this.h5.get().gC(2))||this.h5.get().pauseVideo();break;\ncase \"visit-advertiser\":this.h5.get().pauseVideo();Ig(this).pw();break;case \"skip-button\":if(K=Ig(this),this.layout.renderingContent&&!TU(this.layout.clientMetadata,\"metadata_type_dai\")||!K||!K.KC){var f;(K=(f=Oj(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:f.current)&&ny(K,this.Sy(),this.layout)}else dH(\"Requesting to skip by LegacyPlayerBytes\"),K.e1(this.Sy(),this.layout)}}};\ng.w.uD=function(){eS.prototype.uD.call(this)};g.x(qI5,fS);g.x(gU,eS);g.w=gU.prototype;g.w.startRendering=function(K){var R=this;CQ(this.K,K,function(){R.U.push(new qI5(Oj(R.layout.clientMetadata,\"metadata_type_valid_ad_message_renderer\"),K.layoutId,K.Yl));R.YU();R.callback.KL(R.slot,K);g.G(uy(R.h5.get(),1),512)&&R.callback.lL(R.Sy(),R.nQ(),new IR(\"player is stuck during adNotify\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_STUCK_DURING_ADNOTIFY\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")})};\ng.w.fF=function(){};\ng.w.xI=function(K){if(K.state.isError()){var R;this.callback.lL(this.Sy(),this.nQ(),new IR(\"A player error happened during adNotify\",{playerErrorCode:(R=K.state.hm)==null?void 0:R.errorCode},\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR_DURING_ADNOTIFY\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")}};\ng.w.onFullscreenToggled=function(){};\ng.w.zr=function(){};\ng.w.q4=function(){};\ng.w.Bo=function(){};\ng.w.onVolumeChange=function(){};\ng.w.hx=function(){};\ng.w.Ax=function(){};\ng.w.W9=function(){};g.x(bMo,fS);g.x(OU,eS);OU.prototype.init=function(){eS.prototype.init.call(this);var K=g.z(this.layout.renderingContent,bR),R=Kb(this.CQ);this.U.push(new bMo(K,R,this.layout.layoutId,{adsClientData:this.layout.Yl}))};\nOU.prototype.startRendering=function(K){eS.prototype.startRendering.call(this,K);this.callback.KL(this.slot,K)};\nOU.prototype.W9=function(K,R){if(R===this.layout.layoutId)switch(K){case \"skip-button\":var f;(K=(f=Oj(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:f.current)&&ny(K,this.Sy(),this.layout)}};\nOU.prototype.uD=function(){eS.prototype.uD.call(this)};pRB.prototype.build=function(K,R,f,V){if(K=pb(K,f,V,this.UL,this.h5,this.A5,this.K,this.U,this.wU))return K;throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+jr(V.clientMetadata)+\" in OtherWebInPlayerLayoutRenderingAdapterFactory.\");};g.w=Gl.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){this.h5.get().addListener(this);this.h5.get().F5.push(this);var K=YID(this),R=g.z(this.layout.renderingContent,dh),f=R?H6(R.pings):Oj(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");R=R?c$B(R.pings):Oj(this.layout.clientMetadata,\"metadata_type_active_view_identifier\");Dt(this.layout.iD)&&Cx(this.UC.get(),this.layout.layoutId,{Y8:f,s_:K,listener:this,nm:R})};\ng.w.release=function(){this.h5.get().removeListener(this);zN2(this.h5.get(),this);Dt(this.layout.iD)&&el(this.UC.get(),this.layout.layoutId)};\ng.w.startRendering=function(K){this.callback.KL(this.slot,K)};\ng.w.Xn=function(K,R){uR(this,\"abandon\");this.callback.jM(this.slot,K,R)};\ng.w.hx=function(K){switch(K.id){case \"part2viewed\":this.CQ.Lh(\"start\");this.CQ.Lh(\"impression\");break;case \"videoplaytime25\":this.CQ.Lh(\"first_quartile\");break;case \"videoplaytime50\":this.CQ.Lh(\"midpoint\");break;case \"videoplaytime75\":this.CQ.Lh(\"third_quartile\");break;case \"videoplaytime100\":uR(this,\"complete\");og(this.CQ)&&ya(this.CQ,Infinity,!0);Y3w(this.wU.get())&&EU(this.K,Infinity,!0);break;case \"engagedview\":og(this.CQ)||this.CQ.Lh(\"progress\");break;case \"conversionview\":case \"videoplaybackstart\":case \"videoplayback2s\":case \"videoplayback10s\":break;\ndefault:dH(\"Cue Range ID unknown in ShortsPlaybackTrackingLayoutRenderingAdapter\",this.slot,this.layout)}};\ng.w.onVolumeChange=function(){};\ng.w.Bo=function(){};\ng.w.zr=function(){};\ng.w.q4=function(){};\ng.w.onFullscreenToggled=function(){};\ng.w.xI=function(K){this.U||(g.rH(K,4)&&!g.rH(K,2)?rU(this.CQ,\"pause\"):cQ(K,4)<0&&!(cQ(K,2)<0)&&rU(this.CQ,\"resume\"))};\ng.w.fF=function(){};\ng.w.S6=function(K){Y3w(this.wU.get())&&EU(this.K,K*1E3,!1);og(this.CQ)&&ya(this.CQ,K*1E3,!1)};\ng.w.Ax=function(){uR(this,\"swipe\")};\ng.w.Ob=function(){this.CQ.Lh(\"active_view_measurable\")};\ng.w.Zd=function(){this.CQ.Lh(\"active_view_viewable\")};\ng.w.rP=function(){this.CQ.Lh(\"active_view_fully_viewable_audible_half_duration\")};\ng.w.lJ=function(){this.CQ.Lh(\"audio_measurable\")};\ng.w.C3=function(){this.CQ.Lh(\"audio_audible\")};mSB.prototype.build=function(K,R,f,V){if(f.slotType===\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\"&&g.z(V.renderingContent,dh)!==void 0)return new Gl(K,f,V,this.h5,this.A5,this.AV,this.wU,this.UC,this.Da);R=[\"metadata_type_ad_placement_config\"];for(var D=g.Z(dU()),H=D.next();!H.done;H=D.next())R.push(H.value);if(Zt(V,{UA:R,HV:[\"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER\"]}))return f.slotType===\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\"?new Gl(K,f,V,this.h5,this.A5,this.AV,this.wU,this.UC,this.Da):new USG(K,f,V,\nthis.h5,this.A5,this.AV,this.wU,this.UC);throw new IR(\"Unsupported layout with type: \"+V.layoutType+\" and client metadata: \"+jr(V.clientMetadata)+\" in PlaybackTrackingLayoutRenderingAdapterFactory.\");};var O8i,PP;\nO8i={MQF:\"ALREADY_PINNED_ON_A_DEVICE\",AUTHENTICATION_EXPIRED:\"AUTHENTICATION_EXPIRED\",PZt:\"AUTHENTICATION_MALFORMED\",Fqp:\"AUTHENTICATION_MISSING\",S$t:\"BAD_REQUEST\",U4D:\"CAST_SESSION_DEVICE_MISMATCHED\",KMF:\"CAST_SESSION_VIDEO_MISMATCHED\",ane:\"CAST_TOKEN_EXPIRED\",Qv5:\"CAST_TOKEN_FAILED\",upW:\"CAST_TOKEN_MALFORMED\",Xo2:\"CGI_PARAMS_MALFORMED\",InY:\"CGI_PARAMS_MISSING\",LMF:\"DEVICE_FALLBACK\",QMr:\"GENERIC_WITH_LINK_AND_CPN\",uHp:\"ERROR_HDCP\",XXt:\"LICENSE\",RYF:\"VIDEO_UNAVAILABLE\",BeZ:\"FORMAT_UNAVAILABLE\",AQ5:\"GEO_FAILURE\",\nlS5:\"HTML5_AUDIO_RENDERER_ERROR\",rQr:\"GENERIC_WITHOUT_LINK\",O8p:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",Z8a:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK\",Pmr:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT\",FlD:\"HTML5_SPS_UMP_STATUS_REJECTED\",bpp:\"INVALID_DRM_MESSAGE\",x7Q:\"PURCHASE_NOT_FOUND\",nEF:\"PURCHASE_REFUNDED\",hMe:\"RENTAL_EXPIRED\",Gar:\"RETRYABLE_ERROR\",ka5:\"SERVER_ERROR\",PQU:\"SIGNATURE_EXPIRED\",cXY:\"STOPPED_BY_ANOTHER_PLAYBACK\",pMD:\"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED\",zMW:\"STREAMING_NOT_ALLOWED\",\niWZ:\"STREAM_LICENSE_NOT_FOUND\",X8W:\"TOO_MANY_REQUESTS\",IUF:\"TOO_MANY_REQUESTS_WITH_LINK\",RIp:\"TOO_MANY_STREAMS_PER_ENTITLEMENT\",gL5:\"TOO_MANY_STREAMS_PER_USER\",UNSUPPORTED_DEVICE:\"UNSUPPORTED_DEVICE\",jgt:\"VIDEO_FORBIDDEN\",d9Q:\"VIDEO_NOT_FOUND\",iFr:\"BROWSER_OR_EXTENSION_ERROR\"};PP={};\ng.Xk=(PP.ALREADY_PINNED_ON_A_DEVICE=\"This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.\",PP.DEVICE_FALLBACK=\"Sorry, this video is not available on this device.\",PP.GENERIC_WITH_LINK_AND_CPN=\"An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK\",PP.LICENSE=\"Sorry, there was an error licensing this video.\",PP.VIDEO_UNAVAILABLE=\n\"Video unavailable\",PP.FORMAT_UNAVAILABLE=\"This video isn't available at the selected quality. Please try again later.\",PP.GEO_FAILURE=\"This video isn't available in your country.\",PP.HTML5_AUDIO_RENDERER_ERROR=\"Audio renderer error. Please restart your computer.\",PP.GENERIC_WITHOUT_LINK=\"An error occurred. Please try again later.\",PP.HTML5_NO_AVAILABLE_FORMATS_FALLBACK=\"This video format is not supported.\",PP.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK=\"Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK\",\nPP.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT=\"Your browser can't play this video. $BEGIN_LINKLearn more$END_LINK\",PP.HTML5_SPS_UMP_STATUS_REJECTED=\"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK\",PP.INVALID_DRM_MESSAGE=\"The DRM system specific message is invalid.\",PP.PURCHASE_NOT_FOUND=\"This video requires payment.\",PP.PURCHASE_REFUNDED=\"This video's purchase has been refunded.\",PP.RENTAL_EXPIRED=\"This video's rental has expired.\",PP.CAST_SESSION_DEVICE_MISMATCHED=\n\"The device in the cast session doesn't match the requested one.\",PP.CAST_SESSION_VIDEO_MISMATCHED=\"The video in the cast session doesn't match the requested one.\",PP.CAST_TOKEN_FAILED=\"Cast session not available. Please refresh or try again later.\",PP.CAST_TOKEN_EXPIRED=\"Cast session was expired. Please refresh.\",PP.CAST_TOKEN_MALFORMED=\"Invalid cast session. Please refresh or try again later.\",PP.SERVER_ERROR=\"There was an internal server error. Please try again later.\",PP.STOPPED_BY_ANOTHER_PLAYBACK=\n\"Your account is playing this video in another location. Please reload this page to resume watching.\",PP.STREAM_LICENSE_NOT_FOUND=\"Video playback interrupted. Please try again.\",PP.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED=\"Too many devices/IP addresses have been used over the 24 hour period.\",PP.STREAMING_NOT_ALLOWED=\"Playback not allowed because this video is pinned on another device.\",PP.RETRYABLE_ERROR=\"There was a temporary server error. Please try again later.\",PP.TOO_MANY_REQUESTS=\"Please log in to watch this video.\",\nPP.TOO_MANY_REQUESTS_WITH_LINK=\"Please $BEGIN_LINKclick here$END_LINK to watch this video on YouTube.\",PP.TOO_MANY_STREAMS_PER_USER=\"Playback stopped because too many videos belonging to the same account are playing.\",PP.TOO_MANY_STREAMS_PER_ENTITLEMENT=\"Playback stopped because this video has been played on too many devices.\",PP.UNSUPPORTED_DEVICE=\"Playback isn't supported on this device.\",PP.VIDEO_FORBIDDEN=\"Access to this video is forbidden.\",PP.VIDEO_NOT_FOUND=\"This video can not be found.\",PP.BROWSER_OR_EXTENSION_ERROR=\n\"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK\",PP);var ji8;var qSS=g.DP(),M8S=qSS.match(/\\((iPad|iPhone|iPod)( Simulator)?;/);if(!M8S||M8S.length<2)ji8=void 0;else{var b8$=qSS.match(/\\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\\d+_\\d)[_ ]/);ji8=b8$&&b8$.length===6?Number(b8$[5].replace(\"_\",\".\")):0}var AP=ji8,tu=AP>=0;g.x(g.de,Be);g.de.prototype.j=function(K,R,f,V,D){return Be.prototype.j.call(this,K,R,f,V,D)};var nj={},Pf=(nj.FAIRPLAY=\"fairplay\",nj.PLAYREADY=\"playready\",nj.WIDEVINE=\"widevine\",nj.CLEARKEY=null,nj.FLASHACCESS=null,nj.UNKNOWN=null,nj.WIDEVINE_CLASSIC=null,nj);FH.prototype.isMultiChannelAudio=function(){return this.numChannels>2};var IO={},mx=(IO.WIDTH={name:\"width\",video:!0,valid:640,SO:99999},IO.HEIGHT={name:\"height\",video:!0,valid:360,SO:99999},IO.FRAMERATE={name:\"framerate\",video:!0,valid:30,SO:9999},IO.BITRATE={name:\"bitrate\",video:!0,valid:3E5,SO:2E9},IO.EOTF={name:\"eotf\",video:!0,valid:\"bt709\",SO:\"catavision\"},IO.CHANNELS={name:\"channels\",video:!1,valid:2,SO:99},IO.CRYPTOBLOCKFORMAT={name:\"cryptoblockformat\",video:!0,valid:\"subsample\",SO:\"invalidformat\"},IO.DECODETOTEXTURE={name:\"decode-to-texture\",video:!0,valid:\"false\",\nSO:\"nope\"},IO.AV1_CODECS={name:\"codecs\",video:!0,valid:\"av01.0.05M.08\",SO:\"av99.0.05M.08\"},IO.EXPERIMENTAL={name:\"experimental\",video:!0,valid:\"allowed\",SO:\"invalid\"},IO.TUNNELMODE={name:\"tunnelmode\",video:!0,valid:\"true\",SO:\"false\"},IO);var pTp=[\"h\",\"H\"],YS$=[\"9\",\"(\"],mz$=[\"9h\",\"(h\"],G$H=[\"8\",\"*\"],upV=[\"a\",\"A\"],siW=[\"o\",\"O\"],CEi=[\"m\",\"M\"],ei8=[\"mac3\",\"MAC3\"],K18=[\"meac3\",\"MEAC3\"],gA={},n0_=(gA.h=pTp,gA.H=pTp,gA[\"9\"]=YS$,gA[\"(\"]=YS$,gA[\"9h\"]=mz$,gA[\"(h\"]=mz$,gA[\"8\"]=G$H,gA[\"*\"]=G$H,gA.a=upV,gA.A=upV,gA.o=siW,gA.O=siW,gA.m=CEi,gA.M=CEi,gA.mac3=ei8,gA.MAC3=ei8,gA.meac3=K18,gA.MEAC3=K18,gA),R_i=new Set(\"o O a ah A m M mac3 MAC3 meac3 MEAC3 so sa\".split(\" \")),ACh=new Set(\"m M mac3 MAC3 meac3 MEAC3\".split(\" \"));var e={},Nr=(e[\"0\"]=\"f\",e[\"160\"]=\"h\",e[\"133\"]=\"h\",e[\"134\"]=\"h\",e[\"135\"]=\"h\",e[\"136\"]=\"h\",e[\"137\"]=\"h\",e[\"264\"]=\"h\",e[\"266\"]=\"h\",e[\"138\"]=\"h\",e[\"298\"]=\"h\",e[\"299\"]=\"h\",e[\"304\"]=\"h\",e[\"305\"]=\"h\",e[\"214\"]=\"h\",e[\"216\"]=\"h\",e[\"374\"]=\"h\",e[\"375\"]=\"h\",e[\"140\"]=\"a\",e[\"141\"]=\"a\",e[\"327\"]=\"sa\",e[\"258\"]=\"m\",e[\"380\"]=\"mac3\",e[\"328\"]=\"meac3\",e[\"161\"]=\"H\",e[\"142\"]=\"H\",e[\"143\"]=\"H\",e[\"144\"]=\"H\",e[\"222\"]=\"H\",e[\"223\"]=\"H\",e[\"145\"]=\"H\",e[\"224\"]=\"H\",e[\"225\"]=\"H\",e[\"146\"]=\"H\",e[\"226\"]=\"H\",e[\"227\"]=\"H\",e[\"147\"]=\"H\",e[\"384\"]=\n\"H\",e[\"376\"]=\"H\",e[\"385\"]=\"H\",e[\"377\"]=\"H\",e[\"149\"]=\"A\",e[\"261\"]=\"M\",e[\"381\"]=\"MAC3\",e[\"329\"]=\"MEAC3\",e[\"598\"]=\"9\",e[\"278\"]=\"9\",e[\"242\"]=\"9\",e[\"243\"]=\"9\",e[\"244\"]=\"9\",e[\"775\"]=\"9\",e[\"776\"]=\"9\",e[\"777\"]=\"9\",e[\"778\"]=\"9\",e[\"779\"]=\"9\",e[\"780\"]=\"9\",e[\"781\"]=\"9\",e[\"782\"]=\"9\",e[\"783\"]=\"9\",e[\"247\"]=\"9\",e[\"248\"]=\"9\",e[\"353\"]=\"9\",e[\"355\"]=\"9\",e[\"356\"]=\"9\",e[\"271\"]=\"9\",e[\"577\"]=\"9\",e[\"313\"]=\"9\",e[\"579\"]=\"9\",e[\"272\"]=\"9\",e[\"302\"]=\"9\",e[\"303\"]=\"9\",e[\"407\"]=\"9\",e[\"408\"]=\"9\",e[\"308\"]=\"9\",e[\"315\"]=\"9\",e[\"330\"]=\n\"9h\",e[\"331\"]=\"9h\",e[\"332\"]=\"9h\",e[\"333\"]=\"9h\",e[\"334\"]=\"9h\",e[\"335\"]=\"9h\",e[\"336\"]=\"9h\",e[\"337\"]=\"9h\",e[\"338\"]=\"so\",e[\"600\"]=\"o\",e[\"250\"]=\"o\",e[\"251\"]=\"o\",e[\"774\"]=\"o\",e[\"194\"]=\"*\",e[\"195\"]=\"*\",e[\"220\"]=\"*\",e[\"221\"]=\"*\",e[\"196\"]=\"*\",e[\"197\"]=\"*\",e[\"279\"]=\"(\",e[\"280\"]=\"(\",e[\"317\"]=\"(\",e[\"318\"]=\"(\",e[\"273\"]=\"(\",e[\"274\"]=\"(\",e[\"357\"]=\"(\",e[\"358\"]=\"(\",e[\"275\"]=\"(\",e[\"359\"]=\"(\",e[\"360\"]=\"(\",e[\"276\"]=\"(\",e[\"583\"]=\"(\",e[\"584\"]=\"(\",e[\"314\"]=\"(\",e[\"585\"]=\"(\",e[\"561\"]=\"(\",e[\"277\"]=\"(\",e[\"361\"]=\"(h\",e[\"362\"]=\n\"(h\",e[\"363\"]=\"(h\",e[\"364\"]=\"(h\",e[\"365\"]=\"(h\",e[\"366\"]=\"(h\",e[\"591\"]=\"(h\",e[\"592\"]=\"(h\",e[\"367\"]=\"(h\",e[\"586\"]=\"(h\",e[\"587\"]=\"(h\",e[\"368\"]=\"(h\",e[\"588\"]=\"(h\",e[\"562\"]=\"(h\",e[\"409\"]=\"(\",e[\"410\"]=\"(\",e[\"411\"]=\"(\",e[\"412\"]=\"(\",e[\"557\"]=\"(\",e[\"558\"]=\"(\",e[\"394\"]=\"1\",e[\"395\"]=\"1\",e[\"396\"]=\"1\",e[\"397\"]=\"1\",e[\"398\"]=\"1\",e[\"399\"]=\"1\",e[\"720\"]=\"1\",e[\"721\"]=\"1\",e[\"400\"]=\"1\",e[\"401\"]=\"1\",e[\"571\"]=\"1\",e[\"402\"]=\"1\",e[\"694\"]=\"1h\",e[\"695\"]=\"1h\",e[\"696\"]=\"1h\",e[\"697\"]=\"1h\",e[\"698\"]=\"1h\",e[\"699\"]=\"1h\",e[\"700\"]=\"1h\",\ne[\"701\"]=\"1h\",e[\"702\"]=\"1h\",e[\"703\"]=\"1h\",e[\"386\"]=\"3\",e[\"387\"]=\"w\",e[\"406\"]=\"6\",e[\"787\"]=\"1\",e[\"788\"]=\"1\",e[\"548\"]=\"1e\",e[\"549\"]=\"1e\",e[\"550\"]=\"1e\",e[\"551\"]=\"1e\",e[\"809\"]=\"1e\",e[\"810\"]=\"1e\",e[\"552\"]=\"1e\",e[\"811\"]=\"1e\",e[\"812\"]=\"1e\",e[\"553\"]=\"1e\",e[\"813\"]=\"1e\",e[\"814\"]=\"1e\",e[\"554\"]=\"1e\",e[\"815\"]=\"1e\",e[\"816\"]=\"1e\",e[\"555\"]=\"1e\",e[\"817\"]=\"1e\",e[\"818\"]=\"1e\",e[\"572\"]=\"1e\",e[\"556\"]=\"1e\",e[\"645\"]=\"(\",e[\"646\"]=\"(\",e[\"647\"]=\"(\",e[\"648\"]=\"(\",e[\"649\"]=\"(\",e[\"650\"]=\"(\",e[\"651\"]=\"(\",e[\"652\"]=\"(\",e[\"653\"]=\"(\",\ne[\"654\"]=\"(\",e[\"655\"]=\"(\",e[\"656\"]=\"(\",e[\"657\"]=\"(\",e[\"658\"]=\"(\",e[\"659\"]=\"(\",e[\"660\"]=\"(\",e[\"661\"]=\"(\",e[\"662\"]=\"(\",e[\"663\"]=\"(\",e[\"664\"]=\"(\",e[\"665\"]=\"(\",e[\"666\"]=\"(\",e[\"667\"]=\"(\",e[\"668\"]=\"(\",e[\"669\"]=\"(\",e[\"670\"]=\"(\",e[\"671\"]=\"(\",e[\"672\"]=\"(\",e[\"673\"]=\"(\",e[\"674\"]=\"(h\",e[\"675\"]=\"(h\",e[\"676\"]=\"(h\",e[\"677\"]=\"(h\",e[\"678\"]=\"(h\",e[\"679\"]=\"(h\",e[\"680\"]=\"(h\",e[\"681\"]=\"(h\",e[\"682\"]=\"(h\",e[\"683\"]=\"(h\",e[\"684\"]=\"(h\",e[\"685\"]=\"(h\",e[\"686\"]=\"(h\",e[\"687\"]=\"(h\",e[\"688\"]=\"A\",e[\"689\"]=\"A\",e[\"690\"]=\"A\",e[\"691\"]=\n\"MEAC3\",e[\"773\"]=\"i\",e[\"806\"]=\"I\",e[\"805\"]=\"I\",e[\"829\"]=\"9\",e[\"830\"]=\"9\",e[\"831\"]=\"9\",e[\"832\"]=\"9\",e[\"833\"]=\"9\",e[\"834\"]=\"9\",e[\"835\"]=\"9\",e[\"836\"]=\"9\",e[\"892\"]=\"9\",e[\"893\"]=\"9\",e[\"837\"]=\"9\",e[\"838\"]=\"9\",e[\"839\"]=\"9\",e[\"840\"]=\"9\",e[\"841\"]=\"(\",e[\"842\"]=\"(\",e[\"843\"]=\"(\",e[\"844\"]=\"(\",e[\"845\"]=\"(\",e[\"846\"]=\"(\",e[\"847\"]=\"(\",e[\"848\"]=\"(\",e[\"894\"]=\"(\",e[\"895\"]=\"(\",e[\"849\"]=\"(\",e[\"850\"]=\"(\",e[\"851\"]=\"(\",e[\"852\"]=\"(\",e[\"865\"]=\"9\",e[\"866\"]=\"9\",e[\"867\"]=\"9\",e[\"868\"]=\"9\",e[\"869\"]=\"9\",e[\"870\"]=\"9\",e[\"871\"]=\"9\",\ne[\"872\"]=\"9\",e[\"896\"]=\"9\",e[\"897\"]=\"9\",e[\"873\"]=\"9\",e[\"874\"]=\"9\",e[\"875\"]=\"9\",e[\"876\"]=\"9\",e[\"877\"]=\"(\",e[\"878\"]=\"(\",e[\"879\"]=\"(\",e[\"880\"]=\"(\",e[\"881\"]=\"(\",e[\"882\"]=\"(\",e[\"883\"]=\"(\",e[\"884\"]=\"(\",e[\"898\"]=\"(\",e[\"899\"]=\"(\",e[\"885\"]=\"(\",e[\"886\"]=\"(\",e[\"887\"]=\"(\",e[\"888\"]=\"(\",e[\"900\"]=\"2\",e[\"901\"]=\"2\",e[\"902\"]=\"2\",e[\"903\"]=\"2\",e[\"904\"]=\"2\",e[\"905\"]=\"2\",e[\"906\"]=\"2\",e[\"907\"]=\"2\",e[\"908\"]=\"2\",e);var OV={},v0D=(OV.STEREO_LAYOUT_UNKNOWN=0,OV.STEREO_LAYOUT_LEFT_RIGHT=1,OV.STEREO_LAYOUT_TOP_BOTTOM=2,OV);var uWo={gbr:0,zmU:124,pgY:144,EbW:220,bW5:240,Ku0:340,U_D:360,aor:480,uG2:588,QTt:608,XM5:720,Io2:740,Smp:1080,Wot:1100,cZZ:1440,iMD:2160,RM2:9999,0:\"QUALITY_ORDINAL_UNKNOWN\",124:\"QUALITY_ORDINAL_144P_SAVER\",144:\"QUALITY_ORDINAL_144P\",220:\"QUALITY_ORDINAL_240P_SAVER\",240:\"QUALITY_ORDINAL_240P\",340:\"QUALITY_ORDINAL_360P_SAVER\",360:\"QUALITY_ORDINAL_360P\",480:\"QUALITY_ORDINAL_480P\",588:\"QUALITY_ORDINAL_608P_SAVER\",608:\"QUALITY_ORDINAL_608P\",720:\"QUALITY_ORDINAL_720P\",740:\"QUALITY_ORDINAL_720P_ENHANCED\",\n1080:\"QUALITY_ORDINAL_1080P\",1100:\"QUALITY_ORDINAL_1080P_ENHANCED\",1440:\"QUALITY_ORDINAL_1440P\",2160:\"QUALITY_ORDINAL_2160P\",9999:\"QUALITY_ORDINAL_HIGHRES\"};var jU,ki,qE,wMe;jU={};g.x0=(jU.auto=0,jU.tiny=144,jU.light=144,jU.small=240,jU.medium=360,jU.large=480,jU.hd720=720,jU.hd1080=1080,jU.hd1440=1440,jU.hd2160=2160,jU.hd2880=2880,jU.highres=4320,jU);ki={0:\"auto\",144:\"tiny\",240:\"small\",360:\"medium\",480:\"large\",720:\"hd720\",1080:\"hd1080\",1440:\"hd1440\",2160:\"hd2160\",2880:\"hd2880\",4320:\"highres\"};qE={};\nwMe=(qE.QUALITY_ORDINAL_UNKNOWN=0,qE.QUALITY_ORDINAL_144P_SAVER=124,qE.QUALITY_ORDINAL_144P=144,qE.QUALITY_ORDINAL_240P_SAVER=220,qE.QUALITY_ORDINAL_240P=240,qE.QUALITY_ORDINAL_360P_SAVER=340,qE.QUALITY_ORDINAL_360P=360,qE.QUALITY_ORDINAL_480P=480,qE.QUALITY_ORDINAL_608P_SAVER=588,qE.QUALITY_ORDINAL_608P=608,qE.QUALITY_ORDINAL_720P=720,qE.QUALITY_ORDINAL_720P_ENHANCED=740,qE.QUALITY_ORDINAL_1080P=1080,qE.QUALITY_ORDINAL_1080P_ENHANCED=1100,qE.QUALITY_ORDINAL_1440P=1440,qE.QUALITY_ORDINAL_2160P=2160,\nqE.QUALITY_ORDINAL_HIGHRES=9999,qE);var a2=\"highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny\".split(\" \");Ev.prototype.isHdr=function(){return this.U===\"smpte2084\"||this.U===\"arib-std-b67\"};Uv.prototype.S4=function(){return this.containerType===2};\nUv.prototype.isEncrypted=function(){return!!this.g8};\nUv.prototype.c9=function(){return!!this.audio};\nUv.prototype.iX=function(){return!!this.video};\nvar Av=!1;g.x(ew,g.VQ);g.w=ew.prototype;g.w.appendBuffer=function(K,R,f){if(this.SM.qZ()!==this.appendWindowStart+this.start||this.SM.XU()!==this.appendWindowEnd+this.start||this.SM.jy()!==this.timestampOffset+this.start)this.SM.supports(1),this.SM.S7(this.appendWindowStart+this.start,this.appendWindowEnd+this.start),this.SM.YE(this.timestampOffset+this.start);this.SM.appendBuffer(K,R,f)};\ng.w.abort=function(){this.SM.abort()};\ng.w.remove=function(K,R){this.SM.remove(K+this.start,R+this.start)};\ng.w.removeAll=function(){this.remove(this.appendWindowStart,this.appendWindowEnd)};\ng.w.clear=function(){this.SM.clear()};\ng.w.S7=function(K,R){this.appendWindowStart=K;this.appendWindowEnd=R};\ng.w.FE=function(){return this.timestampOffset+this.start};\ng.w.qZ=function(){return this.appendWindowStart};\ng.w.XU=function(){return this.appendWindowEnd};\ng.w.YE=function(K){this.timestampOffset=K};\ng.w.jy=function(){return this.timestampOffset};\ng.w.vV=function(K){K=this.SM.vV(K===void 0?!1:K);return CH(K,this.start,this.end)};\ng.w.xq=function(){return this.SM.xq()};\ng.w.C$=function(){return this.SM.C$()};\ng.w.Po=function(){return this.SM.Po()};\ng.w.NU=function(){return this.SM.NU()};\ng.w.GR=function(){this.SM.GR()};\ng.w.oF=function(K){return this.SM.oF(K)};\ng.w.Zp=function(){return this.SM.Zp()};\ng.w.MI=function(){return this.SM.MI()};\ng.w.vc=function(K,R,f){this.SM.vc(K,R,f)};\ng.w.Sv=function(K,R,f){this.SM.Sv(K,R,f)};\ng.w.Bn=function(K,R){return this.SM.Bn(K,R)};\ng.w.supports=function(K){return this.SM.supports(K)};\ng.w.Aa=function(){return this.SM.Aa()};\ng.w.isView=function(){return!0};\ng.w.Qh=function(){return this.SM.Qh()?this.isActive:!1};\ng.w.isLocked=function(){return this.kd&&!this.isActive};\ng.w.PK=function(K){K=this.SM.PK(K);K.vw=this.start+\"-\"+this.end;return K};\ng.w.qI=function(){return this.SM.qI()};\ng.w.DC=function(){return this.SM.DC()};\ng.w.LV=function(){return this.SM.LV()};\ng.w.uD=function(){this.SM.ZX(this.kx);g.VQ.prototype.uD.call(this)};var OJ=!1;g.x(RT,g.VQ);g.w=RT.prototype;g.w.appendBuffer=function(K,R,f){this.dT=!1;f&&(this.Dz=f);if(K.length){var V;((V=this.DZ)==null?0:V.appendBuffer)?this.DZ.appendBuffer(K):this.DZ?this.DZ.append(K):this.gQ&&this.gQ.webkitSourceAppend(this.id,K)}R&&(R.isEncrypted()&&(this.Qg=this.Dz),R.type===3&&(this.CT=R),this.TW.push(R.yI()),this.TW.length>4&&this.TW.shift());this.jP&&(this.jP.length>=2||K.length>1048576?delete this.jP:this.jP.push(K))};\ng.w.abort=function(){try{this.DZ?this.DZ.abort():this.gQ&&this.gQ.webkitSourceAbort(this.id)}catch(R){if(NAv){var K=new g.NB(\"Error while abort the source buffer: \"+R.name+\", \"+R.message);g.WR(K)}}this.Dz=this.CT=null};\ng.w.remove=function(K,R,f){this.dT=!1;var V;if((V=this.DZ)==null?0:V.remove)f&&f({b:Mr(this.vV()),s:K,e:R}),this.DZ.remove(K,R)};\ng.w.removeAll=function(){this.remove(this.qZ(),this.XU())};\ng.w.clear=function(){this.Po()||(this.abort(),this.removeAll(),this.Qg=this.Dz=this.CT=null,this.appendWindowStart=this.timestampOffset=0,this.CG=qr([],[]),this.dT=!1,this.jP=Ky?[]:void 0,this.Vh=!0)};\ng.w.qZ=function(){if(OJ&&this.iX)return this.appendWindowStart;var K;return((K=this.DZ)==null?void 0:K.appendWindowStart)||0};\ng.w.XU=function(){var K;return((K=this.DZ)==null?void 0:K.appendWindowEnd)||0};\ng.w.S7=function(K,R){this.DZ&&(OJ&&this.iX?(this.appendWindowStart=K,this.DZ.appendWindowEnd=R):K>this.qZ()?(this.DZ.appendWindowEnd=R,this.DZ.appendWindowStart=K):(this.DZ.appendWindowStart=K,this.DZ.appendWindowEnd=R))};\ng.w.FE=function(){return this.timestampOffset};\ng.w.YE=function(K){OJ?this.timestampOffset=K:this.supports(1)&&(this.DZ.timestampOffset=K)};\ng.w.jy=function(){return OJ?this.timestampOffset:this.supports(1)?this.DZ.timestampOffset:0};\ng.w.vV=function(K){if(K===void 0?0:K)return this.dT||this.xq()||(this.CG=this.vV(!1),this.dT=!0),this.CG;try{return this.DZ?this.DZ.buffered:this.gQ?this.gQ.webkitSourceBuffered(this.id):qr([0],[Infinity])}catch(R){return qr([],[])}};\ng.w.xq=function(){var K;return((K=this.DZ)==null?void 0:K.updating)||!1};\ng.w.Po=function(){return this.Vh};\ng.w.NU=function(){return!this.Vh&&this.xq()};\ng.w.GR=function(){this.Vh=!1};\ng.w.oF=function(K){var R=K==null?void 0:K.P5;K=K==null?void 0:K.containerType;return!R&&!K||R===this.P5&&K===this.containerType};\ng.w.Zp=function(){return this.Dz};\ng.w.MI=function(){return this.Qg};\ng.w.Bn=function(K,R){return this.containerType!==K||this.P5!==R};\ng.w.vc=function(K,R,f){if(this.containerType!==K||f&&this.Bn(K,f))this.supports(4),fy()&&this.DZ.changeType(R),f&&(this.P5=f);this.containerType=K};\ng.w.Sv=function(K,R,f){this.containerType&&this.Bn(K,R)&&fy()&&this.DZ.changeType(f);this.containerType=K;this.P5=R};\ng.w.Aa=function(){return this.CT};\ng.w.isView=function(){return!1};\ng.w.supports=function(K){switch(K){case 1:var R;return((R=this.DZ)==null?void 0:R.timestampOffset)!==void 0;case 0:var f;return!((f=this.DZ)==null||!f.appendBuffer);case 2:var V;return!((V=this.DZ)==null||!V.remove);case 3:var D,H;return!!(((D=this.DZ)==null?0:D.addEventListener)&&((H=this.DZ)==null?0:H.removeEventListener));case 4:return!(!this.DZ||!this.DZ.changeType);default:return!1}};\ng.w.Qh=function(){return!this.xq()};\ng.w.isLocked=function(){return!1};\ng.w.PK=function(K){K.to=this.jy();K.up=this.xq();var R,f=((R=this.DZ)==null?void 0:R.appendWindowStart)||0,V;R=((V=this.DZ)==null?void 0:V.appendWindowEnd)||Infinity;K.aw=f.toFixed(3)+\"-\"+R.toFixed(3);return K};\ng.w.C$=function(){var K;return((K=this.DZ)==null?void 0:K.writeHead)||0};\ng.w.qI=function(){for(var K={},R=0;R=7&&(!R||((V=this.bD)==null?0:V.Y(\"mweb_ios_allow_playback_workaround_when_ready\")))&&GNG(this,function(){g.zs(function(){FH5(K,K.getCurrentTime(),0)},500)})}return R};\ng.w.V3=function(K,R,f){var V;((V=this.bD)==null?0:V.oG())&&this.bD.KQ(K,R,f===void 0?!1:f)};\ng.w.q3=function(K){this.bD=K};\ng.w.xE=function(){return uA(this.A$(),this.getCurrentTime())};\ng.w.seekTo=function(K){this.Rk()>0&&(tu&&AP<4&&(K=Math.max(.1,K)),this.setCurrentTime(K))};\ng.w.Bl=function(K){if(this.Rk()===0||this.hasError())return!1;var R=this.getCurrentTime()>0;if(K>=0){var f=this.mu();if(f.length||!R)return pH(f,K)}return R};\ng.w.dk=function(){if(!this.X&&this.sF)if(this.sF.T)try{var K;this.V3(\"rms\",{l:\"mer\",sr:(K=this.bD)==null?void 0:K.JK(),rs:Fn(this.sF)});this.sF.clear();this.Va(this.sF);this.sF=void 0}catch(R){K=new g.NB(\"Error while clearing Media Source in MediaElement: \"+R.name+\", \"+R.message),g.WR(K),this.stopVideo()}else this.stopVideo()};\ng.w.stopVideo=function(){var K=this;if(!this.X){var R;(R=this.sF)==null||rv(R);if(xE5){if(!this.N){var f=new y9;f.then(void 0,function(){});\nthis.N=f;EkB&&this.pause();g.zs(function(){K.N===f&&(oT(K),f.resolve())},200)}}else oT(this)}};\ng.w.hN=function(){var K=this.A$();return GF(K)&&this.getDuration()?Y0(K,this.getCurrentTime()):0};\ng.w.KX=function(){var K=this.A$();return GF(K)&&this.getDuration()?K.end(K.length-1):0};\ng.w.z9=function(){var K=this.getDuration();return K===Infinity?1:K?this.hN()/K:0};\ng.w.PK=function(){try{var K=this.getSize();return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Mr(this.q_(),\",\",3),vbu:Mr(this.A$()),vbs:Mr(this.mu()),vpa:\"\"+ +this.isPaused(),vsk:\"\"+ +this.isSeeking(),ven:\"\"+ +this.isEnded(),vpr:\"\"+this.getPlaybackRate(),vrs:\"\"+this.Rk(),vns:\"\"+this.Rb(),vec:\"\"+this.jH(),vemsg:this.R0(),vvol:\"\"+this.getVolume(),vdom:\"\"+ +this.MM(),vsrc:\"\"+ +!!this.LT(),vw:\"\"+K.width,vh:\"\"+K.height}}catch(R){return{}}};\ng.w.PO=function(){return this.jH()===4};\ng.w.hasError=function(){return this.jH()>0};\ng.w.ou=function(){switch(this.jH()){case 2:return\"progressive.net.retryexhausted\";case 3:var K=this.R0();return(K==null?0:K.includes(\"MEDIA_ERR_CAPABILITY_CHANGED\"))||QO_&&(K==null?0:K.includes(\"audio_output_change\"))?\"capability.changed\":\"fmt.decode\";case 4:return\"fmt.unplayable\";case 5:return\"drm.unavailable\";case 1E3:return\"capability.changed\";default:return null}};\ng.w.addEventListener=function(K,R){this.EF.listen(K,R,!1,this);this.wz(K)};\ng.w.removeEventListener=function(K,R){this.EF.hs(K,R,!1,this)};\ng.w.dispatchEvent=function(K){if(this.N&&K.type===\"pause\")return!1;if(aVM){var R,f=((R=K.U)==null?void 0:R.timeStamp)||Infinity;R=f>performance.now()?f-Date.now()+performance.now():f;f=this.X||this.sF;if((f==null?0:f.Po())||R<=((f==null?void 0:f.J)||0)){var V;this.V3(\"rms\",{l:\"mede\",sr:(V=this.bD)==null?void 0:V.JK(),et:K.type});return!1}if(this.hE)return this.V3(\"rms\",{l:\"medes\",et:K.type}),f&&K.type===\"seeking\"&&(f.J=performance.now(),this.hE=!1),!1}return this.EF.dispatchEvent(K)};\ng.w.HH=function(){this.Xt=!1};\ng.w.kP=function(){this.Xt=!0;this.nO(!0)};\ng.w.dl=function(){this.Xt&&!this.Ib()&&this.nO(!0)};\ng.w.equals=function(K){return!!K&&K.ud()===this.ud()};\ng.w.uD=function(){this.B5&&this.removeEventListener(\"volumechange\",this.dl);xE5&&oT(this);g.O.prototype.uD.call(this)};\nvar xE5=!1,EkB=!1,aVM=!1,QO_=!1;g.w=g.S3.prototype;g.w.isPaused=function(){return g.G(this,4)};\ng.w.isPlaying=function(){return g.G(this,8)&&!g.G(this,512)&&!g.G(this,64)&&!g.G(this,2)};\ng.w.isOrWillBePlaying=function(){return g.G(this,8)&&!g.G(this,2)&&!g.G(this,1024)};\ng.w.isCued=function(){return g.G(this,64)&&!g.G(this,8)&&!g.G(this,4)};\ng.w.isBuffering=function(){return g.G(this,1)&&!g.G(this,2)};\ng.w.isError=function(){return g.G(this,128)};\ng.w.isSuspended=function(){return g.G(this,512)};\ng.w.AE=function(){return g.G(this,64)&&g.G(this,4)};\ng.w.toString=function(){return\"PSt.\"+this.state.toString(16)};\nvar ME={},bn=(ME.BUFFERING=\"buffering-mode\",ME.CUED=\"cued-mode\",ME.ENDED=\"ended-mode\",ME.PAUSED=\"paused-mode\",ME.PLAYING=\"playing-mode\",ME.SEEKING=\"seeking-mode\",ME.UNSTARTED=\"unstarted-mode\",ME);g.x(NP,g.O);g.w=NP.prototype;g.w.Sy=function(){return this.slot};\ng.w.nQ=function(){return this.layout};\ng.w.init=function(){var K=Oj(this.layout.clientMetadata,\"metadata_type_video_length_seconds\"),R=Oj(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");Dt(this.layout.iD)&&Cx(this.UC.get(),this.layout.layoutId,{Y8:R,s_:K,listener:this});hNB(this.A5.get(),this);this.Sh()};\ng.w.No=function(){};\ng.w.release=function(){Dt(this.layout.iD)&&el(this.UC.get(),this.layout.layoutId);omM(this.A5.get(),this);this.yV()};\ng.w.iJ=function(){};\ng.w.qf=function(){};\ng.w.startRendering=function(K){if(K.layoutId!==this.layout.layoutId){this.Ko.lL(this.slot,K,new IR(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\");var R=!1}else R=!0;R&&(this.zt=\"rendering_start_requested\",this.cM(-1),this.zy(K),this.WC(!1))};\ng.w.KL=function(K,R){if(R.layoutId===this.layout.layoutId){this.zt=\"rendering\";this.U=this.h5.get().isMuted()||this.h5.get().getVolume()===0;this.Lh(\"impression\");this.Lh(\"start\");if(this.h5.get().isMuted()){Wq(this,\"mute\");var f;K=((f=Q9(this))==null?void 0:f.muteCommands)||[];UK(this.AV.get(),K,this.layout.layoutId)}if(this.h5.get().isFullscreen()){this.NH(\"fullscreen\");var V;f=((V=Q9(this))==null?void 0:V.fullscreenCommands)||[];UK(this.AV.get(),f,this.layout.layoutId)}V=this.q1.get();V.X&&!V.K&&\n(V.B=!1,V.K=!0,V.actionType!==\"ad_to_video\"&&(ZR(\"pbs\",void 0,V.actionType),g.No(\"finalize_all_timelines\")&&ZPN(V.actionType)));this.cM(1);this.PY(R);var D;R=((D=Q9(this))==null?void 0:D.impressionCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.CC=function(K,R,f){this.B={J7:3,Yd:K===\"load_timeout\"?402:400,errorMessage:R.message};this.Lh(\"error\");var V;K=((V=Q9(this))==null?void 0:V.errorCommands)||[];UK(this.AV.get(),K,this.layout.layoutId);this.Ko.lL(this.slot,this.layout,R,f)};\ng.w.TC=function(){if(this.zt===\"rendering\"){Wq(this,\"pause\");var K,R=((K=Q9(this))==null?void 0:K.pauseCommands)||[];UK(this.AV.get(),R,this.layout.layoutId);this.cM(2)}};\ng.w.s9=function(){if(this.zt===\"rendering\"){Wq(this,\"resume\");var K,R=((K=Q9(this))==null?void 0:K.resumeCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.R4=function(K,R){R=R===void 0?!1:R;if(this.zt===\"rendering\"){ya(this.CQ,K*1E3,R);this.U||ya(this.CQ,K*1E3,R===void 0?!1:R);var f=this.XF();f&&(f/=1E3,(K>=f*.25||R)&&this.Lh(\"first_quartile\"),(K>=f*.5||R)&&this.Lh(\"midpoint\"),(K>=f*.75||R)&&this.Lh(\"third_quartile\"),this.wU.get().G.C().experiments.rU(\"enable_progress_command_flush_on_kabuki\")?EU(this.K,K*1E3,R):EU(this.K,K*1E3,wQo(this)?R:!1))}};\ng.w.yE=function(){var K;return((K=sU(this.Da.get(),1))==null?void 0:K.clientPlaybackNonce)||\"\"};\ng.w.iy=function(K,R){K.layoutId!==this.layout.layoutId?this.Ko.lL(this.slot,K,new IR(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):R()};\ng.w.jM=function(K,R,f){if(R.layoutId===this.layout.layoutId)switch(this.zt=\"not_rendering\",this.layoutExitReason=void 0,(K=f!==\"normal\"||this.position+1===this.J)&&this.WC(K),this.o7(f),this.cM(0),f){case \"abandoned\":if(hD(this.CQ,\"impression\")){var V,D=((V=Q9(this))==null?void 0:V.abandonCommands)||[];UK(this.AV.get(),D,this.layout.layoutId)}break;case \"normal\":V=((D=Q9(this))==null?void 0:D.completeCommands)||[];UK(this.AV.get(),V,this.layout.layoutId);break;case \"skipped\":var H;V=((H=Q9(this))==\nnull?void 0:H.skipCommands)||[];UK(this.AV.get(),V,this.layout.layoutId)}};\ng.w.k5=function(){return this.layout.layoutId};\ng.w.QE=function(){return this.B};\ng.w.Ob=function(){if(this.zt===\"rendering\"){this.CQ.Lh(\"active_view_measurable\");var K,R=((K=Q9(this))==null?void 0:K.activeViewMeasurableCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.rP=function(){if(this.zt===\"rendering\"){this.CQ.Lh(\"active_view_fully_viewable_audible_half_duration\");var K,R=((K=Q9(this))==null?void 0:K.activeViewFullyViewableAudibleHalfDurationCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.Zd=function(){if(this.zt===\"rendering\"){this.CQ.Lh(\"active_view_viewable\");var K,R=((K=Q9(this))==null?void 0:K.activeViewViewableCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.C3=function(){if(this.zt===\"rendering\"){this.CQ.Lh(\"audio_audible\");var K,R=((K=Q9(this))==null?void 0:K.activeViewAudioAudibleCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.lJ=function(){if(this.zt===\"rendering\"){this.CQ.Lh(\"audio_measurable\");var K,R=((K=Q9(this))==null?void 0:K.activeViewAudioMeasurableCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}};\ng.w.WC=function(K){this.q1.get().WC(Oj(this.layout.clientMetadata,\"metadata_type_ad_placement_config\").kind,K,this.position,this.J,!1)};\ng.w.onFullscreenToggled=function(K){if(this.zt===\"rendering\")if(K){this.NH(\"fullscreen\");var R,f=((R=Q9(this))==null?void 0:R.fullscreenCommands)||[];UK(this.AV.get(),f,this.layout.layoutId)}else this.NH(\"end_fullscreen\"),R=((f=Q9(this))==null?void 0:f.endFullscreenCommands)||[],UK(this.AV.get(),R,this.layout.layoutId)};\ng.w.onVolumeChange=function(){if(this.zt===\"rendering\")if(this.h5.get().isMuted()){Wq(this,\"mute\");var K,R=((K=Q9(this))==null?void 0:K.muteCommands)||[];UK(this.AV.get(),R,this.layout.layoutId)}else Wq(this,\"unmute\"),K=((R=Q9(this))==null?void 0:R.unmuteCommands)||[],UK(this.AV.get(),K,this.layout.layoutId)};\ng.w.zr=function(){};\ng.w.q4=function(){};\ng.w.Bo=function(){};\ng.w.hx=function(){};\ng.w.Ax=function(){};\ng.w.NH=function(K){this.CQ.NH(K,!this.U)};\ng.w.Lh=function(K){this.CQ.Lh(K,!this.U)};g.x(AL,NP);g.w=AL.prototype;g.w.Sh=function(){};\ng.w.yV=function(){var K=this.A5.get();K.N3===this&&(K.N3=null);this.timer.stop()};\ng.w.iJ=function(){this.timer.stop();NP.prototype.TC.call(this)};\ng.w.qf=function(){z65(this);NP.prototype.s9.call(this)};\ng.w.XF=function(){return Oj(this.nQ().clientMetadata,\"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS\")};\ng.w.Xn=function(K,R){var f=this;this.iy(K,function(){f.zt!==\"rendering_stop_requested\"&&(f.zt=\"rendering_stop_requested\",f.layoutExitReason=R,oeB(f,R),f.timer.stop())})};\ng.w.eM=function(){var K=Date.now(),R=K-this.wj;this.wj=K;this.E$+=R;this.E$>=this.XF()?(this.E$=this.XF(),this.R4(this.E$/1E3,!0),JL(this,this.E$),this.O0()):(this.R4(this.E$/1E3),JL(this,this.E$))};\ng.w.xI=function(K){if(this.zt!==\"not_rendering\"){K=S_c(this,K);var R=this.h5.get().getPresentingPlayerType()===2;this.zt===\"rendering_start_requested\"?R&&Yp(K)&&this.m9():R?g.rH(K,2)?dH(\"Receive player ended event during MediaBreak\",this.Sy(),this.nQ()):i02(this,K):this.cS()}};\ng.w.zy=function(){veB(this);Em_(this.h5.get());this.A5.get().N3=this;A2(\"pbp\")||A2(\"pbs\")||ZR(\"pbp\");A2(\"pbp\",\"watch\")||A2(\"pbs\",\"watch\")||ZR(\"pbp\",void 0,\"watch\");this.m9()};\ng.w.PY=function(K){this.q1.get();var R=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\").kind,f=this.position===0;K=Oj(K.clientMetadata,\"metadata_type_linked_in_player_layout_type\");K={adBreakType:UG(R),adType:DHB(K)};var V=void 0;f?R!==\"AD_PLACEMENT_KIND_START\"&&(V=\"video_to_ad\"):V=\"ad_to_ad\";Uz(\"ad_mbs\",void 0,V);g.WV(K,V);z65(this)};\ng.w.cS=function(){this.O0()};\ng.w.o7=function(){};\ng.w.fF=function(){};g.x(Xn,NP);g.w=Xn.prototype;g.w.cS=function(){this.O0()};\ng.w.xI=function(K){this.Kx(K)};\ng.w.Sh=function(){Oj(this.nQ().clientMetadata,\"metadata_type_player_bytes_callback_ref\").current=this;this.shrunkenPlayerBytesConfig=Oj(this.nQ().clientMetadata,\"metadata_type_shrunken_player_bytes_config\")};\ng.w.yV=function(){Oj(this.nQ().clientMetadata,\"metadata_type_player_bytes_callback_ref\").current=null;this.Zu&&this.IQ.get().removeCueRange(this.Zu);this.Zu=void 0;var K;(K=this.fC)==null||K.dispose();this.ER&&this.ER.dispose()};\ng.w.zy=function(K){var R=Oj(K.clientMetadata,\"metadata_type_ad_placement_config\");R=Zn(this.wU.get(),R);var f=Bq(this.wU.get());if(R&&f){f=Oj(K.clientMetadata,\"metadata_type_preload_player_vars\");var V=this.wU.get();V=g.mz(V.G.C().experiments,\"html5_preload_wait_time_secs\");f&&this.ER&&this.ER.start(V*1E3)}f=Oj(K.clientMetadata,\"metadata_type_ad_video_id\");V=Oj(K.clientMetadata,\"metadata_type_legacy_info_card_vast_extension\");f&&V&&this.GA.get().G.C().qe.add(f,{RA:V});(f=Oj(K.clientMetadata,\"metadata_type_sodar_extension_data\"))&&\nIAG(this.o0.get(),f);agv(this.h5.get(),!1);veB(this);R?(f=this.N1.get(),K=Oj(K.clientMetadata,\"metadata_type_player_vars\"),f.G.loadVideoByPlayerVars(K,!1,2)):g9z(this.N1.get(),Oj(K.clientMetadata,\"metadata_type_player_vars\"));var D;(D=this.fC)==null||D.start();R||this.N1.get().G.playVideo(2)};\ng.w.PY=function(){var K;(K=this.fC)==null||K.stop();this.Vg();(this.adCpn=h6_(this))||dH(\"Media layout confirmed started, but ad CPN not set.\");this.OL.get().gV(\"onAdStart\",this.adCpn);this.pN=Date.now()};\ng.w.XF=function(){var K;return(K=sU(this.Da.get(),2))==null?void 0:K.sI};\ng.w.pw=function(){this.CQ.NH(\"clickthrough\")};\ng.w.Xn=function(K,R){var f=this;this.iy(K,function(){if(f.zt!==\"rendering_stop_requested\"){f.zt=\"rendering_stop_requested\";f.layoutExitReason=R;oeB(f,R);var V;(V=f.fC)==null||V.stop();f.ER&&f.ER.stop();agv(f.h5.get(),!0);var D;((D=f.shrunkenPlayerBytesConfig)==null?0:D.shouldRequestShrunkenPlayerBytes)&&f.h5.get().XT(!1)}})};\ng.w.onCueRangeEnter=function(K){K!==this.Zu?dH(\"Received CueRangeEnter signal for unknown layout.\",this.Sy(),this.nQ(),{cueRangeId:K}):(this.IQ.get().removeCueRange(this.Zu),this.Zu=void 0,K=Oj(this.nQ().clientMetadata,\"metadata_type_video_length_seconds\"),this.R4(K,!0),this.Lh(\"complete\"))};\ng.w.o7=function(K){K!==\"abandoned\"&&this.OL.get().gV(\"onAdComplete\");this.OL.get().gV(\"onAdEnd\",this.adCpn)};\ng.w.Vg=function(){this.Zu=\"adcompletioncuerange:\"+this.nQ().layoutId;this.IQ.get().addCueRange(this.Zu,0x7ffffffffffff,0x8000000000000,!1,this,2,2)};\ng.w.onCueRangeExit=function(){};\ng.w.fF=function(K){this.zt===\"rendering\"&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&K>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.h5.get().XT(!0),this.R4(K))};\ng.w.R4=function(K,R){NP.prototype.R4.call(this,K,R===void 0?!1:R);R=Date.now()-this.pN;var f=K*1E3,V={contentCpn:this.yE(),adCpn:h6_(this)};if(K-this.A_>=5){var D=R0&&rI(this.U(),R)};\ng.w.o$=function(K){this.B.delete(K.slotId);for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next()){V=V.value;var D=V.trigger;D instanceof gq&&D.triggeringSlotId===K.slotId&&R.push(V)}R.length>0&&rI(this.U(),R)};\ng.w.Gr=function(K){for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next()){V=V.value;var D=V.trigger;D instanceof Ar&&D.slotType===K.slotType&&D.U!==K.slotId&&R.push(V)}R.length>0&&rI(this.U(),R)};\ng.w.t$=function(K){this.X.add(K.slotId);for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next())V=V.value,V.trigger instanceof kM&&K.slotId===V.trigger.triggeringSlotId&&R.push(V);R.length>0&&rI(this.U(),R)};\ng.w.Gh=function(K){this.X.delete(K.slotId);this.J.add(K.slotId);for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next())if(V=V.value,V.trigger instanceof Ti)K.slotId===V.trigger.triggeringSlotId&&R.push(V);else if(V.trigger instanceof L6){var D=V.trigger;K.slotId===D.slotId&&this.K.has(D.triggeringLayoutId)&&R.push(V)}R.length>0&&rI(this.U(),R)};\ng.w.fP=function(K){for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next())V=V.value,V.trigger instanceof PO&&K.slotId===V.trigger.triggeringSlotId&&R.push(V);R.length>0&&rI(this.U(),R)};\ng.w.YR=function(K){for(var R=[],f=g.Z(this.ey.values()),V=f.next();!V.done;V=f.next())V=V.value,V.trigger instanceof n6&&K.slotId===V.trigger.triggeringSlotId&&R.push(V);R.length>0&&rI(this.U(),R)};\ng.w.R$=function(K,R){this.T.add(R.layoutId)};\ng.w.gD=function(K,R){this.T.delete(R.layoutId)};\ng.w.KL=function(K,R){this.K.add(R.layoutId);for(var f=[],V=g.Z(this.ey.values()),D=V.next();!D.done;D=V.next())if(D=D.value,D.trigger instanceof wq)R.layoutId===D.trigger.triggeringLayoutId&&f.push(D);else if(D.trigger instanceof tr){var H=D.trigger;K.slotType===H.slotType&&R.layoutType===H.layoutType&&R.layoutId!==H.U&&f.push(D)}else D.trigger instanceof L6&&(H=D.trigger,R.layoutId===H.triggeringLayoutId&&this.J.has(H.slotId)&&f.push(D));f.length>0&&rI(this.U(),f)};\ng.w.jM=function(K,R,f){this.K.delete(R.layoutId);K=[];for(var V=g.Z(this.ey.values()),D=V.next();!D.done;D=V.next())if(D=D.value,D.trigger instanceof xM&&R.layoutId===D.trigger.triggeringLayoutId&&K.push(D),D.trigger instanceof zi){var H=D.trigger;R.layoutId===H.triggeringLayoutId&&H.U.includes(f)&&K.push(D)}K.length>0&&rI(this.U(),K)};\ng.w.rD=function(){};\ng.w.Yh=function(){this.J.clear()};\ng.w.zT=function(){};g.x(w$,g.O);w$.prototype.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");if(!(R instanceof i0))throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in CloseRequestedTriggerAdapter\");this.ey.set(R.triggerId,new q5(K,R,f,V))};\nw$.prototype.kq=function(K){this.ey.delete(K.triggerId)};g.x(xF,g.O);xF.prototype.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");if(!(R instanceof ST||R instanceof Zw))throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in ContentPlaybackLifecycleTriggerAdapter\");this.ey.set(R.triggerId,new q5(K,R,f,V))};\nxF.prototype.kq=function(K){this.ey.delete(K.triggerId)};\nxF.prototype.Yh=function(K){for(var R=[],f=R.push,V=f.apply,D=[],H=g.Z(this.ey.values()),l=H.next();!l.done;l=H.next())l=l.value,l.trigger instanceof ST&&l.trigger.rV===K&&D.push(l);V.call(f,R,g.X(D));f=R.push;V=f.apply;D=[];H=g.Z(this.ey.values());for(l=H.next();!l.done;l=H.next())l=l.value,l.trigger instanceof Zw&&l.trigger.U!==K&&D.push(l);V.call(f,R,g.X(D));R.length&&rI(this.U(),R)};\nxF.prototype.zT=function(K){for(var R=[],f=R.push,V=f.apply,D=[],H=g.Z(this.ey.values()),l=H.next();!l.done;l=H.next()){l=l.value;var F=l.trigger;F instanceof Zw&&F.U===K&&D.push(l)}V.call(f,R,g.X(D));R.length&&rI(this.U(),R)};g.x(Er,g.O);g.w=Er.prototype;g.w.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");var D=\"adtriggercuerange:\"+R.triggerId;if(R instanceof Uk)miD(this,K,R,f,V,D,R.U.start,R.U.end,R.rV,R.visible);else if(R instanceof vO)miD(this,K,R,f,V,D,0x7ffffffffffff,0x8000000000000,R.rV,R.visible);else throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in CueRangeTriggerAdapter\");};\ng.w.kq=function(K){var R=this.ey.get(K.triggerId);R&&this.IQ.get().removeCueRange(R.cueRangeId);this.ey.delete(K.triggerId)};\ng.w.onCueRangeEnter=function(K){if(K=GLB(this,K))if(K=this.ey.get(K))if(g.G(uy(this.h5.get()),32))this.U.add(K.cueRangeId);else{var R=K==null?void 0:K.eb.trigger;(R instanceof Uk||R instanceof vO)&&rI(this.K(),[K.eb])}};\ng.w.onCueRangeExit=function(K){(K=GLB(this,K))&&(K=this.ey.get(K))&&this.U.delete(K.cueRangeId)};\ng.w.xI=function(K){if(cQ(K,16)<0){K=g.Z(this.U);for(var R=K.next();!R.done;R=K.next())this.onCueRangeEnter(R.value,!0);this.U.clear()}};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.KL=function(){};\ng.w.jM=function(){};\ng.w.rD=function(){};\ng.w.fF=function(){};\ng.w.onFullscreenToggled=function(){};\ng.w.zr=function(){};\ng.w.q4=function(){};\ng.w.Bo=function(){};\ng.w.onVolumeChange=function(){};\ng.w.hx=function(){};\ng.w.Ax=function(){};g.x(aD,g.O);\naD.prototype.T8=function(K,R,f,V){if(this.K.has(R.triggerId)||this.X.has(R.triggerId))throw new C(\"Tried to re-register the trigger.\");K=new q5(K,R,f,V);if(K.trigger instanceof N5)this.K.set(K.trigger.triggerId,K);else if(K.trigger instanceof Ek)this.X.set(K.trigger.triggerId,K);else throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+K.trigger.triggerType+\" in LiveStreamBreakTransitionTriggerAdapter\");this.K.has(K.trigger.triggerId)&&K.slot.slotId===this.U&&rI(this.J(),[K])};\naD.prototype.kq=function(K){this.K.delete(K.triggerId);this.X.delete(K.triggerId)};\naD.prototype.A8=function(K){K=K.slotId;if(this.U!==K){var R=[];this.U!=null&&R.push.apply(R,g.X(u1o(this.X,this.U)));K!=null&&R.push.apply(R,g.X(u1o(this.K,K)));this.U=K;R.length&&rI(this.J(),R)}};g.x(QL,g.O);g.w=QL.prototype;g.w.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");if(!(R instanceof Jr))throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in OnLayoutSelfRequestedTriggerAdapter\");this.ey.set(R.triggerId,new q5(K,R,f,V))};\ng.w.kq=function(K){this.ey.delete(K.triggerId)};\ng.w.KL=function(){};\ng.w.jM=function(){};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};g.x(N3,g.O);g.w=N3.prototype;g.w.rD=function(K,R){for(var f=[],V=g.Z(this.ey.values()),D=V.next();!D.done;D=V.next()){D=D.value;var H=D.trigger;H.opportunityType===K&&(H.associatedSlotId&&H.associatedSlotId!==R||f.push(D))}f.length&&rI(this.U(),f)};\ng.w.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");if(!(R instanceof O3M))throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in OpportunityEventTriggerAdapter\");this.ey.set(R.triggerId,new q5(K,R,f,V))};\ng.w.kq=function(K){this.ey.delete(K.triggerId)};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.KL=function(){};\ng.w.jM=function(){};g.x(Ur,g.O);g.w=Ur.prototype;g.w.T8=function(K,R,f,V){K=new q5(K,R,f,V);if(R instanceof a6||R instanceof WO||R instanceof QB||R instanceof BO||R instanceof $4B){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");this.ey.set(R.triggerId,K)}else throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in PrefetchTriggerAdapter\");};\ng.w.kq=function(K){this.ey.delete(K.triggerId)};\ng.w.Op=function(K){var R=K.slotFulfillmentTriggers.find(function(f){return f instanceof a6});\nR&&(WG(this,\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",R.breakDurationMs,new Set([K.slotId]),!0),mN(this.A5.get(),\"ads_css\",\"sid.\"+K.slotId+\";bd.\"+R.breakDurationMs))};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.KL=function(){};\ng.w.jM=function(){};\ng.w.rD=function(){};\ng.w.qT=function(K){var R=this;if(!this.U)return mN(this.A5.get(),\"ads_nfi\",\"a.pta;cid.\"+K.identifier),!1;this.K&&this.K.stop();this.B&&g.eE(this.B);var f=Kzw(this,K);if(!f){var V=sdz(this),D=this.N!==void 0&&Date.now()<=this.N+1E4;mN(this.A5.get(),\"ads_ncfs\",\"cid.\"+K.identifier+\";cd.\"+K.w8.toFixed(3)+\";ccs.\"+D+\";cfa.\"+this.J+\";bdc.\"+V.length+\";\"+V.slice(0,6).map(function(H){return\";bd.\"+H}).join(\"\"));\nreturn D?(D_(this.VY,this.U,K),!0):!1}(V=Oj(f.slot.clientMetadata,\"metadata_type_triggering_cue_point\"))?V.current=K:dH(\"Expected triggering cue point ref to be available\",f.slot);(new g.CW(function(){var H=f.trigger,l=f.slot;WG(R,\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",H.breakDurationMs,new Set,!0);WG(R,\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",H.breakDurationMs,new Set,!1);for(var F=0,c=g.Z(R.ey.values()),r=c.next();!r.done;r=c.next()){r=r.value;var y=r.trigger;\nr.slot.slotId===l.slotId&&(R.ey.delete(y.triggerId),F++)}mN(R.A5.get(),\"ads_csf\",\"sid.\"+l.slotId+\";bd.\"+H.breakDurationMs+\";dt.\"+F)},10)).start();\nreturn!0};\ng.w.WL=function(){};\ng.w.Yh=function(K){var R=this;this.J=!1;this.N=Date.now();if(this.U&&this.U.contentCpn!==K)dH(\"Fetch instructions carried over from previous content video\",void 0,void 0,{contentCpn:K,fetchInstructionsCpn:this.U.contentCpn}),tE(this);else{this.X=new g.CW(function(){if(R.J)delete R.X;else{var V=R.h5.get().getGetAdBreakContext(),D;if(Number(V==null?void 0:(D=V.livePlaybackPosition)==null?void 0:D.utcTimeMillis)>0)delete R.X,eme(R);else{var H;(H=R.X)==null||H.start()}}},200);\nvar f;(f=this.X)==null||f.start()}};\ng.w.zT=function(K){this.U&&this.U.contentCpn!==K&&dH(\"Expected content video of the current fetch instructions to end\",void 0,void 0,{contentCpn:K,fetchInstructionsCpn:this.U.contentCpn},!0);tE(this)};\ng.w.ip=function(K){var R=this;if(this.U)dH(\"Unexpected multiple fetch instructions for the current content\");else{this.U=K;K=fvz(K);this.K=new g.CW(function(){eme(R)},K?K:6E5);\nthis.K.start();this.B=new g.CW(function(){R.U&&(R.K&&(R.K.stop(),R.K.start()),CcG(R,\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\"))},RwB(this.U));\nK=this.h5.get().getCurrentTimeSec(1,!1);for(var f=g.Z(this.TF.get().gA),V=f.next();!V.done;V=f.next())V=V.value,mN(this.A5.get(),\"nocache\",\"ct.\"+Date.now()+\";cmt.\"+K+\";d.\"+V.w8.toFixed(3)+\";tw.\"+(V.startSecs-K)+\";cid.\"+V.identifier+\";\")}};\ng.w.uD=function(){g.O.prototype.uD.call(this);tE(this)};g.x(AE,g.O);g.w=AE.prototype;g.w.T8=function(K,R,f,V){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");if(!(R instanceof jT))throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in TimeRelativeToLayoutEnterTriggerAdapter\");this.ey.set(R.triggerId,new q5(K,R,f,V));K=this.U.has(R.triggeringLayoutId)?this.U.get(R.triggeringLayoutId):new Set;K.add(R);this.U.set(R.triggeringLayoutId,K)};\ng.w.kq=function(K){this.ey.delete(K.triggerId);if(!(K instanceof jT))throw new C(\"Incorrect TriggerType: Tried to unregister trigger of type \"+K.triggerType+\" in TimeRelativeToLayoutEnterTriggerAdapter\");var R=this.K.get(K.triggerId);R&&(R.dispose(),this.K.delete(K.triggerId));if(R=this.U.get(K.triggeringLayoutId))R.delete(K),R.size===0&&this.U.delete(K.triggeringLayoutId)};\ng.w.Op=function(){};\ng.w.o$=function(){};\ng.w.Gr=function(){};\ng.w.t$=function(){};\ng.w.Gh=function(){};\ng.w.fP=function(){};\ng.w.YR=function(){};\ng.w.R$=function(){};\ng.w.gD=function(){};\ng.w.rD=function(){};\ng.w.KL=function(K,R){var f=this;if(this.U.has(R.layoutId)){K=this.U.get(R.layoutId);K=g.Z(K);var V=K.next();for(R={};!V.done;R={O1:void 0},V=K.next())R.O1=V.value,V=new g.CW(function(D){return function(){var H=f.ey.get(D.O1.triggerId);rI(f.X(),[H])}}(R),R.O1.durationMs),V.start(),this.K.set(R.O1.triggerId,V)}};\ng.w.jM=function(){};g.x(JE,g.O);JE.prototype.T8=function(K,R){if(this.ey.has(R.triggerId))throw new C(\"Tried to register duplicate trigger for slot.\");throw new C(\"Incorrect TriggerType: Tried to register trigger of type \"+R.triggerType+\" in VideoTransitionTriggerAdapter.\");};\nJE.prototype.kq=function(K){this.ey.delete(K.triggerId)};kF.prototype.G$=function(K){return K.kind===\"AD_PLACEMENT_KIND_START\"};g.x(nu,g.O);nu.prototype.logEvent=function(K){this.U(K)};\nnu.prototype.U=function(K,R,f,V,D,H,l,F,c,r,y,h){var S=this;h=h===void 0?0:h;JC(this.wU.get(),\"h5_enable_pacf_debug_logs\")&&console.log(\"[PACF]: \"+K,\"slot:\",D,\"layout:\",H,\"ping:\",l,\"Opportunity:\",{opportunityType:R,associatedSlotId:f,w_p:V,BqU:F,adSlotLoggingData:c,adLayoutLoggingData:r});try{var v=function(){if(!S.wU.get().G.C().Y(\"html5_disable_client_tmp_logs\")&&K!==\"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED\"){K||dH(\"Empty PACF event type\",D,H);var L=pf(S.K.get()),E={eventType:K,eventOrder:++S.eventCount},\nQ={};D&&(Q.slotData=bM(L,D));H&&(Q.layoutData=oJh(L,H));l&&(Q.pingData={pingDispatchStatus:\"ADS_CLIENT_PING_DISPATCH_STATUS_SUCCESS\",serializedAdPingMetadata:l.U.serializedAdPingMetadata,pingIndex:l.index});F&&(Q.triggerData=MH(F.trigger,F.category));R&&(Q.opportunityData=SeD(L,R,f,V));L={organicPlaybackContext:{contentCpn:sU(S.Da.get(),1).clientPlaybackNonce}};L.organicPlaybackContext.isLivePlayback=sU(S.Da.get(),1).qY;var J;L.organicPlaybackContext.isMdxPlayback=(J=sU(S.Da.get(),1))==null?void 0:\nJ.isMdxPlayback;var A;if((A=sU(S.Da.get(),1))==null?0:A.daiEnabled)L.organicPlaybackContext.isDaiContent=!0;var B;if(J=(B=sU(S.Da.get(),2))==null?void 0:B.clientPlaybackNonce)L.adVideoPlaybackContext={adVideoCpn:J};L&&(Q.externalContext=L);E.adClientData=Q;c&&(E.serializedSlotAdServingData=c.serializedSlotAdServingDataEntry);r&&(E.serializedAdServingData=r.serializedAdServingDataEntry);y&&(E.errorInfo=y);g.h$(\"adsClientStateChange\",{adsClientEvent:E})}};\nh&&h>0?g.ez(g.R8(),function(){return v()},h):v()}catch(L){JC(this.wU.get(),\"html5_log_pacf_logging_errors\")&&g.ez(g.R8(),function(){dH(L instanceof Error?L:String(L),D,H,{pacf_message:\"exception during pacf logging\"})})}};g.x(ID,nu);ID.prototype.U=function(K,R,f,V,D,H,l,F,c,r,y){var h=this.wU.get();g.cX(h.G.C())?(h=this.wU.get(),h=g.mz(h.G.C().experiments,\"H5_async_logging_delay_ms\")):h=void 0;nu.prototype.U.call(this,K,R,f,V,D,H,l,F,c,r,y,h)};g$.prototype.clear=function(){this.U.clear()};Or.prototype.state=function(){return this.U===\"fulfilled\"?{state:\"fulfilled\",value:this.result}:this.U===\"rejected\"?{state:\"rejected\",reason:this.error}:{state:\"pending\"}};\nOr.prototype.J=function(K){q3(K)||jm(K)?ml(M3(K),this.J.bind(this),this.reject.bind(this)):(this.U=\"fulfilled\",this.result=K,YF(this))};\nOr.prototype.reject=function(K){this.U=\"rejected\";this.error=K;YF(this)};\nvar jm=Xd(function(K){return hlz(K)?K instanceof Or:!1});var em=window.G1Z||\"en\";V0.prototype.kT=function(K){this.client=K};\nV0.prototype.U=function(){this.clear();this.csn=g.wu()};\nV0.prototype.clear=function(){this.X.clear();this.K.clear();this.J.clear();this.csn=null};Hp.prototype.kT=function(K){g.DY(D1().kT).bind(D1())(K)};\nHp.prototype.clear=function(){g.DY(D1().clear).bind(D1())()};g.w=$i.prototype;g.w.kT=function(K){this.client=K};\ng.w.pB=function(K,R){var f=this;R=R===void 0?{}:R;g.DY(function(){var V,D,H,l=((V=g.z(K==null?void 0:K.commandMetadata,g.wA))==null?void 0:V.rootVe)||((D=g.z(K==null?void 0:K.commandMetadata,UB$))==null?void 0:(H=D.screenVisualElement)==null?void 0:H.uiType);if(l){V=g.z(K==null?void 0:K.commandMetadata,Mhi);if(V==null?0:V.parentTrackingParams){var F=g.SV(V.parentTrackingParams);if(V.parentCsn)var c=V.parentCsn}else R.clickedVisualElement?F=R.clickedVisualElement:K.clickTrackingParams&&(F=g.SV(K.clickTrackingParams));\na:{V=g.z(K,g.$s);D=g.z(K,gvS);if(V){if(D=NpN(V,\"VIDEO\")){V={token:D,videoId:V.videoId};break a}}else if(D&&(V=NpN(D,\"PLAYLIST\"))){V={token:V,playlistId:D.playlistId};break a}V=void 0}R=Object.assign({},{cttAuthInfo:V,parentCsn:c},R);if(g.No(\"expectation_logging\")){var r;R.loggingExpectations=((r=g.z(K==null?void 0:K.commandMetadata,UB$))==null?void 0:r.loggingExpectations)||void 0}dj(f,l,F,R)}else g.A$(new g.NB(\"Error: Trying to create a new screen without a rootVeType\",K))})()};\ng.w.clickCommand=function(K,R,f){K=K.clickTrackingParams;f=f===void 0?0:f;K?(f=g.wu(f===void 0?0:f))?(Yt(this.client,f,g.SV(K),R),R=!0):R=!1:R=!1;return R};\ng.w.stateChanged=function(K,R,f){this.visualElementStateChanged(g.SV(K),R,f===void 0?0:f)};\ng.w.visualElementStateChanged=function(K,R,f){f=f===void 0?0:f;f===0&&this.K.has(f)?this.Z.push([K,R]):BpB(this,K,R,f)};y0.prototype.fetch=function(K,R,f){var V=this,D=Tp2(K,R,f);return new Promise(function(H,l){function F(){if(f==null?0:f.n_)try{var r=V.handleResponse(K,D.status,D.response,f);H(r)}catch(y){l(y)}else H(V.handleResponse(K,D.status,D.response,f))}\nD.onerror=F;D.onload=F;var c;D.send((c=R.body)!=null?c:null)})};\ny0.prototype.handleResponse=function(K,R,f,V){f=f.replace(\")]}'\",\"\");try{var D=JSON.parse(f)}catch(H){g.A$(new g.NB(\"JSON parsing failed after XHR fetch\",K,R,f));if((V==null?0:V.n_)&&f)throw new g.M4(1,\"JSON parsing failed after XHR fetch\");D={}}R!==200&&(g.A$(new g.NB(\"XHR API fetch failed\",K,R,f)),D=Object.assign({},D,{errorMetadata:{status:R}}));return D};hG.getInstance=function(){var K=g.t_(\"ytglobal.storage_\");K||(K=new hG,g.WT(\"ytglobal.storage_\",K));return K};\nhG.prototype.estimate=function(){var K,R,f;return g.I(function(V){K=navigator;return((R=K.storage)==null?0:R.estimate)?V.return(K.storage.estimate()):((f=K.webkitTemporaryStorage)==null?0:f.queryUsageAndQuota)?V.return(PMN()):V.return()})};\ng.WT(\"ytglobal.storageClass_\",hG);o0.prototype.wi=function(K){this.handleError(K)};\no0.prototype.logEvent=function(K,R){switch(K){case \"IDB_DATA_CORRUPTED\":g.No(\"idb_data_corrupted_killswitch\")||this.U(\"idbDataCorrupted\",R);break;case \"IDB_UNEXPECTEDLY_CLOSED\":this.U(\"idbUnexpectedlyClosed\",R);break;case \"IS_SUPPORTED_COMPLETED\":g.No(\"idb_is_supported_completed_killswitch\")||this.U(\"idbIsSupportedCompleted\",R);break;case \"QUOTA_EXCEEDED\":jRc(this,R);break;case \"TRANSACTION_ENDED\":this.X&&Math.random()<=.1&&this.U(\"idbTransactionEnded\",R);break;case \"TRANSACTION_UNEXPECTEDLY_ABORTED\":K=\nObject.assign({},R,{hasWindowUnloaded:this.K}),this.U(\"idbTransactionAborted\",K)}};var pj={},$ao=g.Rp(\"yt-player-local-media\",{G1:(pj.index={dR:2},pj.media={dR:2},pj.captions={dR:5},pj),shared:!1,upgrade:function(K,R){R(2)&&(g.te(K,\"index\"),g.te(K,\"media\"));R(5)&&g.te(K,\"captions\");R(6)&&(Ae(K,\"metadata\"),Ae(K,\"playerdata\"))},\nversion:5});var VcB={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,\"ice cream sandwich\":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},Yk;a:{var mv=g.DP();mv=mv.toLowerCase();if(g.ec(mv,\"android\")){var Ddu=mv.match(/android\\s*(\\d+(\\.\\d+)?)[^;|)]*[;)]/);if(Ddu){var HaE=parseFloat(Ddu[1]);if(HaE<100){Yk=HaE;break a}}var $dV=mv.match(\"(\"+Object.keys(VcB).join(\"|\")+\")\");Yk=$dV?VcB[$dV[0]]:0}else Yk=void 0}var I4=Yk,n5=I4>=0;var qjG={clientName:\"UNKNOWN_INTERFACE\",clientVersion:\"unknown\",clientTheme:\"UNKNOWN_THEME\",clientLanguage:\"en\",clientLocation:\"US\",clientLabel:\"\",cssPrefix:\"\",hasDisplay:!0,webpSupport:!1,forcedExperiments:\"\",requestVideoQuality:\"\",forceAdsUrl:\"\",forceHomeAdsUrl:\"\",internalExperimentFlags:[],oAuthClientProfiles:{},payments:{url:\"https://payments.youtube.com\"},xsrfToken:\"\",creditsUrl:\"\",startTime:0,authConfig:{accessTokenDiscountedExpirationMinutes:5,accessTokenServerExpirationMinutes:5,backgroundRefreshMinRemainingTokenTimeSec:0,\ndefaultPlayerAccessTokenExpirationMs:-1,accountManagerTokenRefreshRetryDelayMs:0,accountManagerTokenRefreshMaxDelayMs:0,enableBackgroundTokenRefresh:!1,enableBackgroundTokenRefreshOauthCallback:!1,enableAuthenticationFailClosed:!1,enableAccountManagerAccountPropagation:!1,supexSignOutDisabled:!1,enableSwitchAccountsButton:!1,enableTectonicPlayerOauthCallback:!1,enableOAuthCredShare:!1},settings:{defaultValues:new Map([[\"AUTONAV\",!0],[\"AUTONAV_KIDS\",!1],[\"ENABLE_SOUND\",!0],[\"ENABLE_PREVIEWS_WITH_SOUND\",\n!0],[\"MDX_AUTOPLAY_ENABLED\",!0],[\"SAFETY_MODE\",!1],[\"HOME_ENABLE_PERSONAL_RESULTS\",!0],[\"PRE_APP_USER_SETTING_FOR_LIVING_ROOM\",!0]])}};var bf_=ma(function(){var K,R;return(R=(K=window).matchMedia)==null?void 0:R.call(K,\"(prefers-reduced-motion: reduce)\").matches});var vp;g.S4=new cs;vp=0;var e7=CM_()?!0:typeof window.fetch===\"function\"&&window.ReadableStream&&window.AbortController&&!g.Gr?!0:!1;var DD={Kb:function(K,R){K[d[25]](0,R)},\nOQ:function(K,R){var f=K[0];K[0]=K[R%K[d[3]]];K[R%K[d[3]]]=f},\naE:function(K){K[d[4]]()}};var Zye={aqW:\"adunit\",d4t:\"detailpage\",STU:\"editpage\",cxp:\"embedded\",TRQ:\"leanback\",lg2:\"previewpage\",OM0:\"profilepage\",Lm:\"unplugged\",LoZ:\"playlistoverview\",Wu5:\"sponsorshipsoffer\",lo0:\"shortspage\",D$U:\"handlesclaiming\",nVU:\"immersivelivepage\",D45:\"creatormusic\",vVW:\"immersivelivepreviewpage\",z$Z:\"admintoolyurt\",CQY:\"shortsaudiopivot\",G8t:\"consumption\",nhr:\"background_audio_playback\"};var ewB=2592E3;var GD,lLp,Lq;GD={};g.UC=(GD.STOP_EVENT_PROPAGATION=\"html5-stop-propagation\",GD.IV_DRAWER_ENABLED=\"ytp-iv-drawer-enabled\",GD.IV_DRAWER_OPEN=\"ytp-iv-drawer-open\",GD.MAIN_VIDEO=\"html5-main-video\",GD.VIDEO_CONTAINER=\"html5-video-container\",GD.VIDEO_CONTAINER_TRANSITIONING=\"html5-video-container-transitioning\",GD.HOUSE_BRAND=\"house-brand\",GD);lLp={};Lq=(lLp.RIGHT_CONTROLS_LEFT=\"ytp-right-controls-left\",lLp.RIGHT_CONTROLS_RIGHT=\"ytp-right-controls-right\",lLp);var cCe={allowed:\"AUTOPLAY_BROWSER_POLICY_ALLOWED\",\"allowed-muted\":\"AUTOPLAY_BROWSER_POLICY_ALLOWED_MUTED\",disallowed:\"AUTOPLAY_BROWSER_POLICY_DISALLOWED\"};var oh2={ANDROID:3,ANDROID_KIDS:18,ANDROID_MUSIC:21,ANDROID_UNPLUGGED:29,WEB:1,WEB_REMIX:67,WEB_UNPLUGGED:41,IOS:5,IOS_KIDS:19,IOS_MUSIC:26,IOS_UNPLUGGED:33},SKw={android:\"ANDROID\",\"android.k\":\"ANDROID_KIDS\",\"android.m\":\"ANDROID_MUSIC\",\"android.up\":\"ANDROID_UNPLUGGED\",youtube:\"WEB\",\"youtube.m\":\"WEB_REMIX\",\"youtube.up\":\"WEB_UNPLUGGED\",ytios:\"IOS\",\"ytios.k\":\"IOS_KIDS\",\"ytios.m\":\"IOS_MUSIC\",\"ytios.up\":\"IOS_UNPLUGGED\"},$ye={\"mdx-pair\":1,\"mdx-dial\":2,\"mdx-cast\":3,\"mdx-voice\":4,\"mdx-inappdial\":5};var UaG={DISABLED:1,ENABLED:2,PAUSED:3,1:\"DISABLED\",2:\"ENABLED\",3:\"PAUSED\"};g.wo[d[30]][d[13]]=function(K,R){this[d[21]][K]!==R&&(this[d[21]][K]=R,this[d[26]]=d[24])};\ng.wo[d[30]][d[33]]=function(K){ro(5,this);return this[d[21]][K]||null};\ng.wo[d[30]][d[1]]=function(){this[d[26]]||(this[d[26]]=nB(1,this));return this[d[26]]};\ng.wo[d[30]][d[19]]=function(){var K=new g.wo(this[d[11]],this[d[12]]);K[d[14]]=this[d[14]];K[d[2]]=this[d[2]];K[d[8]]=this[d[8]];K[d[21]]=g.kn(this[d[21]]);K[d[26]]=this[d[26]];return K};\nvar Kew=[AS_];g.AG.prototype.getLanguageInfo=function(){return this.tV};\ng.AG.prototype.getXtags=function(){if(!this.xtags){var K=this.id.split(\";\");K.length>1&&(this.xtags=K[1])}return this.xtags};\ng.AG.prototype.toString=function(){return this.tV.name};\ng.AG.prototype.isAutoDubbed=function(){return this.tV.getIsAutoDubbed()};\ng.AG.prototype.getLanguageInfo=g.AG.prototype.getLanguageInfo;g.AG.prototype.isAutoDubbed=g.AG.prototype.isAutoDubbed;JG.prototype.equals=function(K){return this.K===K.K&&this.U===K.U&&this.X===K.X&&this.reason===K.reason&&(!Bp||this.c5===K.c5)};\nJG.prototype.isLocked=function(){return this.X&&!!this.K&&this.K===this.U};\nJG.prototype.compose=function(K){if(K.X&&XA(K))return Cc;if(K.X||XA(this))return K;if(this.X||XA(K))return this;var R=this.K&&K.K?Math.max(this.K,K.K):this.K||K.K,f=this.U&&K.U?Math.min(this.U,K.U):this.U||K.U;R=Math.min(R,f);var V=0;Bp&&(V=this.c5!==0&&K.c5!==0?Math.min(this.c5,K.c5):this.c5===0?K.c5:this.c5);return Bp&&R===this.K&&f===this.U&&V===this.c5||!Bp&&R===this.K&&f===this.U?this:Bp?new JG(R,f,!1,f===this.U&&V===this.c5?this.reason:K.reason,V):new JG(R,f,!1,f===this.U?this.reason:K.reason)};\nJG.prototype.J=function(K){return!K.video||Bp&&this.c5!==0&&this.c5=0};\ng.w.W8=function(){var K=this.segments[this.segments.length-1];return K?K.endTime:NaN};\ng.w.Zk=function(){return this.segments[0].startTime};\ng.w.g7=function(){return this.segments.length};\ng.w.ZS=function(){return 0};\ng.w.FL=function(K){return(K=this.x_(K))?K.t5:-1};\ng.w.TQ=function(K){return(K=this.Py(K))?K.sourceURL:\"\"};\ng.w.getStartTime=function(K){return(K=this.Py(K))?K.startTime:0};\ng.w.qt=function(K){return this.getStartTime(K)+this.getDuration(K)};\ng.w.jh=go(3);g.w.isLoaded=function(){return this.segments.length>0};\ng.w.Py=function(K){if(this.U&&this.U.t5===K)return this.U;K=g.hh(this.segments,new Gn(K,0,0,0,\"\"),function(R,f){return R.t5-f.t5});\nreturn this.U=K>=0?this.segments[K]:null};\ng.w.x_=function(K){if(this.U&&this.U.startTime<=K&&K=0?this.segments[K]:this.segments[Math.max(0,-K-2)]};\ng.w.append=function(K){if(K.length)if(K=g.$n(K),this.segments.length){var R=this.segments.length?g.p8(this.segments).endTime:0,f=K[0].t5-this.H0();f>1&&pco(this.segments);for(f=f>0?0:-f+1;fK.t5&&this.index.Wy()<=K.t5+1};\ng.w.update=function(K,R,f){this.index.append(K);nhh(this.index,f);K=this.index;K.K=R;K.X=\"update\"};\ng.w.Rm=function(){return this.O8()?!0:b2.prototype.Rm.call(this)};\ng.w.BZ=function(K,R){var f=this.index.TQ(K),V=this.index.getStartTime(K),D=this.index.getDuration(K),H;R?D=H=0:H=this.info.c5>0?this.info.c5*D:1E3;return new D9([new sf(3,this,void 0,\"liveCreateRequestInfoForSegment\",K,V,D,0,H,!R)],f)};\ng.w.oh=function(){return this.O8()?0:this.initRange.length};\ng.w.vv=function(){return!1};rl.prototype.update=function(K){var R=void 0;this.K&&(R=this.K);var f=new rl,V=Array.from(K.getElementsByTagName(\"S\"));if(V.length){var D=+FI(K,\"timescale\")||1,H=(+V[0].getAttribute(\"t\")||0)/D,l=+FI(K,\"startNumber\")||0;f.J=H;var F=R?R.startSecs+R.w8:0,c=Date.parse(BUo(FI(K,\"yt:segmentIngestTime\")))/1E3;f.B=K.parentElement.tagName===\"SegmentTemplate\";f.B&&(f.N=FI(K,\"media\"));K=R?l-R.t5:1;f.T=K>0?0:-K+1;K=g.Z(V);for(V=K.next();!V.done;V=K.next()){V=V.value;for(var r=+V.getAttribute(\"d\")/D,y=(+V.getAttribute(\"yt:sid\")||\n0)/D,h=+V.getAttribute(\"r\")||0,S=0;S<=h;S++)if(R&&l<=R.t5)l++;else{var v=new JDh(l,F,r,c+y,H);f.U.push(v);var L=V;var E=D,Q=v.startSecs;v=L.getAttribute(\"yt:cuepointTimeOffset\");var J=L.getAttribute(\"yt:cuepointDuration\");if(v&&J){v=Number(v);Q=-v/E+Q;E=Number(J)/E;J=L.getAttribute(\"yt:cuepointContext\")||null;var A=L.getAttribute(\"yt:cuepointIdentifier\")||\"\";L=L.getAttribute(\"yt:cuepointEvent\")||\"\";L=new HF(Q,E,J,A,F1S[L]||\"unknown\",v)}else L=null;L&&f.X.push(L);l++;F+=r;H+=r;c+=r+y}}f.U.length&&\n(f.K=g.p8(f.U))}this.T=f.T;this.K=f.K||this.K;g.lT(this.U,f.U);g.lT(this.X,f.X);this.B=f.B;this.N=f.N;this.J===-1&&(this.J=f.getStreamTimeOffset())};\nrl.prototype.getStreamTimeOffset=function(){return this.J===-1?0:this.J};g.x(hS,g.uf);g.w=hS.prototype;g.w.x5=function(){return this.Vf};\ng.w.KM=function(K,R){K=o5(this,K);return K>=0&&(R||!this.segments[K].pending)};\ng.w.Wy=function(){return this.Lp?this.segments.length?this.x_(this.Zk()).t5:-1:g.uf.prototype.Wy.call(this)};\ng.w.Zk=function(){if(this.V9)return 0;if(!this.Lp)return g.uf.prototype.Zk.call(this);if(!this.segments.length)return 0;var K=Math.max(g.p8(this.segments).endTime-this.P8,0);return this.UO>0&&this.x_(K).t50)return this.vX/1E3;if(!this.segments.length)return g.uf.prototype.W8.call(this);var K=this.H0();if(!this.Lp||K<=this.segments[this.segments.length-1].t5)K=this.segments[this.segments.length-1];else{var R=this.segments[this.segments.length-1];K=new Gn(K,Math.max(0,R.startTime-(R.t5-K)*this.Vf),this.Vf,0,\"sq/\"+K,void 0,void 0,!0)}return this.V9?Math.min(this.P8,K.endTime):K.endTime};\ng.w.g7=function(){return this.Lp?this.segments.length?this.H0()-this.Wy()+1:0:g.uf.prototype.g7.call(this)};\ng.w.H0=function(){var K=Math.min(this.cU,Math.max(g.uf.prototype.H0.call(this),this.fW)),R=this.P8*1E3;R=this.vX>0&&this.vX0&&this.fW>0&&!R&&(R=this.x_(this.P8))&&(K=Math.min(R.t5-1,K));return K};\ng.w.P_=function(){return this.segments.length?this.segments[this.segments.length-1]:null};\ng.w.w6=function(K){var R=o5(this,K.t5);if(R>=0)this.segments[R]=K;else if(this.segments.splice(-(R+1),0,K),this.iU&&K.t5%(300/this.Vf)===0){var f=this.segments[0].t5,V=Math.floor(this.iU/this.Vf);K=K.t5-V;R=-(R+1)-V;R>0&&K>f&&(this.segments=this.segments.slice(R))}};\ng.w.Td=function(){return this.fW};\ng.w.GW=function(K){return yq?!this.K&&K>=0&&this.H0()<=K:g.uf.prototype.GW.call(this,K)};\ng.w.x_=function(K){if(!this.Lp)return g.uf.prototype.x_.call(this,K);if(!this.segments.length)return null;var R=this.segments[this.segments.length-1];if(K=R.endTime)R=R.t5+Math.floor((K-R.endTime)/this.Vf+1);else{R=oK(this.segments,function(V){return K=V.endTime?1:0});\nif(R>=0)return this.segments[R];var f=-(R+1);R=this.segments[f-1];f=this.segments[f];R=Math.floor((K-R.endTime)/((f.startTime-R.endTime)/(f.t5-R.t5-1))+1)+R.t5}return this.Py(R)};\ng.w.Py=function(K){if(!this.Lp)return g.uf.prototype.Py.call(this,K);if(!this.segments.length)return null;var R=o5(this,K);if(R>=0)return this.segments[R];var f=-(R+1);R=this.Vf;if(f===0)var V=Math.max(0,this.segments[0].startTime-(this.segments[0].t5-K)*R);else f===this.segments.length?(V=this.segments[this.segments.length-1],V=V.endTime+(K-V.t5-1)*R):(V=this.segments[f-1],R=this.segments[f],R=(R.startTime-V.endTime)/(R.t5-V.t5-1),V=V.endTime+(K-V.t5-1)*R);return new Gn(K,V,R,0,\"sq/\"+K,void 0,void 0,\n!0)};\nvar yq=!1;g.x(S9,dl);g.w=S9.prototype;g.w.LI=function(){return!0};\ng.w.Rm=function(){return!0};\ng.w.Vd=function(K){return this.Ij()&&K.K&&!K.X||!K.RY.index.GW(K.t5)};\ng.w.nZ=function(){};\ng.w.QC=function(K,R){return typeof K!==\"number\"||isFinite(K)?dl.prototype.QC.call(this,K,R===void 0?!1:R):new D9([new sf(3,this,void 0,\"mlLiveGetReqInfoStubForTime\",-1,void 0,this.CF,void 0,this.CF*this.info.c5)],\"\")};\ng.w.BZ=function(K,R){var f=f===void 0?!1:f;if(this.index.KM(K))return dl.prototype.BZ.call(this,K,R);var V=this.index.getStartTime(K),D=Math.round(this.CF*this.info.c5),H=this.CF;R&&(H=D=0);return new D9([new sf(f?6:3,this,void 0,\"mlLiveCreateReqInfoForSeg\",K,V,H,void 0,D,!R)],K>=0?\"sq/\"+K:\"\")};g.x(il,b2);g.w=il.prototype;g.w.WX=function(){return!1};\ng.w.Ij=function(){return!1};\ng.w.LI=function(){return!1};\ng.w.nZ=function(){return new D9([new sf(1,this,void 0,\"otfInit\")],this.B)};\ng.w.ub=function(){return null};\ng.w.p5=function(K){this.Vd(K);return ObD(this,R5(K),!1)};\ng.w.QC=function(K,R){R=R===void 0?!1:R;K=this.index.FL(K);R&&(K=Math.min(this.index.H0(),K+1));return ObD(this,K,!0)};\ng.w.Ej=function(K){K.info.type===1&&(this.U||(this.U=yw(K.K)),K.U&&K.U.uri===\"http://youtube.com/streaming/otf/durations/112015\"&&jgG(this,K.U))};\ng.w.Vd=function(K){return K.K===0?!0:this.index.H0()>K.t5&&this.index.Wy()<=K.t5+1};\ng.w.oh=function(){return 0};\ng.w.vv=function(){return!1};var bbc=new Map,m9_=new Map,p6M=new function(){var K=this;this.U=new Map;this.OC={k95:function(){return K.U}}};g.w=g.Uy.prototype;g.w.KM=function(K){return K<=this.H0()};\ng.w.ZS=function(K){return this.offsets[K]};\ng.w.getStartTime=function(K){return this.startTicks[K]/this.U};\ng.w.qt=function(K){return this.getStartTime(K)+this.getDuration(K)};\ng.w.jh=go(2);g.w.IC=function(){return NaN};\ng.w.getDuration=function(K){K=this.Fv(K);return K>=0?K/this.U:-1};\ng.w.Fv=function(K){return K+1=0};\ng.w.W8=function(){return this.K?this.startTicks[this.count]/this.U:NaN};\ng.w.Zk=function(){return 0};\ng.w.g7=function(){return this.count};\ng.w.TQ=function(){return\"\"};\ng.w.FL=function(K){K=g.hh(this.startTicks.subarray(0,this.count),K*this.U);return K>=0?K:Math.max(0,-K-2)};\ng.w.isLoaded=function(){return this.H0()>=0};\ng.w.Ek=function(K,R){if(K>=this.H0())return 0;var f=0;for(R=this.getStartTime(K)+R;Kthis.getStartTime(K);K++)f=Math.max(f,fuv(this,K)/this.getDuration(K));return f};\ng.w.resize=function(K){K+=2;var R=this.offsets;this.offsets=new Float64Array(K+1);var f=this.startTicks;this.startTicks=new Float64Array(K+1);for(K=0;K0&&K&&(f=f.range.end+1,K=Math.min(K,this.info.contentLength-f),K>0&&V.push(new sf(4,this,GK(f,K),\"tbdRange\",void 0,void 0,void 0,void 0,void 0,void 0,void 0,R)));return new D9(V)};\ng.w.Ej=function(K){if(K.info.type===1){if(this.U)return;this.U=yw(K.K)}else if(K.info.type===2){if(this.B||this.index.H0()>=0)return;if(g.BM(this.info)){var R=this.index,f=g.z5(K);K=K.info.range.start;var V=g.F0(f,0,1936286840);f=sMv(V);R.U=f.timescale;var D=f.QK;R.offsets[0]=f.lj+K+V.size;R.startTicks[0]=D;R.K=!0;K=f.fb.length;for(V=0;V0&&K===H[0].Mg)for(K=0;K=R+f)break}D.length||(K=new g.NB(\"b189619593\",\"\"+K,\"\"+R,\"\"+f),g.WR(K));return new D9(D)};\ng.w.fN=function(K){for(var R=this.kF(K.info),f=K.info.range.start+K.info.U,V=[],D=0;D=this.index.ZS(f+1);)f++;return this.ZC(f,R,K.K).xW};\ng.w.Vd=function(K){K.AN();return this.Rm()?!0:K.range.end+1this.info.contentLength&&(R=new Yq(R.start,this.info.contentLength-1)),new D9([new sf(4,K.RY,R,\"getNextRequestInfoByLength\",void 0,void 0,void 0,void 0,void 0,void 0,void 0,K.clipId)]);K.type===4&&(K=this.kF(K),K=K[K.length-1]);var f=0,V=K.range.start+K.U+K.K;K.type===3&&(K.AN(),f=K.t5,V===K.range.end+1&&(f+=1));return this.ZC(f,V,R)};\ng.w.p5=function(){return null};\ng.w.QC=function(K,R){R=R===void 0?!1:R;K=this.index.FL(K);R&&(K=Math.min(this.index.H0(),K+1));return this.ZC(K,this.index.ZS(K),0,void 0)};\ng.w.WX=function(){return!0};\ng.w.Ij=function(){return!0};\ng.w.LI=function(){return!1};\ng.w.oh=function(){return this.indexRange.length+this.initRange.length};\ng.w.vv=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var sV={},LIw=(sV.COLOR_PRIMARIES_BT709=\"bt709\",sV.COLOR_PRIMARIES_BT2020=\"bt2020\",sV.COLOR_PRIMARIES_UNKNOWN=null,sV.COLOR_PRIMARIES_UNSPECIFIED=null,sV),Cj={},Drc=(Cj.COLOR_TRANSFER_CHARACTERISTICS_BT709=\"bt709\",Cj.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10=\"bt2020\",Cj.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084=\"smpte2084\",Cj.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67=\"arib-std-b67\",Cj.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,Cj.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,Cj);g.w=g.AS.prototype;g.w.getName=function(){return this.name};\ng.w.getId=function(){return this.id};\ng.w.getIsDefault=function(){return this.isDefault};\ng.w.getIsAutoDubbed=function(){return this.isAutoDubbed};\ng.w.toString=function(){return this.name};\ng.AS.prototype.getName=g.AS.prototype.getName;g.AS.prototype.getId=g.AS.prototype.getId;g.AS.prototype.getIsDefault=g.AS.prototype.getIsDefault;g.AS.prototype.getIsAutoDubbed=g.AS.prototype.getIsAutoDubbed;var drM=/action_display_post/;var FID,Bf,XI;g.x(ka,g.VQ);g.w=ka.prototype;g.w.isLoading=function(){return this.state===1};\ng.w.Fp=function(){return this.state===3};\ng.w.SOW=function(K){var R=K.getElementsByTagName(\"Representation\");if(K.getElementsByTagName(\"SegmentList\").length>0||K.getElementsByTagName(\"SegmentTemplate\").length>0){this.qY=this.K=!0;this.N||(this.N=new kl2);ItB(this.N,K);this.publish(\"refresh\");for(K=0;K=0?y=mC(S):h=h+\"?range=\"+S}c.call(F,new Gn(r.t5,r.startSecs,r.w8,r.U,h,y,r.K))}V=D}f.update(V,this.isLive,this.oY)}gp5(this.N);return!0}this.duration=ZbG(FI(K,\"mediaPresentationDuration\"));a:{for(K=\n0;K0))return this.xY()-K}}K=this.U;for(var R in K){var f=K[R].index;if(f.isLoaded()&&!Ov(K[R].info.mimeType))return f.Zk()}return 0};\ng.w.getStreamTimeOffset=function(){return this.Z};\ng.w.IC=function(K){for(var R in this.U){var f=this.U[R].index;if(f.isLoaded()){var V=f.FL(K),D=f.IC(V);if(D)return D+K-f.getStartTime(V)}}return NaN};\nvar G5=null,ch_,ul=!((ch_=navigator.mediaCapabilities)==null||!ch_.decodingInfo),Nev={commentary:1,alternate:2,dub:3,main:4};var $5=new Set,sy=new Map;K5.prototype.clone=function(K){return new K5(this.flavor,K,this.K,this.experiments)};\nK5.prototype.PK=function(){return{flavor:this.flavor,keySystem:this.keySystem}};\nK5.prototype.getInfo=function(){switch(this.keySystem){case \"com.youtube.playready\":return\"PRY\";case \"com.microsoft.playready\":return\"PRM\";case \"com.widevine.alpha\":return\"WVA\";case \"com.youtube.widevine.l3\":return\"WVY\";case \"com.youtube.fairplay\":return\"FPY\";case \"com.youtube.fairplay.sbdl\":return\"FPC\";case \"com.apple.fps.1_0\":return\"FPA\";default:return this.keySystem}};\nvar rhi={},cg=(rhi.playready=[\"com.youtube.playready\",\"com.microsoft.playready\"],rhi.widevine=[\"com.youtube.widevine.l3\",\"com.widevine.alpha\"],rhi),eU={},hSD=(eU.widevine=\"DRM_SYSTEM_WIDEVINE\",eU.fairplay=\"DRM_SYSTEM_FAIRPLAY\",eU.playready=\"DRM_SYSTEM_PLAYREADY\",eU),Km={},yh_=(Km.widevine=1,Km.fairplay=2,Km.playready=3,Km);var h1;g.x(rV,g.O);\nrV.prototype.initialize=function(K,R){for(var f=this,V=g.Z(Object.keys(K)),D=V.next();!D.done;D=V.next()){D=g.Z(K[D.value]);for(var H=D.next();!H.done;H=D.next())if(H=H.value,H.g8)for(var l=g.Z(Object.keys(H.g8)),F=l.next();!F.done;F=l.next()){var c=F.value;F=c;c=cg[c];!c&&this.Y(\"html5_enable_vp9_fairplay\")&&F===\"fairplay\"&&(c=[\"com.youtube.fairplay.sbdl\"]);if(c){c=g.Z(c);for(var r=c.next();!r.done;r=c.next())r=r.value,this.X[r]=this.X[r]||new K5(F,r,H.g8[F],this.gU.experiments),this.U[F]=this.U[F]||\n{},this.U[F][H.mimeType]=!0}}}s$()&&(this.X[\"com.youtube.fairplay\"]=new K5(\"fairplay\",\"com.youtube.fairplay\",\"\",this.gU.experiments),this.Y(\"html5_enable_vp9_fairplay\")||(this.U.fairplay=this.U.fairplay||{},this.U.fairplay['video/mp4; codecs=\"avc1.4d400b\"']=!0,this.U.fairplay['audio/mp4; codecs=\"mp4a.40.5\"']=!0));this.K=Iuw(R,this.useCobaltWidevine,this.Y(\"html5_enable_safari_fairplay\")&&!0,this.Y(\"html5_enable_vp9_fairplay\")).filter(function(y){return!!f.X[y]})};\nrV.prototype.Y=function(K){return this.gU.experiments.rU(K)};var h_E={\"\":\"LIVE_STREAM_MODE_UNKNOWN\",dvr:\"LIVE_STREAM_MODE_DVR\",lp:\"LIVE_STREAM_MODE_LP\",post:\"LIVE_STREAM_MODE_POST\",window:\"LIVE_STREAM_MODE_WINDOW\",live:\"LIVE_STREAM_MODE_LIVE\"};var Xqv={RED:\"red\",qPe:\"white\"};SA.prototype.aG=function(K){if(K.Ra!==3)throw Error(\"WpccFlagRetriever only supports WPCC flags\");return mrN(this,K)};\nSA.prototype.rU=function(K){return this.flags.get(\"\"+K)===\"true\"};iK.prototype.ph=function(){return this.X};\niK.prototype.lK=function(){return this.K};\niK.prototype.rU=function(K){K=this.aG(K);JSON.stringify(K);return K===\"true\"};\niK.prototype.aG=function(K){return this.flags[K]};var s25=Promise.resolve(),RFM=window.queueMicrotask?window.queueMicrotask.bind(window):CA2;L5.prototype.canPlayType=function(K,R){K=K.canPlayType?K.canPlayType(R):!1;pP?K=K||onW[R]:I4===2.2?K=K||Sh8[R]:Gs()&&(K=K||iaW[R]);return!!K};\nL5.prototype.isTypeSupported=function(K){return this.EF?window.cast.receiver.platform.canDisplayType(K):HM(K)};\nvar Sh8={'video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"':\"maybe\"},iaW={\"application/x-mpegURL\":\"maybe\"},onW={\"application/x-mpegURL\":\"maybe\"};g.x(xN,g.VQ);xN.prototype.add=function(K,R){if(!this.items[K]&&(R.RA||R.gh||R.GC)){var f=this.items,V=R;Object.isFrozen&&!Object.isFrozen(R)&&(V=Object.create(R),Object.freeze(V));f[K]=V;this.publish(\"vast_info_card_add\",K)}};\nxN.prototype.remove=function(K){var R=this.get(K);delete this.items[K];return R};\nxN.prototype.get=function(K){return this.items[K]||null};\nxN.prototype.isEmpty=function(){return g.ZL(this.items)};Ec.prototype.encrypt=function(K){this.U.exports.AES128CTRCipher_encrypt(this.cipher,K.byteOffset,K.byteLength);return K};\nEc.prototype.mZ=function(){return this.cipher===0};\nEc.prototype.dispose=function(){this.U.exports.AES128CTRCipher_release(this.cipher);this.cipher=0};QF.prototype.QP=function(K,R){R=R===void 0?1:R;this.m6+=R;this.K+=K;K/=R;for(var f=0;f0)V+=\".\"+a4[D].toFixed(0)+\"_\"+f.U[D].toFixed(0);else break;f=V}f&&(K[R]=f)}this.U=new Hyh;return K};\ng.w.toString=function(){return\"\"};g.w=rL5.prototype;g.w.isActive=function(){return!1};\ng.w.IU=function(){};\ng.w.cn=function(){};\ng.w.SX=function(){};\ng.w.Vn=function(K,R){R()};\ng.w.Df=function(){return{}};\ng.w.toString=function(){return\"\"};var vni=new rL5,L1$=!!+R9(\"html5_enable_profiler\"),wyp=!!+R9(\"html5_onesie_enable_profiler\"),Rc=L1$||wyp?new lnB:vni,cwc=L1$?Rc:vni,Uc=wyp?Rc:vni;LNw.prototype.emscripten_notify_memory_growth=function(){};g.w=Nl.prototype;g.w.malloc=function(K){return this.exports.malloc(K)};\ng.w.free=function(K){this.exports.free(K)};\ng.w.realloc=function(K,R){return this.exports.realloc(K,R)};\ng.w.Tn=function(K){if(K.buffer!==this.exports.memory.buffer){var R=this.malloc(K.byteLength);R=new Uint8Array(this.exports.memory.buffer,R,K.byteLength);R.set(K);return R}};\ng.w.U3=function(K){if(K.buffer===this.exports.memory.buffer){var R=K.slice();this.free(K.byteOffset);return R}};\nvar SGD=new function(){this.U=\"WebAssembly\"in window},Wg=\"WebAssembly\"in window&&(\"instantiateStreaming\"in window.WebAssembly||\"instantiate\"in window.WebAssembly);\nUc.IU(Nl,{Tn:function(K){return{profile:\"copyj2w\",m6:K===void 0?0:Math.ceil(K.byteLength/16)}},\nU3:function(K){return{profile:\"copyw2j\",m6:K===void 0?0:Math.ceil(K.byteLength/16)}}});t1.prototype.encrypt=function(K,R){try{return this.U.U3(EWc(this,K,R))}catch(f){g.A$(Error(\"ocwce: wasm encrypt failed: \"+f))}};\nt1.prototype.mZ=function(){return this.X};\nt1.prototype.dispose=function(){this.mZ()||(g.v5(this.K),this.U.free(this.J.byteOffset),this.X=!0)};g.x(anB,g.O);g.x(NvD,g.O);g.x(WNh,g.O);var BvB=\"blogger discover-ads ads-preview ads-fe gac books docs duo flix google-live google-one play play-ads shopping chat hangouts-meet photos-edu picasaweb gmail jamboard\".split(\" \"),Inw={DD5:\"caoe\",NkZ:\"capsv\",p1e:\"cbrand\",zE2:\"cbr\",b4Q:\"cbrver\",gq5:\"cchip\",M2Z:\"ccappver\",qTZ:\"ccrv\",VOU:\"cfrmver\",WlQ:\"c\",zY5:\"cver\",pXU:\"ctheme\",cQt:\"cplayer\",ipU:\"cmodel\",VJ:\"cnetwork\",emZ:\"cos\",OS_VERSION:\"cosver\",D7e:\"cplatform\",m_5:\"crqyear\"};g.x(G9,g.O);g.w=G9.prototype;g.w.Y=function(K){return this.experiments.rU(K)};\ng.w.ph=function(){return this.experiments.ph()};\ng.w.lK=function(){return this.experiments.lK()};\ng.w.getWebPlayerContextConfig=function(){return this.webPlayerContextConfig};\ng.w.getVideoUrl=function(K,R,f,V,D,H,l){R={list:R};f&&(D?R.time_continue=f:R.t=f);f=l?\"music.youtube.com\":g.sc(this);D=f===\"www.youtube.com\";!H&&V&&D?H=\"https://youtu.be/\"+K:g.jA(this)?(H=\"https://\"+f+\"/fire\",R.v=K):(H&&D?(H=this.protocol+\"://\"+f+\"/shorts/\"+K,V&&(R.feature=\"share\")):(H=this.protocol+\"://\"+f+\"/watch\",R.v=K),pP&&(K=odc())&&(R.ebc=K));return g.B9(H,R)};\ng.w.getVideoEmbedCode=function(K,R,f,V){R=\"https://\"+g.sc(this)+\"/embed/\"+R;V&&(R=g.B9(R,{list:V}));V=f.width;f=f.height;R=pC(R);K=pC(K!=null?K:\"YouTube video player\");return'')};\ng.w.supportsGaplessAudio=function(){return g.Du&&!pP&&pI()>=74||g.dV&&g.Rz(68)?!0:!1};\ng.w.supportsGaplessShorts=function(){return!this.Y(\"html5_enable_short_gapless\")||this.oY||g.v7?!1:!0};\ng.w.getPlayerType=function(){return this.U.cplayer};\ng.w.oG=function(){return this.P9};\nvar qGh=[\"www.youtube-nocookie.com\",\"youtube.googleapis.com\",\"www.youtubeeducation.com\",\"youtubeeducation.com\"],nWv=[\"EMBEDDED_PLAYER_LITE_MODE_UNKNOWN\",\"EMBEDDED_PLAYER_LITE_MODE_NONE\",\"EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT\",\"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\"],Oyc=[19];var fm={},mPv=(fm[\"140\"]={numChannels:2},fm[\"141\"]={numChannels:2},fm[\"251\"]={audioSampleRate:48E3,numChannels:2},fm[\"774\"]={audioSampleRate:48E3,numChannels:2},fm[\"380\"]={numChannels:6},fm[\"328\"]={numChannels:6},fm[\"773\"]={},fm),VY={},pqB=(VY[\"1\"]='video/mp4; codecs=\"av01.0.08M.08\"',VY[\"1h\"]='video/mp4; codecs=\"av01.0.12M.10.0.110.09.16.09.0\"',VY[\"1e\"]='video/mp4; codecs=\"av01.0.08M.08\"',VY[\"9\"]='video/webm; codecs=\"vp9\"',VY[\"(\"]='video/webm; codecs=\"vp9\"',VY[\"9h\"]='video/webm; codecs=\"vp09.02.51.10.01.09.16.09.00\"',\nVY.h='video/mp4; codecs=\"avc1.64001e\"',VY.H='video/mp4; codecs=\"avc1.64001e\"',VY.o='audio/webm; codecs=\"opus\"',VY.a='audio/mp4; codecs=\"mp4a.40.2\"',VY.ah='audio/mp4; codecs=\"mp4a.40.2\"',VY.mac3='audio/mp4; codecs=\"ac-3\"; channels=6',VY.meac3='audio/mp4; codecs=\"ec-3\"; channels=6',VY.i='audio/mp4; codecs=\"iamf.001.001.Opus\"',VY),DK={},YGv=(DK[\"337\"]={width:3840,height:2160,bitrate:3E7,fps:30},DK[\"336\"]={width:2560,height:1440,bitrate:15E6,fps:30},DK[\"335\"]={width:1920,height:1080,bitrate:75E5,fps:30},\nDK[\"702\"]={width:7680,height:4320,bitrate:4E7,fps:60},DK[\"701\"]={width:3840,height:2160,bitrate:2E7,fps:60},DK[\"700\"]={width:2560,height:1440,bitrate:1E7,fps:60},DK[\"412\"]={width:1920,height:1080,bitrate:85E5,fps:60,cryptoblockformat:\"subsample\"},DK[\"359\"]={width:1920,height:1080,bitrate:8E6,fps:30,cryptoblockformat:\"subsample\"},DK[\"411\"]={width:1920,height:1080,bitrate:3316E3,fps:60,cryptoblockformat:\"subsample\"},DK[\"410\"]={width:1280,height:720,bitrate:4746E3,fps:60,cryptoblockformat:\"subsample\"},\nDK[\"409\"]={width:1280,height:720,bitrate:1996E3,fps:60,cryptoblockformat:\"subsample\"},DK[\"360\"]={width:1920,height:1080,bitrate:5331E3,fps:30,cryptoblockformat:\"subsample\"},DK[\"358\"]={width:1280,height:720,bitrate:3508E3,fps:30,cryptoblockformat:\"subsample\"},DK[\"357\"]={width:1280,height:720,bitrate:3206E3,fps:30,cryptoblockformat:\"subsample\"},DK[\"274\"]={width:1280,height:720,bitrate:1446E3,fps:30,cryptoblockformat:\"subsample\"},DK[\"315\"]={width:3840,height:2160,bitrate:2E7,fps:60},DK[\"308\"]={width:2560,\nheight:1440,bitrate:1E7,fps:60},DK[\"303\"]={width:1920,height:1080,bitrate:5E6,fps:60},DK[\"302\"]={width:1280,height:720,bitrate:25E5,fps:60},DK[\"299\"]={width:1920,height:1080,bitrate:75E5,fps:60},DK[\"298\"]={width:1280,height:720,bitrate:35E5,fps:60},DK[\"571\"]={width:7680,height:4320,bitrate:3E7,fps:60},DK[\"401\"]={width:3840,height:2160,bitrate:15E6,fps:60},DK[\"400\"]={width:2560,height:1440,bitrate:75E5,fps:60},DK[\"399\"]={width:1920,height:1080,bitrate:2E6,fps:60},DK[\"398\"]={width:1280,height:720,bitrate:1E6,\nfps:60},DK[\"397\"]={width:854,height:480,bitrate:4E5,fps:30},DK[\"396\"]={width:640,height:360,bitrate:25E4,fps:30},DK[\"787\"]={width:1080,height:608,bitrate:2E5,fps:30},DK[\"788\"]={width:1080,height:608,bitrate:4E5,fps:30},DK[\"572\"]={width:7680,height:4320,bitrate:3E7,fps:60},DK[\"555\"]={width:3840,height:2160,bitrate:15E6,fps:60},DK[\"554\"]={width:2560,height:1440,bitrate:75E5,fps:60},DK[\"553\"]={width:1920,height:1080,bitrate:2E6,fps:60},DK[\"552\"]={width:1280,height:720,bitrate:1E6,fps:60},DK[\"551\"]={width:854,\nheight:480,bitrate:4E5,fps:30},DK[\"550\"]={width:640,height:360,bitrate:25E4,fps:30},DK[\"313\"]={width:3840,height:2160,bitrate:8E6,fps:30},DK[\"271\"]={width:2560,height:1440,bitrate:4E6,fps:30},DK[\"248\"]={width:1920,height:1080,bitrate:2E6,fps:30},DK[\"247\"]={width:1280,height:720,bitrate:15E5,fps:30},DK[\"244\"]={width:854,height:480,bitrate:52E4,fps:30},DK[\"243\"]={width:640,height:360,bitrate:28E4,fps:30},DK[\"137\"]={width:1920,height:1080,bitrate:4E6,fps:30},DK[\"136\"]={width:1280,height:720,bitrate:3E6,\nfps:30},DK[\"135\"]={width:854,height:480,bitrate:1E6,fps:30},DK[\"385\"]={width:1920,height:1080,bitrate:6503313,fps:60},DK[\"376\"]={width:1280,height:720,bitrate:5706960,fps:60},DK[\"384\"]={width:1280,height:720,bitrate:3660979,fps:60},DK[\"225\"]={width:1280,height:720,bitrate:5805E3,fps:30},DK[\"224\"]={width:1280,height:720,bitrate:453E4,fps:30},DK[\"145\"]={width:1280,height:720,bitrate:2682052,fps:30},DK);g.w=o3.prototype;g.w.getInfo=function(){return this.U};\ng.w.zE=function(){return null};\ng.w.nz=function(){var K=this.zE();return K?(K=g.FN(K.Qe),Number(K.expire)):NaN};\ng.w.xC=function(){};\ng.w.getHeight=function(){return this.U.video.height};CUv.prototype.build=function(){R$w(this);var K=[\"#EXTM3U\",\"#EXT-X-INDEPENDENT-SEGMENTS\"],R={};a:if(this.U)var f=this.U;else{f=\"\";for(var V=g.Z(this.X),D=V.next();!D.done;D=V.next())if(D=D.value,D.tV){if(D.tV.getIsDefault()){f=D.tV.getId();break a}f||(f=D.tV.getId())}}V=g.Z(this.X);for(D=V.next();!D.done;D=V.next())if(D=D.value,this.T||!D.tV||D.tV.getId()===f)R[D.itag]||(R[D.itag]=[]),R[D.itag].push(D);f=g.Z(this.K);for(V=f.next();!V.done;V=f.next())if(V=V.value,D=R[V.U]){D=g.Z(D);for(var H=D.next();!H.done;H=\nD.next()){var l=K,F=l.push;H=H.value;var c=\"#EXT-X-MEDIA:TYPE=AUDIO,\",r=\"YES\",y=\"audio\";if(H.tV){y=H.tV;var h=y.getId().split(\".\")[0];h&&(c+='LANGUAGE=\"'+h+'\",');(this.U?this.U===y.getId():y.getIsDefault())||(r=\"NO\");y=y.getName()}h=\"\";V!==null&&(h=V.itag.toString());h=i$(this,H.url,h);c=c+('NAME=\"'+y+'\",DEFAULT='+(r+',AUTOSELECT=YES,GROUP-ID=\"'))+(KAB(H,V)+'\",URI=\"'+(h+'\"'));F.call(l,c)}}f=g.Z(this.B);for(V=f.next();!V.done;V=f.next())V=V.value,D=z_8,V=(l=V.tV)?'#EXT-X-MEDIA:URI=\"'+i$(this,V.url)+\n'\",TYPE=SUBTITLES,GROUP-ID=\"'+D+'\",LANGUAGE=\"'+l.getId()+'\",NAME=\"'+l.getName()+'\",DEFAULT=NO,AUTOSELECT=YES':void 0,V&&K.push(V);f=this.B.length>0?z_8:void 0;V=g.Z(this.K);for(D=V.next();!D.done;D=V.next())D=D.value,F=R[D.U],l=void 0,((l=F)==null?void 0:l.length)>0&&(l=D,F=F[0],F=\"#EXT-X-STREAM-INF:BANDWIDTH=\"+(l.bitrate+F.bitrate)+',CODECS=\"'+(l.codecs+\",\"+F.codecs+'\",RESOLUTION=')+(l.width+\"x\"+l.height+',AUDIO=\"')+(KAB(F,l)+'\",')+(f?'SUBTITLES=\"'+f+'\",':\"\")+\"CLOSED-CAPTIONS=NONE\",l.fps>1&&(F+=\n\",FRAME-RATE=\"+l.fps),l.Mc&&(F+=\",VIDEO-RANGE=\"+l.Mc),K.push(F),K.push(i$(this,D.url,\"\")));return K.join(\"\\n\")};\nvar z_8=\"text\";g.x(vd,o3);vd.prototype.nz=function(){return this.expiration};\nvd.prototype.zE=function(){if(!this.Qe||this.Qe.mZ()){var K=this.K.build();K=\"data:application/x-mpegurl;charset=utf-8,\"+encodeURIComponent(K);this.Qe=new V9(K)}return this.Qe};g.x(Lc,o3);Lc.prototype.zE=function(){return new V9(this.K.y9())};\nLc.prototype.xC=function(){this.K=E5(36,this.K)};g.x(w6,o3);w6.prototype.zE=function(){return new V9(this.K)};var H0={},rrc=(H0.PLAYABILITY_ERROR_CODE_VIDEO_BLOCK_BY_MRM=\"mrm.blocked\",H0.PLAYABILITY_ERROR_CODE_PERMISSION_DENIED=\"auth\",H0.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED=\"embedder.identity.denied\",H0.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_MISSING_REFERRER=\"embedder.identity.missing.referrer\",H0);g.w=g.zj.prototype;g.w.getId=function(){return this.id};\ng.w.getName=function(){return this.name};\ng.w.isServable=function(){return this.U};\ng.w.y9=function(){return this.url};\ng.w.getXtags=function(){return this.xtags};\ng.w.toString=function(){return this.languageCode+\": \"+g.x_(this)+\" - \"+this.vssId+\" - \"+(this.captionId||\"\")};\ng.w.equals=function(K){return K?this.toString()===K.toString():!1};\ng.w.e4=function(){return!(!this.languageCode||this.translationLanguage&&!this.translationLanguage.languageCode)};var vMe={\"ad-trueview-indisplay-pv\":6,\"ad-trueview-insearch\":7},LAc={\"ad-trueview-indisplay-pv\":2,\"ad-trueview-insearch\":2},wOc=/^(\\d*)_((\\d*)_?(\\d*))$/;var x5o={iurl:\"default.jpg\",iurlmq:\"mqdefault.jpg\",iurlhq:\"hqdefault.jpg\",iurlsd:\"sddefault.jpg\",iurlpop1:\"pop1.jpg\",iurlpop2:\"pop2.jpg\",iurlhq720:\"hq720.jpg\",iurlmaxres:\"maxresdefault.jpg\"},EMM={120:\"default.jpg\",320:\"mqdefault.jpg\",480:\"hqdefault.jpg\",560:\"pop1.jpg\",640:\"sddefault.jpg\",854:\"pop2.jpg\",1280:\"hq720.jpg\"};var $1={},Q6e=($1.ALWAYS=1,$1.BY_REQUEST=3,$1.UNKNOWN=void 0,$1),lG={},e$_=(lG.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN=\"UNKNOWN\",lG.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL=\"NORMAL\",lG.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW=\"LOW\",lG.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW=\"ULTRALOW\",lG);var hEe;\nhEe=function(K){for(var R=Object.keys(K),f={},V=0;VV-R?-1:K};\ng.w.X0=function(){return this.K.H0()};\ng.w.nY=function(){return this.K.Wy()};\ng.w.Yc=function(K){this.K=K};g.x(s2,Gj);s2.prototype.K=function(K,R){return Gj.prototype.K.call(this,\"$N|\"+K,R)};\ns2.prototype.B=function(K,R,f){return new u$(K,R,f,this.isLive)};g.x(g.ee,g.VQ);g.w=g.ee.prototype;\ng.w.setData=function(K){var R=this;K=K||{};var f=K.errordetail;f!=null&&(this.errorDetail=f);var V=K.errorcode;V!=null?this.errorCode=V:K.status===\"fail\"&&(this.errorCode=\"auth\");var D=K.reason;D!=null&&(this.errorReason=D);var H=K.subreason;H!=null&&(this.ZT=H);this.clientPlaybackNonce||(this.clientPlaybackNonce=K.cpn||(this.gU.oG()?\"r\"+g.SI(15):g.SI(16)));this.Rp=dm(this.gU.Rp,K.livemonitor);aiM(this,K);var l=K.raw_player_response;if(l)this.cP=l;else{var F=K.player_response;F&&(l=JSON.parse(F))}l&&\n(this.playerResponse=l);if(this.playerResponse){var c=this.playerResponse.annotations;c&&Nqw(this,c);var r=this.playerResponse.attestation;r&&U5c(this,r);var y=this.playerResponse.cotn;y&&(this.cotn=y);var h=this.playerResponse.heartbeatParams;h&&Z6N(this,h);var S=this.playerResponse.messages;S&&Tqc(this,S);var v=this.playerResponse.overlay;v&&O6_(this,v);var L=this.playerResponse.playabilityStatus;if(L){j6_(this,L);var E=L.errorScreen;E&&C0_(this,E)}var Q=this.playerResponse.playbackTracking;Q&&\nMT_(this,Q,K);var J=this.playerResponse.playerCueRanges;J&&J.length>0&&(this.cueRanges=J);var A=this.playerResponse.playerCueRangeSet;A&&g.DN(this,A);var B=D3D(this.playerResponse.adPlacements);Q&&Q.promotedPlaybackTracking&&B&&g.A$(new g.NB(\"Player Response with both promotedPlaybackTracking and videoAdTrackingRenderer\"));if(B||XVD(this.playerResponse.adSlots))this.hY=!0;var k=this.playerResponse.playerAds;k&&b6c(this,k,K);var b=this.playerResponse.playerConfig;b&&pOB(this,b);var M=this.playerResponse.streamingData;\nM&&Yke(this,M,b||null);var Hc=this.playerResponse.trackingParams;Hc&&(this.UF=Hc);var fB=this.playerResponse.videoDetails;if(fB){GiM(this,fB,K);KcG(this,fB,b||null,K);var Rw=fB.isPrivate;Rw!==void 0&&(this.isPrivate=dm(this.isPrivate,Rw))}L&&Jr5(this,L,fB||null);var FG=this.playerResponse.interstitialPods;FG&&ki5(this,FG);this.TT&&this.eventId&&(this.TT=rG(this.TT,{ei:this.eventId}));var yN=this.playerResponse.captions;yN&&yN.playerCaptionsTracklistRenderer&&tT5(this,yN.playerCaptionsTracklistRenderer);\n(this.clipConfig=this.playerResponse.clipConfig)&&this.clipConfig.startTimeMs!=null&&(this.La=Number(this.clipConfig.startTimeMs)*.001);this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.webPlayerConfig&&this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&P0B(this,this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting);var VN;this.compositeLiveIngestionOffsetToken=(VN=this.playerResponse.playbackTracking)==null?void 0:VN.compositeLiveIngestionOffsetToken;\nvar aw;this.compositeLiveStatusToken=(aw=this.playerResponse.playbackTracking)==null?void 0:aw.compositeLiveStatusToken;this.Y(\"html5_fill_default_mosaic_audio_track_id\")&&GW(this)&&(this.gU.Za=z8v(this));var s5,dW,DB=(s5=this.playerResponse.playerConfig)==null?void 0:(dW=s5.granularVariableSpeedConfig)==null?void 0:dW.minimumPlaybackRate,b_,Pc,YV=(b_=this.playerResponse.playerConfig)==null?void 0:(Pc=b_.granularVariableSpeedConfig)==null?void 0:Pc.maximumPlaybackRate;DB&&YV&&(this.V8=DB/100,this.XN=\nYV/100);this.Y(\"html5_web_po_on_demand_init\")&&this.playerResponse.onResponseReceivedActions&&this.playerResponse.onResponseReceivedActions.forEach(function(Ko){var t5;((t5=g.z(Ko,Ar2))==null?void 0:t5.signal)===\"INIT_ATT_SERVICE\"&&(R.eD=!0)})}RU(this,K);\nQqM(this,K);K.queue_info&&(this.queueInfo=K.queue_info);var J_=K.hlsdvr;J_!=null&&(this.allowLiveDvr=Number(J_)===1?wV()?!0:f4&&AP<5?!1:!0:!1);this.adQueryId=K.ad_query_id||null;this.jD||(this.jD=K.encoded_ad_safety_reason||null);this.Bb=dm(this.Bb,K.infringe||K.muted);this.aL=K.authkey;this.Ex=K.authuser;this.mutedAutoplay=dm(this.mutedAutoplay,K&&K.playmuted);this.mutedAutoplayDurationMode=ce(this.mutedAutoplayDurationMode,K&&K.muted_autoplay_duration_mode);this.Xb=dm(this.Xb,K&&K.mutedautoplay);\nvar t=K.length_seconds;t&&(this.lengthSeconds=typeof t===\"string\"?Gd(t):t);this.isAd()||this.WB||!g.Sz(g.Ml(this.gU))?this.endSeconds=ce(this.endSeconds,this.Hv||K.end||K.endSeconds):Jd2(this,g.Ml(this.gU),this.lengthSeconds);this.UF=rm(this.UF,K.itct);this.wV=dm(this.wV,K.is_live_destination);this.isLivePlayback=dm(this.isLivePlayback,K.live_playback);this.enableServerStitchedDai=this.enableServerStitchedDai&&this.qY();K.isUpcoming&&(this.isUpcoming=dm(this.isUpcoming,K.isUpcoming));this.V9=dm(this.V9,\nK.post_live_playback);this.eQ&&(this.V9=!1);this.isMdxPlayback=dm(this.isMdxPlayback,K.mdx);var L8=K.mdx_control_mode;L8&&(this.mdxControlMode=typeof L8===\"number\"?L8:Gd(L8));this.isInlinePlaybackNoAd=dm(this.isInlinePlaybackNoAd,K.is_inline_playback_no_ad);this.Ne=ce(this.Ne,K.reload_count);this.reloadReason=rm(this.reloadReason,K.reload_reason);this.zZ=dm(this.zZ,K.show_content_thumbnail);this.cycToken=K.cyc||null;var uE=QG(K);Object.keys(uE).length>0&&(this.Du=uE);this.aY=rm(this.aY,K.vvt);this.mdxEnvironment=\nrm(this.mdxEnvironment,K.mdx_environment);K.source_container_playlist_id&&(this.sourceContainerPlaylistId=K.source_container_playlist_id);K.serialized_mdx_metadata&&(this.serializedMdxMetadata=K.serialized_mdx_metadata);this.uo=K.osig;this.eventId||(this.eventId=K.eventid);this.osid||(this.osid=K.osid);this.playlistId=rm(this.playlistId,K.list);K.index&&(this.playlistIndex=this.playlistIndex===void 0?ce(0,K.index):ce(this.playlistIndex,K.index));this.o4=K.pyv_view_beacon_url;this.Nc=K.pyv_quartile25_beacon_url;\nthis.xd=K.pyv_quartile50_beacon_url;this.nS=K.pyv_quartile75_beacon_url;this.DK=K.pyv_quartile100_beacon_url;var cc=K.session_data;!this.vT&&cc&&(this.vT=$A(cc,\"&\").feature);this.isFling=ce(this.isFling?1:0,K.is_fling)===1;this.vnd=ce(this.vnd,K.vnd);this.forceAdsUrl=rm(this.forceAdsUrl,K.force_ads_url);this.cR=rm(this.cR,K.ctrl);this.sT=rm(this.sT,K.ytr);this.rT=K.ytrcc;this.Jv=K.ytrexp;this.EK=K.ytrext;this.pQ=rm(this.pQ,K.adformat);this.ac=rm(this.ac,K.attrib);this.slotPosition=ce(this.slotPosition,\nK.slot_pos);this.breakType=K.break_type;this.Zi=dm(this.Zi,K.ssrt);this.videoId=hq(K)||this.videoId;this.T=rm(this.T,K.vss_credentials_token);this.Jc=rm(this.Jc,K.vss_credentials_token_type);this.WP=dm(this.WP,K.audio_only);this.B5=dm(this.B5,K.aac_high);this.TY=dm(this.TY,K.prefer_low_quality_audio);this.pH=dm(this.pH,K.uncap_inline_quality);this.Y(\"html5_enable_qoe_cat_list\")?K.qoe_cat&&(this.FM=this.FM.concat(K.qoe_cat.split(\",\"))):this.uG=rm(this.uG,K.qoe_cat);this.Ml=dm(this.Ml,K.download_media);\nthis.N=N$5(this,K.prefer_gapless);$HB(this.playerResponse)&&this.s$.push(\"ad\");var BT=K.adaptive_fmts;BT&&(this.adaptiveFormats=BT,this.KQ(\"adpfmts\",{},!0));var N=K.allow_embed;N&&(this.allowEmbed=Number(N)===1);var KB=K.backgroundable;KB&&(this.backgroundable=Number(KB)===1);var Eh=K.autonav;Eh&&(this.isAutonav=Number(Eh)===1);var Fl=K.autoplay;Fl&&(this.Z8=this.ag=Number(Fl)===1);var GB=K.iv_load_policy;GB&&(this.annotationsLoadPolicy=F4(this.annotationsLoadPolicy,GB,bK));var cy=K.cc_lang_pref;\ncy&&(this.captionsLanguagePreference=rm(cy,this.captionsLanguagePreference));var CB=K.cc_load_policy;CB&&(this.nM=F4(this.nM,CB,bK));var f8;this.deviceCaptionsOn=(f8=K.device_captions_on)!=null?f8:void 0;var Wy;this.wT=(Wy=K.device_captions_lang_pref)!=null?Wy:\"\";var W;this.iG=(W=K.viewer_selected_caption_langs)!=null?W:[];var a=K.cached_load;a&&(this.q2=dm(this.q2,a));if(K.dash===\"0\"||K.dash===0||K.dash===!1)this.qh=!0;var U=K.dashmpd;U&&(this.ZU=g.B9(U,{cpn:this.clientPlaybackNonce}));var T=K.delay;\nT&&(this.XG=Gd(T));var m=this.Hv||K.end;if(this.kW?m!=null:m!=void 0)this.clipEnd=ce(this.clipEnd,m);var l_=K.fmt_list;l_&&(this.cG=l_);K.heartbeat_preroll&&this.s$.push(\"heartbeat\");xdp&&(this.Sf=-Math.floor(Math.random()*10),this.YL=-Math.floor(Math.random()*40));var u=K.is_listed;u&&(this.isListed=dm(this.isListed,u));var p=K.is_private;p&&(this.isPrivate=dm(this.isPrivate,p));var n=K.is_dni;n&&(this.nL=dm(this.nL,n));var Bc=K.dni_color;Bc&&(this.g0=rm(this.g0,Bc));var XG=K.pipable;XG&&(this.pipable=\ndm(this.pipable,XG));this.MX=(this.Qx=this.pipable&&this.gU.IV)&&!this.gU.showMiniplayerButton;var z2=K.paid_content_overlay_duration_ms;z2&&(this.paidContentOverlayDurationMs=Gd(z2));var Jz=K.paid_content_overlay_text;Jz&&(this.paidContentOverlayText=Jz);var HT=K.url_encoded_fmt_stream_map;HT&&(this.xX=HT);var tz=K.hls_formats;tz&&(this.hlsFormats=tz);var qd=K.hlsvp;qd&&(this.hlsvp=qd);var TB=K.live_start_walltime;TB&&(this.Qb=typeof TB===\"number\"?TB:Gd(TB));var C8=K.live_manifest_duration;C8&&(this.ql=\ntypeof C8===\"number\"?C8:Gd(C8));var ZD=K.player_params;ZD&&(this.playerParams=ZD);var jL=K.partnerid;jL&&(this.partnerId=ce(this.partnerId,jL));var kv=K.probe_url;kv&&(this.probeUrl=TX(g.B9(kv,{cpn:this.clientPlaybackNonce})));var QH=K.pyv_billable_url;QH&&GO2(QH)&&(this.lE=QH);var jh=K.pyv_conv_url;jh&&GO2(jh)&&(this.TE=jh);Wco(this,K);this.startSeconds>0?this.Y(\"html5_log_start_seconds_inconsistency\")&&this.startSeconds!==(this.La||this.hT||K.start||K.startSeconds)&&this.KQ(\"lss\",{css:this.startSeconds,\npcss:this.La,iss:this.hT,ps:K.start||void 0,pss:K.startSeconds||void 0}):this.oY=this.startSeconds=ce(this.startSeconds,this.La||this.hT||K.start||K.startSeconds);if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var Us=K.live_utc_start;Us!=null?this.liveUtcStartSeconds=Number(Us):OXv(this.startSeconds)&&(this.liveUtcStartSeconds=this.startSeconds)}if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var US=K.utc_start_millis;US&&(this.liveUtcStartSeconds=Number(US)*.001)}var e8=\nK.stream_time_start_millis;e8&&(this.i9=Number(e8)*.001);var DL=this.hT||K.start;(this.kW?DL==null||Number(K.resume)===1:DL==void 0||K.resume==\"1\")||this.isLivePlayback||(this.clipStart=ce(this.clipStart,DL));var qz=K.url_encoded_third_party_media;qz&&(this.v9=dG(qz));var PT=K.ypc_offer_button_formatted_text;if(PT){var zd=JSON.parse(PT);this.Ju=zd!=null?zd:null;this.tv=PT}var Zz=K.ypc_offer_button_text;Zz&&(this.ws=Zz);var Sq=K.ypc_offer_description;Sq&&(this.O_=Sq);var iF=K.ypc_offer_headline;iF&&\n(this.yk=iF);var $r=K.ypc_full_video_message;$r&&(this.lc=$r);var lS=K.ypc_offer_id;lS&&(this.eR=lS);var Hi=K.ypc_buy_url;Hi&&(this.Ic=Hi);var LT=K.ypc_item_thumbnail;LT&&(this.Rc=LT);var dk=K.ypc_item_title;dk&&(this.rp=dk);var Fu=K.ypc_item_url;Fu&&(this.gs=Fu);var cZ=K.ypc_vid;cZ&&(this.PT=cZ);K.ypc_overlay_timeout&&(this.ZO=Number(K.ypc_overlay_timeout));var u6=K.ypc_trailer_player_vars;u6&&(this.GE=Iw(u6));var Io=K.ypc_original_itct;Io&&(this.rj=Io);this.M$=rm(this.M$,K.ucid);this.Tk=K.storyboard_spec||\nnull;this.Ac=K.live_storyboard_spec||null;this.Pf=K.iv_endscreen_url||null;this.SE=dm(this.SE,K.iv3_module);this.F1=dm(this.F1,K.ypc_module);this.bf=dm(this.bf,K.ypc_clickwrap_module);this.F1&&this.s$.push(\"ypc\");this.bf&&this.s$.push(\"ypcRentalActivation\");this.jK={video_id:K.video_id,eventid:K.eventid,cbrand:K.cbrand,cbr:K.cbr,cbrver:K.cbrver,c:K.c,cver:K.cver,ctheme:K.ctheme,cplayer:K.cplayer,cmodel:K.cmodel,cnetwork:K.cnetwork,cos:K.cos,cosver:K.cosver,cplatform:K.cplatform,user_age:K.user_age,\nuser_display_image:K.user_display_image,user_display_name:K.user_display_name,user_gender:K.user_gender,csi_page_type:K.csi_page_type,csi_service_name:K.csi_service_name,enablecsi:K.enablecsi,enabled_engage_types:K.enabled_engage_types};NhD(this,K);var gO=K.cotn;gO&&(this.cotn=gO);bXB(this)?vD(this)&&(this.isLivePlayback&&this.ZU&&(this.Dk=!0),this.L8&&(this.rQ=!0)):pJ2(this)?this.Dk=!0:MHc(this)?this.enableServerStitchedDai=this.enableServerStitchedDai&&xs(this):this.ZU&&(this.gU.UF===\"yt\"&&this.qY()&&\nthis.Y(\"drm_manifestless_unplugged\")&&this.Y(\"html5_deprecate_manifestful_fallback\")?this.KQ(\"deprecateMflFallback\",{}):this.Dk=!0);var W$=K.adpings;W$&&(this.ao=W$?Iw(W$):null);var rk=K.feature;rk&&(this.Qv=rk);var tI=K.referrer;tI&&(this.referrer=tI);this.clientScreenNonce=rm(this.clientScreenNonce,K.csn);this.mJ=ce(this.mJ,K.root_ve_type);this.Oz=ce(this.Oz,K.kids_age_up_mode);this.kW||K.kids_app_info==void 0||(this.kidsAppInfo=K.kids_app_info);this.kW&&K.kids_app_info!=null&&(this.kidsAppInfo=\nK.kids_app_info);this.zU=dm(this.zU,K.upg_content_filter_mode);this.unpluggedFilterModeType=ce(this.unpluggedFilterModeType,K.unplugged_filter_mode_type);var yU=K.unplugged_location_info;yU&&(this.Kh=yU);var h8=K.unplugged_partner_opt_out;h8&&(this.sY=rm(\"\",h8));this.e8=dm(this.e8,K.disable_watch_next);this.sB=rm(this.sB,K.internal_ip_override);this.Ur=!!K.is_yto_interstitial;this.interstitials.length&&this.s$.push(\"playableSequences\");var ol=K.p8;ol&&(this.p8=ol);this.EF=rm(this.EF,K.csi_timer);\nK.watchUrl&&(this.watchUrl=K.watchUrl);var EY=K.watch_endpoint;this.Y(\"html5_attach_watch_endpoint_ustreamer_config\")&&EY&&SkB(this,EY);if(EY==null?0:EY.ustreamerConfig)this.Om=A1(EY.ustreamerConfig);var Si,sY,AI=EY==null?void 0:(Si=EY.loggingContext)==null?void 0:(sY=Si.qoeLoggingContext)==null?void 0:sY.serializedContextData;AI&&(this.zV=AI);g.kN(this.gU)&&this.gU.Yi&&(this.embedsRct=rm(this.embedsRct,K.rct),this.embedsRctn=rm(this.embedsRctn,K.rctn));K.embed_config&&(this.Pg=K.embed_config);this.Fn=\nthis.Fn||!!K.pause_at_start;K.default_active_source_video_id&&(this.defaultActiveSourceVideoId=K.default_active_source_video_id);this.eG=this.eG||!!K.eG};\ng.w.C=function(){return this.gU};\ng.w.Y=function(K){return this.gU.Y(K)};\ng.w.HB=function(){return!this.isLivePlayback||this.allowLiveDvr};\ng.w.hasSupportedAudio51Tracks=function(){var K;return!((K=this.Za)==null||!K.v5)};\ng.w.getUserAudio51Preference=function(){var K=1;VG(this.gU)&&this.Y(\"html5_ytv_surround_toggle_default_off\")?K=0:Kc(this.gU)&&this.isLivePlayback&&this.Im()&&(K=0);var R;return(R=g.n4(\"yt-player-audio51\"))!=null?R:K};\ng.w.rf=function(){this.mZ()||(this.U.K||this.U.unsubscribe(\"refresh\",this.rf,this),this.kJ(-1))};\ng.w.kJ=function(K){if(!this.isLivePlayback||!this.B||this.B.flavor!==\"fairplay\"){var R=E0G(this.U,this.n6);if(R.length>0){for(var f=g.Z(R),V=f.next();!V.done;V=f.next())V=V.value,V.startSecs=Math.max(V.startSecs,this.Zk()),this.Y(\"html5_cuepoint_identifier_logging\")&&V.event===\"start\"&&this.KQ(\"cuepoint\",{pubCue:V.identifier,segNum:K});this.publish(\"cuepointupdated\",R,K);this.n6+=R.length;if(xs(this)&&this.gU.oG())for(R=g.Z(R),f=R.next();!f.done;f=R.next())f=f.value,this.KQ(\"cuepoint\",{segNum:K,event:f.event,\nstartSecs:f.startSecs,id:f.identifier.slice(-16)}),f.event===\"start\"&&(f=f.startSecs,this.DU.start=this.hV,this.DU.end=f+3)}}};\ng.w.wI=function(){this.mZ()||(this.loading=!1,this.publish(\"dataloaded\"))};\ng.w.Im=function(){return this.y4!==void 0?this.y4:this.y4=!!this.g8||!!this.U&&j4(this.U)};\ng.w.cC=function(K){var R=this;if(this.mZ())return PS();this.v5=this.y0=this.X=null;Vg(this,\"html5_high_res_logging_always\")&&(this.gU.P9=!0);return GzG(this,K).then(void 0,function(){return sqh(R,K)}).then(void 0,function(){return CWz(R)}).then(void 0,function(){return Klz(R)})};\ng.w.BW=function(K){this.X=K;ubz(this,this.X.getAvailableAudioTracks());if(this.X){K=g.Z(this.X.videoInfos);for(var R=K.next();!R.done;R=K.next()){R=R.value;var f=R.containerType;f!==0&&(this.By[f]=R.id)}}K=this.getAvailableAudioTracks();K=K.concat(this.OA);for(R=0;R0?this.X.getAvailableAudioTracks():this.MR||[]:[]};\ng.w.getAudioTrack=function(){var K=this;if(this.J&&!XH(this.J)){var R=g.G$(this.getAvailableAudioTracks(),function(D){return D.id===K.J.id}),f;\nif(!R&&((f=this.J.tV)==null?0:f.id)){var V=this.J.tV.id;R=g.G$(this.getAvailableAudioTracks(),function(D){return D.tV.id===V});\nthis.KQ(\"nat\",{id:this.J.id,track:!!R})}return R||this.OA}if(this.MR){if(!this.lW)for(R=g.Z(this.MR),f=R.next();!f.done;f=R.next())if(f=f.value,f.tV.getIsDefault()){this.lW=f;break}return this.lW||this.OA}return this.OA};\ng.w.getPlayerResponse=function(){return this.playerResponse};\ng.w.getWatchNextResponse=function(){return this.Xt};\ng.w.getReelItemWatchResponse=function(){return this.reelItemWatchResponse};\ng.w.getHeartbeatResponse=function(){return this.JE};\ng.w.mq=function(){return this.watchUrl?this.watchUrl:this.gU.getVideoUrl(this.videoId)};\ng.w.jE=function(){return!!this.U&&(yve(this.U)||hW2(this.U)||o0z(this.U))};\ng.w.getEmbeddedPlayerResponse=function(){return this.V6};\ng.w.mO=function(){return(this.eventLabel||this.gU.Xt)===\"shortspage\"};\ng.w.isAd=function(){return this.fJ||!!this.adFormat};\ng.w.isDaiEnabled=function(){return!!(this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.daiConfig&&this.playerResponse.playerConfig.daiConfig.enableDai)};\ng.w.Jh=function(){var K,R,f;return this.isDaiEnabled()&&this.enableServerStitchedDai&&!!((K=this.playerResponse)==null?0:(R=K.playerConfig)==null?0:(f=R.daiConfig)==null?0:f.ssaEnabledPlayback)};\ng.w.Xz=function(){return this.l2};\ng.w.Oe=function(){return this.F1||this.MW};\ng.w.Cn=function(){return Vg(this,\"html5_samsung_vp9_live\")};\ng.w.KQ=function(K,R,f){this.publish(\"ctmp\",K,R,f)};\ng.w.Bw=function(K,R,f){this.publish(\"ctmpstr\",K,R,f)};\ng.w.hasProgressBarBoundaries=function(){return!(!this.progressBarStartPosition||!this.progressBarEndPosition)};\ng.w.getGetAdBreakContext=function(K,R){K=K===void 0?NaN:K;R=R===void 0?NaN:R;var f={isSabr:tP(this)},V,D=(V=this.getHeartbeatResponse())==null?void 0:V.adBreakHeartbeatParams;D&&(f.adBreakHeartbeatParams=D);if(this.Y(\"enable_ltc_param_fetch_from_innertube\")&&this.isLivePlayback&&this.U&&!isNaN(K)&&!isNaN(R)){R=K-R;for(var H in this.U.U)if(V=this.U.U[H],V.info.iX()||V.info.c9())if(V=V.index,V.isLoaded()){H=V.FL(R);V=V.IC(H)+R-V.getStartTime(H);this.KQ(\"gabc\",{t:K.toFixed(3),mt:R.toFixed(3),sg:H,igt:V.toFixed(3)});\nf.livePlaybackPosition={utcTimeMillis:\"\"+(V*1E3).toFixed(0)};break}}return f};\ng.w.isEmbedsShortsMode=function(K,R){if(!g.kN(this.gU)||(this.gU.y0||\"EMBEDDED_PLAYER_MODE_DEFAULT\")!==\"EMBEDDED_PLAYER_MODE_DEFAULT\"||R)return!1;if(this.Y(\"embeds_enable_shorts\")){var f,V;return!!((f=this.embeddedPlayerConfig)==null?0:(V=f.embeddedPlayerFlags)==null?0:V.isShortsExperienceEligible)}var D,H;return!!(((D=this.embeddedPlayerConfig)==null?0:(H=D.embeddedPlayerFlags)==null?0:H.isShortsExperienceEligible)&&K.width<=K.height)};\ng.w.ya=function(K,R){R?this.ME||(this.ME=K):this.s0||(this.s0=K)};\ng.w.uD=function(){g.VQ.prototype.uD.call(this);this.ao=null;delete this.KG;delete this.accountLinkingConfig;delete this.U;this.X=this.JE=this.playerResponse=this.Xt=null;this.xX=this.adaptiveFormats=\"\";delete this.botguardData;this.er=this.suggestions=this.gR=null;this.sabrContextUpdates.clear()};\nvar xdp=!0;var k1z={phone:\"SMALL_FORM_FACTOR\",tablet:\"LARGE_FORM_FACTOR\"},T$2={desktop:\"DESKTOP\",phone:\"MOBILE\",tablet:\"TABLET\"},B$_={preroll:\"BREAK_PREROLL\",midroll:\"BREAK_MIDROLL\",postroll:\"BREAK_POSTROLL\"},tmM={0:\"YT_KIDS_AGE_UP_MODE_UNKNOWN\",1:\"YT_KIDS_AGE_UP_MODE_OFF\",2:\"YT_KIDS_AGE_UP_MODE_TWEEN\",3:\"YT_KIDS_AGE_UP_MODE_PRESCHOOL\"},JE2={0:\"MDX_CONTROL_MODE_UNKNOWN\",1:\"MDX_CONTROL_MODE_REMOTE\",2:\"MDX_CONTROL_MODE_VOICE\"},AEB={0:\"UNPLUGGED_FILTER_MODE_TYPE_UNKNOWN\",1:\"UNPLUGGED_FILTER_MODE_TYPE_NONE\",2:\"UNPLUGGED_FILTER_MODE_TYPE_PG\",\n3:\"UNPLUGGED_FILTER_MODE_TYPE_PG_THIRTEEN\"},XGh={0:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_UNSPECIFIED\",1:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_30_SECONDS\",2:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_FULL\"};g.x(Fs,g.O);g.w=Fs.prototype;g.w.handleExternalCall=function(K,R,f){var V=this.state.N[K],D=this.state.Z[K],H=V;if(D)if(f&&XE(f,gVp))H=D;else if(!V)throw Error('API call from an untrusted origin: \"'+f+'\"');this.logApiCall(K,f);if(H){f=!1;V=g.Z(R);for(D=V.next();!D.done;D=V.next())if(String(D.value).includes(\"javascript:\")){f=!0;break}f&&g.A$(Error('Dangerous call to \"'+K+'\" with ['+R+\"].\"));return H.apply(this,R)}throw Error('Unknown API method: \"'+K+'\".');};\ng.w.logApiCall=function(K,R,f){var V=this.app.C();V.qh&&!this.state.EF.has(K)&&(this.state.EF.add(K),g.h$(\"webPlayerApiCalled\",{callerUrl:V.loaderUrl,methodName:K,origin:R||void 0,playerStyle:V.playerStyle||void 0,embeddedPlayerMode:V.y0,errorCode:f}))};\ng.w.publish=function(K){var R=g.wW.apply(1,arguments);this.state.X.publish.apply(this.state.X,[K].concat(g.X(R)));if(K===\"videodatachange\"||K===\"resize\"||K===\"cardstatechange\")this.state.K.publish.apply(this.state.K,[K].concat(g.X(R))),this.state.J.publish.apply(this.state.J,[K].concat(g.X(R)))};\ng.w.lD=function(K){var R=g.wW.apply(1,arguments);this.state.X.publish.apply(this.state.X,[K].concat(g.X(R)));this.state.K.publish.apply(this.state.K,[K].concat(g.X(R)))};\ng.w.iM=function(K){var R=g.wW.apply(1,arguments);this.state.X.publish.apply(this.state.X,[K].concat(g.X(R)));this.state.K.publish.apply(this.state.K,[K].concat(g.X(R)));this.state.J.publish.apply(this.state.J,[K].concat(g.X(R)))};\ng.w.h$=function(K){var R=g.wW.apply(1,arguments);this.state.X.publish.apply(this.state.X,[K].concat(g.X(R)));this.state.K.publish.apply(this.state.K,[K].concat(g.X(R)));this.state.J.publish.apply(this.state.J,[K].concat(g.X(R)));this.state.B.publish.apply(this.state.B,[K].concat(g.X(R)))};\ng.w.Y=function(K){return this.app.C().Y(K)};\ng.w.uD=function(){if(this.state.element){var K=this.state.element,R;for(R in this.state.U)this.state.U.hasOwnProperty(R)&&(K[R]=null);this.state.element=null}g.O.prototype.uD.call(this)};g.x(oC,g.tF);oC.prototype.publish=function(K){var R=g.wW.apply(1,arguments);if(this.B.has(K))return this.B.get(K).push(R),!0;var f=!1;try{for(R=[R],this.B.set(K,R);R.length;)f=g.tF.prototype.publish.call.apply(g.tF.prototype.publish,[this,K].concat(g.X(R.shift())))}finally{this.B.delete(K)}return f};g.x(SM,g.O);SM.prototype.uD=function(){this.B.dispose();this.J.dispose();this.K.dispose();this.X.dispose();this.EF=this.U=this.Z=this.N=this.T=void 0};var qr5=new Set(\"endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn playmuted muted_autoplay_duration_mode\".split(\" \"));g.x(vm,Fs);g.w=vm.prototype;g.w.getApiInterface=function(){return Array.from(this.state.T)};\ng.w.K0=function(K,R){this.state.B.subscribe(K,R)};\ng.w.jmt=function(K,R){this.state.B.unsubscribe(K,R)};\ng.w.getPlayerState=function(K){return OKB(this.app,K)};\ng.w.yp=function(){return OKB(this.app)};\ng.w.bPZ=function(K,R,f){zV(this)&&(kC(this.app,!0,1),nx(this.app,K,R,f,1))};\ng.w.getCurrentTime=function(K,R,f){var V=this.getPlayerState(K);if(this.app.getAppState()===2&&V===5){var D;return((D=this.app.getVideoData())==null?void 0:D.startSeconds)||0}return this.Y(\"web_player_max_seekable_on_ended\")&&V===0?t6(this.app,K):K?this.app.getCurrentTime(K,R,f):this.app.getCurrentTime(K)};\ng.w.EN=function(){return this.app.getCurrentTime(1)};\ng.w.Xr=function(){var K=this.app.IC(1);return isNaN(K)?this.getCurrentTime(1):K};\ng.w.aq=function(){return this.app.getDuration(1)};\ng.w.md=function(K,R){K=g.fT(Math.floor(K),0,100);isFinite(K)&&Uw(this.app,{volume:K,muted:this.isMuted()},R)};\ng.w.Mgp=function(K){this.md(K,!1)};\ng.w.kS=function(K){Uw(this.app,{muted:!0,volume:this.getVolume()},K)};\ng.w.Tne=function(){this.kS(!1)};\ng.w.Fd=function(K){Uw(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},K)};\ng.w.R$Y=function(){w9(this.app)||this.Fd(!1)};\ng.w.getPlayerMode=function(){var K={};this.app.getVideoData().nL&&(K.pfp={enableIma:this.app.W0().allowImaMonetization,autoplay:pZ(this.app.W0()),mutedAutoplay:this.app.W0().mutedAutoplay});return K};\ng.w.Sq=function(){var K=this.app.getPresentingPlayerType();if(K===2&&!this.app.pT()){var R=xz(this.app.JV());if(!(gBo(R)||g.kN(this.app.C())&&g.G(this.app.LQ().getPlayerState(),1024))||OAN(R))return}(R=this.app.EJ().pP)?R.playVideo():this.app.playVideo(K)};\ng.w.a8W=function(){kC(this.app,!0,1);this.Sq()};\ng.w.pauseVideo=function(K){var R=this.app.getPresentingPlayerType();if(R!==2||this.app.pT()||gBo(xz(this.app.JV()))){var f=this.app.EJ().pP;f?f.pauseVideo():this.app.pauseVideo(R,K)}};\ng.w.dH0=function(){var K=this.app,R=!1;K.W.Gt&&(K.YW.publish(\"pageTransition\"),R=!0);K.stopVideo(R)};\ng.w.clearVideo=function(){};\ng.w.getAvailablePlaybackRates=function(){var K=this.app.C();if(K.enableSpeedOptions){if([\"https://admin.youtube.com\",\"https://viacon.corp.google.com\",\"https://yurt.corp.google.com\"].includes(K.J?K.ancestorOrigins[0]:window.location.origin)||K.mz)return i88;var R=this.app.getVideoData();if(WlB(R)){var f=R.V8,V=R.XN;return wTE.filter(function(D){return D>=f&&D<=V})}return K.supportsVarispeedExtendedFeatures?vVV:K.Y(\"web_remix_allow_up_to_3x_playback_rate\")&&g.ke(K)?LuB:WP}return[1]};\ng.w.getPlaybackQuality=function(K){return(K=this.app.J$(K))?K.getPlaybackQuality():\"unknown\"};\ng.w.wUp=function(){};\ng.w.getAvailableQualityLevels=function(K){return(K=this.app.J$(K))?(K=g.JQ(K.xi(),function(R){return R.quality}),K.length&&(K[0]===\"auto\"&&K.shift(),K=K.concat([\"auto\"])),K):[]};\ng.w.pg=function(){return this.getAvailableQualityLevels(1)};\ng.w.MJ=function(){return this.qG()};\ng.w.qJ=function(){return 1};\ng.w.getVideoLoadedFraction=function(K){return this.app.getVideoLoadedFraction(K)};\ng.w.qG=function(){return this.getVideoLoadedFraction()};\ng.w.Gl=function(){return 0};\ng.w.getSize=function(){var K=this.app.Ft().getPlayerSize();return{width:K.width,height:K.height}};\ng.w.setSize=function(){this.app.Ft().resize()};\ng.w.loadVideoById=function(K,R,f,V){if(!K)return!1;K=ir(K,R,f);return this.app.loadVideoByPlayerVars(K,V)};\ng.w.iQW=function(K,R,f){K=this.loadVideoById(K,R,f,1);kC(this.app,K,1)};\ng.w.cueVideoById=function(K,R,f,V){K=ir(K,R,f);this.app.cueVideoByPlayerVars(K,V)};\ng.w.Zb=function(K,R,f){this.cueVideoById(K,R,f,1)};\ng.w.loadVideoByUrl=function(K,R,f,V){K=jDv(K,R,f);return this.app.loadVideoByPlayerVars(K,V)};\ng.w.UYt=function(K,R,f){K=this.loadVideoByUrl(K,R,f,1);kC(this.app,K,1)};\ng.w.cueVideoByUrl=function(K,R,f,V){K=jDv(K,R,f);this.app.cueVideoByPlayerVars(K,V)};\ng.w.xG=function(K,R,f){this.cueVideoByUrl(K,R,f,1)};\ng.w.Tl=function(){var K=this.app.C();if(K.aY)return\"\";var R=this.app.W0(),f=void 0;R.isLivePlayback||(f=Math.floor(this.app.getCurrentTime(1)));return K.getVideoUrl(R.videoId,this.getPlaylistId()||void 0,f)};\ng.w.Ke=function(){return this.app.getDebugText()};\ng.w.getVideoEmbedCode=function(){var K=this.app.C();if(K.aY)return\"\";var R=this.app.W0();return K.getVideoEmbedCode(R.isPrivate?\"\":R.title,this.app.W0().videoId,this.app.Ft().getPlayerSize(),this.getPlaylistId()||void 0)};\ng.w.Ei=function(K,R,f){return YTh(this.app,K,R,f)};\ng.w.removeCueRange=function(K){return this.app.El(K)};\ng.w.loadPlaylist=function(K,R,f,V){this.app.loadPlaylist(K,R,f,V)};\ng.w.p5F=function(K,R,f,V){this.loadPlaylist(K,R,f,V);kC(this.app,!0,1)};\ng.w.cuePlaylist=function(K,R,f,V){this.app.cuePlaylist(K,R,f,V)};\ng.w.nextVideo=function(K,R){this.app.nextVideo(K,R)};\ng.w.sG5=function(){this.nextVideo();kC(this.app,!0,1)};\ng.w.previousVideo=function(K){this.app.previousVideo(K)};\ng.w.hnr=function(){this.previousVideo();kC(this.app,!0,1)};\ng.w.playVideoAt=function(K){this.app.playVideoAt(K)};\ng.w.KYD=function(K){this.playVideoAt(K);kC(this.app,!0,1)};\ng.w.setShuffle=function(K){var R=this.app.getPlaylist();R&&R.setShuffle(K)};\ng.w.setLoop=function(K){var R=this.app.getPlaylist();R&&(R.loop=K)};\ng.w.Vp=function(){var K=this.app.getPlaylist();if(!K)return null;for(var R=[],f=0;f=400)if(K=this.W0(),this.G.C().Y(\"client_respect_autoplay_switch_button_renderer\"))K=!!K.autoplaySwitchButtonRenderer;else{var R,f,V,D;K=!!((R=K.getWatchNextResponse())==null?0:(f=R.contents)==null?0:(V=f.twoColumnWatchNextResults)==null?0:(D=V.autoplay)==null?0:D.autoplay)!==!1}K?this.U||(this.U=!0,this.dn(this.U),R=this.W0(),this.Tg(R.autonavState),this.G.logVisibility(this.element,this.U)):\n(this.U=!1,this.dn(this.U))};\ng.w.Tg=function(K){t4M(this)?this.isChecked=K!==1:((K=K!==1)||(K=g.Mm(),K=g.No(\"web_autonav_allow_off_by_default\")&&!K.aG(141)&&g.KI(\"AUTONAV_OFF_BY_DEFAULT\")?!1:!K.aG(140)),this.isChecked=K);WxG(this)};\ng.w.onClick=function(){this.isChecked=!this.isChecked;this.G.zK(this.isChecked?2:1);WxG(this);if(t4M(this)){var K=this.W0().autoplaySwitchButtonRenderer;this.isChecked&&(K==null?0:K.onEnabledCommand)?this.G.lD(\"innertubeCommand\",K.onEnabledCommand):!this.isChecked&&(K==null?0:K.onDisabledCommand)&&this.G.lD(\"innertubeCommand\",K.onDisabledCommand)}this.G.logClick(this.element)};\ng.w.getValue=function(){return this.isChecked};\ng.w.W0=function(){return this.G.getVideoData(1)};g.x(AGG,K_);g.x(Um,l8);Um.prototype.T2=function(K){K?this.U||(this.W5.ZZ(this),this.U=!0):this.U&&(this.W5.uX(this),this.U=!1);this.U&&dt(this,pxB())};\nUm.prototype.J=function(){g.c2(this.element,\"ytp-menuitem-highlight-transition-enabled\")};\nUm.prototype.X=function(K){var R=pxB();K!==R&&(R=g.Mm(),p4(190,K),p4(192,!0),R.save(),this.G.lD(\"cinematicSettingsToggleChange\",K))};\nUm.prototype.uD=function(){this.U&&this.W5.uX(this);l8.prototype.uD.call(this)};g.x(WW,K_);WW.prototype.updateCinematicSettings=function(K){this.U=K;var R;(R=this.menuItem)==null||R.T2(K);this.api.publish(\"onCinematicSettingsVisibilityChange\",K)};g.x(Z1N,K_);g.x(t4,K_);t4.prototype.setCreatorEndscreenVisibility=function(K){var R;(R=NO(this.api.JV()))==null||R.dn(K)};\nt4.prototype.U=function(K){function R(V){V===\"creatorendscreen\"&&(V=NO(f.api.JV()))&&V.Rx0(f.hideButton)}\nvar f=this;this.hideButton=K;this.events.j(this.api,\"modulecreated\",R);R(\"creatorendscreen\")};g.x(XpG,K_);g.x(A4,l8);A4.prototype.B=function(K){this.J(K?1:0)};\nA4.prototype.Th=function(){if(this.enableNewAudioSettingsMenu||this.X){var K=this.G.getPresentingPlayerType();K===2||K===3?this.U&&(this.U=!1,this.W5.uX(this)):(K=this.getDrcState(),K!==1?(K===0?(dt(this,this.K()===1),this.setEnabled(!0)):(dt(this,!1),this.setEnabled(!1)),this.U||(this.W5.ZZ(this),this.U=!0)):this.U&&(this.W5.uX(this),this.U=!1))}else{K=this.hasDrcAudioTrack();var R=this.K()===1&&K;dt(this,R);this.setEnabled(K)}};\nA4.prototype.uD=function(){this.W5.uX(this);l8.prototype.uD.call(this)};\nA4.prototype.T=function(){this.G.logClick(this.element)};g.x(J4,K_);g.w=J4.prototype;g.w.getDrcUserPreference=function(){return this.U};\ng.w.setDrcUserPreference=function(K){this.api.KQ(\"drc_set\",{pref:K});g.Pe(\"yt-player-drc-pref\",K,31536E3);K!==this.U&&(this.U=K,this.updateEnvironmentData(),this.RJ()&&this.api.Hg(),this.api.bH())};\ng.w.updateEnvironmentData=function(){this.api.C().nT=this.U===1};\ng.w.RJ=function(){var K,R,f=(K=this.api.getVideoData())==null?void 0:(R=K.X)==null?void 0:R.U;if(!f)return!1;if(this.api.getAvailableAudioTracks().length>1&&this.api.Y(\"mta_drc_mutual_exclusion_removal\")){var V,D,H=(V=this.api.zR())==null?void 0:(D=V.tV)==null?void 0:D.id;return V3(f,function(l){var F;return l.audio.U&&((F=l.tV)==null?void 0:F.id)===H})}return V3(f,function(l){var F;\nreturn((F=l.audio)==null?void 0:F.U)===!0})};\ng.w.getDrcState=function(){return this.api.Fq(3)};g.x(ZJ,K_);ZJ.prototype.onVideoDataChange=function(){var K=this,R=this.api.getVideoData();this.api.BV(\"embargo\",1);var f=R==null?void 0:R.oo.get(\"PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO\");(f==null?0:f.length)?Pfv(this,f.filter(function(V){return Tjw(K,V)})):(R==null?0:R.cueRanges)&&Pfv(this,R.cueRanges.filter(function(V){return Tjw(K,V)}))};\nZJ.prototype.K=function(K){return K.embargo!==void 0};\nZJ.prototype.uD=function(){K_.prototype.uD.call(this);this.U={}};g.x(BW,K_);\nBW.prototype.addEmbedsConversionTrackingParams=function(K){var R=this.api.C(),f=R.widgetReferrer,V=R.Fn,D=this.U,H=\"\",l=R.getWebPlayerContextConfig();l&&(H=l.embedsIframeOriginParam||\"\");f.length>0&&(K.embeds_widget_referrer=f);V.length>0&&(K.embeds_referring_euri=V);R.J&&H.length>0&&(K.embeds_referring_origin=H);l&&l.embedsFeature&&(K.feature=l.embedsFeature);D.length>0&&(R.Y(\"embeds_web_enable_lite_experiment_control_arm_logging\")?D.unshift(28572):g.Sz(g.Ml(R))&&D.unshift(159628),R=D.join(\",\"),R=\ng.uj()?R:g.jX(R,4),K.source_ve_path=R);this.U.length=0};g.x(niB,K_);g.x(I1z,K_);g.x(XK,g.O);XK.prototype.uD=function(){g.O.prototype.uD.call(this);this.U=null;this.K&&this.K.disconnect()};g.x(O1z,K_);g.x(k2,K_);k2.prototype.dismissFeaturedProductOverlay=function(){this.api.publish(\"featuredproductdismissed\")};g.x(TM,g.Y);TM.prototype.show=function(){g.Y.prototype.show.call(this);this.api.logVisibility(this.element,!0)};\nTM.prototype.stopTimer=function(){this.U&&(this.U.dispose(),this.U=null)};\nTM.prototype.onVideoDataChange=function(K){var R,f,V=(R=this.api.getVideoData())==null?void 0:(f=R.getPlayerResponse())==null?void 0:f.playabilityStatus;V&&(R=j0_(V),g.G(this.api.getPlayerStateObject(),128)||K===\"dataloaderror\"||!R?(this.K=0,this.stopTimer(),this.hide()):(K=(R.remainingTimeSecs||0)*1E3,K>0&&(this.show(),this.updateValue(\"label\",R0(R.label)),M4e(this,K))))};\nTM.prototype.uD=function(){this.stopTimer();g.Y.prototype.uD.call(this)};g.x(b12,K_);g.x(PW,g.Y);PW.prototype.onClick=function(){this.YW.logClick(this.element);this.YW.lD(\"onFullerscreenEduClicked\")};\nPW.prototype.T2=function(){this.YW.isFullscreen()?this.U?this.fade.hide():this.fade.show():this.hide();this.YW.logVisibility(this.element,this.YW.isFullscreen()&&!this.U)};g.x(n_,K_);n_.prototype.updateFullerscreenEduButtonSubtleModeState=function(K){var R;(R=this.U)!=null&&(g.yb(R.element,\"ytp-fullerscreen-edu-button-subtle\",K),K&&!R.K&&(R.YW.Y(\"player_tooltip_data_title_killswitch\")?R.element.setAttribute(\"title\",\"Scroll for details\"):R.element.setAttribute(\"data-tooltip-title\",\"Scroll for details\"),Ny(R.YW,R.element,R),R.K=!0))};\nn_.prototype.updateFullerscreenEduButtonVisibility=function(K){var R;(R=this.U)!=null&&(R.U=K,R.T2())};g.x(ppe,g.Y);g.x(Gn5,K_);g.x(IW,K_);IW.prototype.getSphericalProperties=function(){var K=g.TV(this.api.JV());return K?K.getSphericalProperties():{}};\nIW.prototype.setSphericalProperties=function(K){if(K){var R=g.TV(this.api.JV());R&&R.setSphericalProperties(K,!0)}};g.x(gt,K_);g.w=gt.prototype;g.w.createClientVe=function(K,R,f,V){this.api.createClientVe(K,R,f,V===void 0?!1:V)};\ng.w.createServerVe=function(K,R,f){this.api.createServerVe(K,R,f===void 0?!1:f)};\ng.w.setTrackingParams=function(K,R){this.api.setTrackingParams(K,R)};\ng.w.logClick=function(K,R){this.api.logClick(K,R)};\ng.w.logVisibility=function(K,R,f){this.api.logVisibility(K,R,f)};\ng.w.hasVe=function(K){return this.api.hasVe(K)};\ng.w.destroyVe=function(K){this.api.destroyVe(K)};var s0o=!1;jn.prototype.setPlaybackRate=function(K){this.playbackRate=Math.max(1,K)};\njn.prototype.getPlaybackRate=function(){return this.playbackRate};GM.prototype.HS=function(K){var R=g.nH(K.info.RY.info,this.fQ.qY),f=K.info.t5+this.J,V=K.info.startTime*1E3;if(this.policy.Za)try{V=this.policy.Za?g.Ey(K)*1E3:K.info.startTime*1E3}catch(l){Math.random()>.99&&this.logger&&(V=yw(K.K).slice(0,1E3),this.logger&&this.logger({parserErrorSliceInfo:K.info.yI(),encodedDataView:g.OY(V,4)})),V=K.info.startTime*1E3}var D=K.info.clipId,H=this.policy.Za?g.CRz(K)*1E3:K.info.duration*1E3;this.policy.Za&&(V<0||H<0)&&(this.logger&&(this.logger({missingSegInfo:K.info.yI(),\nstartTimeMs:V,durationMs:H}),this.policy.N9||(V<0&&(V=K.info.startTime*1E3),H<0&&(H=K.info.duration*1E3))),this.policy.N9&&(V<0&&(V=K.info.startTime*1E3),H<0&&(H=K.info.duration*1E3)));return{formatId:R,t5:f,startTimeMs:V,clipId:D,Kg:H}};\nGM.prototype.YE=function(K){this.timestampOffset=K};u8.prototype.seek=function(K,R){K!==this.targetTime&&(this.seekCount=0);this.targetTime=K;var f=this.videoTrack.U,V=this.audioTrack.U,D=this.audioTrack.DZ,H=oqD(this,this.videoTrack,K,this.videoTrack.DZ,R);R=oqD(this,this.audioTrack,this.policy.bd?K:H,D,R);K=Math.max(K,H,R);this.J=!0;this.fQ.isManifestless&&(FCB(this,this.videoTrack,f),FCB(this,this.audioTrack,V));return K};\nu8.prototype.isSeeking=function(){return this.J};\nu8.prototype.Us=function(K){this.K=K};\nvar hbN=2/24;var vqB=0;var lC;dc.prototype.add=function(K){if(this.pos+20>this.data.length){var R=new Uint8Array(this.data.length*2);R.set(this.data);this.data=R}for(;K>31;)this.data[this.pos++]=lC[(K&31)+32],K>>=5;this.data[this.pos++]=lC[K|0]};\ndc.prototype.PB=function(){return g.vu(this.data.subarray(0,this.pos))};\ndc.prototype.reset=function(){this.pos=0};g.w=rc.prototype;g.w.XS=function(){this.EF=this.now();zbo(this.IG,this.EF);this.jr.XS()};\ng.w.sP=function(K,R){var f=this.policy.K?(0,g.N7)():0;yz(this,K,R);K-this.T<10&&this.K>0||this.IR(K,R);this.jr.sP(K,R);this.policy.K&&(K=(0,g.N7)()-f,this.Kh+=K,this.v5=Math.max(K,this.v5))};\ng.w.IR=function(K,R){var f=(K-this.T)/1E3,V=R-this.X;this.RT||(gkM(this.IG,f,V),this.Mw(f,V));this.T=K;this.X=R};\ng.w.q7=function(){this.B5&&wFc(this);this.jr.q7()};\ng.w.ow=function(K){this.B5||(this.B5=this.B-this.Ch+K,this.XQ=this.B,this.vK=this.N)};\ng.w.JH=function(K,R){K=K===void 0?this.N:K;R=R===void 0?this.B:R;this.K>0||(this.Z=K,this.K=R,this.UF=this.isActive=!0)};\ng.w.eh=function(){return this.Vf||2};\ng.w.zL=function(){};\ng.w.f_=function(){var K,R={rn:this.requestNumber,rt:(this.N-this.U).toFixed(),lb:this.B,stall:(1E3*this.J).toFixed(),ht:(this.EF-this.U).toFixed(),elt:(this.Z-this.U).toFixed(),elb:this.K,d:(K=this.y0)==null?void 0:K.PB()};this.url&&uAB(R,this.url);this.policy.K&&(R.mph=this.v5.toFixed(),R.tph=this.Kh.toFixed());R.ulb=this.er;R.ult=this.aY;return R};\ng.w.now=function(){return(0,g.N7)()};\ng.w.deactivate=function(){this.isActive&&(this.isActive=!1)};g.x(o7,rc);g.w=o7.prototype;g.w.f_=function(){var K=rc.prototype.f_.call(this);K.pb=this.Pb;K.pt=(1E3*this.Gt).toFixed();K.se=this.nh;return K};\ng.w.JX=function(){var K=this.jr;this.kW||(this.kW=K.JX?K.JX():1);return this.kW};\ng.w.Fl=function(){return this.Wo?this.JX()!==1:!1};\ng.w.Cu=function(K,R,f){if(!this.hV){this.hV=!0;if(!this.RT){yz(this,K,R);this.IR(K,R);var V=this.JX();this.nh=f;if(!this.RT)if(V===2){V=K-this.Z0)||iC(this,V,R),this.K>0&&mE(this.IG,R,this.J));K=(K-this.U)/\n1E3||.01;this.policy.Z&&!(this.K>0)||YZ(this.IG,K,this.X,EqG(this),this.Cp)}this.deactivate()}};\ng.w.K6=function(K,R,f){f&&(this.kW=2);K<0&&this.Vf&&(K=this.Vf);R?this.Ne+=K:this.oY+=K};\ng.w.eh=function(){return this.oY||this.Ne||rc.prototype.eh.call(this)};\ng.w.IR=function(K,R){var f=(K-this.T)/1E3,V=R-this.X,D=this.JX();this.isActive?D===1&&((V>0||this.policy.B)&&(f>.2||V<1024)?(this.J+=f,V>0&&f>.2&&iC(this,this.z8?f:.05,V),this.pQ=!0):V>0&&(iC(this,f,V),this.pQ=!0)):R&&R>=this.policy.U&&this.JH(K,R);rc.prototype.IR.call(this,K,R)};\ng.w.lY=function(K){if(!this.RT){yz(this,K,this.B);var R=(K-this.U)/1E3;this.JX()!==2&&this.K>0&&(this.J+=(K-this.T)/1E3,mE(this.IG,this.X,this.J));YZ(this.IG,R,this.X,EqG(this),this.Cp,!0);K=(K-this.T)/1E3;gkM(this.IG,K,0);this.Mw(K,0)}};\ng.w.JH=function(K,R){K=K===void 0?this.N:K;R=R===void 0?this.B:R;if(!(this.K>0)&&(rc.prototype.JH.call(this,K,R),this.JX()===1)){R=(this.EF-this.U)/1E3;var f=(K-this.EF)/1E3;this.Wo&&vh(this,this.now());this.bd||this.RT||(this.Vf&&(f=Math.max(0,f-this.Vf)),K=this.IG,K.Z.DY(1,R),K.y0.DY(1,f))}};\ng.w.wH=function(){this.Wo&&vh(this,this.now());return this.G2};\ng.w.Rj=function(){var K;if(K=this.X>this.CD)K=(K=this.X)?K>=this.policy.U:!1;return K};\ng.w.DW=function(){return this.Za};\ng.w.Aj=function(K){K=K===void 0?this.now():K;if(this.Wo){vh(this,K);if(this.kW?this.Fl():this.Xt!==this.qe){var R=this.qe;if(K0?f+K:f+Math.max(K,R)};\ng.w.yG=function(){return this.now()-this.Z};\ng.w.Nt=function(){return(this.X-this.K)*1E3/this.yG()||0};\ng.w.JA=function(){return this.Z};Lt.prototype.feed=function(K){lB(this.U,K);this.zi()};\nLt.prototype.zi=function(){if(this.J){if(!this.U.totalLength)return;var K=this.U.split(this.X-this.K),R=K.FU;K=K.VP;if(!this.jr.ow(this.J,R,this.K,this.X))return;this.K+=R.totalLength;this.U=K;this.K===this.X&&(this.J=this.X=this.K=void 0)}for(;;){var f=0;K=g.Z(Ube(this.U,f));R=K.next().value;f=K.next().value;f=g.Z(Ube(this.U,f));K=f.next().value;f=f.next().value;if(R<0||K<0)break;if(!(f+K<=this.U.totalLength)){if(!(this.jr.ow&&f+1<=this.U.totalLength))break;f=this.U.split(f).VP;this.jr.ow(R,f,0,\nK)&&(this.J=R,this.K=f.totalLength,this.X=K,this.U=new $4([]));break}K=this.U.split(f).VP.split(K);f=K.VP;this.jr.JB(R,K.FU);this.U=f}};\nLt.prototype.dispose=function(){this.U=new $4};g.w=wc.prototype;g.w.w2=function(){return 0};\ng.w.Td=function(){return null};\ng.w.pz=function(){return null};\ng.w.Yr=function(){return this.state>=1};\ng.w.isComplete=function(){return this.state>=3};\ng.w.Fp=function(){return this.state===5};\ng.w.onStateChange=function(){};\ng.w.YY=function(K){var R=this.state;this.state=K;this.onStateChange(R);this.callback&&this.callback(this,R)};\ng.w.Xc=function(K){K&&this.state=this.xhr.HEADERS_RECEIVED};\ng.w.getResponseHeader=function(K){try{return this.xhr.getResponseHeader(K)}catch(R){return\"\"}};\ng.w.tM=function(){return+this.getResponseHeader(\"content-length\")};\ng.w.OS=function(){return this.K};\ng.w.X1=function(){return this.status>=200&&this.status<300&&!!this.K};\ng.w.Xm=function(){return this.U.totalLength>0};\ng.w.oK=function(){var K=this.U;this.U=new $4;return K};\ng.w.mA=function(){return this.U};\ng.w.abort=function(){this.mZ=!0;this.xhr.abort()};\ng.w.dV=function(){return!0};\ng.w.Zm=function(){return this.X};\ng.w.R0=function(){return\"\"};g.w=AHe.prototype;\ng.w.run=function(){var K=this,R,f,V,D,H,l,F,c,r,y,h,S,v,L,E;return g.I(function(Q){if(Q.U==1){K.status=200;R=K.U.get(\"docid\");f=bm(K.U.get(\"fmtid\")||\"\");V=K.U.get(\"lmt\")||\"0\";D=+(K.U.get(\"csz\")||0);if(!R||!f||!D)throw Error(\"Invalid local URL\");K.U.get(\"ck\")&&K.U.get(\"civ\")&&(H=new tkD(K.U.get(\"ck\"),K.U.get(\"civ\")));l=K.range;F=Math.floor(l.start/D);c=Math.floor(l.end/D);r=F}if(Q.U!=5)return r<=c?g.P(Q,hs5(R,f,V,r,H),5):Q.J5(0);y=Q.K;if(y===void 0)throw Error(\"invariant: data is undefined\");h=r*D;\nS=(r+1)*D;v=Math.max(0,l.start-h);L=Math.min(l.end+1,S)-(v+h);E=new Uint8Array(y.buffer,v,L);K.K.append(E);K.loaded+=L;K.loaded=200&&this.status<300&&!!this.K};\ng.w.Xm=function(){return!!this.U.totalLength};\ng.w.oK=function(){var K=this.U;this.U=new $4;return K};\ng.w.mA=function(){return this.U};\ng.w.mZ=function(){return this.aborted};\ng.w.abort=function(){this.X&&this.X.cancel().catch(function(){});\nthis.J&&this.J.abort();this.aborted=!0};\ng.w.dV=function(){return!0};\ng.w.Zm=function(){return this.B};\ng.w.R0=function(){return this.errorMessage};g.w=BMc.prototype;g.w.onDone=function(){if(!this.mZ){this.status=this.xhr.status;try{this.response=this.xhr.response,this.K=this.response.byteLength}catch(K){}this.U=!0;this.jr.q7()}};\ng.w.y$=function(){this.xhr.readyState===2&&this.jr.XS()};\ng.w.onProgress=function(K){this.mZ||(this.status=this.xhr.status,this.U||(this.K=K.loaded),this.jr.sP((0,g.N7)(),K.loaded))};\ng.w.yC=function(){return this.xhr.readyState>=2};\ng.w.getResponseHeader=function(K){try{return this.xhr.getResponseHeader(K)}catch(R){return g.A$(Error(\"Could not read XHR header \"+K)),\"\"}};\ng.w.tM=function(){return+this.getResponseHeader(\"content-length\")};\ng.w.OS=function(){return this.K};\ng.w.X1=function(){return this.status>=200&&this.status<300&&this.U&&!!this.K};\ng.w.Xm=function(){return this.U&&!!this.response&&!!this.response.byteLength};\ng.w.oK=function(){var K=this.response;this.response=void 0;return new $4([new Uint8Array(K)])};\ng.w.mA=function(){return new $4([new Uint8Array(this.response)])};\ng.w.abort=function(){this.mZ=!0;this.xhr.abort()};\ng.w.dV=function(){return!1};\ng.w.Zm=function(){return!1};\ng.w.R0=function(){return\"\"};g.x(EF,g.O);EF.prototype.RM=function(){if(!this.YN.length)return[];var K=this.YN;this.YN=[];this.X=g.p8(K).info;return K};\nEF.prototype.D3=function(){return this.YN};\nEF.prototype.uD=function(){g.O.prototype.uD.call(this);this.U=null;this.YN.length=0;this.xW.length=0;this.X=null};g.x(Qz,g.O);g.w=Qz.prototype;\ng.w.l8Q=function(){if(!this.mZ()){var K=(0,g.N7)(),R=!1;if(this.policy.Fn){var f=this.timing.K>0?this.timing.Z:this.timing.U;this.policy.PWa&&this.X&&(f=this.X);K=K-f-(this.policy.Sf?this.policy.qh:this.timing.eh()*1E3);f=PF(NK(this),!1);K>=2E3*f?R=!0:K>=this.policy.RV*f&&(this.U=this.policy.Ac)}else if(this.timing.K>0){if(this.T){this.policy.vK&&(this.U=0);return}K=this.timing.DW();this.timing.Aj();this.timing.DW()-K>=this.policy.P9*.8?(this.U++,R=this.U>=5):this.U=0}else R=K-this.timing.wH(),this.policy.Ac&&\nR>0&&(this.U+=1),K=PF(NK(this),!1)*this.policy.jo,R=R>K*1E3;this.U>0&&this.jr.aJ();R?this.l6():this.K.start()}};\ng.w.l6=function(){this.B=!0;this.jr.I6();this.lastError=\"net.timeout\";Wh(this)};\ng.w.canRetry=function(K){var R=NK(this);K=K?this.policy.f5:this.policy.ao;return R.timedOut0&&(R=hR(R.U,0),K.ubyte=R,f===1&&R===0&&(K.b248180278=!0))}this.tK&&(K.rc=this.policy.TY?this.tK:this.tK.toString());this.policy.Dk&&this.Bp&&(K.tr=this.Bp);K.itag=this.info.xW[0].RY.info.itag;K.ml=\"\"+ +this.info.xW[0].RY.Rm();K.sq=\"\"+this.info.xW[0].t5;this.hh&&(K.ifi=\"\"+ +nB(16,this.info.Qe.K));this.tK!==410&&this.tK!==500&&this.tK!==503||(K.fmt_unav=\"true\");var V;(f=this.errorMessage||((V=this.xhr)==null?\nvoid 0:V.R0()))&&(K.msg=f);this.KS&&(K.smb=\"1\");this.info.isDecorated()&&(K.sdai=\"1\");return K};\ng.w.Pd=function(){return aqv(this.timing)};\ng.w.R0=function(){return this.xhr.R0()||\"\"};\ng.w.Rj=function(){return this.isComplete()||this.timing.Rj()};\ng.w.sP=function(){!this.mZ()&&this.xhr&&(this.tK=this.xhr.status,this.policy.E0&&this.Up&&this.FH(!1),this.Uf()?this.Xc(2):!this.Ok&&this.Rj()&&(this.Xc(),this.Ok=!0))};\ng.w.XS=function(){if(!this.mZ()&&this.xhr){if(!this.o6&&this.xhr.yC()&&this.xhr.getResponseHeader(\"X-Walltime-Ms\")){var K=Number(this.xhr.getResponseHeader(\"X-Walltime-Ms\"));this.o6=((0,g.N7)()-K)/1E3}this.xhr.yC()&&this.xhr.getResponseHeader(\"X-Restrict-Formats-Hint\")&&this.policy.AV2&&!$YN()&&g.Pe(\"yt-player-headers-readable\",!0,2592E3);K=Number(this.xhr.getResponseHeader(\"X-Head-Seqnum\"));var R=Number(this.xhr.getResponseHeader(\"X-Head-Time-Millis\")),f;(f=this.Wt)==null||f.stop();this.fW=K||this.fW;\nthis.vX=R||this.vX}};\ng.w.q7=function(){var K=this.xhr;if(!this.mZ()&&K){this.tK=K.status;K=this.IJ(K);if(this.policy.Dk){var R;(R=this.Wt)==null||R.stop()}K===5?Wh(this.VI):this.YY(K);this.VI.K.stop()}};\ng.w.IJ=function(K){cSv(this);if(tO(this.VI,this.xhr.status,this.PZ?this.timing.UF||this.PW:this.xhr.X1(),!1,this.ys))return 5;var R=\"\";AO(this.VI,this.xhr)&&(R=nqM(this.VI,this.xhr));if(R)return TK(NK(this.VI)),this.info.xV(this.hh,R),3;R=K.OS();if(this.hQ){this.FH(!0);cSv(this);if(tO(this.VI,this.xhr.status,this.timing.UF||this.PW,!1,this.ys))return 5;if(!this.Hp){if(this.PW)return TK(NK(this.VI)),3;this.VI.lastError=\"net.closed\";return 5}}else{if(tO(this.VI,this.xhr.status,this.xhr.X1(),!1,this.ys))return 5;\nvar f=this.info.X;if(f&&f!==R||K.Zm())return this.VI.lastError=\"net.closed\",5;this.FH(!0)}f=WCD(this)?K.getResponseHeader(\"X-Bandwidth-Est\"):0;if(K=WCD(this)?K.getResponseHeader(\"X-Bandwidth-Est3\"):0)this.tp=!0,this.policy.jT&&(f=K);P2B(this.VI,R,f?Number(f):0,this.info.xW[0].type===5);return 4};\ng.w.canRetry=function(){this.mZ();var K=this.info.isDecorated();return this.VI.canRetry(K)};\ng.w.onStateChange=function(){this.isComplete()&&(this.policy.EK?this.I6():this.timing.deactivate())};\ng.w.l6=function(){this.VI.l6()};\ng.w.aJ=function(){this.callback&&this.callback(this,this.state)};\ng.w.c8=function(){return this.VI.c8()};\ng.w.dispose=function(){wc.prototype.dispose.call(this);this.VI.dispose();var K;(K=this.Wt)==null||K.dispose();this.policy.EK||this.I6()};\ng.w.I6=function(){this.xhr&&this.xhr.abort();this.timing.deactivate()};\ng.w.RM=function(){if(!this.D3().length)return[];this.wY=!0;return this.Up.RM()};\ng.w.Uf=function(){if(this.state<1)return!1;if(this.Up&&this.Up.YN.length)return!0;var K;return((K=this.xhr)==null?0:K.Xm())?!0:!1};\ng.w.D3=function(){this.FH(!1);return this.Up?this.Up.D3():[]};\ng.w.FH=function(K){try{if(K||this.xhr.yC()&&this.xhr.Xm()&&!AO(this.VI,this.xhr)&&!this.B7)this.Up||(this.Up=new EF(this.policy,this.info.xW)),this.xhr.Xm()&&(this.hQ?this.hQ.feed(this.xhr.oK()):a7(this.Up,this.xhr.oK(),K&&!this.xhr.Xm()))}catch(R){this.hQ?d02(this,R):g.A$(R)}};\ng.w.JB=function(K,R){switch(K){case 21:K=R.split(1).VP;F42(this,K);break;case 22:this.Hp=!0;a7(this.Up,new $4([]),!0);break;case 43:if(K=Wu(new x4(R),1))this.info.xV(this.hh,K),this.PW=!0;break;case 45:R=we(new x4(R));K=R.Qa;R=R.OD;K&&R&&(this.EG=K/R);break;case 44:this.Lq=GqM(new x4(R));var f,V,D;!this.timing.UF&&((f=this.Lq)==null?void 0:f.action)===4&&((V=this.Lq)==null?0:(D=V.Bj)==null?0:D.PZ)&&(this.PZ=this.Lq.Bj.PZ);break;case 53:this.policy.Dk&&(K=pvB(new x4(R)).lQ)&&(this.Wt||(this.lQ=K,this.Wt=\nnew g.CW(this.Kr,K,this)),this.Wt.start());break;case 60:this.nI=LH(new x4(R));break;case 58:if(K=xfe(new x4(R)))this.gS=K,K.gS===3&&(this.ys=!0)}};\ng.w.ow=function(K,R,f,V){f||this.timing.ow(V);if(K!==21)return!1;if(K=this.policy.E0)if(K*=this.info.xW[0].RY.info.c5,R.totalLength+f!==V&&R.totalLength0)return!1;if(!this.xhr.yC())return!0;if(this.hQ)var K=!this.info.X;else this.xhr.tM()?K=!1:(K=this.xhr.getResponseHeader(\"content-type\"),K=K===\"audio/mp4\"||K===\"video/mp4\"||K===\"video/webm\");if(!K)return!1;if(isNaN(this.info.KP)){K=this.xhr.getResponseHeader(\"x-head-seqnum\");var R=this.timing.policy.N?1:0;if(K&&Number(K)>this.info.xW[0].t5+R)return!1}return!0};\ng.w.OZ=function(){return+this.xhr.getResponseHeader(\"X-Segment-Lmt\")||0};\ng.w.Td=function(){this.xhr&&(this.fW=Number(this.xhr.getResponseHeader(\"X-Head-Seqnum\")));return this.fW};\ng.w.pz=function(){this.xhr&&(this.vX=Number(this.xhr.getResponseHeader(\"X-Head-Time-Millis\")));return this.vX};\ng.w.jH=function(){return this.VI.jH()};\ng.w.Kr=function(){if(!this.mZ()&&this.xhr){this.Bp=\"heartbeat\";var K=this.VI;K.U+=2;this.aJ()}};g.x(nt,rc);g.w=nt.prototype;g.w.IR=function(K,R){var f=(K-this.T)/1E3,V=R-this.X;this.K>0?V>0&&(this.Xt&&(f>.2||V<1024?(this.J+=f,f>.2&&rSG(this,.05,V)):rSG(this,f,V)),this.qe&&(this.G2+=V,this.oY+=f)):R>this.policy.U&&this.JH(K,R);rc.prototype.IR.call(this,K,R)};\ng.w.Cu=function(K,R){yz(this,K,R);this.IR(K,R);this.Xt&&(R=this.X*this.snapshot.stall+this.X/this.snapshot.byterate,this.K>0&&mE(this.IG,this.G2,this.J),K=(K-this.U)/1E3||.01,this.policy.Z&&!(this.K>0)||YZ(this.IG,K,this.X,R,!1))};\ng.w.lY=function(K){yz(this,K,this.B);var R=(K-this.T)/1E3;gkM(this.IG,R,0);this.Mw(R,0);!this.Xt&&this.K>0||(R=this.X*this.snapshot.stall+this.X/this.snapshot.byterate,this.K>0&&(this.J+=(K-this.T)/1E3,mE(this.IG,this.G2,this.J)),YZ(this.IG,(K-this.U)/1E3||.01,this.X,R,!1,!0))};\ng.w.GI=function(K){K=K.ji||2147483647;(K&2)!==2&&(this.qe=!1);(K&1)===1&&(this.Xt=!0)};\ng.w.yr=function(K){K=K.ji||2147483647;(K&2)===2&&(this.qe=!1);(K&1)===1&&(this.Xt=!1)};\ng.w.JA=function(){return this.Z};\ng.w.yG=function(){var K=this.qe?this.now()-this.T:0;return Math.max(this.oY*1E3+K,1)};\ng.w.Nt=function(){return this.G2*1E3/this.yG()};\ng.w.JH=function(K,R){K=K===void 0?this.N:K;R=R===void 0?this.B:R;this.K>0||(rc.prototype.JH.call(this,K,R),R=this.IG,K=(K-this.EF)/1E3,R.Z.DY(1,(this.EF-this.U)/1E3),R.y0.DY(1,K))};\ng.w.zL=function(K){this.Ne=K};\ng.w.f_=function(){var K=rc.prototype.f_.call(this);K.rbw=this.Nt();K.rbe=+this.qe;K.gbe=+this.Xt;K.ackt=(this.Ne-this.U).toFixed();return K};\ng.w.Aj=function(){};\ng.w.DW=function(){return NaN};\ng.w.wH=function(){return this.U+this.snapshot.delay*1E3};I7.prototype.JB=function(K,R){switch(K){case 20:K=new x4(R);K={Yb:Qw(K,1),videoId:Wu(K,2),itag:Qw(K,3),lmt:Qw(K,4),xtags:Wu(K,5),Cq:Qw(K,6),Ip:NI(K,8),zs:Qw(K,9),xSr:Qw(K,10),startMs:Qw(K,11),durationMs:Qw(K,12),PA:Qw(K,14),timeRange:tR(K,15,Dfe),H1:Qw(K,16),rX:Qw(K,17),uj:Qw(K,20),clipId:Wu(K,1E3)};this.w_(K);break;case 21:this.RW(R,!1);break;case 22:this.Zo(R);break;case 31:K=Z7(R,nxB);this.jr.iY(K);break;case 52:K=Z7(R,Yl5);this.jr.R3(K);break;case 69:K={YP:JR(new x4(R),1,JJD)};this.jr.fO(K);break;\ndefault:this.ze(K,R)}};\nI7.prototype.w_=function(){};\nI7.prototype.ze=function(){};var aLu=new Set([53,49,50]);g.x(OF,I7);g.w=OF.prototype;g.w.ze=function(K,R){Q5o(this.jr)&&!aLu.has(K)?this.U.push({id:K,data:R}):ySG(this,K,R)};\ng.w.Ak=function(K){K=new x4(K);K={P6Z:JR(K,1,o2),Z60:JR(K,2,o2)};this.jr.Ak(K)};\ng.w.hk=function(K){var R=new x4(K);K=AR(R,1);var f=AR(R,2);R=AR(R,3);this.jr.hk(K,f,R)};\ng.w.nW=function(K){K=we(new x4(K));this.jr.nW(K)};\ng.w.qL=function(K){K=Z7(K,OS5);this.jr.qL(K)};\ng.w.KD=function(K){K=new x4(K);K={videoId:Wu(K,1),formatId:tR(K,2,o2),endTimeMs:Qw(K,3),ub5:Qw(K,4),mimeType:Wu(K,5),U4:tR(K,6,ZS2),indexRange:tR(K,7,ZS2),EZ:tR(K,8,Bio)};this.jr.KD(K)};\ng.w.Wq=function(K){K=new x4(K);K={type:Qw(K,1),scope:Qw(K,2),value:Uu(K,3),sendByDefault:NI(K,4),writePolicy:Qw(K,5)};this.jr.Wq(K)};\ng.w.Bf=function(){this.jr.Bf()};\ng.w.PM=function(K){K=IQD(new x4(K));this.jr.PM(K)};\ng.w.eq=function(K){K=pvB(new x4(K));this.jr.eq(K)};\ng.w.ML=function(K){K=GqM(new x4(K));this.jr.ML(K)};\ng.w.fD=function(K){K={redirectUrl:Wu(new x4(K),1)};this.jr.fD(K)};\ng.w.RW=function(K){var R=hR(K,0);if(K.totalLength!==1){K=K.split(1).VP;var f=this.K[R]||null;f&&GA(this.jr.lX,R,f,K)}};\ng.w.Zo=function(K){K=hR(K,0);var R=this.K[K]||null;R&&this.jr.Zo(K,R)};\ng.w.w_=function(K){var R=K.Yb,f=K.Ip,V=K.Cq,D=K.rX,H=K.H1,l=K.zs,F=K.startMs,c=K.durationMs,r=K.timeRange,y=K.PA,h=K.uj,S=K.clipId,v=Mb(K);K=R_i.has(Nr[\"\"+K.itag]);this.K[R]=v;var L=-1;h&&(r==null?0:r.timescale)&&(L=h/r.timescale);this.jr.K6(v,K,L,{Yb:R,Ip:!!f,Cq:V!=null?V:-1,zs:l!=null?l:-1,startMs:F!=null?F:-1,durationMs:c!=null?c:-1,PA:y,rX:D,H1:H,clipId:S,timeRange:r})};\ng.w.GI=function(K){K={ji:Qw(new x4(K),1)};this.jr.GI(K)};\ng.w.yr=function(K){K={ji:Qw(new x4(K),1)};this.jr.yr(K)};\ng.w.QN=function(K){K=xfe(new x4(K));this.jr.QN(K)};\ng.w.T1=function(K){K={B$:tR(new x4(K),1,MDN)};this.jr.T1(K)};\ng.w.onSnackbarMessage=function(K){K=Qw(new x4(K),1);this.jr.onSnackbarMessage(K)};\ng.w.Jk=function(K){K=new x4(K);K={reloadPlaybackParams:tR(K,1,zQe),bq:NI(K,2)};this.jr.Jk(K)};\ng.w.Qn=function(){for(var K=g.Z(this.U),R=K.next();!R.done;R=K.next())R=R.value,ySG(this,R.id,R.data);this.U=[]};g.x(qK,g.O);g.w=qK.prototype;g.w.po=function(){return Array.from(this.Ti.keys())};\ng.w.WA=function(K){K=this.Ti.get(K);var R=K.YN;K.Ag+=R.totalLength;K.YN=new $4;return R};\ng.w.L7=function(K){return this.Ti.get(K).L7};\ng.w.K3=function(K){return this.Ti.get(K).K3};\ng.w.K6=function(K,R,f){this.Ti.get(K)||this.Ti.set(K,{YN:new $4,Ag:0,bytesReceived:0,E4:0,uP:!1,L7:!1,K3:!1,c9:R,Pw:[],xW:[],c$:[],AY:!1,tN:new Map,vn:new Map,To:[]});R=this.Ti.get(K);this.fQ?(K=L4c(this,K,f),vav(this,f.Yb,R,K)):(f.Ip?R.E4=f.PA:R.c$.push(f),R.Pw.push(f))};\ng.w.b5=function(K){var R;return((R=this.Ti.get(K))==null?void 0:R.xW)||[]};\ng.w.Xc=function(){for(var K=g.Z(this.Ti.values()),R=K.next();!R.done;R=K.next())if(R=R.value,R.uP){if(R.onProgress)R.onProgress();R.uP=!1}};\ng.w.Zo=function(K,R){R=this.Ti.get(R);MK?R&&!R.L7&&(R.tN.get(K)?R.tN.get(K).XB=!0:R.tN.set(K,{data:new $4,bV:0,XB:!0}),R.K3=!0):R&&!R.K3&&(R.K3=!0)};\ng.w.RM=function(K){if(MK){var R=this.Ti.get(K);if(R)for(var f=g.Z(R.tN),V=f.next();!V.done;V=f.next()){var D=g.Z(V.value);V=D.next().value;D=D.next().value;var H=R.vn.get(V);if(Cn(H[0])){if(!D.XB)continue;var l=D.data,F=0,c=[];H=g.Z(H);for(var r=H.next();!r.done;r=H.next()){r=r.value;var y=r.K,h=dS(l,F,y);F+=y;c.push(new wl(r,h))}R.To.push.apply(R.To,g.X(c))}else if(D.data.totalLength>0||!H[0].range&&D.XB)l=void 0,F=H[0],c=D.bV,H=D.data,F.range||(l=D.XB),l=new wl(QgB(F,F.U+c,H.totalLength,l),H),D.bV+=\nl.info.K,R.To.push(l);R.tN.get(V).data=new $4;D.XB&&R.tN.delete(V)}K=this.Ti.get(K);if(!K)return[];R=K.To;K.To=[];f=g.Z(R);for(V=f.next();!V.done;V=f.next())K.Ag+=V.value.info.K;return R||[]}f=(R=this.Ti.get(K))==null?void 0:R.Up;if(!f)return[];this.FH(K,f);return f.RM()};\ng.w.Uf=function(K){if(MK)return mj(this,K);var R,f,V;return!!((f=(R=this.Ti.get(K))==null?void 0:R.Up)==null?0:(V=f.D3())==null?0:V.length)||mj(this,K)};\ng.w.FH=function(K,R){for(;mj(this,K);){var f=this.WA(K);var V=K;V=this.Ti.get(V).L7&&!YD(this,V);a7(R,f,V&&ihw(this,K))}};\ng.w.uD=function(){g.O.prototype.uD.call(this);for(var K=g.Z(this.Ti.keys()),R=K.next();!R.done;R=K.next())bC(this,R.value);var f;if((f=this.WV)==null?0:f.Yi)for(K=g.Z(this.Ti.values()),R=K.next();!R.done;R=K.next())R=R.value,R.tN.clear(),R.vn.clear(),R.To.length=0,R.xW.length=0,R.Pw.length=0,R.c$.length=0;this.Ti.clear()};\nvar MK=!1;var QKE=new Set([2]);g.x(uC,g.O);g.w=uC.prototype;g.w.sP=function(){!this.mZ()&&this.xhr&&(this.FH(!1),rx(this.jr,this))};\ng.w.XS=function(){};\ng.w.q7=function(){if(!this.mZ()&&this.xhr){var K=this.IJ();K===5?(this.policy.Oz&&this.jH()===\"net.badstatus\"&&this.jr.h8(),Wh(this.VI)):(this.policy.Oz&&this.jr.Tp(),this.YY(K));this.VI.K.stop();var R;(R=this.JW)==null||R.stop()}};\ng.w.IJ=function(){var K=\"\";AO(this.VI,this.xhr)&&(K=nqM(this.VI,this.xhr));if(K)return this.info.Qe.xV(this.hh,K),3;this.FH(!0);if(tO(this.VI,this.xhr.status,this.xhr.X1(),this.info.wr(),this.ys))return 5;if(this.hp)return 3;P2B(this.VI,this.xhr.OS(),0,this.wr());this.policy.aQ&&zPh(this.jr);return 4};\ng.w.FH=function(K){var R=this.xhr;!K&&AO(this.VI,this.xhr)||!R.Xm()||(K=R.oK(),this.hQ.feed(K))};\ng.w.JB=function(K,R){this.xhr.dV()&&K===21&&EaB(this);this.lP.JB(K,R)};\ng.w.ow=function(K,R,f,V){f||(this.v0.ow(V),this.policy.zI&&K===21&&EaB(this));if(K!==21)return!1;this.v0.UF=!0;K=R.totalLength;f||(this.TH=hR(R,0),R=R.split(1).VP);var D=this.policy.PE,H=this.lP.K[this.TH],l=this.fQ.X.get(H);if(D&&l&&(D*=l.info.c5,K+f!==V&&K0){this.policy.Fn&&this.VI.K.stop();K=this.v0.yG();R=this.v0.Nt();var f=a9o(this,K);if(!(R>f.T7||f.k9>0&&this.info.h6()>f.k9)){this.tj=(0,g.N7)();var V;(V=this.JW)==null||V.stop();this.policy.aQ&&(V=this.jr,K={M2:Math.round(R*K/1E3),Hs:K},V.policy.aQ&&(V.qe=K,V.bz++));this.l6()}}}};\ng.w.l6=function(){this.VI.l6()};\ng.w.ML=function(K){this.jr.ML(K,this.qD())};\ng.w.fD=function(K){this.hp=!0;this.info.Qe.xV(this.hh,K.redirectUrl)};\ng.w.GI=function(K){this.v0 instanceof nt&&this.v0.GI(K)};\ng.w.yr=function(K){this.v0 instanceof nt&&this.v0.yr(K)};\ng.w.KD=function(K){var R=K.formatId,f=Mb({itag:R.itag,lmt:R.lmt,xtags:R.xtags}),V,D,H=new Yq(((V=K.U4)==null?void 0:V.first)||0,((D=K.U4)==null?void 0:D.m_)||0),l,F;V=new Yq(((l=K.indexRange)==null?void 0:l.first)||0,((F=K.indexRange)==null?void 0:F.m_)||0);this.fQ.X.get(f)||(f=K.EZ||{},f.mimeType=K.mimeType,f.itag=R.itag,f.lastModified=\"\"+(R.lmt||0),f.xtags=R.xtags,K=this.fQ,R=gl(\"\"),f=nh(f,null),Z9(K,new tS(R,f,H,V)))};\ng.w.nW=function(K){this.jr.nW(K,this.qD())};\ng.w.onSnackbarMessage=function(K){if(this.policy.uo)this.jr.onSnackbarMessage(K)};\ng.w.fO=function(K){this.policy.T&&this.jr.fO(K,this.qD())};\ng.w.iY=function(K){this.aP=K;this.VI.X=(0,g.N7)();this.jr.iY(K)};\ng.w.hk=function(K,R,f){this.jr.hk(K,R,f)};\ng.w.Wq=function(K){K.scope===2&&(this.C9=K);this.jr.Wq(K)};\ng.w.Bf=function(){this.Uu=!0;this.jr.Bf()};\ng.w.Ak=function(K){this.policy.ZY&&this.jr.Ak(K)};\ng.w.qL=function(K){this.jr.qL(K,this.qD())};\ng.w.QN=function(K){K.gS===3&&(this.ys=!0);this.jr.QN(K)};\ng.w.T1=function(K){this.jr.T1(K)};\ng.w.Jk=function(K){this.jr.Jk(K)};\ng.w.canRetry=function(){this.mZ();return this.VI.canRetry(!1)};\ng.w.dispose=function(){if(!this.mZ()){g.O.prototype.dispose.call(this);this.VI.dispose();var K;(K=this.JW)==null||K.dispose();this.YY(-1);this.I6()}};\ng.w.YY=function(K){this.state=K;rx(this.jr,this)};\ng.w.wr=function(){return this.info.wr()};\ng.w.Ox=function(){return this.Uu};\ng.w.Hr=function(){return this.C9};\ng.w.K6=function(K,R,f,V){f>=0&&this.jr.Gc(f);V.clipId&&(this.clipId=V.clipId);this.policy.K&&!R&&(this.XH=V.zs);if(this.info.isDecorated()){var D=this.info,H,l;f=((H=D.data)==null?0:(l=H.N4)==null?0:l.EH)?D.data.N4.EH:-1;f>=0&&f>V.zs&&this.jr.loader.KQ(\"sdai\",{skpsqmismatch:\"1\",stsq:f,rcvsq:V.zs,a:R})}this.lX.K6(K,R,V);this.policy.oo&&this.aP&&this.v0 instanceof o7&&(H=this.aP.KJ,this.v0.K6(V.durationMs/1E3,R,H>0&&V.zs+1>=H));this.lX.Ti.get(K).AY=!0;this.policy.lW&&this.jr.ya(2,R)};\ng.w.Zo=function(K,R){this.lX.Zo(K,R)};\ng.w.R3=function(K){this.requestIdentifier=K};\ng.w.RM=function(K){return this.lX.RM(K)};\ng.w.b5=function(K){return this.lX.b5(K)};\ng.w.Uf=function(K){return this.lX.Uf(K)};\ng.w.po=function(){return this.lX.po()};\ng.w.JX=function(){return 1};\ng.w.qD=function(){return this.v0.requestNumber};\ng.w.jt=function(){return this.requestIdentifier};\ng.w.y9=function(){return this.hh.y9()};\ng.w.Tw=function(){this.I6()};\ng.w.I6=function(){this.v0.deactivate();var K;(K=this.xhr)==null||K.abort()};\ng.w.isComplete=function(){return this.state>=3};\ng.w.h_=function(){return this.state===3};\ng.w.Fp=function(){return this.state===5};\ng.w.qP=function(){return this.state===4};\ng.w.ZQ=function(){return this.isComplete()};\ng.w.Yr=function(){return this.state>=1};\ng.w.c8=function(){return this.policy.vK?this.VI.c8():0};\ng.w.aJ=function(){this.policy.vK&&rx(this.jr,this)};\ng.w.VH=function(){return Jp(this.info)};\ng.w.Qn=function(){this.Cx()&&!this.Lx&&(this.Lx=!0,this.lP.Qn())};\ng.w.Cx=function(){var K,R;var f=(K=this.info.U)==null?void 0:(R=K.KW)==null?void 0:R.ov;return!!f&&QKE.has(f)};\ng.w.d2=function(){return\"SABR\"};\ng.w.jH=function(){return this.VI.jH()};\ng.w.BM=function(){var K=IqN(this.VI);Object.assign(K,Uvv(this.info));K.req=\"sabr\";K.rn=this.qD();var R;if((R=this.xhr)==null?0:R.status)K.rc=this.policy.TY?this.xhr.status:this.xhr.status.toString();var f;(R=(f=this.xhr)==null?void 0:f.R0())&&(K.msg=R);this.tj&&(f=a9o(this,this.tj-this.v0.JA()),K.letm=f.ZQQ,K.mrbps=f.T7,K.mram=f.k9);return K};NlG.prototype.tick=function(K,R){this.ticks[K]=R?window.performance.timing.navigationStart+R:(0,g.N7)()};g.x(Ct,g.VQ);g.w=Ct.prototype;\ng.w.bE=function(K,R,f,V){var D=!1;this.policy.K&&(D=f?this.Xt===K.t5:this.aY===K.t5);if(this.BK&&V&&!D){V=[];D=[];var H=[],l=void 0,F=0;R&&(V=R.U,D=R.K,H=R.J,l=R.X,F=R.eB,this.KQ(\"sdai\",{sq:K.t5,ssvicpns:V.join(\".\"),ssvid:D.join(\".\")}));this.policy.K&&(f?this.Xt=K.t5:this.aY=K.t5);this.BK.oW(K.t5,K.startTime,V,D,H,f,F,l)}if(this.policy.K){if(f){this.K===1&&KL(this,5,\"noad\");var c;K.t5!==((c=this.U)==null?void 0:c.t5)&&(ZhB(this,K,R,f),isNaN(K.startTime)||BlD(this,K.t5,DT(this,K.startTime,K.t5),!!R,\nthis.BK))}}else f&&ZhB(this,K,R)};\ng.w.y7=function(K,R,f){var V=this.videoTrack.RY.index.H0()<=R;this.U={Xw:K,t5:R,W_:f};V&&ea(this,K,R)};\ng.w.iK=function(){this.BK&&this.BK.iK()};\ng.w.KQ=function(K,R,f){(K!==\"sdai\"||this.policy.zX||(f===void 0?0:f))&&this.loader.KQ(K,R)};\ng.w.Io=function(K,R){var f=this.videoTrack.RY.index.FL(K);if(f>=0){var V;var D=((V=R.yz(f,2))==null?void 0:V.jz)||\"\";if(this.policy.K||D)return R.sz(K,f),Rb(this.loader,K,K,f),this.KQ(\"sdai\",{cmskpad:1,t:K.toFixed(3),sq:f}),!0}this.KQ(\"sdai\",{cmskpad:0,t:K.toFixed(3),sq:f});return!1};g.w=I9v.prototype;g.w.SG=function(K,R,f){var V=K||this.B;this.KQ(\"clsdai\",{setadcfg:K||\"misscid\",cid:V,acpn:f,acfglen:(R==null?void 0:R.length)||0});this.U.has(V)||(this.KQ(\"clsdai\",{setadcfg:\"noentry\",cid:V}),this.U.set(V,{event:\"unknown\",startTimeSecs:0,w8:0,d6:[],qg:Date.now(),LJ:-1,Ts:6}));(K=this.U.get(V))?R?(K.Ts=6,K.d6.push(f),K.TP=R):K.Ts=2:this.KQ(\"clsdai\",{setadcfg:\"notfound\",cid:V})};\ng.w.qw=function(K){var R=K||this.B;this.KQ(\"clsdai\",{rmvadcfg:K||\"misscid\",lastcid:this.B});(K=this.U.get(R))?(K.TP=\"\",K.Ts=4):this.KQ(\"clsdai\",{rmadcfg:\"notfound\",cid:R})};\ng.w.fO=function(K,R,f,V){this.T=R;var D;if(!((((D=K.YP)==null?void 0:D.length)||0)<=0))if(V)this.X=V,this.KQ(\"clsdai\",{oncldisabled:V,rn:R});else if(K=K.YP[0],K.Xw){var H;V=-(((H=K.Xw)==null?void 0:H.dE)||0);K.timeRange&&(V+=(K.timeRange.startTicks||0)/(K.timeRange.timescale||1));var l,F,c,r,y;H=new HF(V,((l=K.Xw)==null?void 0:l.zxZ)||0,((F=K.Xw)==null?void 0:F.n0)||\"\",((c=K.Xw)==null?void 0:c.identifier)||\"\",Oho((r=K.Xw)==null?void 0:r.event),(((y=K.Xw)==null?void 0:y.dE)||0)*1E3);l=K.zs||0;this.U.has(H.identifier)?\n(F=this.U.get(H.identifier),l>F.LJ&&(F.startTimeSecs=H.startSecs,F.w8=H.w8,F.event===\"predictStart\"&&F.Ts===5&&H.event!==\"predictStart\"&&(F.qg=Date.now()),F.event=H.event)):(F={event:H.event,startTimeSecs:H.startSecs,w8:H.w8,d6:[],LJ:l,Ts:0},this.U.set(H.identifier,F),this.J&&this.KQ(\"clsdai\",{newcid:1,cid:H.identifier,evt:H.event,sn:l,rn:R,st:j5B(F.Ts)}));F.Ts===0&&((f==null?0:f.b6(H))?F.Ts=5:(F.Ts=f?2:3,F.TP=\"\"),F.qg=Date.now(),F.LJ=l,this.J&&this.KQ(\"clsdai\",{onqpnt:1,cid:H.identifier,evt:H.event,\nsn:l,rn:R,st:j5B(F.Ts)}));l>F.LJ&&(f==null||f.b6(H),F.LJ=l);this.B=H.identifier;this.J&&this.K.add(H.identifier)}};\ng.w.sz=function(K,R,f){var V=K;this.J&&(V+=f);var D,H=\"\";V=gav(this,V);V.length>0&&(H=V[0])&&(D=this.U.get(H));if(!D||D.xT){var l;this.KQ(\"clsdai\",{skipadfail:1,cid:H,sn:R,mt:K.toFixed(3),of:f.toFixed(3),skipsq:((l=D)==null?void 0:l.xT)||-1});return!1}this.KQ(\"clsdai\",{skipadsuc:1,cid:H,sn:R,mt:K.toFixed(3),of:f.toFixed(3)});D.xT=R;this.K.clear();this.K.add(H);return!0};\ng.w.DR=function(){this.KQ(\"clsdai\",{rstskipad:1});for(var K=g.Z(this.U.values()),R=K.next();!R.done;R=K.next())R.value.xT=NaN};g.x(dL,g.O);dL.prototype.LM=function(K,R,f){f=f===void 0?{}:f;this.policy.gk=e9(K,f,this.J,R===void 0?!1:R)};ye.prototype.DY=function(K,R){var f=Math.pow(this.alpha,K);this.U=R*(1-f)+f*this.U;this.K+=K};\nye.prototype.jI=function(){return this.U/(1-Math.pow(this.alpha,this.K))};ob.prototype.pC=function(K){var R=this;if(this.policy.KG){var f=new Set(K);f.size===this.y0.size&&[].concat(g.X(f)).every(function(V){return R.y0.has(V)})||(this.loader.KQ(\"lwnmow\",{itagDenylist:[].concat(g.X(K)).join(\",\")}),this.loader.Bs(!!f.size),this.EF=-1,this.y0=f,Sb(this,this.U),this.G2=!0)}};\nob.prototype.LM=function(K,R,f){f=f===void 0?{}:f;var V=this.policy.gk;this.B.LM(K,R===void 0?!1:R,f);if(V!==this.policy.gk){Sb(this,this.U);iz(this);var D,H;V>this.policy.gk&&((D=this.X)==null?0:Jv(D.info))&&((H=this.nextVideo)==null||!Jv(H.info))&&(this.UF=!0)}};var zf={I4:-1,UV:!1,ov:0};g.x(xR,g.O);xR.prototype.uD=function(){this.K=zf;EJ(this);g.O.prototype.uD.call(this)};ab.prototype.YE=function(K){this.timestampOffset=K;this.flush()};\nab.prototype.flush=function(){if(this.U.pos>0){var K={a:this.track.c9(),u:this.U.PB(),pd:Math.round(this.J),ad:Math.round(this.X)},R=this.K;if(R){var f=R.RY.info;K.itag=f.itag;f.U&&(K.xtags=f.U);K.sq=R.t5;K.st=R.startTime;K.sd=R.duration;this.track.policy.Yt&&(K.si=R.yI());R.X&&(K.esl=R.U+R.K);R.AN()&&(K.eos=1)}isNaN(this.timestampOffset)||(K.to=this.timestampOffset);var V;if(R=(V=this.track.DZ)==null?void 0:V.PK({})){for(var D in R)this.T[D]!==R[D]&&(K[\"sb_\"+D]=R[D]);this.T=R}this.track.KQ(\"sbu\",\nK);this.U.reset();this.buffered=[];this.B=this.X=this.J=0;this.timestampOffset=this.K=void 0}};Nq.prototype.dispose=function(){this.aY=!0};\nNq.prototype.mZ=function(){return this.aY};\ng.x(ZT,Error);kR.prototype.skip=function(K){this.offset+=K};\nkR.prototype.ZS=function(){return this.offset};g.w=NVD.prototype;g.w.gH=function(){return this.K};\ng.w.SZ=function(){return this.K.length?this.K[this.K.length-1]:null};\ng.w.Lv=function(){this.K=[];Ib(this);P3(this)};\ng.w.WA=function(K){this.G2=this.K.shift().info;K.info.equals(this.G2)};\ng.w.b5=function(){return g.JQ(this.K,function(K){return K.info})};\ng.w.c9=function(){return!!this.RY.info.audio};\ng.w.isDrm=function(){return!!this.RY.info.g8};\ng.w.getDuration=function(){return this.RY.index.W8()};g.x(sm,wc);g.w=sm.prototype;g.w.onStateChange=function(){this.mZ()&&(pt(this.lX,this.formatId),this.U.dispose())};\ng.w.BM=function(){var K=Syo(this.lX,this.formatId),R;var f=((R=this.lX.Ti.get(this.formatId))==null?void 0:R.bytesReceived)||0;var V;R=((V=this.lX.Ti.get(this.formatId))==null?void 0:V.Ag)||0;return{expected:K,received:f,bytesShifted:R,sliceLength:YD(this.lX,this.formatId),isAnyMediaEndReceived:this.lX.K3(this.formatId)}};\ng.w.Pd=function(){return 0};\ng.w.Rj=function(){return!0};\ng.w.RM=function(){return this.lX.RM(this.formatId)};\ng.w.D3=function(){return[]};\ng.w.Uf=function(){return this.lX.Uf(this.formatId)};\ng.w.jH=function(){return this.lastError};\ng.w.c8=function(){return 0};g.x(qq,g.O);g.w=qq.prototype;g.w.c9=function(){return!!this.RY.info.audio};\ng.w.SZ=function(){return this.X.SZ()};\ng.w.WA=function(K){this.X.WA(K);var R;(R=this.N)!=null&&(R.B.add(K.info.t5),R.U=Vk5(R,R.QI,R.bT,K,R.U),R.X=K,R.T=(0,g.N7)());this.c5=Math.max(this.c5,K.info.RY.info.c5||0)};\ng.w.getDuration=function(){return this.RY.index.W8()};\ng.w.Lv=function(){en(this);this.X.Lv()};\ng.w.Yj=function(){return this.X};\ng.w.Rw=function(K){return this.DZ?pH(this.DZ.vV(),K):!0};\ng.w.isRequestPending=function(K){return this.K.length?K===this.K[this.K.length-1].info.xW[0].t5:!1};\ng.w.YE=function(K){var R;(R=this.N)==null||R.YE(K);var f;(f=this.Z)==null||f.YE(K)};\ng.w.KQ=function(K,R){this.loader.KQ(K,R)};\ng.w.l$=function(){return this.loader.l$()};\ng.w.dispose=function(){var K;(K=this.Z)==null||K.flush();g.O.prototype.dispose.call(this)};g.x(ym,g.O);ym.prototype.X=function(){this.K++>15||(this.U=!this.U,new lbe(this.loader,this.policy,this.IG,this.Qe,this.U),this.delay.start())};\ng.w=lbe.prototype;g.w.XS=function(){};\ng.w.sP=function(){};\ng.w.q7=function(){if(!this.done)if(this.done=!0,this.xhr.status===200&&this.xhr.OS()===this.size)this.loader.KQ(\"rqs\",this.getInfo());else{var K=\"net.connect\";this.xhr.status>200?K=\"net.badstatus\":this.xhr.yC()&&(K=\"net.closed\");this.onError(K)}};\ng.w.onError=function(K){var R=this;this.loader.handleError(K,this.getInfo());Om(\"https://www.gstatic.com/ytlr/img/sign_in_avatar_default.png?rn=\"+this.timing.requestNumber,\"gp\",function(f){R.loader.KQ(\"pathprobe\",f)},function(f){R.loader.handleError(f.errorCode,f.details)})};\ng.w.getInfo=function(){var K=this.timing.f_();K.shost=hz(2,this.location.NF);K.pb=this.size;return K};g.x(oS,g.O);\noS.prototype.T=function(K,R){if(K.T){this.fQ.isLive?(K=this.fQ.UO&&this.fQ.J?K.RY.BZ(this.fQ.UO,!1):K.RY.QC(Infinity),K.KP=this.KP):K=K.RY.BZ(0,!1);if(this.EF){var f=this.EF;K.KP===0&&(K.B=f.Z)}else K.B=this.Z;return K}f=K.U;if(!f.RY.Rm())return f.RY.WX()?(K=p_(this.J,K.RY.info.c5,R.RY.info.c5,0),K=f.RY.ub(f,K)):K=f.RY.p5(f),K;var V=f.B-this.loader.getCurrentTime(),D=!f.range||f.K===0&&f.U===0?0:f.range.length-(f.U+f.K),H=f.RY;this.Zj(K,V)&&D===0&&(this.fQ.isManifestless?H=K.RY:(H=f.startTime+gbh,\nf.K&&(H+=f.duration),ft(K,H),f=K.U,H=f.RY));H.WX()?(D=this.K,R=p_(this.J,H.info.c5,R.RY.info.c5,V,D.J.length>0&&D.Z===0&&this.loader.Do),V=Hl(K),K=f.RY.ub(f,R),(R=K.X)&&K.xW.length>1&&(V||K.Qe.X||K.xW[0].RY!==f.RY?K=f.RY.ub(f,K.xW[0].K):(V=K.xW[K.xW.length-1],H=V.K/R,!V.X&&H<.4&&(K=f.RY.ub(f,R-V.K))))):(f.t5<0&&(R=fh(f),R.pr=\"\"+K.K.length,this.loader.isSeeking()&&(R.sk=\"1\"),R.snss=f.T,this.loader.KQ(\"nosq\",R)),K=H.p5(f));if(this.policy.er)for(f=g.Z(K.xW),R=f.next();!R.done;R=f.next())R.value.type=\n6;return K};\noS.prototype.Zj=function(K,R){if(!Hl(K)||!K.RY.Rm())return!1;var f;(f=this.K.G2)||(f=Hl(K)&&K.RY.Rm()&&K.U.RY.info.c5=R)return V.return();(f=K.U.get(0))&&kjM(K,f);g.lE(V)})};\nvar B6G={rZt:0,D_F:1,yXp:2,N0Z:3,jvp:4,0:\"PRIMARY\",1:\"SECONDARY\",2:\"RANDOM\",3:\"SENSITIVE_CONTENT\",4:\"C_YOUTUBE\"};IS.prototype.decrypt=function(K){var R=this,f,V,D,H,l,F;return g.I(function(c){switch(c.U){case 1:if(R.U.length&&!R.U[0].isEncrypted)return c.return();R.K=!0;R.im.B0(\"omd_s\");f=new Uint8Array(16);Rd()?V=new g.DX(K):D=new g.VE(K);case 2:if(!R.U.length||!R.U[0].isEncrypted){c.J5(4);break}H=R.U.shift();if(!V){l=D.decrypt(rS(H.buffer),f);c.J5(5);break}return g.P(c,V.decrypt(rS(H.buffer),f),6);case 6:l=c.K;case 5:F=l;for(var r=0;r=4)){var R=RN(this),f=this.xhr;R.rc=f.status;K&&(R.ab=!0);if(f.R0()){var V=\"onesie.net\";R.msg=f.R0()}else f.status>=400?V=\"onesie.net.badstatus\":f.X1()?this.rH||(V=\"onesie.response.noplayerresponse\"):V=f.status===204?\"onesie.net.nocontent\":\"onesie.net.connect\";V?this.fail(new g.e$(V,R)):(this.B0(\"or_fs\"),this.v0.Cu((0,g.N7)(),f.OS(),0),this.YY(4),this.n8&&this.KQ(\"rqs\",R));this.n8&&this.KQ(\"ombre\",\"ok.\"+ +!V);this.hW=!1;e0(this);\nCk(this.im);if(!this.Ar){this.oz.stop();var D;(D=this.I2)==null||D.stop()}var H;if(K=(H=this.A1)==null?void 0:T6D(H))for(H=0;H1E3){var K;(K=this.v0)==null||K.lY((0,g.N7)());K=RN(this);if(this.W.oG()&&this.xhr instanceof zA){var R=this.xhr;K.xrs=R.xhr.readyState;K.xpb=R.U.totalLength;K.xdc=R.J}this.fail(new g.e$(\"net.timeout\",K))}}else(0,g.N7)()-this.v0.U>1E4&&((R=this.v0)==null||R.lY((0,g.N7)()),this.u0());this.isComplete()||this.Si.start()}};\ng.w.u0=function(){this.hW=!1;if(!e0(this)){var K=RN(this);K.timeout=\"1\";this.fail(new g.e$(\"onesie.request\",K))}};\ng.w.fail=function(K){var R=this;K=R2(K);this.jA?this.bD.EA(K):(this.yA.reject(K),this.jA=!0);Ck(this.im);this.Ar||this.oz.stop();this.B0(\"or_fe\");var f,V;(f=this.A1)==null||(V=T6D(f))==null||V.forEach(function(D){R.KQ(\"pathprobe\",D)});\nthis.YY(5);this.dispose()};\ng.w.isComplete=function(){return this.state>=3};\ng.w.qP=function(){return this.state===4};\ng.w.ZQ=function(K){var R,f;return this.isComplete()||!!((R=this.bL)==null?0:(f=R.get(K))==null?0:f.U)};\ng.w.h_=function(){return!1};\ng.w.Fp=function(){return this.state===5};\ng.w.notifySubscribers=function(K){for(var R=0;R102400&&!this.RU&&(this.B0(\"or100k\"),this.RU=!0);if(K.Xm()){var R=K.oK(),f=R.totalLength;this.n8&&this.KQ(\"ombrss\",\"len.\"+f);this.hQ.feed(R)}if(this.bL)for(var V=g.Z(this.bL.keys()),D=V.next();!D.done;D=V.next()){var H=D.value;K=void 0;(K=this.bL.get(H))==null||K.Xc();this.notifySubscribers(H)}}catch(l){this.fail(l)}};\ng.w.qD=function(){return this.v0.requestNumber};\ng.w.jt=function(K){return this.Qu.get(K)};\ng.w.Cx=function(){return!1};\ng.w.d2=function(){return\"ONESIE\"};g.x(Vr,g.O);g.w=Vr.prototype;\ng.w.LG=function(K){var R=Y3(this.loader)&&K&&K.I4!==void 0&&!K.UV?K.I4*1E3+(this.loader.jy()||0):Df(this);if(this.policy.xN){var f=this.B5;var V=this.y0}else f=dx(this,this.audioTrack),V=dx(this,this.videoTrack);var D=[].concat(g.X(f.QI),g.X(V.QI));Ho(this)&&D.push.apply(D,g.X(this.B));var H=[].concat(g.X(f.ES),g.X(V.ES)),l=this.loader.Yf();if(this.policy.n6&&!this.videoData.isLivePlayback){var F=this.videoData.lengthSeconds*1E3;R>=F&&this.loader.KQ(\"invalidSabrCmt\",{cmt:R,vd:F})}var c,r;F=this.IG;\nvar y=this.bD,h=this.fQ,S=this.X,v=this.videoData.qe,L=this.policy,E=this.loader.RZ,Q=hC_(this.loader)*1E3,J=(c=this.qe)==null?void 0:c.M2;c=(r=this.qe)==null?void 0:r.Hs;var A;r=Number((A=this.K.J)==null?void 0:A.info.itag)||0;var B;A=Number((B=this.K.B)==null?void 0:B.info.itag)||0;B=this.bz;var k=this.bD.J6();var b=(K==null?0:K.ov)?K.ov:this.loader.isSuspended?4:void 0;R={IG:F,bD:y,fQ:h,QI:D,ES:H,oA:R,nextRequestPolicy:S,Ai:v,WV:L,wX:E,dP:Q,M2:J,Hs:c,bz:B,nWW:r,PDe:A,MN:l,C0:k,ov:b};D=this.loader.iT();\nH=A1(D);D&&(R.O3=H);if(K=Y3(this.loader)&&(K==null?0:K.UV)?K.I4:this.bD.UB())R.K_=K*1E3;var M;K=this.K;D=K.aY;if(((M=K.WV)==null?0:kD(M))&&!D)for(M=g.Z(K.X),H=M.next();!H.done;H=M.next())if(H.value.tV){D=!0;break}M=kD(K.WV)&&!D?[]:v_D(K,K.X);R.oO=M;M=this.K;kD(M.WV)&&!M.Xt?M=[]:(K=E_h(M),K.length===0&&(K=M.T),M=v_D(M,K));R.Di=M;R.Ty=Ho(this)?[this.T]:void 0;this.policy.ZB&&(R.v$=T95(this.loader,this.audioTrack),R.S0=T95(this.loader,this.videoTrack));M=this.loader.getCurrentTime();f=lq(this,f.QI,M);\nV=lq(this,V.QI,M);V=Math.min(f,V);if(this.policy.K&&(Ho(this)&&(f=lq(this,this.B,M),this.bD.oG()&&f=H.qv?H.Tb:void 0;l=f.playback.getVideoData();var fB;F=((fB=l.K)==null?void 0:fB.containerType)||0;fB=l.By[F];D=\n{Wg:K?Qc2(f,K):[],adsConfig:D,EH:H};!f.W.Y(\"html5_ssdai_sabr_empty_itag_xtag\")&&fB&&(D.Q1=Gd(fB.split(\";\")[0]),D.uN=fB.split(\";\")[1]||\"\");fB={gvprpro:\"v\",mt:M.toFixed(3),acpns:((Hc=D.Wg)==null?void 0:Hc.join(\"_\"))||\"none\",abid:K};f.MY(fB);Hc=D}else f.MY({gvprp:\"ncp\",mt:M}),Hc=null}Hc&&(R.N4=Hc)}if(this.policy.T){var Rw;Hc=((Rw=this.videoData.K)==null?void 0:Rw.containerType)||0;Rw=this.videoData.By[Hc];V=this.loader.isSeeking()&&!this.loader.JS?V+this.loader.jy():NaN;if((Hc=this.aY)==null)Rw=void 0;\nelse if(Hc.X!==0)Hc.KQ(\"clsdai\",{gssinfodisabled:Hc.X}),Rw=[{Ts:Hc.X===1?7:9}];else{fB=[];if(!isNaN(V))if(f=gav(Hc,V),M=Hc.T+1,f.length>0)for(Hc.KQ(\"clsdai\",{updcids:1,mt:V.toFixed(3),cid:f.join(\",\"),rn:M}),Hc.K.clear(),V=g.Z(f),f=V.next();!f.done;f=V.next())Hc.K.add(f.value);else Hc.N&&(Hc.KQ(\"clsdai\",{updcids:0,mt:V.toFixed(3),rn:M}),Hc.K.clear());V=g.Z(Hc.K);for(M=V.next();!M.done;M=V.next()){f=Hc;if(M=M.value){f=f.U.get(M);M={cuepointId:M};if(f==null?0:f.TP)M.adsConfig=A1(f.TP)||void 0;if(f==\nnull?0:f.d6)M.Wg=f.d6;if(f==null?0:f.xT)M.EH=f.xT;Rw&&(M.Q1=Gd(Rw.split(\";\")[0]),M.uN=Rw.split(\";\")[1]||\"\");M.Ts=(f==null?void 0:f.Ts)||0;f=M}else f=void 0;f&&fB.push(f)}Rw=fB}R.tH=Rw;(Rw=this.aY)!=null&&(Rw.K.clear(),Rw.X=0)}this.policy.UF&&this.U.length>0&&this.U[0].Ox()&&(R.Gp=this.U[0].Hr());return R};\ng.w.OP=function(K,R){this.Z=void 0;zPh(this);wDB(this,K,R)};\ng.w.rY=function(K){if(this.U.length===0)return!1;var R=this.U[0];return R instanceof fN?K===this.loader.getCurrentTime()*1E3:!(R instanceof uC&&ZG(R.info))&&Math.abs(R.VH()-K)<50};\ng.w.PM=function(K,R){this.X=K;this.policy.K&&!K.playbackCookie&&this.loader.KQ(\"sbrnocookie\",{rn:R!=null?R:-1});this.Z=(0,g.N7)()+(K.backoffTimeMs||0)};\ng.w.ML=function(K,R){if(K.action===void 0){var f=this.bD.UB();f!==void 0&&this.loader.rM(f)}else if(K.action!==0||!this.oY)if(K.action===0&&this.policy.eD&&(K.action=2),K.S1===\"sabr.malformed_config\"&&this.kW++<3)this.loader.handleError(\"sabr.malformed_config\",{action:K.action,rn:R,retry:this.kW},0);else switch(K.S1===\"sabr.malformed_config\"&&(K.action=2),f={},f.reason=K.S1,f.action=K.action,f.rn=R,K.action){case 1:this.policy.K&&this.BK&&aS(this.BK,void 0,void 0,f);break;case 0:this.oY=!0;this.videoData.Jh()&&\nthis.policy.K&&this.BK&&aS(this.BK,void 0,void 0,f,!1);this.loader.d5(f);break;case 2:h$e(K.S1)!==\"sabr.config\"&&delete f.reason;this.loader.handleError(h$e(K.S1),f,1);break;case 3:this.policy.hV&&((K=this.fQ.EF)!=null&&(K.Z=!0),this.loader.handleError(\"sabr.hostfallback\",f))}};\ng.w.Wq=function(K){K&&(this.loader.KQ(\"sabrctxt\",{onsbrctxt:K.type,scp:K.scope,dflt:K.sendByDefault}),K.type&&K.sendByDefault&&this.videoData.qe.add(K.type),K.scope!==2&&(K.type&&this.videoData.sabrContextUpdates.set(K.type,K),this.bD.Wq(K)))};\ng.w.Bf=function(){};\ng.w.nW=function(K,R){if(this.loader.JS)this.loader.KQ(\"sdai\",{ignSabrSeek:1,smt:K==null?void 0:K.Qa,rn:R});else if(K.Qa!==void 0&&K.OD){R=K.Qa/K.OD;this.audioTrack.T=!1;this.videoTrack.T=!1;if(this.policy.aY||this.policy.Jb||this.policy.G9)this.loader.hK.U=!1;if(this.bD.getCurrentTime()!==R){var f={oQ:\"sabr_seek\",DI:!0,Bc:!0};K.seekSource&&(f.seekSource=K.seekSource);Hh(this.loader,R+.1,f)}}};\ng.w.onSnackbarMessage=function(K){this.bD.publish(\"onSnackbarMessage\",K)};\ng.w.fO=function(K,R){this.policy.T&&this.loader.fO(K,R)};\ng.w.iY=function(K){K.KJ&&K.qo&&Ya(this.fQ,K.KJ,K.qo);this.policy.uw&&(K.yW&&K.JU&&(this.fQ.tW=K.yW/K.JU),K.zJ&&K.iC&&(this.fQ.H7=K.zJ/K.iC));TW(this.videoData)&&!this.videoData.eQ&&K.qo&&this.loader.zb(K.qo,1E3);K.yX!=null&&this.bD.RK(K.yX);K.gK&&(K=((0,g.N7)()-K.gK)/1E3,this.loader.lw.DY(1,K))};\ng.w.QN=function(K){this.loader.QN(K)};\ng.w.r7=function(K){return this.videoData.qe.has(K)};\ng.w.hk=function(K,R,f){this.policy.X&&this.loader.KQ(\"sabrctxtplc\",{start:K?K.join(\"_\"):\"\",stop:R?R.join(\"_\"):\"\",discard:f?f.join(\"_\"):\"\"});if(K){K=g.Z(K);for(var V=K.next();!V.done;V=K.next())this.videoData.qe.add(V.value)}if(R)for(R=g.Z(R),K=R.next();!K.done;K=R.next())K=K.value,this.videoData.qe.has(K)&&this.videoData.qe.delete(K);if(f)for(f=g.Z(f),R=f.next();!R.done;R=f.next())if(R=R.value,this.videoData.sabrContextUpdates.has(R)&&this.videoData.sabrContextUpdates.delete(R),this.policy.UF&&this.U.length)for(K=\ng.Z(this.U),V=K.next();!V.done;V=K.next())if(V=V.value,!(V instanceof fN)){var D=void 0;((D=V.C9)==null?void 0:D.type)===R&&(V.C9=void 0)}};\ng.w.Ak=function(){};\ng.w.DE=function(K){this.T=K};\ng.w.Ww=function(K){this.B=K};\ng.w.qL=function(K,R){r8(this.policy,K,4,R)};\ng.w.T1=function(K){if(K==null?0:K.B$)if(K=K.B$.Lz){K=g.Z(K);for(var R=K.next();!R.done;R=K.next())if(R=R.value,R.formatId){var f=this.fQ.X.get(Mb(R.formatId));f&&f.info&&(f.info.debugInfo=R.debugInfo)}}};\ng.w.Jk=function(K){this.Ne=!0;this.bD.publish(\"reloadplayer\",K)};\ng.w.Vt=function(){return this.bD.Vt()||\"\"};\ng.w.h6=function(){var K=Esc(this);return Math.min(K.SD,K.KY)};\ng.w.MY=function(K,R){this.loader.KQ(K,R)};\ng.w.tA=function(K){Mj(this.loader,ClD(this.v5,K))};\ng.w.ya=function(K,R){this.videoData.ya(K,R)};\ng.w.Gc=function(K){this.bD.Gc(K)};\ng.w.Tp=function(){this.loader.Tp()};\ng.w.h8=function(){this.loader.h8()};\ng.w.uD=function(){g.O.prototype.uD.call(this);this.X=void 0;wDB(this,!0,\"i\");this.U=[]};aNc.prototype.getCurrentTime=function(){return this.bD.getCurrentTime()-this.bD.jy()};\nhT.prototype.Z=function(K){EG(K.state)&&yr(this.B)};\nhT.prototype.clear=function(){WXG(this.B);this.K.clear();this.U.clear();this.T=NaN;this.N=!1};\nhT.prototype.mS=function(){this.isSeeking=!0;WXG(this.B);this.N=!1;this.T=NaN;this.J=this.iL};SG.prototype.zi=function(K,R){if(this.J)return ns2(this,R);if(R=$D(K)){var f=R.U;f&&f.X&&f.U&&(K=K.K.length?K.K[0]:null)&&K.state>=2&&!K.Fp()&&K.info.KP===0&&(this.J=K,this.N=f,this.K=R.info,this.T=this.startTimeSecs=Date.now()/1E3,this.B=this.K.startTime)}return NaN};\nSG.prototype.clear=function(){this.K=this.N=this.J=null;this.U=this.B=this.T=this.startTimeSecs=NaN;this.X=!1};g.x(vo,g.O);vo.prototype.uD=function(){jUh(this);g.O.prototype.uD.call(this)};var qt2=/[?&]cpn=/;g.x(zR,g.O);zR.prototype.flush=function(){var K={};this.K&&(K.pe=this.K);this.U.length>0&&(K.pt=this.U.join(\".\"));this.U=[];return K};\nzR.prototype.stop=function(){var K=this,R,f,V;return g.I(function(D){if(D.U==1)return g.Fp(D,2),g.P(D,(R=K.J)==null?void 0:R.stop(),4);if(D.U!=2)return(f=D.K)&&K.logTrace(f),g.rW(D,0);V=g.yH(D);K.K=Yto(V.message);g.lE(D)})};\nzR.prototype.logTrace=function(K){this.encoder.reset();this.encoder.add(1);this.encoder.add(K.resources.length);for(var R=g.Z(K.resources),f=R.next();!f.done;f=R.next()){f=f.value.replace(\"https://www.youtube.com/s/\",\"\");this.encoder.add(f.length);for(var V=0;V=0?K:g.Wo(this.provider),this.Xt?NJ_.has(this.NW)&&(this.U.size||(this.NW===\"PL\"?K>=this.K+30:K<=this.UF+30||K>=this.K+1200&&K<=this.UF+86400))&&(g.aN(this,K,\"vps\",[this.NW]),this.K=K):[\"PL\",\"B\",\"S\"].indexOf(this.NW)>-1&&(this.U.size||K>=this.K+30)&&(g.aN(this,K,\"vps\",[this.NW]),this.K=K),this.U.size)){this.sequenceNumber===7E3&&g.A$(Error(\"Sent over 7000 pings\"));if(!(this.sequenceNumber>=7E3)){AT(this,K);var R=this.provider.bD.Ih();\nR=g.Z(R);for(var f=R.next();!f.done;f=R.next())f=f.value,this.KQ(f.key,f.value);R=K;f=this.provider.bD.vS();var V=f.droppedVideoFrames||0,D=f.totalVideoFrames||0,H=V-this.tB,l=D&&!this.GZ;V>f.totalVideoFrames||H>5E3?hc2(this,\"html5.badframedropcount\",\"df.\"+V+\";tf.\"+f.totalVideoFrames):(H>0||l)&&g.aN(this,R,\"df\",[H]);this.tB=V;this.GZ=D;this.Z>0&&(g.aN(this,K,\"glf\",[this.Z]),this.Z=0);Rc.isActive()&&(K=Rc.Df(),Object.keys(K).length>0&&this.KQ(\"profile\",K));this.hV&&Zf(this,\"lwnmow\");this.provider.W.oG()&&\nthis.provider.Y(\"html5_record_now\")&&this.KQ(\"now\",{wt:(0,g.N7)()});K={};this.provider.videoData.K&&(K.fmt=this.provider.videoData.K.itag,(R=this.provider.videoData.J)&&R.itag!==K.fmt&&(K.afmt=R.itag));K.cpn=this.provider.videoData.clientPlaybackNonce;this.R6?(K.adcpn=this.R6.join(\",\"),f=this.provider.videoData,R=f.Jh(),f=f.latencyClass,(this.provider.W.ph().U.aG(nE5)&&R&&f===\"NORMAL\"||this.provider.W.ph().U.aG(Pa_)&&R&&f===\"LOW\"||this.provider.W.ph().U.aG(TnB)&&this.provider.videoData.isDaiEnabled()&&\noU(this.provider.videoData))&&(K.adc=1)):this.adCpn&&(K.adcpn=this.adCpn);this.wG?K.addocid=this.wG.join(\",\"):this.gG.length&&(K.addocid=this.gG);this.provider.videoData.cotn&&(K.cotn=this.provider.videoData.cotn);K.el=qW(this.provider.videoData);K.content_v=bv(this.provider.videoData);K.ns=this.provider.W.UF;K.fexp=uHM(this.provider.W.experiments).toString();K.cl=(830666133).toString();var F;(R=this.provider.videoData.adFormat||((F=this.sW)==null?void 0:F.join(\",\"))||this.adFormat)&&(K.adformat=\nR);(F=AN(this.provider.videoData))&&(K.live=F);this.provider.videoData.Im()&&(K.drm=1,this.provider.videoData.B&&(K.drm_system=yh_[this.provider.videoData.B.flavor]||0),this.provider.videoData.drmProduct&&(K.drm_product=this.provider.videoData.drmProduct));hm()&&this.provider.videoData.T&&(K.ctt=this.provider.videoData.T,K.cttype=this.provider.videoData.Jc,this.provider.videoData.mdxEnvironment&&(K.mdx_environment=this.provider.videoData.mdxEnvironment));this.provider.videoData.isDaiEnabled()?(K.dai=\nthis.provider.videoData.enableServerStitchedDai?\"ss\":\"cs\",this.provider.videoData.Ly&&(K.dai_fallback=\"1\"),oU(this.provider.videoData)&&(K.dai=\"mv\")):this.provider.videoData.As?K.dai=\"cs\":this.provider.videoData.iO&&(K.dai=\"disabled\");this.xm&&(K.qcd=this.xm.join(\",\"));K.seq=this.sequenceNumber++;if(this.provider.videoData.qb){if(F=this.provider.videoData.qb,K&&F)for(F.ns===\"3pp\"&&(K.ns=\"3pp\"),this.MW.has(F.ns)&&Zf(this,\"hbps\"),F.shbpslc&&(this.serializedHouseBrandPlayerServiceLoggingContext=F.shbpslc),\nthis.provider.W.experiments.rU(\"html5_use_server_qoe_el_value\")&&this.OF.delete(\"el\"),R=g.Z(Object.keys(F)),f=R.next();!f.done;f=R.next())f=f.value,this.OF.has(f)||(K[f]=F[f])}else K.event=\"streamingstats\",K.docid=this.provider.videoData.videoId,K.ei=this.provider.videoData.eventId;this.isEmbargoed&&(K.embargoed=\"1\");Object.assign(K,this.provider.W.U);(F=K.seq)&&!this.provider.W.experiments.ph().U.aG(gE5)&&(R=FKw(this,+F),R=g.gS(R,tDM),R=g.OY(R,4),this.U.set(\"qclc\",[R]));K=g.B9(\"//\"+this.provider.W.jd+\n\"/api/stats/qoe\",K);f=R=\"\";V=g.Z(this.U.entries());for(D=V.next();!D.done;D=V.next())H=g.Z(D.value),D=H.next().value,H=H.next().value,l=void 0,(l=H)!=null&&l.join&&(D=\"&\"+D+\"=\"+H.join(\",\"),D.length>100?f+=D:R+=D);this.provider.W.experiments.ph().U.aG(gE5)&&(F=FKw(this,+(F||0)),F.qoePingUrl=K+R+f,g.h$(\"qoeClientLoggingContext\",F),R+=\"&dl=1\");cXw(this,K+R,f.replace(/ /g,\"%20\"))}this.U.clear()}};\ng.w.Bs=function(K){this.hV=K};\ng.w.oS=function(){if(this.provider.videoData.B){var K=this.provider.videoData.B;Zf(this,\"eme-\"+(K.keySystemAccess?\"final\":f5(K)?\"ms\":Hg(K)?\"ytfp\":De(K)?\"safarifp\":\"nonfinal\"))}};\ng.w.i$=go(49);g.w.kh=function(K){this.isEmbargoed=K};\ng.w.Tr=go(26);g.w.sJ=go(32);g.w.onPlaybackRateChange=function(K){var R=g.Wo(this.provider);K&&K!==this.aQ&&(g.aN(this,R,\"rate\",[K]),this.aQ=K);this.Xt||this.reportStats(R)};\ng.w.FP=go(20);g.w.getPlayerState=function(K){if(g.G(K,128))return\"ER\";if(g.G(K,2048))return\"B\";if(g.G(K,512))return\"SU\";if(g.G(K,16)||g.G(K,32))return\"S\";if(K.isOrWillBePlaying()&&g.G(K,64))return\"B\";var R=Udi[aT(K)];g.cX(this.provider.W)&&R===\"B\"&&this.provider.bD.getVisibilityState()===3&&(R=\"SU\");R===\"B\"&&g.G(K,4)&&(R=\"PB\");return R};\ng.w.g3=function(K,R){var f=g.Wo(this.provider);g.aN(this,f,\"vfi\",[K===\"A\"?\"\":\"\"+(R!=null?R:0),K])};\ng.w.uD=function(){g.O.prototype.uD.call(this);g.a9(this.aY);g.a9(this.Ch)};\ng.w.Ee=function(K){this.isOffline=K;g.aN(this,g.Wo(this.provider),\"is_offline\",[this.isOffline?\"1\":\"0\"])};\ng.w.KQ=function(K,R,f){var V=this.r4.indexOf(K)!==-1;V||this.r4.push(K);if(!f||!V){R=typeof R!==\"string\"?Cb(R):R;R=ob_(R);if(!f&&!/^t[.]/.test(R)){var D=g.Wo(this.provider)*1E3;R=\"t.\"+D.toFixed()+\";\"+R}Nj(this,\"ctmp\",K+\":\"+R);JT(this);return D}};\ng.w.BP=function(K,R,f){this.B={WYt:Number(this.KQ(\"glrem\",{nst:K.toFixed(),rem:R.toFixed(),ca:+f})),Gw:K,NDZ:R,isAd:f}};\ng.w.CO=function(K,R,f){g.aN(this,g.Wo(this.provider),\"ad_playback\",[K,R,f])};\ng.w.VN=function(K,R){var f=g.Wo(this.provider)*1E3;Nj(this,\"daism\",\"t.\"+f.toFixed(0)+\";smw.\"+(K*1E3).toFixed(0)+\";smo.\"+(R*1E3).toFixed(0))};\ng.w.resume=function(){var K=this;isNaN(this.aY)?rXw(this):this.aY=g.xA(function(){K.reportStats()},1E4)};\nvar Lm={},Udi=(Lm[5]=\"N\",Lm[-1]=\"N\",Lm[3]=\"B\",Lm[0]=\"EN\",Lm[2]=\"PA\",Lm[1]=\"PL\",Lm[-1E3]=\"ER\",Lm[1E3]=\"N\",Lm),NJ_=new Set([\"PL\",\"B\",\"S\"]),E6=[];g.x(nN,g.O);g.w=nN.prototype;g.w.initialize=function(K,R,f){K=K||0;this.policy.U||(R=KTB(this.U),qj(this.bD,new lz(R.video,R.reason)),this.bD.n3(new lz(R.audio,R.reason)));this.policy.U&&Lk(this);this.fQ.isManifestless&&S22(this.T);this.Z&&kWD(this.Z,this.videoTrack.RY);R=isNaN(this.getCurrentTime())?0:this.getCurrentTime();var V=!this.fQ.isManifestless;this.policy.yx&&(V=V||this.fQ.V9);if(!this.policy.qe||this.policy.Gt)this.currentTime=V?K:R;this.policy.aY&&this.seek(this.getCurrentTime(),{}).rk(function(){});\nif(this.policy.U){var D;((D=this.B)==null?0:lN_(D,this.Vt()||\"\"))&&ako(this)&&IN(this,this.videoTrack)&&IN(this,this.audioTrack)&&(xWB(this.K,this.B),this.policy.B&&xyw(this))}else this.UF&&(QCB(this,this.videoTrack),QCB(this,this.audioTrack),oaB(this.UF),delete this.UF);f?(O6(this,!1),g.eE(this.Wu)):(K=this.getCurrentTime()===0,w8(this.T,this.videoTrack,this.videoTrack.RY,K),w8(this.T,this.audioTrack,this.audioTrack.RY,K),this.policy.U&&cN2(this.K,{ov:1}),this.policy.aY||this.seek(this.getCurrentTime(),\n{}).rk(function(){}),this.timing.tick(\"gv\"));\n(this.fQ.UO||this.fQ.cU||this.fQ.Jx||this.fQ.LW||this.fQ.Rg)&&this.bD.Ue(this.fQ)};\ng.w.resume=function(){if(this.isSuspended||this.Do){this.jN=this.Do=this.isSuspended=!1;try{this.zi()}catch(K){g.WR(K)}}};\ng.w.Qs=function(){return!this.policy.FQ};\ng.w.Ls=function(K,R){K=K===void 0?!1:K;R=R===void 0?!1:R;WK5(this);this.bD.JK()&&(this.N=NaN);K?(this.policy.G2&&this.KQ(\"loader\",{setsmb:1}),this.policy.er=!0,this.Lv()):(O6(this,!1),R||this.Lv())};\ng.w.setAudioTrack=function(K,R,f){f=f===void 0?!1:f;if(!this.mZ()){var V=!isNaN(R);f&&V&&(this.audioTrack.UF=Date.now(),this.policy.MW&&(this.OF=!0));f=this.bD.JK()&&!this.bD.getVideoData().Z;if(this.policy.U){var D=this.J.qn(K.id,V);this.bD.n3(D)}else D=this.U,D.K=D.fQ.U[K.id],D.N=D.K,D=new $R(D.N,D.X,V?\"t\":\"m\"),this.bD.n3(new lz(D.audio,D.reason));V?(this.bd=Date.now(),V=this.audioTrack.RY.index.FL(R),this.KQ(\"setAudio\",{id:K.id,cmt:R,sq:V}),V>=0&&(K=this.policy.XI?V+1:V,this.policy.U&&this.OP(!0,\n\"mosaic\"),RS(this.audioTrack,K,NaN,NaN),!this.policy.HU&&this.fQ.isLive&&ph(this.fQ,K,!1))):f||this.bD.Gb()}};\ng.w.setPlaybackRate=function(K){K!==this.EF.getPlaybackRate()&&this.EF.setPlaybackRate(K)};\ng.w.xF=function(K){var R=this.K.T;this.K.DE(K);this.KQ(\"scfidc\",{curr:Mb(R),\"new\":Mb(K)});K&&Mb(K)!==Mb(R)&&(this.OP(!0,\"caption change\"),this.zi())};\ng.w.Fc=function(K){this.K.Ww(K)};\ng.w.Wi=function(K){K.U.info.c9()?this.bD.n3(K):qj(this.bD,K)};\ng.w.tA=function(K){ek(K.xW[K.xW.length-1])&&Mj(this,ClD(this.U,K.xW[0].RY))};\ng.w.iT=function(){return this.bD.iT()};\ng.w.Yf=function(){return this.bD.Yf()};\ng.w.QN=function(K){this.bD.C().oG()&&this.KQ(\"sps\",{status:K.gS||\"\"});if(K.gS===1)this.Nw=0;else if(K.gS===2||K.gS===3){var R=!1;if(K.gS===3){var f;this.aQ=(f=K.DQp)!=null?f:Infinity;this.Nw+=1;(R=Ei(this))&&this.f3(!0)}this.bD.Dr(!0,R)}};\ng.w.w7=function(){return this.bD.w7()};\ng.w.qH=function(){return this.bD.qH()};\ng.w.jq=function(K){this.bD.jq(K)};\ng.w.Rn5=function(){var K,R=(K=this.bD.CL())==null?void 0:K.getCurrentTime();R?this.bD.KQ(\"rms\",{cta:R}):g.eE(this.vK)};\ng.w.zi=function(){jG(this);if(this.sF&&$W(this.sF)&&!this.sF.xq()&&(!this.policy.qe||isFinite(this.getCurrentTime()))){var K=bz(this.videoTrack);K=this.policy.vD&&K&&K.AN();this.fQ.isManifestless&&this.fQ.J&&j9(this.fQ)?(this.N=j9(this.fQ),this.sF.uT(this.N)):m4(this.fQ)&&!K?isNaN(this.N)?(this.N=this.getCurrentTime()+3600,this.sF.uT(this.N)):this.N<=this.getCurrentTime()+1800&&(this.N=Math.max(this.N+1800,this.getCurrentTime()+3600),this.sF.uT(this.N)):this.sF.isView||(K=Math.max(this.audioTrack.getDuration(),\nthis.videoTrack.getDuration()),(!isFinite(this.N)||this.N!==K)&&K>0&&(this.sF.uT(K),this.N=K))}if(!this.mZ())if(Oy(this.fQ)&&this.fQ.Fp()){var R=this.fQ;this.handleError(\"manifest.net.retryexhausted\",R.Za?{rc:R.tK}:{rc:R.tK.toString()},1)}else if(this.policy.U)a:{try{if(Y3(this)&&this.Q3){var f=this.K,V=this.Q3,D=V.U;if(D){var H=f.bD.UB(),l=!0;H||(H=f.loader.getCurrentTime(),l=!1);R=H;var F=l?f.bD.zk(R):R;if(f.loader.Rw(F))var c=!1;else{var r={t:R.toFixed(3),isUtc:l};c:{var y=f.bD.Vt();if(y){for(var h=\ng.Z([f.audioTrack,f.videoTrack]),S=h.next();!S.done;S=h.next()){var v=pn(S.value.RY,f.fQ.qY);H=void 0;var L=((H=D)==null?void 0:H.b5(v,y))||[];if(L.length===0||!ADw(new D9(L),F)){var E=!1;break c}}E=!0}else E=!1}if(E)f.loader.KQ(\"prebuffer\",Object.assign(r,{inrange:1})),c=!0;else{if(ZG(D.info)){var Q;if(Q=l){var J,A;Q=(((J=D.info.U)==null?void 0:(A=J.KW)==null?void 0:A.K_)||0)===R*1E3}var B=Q}else B=!l&&Jp(D.info)===R*1E3;B?(f.loader.KQ(\"prebuffer\",Object.assign(r,{match:1})),c=!0):c=!1}}if(c){f.bD.B0(\"ismp_c\");\nf.U.push(D);var k;(k=f.Xt)==null||hp(k,D.info.Qe);D.Qn();EJ(V,!1)}}}co(this.K);this.fQ.isManifestless&&this.policy.B&&Vz(this.hK);var b;((b=this.sF)==null?0:dv(b))&&this.AB();cN2(this.K);if(Y3(this)&&this.Q3){var M=this.K,Hc=this.Q3,fB=Hc.K.I4;if(fB!==void 0&&fB>=0){M.bD.B0(\"ismp_a\");var Rw=Hc.K;var FG=Rw.I4;if(FG===void 0)var yN=!1;else{var VN=Rw.UV?M.bD.zk(FG):FG,aw;if(aw=!M.loader.Rw(VN)&&hPN(M,M.Za)){var s5=M.bD.getCurrentTime()*1E3,dW=osz(M,s5),DB=dW.Kz;aw=dW.iI>=7E3&&DB>=7E3}yN=aw}if(yN){var b_=\nFXv(M,Rw);M.policy.sY>0&&M.Za.EY++;b_&&(Hc.U!==b_&&(dlc(Hc),Hc.U=b_,Hc.K=zf),M.bD.B0(\"ismp_rc\"))}}}}catch(Pc){g.A$(Pc);R=Pc;if(R.message.includes(\"changeType\")){this.KQ(\"ctype\",{exp:R.name,msg:R.message,s:R.stack});break a}this.handleError(\"fmt.unplayable\",{exp:R.name,msg:R.message,s:R.stack,trg:\"sabrslicerqt\"},1)}nb_(this);g.eE(this.kW)}else if(!this.fQ.K||!s4B(this.videoTrack)&&!s4B(this.audioTrack)||(this.videoTrack.J||this.audioTrack.J)&&this.policy.pQ?f=!1:(this.Lv(),this.bD.seekTo(Infinity,\n{oQ:\"checkLoaderTracksSync\",zb:!0}),f=!0),!f){jG(this);this.fQ.isManifestless&&(CKh(this.videoTrack),CKh(this.audioTrack),Vz(this.hK),(f=$D(this.videoTrack))&&f.U&&(f=f.U.X&&!this.policy.z3,this.KQ(f===this.policy.Z.KF?\"strm\":\"strmbug\",{strm:f,sfmp4:this.policy.Z.KF,dfs:this.policy.z3},!0)));if(this.sF)this.AB();else if(this.policy.J){f=!1;if(this.policy.BC)for(V=g.Z([this.videoTrack,this.audioTrack]),D=V.next();!D.done;D=V.next()){c=D.value;for(D=$D(c);D&&c.SZ()!==bz(c);D=$D(c))c.WA(D);f=f||!!D}else(R=\n$D(this.videoTrack))&&this.videoTrack.WA(R),(l=$D(this.audioTrack))&&this.audioTrack.WA(l);sJ(this.videoTrack)&&sJ(this.audioTrack)||(R||l||f)&&F9(this)}gx(this);w8(this.T,this.videoTrack,this.videoTrack.RY,!1);w8(this.T,this.audioTrack,this.audioTrack.RY,!1);if(!this.policy.tv&&(R=this.videoTrack,V=this.audioTrack,(!this.sF||$W(this.sF)&&!this.policy.AF)&&!this.hK.isSeeking()&&(this.policy.U||Hl(R)&&R.RY.Rm()&&this.U.UF)))a:{if(l=this.getCurrentTime(),f=this.EF,V=p_(f,R.RY.info.c5,V.RY.info.c5,0),\nD=q$(f.IG)+V/b8(f.IG),l+=Math.max(D,D+f.policy.aX-V/R.RY.info.c5),R.K.length){if(R.K[0].info.xW[0].startTime<=l)break a;en(R)}f=R.X;for(V=f.K.length-1;V>=0;V--)f.K[V].info.startTime>l&&f.K.pop();YcD(R);R.U&&l5&&r.EF.shift();R=R.t5;var y;if((y=this.bD.getVideoData())==null?0:y.enableServerStitchedDai)y=fb5(this.audioTrack,R),f=fb5(this.videoTrack,R),y!==0&&f!==0&&y!==f&&this.handleError(\"ssdai.avsync\",{sq:R,a:y,v:f},\n0)}};\ng.w.y7=function(K,R,f,V){K.info.video&&this.X.y7(R,f,V)};\ng.w.pC=function(K){this.U.pC(K)};\ng.w.DM=function(){return this.BK};\ng.w.tT=function(){return this.videoTrack.T||this.audioTrack.T};\ng.w.seek=function(K,R){if(this.mZ())return BE();if(this.tT())return BE(\"seeking to head\");if(this.policy.aY&&!isFinite(K))return rHz(this.hK),g.Zc(Infinity);jG(this);YDc(this,K,!1,R.seekSource);Lk(this);this.policy.U||gx(this,K);this.sF&&this.sF.U&&this.sF.K&&!this.bD.getVideoData().uw&&(this.sF.U.isLocked()||this.sF.K.isLocked())&&this.bD.Gb({reattachOnLockedBuffer:1,vsb:\"\"+this.sF.K.isLocked(),asb:\"\"+this.sF.U.isLocked()});var f=this.getCurrentTime(),V=this.hK.seek(K,R);if(!this.policy.qe||this.policy.Gt)this.currentTime=\nV;H3(this.X,K,f,this.policy.jK&&!R.DI);F9(this);return g.Zc(V)};\ng.w.rY=function(K){return this.policy.U&&this.K.rY(K)};\ng.w.r7=function(K){return this.K.r7(K)};\ng.w.OP=function(K,R){this.K.OP(K,R)};\ng.w.getCurrentTime=function(){if(this.policy.qe){var K=this.jy()||0;return this.bD.getCurrentTime(!0)-K}return this.currentTime};\ng.w.VE=function(){return this.audioTrack.RY.info};\ng.w.V2=function(){return this.videoTrack.RY.info};\ng.w.E8=function(){return this.audioTrack.RY.info.P5};\ng.w.U8=function(){return this.videoTrack.RY.info.P5};\ng.w.uD=function(){try{this.Ls(),en(this.audioTrack),en(this.videoTrack),$K(this.audioTrack),$K(this.videoTrack),this.audioTrack.dispose(),this.videoTrack.dispose(),g.O.prototype.uD.call(this)}catch(K){g.WR(K)}};\ng.w.handleError=function(K,R,f){f=f===void 0?0:f;var V=KH(f);K===\"fmt.unplayable\"&&this.fQ.isLive&&(this.policy.CM=!1,bl(this.fQ));R=new g.e$(K,R,f);g.n8(this);Cb(R.details);this.bD.handleError(R);K!==\"html5.invalidstate\"&&R.errorCode!==\"fmt.unplayable\"&&K!==\"fmt.unparseable\"&&V&&this.dispose()};\ng.w.PK=function(){var K=bz(this.audioTrack),R=bz(this.videoTrack);K={lct:this.getCurrentTime().toFixed(3),lsk:this.hK.isSeeking(),lmf:this.U.U.isLocked(),lbw:Ojz(this.schedule).toFixed(3),lhd:q$(this.schedule).toFixed(3),lst:((this.schedule.N.jI()||0)*1E9).toFixed(3),laa:K?K.yI():\"\",lva:R?R.yI():\"\",lar:this.audioTrack.U?this.audioTrack.U.yI():\"\",lvr:this.videoTrack.U?this.videoTrack.U.yI():\"\",laq:\"\"+CL(this.audioTrack),lvq:\"\"+CL(this.videoTrack)};this.sF&&!this.sF.L7()&&this.sF.U&&this.sF.K&&(K.lab=\nMr(this.sF.U.vV()),K.lvb=Mr(this.sF.K.vV()));this.aY&&(K.lapt=((0,g.N7)()-this.aY).toFixed(0),K.lapr=tMG(this));this.qe&&(K.lapmabht=((0,g.N7)()-this.qe).toFixed(0),K.lapmabh=R7(this,this.audioTrack).toFixed(0));this.oY&&(K.lapmvbht=((0,g.N7)()-this.oY).toFixed(0),K.lapmvbh=R7(this,this.videoTrack).toFixed(0));this.G2&&(K.lapsdai=((0,g.N7)()-this.G2).toFixed(0));return K};\ng.w.Lv=function(){try{this.policy.U&&this.K.OP(!1,\"pending\"),this.audioTrack.Lv(),this.videoTrack.Lv()}catch(K){g.WR(K)}this.policy.J=\"\"};\ng.w.Rw=function(K){return this.videoTrack&&this.audioTrack?this.videoTrack.Rw(K)&&this.audioTrack.Rw(K):!0};\ng.w.Rh=function(){return M$(this.EF)};\ng.w.KQ=function(K,R,f){this.bD.KQ(K,R,f===void 0?!1:f)};\ng.w.Vt=function(){return this.bD.Vt()};\ng.w.zb=function(K,R){K/=R;isNaN(this.timestampOffset)&&blc(this,K-Math.min(K,this.policy.Zs));return(K-this.timestampOffset)*R};\ng.w.jy=function(){return this.timestampOffset};\ng.w.isSeeking=function(){return this.hK.isSeeking()};\ng.w.iK=function(){this.X.iK()};\ng.w.LM=function(K,R,f){R=R===void 0?!1:R;f=f===void 0?{}:f;this.policy.U?this.J.LM(K,R,f):this.U.LM(K,R,f)};\ng.w.Io=function(K,R){if(this.policy.K&&(this.JS||this.isSeeking()))return this.KQ(\"sdai\",{ignoreSkip:\"1\",isSkip:this.JS,isSeek:this.isSeeking(),t:K.toFixed(3)}),!1;var f=this.policy.K&&(this.policy.T||this.policy.v9),V=this.videoTrack.RY.index.FL(K),D=!1;if(f){var H;if(D=!((H=this.Xt)==null||!H.sz(K,V,this.timestampOffset)))if(Rb(this,K,K,V),this.BK){var l;(l=this.BK)==null||l.sz(K,V)}}else this.BK&&(D=!!this.X.Io(K,this.BK));if(!D)return this.handleError(\"ad.skipfailed\",{dec:!!this.BK,t:K.toFixed(3),\nsq:V}),!1;this.policy.K&&(this.KQ(\"sdai\",{skipAdStd:\"1\"}),this.JS=!0);if(this.policy.qW){var F;(F=this.Dk)==null||F.clear()}blc(this,this.timestampOffset-R);F9(this);this.policy.K&&(bl(this.fQ),$K(this.audioTrack),$K(this.videoTrack),this.Lv());return!0};\ng.w.getManifest=function(){return this.fQ};\ng.w.isOffline=function(){return!!this.bD.getVideoData().cotn};\ng.w.Ki=function(K,R){this.bD.Ki(K,R)};\ng.w.rr=function(K,R){if(this.policy.U)YDc(this,K,!0,R),this.K.OP(!0,\"utc\"),this.zi();else if(R=this.bD.getVideoData().Ik){var f=this.T;f.yY=K;f.Ik=R;Qm(this)}};\ng.w.rM=function(K){this.videoTrack.T=!1;this.audioTrack.T=!1;this.hK.U=!1;this.bD.rM(K)};\ng.w.Us=function(K){this.hK.Us(K-this.jy())};\ng.w.Cj=function(){this.bD.Cj()};\ng.w.f3=function(K){K!==this.policy.CP&&((this.policy.CP=K)||this.zi())};\ng.w.Gb=function(K){this.bD.Gb(K)};\ng.w.Bs=function(K){this.bD.Bs(K)};\ng.w.SG=function(K,R,f){var V;(V=this.Xt)==null||V.SG(K,R,f);this.policy.T&&(this.K.Z=void 0,this.zi())};\ng.w.qw=function(K){var R;(R=this.Xt)==null||R.qw(K)};\ng.w.fO=function(K,R){if(this.policy.T){var f,V=(f=K.YP)==null?void 0:f[0];f=this.bD.getVideoData();f=f.iO?1:f.Ly?2:0;var D,H,l;this.KQ(\"clidai\",{onqlst:1,len:((D=K.YP)==null?void 0:D.length)||0,rn:R,evt:Oho(V==null?void 0:(H=V.Xw)==null?void 0:H.event),cid:(V==null?void 0:(l=V.Xw)==null?void 0:l.identifier)||\"null\",sq:(V==null?void 0:V.zs)||-1,trk:(V==null?void 0:V.trackType)||\"null\",dis:f});var F;(F=this.Xt)==null||F.fO(K,R,this.BK||void 0,f)}};\ng.w.prefetchKeyPlay=function(K,R){var f=this;if(Y3(this)){var V=MrB().legacyApplicationQuality===\"limited-memory\";this.policy.Co&&V||(this.Q3||(this.Q3=new xR(function(D){f.bD.B0(D)}),g.q(this,this.Q3)),lee(this.Q3,{I4:K,\nUV:R,ov:2}),this.zi())}};\ng.w.h8=function(){this.Kh++};\ng.w.Tp=function(){this.Kh=0};g.x(mQ,g.VQ);g.x(GR,mQ);GR.prototype.T=function(K,R){if(K&&R){var f=Number(P9(K,\"cpi\"))*1+1;isNaN(f)||f<=0||fthis.X&&(this.X=f,g.ZL(this.U)||(this.U={},this.J.stop(),this.K.stop())),this.U[R]=K,g.eE(this.K))}};\nGR.prototype.B=function(){for(var K=g.Z(Object.keys(this.U)),R=K.next();!R.done;R=K.next()){var f=R.value;R=this.publish;for(var V=this.X,D=g.Qu(this.U[f]),H=[],l=g.Z(D[6].split(\"&\")),F=l.next();!F.done;F=l.next())F=F.value,F.indexOf(\"cpi=\")===0?H.push(\"cpi=\"+V.toString()):F.indexOf(\"ek=\")===0?H.push(\"ek=\"+g.M2(f)):H.push(F);D[6]=\"?\"+H.join(\"&\");f=\"skd://\"+D.slice(2).join(\"\");D=f.length*2;V=new Uint8Array(D+4);V[0]=D%256;V[1]=(D-V[0])/256;for(D=0;D0)for(var f=g.Z(this.U),V=f.next();!V.done;V=f.next())if(R===V.value.info.cryptoPeriodIndex){R=!0;break a}R=!1}if(!R){R=(0,g.N7)();a:{f=K.cryptoPeriodIndex;if(!isNaN(f)){V=g.Z(this.X.values());for(var D=V.next();!D.done;D=V.next())if(Math.abs(D.value.cryptoPeriodIndex-f)<=1){f=!0;break a}}f=!1}f?(f=K.U,f=Math.max(0,Math.random()*((isNaN(f)?120:f)-30))*1E3):f=0;this.publish(\"log_qoe\",{wvagt:\"delay.\"+f,cpi:K.cryptoPeriodIndex,reqlen:this.U.length});\nf<=0?GVB(this,K):(this.U.push({time:R+f,info:K}),g.eE(this.K,f))}};\nuq.prototype.uD=function(){this.U=[];mQ.prototype.uD.call(this)};var w5={},RSw=(w5.DRM_TRACK_TYPE_AUDIO=\"AUDIO\",w5.DRM_TRACK_TYPE_SD=\"SD\",w5.DRM_TRACK_TYPE_HD=\"HD\",w5.DRM_TRACK_TYPE_UHD1=\"UHD1\",w5);g.x(ecN,g.O);g.x(VnB,g.VQ);g.w=VnB.prototype;g.w.Oy=function(K){var R=this;if(!(this.mZ()||K.size<=0)){var f={};K.forEach(function(V,D){var H=VF(R.K)?D:V;D=new Uint8Array(VF(R.K)?V:D);VF(R.K)&&zSv(D);V=g.OY(D,4);zSv(D);D=g.OY(D,4);R.U[V]?R.U[V].status=H:R.U[D]?R.U[D].status=H:R.U[V]={type:\"\",status:H};L_B(R,R.U[V].type,f)});\ni_2(this,\",\");s6(this,{onkeystatuschange:1});this.status=\"kc\";this.publish(\"keystatuseschange\",this)}};\ng.w.error=function(K,R,f,V){this.mZ()||(this.publish(\"licenseerror\",K,R,f,V),K===\"drm.provision\"&&(K=(Date.now()-this.T)/1E3,this.T=NaN,this.publish(\"ctmp\",\"provf\",{et:K.toFixed(3)})));KH(R)&&this.dispose()};\ng.w.shouldRetry=function(K,R){return!K&&this.requestNumber===R.requestNumber};\ng.w.uD=function(){this.U={};g.VQ.prototype.uD.call(this)};\ng.w.PK=function(){var K={ctype:this.Z.contentType||\"\",length:this.Z.initData.length,requestedKeyIds:this.B5,cryptoPeriodIndex:this.cryptoPeriodIndex};this.X&&(K.keyStatuses=this.U);return K};\ng.w.getInfo=function(){var K=this.J.join();if(CN(this)){var R=new Set,f;for(f in this.U)this.U[f].status!==\"usable\"&&R.add(this.U[f].type);K+=\"/UKS.\"+Array.from(R)}return K+=\"/\"+this.cryptoPeriodIndex};\ng.w.y9=function(){return this.url};g.x(Kz,g.O);g.w=Kz.prototype;g.w.o9=function(K){if(this.B){var R=K.messageType||\"license-request\";this.B(new Uint8Array(K.message),R)}};\ng.w.Oy=function(){this.N&&this.N(this.U.keyStatuses)};\ng.w.onClosed=function(){this.mZ()||g.mO(\"xboxone\")&&this.X&&this.X(\"closedShouldNotRetry\")};\ng.w.ih=function(K){this.B&&this.B(K.message,\"license-request\")};\ng.w.zw=function(K){if(this.X){if(this.K){var R=this.K.error.code;K=this.K.error.systemCode}else R=K.errorCode,K=K.systemCode;this.X(\"t.prefixedKeyError;c.\"+R+\";sc.\"+K,R,K)}};\ng.w.cY=function(){this.T&&this.T()};\ng.w.update=function(K){var R=this;if(this.U)return this.U.update(K).then(null,f1(function(f){E2h(R,\"t.update\",f)}));\nthis.K?this.K.update(K):this.element.addKey?this.element.addKey(this.Z.keySystem,K,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.Z.keySystem,K,this.initData,this.sessionId);return nI()};\ng.w.uD=function(){this.U&&(this.EF?this.U.close().catch(g.A$):this.U.close());this.element=null;g.O.prototype.uD.call(this)};g.x(RX,g.O);g.w=RX.prototype;g.w.setServerCertificate=function(){return this.K.setServerCertificate?this.U.flavor===\"widevine\"&&this.U.Al?this.K.setServerCertificate(this.U.Al):$N(this.U)&&this.U.L8?this.K.setServerCertificate(this.U.L8):null:null};\ng.w.createSession=function(K,R){var f=K.initData;if(this.U.keySystemAccess){R&&R(\"createsession\");var V=this.K.createSession();Hg(this.U)?f=NtM(f,this.U.L8):$N(this.U)&&(f=myM(f)||new Uint8Array(0));R&&R(\"genreq\");K=V.generateRequest(K.contentType,f);var D=new Kz(null,null,null,V,null,this.N);K.then(function(){R&&R(\"genreqsuccess\")},f1(function(l){E2h(D,\"t.generateRequest\",l)}));\nreturn D}if(f5(this.U))return W_w(this,f);if(De(this.U))return U$h(this,f);if((V=this.element)==null?0:V.generateKeyRequest)this.element.generateKeyRequest(this.U.keySystem,f);else{var H;(H=this.element)==null||H.webkitGenerateKeyRequest(this.U.keySystem,f)}return this.J=new Kz(this.element,this.U,f,null,null,this.N)};\ng.w.DF=function(K){var R=tno(this,K);R&&R.ih(K)};\ng.w.s5=function(K){var R=tno(this,K);R&&R.zw(K)};\ng.w.Tf=function(K){var R=tno(this,K);R&&R.cY(K)};\ng.w.getMetrics=function(){var K=null;if(this.K&&this.K.getMetrics)try{K=this.K.getMetrics()}catch(R){}return K};\ng.w.uD=function(){this.X=this.K=null;var K;(K=this.J)==null||K.dispose();K=g.Z(Object.values(this.T));for(var R=K.next();!R.done;R=K.next())R.value.dispose();this.T={};g.O.prototype.uD.call(this);delete this.element};g.w=fz.prototype;g.w.get=function(K){K=this.findIndex(K);return K!==-1?this.values[K]:null};\ng.w.remove=function(K){K=this.findIndex(K);K!==-1&&(this.keys.splice(K,1),this.values.splice(K,1))};\ng.w.removeAll=function(){this.keys=[];this.values=[]};\ng.w.set=function(K,R){var f=this.findIndex(K);f!==-1?this.values[f]=R:(this.keys.push(K),this.values.push(R))};\ng.w.findIndex=function(K){return g.sS(this.keys,function(R){return g.iT(K,R)})};g.x(Z_w,g.VQ);g.w=Z_w.prototype;g.w.MMU=function(K){this.R1({onecpt:1});K.initData&&kMM(this,new Uint8Array(K.initData),K.initDataType)};\ng.w.x1r=function(K){this.R1({onndky:1});kMM(this,K.initData,K.contentType)};\ng.w.Ez=function(K){this.R1({onneedkeyinfo:1});this.W.Y(\"html5_eme_loader_sync\")&&(this.N.get(K.initData)||this.N.set(K.initData,K));XWN(this,K)};\ng.w.bI=function(K){this.X.push(K);VX(this)};\ng.w.createSession=function(K){var R=P85(this)?z5v(K):g.OY(K.initData);this.K.get(R);this.B5=!0;K=new VnB(this.videoData,this.W,K,this.drmSessionId);this.K.set(R,K);K.subscribe(\"ctmp\",this.Ni,this);K.subscribe(\"keystatuseschange\",this.Oy,this);K.subscribe(\"licenseerror\",this.z7,this);K.subscribe(\"newlicense\",this.vY,this);K.subscribe(\"newsession\",this.Sm,this);K.subscribe(\"sessionready\",this.yR,this);K.subscribe(\"fairplay_next_need_key_info\",this.OE,this);this.W.Y(\"html5_enable_vp9_fairplay\")&&K.subscribe(\"qualitychange\",\nthis.Un,this);K.subscribe(\"sabrlicenseconstraint\",this.R15,this);lJv(K,this.J)};\ng.w.vY=function(K){this.mZ()||(this.R1({onnelcswhb:1}),K&&!this.heartbeatParams&&(this.heartbeatParams=K,this.publish(\"heartbeatparams\",K)))};\ng.w.Sm=function(){this.mZ()||(this.R1({newlcssn:1}),this.X.shift(),this.B5=!1,VX(this))};\ng.w.yR=function(){if(f5(this.U)&&(this.R1({onsnrdy:1}),this.qe--,this.qe===0)){var K=this.UF,R,f;(R=K.element)==null||(f=R.msSetMediaKeys)==null||f.call(R,K.X)}};\ng.w.Oy=function(K){if(!this.mZ()){this.er||(this.er=!0,this.W.oG()&&n25(this));this.R1({onksch:1});var R=this.Un;if(!CN(K)&&g.Gr&&K.K.keySystem===\"com.microsoft.playready\"&&navigator.requestMediaKeySystemAccess)var f=\"large\";else{f=[];var V=!0;if(CN(K))for(var D=g.Z(Object.keys(K.U)),H=D.next();!H.done;H=D.next())H=H.value,K.U[H].status===\"usable\"&&f.push(K.U[H].type),K.U[H].status!==\"unknown\"&&(V=!1);if(!CN(K)||V)f=K.J;f=SmM(f)}R.call(this,f);if(K.W.Y(\"html5_enable_vp9_fairplay\")&&$N(K.K))R=K.EF;\nelse{if(!CN(K))for(R={},f=g.Z(K.J),V=f.next();!V.done;V=f.next())L_B(K,V.value,R);R=K.authorizedFormats}this.videoData.authorizedFormats=R;this.publish(\"keystatuseschange\",K)}};\ng.w.Ni=function(K,R){this.mZ()||this.publish(\"ctmp\",K,R)};\ng.w.OE=function(K,R){this.mZ()||this.publish(\"fairplay_next_need_key_info\",K,R)};\ng.w.z7=function(K,R,f,V){this.mZ()||(this.videoData.Y(\"html5_log_drm_metrics_on_error\")&&n25(this),this.publish(\"licenseerror\",K,R,f,V))};\ng.w.F_=function(){return this.Z};\ng.w.Un=function(K){var R=g.Z1(\"auto\",K,!1,\"l\");if(this.videoData.LZ){if(this.Z.equals(R))return}else if(vh2(this.Z,K))return;this.Z=R;this.publish(\"qualitychange\");this.R1({updtlq:K})};\ng.w.R15=function(K){this.videoData.sabrLicenseConstraint=K};\ng.w.uD=function(){var K,R;this.U.keySystemAccess&&this.element&&!((K=this.mediaElement)==null?0:(R=K.bD)==null?0:R.JK())&&(this.Xt?this.element.setMediaKeys(null).catch(g.A$):this.element.setMediaKeys(null));this.element=null;this.X=[];K=g.Z(this.K.values());for(R=K.next();!R.done;R=K.next())R=R.value,R.unsubscribe(\"ctmp\",this.Ni,this),R.unsubscribe(\"keystatuseschange\",this.Oy,this),R.unsubscribe(\"licenseerror\",this.z7,this),R.unsubscribe(\"newlicense\",this.vY,this),R.unsubscribe(\"newsession\",this.Sm,\nthis),R.unsubscribe(\"sessionready\",this.yR,this),R.unsubscribe(\"fairplay_next_need_key_info\",this.OE,this),this.W.Y(\"html5_enable_vp9_fairplay\")&&R.unsubscribe(\"qualitychange\",this.Un,this),R.dispose();this.K.clear();this.T.removeAll();this.N.removeAll();this.heartbeatParams=null;g.VQ.prototype.uD.call(this)};\ng.w.PK=function(){for(var K={systemInfo:this.U.PK(),sessions:[]},R=g.Z(this.K.values()),f=R.next();!f.done;f=R.next())K.sessions.push(f.value.PK());return K};\ng.w.getInfo=function(){return this.K.size<=0?\"no session\":\"\"+this.K.values().next().value.getInfo()+(this.B?\"/KR\":\"\")};\ng.w.R1=function(K,R){R=R===void 0?!1:R;this.mZ()||(Cb(K),(this.W.oG()||R)&&this.publish(\"ctmp\",\"drmlog\",K))};var jWe=!1,MnG=!1;g.x(pWM,g.O);g.w=pWM.prototype;g.w.OG=function(){return!!this.j0};\ng.w.J2=function(){return this.K};\ng.w.handleError=function(K){var R=this;C82(this,K);var f;if(f=!((K.errorCode===\"html5.invalidstate\"||K.errorCode===\"fmt.unplayable\"||K.errorCode===\"fmt.unparseable\")&&sW2(this,K.errorCode,K.details)))if(f=!f4v(this,K))this.videoData.errorDetail===\"7\"&&g.cX(this.gU)?(R1c(this,\"innertube_player_reload_required\"),f=!0):f=!1,f=!f;if(f)if(this.gU.UF!==\"yt\"&&KjB(this,K)&&this.videoData.FQ&&(0,g.N7)()/1E3>this.videoData.FQ&&Vx(this.videoData)&&(f=Object.assign({e:K.errorCode},K.details),f.stalesigexp=\"1\",\nf.expire=Math.round(this.videoData.FQ*1E3),f.init=Math.round(this.videoData.XI),f.now=Math.round((0,g.N7)()),K=new g.e$(K.errorCode,f,2),this.bD.CK(K.errorCode,2,\"SIGNATURE_EXPIRED\",Cb(K.details))),KH(K.severity)){var V;f=(V=this.bD.loader)==null?void 0:V.U.U;if(this.gU.Y(\"html5_use_network_error_code_enums\"))if(eSN(K)&&f&&f.isLocked())var D=\"FORMAT_UNAVAILABLE\";else if(this.gU.T||K.errorCode!==\"auth\"||K.details.rc!==429)K.errorCode===\"ump.spsrejectfailure\"&&(D=\"HTML5_SPS_UMP_STATUS_REJECTED\");else{D=\n\"TOO_MANY_REQUESTS\";var H=\"6\"}else eSN(K)&&f&&f.isLocked()?D=\"FORMAT_UNAVAILABLE\":this.gU.T||K.errorCode!==\"auth\"||K.details.rc!==\"429\"?K.errorCode===\"ump.spsrejectfailure\"&&(D=\"HTML5_SPS_UMP_STATUS_REJECTED\"):(D=\"TOO_MANY_REQUESTS\",H=\"6\");this.bD.CK(K.errorCode,K.severity,D,Cb(K.details),H)}else this.bD.publish(\"nonfatalerror\",K),V=/^pp/.test(this.videoData.clientPlaybackNonce),this.EA(K.errorCode,K.details),V&&K.errorCode===\"manifest.net.connect\"&&(K=\"https://www.youtube.com/generate_204?cpn=\"+\nthis.videoData.clientPlaybackNonce+\"&t=\"+(0,g.N7)(),Om(K,\"manifest\",function(l){R.T=!0;R.KQ(\"pathprobe\",l)},function(l){R.EA(l.errorCode,l.details)}))};\ng.w.KQ=function(K,R){this.bD.sC.KQ(K,R)};\ng.w.EA=function(K,R){R=Cb(R);this.bD.sC.EA(K,R)};HH.prototype.XE=function(K){var R=$Kv(this);if(!K)return{TL:Cc,Xv:Cc,ZE:Cc,aI:Cc,qr:Cc,xo:Cc,z_:R};var f=Cc;if(XA(R)||this.Y(\"html5_perf_cap_override_sticky\"))f=vDD(this,K);return{TL:f,Xv:yOc(this,K),ZE:cO5(this,K),aI:Ljh(this,K.videoData),qr:whh(this,K.videoData,K),xo:dK2(this,K),z_:R}};\nHH.prototype.SV=function(K){if(g.cX(this.W)&&Yi(this.W.B,mx.HEIGHT))var R=K.U.videoInfos[0].video.qualityOrdinal;else{var f=this.Ru(!!K.U.U);yx(K.videoData)||uv(K.videoData);K=K.U.videoInfos;if(K.length){var V=.85,D=K[0].video;D.projectionType!==\"MESH\"&&D.projectionType!==\"EQUIRECTANGULAR\"&&D.projectionType!==\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\"||n5||(V=.45);D=g.mz(this.W.experiments,\"html5_viewport_undersend_maximum\");for(var H=0;H=0,stateAtSend:R,joinLatencySecs:H,jsErrorCount:this.jsErrorCount,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:V,playerCanaryStage:D,isAd:this.provider.videoData.isAd(),liveMode:f,hasDrm:!!g.WD(this.provider.videoData),isGapless:this.provider.videoData.N,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai,\nencounteredSabrFallback:this.encounteredSabrFallback,isSabr:tP(this.provider.videoData)};K||g.h$(\"html5PlayerHealthEvent\",R);this.X=!0;this.dispose()}};\nlb.prototype.uD=function(){this.X||this.send();window.removeEventListener(\"error\",this.gI);window.removeEventListener(\"unhandledrejection\",this.gI);g.O.prototype.uD.call(this)};\nvar W1_=/\\bnet\\b/;Q7v.prototype.update=function(){if(this.Z){var K=this.Xg()||0,R=g.Wo(this.provider);K>=this.provider.bD.getDuration()-.1&&(this.previouslyEnded=!0);if(K!==this.U||taw(this,K,R)){var f;if(!(f=KR-this.N_+2||taw(this,K,R))){f=this.provider.bD.getVolume();var V=f!==this.UF,D=this.provider.bD.isMuted()?1:0;D!==this.EF?(this.EF=D,f=!0):(!V||this.J>=0||(this.UF=f,this.J=R),f=R-this.J,this.J>=0&&f>2?(this.J=-1,f=!0):f=!1)}f&&(Fj(this),this.X=K);this.N_=R;this.U=K}}};\nQ7v.prototype.Xg=function(){var K=this.provider.bD.Xg();return oU(this.provider.videoData)?K+this.provider.bD.jy():K};AOM.prototype.send=function(K){var R=this;if(!this.Za){var f=Ztc(this),V=g.B9(this.uri,f);this.W.Y(\"vss_through_gel_double\")&&BcD(V);this.B5&&!this.W.Y(\"html5_simplify_pings\")?nDN(this,V):JO5(this,K).then(function(D){if(R.Dk){D=D||{};D.method=\"POST\";var H=I4e(R);H&&(D.postBody=H)}R.B5&&(D=D||{},D.method=\"POST\",D.postParams={atr:R.attestationResponse});wx(V,D,{token:R.aY,kp:R.bd,mdxEnvironment:R.mdxEnvironment},R.W,K,R.y0,R.isFinal&&R.xN||R.er||R.X&&R.nT)});\nthis.Za=!0}};\nAOM.prototype.K=function(K){K===void 0&&(K=NaN);return Number(K.toFixed(3)).toString()};\nvar zC={},Tcz=(zC.LIVING_ROOM_APP_MODE_UNSPECIFIED=0,zC.LIVING_ROOM_APP_MODE_MAIN=1,zC.LIVING_ROOM_APP_MODE_KIDS=2,zC.LIVING_ROOM_APP_MODE_MUSIC=3,zC.LIVING_ROOM_APP_MODE_UNPLUGGED=4,zC.LIVING_ROOM_APP_MODE_GAMING=5,zC),x1={},kAo=(x1.EMBEDDED_PLAYER_MODE_UNKNOWN=0,x1.EMBEDDED_PLAYER_MODE_DEFAULT=1,x1.EMBEDDED_PLAYER_MODE_PFP=2,x1.EMBEDDED_PLAYER_MODE_PFL=3,x1);g.x(r7,g.O);g.w=r7.prototype;\ng.w.xb=function(){if(!this.X){this.provider.videoData.mJ===16623&&g.A$(Error(\"Playback for EmbedPage\"));var K=SR(this,\"playback\");this.Z=gD_(this);Wjc(this.U);K.N=hV(this);this.K>0&&(K.U-=this.K);K.send();if(this.provider.videoData.BI){K=this.provider.W;var R=this.provider.videoData,f={html5:\"1\",video_id:R.videoId,cpn:R.clientPlaybackNonce,ei:R.eventId,ptk:R.BI,oid:R.Y3,ptchn:R.fd,pltype:R.o3,content_v:bv(R)};R.ZV&&Object.assign(f,{m:R.ZV});K=g.B9(K.kI+\"ptracking\",f);bte(this,K)}this.provider.videoData.XG||\n(phB(this),YFh(this));this.X=!0;K=this.U;K.U=K.Xg();K.N_=g.Wo(K.provider);!(K.X===0&&K.U<5)&&K.U-K.X>2&&(K.X=K.U);K.Z=!0}};\ng.w.onProgress=function(){this.U.update();qFB(this)&&(phB(this),YFh(this))};\ng.w.uD=function(){g.O.prototype.uD.call(this);oX(this);UK_(this.U)};\ng.w.PK=function(){return Ztc(SR(this,\"playback\"))};\ng.w.UJ=function(K){var R=SR(this,\"engage\");R.Xt=K;return Xhe(R,CCM(this.provider))};s7o.prototype.isEmpty=function(){return this.endTime===this.startTime};vH.prototype.Y=function(K){return this.W.Y(K)};\nvH.prototype.getCurrentTime=function(){return this.bD.getCurrentTime()};\nvH.prototype.Xg=function(){return this.bD.Xg()};\nvar e1w={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.x(g.Lz,g.O);g.w=g.Lz.prototype;g.w.xb=function(){this.U&&this.U.xb();this.K&&this.K.xb()};\ng.w.onProgress=function(){if(this.provider.videoData.enableServerStitchedDai&&this.iL){var K;(K=this.X.get(this.iL))==null||K.onProgress()}else if(this.U)this.U.onProgress()};\ng.w.kh=function(K){this.qoe&&this.qoe.kh(K)};\ng.w.Tr=go(25);g.w.sJ=go(31);g.w.VN=function(K,R){this.qoe&&this.qoe.VN(K,R)};\ng.w.kZ=function(){if(this.provider.videoData.enableServerStitchedDai&&this.iL){var K;(K=this.X.get(this.iL))!=null&&Fj(K.U)}else this.U&&Fj(this.U.U)};\ng.w.EA=function(K,R){this.qoe&&hc2(this.qoe,K,R);if(this.K)this.K.onError(K)};\ng.w.g3=function(K,R){switch(K){case \"M\":var f;(f=this.qoe)==null||f.g3(K,R);break;case \"A\":var V;(V=this.qoe)==null||V.g3(K)}};\ng.w.onPlaybackRateChange=function(K){if(this.qoe)this.qoe.onPlaybackRateChange(K);this.U&&Fj(this.U.U)};\ng.w.i$=go(48);g.w.KQ=function(K,R,f){this.qoe&&this.qoe.KQ(K,R,f)};\ng.w.BP=function(K,R,f){this.qoe&&this.qoe.BP(K,R,f)};\ng.w.RK=function(K){var R;(R=this.qoe)==null||R.RK(K)};\ng.w.Ue=function(K){var R;(R=this.qoe)==null||R.Ue(K)};\ng.w.hH=function(K,R,f,V){var D;(D=this.qoe)==null||D.hH(K,R,f,V)};\ng.w.Bs=function(K){this.qoe&&this.qoe.Bs(K)};\ng.w.CO=function(K,R,f){this.qoe&&this.qoe.CO(K,R,f)};\ng.w.FP=go(19);g.w.NZ=function(){if(this.qoe)return this.qoe.NZ()};\ng.w.PK=function(){if(this.provider.videoData.enableServerStitchedDai&&this.iL){var K,R;return(R=(K=this.X.get(this.iL))==null?void 0:K.PK())!=null?R:{}}return this.U?this.U.PK():{}};\ng.w.Ky=function(){var K;return(K=this.qoe)==null?void 0:K.Ky()};\ng.w.YX=function(K,R){var f;(f=this.qoe)==null||f.YX(K,R)};\ng.w.UJ=function(K){return this.U?this.U.UJ(K):function(){}};\ng.w.getVideoData=function(){return this.provider.videoData};\ng.w.resume=function(){this.qoe&&this.qoe.resume()};g.x(g.zG,g.O);g.w=g.zG.prototype;g.w.PV=function(K,R){this.sync();R&&this.U.array.length>=2E3&&this.CZ(\"captions\",1E4);R=this.U;if(K.length>1&&K.length>R.array.length)R.array=R.array.concat(K),R.array.sort(R.U);else{K=g.Z(K);for(var f=K.next();!f.done;f=K.next())f=f.value,!R.array.length||R.U(f,R.array[R.array.length-1])>0?R.array.push(f):g.vy(R.array,f,R.U)}this.X=NaN;this.sync()};\ng.w.LF=function(K){K.length>1E4&&g.A$(new g.NB(\"Over 10k cueRanges removal occurs with a sample: \",K[0]));if(!this.mZ()){var R=new Set(K);this.K=this.K.filter(function(f){return!R.has(f)});\nrxv(this.U,R);this.sync()}};\ng.w.El=function(K){if(!this.mZ()){var R=this.qH().find(function(f){return f.id===void 0&&f.namespace===K});\nR&&this.LF([R])}};\ng.w.CZ=function(K,R){var f=(isNaN(this.X)?oRB(this):this.X)-R;R=this.qH().filter(function(V){return V.namespace===K&&V.endthis.U,H=g.G(f,8)&&g.G(f,16),l=this.bD.nP().isBackground()||f.isSuspended();ZM(this,this.kW,H&&!l,D,\"qoe.slowseek\",function(){},\"timeout\");\nvar F=isFinite(this.U);F=H&&F&&R.Bl(this.U);var c=!V||Math.abs(V-this.U)>10,r=this.W.Y(\"html5_exclude_initial_sabr_live_dvr_seek_in_watchdog\"),y=V===0&&this.K&&[11,10].includes(this.K);ZM(this,this.Za,F&&c&&!l&&(!r||!y),D,\"qoe.slowseek\",function(){R.seekTo(K.U)},\"set_cmt\");\nc=F&&pH(R.A$(),this.U);var h=this.bD.loader;F=!h||h.Qs();var S=function(){R.seekTo(K.U+.001)};\nZM(this,this.er,c&&F&&!l,D,\"qoe.slowseek\",S,\"jiggle_cmt\");F=function(){return K.bD.mx()};\nZM(this,this.G2,c&&!l,D,\"qoe.slowseek\",F,\"new_elem\");var v=EG(f);y=f.isBuffering();var L=R.A$(),E=bA(L,V),Q=E>=0&&L.end(E)>V+5;c=v&&y&&Q;r=this.bD.getVideoData();ZM(this,this.qe,V<.002&&this.U<.002&&H&&g.cX(this.W)&&g.MW(r)&&!l,D,\"qoe.slowseek\",F,\"slow_seek_shorts\");ZM(this,this.EF,r.mO()&&H&&!l&&!r.Z,D,\"qoe.slowseek\",F,\"slow_seek_gapless_shorts\");ZM(this,this.UF,c&&!l,v&&!y,\"qoe.longrebuffer\",S,\"jiggle_cmt\");ZM(this,this.aY,c&&!l,v&&!y,\"qoe.longrebuffer\",F,\"new_elem_nnr\");if(h){var J=h.getCurrentTime();\nH=R.q_();H=DcD(H,J);H=!h.isSeeking()&&V===H;ZM(this,this.hV,v&&y&&H&&!l,v&&!y&&!H,\"qoe.longrebuffer\",function(){R.seekTo(J)},\"seek_to_loader\")}H={};\nS=bA(L,Math.max(V-3.5,0));var A=S>=0&&V>L.end(S)-1.1,B=S>=0&&S+1=0&&A&&B<11;H.close2edge=A;H.gapsize=B;H.buflen=L.length;this.K&&(H.seekSour=this.K);ZM(this,this.Xt,v&&y&&!l,v&&!y,\"qoe.longrebuffer\",function(){},\"timeout\",H);\nH=f.isSuspended();H=this.bD.Xs()&&!H;ZM(this,this.N,H,!H,\"qoe.start15s\",function(){K.bD.Kv(\"ad\")},\"ads_preroll_timeout\");\nH=this.W.experiments.rU(\"html5_use_playback_rate_in_skip_slow_ad\")?this.bD.getPlaybackRate()*1E3:1E3;E=V-this.J5;ZM(this,this.Ne,h,v&&!y,\"qoe.longrebuffer\",function(){K.bD.Gb()},\"reset_media_source\");\nZM(this,this.oY,h,v&&!y,\"qoe.longrebuffer\",F,\"reset_media_element\");this.J===0&&(this.T=V);h=y&&this.U===0&&V>1&&V===this.T;ZM(this,this.y0,g.MW(r)&&h,v&&!y,\"qoe.slowseek\",function(){R.seekTo(0)},\"reseek_after_time_jump\");\nl=f.isOrWillBePlaying()&&!l;Q=this.bD.K4()-V<6&&!Q&&this.bD.gr();ZM(this,this.Z,r.mO()&&l&&y&&Q,v&&!y,\"qoe.longrebuffer\",function(){K.bD.mx(!1,!0)},\"handoff_end_long_buffer_reload\");\nl=this.K===104||this.bD.cj;f=rQ(r)&&r.isAd()&&!r.Z&&l&&(y||g.G(f,8)&&g.G(f,16));ZM(this,this.OF,f,D,\"qoe.start15s\",F,\"gapless_ad_slow_start\");f=rQ(r)&&!r.Z&&l&&c;ZM(this,this.v5,f,D,\"qoe.longrebuffer\",F,\"gapless_slow_start\");this.J=V;this.B.start()}};\nJV.prototype.EA=function(K,R,f){R=this.PK(R);R.wn=f;R.wdup=this.X[K]?\"1\":\"0\";this.bD.EA(new g.e$(K,R));this.X[K]=!0};\nJV.prototype.PK=function(K){K=Object.assign(this.bD.PK(!0),K.PK());this.U&&(K.stt=this.U.toFixed(3));this.bD.getVideoData().isLivePlayback&&(K.ct=this.bD.getCurrentTime().toFixed(3),K.to=this.bD.jy().toFixed(3));delete K.uga;delete K.euri;delete K.referrer;delete K.fexp;delete K.vm;return K};\nAV.prototype.reset=function(){this.U=this.K=this.X=this.startTimestamp=0;this.J=!1};\nAV.prototype.test=function(K){if(!this.B||this.K)return!1;if(!K)return this.reset(),!1;K=(0,g.N7)();if(!this.startTimestamp)this.startTimestamp=K,this.X=0;else if(this.X>=this.B)return this.K=K,!0;this.X+=1;return!1};\nAV.prototype.PK=function(){var K={},R=(0,g.N7)();this.startTimestamp&&(K.wsd=(R-this.startTimestamp).toFixed());this.K&&(K.wtd=(R-this.K).toFixed());this.U&&(K.wssd=(R-this.U).toFixed());return K};g.x(BLc,g.O);g.w=BLc.prototype;g.w.setMediaElement=function(K){(this.mediaElement=K)?(this.mediaElement&&(this.B||this.X||!this.mediaElement.Mp()||this.seekTo(.01,{oQ:\"seektimeline_setupMediaElement\"})),BH(this)):k5(this)};\ng.w.getCurrentTime=function(K){K=K===void 0?!1:K;if(Xj(this.bD)){if(this.Y(\"html5_use_centralized_player_time\")&&!K&&!isNaN(this.T))return this.T;if(!isNaN(this.K))return this.K}else{if(this.Y(\"html5_use_centralized_player_time\")&&!K&&!isNaN(this.T)&&isFinite(this.T))return this.T;if(!isNaN(this.K)&&isFinite(this.K))return this.K}return this.mediaElement&&YJ2(this)?this.mediaElement.getCurrentTime()+this.timestampOffset:this.X||0};\ng.w.UB=function(){return this.OF};\ng.w.Xg=function(){return this.getCurrentTime()-this.jy()};\ng.w.B1=function(){return this.U?this.U.B1():Infinity};\ng.w.isAtLiveHead=function(K){if(!this.U)return!1;K===void 0&&(K=this.getCurrentTime());return Ug(this.U,K)};\ng.w.sy=function(){return!!this.U&&this.U.sy()};\ng.w.seekTo=function(K,R){var f=R===void 0?{}:R;R=f.wA===void 0?!1:f.wA;var V=f.Fz===void 0?0:f.Fz;var D=f.bJ===void 0?!1:f.bJ;var H=f.du===void 0?0:f.du;var l=f.oQ===void 0?\"\":f.oQ;var F=f.seekSource===void 0?void 0:f.seekSource;var c=f.zb===void 0?!1:f.zb;var r=f.DI===void 0?!1:f.DI;f=f.Bc===void 0?!1:f.Bc;c&&(K+=this.jy());tP(this.videoData)&&F===29&&(this.OF=void 0);c=K=this.xY())||!g.ks(this.videoData),E||(Q={st:Q,mst:this.xY()},this.U&&this.Y(\"html5_high_res_seek_logging\")&&(Q.ht=this.U.B1(),Q.adft=Ng(this.U)),this.bD.KQ(\"seeknotallowed\",Q)),Q=E));if(!Q)return this.J&&(this.J=null,Mbh(this)),g.Zc(this.getCurrentTime());Q=.005;r&&this.Y(\"html5_sabr_seek_no_shift_tolerance\")&&(Q=0);if(Math.abs(K-this.K)<=Q&&this.y0)return this.B;l&&(Q=K,this.W.oG()||this.Y(\"html5_log_seek_reasons\"))&&\n(l={reason:l,tgt:Q},this.Y(\"html5_sabr_csdai_seek_log\")&&(l.source=F),this.bD.KQ(\"seekreason\",l));F&&(this.UF.K=F);this.y0&&k5(this);this.B||(this.B=new y9);K&&!isFinite(K)&&Pze(this,!1);(l=f||c)||(l=K,l=!(this.videoData.isLivePlayback&&this.videoData.X&&!this.videoData.X.U&&!(this.mediaElement&&this.mediaElement.Rk()>0&&this.mediaElement.dg()>0)||xs(this.videoData)&&this.Zk()===this.xY(!1)?0:isFinite(l)||!xs(this.videoData)));l||(K=TG(this,K,D));K&&!isFinite(K)&&Pze(this,!1);this.Y(\"html5_use_centralized_player_time\")?\nthis.T=K:this.K=this.X=K;this.Ne=H;this.N=0;this.U&&(D=this.U,H=K,Uqz(D,H,!1),Wic(D,H));D=this.bD;H=K;l={wA:R,seekSource:F};D.Js.X=H;f=D.NE;f.mediaTime=H;f.U=!0;l.wA&&D.K5(l);l=H>D.videoData.endSeconds&&H>D.videoData.limitedPlaybackDurationInSeconds;D.FT&&l&&isFinite(H)&&Wgv(D);H0&&KR.start&&\nWgv(this.bD);return this.B};\ng.w.xY=function(K){if(!this.videoData.isLivePlayback)return this.bD.videoData.xY();var R;return Dk(this.videoData)&&((R=this.mediaElement)==null?0:R.isPaused())&&this.videoData.U?(K=this.getCurrentTime(),EF2(this.IC(K)*1E3)+K):this.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&tP(this.videoData)&&this.videoData.U?K?this.videoData.U.Xt||0:this.videoData.U.H7||0:xs(this.videoData)&&this.videoData.eQ&&this.videoData.U?this.videoData.U.xY()+this.timestampOffset:this.videoData.X&&this.videoData.X.U?\n!K&&this.U?this.U.B1():this.bD.videoData.xY()+this.timestampOffset:this.mediaElement?s$()?EF2(this.mediaElement.c6().getTime()):this.mediaElement.dg()+this.timestampOffset||this.timestampOffset:this.timestampOffset};\ng.w.Zk=function(){if(this.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&tP(this.videoData)){var K;return((K=this.videoData.U)==null?void 0:K.tW)||0}K=this.videoData?this.videoData.Zk()+this.timestampOffset:this.timestampOffset;if(Dk(this.videoData)&&this.videoData.U){var R,f=Number((R=this.videoData.progressBarStartPosition)==null?void 0:R.utcTimeMillis)/1E3;if(!isNaN(f)&&(R=this.zk(f),!isNaN(R)))return Math.max(K,R)}return K};\ng.w.pR=function(){this.B||this.seekTo(this.X,{oQ:\"seektimeline_forceResumeTime_singleMediaSourceTransition\",seekSource:15})};\ng.w.tT=function(){return this.y0&&!isFinite(this.K)};\ng.w.uD=function(){nRB(this,null);this.UF.dispose();g.O.prototype.uD.call(this)};\ng.w.PK=function(){var K={};this.loader&&Object.assign(K,this.loader.PK());this.mediaElement&&Object.assign(K,this.mediaElement.PK());return K};\ng.w.kz=function(K){this.timestampOffset=K};\ng.w.getStreamTimeOffset=function(){return xs(this.videoData)?0:this.videoData.U?this.videoData.U.getStreamTimeOffset():0};\ng.w.jy=function(){return this.timestampOffset};\ng.w.IC=function(K){return this.videoData&&this.videoData.U?this.videoData.U.IC(K-this.timestampOffset):NaN};\ng.w.z9=function(){if(!this.mediaElement)return 0;if(TW(this.videoData)){var K=this.mediaElement.KX()+this.timestampOffset-this.Zk(),R=this.xY()-this.Zk();return Math.max(0,Math.min(1,K/R))}return this.mediaElement.z9()};\ng.w.n3=function(K){this.Z&&(this.Z.U=K)};\ng.w.rr=function(K,R,f){this.bD.KQ(\"requestUtcSeek\",{time:K});tP(this.videoData)&&(this.OF=K);var V;(V=this.loader)==null||V.rr(K,f);R&&(this.B5=R)};\ng.w.rM=function(K){tP(this.videoData)&&(this.OF=void 0);this.B5?(this.bD.KQ(\"utcSeekingFallback\",{source:\"streamTime\",timeSeconds:this.B5}),this.bD.seekTo(this.B5,{oQ:\"utcSeekingFallback_streamTime\"}),this.B5=0):(K=this.zk(K),isNaN(K)||(this.bD.KQ(\"utcSeekingFallback\",{source:\"estimate\",timeSeconds:K}),this.bD.seekTo(K,{oQ:\"utcSeekingFallback_estimate\"})))};\ng.w.Cj=function(){this.B5=0};\ng.w.Gc=function(K){this.G2=K};\ng.w.zk=function(K){var R=this.getCurrentTime();if(isNaN(R))return NaN;var f=this.IC(R);return isNaN(f)?NaN:K-(f-R)};\ng.w.Y=function(K){return this.W&&this.W.Y(K)};g.x(PH,g.O);PH.prototype.start=function(){this.K.start()};\nPH.prototype.stop=function(){this.K.stop()};\nPH.prototype.clear=function(){for(var K=g.Z(this.U.values()),R=K.next();!R.done;R=K.next())R.value.clear()};\nPH.prototype.sample=function(){for(var K=g.Z(this.X),R=K.next();!R.done;R=K.next()){var f=g.Z(R.value);R=f.next().value;f=f.next().value;this.U.has(R)||this.U.set(R,new e0w(tc_.has(R)));this.U.get(R).update(f())}this.K.start()};\nvar tc_=new Set([\"networkactivity\"]);e0w.prototype.update=function(K){this.K?(this.buffer.add(K-this.U||0),this.U=K):this.buffer.add(K)};\ne0w.prototype.clear=function(){this.buffer.clear();this.U=0};g7.prototype.Yr=function(){return this.started};\ng7.prototype.start=function(){this.started=!0};\ng7.prototype.reset=function(){this.finished=this.started=!1};var Hkw=!1;g.x(g.Mg,g.VQ);g.w=g.Mg.prototype;g.w.uD=function(){g.a9(this.ek);O_o(this.Qt);this.visibility.unsubscribe(\"visibilitystatechange\",this.Qt);R0B(this.sC);g.v5(this.sC);GG(this);g.b7.SQ(this.aK);this.EU();this.pK=null;g.v5(this.videoData);g.v5(this.C4);g.v5(this.sx);g.v5(this.DP);g.Ls(this.jG5);this.FT=null;g.VQ.prototype.uD.call(this)};\ng.w.CO=function(K,R,f,V,D){if(this.W.Y(\"html5_log_ad_playback_docid\")){var H=this.sC;if(H.qoe){H=H.qoe;var l=this.W.UF||\"yt\";g.aN(H,g.Wo(H.provider),\"ad_playback\",[K,R,f,D,l])}}else this.sC.CO(K,R,f);this.Y(\"html5_log_media_perf_info\")&&this.KQ(\"adloudness\",{ld:V.toFixed(3),cpn:K})};\ng.w.E8=function(){var K;return(K=this.loader)==null?void 0:K.E8()};\ng.w.U8=function(){var K;return(K=this.loader)==null?void 0:K.U8()};\ng.w.V2=function(){var K;return(K=this.loader)==null?void 0:K.V2()};\ng.w.VE=function(){var K;return(K=this.loader)==null?void 0:K.VE()};\ng.w.Im=function(){return this.videoData.Im()};\ng.w.JK=function(){return this.Y(\"html5_not_reset_media_source\")&&this.videoData.isLivePlayback};\ng.w.W7=function(){this.videoData.N&&(this.videoData.Dq=this.videoData.Dq||this.Gi.LQ().E8(),this.videoData.ND=this.videoData.ND||this.Gi.LQ().U8());if(cEo(this.videoData)||!fl(this.videoData)){var K=this.videoData.errorDetail;this.CK(this.videoData.errorCode||\"auth\",2,unescape(this.videoData.errorReason),K,K,this.videoData.ZT||void 0)}this.Y(\"html5_generate_content_po_token\")&&this.Og();this.Y(\"html5_enable_d6de4\")&&this.Mu();this.Y(\"html5_reset_client_format_capabilities_per_playback\")&&this.W.B.U.clear()};\ng.w.getVideoData=function(){return this.videoData};\ng.w.C=function(){return this.W};\ng.w.XE=function(){return this.SL.XE(this.pK)};\ng.w.nP=function(){return this.visibility};\ng.w.XA=function(){return this.mediaElement&&this.mediaElement.JF()?this.mediaElement.ud():null};\ng.w.CL=function(){return this.mediaElement};\ng.w.Gn=function(){if(this.videoData.errorCode)return!1;this.C().T&&this.C().houseBrandUserStatus&&this.KQ(\"hbut\",{status:this.C().houseBrandUserStatus},!0);if(this.videoData.e4())return!0;this.CK(\"api.invalidparam\",2,void 0,\"invalidVideodata.1\");return!1};\ng.w.z1=function(K){(K=K===void 0?!1:K)||KiN(this.sC);this.tE=K;!this.Gn()||this.k0.Yr()?wlM(this)&&this.k0.Yr()&&!this.k0.finished&&!this.tE&&this.Wk():(this.k0.start(),K=this.sC,g.Wo(K.provider),K.qoe&&rXw(K.qoe),this.Wk())};\ng.w.Wk=function(){if(this.videoData.isLoaded()){var K=this.C4;g.mz(K.gU.experiments,\"html5_player_min_build_cl\")>0&&g.mz(K.gU.experiments,\"html5_player_min_build_cl\")>830666133&&R1c(K,\"oldplayer\");aGD(this)}else this.videoData.Dk||this.videoData.rQ?this.tE&&wlM(this)||(this.videoData.Dk?YQN(this.videoData):(K=this.sC,K.qoe&&(K=K.qoe,Zf(K,\"protected\"),K.provider.videoData.B?K.oS():K.provider.videoData.subscribe(\"dataloaded\",K.oS,K)),jqc(this.videoData))):!this.videoData.loading&&this.hJ&&zHz(this)};\ng.w.M3=function(K){this.BK=K;this.loader&&(Ikv(this.loader,K),this.KQ(\"sdai\",{sdsstm:1}))};\ng.w.SG=function(K,R,f){var V;(V=this.loader)==null||V.SG(K,R,f)};\ng.w.qw=function(K){var R;(R=this.loader)==null||R.qw(K)};\ng.w.xZ=function(){var K;return((K=this.loader)==null?void 0:K.DM())||null};\ng.w.isFullscreen=function(){return this.visibility.isFullscreen()};\ng.w.isBackground=function(){return this.visibility.isBackground()};\ng.w.Hg=function(){var K=this;pz(this).then(function(){return Y5(K)});\nthis.playerState.isOrWillBePlaying()&&this.playVideo()};\ng.w.UH=function(){this.mediaElement&&this.mediaElement.activate();this.z1();this.Gn()&&!g.G(this.playerState,128)&&(this.jG.Yr()||(this.jG.start(),this.videoData.Fn?this.EL(Ly(this.playerState,4)):this.EL(Ly(Ly(this.playerState,8),1))),xC_(this))};\ng.w.gP=function(){return this.k0.finished};\ng.w.sendAbandonmentPing=function(){g.G(this.getPlayerState(),128)||(this.publish(\"internalAbandon\"),this.IP(!0),R0B(this.sC),g.v5(this.sC),g.b7.SQ(this.aK))};\ng.w.GX=function(K,R,f){K=K===void 0?!0:K;(R===void 0||R)&&this.mediaElement&&this.mediaElement.pause();K&&f&&this.loader&&xs(this.videoData)&&this.loader.hH(f);this.EL(K?new g.S3(14):new g.S3)};\ng.w.uu=function(){this.sC.kZ()};\ng.w.CK=function(K,R,f,V,D,H){var l,F;g.Ah(O8i,f)?l=f:f?F=f:l=\"GENERIC_WITHOUT_LINK\";V=(V||\"\")+(\";a6s.\"+C$());if(K===\"auth\"||K===\"drm.auth\"||K===\"heartbeat.stop\")f&&(V+=\";r.\"+f.replaceAll(\" \",\"_\")),H&&(V+=\"sr.\"+H.replaceAll(\" \",\"_\"));R={errorCode:K,errorDetail:D,errorMessage:F||g.Xk[l]||\"\",Ot:l,ZT:H||\"\",OX:V,WH:R,cpn:this.videoData.clientPlaybackNonce};this.videoData.errorCode=K;m9(this,\"dataloaderror\");this.EL(vq(this.playerState,128,R));g.b7.SQ(this.aK);GG(this);this.dk()};\ng.w.Kv=function(K){this.NS=this.NS.filter(function(R){return K!==R});\nthis.jG.Yr()&&xC_(this)};\ng.w.Zn=function(){var K;(K=!!this.NS.length)||(K=this.zA.U.array[0],K=!!K&&K.start<=-0x8000000000000);return K};\ng.w.sy=function(){return this.Js.sy()};\ng.w.isPlaying=function(){return this.playerState.isPlaying()};\ng.w.AE=function(){return this.playerState.AE()&&this.videoData.Fn};\ng.w.getPlayerState=function(){return this.playerState};\ng.w.xF=function(K){var R;(R=this.loader)==null||R.xF(K)};\ng.w.Fc=function(K){var R;(R=this.loader)==null||R.Fc(K)};\ng.w.getPlayerType=function(){return this.playerType};\ng.w.getPreferredQuality=function(){if(this.pK){var K=this.pK;K=K.videoData.sf.compose(K.videoData.RN);K=Tn(K)}else K=\"auto\";return K};\ng.w.M_=go(12);g.w.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()};\ng.w.setMediaElement=function(K){if(this.mediaElement&&K.ud()===this.mediaElement.ud()&&(K.isView()||this.mediaElement.isView())){if(K.isView()||!this.mediaElement.isView())this.sR(),this.mediaElement=K,this.mediaElement.q3(this),Okh(this),this.Js.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.EU();if(!this.playerState.isError()){var R=wv(this.playerState,512);g.G(R,8)&&!g.G(R,2)&&(R=Ly(R,1));K.isView()&&(R=wv(R,64));this.EL(R)}this.mediaElement=K;this.mediaElement.q3(this);!g.cX(this.W)&&\nthis.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);Okh(this);this.Js.setMediaElement(this.mediaElement);this.Y(\"html5_prewarm_media_source\")&&!this.C4.OG()&&this.mediaElement.ke()}};\ng.w.EU=function(K,R,f){K=K===void 0?!1:K;R=R===void 0?!1:R;f=f===void 0?!1:f;if(this.mediaElement){var V=this.getCurrentTime();V>0&&(this.Js.X=V);this.Js.setMediaElement(null);!K&&this.JK()?PhN(this):this.pW(f);this.loader&&(F9(this.loader),eR(this,R));this.mC.stop();if(this.mediaElement&&(!this.jG.Yr()&&!this.Xs()||this.playerState.isError()||g.G(this.playerState,2)||this.EL(Ly(this.playerState,512)),this.mediaElement)){this.sR();if(K||!this.mediaElement.isView())this.ye.E2(\"mesv_s\"),this.mediaElement.stopVideo(),\nKE(this);this.mediaElement.q3(null);this.mediaElement=null}}};\ng.w.playVideo=function(K,R){K=K===void 0?!1:K;R=R===void 0?!1:R;var f=this,V,D,H,l,F,c;return g.I(function(r){if(r.U==1){var y=window.google_image_requests;y&&y.length>10&&(window.google_image_requests=y.slice(-10));if(g.G(f.playerState,128))return r.return();if(f.C4.J2())return f.publish(\"signatureexpired\"),r.return();f.mediaElement&&KiN(f.sC);f.UH();(g.G(f.playerState,64)||K)&&f.EL(Ly(f.playerState,8));return f.jG.finished&&f.mediaElement?f.pK||!f.s3?r.J5(2):g.P(r,f.s3,3):r.return()}if(r.U!=2&&\ng.G(f.playerState,128))return r.return();if(!f.videoData.X)return f.videoData.isLivePlayback&&!g.z9(f.W.B,!0)?(V=\"html5.unsupportedlive\",D=2):(V=f.videoData.Im()?\"fmt.unplayable\":\"fmt.noneavailable\",D=1),g.A$(Error(\"selectableFormats\")),f.CK(V,D,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.selectableFormats\"),r.return();if(f.dD()&&f.videoData.X.U)return r.return(pz(f));if(Xj(f))y=f.Js,LZ(y.videoData)&&!y.isAtLiveHead(y.getCurrentTime())&&y.sy()&&y.bD.seekTo(Infinity,{oQ:\"seektimeline_peggedToLive\",\nseekSource:34});else if(LZ(f.videoData)&&(H=f.getCurrentTime()l;if(!F||!l){D&&F&&(H=Math.max(H,D));var c;D=l4N(R,(c=V.U)==null?void 0:c.videoInfos);c=R.bD.getPlaybackRate();c>1&&D&&(c=KNB(R.W.B,V.U.videoInfos,c),K.U!==0&&c=480;if(R.Y(\"html5_perf_cap_override_sticky\")){r=R.X;R=R.Y(\"html5_perserve_av1_perf_cap\");R=R===void 0?!1:R;if(R===void 0?0:R){y=EC();K=g.Z(Object.keys(y));for(H=K.next();!H.done;H=K.next())H=H.value,H.indexOf(\"1\")!==0&&delete y[H];g.Pe(\"yt-player-performance-cap\",y,2592E3)}else g.Ia(\"yt-player-performance-cap\");DYo(R);if(R){R=g.Z(sy.keys());for(y=R.next();!y.done;y=R.next())y=y.value,y.startsWith(\"1\")||\nsy.delete(y);R=g.Z($5.values());for(y=R.next();!y.done;y=R.next())y=y.value,y.startsWith(\"1\")||$5.delete(y);R=g.Z(r.keys());for(y=R.next();!y.done;y=R.next())y=y.value,y.startsWith(\"1\")||r.delete(y)}else sy.clear(),$5.clear(),r.clear()}}}}this.loader&&(R=this.loader,f=f||\"\",R.policy.U?rL(R.J.U,f):rL(R.U.B,f));this.hR()};\ng.w.getUserPlaybackQualityPreference=function(){return this.videoData.X&&!this.videoData.X.U?Tn(this.videoData.sf):ki[zn()]};\ng.w.hasSupportedAudio51Tracks=function(){return this.videoData.hasSupportedAudio51Tracks()};\ng.w.setUserAudio51Preference=function(K,R){this.getUserAudio51Preference()!==K&&(this.KQ(\"toggle51\",{pref:K}),g.Pe(\"yt-player-audio51\",K,R?31536E3:2592E3),this.Hg())};\ng.w.getUserAudio51Preference=function(){return this.videoData.getUserAudio51Preference()};\ng.w.setProximaLatencyPreference=function(K){var R=this.getProximaLatencyPreference();this.KQ(\"proxima\",{pref:K});g.Pe(\"yt-player-proxima-pref\",K,31536E3);R!==K&&(K=this.Js,K.v5=!0,K.bD.seekTo(Infinity,{oQ:\"seektimeline_proximaSeekToHead\",seekSource:34}))};\ng.w.getProximaLatencyPreference=function(){var K;return(K=xi())!=null?K:0};\ng.w.isProximaLatencyEligible=function(){return this.videoData.isProximaLatencyEligible};\ng.w.Og=function(){this.videoData.videoId?this.Gi.Og(this.videoData):this.KQ(\"povid\",{})};\ng.w.Mu=function(){this.videoData.videoId?this.Gi.Mu(this.videoData):this.KQ(\"piavid\",{})};\ng.w.hR=function(){if(!this.mZ()&&!g.G(this.playerState,128)&&this.videoData.X){if(this.videoData.X.U)jR(this);else{var K=Cz(this),R=this.videoData;a:{var f=this.videoData.v5;if(K.U){for(var V=g.Z(f),D=V.next();!D.done;D=V.next()){D=D.value;var H=D.getInfo(),l=g.x0[H.video.quality];if((!K.X||H.video.quality!==\"auto\")&&l<=K.U){f=D;break a}}f=f[f.length-1]}else f=f[0]}R.y0=f;t0e(this,K.reason,M0D(this,this.videoData.y0))}if(this.Y(\"html5_check_unstarted\")?this.playerState.isOrWillBePlaying():this.isPlaying())this.Js.EF=\n!1,this.playVideo()}};\ng.w.r3=function(K,R){if(this.mZ()||g.G(this.playerState,128))return!1;var f,V=!((f=this.videoData.X)==null||!f.U);f=V&&R?this.getCurrentTime()-this.jy():NaN;if(K.tV&&K.tV.id){var D=this.sC;if(D.qoe){D=D.qoe;var H=[K.tV.id,isNaN(f)?\"m\":\"t\"];g.aN(D,g.Wo(D.provider),\"afi\",H)}}if(V)return R&&(V=ITB(this.Js),this.KQ(\"aswh\",{id:K.id,xtags:K.xtags,bh:V.toFixed(3)})),this.loader.setAudioTrack(K,f,R),!0;if(Jph(this)){a:{R=this.mediaElement.audioTracks();for(V=0;VH.sF.getDuration()&&gKB(H,l)):gKB(H,r);var y=H.loader,h=H.sF;F=F===void 0?!1:F;c=c===void 0?!1:c;y.policy.er&&(y.policy.G2&&y.KQ(\"loader\",{setsmb:0}),y.Lv(),y.policy.er=!1);WK5(y,c);if(!dv(h)){var S=$D(y.videoTrack),v=$D(y.audioTrack),L=(S?S.info.RY:y.videoTrack.RY).info,E=(v?v.info.RY:y.audioTrack.RY).info,Q=y.policy.ND,\nJ=L.mimeType+(Q===void 0?\"\":Q),A=E.mimeType,B=L.P5,k=E.P5,b;h.UF=(b=h.sF)==null?void 0:b.addSourceBuffer(A);var M;h.aY=J.split(\";\")[0]===\"fakesb\"?void 0:(M=h.sF)==null?void 0:M.addSourceBuffer(J);h.gQ&&(h.gQ.webkitSourceAddId(\"0\",A),h.gQ.webkitSourceAddId(\"1\",J));var Hc=new RT(h.UF,h.gQ,\"0\",Q4(A),k,!1),fB=new RT(h.aY,h.gQ,\"1\",Q4(J),B,!0);lFN(h,Hc,fB)}S=F;v=c;S=S===void 0?!1:S;v=v===void 0?!1:v;Mq(y.videoTrack,h.K||null,v);Mq(y.audioTrack,h.U||null,v);y.sF=h;y.sF.B=!0;S||y.resume();h.U.Ro(y.Ne,y);\nh.K.Ro(y.Ne,y);try{y.zi()}catch(Rw){g.WR(Rw)}H.publish(\"mediasourceattached\")}}catch(Rw){g.A$(Rw),H.handleError(new g.e$(\"fmt.unplayable\",{msi:\"1\",ename:Rw&&typeof Rw===\"object\"&&\"name\"in Rw?String(Rw.name):void 0,trg:\"setmediasrc\"},1))}}\nvar H=this;R=R===void 0?!1:R;f=f===void 0?!1:f;IG5(this,V===void 0?!1:V);this.sF=K;this.JK()&&Fn(this.sF)===\"open\"?D(this.sF):$c_(this.sF,D)};\ng.w.Ez=function(K){this.hB.set(K.initData,K);this.LK&&(this.LK.Ez(K),this.Y(\"html5_eme_loader_sync\")||this.hB.remove(K.initData))};\ng.w.jq=function(K){this.videoData.DT=g.Z1(\"auto\",K,!1,\"u\");jR(this)};\ng.w.n3=function(K){var R=K.reason,f=K.U.info,V=K.token,D=K.videoId,H=this.sC,l=this.videoData;if(f!==l.J){var F=!l.J;l.J=f;R!==\"m\"&&R!==\"t\"&&(R=F?\"i\":\"a\");var c=R===\"m\"||R===\"t\";this.W.experiments.rU(\"html5_refactor_sabr_audio_format_selection_logging\")?this.xg=new DKN(l,f,R,\"\",V,D):(R=new DKN(l,f,R,\"\",V),H.qoe&&(H=H.qoe,f=g.Wo(H.provider),wmo(H,f,R)));this.publish(\"internalaudioformatchange\",l,!F&&c)}this.bH();this.Js.n3(K.U.index)};\ng.w.Ss=function(K){this.publish(\"localmediachange\",K)};\ng.w.LM=function(K){K=K===void 0?{}:K;var R;(R=this.loader)==null||R.LM(this.W,hN(this.videoData),K)};\ng.w.J2=function(){return this.C4.J2()};\ng.w.vI=function(K){this.EA(new g.e$(\"staleconfig\",{reason:K}))};\ng.w.handleError=function(K){this.C4.handleError(K)};\ng.w.OG=function(){return this.C4.OG()};\ng.w.rM=function(K){this.Js.rM(K)};\ng.w.mx=function(K,R){K=K===void 0?!1:K;R=R===void 0?!1:R;var f=this,V,D,H;return g.I(function(l){if(l.U==1){f.loader&&f.loader.iK();f.loader&&f.loader.mZ()&&GG(f);if(f.Y(\"html5_enable_vp9_fairplay\")&&f.Im()&&(V=f.videoData.U)!=null)for(var F in V.U)V.U.hasOwnProperty(F)&&(V.U[F].U=null,V.U[F].X=!1);f.EL(Ly(f.playerState,2048));f.publish(\"newelementrequired\");return K?g.P(l,pz(f),2):l.J5(2)}f.videoData.qY()&&((D=f.loader)==null?0:D.B5)&&!Xj(f)&&((H=f.isAtLiveHead())&&LZ(f.videoData)?f.seekTo(Infinity,\n{oQ:\"videoPlayer_getNewElement\"}):f.videoData.V9&&f.loader&&(F=f.loader,F.fQ.qY&&(F.fQ.V9||F.fQ.J||F.fQ.isPremiere?(F.seek(0,{oQ:\"loader_resetSqless\"}),F.videoTrack.T=!0,F.audioTrack.T=!0,F.videoTrack.J=!0,F.audioTrack.J=!0):m4(F.fQ)&&Qm(F))));R&&f.seekTo(0,{seekSource:105});g.G(f.playerState,8)&&f.playVideo();g.lE(l)})};\ng.w.v_=function(K){this.KQ(\"hgte\",{ne:+K});this.videoData.N=!1;K&&this.mx();this.loader&&Uy2(this.loader)};\ng.w.rg=function(K){this.KQ(\"newelem\",{r:K});this.mx()};\ng.w.pauseVideo=function(K){K=K===void 0?!1:K;if((g.G(this.playerState,64)||g.G(this.playerState,2))&&!K)if(g.G(this.playerState,8))this.EL(zT(this.playerState,4,8));else if(this.AE())Y5(this);else return;g.G(this.playerState,128)||(K?this.EL(Ly(this.playerState,256)):this.EL(zT(this.playerState,4,8)));this.mediaElement&&this.mediaElement.pause();g.ks(this.videoData)&&this.loader&&eR(this,!1)};\ng.w.stopVideo=function(){this.pauseVideo();this.loader&&(eR(this,!1),this.loader.Lv())};\ng.w.dk=function(K,R){K=K===void 0?!1:K;R=R===void 0?!1:R;if(this.JK()&&R){var f;(f=this.mediaElement)==null||f.dk()}else{var V;(V=this.mediaElement)==null||V.stopVideo()}KE(this);GG(this);g.G(this.playerState,128)||(K?this.EL(wv(wv(Ly(this.playerState,4),8),16)):this.EL(vq(this.playerState)));this.videoData.videoId&&this.W.qe.remove(this.videoData.videoId)};\ng.w.seekTo=function(K,R){R=R===void 0?{}:R;g.G(this.playerState,2)&&Y5(this);R.R_p&&this.EL(Ly(this.playerState,2048));if((R.seekSource===58||R.seekSource===60)&&this.Y(\"html5_update_vss_during_gapless_seeking\")){var f=this.sC;f.U&&(f=f.U,R.seekSource===58?f.U.update():f.X&&(oX(f),ib(f).send(),f.J=NaN))}this.Js.seekTo(K,R);this.zA.sync()};\ng.w.K5=function(K){this.ye.J.K=(0,g.N7)();g.G(this.playerState,32)||(this.EL(Ly(this.playerState,32,K==null?void 0:K.seekSource)),g.G(this.playerState,8)&&this.pauseVideo(!0),this.publish(\"beginseeking\"));this.eM()};\ng.w.Wb=function(K){K=K==null?void 0:K.seekSource;g.G(this.playerState,32)?(this.EL(zT(this.playerState,16,32,K)),this.publish(\"endseeking\")):g.G(this.playerState,2)||this.EL(Ly(this.playerState,16,K));K=this.ye.J;var R=this.videoData,f=this.playerState.isPaused();if(R.clientPlaybackNonce&&!isNaN(K.U)){if(Math.random()<.01){f=f?\"pbp\":\"pbs\";var V={startTime:K.U};R.T&&(V.cttAuthInfo={token:R.T,videoId:R.videoId});t2(\"seek\",V);g.WV({clientPlaybackNonce:R.clientPlaybackNonce},\"seek\");isNaN(K.K)||Uz(\"pl_ss\",\nK.K,\"seek\");Uz(f,(0,g.N7)(),\"seek\")}K.reset()}};\ng.w.mS=function(K){this.Wb(K)};\ng.w.Yz=function(){this.publish(\"SEEK_COMPLETE\")};\ng.w.Wq=function(K){var R=this.Gi,f=this.videoData.clientPlaybackNonce,V=this.playerType;if(K.scope===4){var D=K.type;if(D){var H=R.z2(),l=H.getVideoData().clientPlaybackNonce;V===1&&(l=f);if(V=DZw(R,l)){if(f=V.getVideoData())K.writePolicy===2&&f.sabrContextUpdates.has(D)||(K.sendByDefault&&f.qe.add(D),f.sabrContextUpdates.set(D,K)),R.Y(\"html5_enable_t1_enf_on_sabr\")&&(K=D===5,D=$HB(f.playerResponse),K?(K=D?1:0,ld(K,\"m.p_\",{}),eK(\"MBSTAT\",K)):K=1,K===0&&R.YW.lD(\"onAbnormalityDetected\"))}else H.KQ(\"scuset\",\n{ncpf:\"1\",ccpn:l,crcpn:f})}else g.A$(Error(\"b/380308491: contextUpdateType is undefined\"))}};\ng.w.J6=function(){if(this.playerType===2)return this.Gi.J6(\"\")};\ng.w.getCurrentTime=function(K){return this.Js.getCurrentTime(K===void 0?!1:K)};\ng.w.UB=function(){return this.Js.UB()};\ng.w.Xg=function(){return this.Js.Xg()};\ng.w.Br=function(){return this.Xg()};\ng.w.B1=function(){return this.Js.B1()};\ng.w.getPlaylistSequenceForTime=function(K){return this.videoData.getPlaylistSequenceForTime(K-this.jy())};\ng.w.hN=function(){var K=NaN;this.mediaElement&&(K=this.mediaElement.hN());return K>=0?K:this.getCurrentTime()};\ng.w.IC=function(){var K;return((K=this.videoData.U)==null?0:K.IC)?this.videoData.U.IC(this.getCurrentTime()-this.jy()):this.mediaElement&&(K=this.mediaElement.c6())&&(K=K.getTime(),!isNaN(K))?K/1E3+this.getCurrentTime():NaN};\ng.w.getDuration=function(){return this.videoData.lengthSeconds?this.videoData.lengthSeconds+this.jy():this.xY()?this.xY():0};\ng.w.Fy=function(){var K=new HL5;if(this.loader){var R=this.IG,f=this.W.oG();f=f===void 0?!1:f;K.Qd=R.Xt;K.HP=R.Ne;K.bandwidthEstimate=b8(R);if(f){f=(R.Z.jI()*1E3).toFixed();var V=(R.y0.jI()*1E3).toFixed(),D=q$(R).toFixed(2),H=((R.N.jI()||0)*1E9).toFixed(2),l=R.X.jI().toFixed(0),F=R.er.jI().toFixed(0),c=R.EF.percentile(.5).toFixed(2),r=R.EF.percentile(.92).toFixed(2),y=R.EF.percentile(.96).toFixed(2),h=R.EF.percentile(.98).toFixed(2);R.U?R.U.reset():R.U=new dc;R.U.add(R.B5);R.U.add(R.interruptions.length);\nfor(var S=0,v=R.interruptions.length-1;v>=0;v--){var L=R.interruptions[v];R.U.add(L-S);S=L}S=0;for(v=R.J.length-1;v>=0;v--){L=R.J[v];var E=L.stamp/36E5;R.U.add(E-S);S=E;R.U.add(L.net/1E3);R.U.add(L.max)}R=R.U.PB();K.U={ttr:f,ttm:V,d:D,st:H,bw:l,abw:F,v50:c,v92:r,v96:y,v98:h,\"int\":R}}R=this.loader;R.sF&&R.sF.B&&!R.sF.L7()&&(K.B_=Kk(R.videoTrack),K.K=Kk(R.audioTrack),R.policy.X&&(f=CL(R.videoTrack),V=CL(R.audioTrack),D=Mr(R.sF.K.vV(),\"_\",5),H=Mr(R.sF.U.vV(),\"_\",5),Object.assign(K.U,{lvq:f,laq:V,lvb:D,\nlab:H})));K.bandwidthEstimate=M$(R.EF);var Q;(Q=R.audioTrack.Z)==null||Q.flush();var J;(J=R.videoTrack.Z)==null||J.flush()}else this.mediaElement&&(K.B_=this.mediaElement.xE());K.Qd=this.Qd;K.HP=this.HP;K.X=this.isAtLiveHead()&&this.isPlaying()?vK2(this):NaN;Q=this.Js;Q=Q.U?Ng(Q.U):0;K.J=Q;return K};\ng.w.Ki=function(K,R){this.HP+=K;this.Qd+=R};\ng.w.z9=function(){return this.mediaElement?g.ks(this.videoData)?1:TW(this.videoData)?this.isAtLiveHead()||this.sy()?1:this.Js.z9():this.mediaElement.z9():0};\ng.w.J1=function(){var K=this.ev,R=IX(K,\"bandwidth\"),f=IX(K,\"bufferhealth\"),V=IX(K,\"livelatency\"),D=IX(K,\"networkactivity\"),H=nz(K,\"bandwidth\"),l=nz(K,\"bufferhealth\"),F=nz(K,\"livelatency\");K=nz(K,\"networkactivity\");var c=this.vS(),r=c.droppedVideoFrames;c=c.totalVideoFrames;var y=this.getCurrentTime();if(this.LK){var h=\"IT/\"+(this.LK.U.getInfo()+\"/\"+Tn(this.F_()));h+=\"/\"+this.LK.getInfo()}else h=\"\";var S=this.isGapless(),v=this.Sg(),L=this.NZ(),E=g.sg(this),Q=this.getPlayerState(),J=this.getPlaylistSequenceForTime(this.getCurrentTime());\na:{var A=0;var B=\"\";if(this.BK){if(this.BK.kV){B=\"D,\";break a}A=this.BK.Dp;B=this.BK.NR.substring(0,4)}A>0?(A=\"AD\"+A+\", \",B&&(A+=B+\", \"),B=A):B=\"\"}return{Mb:H,qd:l,currentTime:y,Kt:h,droppedVideoFrames:r,isGapless:S,Sg:v,Pu:L,oU:R,TJ:f,D2:V,NP:D,Hl:F,mX:K,AC:E,playerState:Q,Ld:J,VB:B,totalVideoFrames:c}};\ng.w.PK=function(K){var R={};if(K===void 0?0:K){Object.assign(R,this.sC.PK());this.mediaElement&&(Object.assign(R,this.mediaElement.PK()),K=this.vS(),R.dvf=K.droppedVideoFrames,R.tvf=K.totalVideoFrames);this.loader&&Object.assign(R,this.loader.PK());this.LK&&(R.drm=JSON.stringify(this.LK.PK()));R.state=this.playerState.state.toString(16);g.G(this.playerState,128)&&(R.debug_error=JSON.stringify(this.playerState.hm));this.Zn()&&(R.prerolls=this.NS.join(\",\"));this.videoData.KO&&(R.ismb=this.videoData.KO);\nthis.videoData.latencyClass!==\"UNKNOWN\"&&(R.latency_class=this.videoData.latencyClass);this.videoData.isLowLatencyLiveStream&&(R.lowlatency=\"1\");if(this.videoData.defaultActiveSourceVideoId||this.videoData.compositeLiveStatusToken||this.videoData.compositeLiveIngestionOffsetToken)R.is_mosaic=1;this.videoData.cotn&&(R.is_offline=1,R.cotn=this.videoData.cotn);this.videoData.playerResponseCpn&&(R.playerResponseCpn=this.videoData.playerResponseCpn);this.Gi.isOrchestrationLeader()&&(R.leader=1);this.videoData.isLivePlayback&&\n(this.videoData.U&&M0(this.videoData.U)&&(R.segduration=M0(this.videoData.U)),K=this.Js,R.lat=K.Z?z0B(K.Z.J):0,R.liveutcstart=this.videoData.liveUtcStartSeconds);R.relative_loudness=this.videoData.w3.toFixed(3);if(K=g.sg(this))R.optimal_format=K.video.qualityLabel;R.user_qual=zn();R.release_version=d[42]}R.debug_videoId=this.videoData.videoId;return R};\ng.w.addCueRange=function(K){this.oV([K])};\ng.w.removeCueRange=function(K){this.zA.LF([K])};\ng.w.xS=function(){var K=this.zA;if(K.bD.C().Y(\"html5_sort_cueranges_on_update\")&&!(K.qH().length<=0||K.mZ())){var R=K.U;R.array.sort(R.U)}K.sync()};\ng.w.CZ=function(K,R){return this.zA.CZ(K,R)};\ng.w.oV=function(K,R){this.zA.PV(K,R)};\ng.w.VV=function(K){this.zA.LF(K)};\ng.w.qH=function(){return this.zA.qH()||[]};\ng.w.BN=function(){return this.zQ};\ng.w.dD=function(){return this.visibility.dD()};\ng.w.Xq=function(){this.mediaElement&&this.mediaElement.Xq()};\ng.w.r$D=function(){m9(this)};\ng.w.togglePictureInPicture=function(){this.mediaElement&&this.mediaElement.togglePictureInPicture()};\ng.w.sR=function(){g.kc(this.Tj)};\ng.w.lJW=function(){this.eM();this.publish(\"onLoadProgress\",this.z9())};\ng.w.hC=function(K){var R=K.target.LT();if(this.mediaElement&&this.mediaElement.LT()&&this.mediaElement.LT()===R){sS5(this,K.type);switch(K.type){case \"error\":var f=this.mediaElement.ou()||\"\",V=this.mediaElement.R0();if(f===\"capability.changed\"){this.Y(\"html5_restart_on_capability_change\")?(this.KQ(\"capchg\",{msg:V}),this.mx(!0)):pz(this);return}if(this.mediaElement.hasError()&&sW2(this.C4,f,{msg:V,trg:\"elementevt\"}))return;if(this.isBackground()&&this.mediaElement.PO()){this.dk();ub(this,\"unplayable\");\nreturn}break;case \"durationchange\":f=this.mediaElement.getDuration();isFinite(f)&&(!this.sF||f>0)&&f!==1&&this.uT(f);break;case \"ratechange\":this.loader&&this.loader.setPlaybackRate(this.mediaElement.getPlaybackRate());f=this.zA;f.started=!0;f.sync();this.sC.onPlaybackRateChange(this.getPlaybackRate());break;case \"loadedmetadata\":this.ph().U.aG(jPw)&&qg(this,!1);eHG(this);this.publish(\"onLoadedMetadata\");qi_(this);f=this.IC();this.videoData.Qk&&(this.videoData.Qk=f);break;case \"loadstart\":qi_(this);\nbreak;case \"progress\":case \"suspend\":this.QR.Re();break;case \"seeked\":(f=this.loader)!=null&&f.policy.K&&f.JS&&(f.KQ(\"sdai\",{skipAdSked:\"1\"}),f.JS=!1);break;case \"playing\":this.ph().U.aG(jPw)&&qg(this,!1);this.ye.E2(\"plev\");this.ZR&&!Xj(this)&&(this.ZR=!1,this.isAtLiveHead()||this.seekTo(Infinity,{oQ:\"videoplayer_onPlaying\"}));break;case \"timeupdate\":this.ph().U.aG(jPw)&&qg(this,!1);f=this.mediaElement&&!this.mediaElement.getCurrentTime();V=this.mediaElement&&this.mediaElement.Rk()===0;if(f&&(!this.LC||\nV))return;this.LC=this.LC||!!this.mediaElement.getCurrentTime();jSc(this);this.eM();if(!this.mediaElement||this.mediaElement.LT()!==R)return;this.publish(\"onVideoProgress\",this.getCurrentTime());break;case \"waiting\":if(this.mediaElement.q_().length>0&&this.mediaElement.A$().length===0&&this.mediaElement.getCurrentTime()>0&&this.mediaElement.getCurrentTime()<5&&this.loader)return;this.Y(\"html5_ignore_unexpected_waiting_cfl\")&&(this.mediaElement.isPaused()||this.mediaElement.Rk()>2||!this.mediaElement.isSeeking()&&\npH(this.mediaElement.A$(),this.mediaElement.getCurrentTime()))&&(f=this.mediaElement.PK(),f.bh=this.mediaElement.xE().toFixed(3),this.KQ(\"uwe\",f));break;case \"resize\":eHG(this);this.videoData.K&&this.videoData.K.video.quality===\"auto\"&&this.publish(\"internalvideoformatchange\",this.videoData,!1);break;case \"pause\":if(this.JO&&g.G(this.playerState,8)&&!g.G(this.playerState,1024)&&this.getCurrentTime()===0&&g.v7){ub(this,\"safari_autoplay_disabled\");return}}if(this.mediaElement&&this.mediaElement.LT()===\nR){u_B(this.Js,K);this.publish(\"videoelementevent\",K);R=this.playerState;V=this.NE;var D=this.mediaElement;f=this.videoData.clientPlaybackNonce;if(!g.G(R,128)){var H=R.state;D=D?D:K.target;var l=D.getCurrentTime();if(!g.G(R,64)||K.type!==\"ended\"&&K.type!==\"pause\"){var F=D.getDuration();F=D.isEnded()||l>1&&Math.abs(l-F)<1.1;var c=K.type===\"pause\"&&D.isEnded();l=K.type===\"ended\"||K.type===\"waiting\"||K.type===\"timeupdate\"&&!g.G(R,4)&&!x5(V,l);if(c||F&&l)D.Rb()>0&&D.LT()&&(H=14);else switch(K.type){case \"error\":D.ou()&&\n(H|=128);break;case \"pause\":g.G(R,256)?(H^=256)||(H=64):g.G(R,32)||g.G(R,2)||g.G(R,4)||(H=4,g.G(R,1)&&g.G(R,8)&&(H|=1));break;case \"playing\":l=H;H=(H|8)&-1093;l&4?(H|=1,iU(V,D,!0)):x5(V,D.getCurrentTime())&&(H&=-2);g.G(R,1)&&iU(V,D)&&(H|=1);break;case \"seeking\":H|=16;g.G(R,8)&&(H|=1);H&=-3;break;case \"seeked\":H&=-17;iU(V,D,!0);break;case \"waiting\":g.G(R,2)||(H|=1);iU(V,D);break;case \"timeupdate\":l=g.G(R,16),F=g.G(R,4),(g.G(R,8)||l)&&!F&&x5(V,D.getCurrentTime())&&(H=8),iU(V,D)&&(H|=1)}}V=H;H=null;\nV&128&&(H=K.target,D=H.ou(),l=1,D?(D===\"capability.changed\"&&(l=2),F=\"GENERIC_WITHOUT_LINK\",c=H.PK(),c.mediaElem=\"1\",c.trg=\"melem\",/AUDIO_RENDERER/.test(H.R0())&&(F=\"HTML5_AUDIO_RENDERER_ERROR\"),H={errorCode:D,errorMessage:g.Xk[F]||\"\",Ot:F,OX:Cb(c),WH:l,cpn:R.hm?R.hm.cpn:\"\"}):H=null,H&&(H.cpn=f));R=vq(R,V,H)}!g.G(this.playerState,1)&&g.G(R,1)&&uew(this,\"evt\"+K.type);this.EL(R)}}};\ng.w.lZ5=function(K){K=K.U.availability===\"available\";K!==this.zQ&&(this.zQ=K,this.publish(\"airplayavailabilitychange\"))};\ng.w.rVF=function(){var K=(0,g.N7)(),R=this.mediaElement.dD();this.KQ(\"airplay\",{ia:R});!R&&!isNaN(this.Rx)&&K-this.Rx<2E3||(this.Rx=K,R!==this.dD()&&(K=this.visibility,K.U!==R&&(K.U=R,K.Qt()),this.KQ(\"airplay\",{rbld:R}),this.Hg()),this.publish(\"airplayactivechange\"))};\ng.w.IF=function(K){if(this.loader){var R=this.loader,f=R.X,V=R.getCurrentTime(),D=Date.now()-f.Z;f.Z=NaN;f.KQ(\"sdai\",{adfetchdone:K,d:D});K&&!isNaN(f.T)&&f.K!==3&&Rb(f.loader,V,f.T,f.B);f.policy.K?f.X=NaN:f.J=NaN;KL(f,4,f.K===3?\"adfps\":\"adf\");F9(R)}};\ng.w.Iz=function(){g.a9(this.ek);this.mC.stop();this.videoData.Z=!0;this.W.Mh=!0;this.W.bd=0;var K=this.C4;if(K.videoData.K){var R=K.gU.B,f=K.videoData.K.P5;R.J.has(f)&&(R.J.delete(f),R.K=!0)}K.U.stop();this.Lj();g.G(this.playerState,8)&&this.EL(wv(this.playerState,65));this.tE=!1;this.sC.xb();g.eE(this.sx);this.publish(\"playbackstarted\");(K=g.t_(\"yt.scheduler.instance.clearPriorityThreshold\"))?K():Vn(0)};\ng.w.Lj=function(){var K=this.Gi.W0(),R={},f={};!A2(\"pbs\",this.ye.timerName)&&SY.measure&&SY.getEntriesByName&&(SY.getEntriesByName(\"mark_nr\")[0]?BTB(\"mark_nr\"):BTB());K.videoId&&(R.videoId=K.videoId);K.clientPlaybackNonce&&!this.Y(\"web_player_early_cpn\")&&(R.clientPlaybackNonce=K.clientPlaybackNonce);this.mediaElement&&this.mediaElement.isPaused()&&(f.isPausedOnLoad=!0);f.itag=K.K?Number(K.K.itag):-1;K.nh&&(f.preloadType=String(this.gY?2:1));R.liveStreamMode=h_E[AN(K)];R.playerInfo=f;this.ye.infoGel(R);\nif(this.loader){K=this.loader.timing;window&&window.performance&&window.performance.getEntriesByName&&(K.X&&(R=window.performance.getEntriesByName(K.X),R.length&&(R=R[0],K.tick(\"vri\",R.fetchStart),K.tick(\"vdns\",R.domainLookupEnd),K.tick(\"vreq\",R.requestStart),K.tick(\"vrc\",R.responseEnd))),K.K&&(R=window.performance.getEntriesByName(K.K),R.length&&(R=R[0],K.tick(\"ari\",R.fetchStart),K.tick(\"adns\",R.domainLookupEnd),K.tick(\"areq\",R.requestStart),K.tick(\"arc\",R.responseEnd))));K=K.ticks;for(var V in K)K.hasOwnProperty(V)&&\nthis.ye.tick(V,K[V])}};\ng.w.eM=function(K){var R=this;K=K===void 0?!1:K;if(this.mediaElement&&this.videoData){gR2(this.Js,this.isPlaying());var f=this.getCurrentTime();if(this.loader&&(g.G(this.playerState,4)&&g.ks(this.videoData)||g.G(this.playerState,32)&&tP(this.videoData)||OlM(this.loader,f),this.Y(\"html5_log_centralized_player_time\")&&Math.abs(this.getCurrentTime()-qDe(this.loader))>10)){var V;this.KQ(\"sabrSeekRefactorCmt\",{cmt:this.getCurrentTime(),loaderCmt:(V=this.loader)==null?void 0:qDe(V)},!0)}f>5&&(this.Js.X=\nf);(V=g.fP())?g.b7.SQ(this.aK):g.E$(this.aK);var D=this.mediaElement.isPaused();if((this.playerState.isBuffering()||!D||Dk(this.videoData))&&!g.G(this.playerState,128)){var H=function(){if(R.mediaElement&&!g.G(R.playerState,128)){R.W.oG()&&sS5(R,\"pfx\");var l=R.getCurrentTime();R.Y(\"html5_buffer_underrun_transition_fix\")&&(l-=R.jy());var F=R.mediaElement.xE(),c=g.G(R.playerState,8),r=x5(R.NE,l),y=rMD(R.NE,l,(0,g.N7)(),F);c&&r?R.EL(wv(R.playerState,1)):c&&y?(c=R.getDuration(),r=LZ(R.videoData),c&&Math.abs(c-\nl)<1.1?(R.KQ(\"setended\",{ct:l,bh:F,dur:c,live:r}),R.mediaElement.lm()?R.seekTo(0,{oQ:\"videoplayer_loop\",seekSource:37}):R.GX()):(R.playerState.isBuffering()||uew(R,\"progress_fix\"),R.EL(Ly(R.playerState,1)))):(c&&!r&&!y&&l>0&&(c=(Date.now()-R.j0)/1E3,r=R.getDuration(),l>r-1&&R.KQ(\"misspg\",{t:l.toFixed(2),d:r.toFixed(2),r:c.toFixed(2),bh:F.toFixed(2)})),R.playerState.isPaused()&&R.playerState.isBuffering()&&R.mediaElement.xE()>5&&R.EL(wv(R.playerState,1)));R.eM()}};\nthis.mediaElement.q_().length===0?this.aK=V?g.b7.sU(H,100):g.zs(H,100):this.aK=V?g.b7.sU(H,500):g.zs(H,500)}this.videoData.hV=f;!K&&this.isPlaying()&&bkz(this);it_(this.SL,this.pK,this.CL(),this.isBackground())&&jR(this);this.publish(\"progresssync\",K);D&&Dk(this.videoData)&&this.publish(\"onVideoProgress\",this.getCurrentTime())}};\ng.w.d1=function(){this.CK(\"ad.rebuftimeout\",2,\"RETRYABLE_ERROR\",\"vps.\"+this.playerState.state.toString(16))};\ng.w.NZ=function(){return this.sC.NZ()};\ng.w.Rh=function(){return this.loader?this.loader.Rh():b8(this.IG,!0)};\ng.w.EL=function(K){if(!g.xW(this.playerState,K)){var R=new g.Fc(K,this.playerState);this.playerState=K;ChD(this);var f=!this.GK.length;this.GK.push(R);var V=this.mediaElement&&this.mediaElement.isSeeking();g.rH(R,1)&&this.loader&&N9w(this.loader);V=R.oldState.state===8&&!V;if(g.rH(R,1)&&V&&g.G(this.playerState,8)&&!g.G(this.playerState,64)&&this.loader){V=this.loader;V.Do=!0;if(V.policy.Ch&&V.sF){var D,H,l,F;V.KQ(\"lr_rb\",{c:V.getCurrentTime(),s:V.isSeeking(),ab:Mr(V.sF.U.vV()),ala:(D=bz(V.audioTrack))==\nnull?void 0:D.yI(),alr:(H=V.audioTrack.U)==null?void 0:H.yI(),vb:Mr(V.sF.K.vV()),vla:(l=bz(V.videoTrack))==null?void 0:l.yI(),vlr:(F=V.videoTrack.U)==null?void 0:F.yI()})}V.Nw!==0&&V.KQ(\"sps_rebuffer\",{c:V.getCurrentTime()});this.mediaElement&&this.mediaElement.xE()>=5&&(D=this.SL,H=this.pK,!H.videoData.K||D.Y(\"html5_disable_performance_downgrade\")?D=!1:(Date.now()-D.N>6E4&&(D.K=0),D.K++,D.N=Date.now(),D.K!==4?D=!1:(oD2(D,H.videoData.K),D=!0)),D&&jR(this))}(D=g.mz(this.W.experiments,\"html5_ad_timeout_ms\"))&&\nthis.videoData.isAd()&&g.G(K,1)&&(g.G(K,8)||g.G(K,16))?this.yb.start(D):this.yb.stop();(cQ(R,8)<0||g.rH(R,1024))&&this.mC.stop();!g.rH(R,8)||this.videoData.Z||g.G(R.state,1024)||this.mC.start();g.G(R.state,8)&&cQ(R,16)<0&&!g.G(R.state,32)&&!g.G(R.state,2)&&this.playVideo();g.G(R.state,2)&&TW(this.videoData)&&(this.uT(this.getCurrentTime()),this.eM(!0));g.rH(R,2)&&(this.IP(!0),this.W.oG()&&this.Y(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&tP(this.videoData)&&this.videoData.U&&(K={minst:\"\"+\nthis.videoData.U.tW,cminst:\"\"+(this.videoData.U.Zk()+this.jy()),maxst:\"\"+this.videoData.U.H7,hts:\"\"+this.videoData.U.Xt,cmaxst:\"\"+(this.videoData.U.xY()+this.jy())},this.KQ(\"sabrSeekableBoundaries\",K)));g.rH(R,128)&&this.dk();this.videoData.U&&this.videoData.isLivePlayback&&!this.vp&&(cQ(R,8)<0?(K=this.videoData.U,K.B&&K.B.stop()):g.rH(R,8)&&this.videoData.U.resume());K=this.Js;g.eE(K.UF.B);if(K.mediaElement)if(R.oldState.state===8&&EG(R.state)&&R.state.isBuffering()){var c=K.mediaElement.getCurrentTime();\nD=K.mediaElement.A$();H=K.Y(\"manifestless_post_live_ufph\")||K.Y(\"manifestless_post_live\")?bA(D,Math.max(c-3.5,0)):bA(D,c-3.5);H>=0&&c>D.end(H)-1.1&&H+10?(bb(K.bD,K.getCurrentTime()+K.videoData.limitedPlaybackDurationInSeconds),\nK.Za=!0):K.videoData.isLivePlayback&&K.videoData.endSeconds>0&&(bb(K.bD,K.getCurrentTime()+K.videoData.endSeconds),K.Za=!0));c=this.sC;if(g.rH(R,1024)||g.rH(R,512)||g.rH(R,4))c.K&&(K=c.K,K.K>=0||(K.U=-1,K.delay.stop())),c.qoe&&(K=c.qoe,K.N||(K.X=-1));if(c.provider.videoData.enableServerStitchedDai&&c.iL){var r;(r=c.X.get(c.iL))==null||GAe(r,R)}else c.U&&GAe(c.U,R);c.qoe&&(r=c.qoe,K=R.state,D=g.Wo(r.provider),H=r.getPlayerState(K),l=K.seekSource||void 0,H!==r.NW&&(r.Xt||D=10&&r.playTimeSecs<=180&&(r.U.set(\"qoealert\",[\"1\"]),r.bd=!0)),H!==\"B\"||r.NW!==\"PL\"&&r.NW!==\"PB\"||(r.isBuffering=!0),r.K=D),r.NW===\"PL\"&&(H===\"B\"||H===\"S\")||r.provider.W.oG()?AT(r,D):(r.Kh||H!==\"PL\"||(r.Kh=!0,tT(r,D,r.provider.bD.Fy())),U6(r,D)),H===\"PL\"&&g.eE(r.Dk),F=[H],H===\"S\"&&l&&F.push(\"ss.\"+l),g.aN(r,D,\"vps\",F),r.NW=H,r.UF=D,r.K=D,r.J=!0),H=K.hm,g.G(K,128)&&H&&(H.OX=H.OX||\"\",yXM(r,D,H.errorCode,\nH.WH,H.OX)),(g.G(K,2)||g.G(K,128))&&r.reportStats(D),K.isPlaying()&&!r.N&&(r.X>=0&&r.U.set(\"user_intent\",[r.X.toString()]),r.N=!0),JT(r));c.K&&(r=c.K,EDN(r),r.playerState=R.state,r.K>=0&&g.rH(R,16)&&r.seekCount++,R.state.isError()&&r.send());if(f&&!this.mZ())try{for(var y=g.Z(this.GK),h=y.next();!h.done;h=y.next()){var S=h.value,v=this.zA;if(v.started&&(v.sync(),g.G(S.oldState,16))){R=v;var L=cxM(R.U,Math.max(R.X-2E3,0));!isNaN(L)&&L<0x7ffffffffffff&&R.J.start()}this.publish(\"statechange\",S)}}finally{this.GK.length=\n0}}};\ng.w.GS=function(){this.ye.tick(\"qoes\")};\ng.w.pR=function(){this.Js.pR()};\ng.w.z7=function(K,R,f,V){a:{var D=this.C4;V=V===void 0?\"LICENSE\":V;f=f.substring(0,256);var H=KH(R);K===\"drm.keyerror\"&&this.LK&&this.LK.K.keys.length>1&&D.J<96&&(K=\"drm.sessionlimitexhausted\",H=!1);var l=D.gU.experiments.rU(\"html5_retry_on_drm_unavailable\"),F=D.gU.experiments.rU(\"html5_retry_on_drm_key_error\"),c=/^(closedShouldNotRetry|t\\.prefixedKeyError)(.*)/;if(l&&K===\"drm.unavailable\"||F&&K===\"drm.keyerror\"&&!f.match(c))D.EA(\"qoe.restart\",{retryOnDrmError:1,e:K,detail:f}),D.bD.mx(!0);else{if(H)if(D.videoData.K&&\nD.videoData.K.video.isHdr())Va_(D,K);else{if(D.bD.CK(K,R,V,f),m$e(D,{detail:f}))break a}else D.EA(K,{detail:f});K===\"drm.sessionlimitexhausted\"&&(D.KQ(\"retrydrm\",{sessionLimitExhausted:1}),D.J++,GxB(D.bD))}}};\ng.w.N4t=function(){var K=this,R=g.mz(this.W.experiments,\"html5_license_constraint_delay\"),f=$c();R&&f?(R=new g.CW(function(){K.hR();m9(K)},R),g.q(this,R),R.start()):(this.hR(),m9(this))};\ng.w.Q7=function(K){this.publish(\"heartbeatparams\",K)};\ng.w.Oy=function(K){this.KQ(\"keystatuses\",v2w(K));var R=\"auto\",f=!1;this.videoData.K&&(R=this.videoData.K.video.quality,f=this.videoData.K.video.isHdr());a:{switch(R){case \"highres\":case \"hd2880\":R=\"UHD2\";break;case \"hd2160\":case \"hd1440\":R=\"UHD1\";break;case \"hd1080\":case \"hd720\":R=\"HD\";break;case \"large\":case \"medium\":case \"small\":case \"light\":case \"tiny\":R=\"SD\";break;default:R=\"\";break a}f&&(R+=\"HDR\")}R=CN(K)?eG(K,R):K.J.includes(R);if(this.Y(\"html5_enable_vp9_fairplay\")){if(f)if(K.N){var V;if((V=\nthis.LK)==null?0:$N(V.U))if((f=this.LK)==null)f=0;else{for(var D=V=void 0,H=g.Z(f.K.values()),l=H.next();!l.done;l=H.next())l=l.value,V||(V=wWN(l,\"SD\")),D||(D=wWN(l,\"AUDIO\"));f.R1({sd:V,audio:D});f=V===\"output-restricted\"||D===\"output-restricted\"}else f=!R;if(f){this.KQ(\"drm\",{dshdr:1});Va_(this.C4);return}}else{this.videoData.mz||(this.videoData.mz=!0,this.KQ(\"drm\",{dphdr:1}),this.mx(!0));return}var F;if((F=this.LK)==null?0:$N(F.U))return}else if(F=K.N&&R,f&&!F){Va_(this.C4);return}R||eG(K,\"AUDIO\")&&\neG(K,\"SD\")||(K=v2w(K),this.j7?(this.publish(\"drmoutputrestricted\"),this.Y(\"html5_report_fatal_drm_restricted_error_killswitch\")||this.CK(\"drm.keyerror\",2,void 0,\"info.\"+K)):(this.j7=!0,this.EA(new g.e$(\"qoe.restart\",Object.assign({},{retrydrm:1},K))),jR(this),GxB(this)))};\ng.w.kiF=function(){if(!this.videoData.Z&&this.mediaElement&&!this.isBackground()){var K=\"0\";this.mediaElement.Rk()>0&&this.mediaElement.xE()>=5&&this.videoData.X&&this.videoData.X.U&&(this.EL(Ly(this.playerState,1)),uew(this,\"load_soft_timeout\"),this.publish(\"playbackstalledatstart\"),K=\"1\");ChD(this);var R=this.videoData.X;K={restartmsg:K,mfmt:!cD(this.videoData),mdrm:!(!(R&&R.videoInfos&&R.videoInfos.length&&R.videoInfos[0].g8)||this.LK),mfmtinfo:!this.videoData.K,prerolls:this.Zn()?this.NS.join(\",\"):\n\"0\"};if(this.LK){R=this.LK;if(R.K.size<=0){var f=\"ns;\";R.EF||(f+=\"nr;\");R=f+=\"ql.\"+R.X.length}else R=v2w(R.K.values().next().value),R=Cb(R);K.drmp=R}var V;Object.assign(K,((V=this.loader)==null?void 0:V.PK())||{});var D;Object.assign(K,((D=this.mediaElement)==null?void 0:D.PK())||{});this.sC.EA(\"qoe.start15s\",Cb(K));this.publish(\"loadsofttimeout\")}};\ng.w.uT=function(K){this.videoData.lengthSeconds!==K&&(this.videoData.lengthSeconds=K,m9(this))};\ng.w.IP=function(K,R){var f=this;K=K===void 0?!1:K;if(!this.Fe)if(A2(\"att_s\",\"player_att\")||ZR(\"att_s\",void 0,\"player_att\"),this.Y(\"use_rta_for_player\"))(function(){var D,H,l,F,c;return g.I(function(r){switch(r.U){case 1:if(!(D=K)){r.J5(2);break}return g.P(r,g.caB(),3);case 3:D=!r.K;case 2:if(D)return r.return();g.Fp(r,4);H=VbG(f.sC);if(!H)throw Error();l={};return g.P(r,g.FFB((l.cpn=f.videoData.clientPlaybackNonce,l.encryptedVideoId=f.videoData.videoId||\"\",l),g.mz(f.W.experiments,\"html5_att_playback_timeout_ms\")||\n3E4),6);case 6:F=r.K;if(f.Fe)throw Error();if(!F.challenge)throw c=F.error?\"; error: \"+F.error:\"\",g.A$(Error(\"Not sending atr ping; missing challenge string\"+c)),Error();f.Fe=!0;var y=[F.challenge];if(F.error){var h=Kei();h=g8h(h).get(F.error)||0;y.push(\"r1c=\"+h)}else F.webResponse&&y.push(\"r1a=\"+F.webResponse);var S;((S=F.adblockReporting)==null?void 0:S.reportingStatus)!==void 0&&y.push(\"r6a=\"+F.adblockReporting.reportingStatus);var v;((v=F.adblockReporting)==null?void 0:v.broadSpectrumDetectionResult)!==\nvoid 0&&y.push(\"r6b=\"+F.adblockReporting.broadSpectrumDetectionResult);H(y.join(\"&\"));ZR(\"att_f\",void 0,\"player_att\");g.rW(r,0);break;case 4:g.yH(r),ZR(\"att_e\",void 0,\"player_att\"),g.lE(r)}})})().then(function(){R==null||R()});\nelse{var V=new g.uOv(this.videoData);if(\"c1a\"in V.DS&&!g.S4.isInitialized()){ZR(\"att_wb\",void 0,\"player_att\");this.Tz===2&&Math.random()<.01&&g.A$(Error(\"Botguard not available after 2 attempts\"));if(K)return;if(this.Tz<5){g.eE(this.DP);this.Tz++;return}}(V=g.sRh(V))?(ZR(\"att_f\",void 0,\"player_att\"),fTB(this.sC,V),this.Fe=!0):ZR(\"att_e\",void 0,\"player_att\")}};\ng.w.K4=function(K){K=K===void 0?!1:K;return LZ(this.videoData)&&(this.isAtLiveHead()&&!this.playerState.isPaused()||this.sy()||g.ks(this.videoData))?this.getCurrentTime():this.xY(K)};\ng.w.EB=function(){return this.Zk()};\ng.w.xY=function(K){return this.Js.xY(K===void 0?!1:K)};\ng.w.Zk=function(){return this.Js.Zk()};\ng.w.jy=function(){return this.Js?this.Js.jy():0};\ng.w.getStreamTimeOffset=function(){return this.Js?this.Js.getStreamTimeOffset():0};\ng.w.AX=function(){return this.getStreamTimeOffset()===0?this.jy():this.getStreamTimeOffset()};\ng.w.setPlaybackRate=function(K){var R;this.playbackRate!==K&&l4N(this.SL,(R=this.videoData.X)==null?void 0:R.videoInfos)&&(this.playbackRate=K,jR(this));this.playbackRate=K;this.mediaElement&&this.mediaElement.setPlaybackRate(K)};\ng.w.getPlaybackRate=function(){return this.playbackRate};\ng.w.getPlaybackQuality=function(){var K=\"unknown\";if(this.videoData.K&&(K=this.videoData.K.video.quality,K===\"auto\"&&this.mediaElement)){var R=this.XA();R&&R.videoHeight>0&&(K=zF(R.videoWidth,R.videoHeight))}return K};\ng.w.isHdr=function(){return!!(this.videoData.K&&this.videoData.K.video&&this.videoData.K.video.isHdr())};\ng.w.sendVideoStatsEngageEvent=function(K,R){var f=this.sC;f.U?(f=SR(f.U,\"engage\"),f.Xt=K,f.send(R)):R&&R()};\ng.w.UJ=function(K){return this.sC.UJ(K)};\ng.w.isAtLiveHead=function(K,R){R=R===void 0?!1:R;return LZ(this.videoData)&&(this.ju||R)?this.Js.isAtLiveHead(K):!1};\ng.w.C8=function(){var K=this.xY(),R=this.getCurrentTime(),f;(f=!LZ(this.videoData))||(f=this.Js,f=!(f.U&&f.U.X));return f||this.sy()||isNaN(K)||isNaN(R)?0:Math.max(0,K-R)};\ng.w.Se=function(K){(this.ju=K)||this.mC.stop();if(this.videoData.U)if(K)this.videoData.U.resume();else{var R=this.videoData.U;R.B&&R.B.stop()}this.loader&&(R=this.videoData.Y(\"html5_disable_preload_for_ssdai_with_preroll\")&&this.Xs()&&this.videoData.isLivePlayback,K&&!R?this.loader.resume():eR(this,!0));g.G(this.playerState,2)||K?g.G(this.playerState,512)&&K&&this.EL(wv(this.playerState,512)):this.EL(Ly(this.playerState,512));R=this.sC;R.qoe&&(R=R.qoe,g.aN(R,g.Wo(R.provider),\"stream\",[K?\"A\":\"I\"]))};\ng.w.nC=function(K){this.sC.EA(\"player.exception\",Cb({n:K.name,m:K.message}))};\ng.w.FP=go(18);g.w.i$=go(47);g.w.kh=function(K){this.sC.kh(K)};\ng.w.RK=function(K){this.sC.RK(K)};\ng.w.Bs=function(K){this.sC.Bs(K)};\ng.w.Tr=go(24);g.w.sJ=go(30);g.w.Ue=function(K){this.sC.Ue(K)};\ng.w.hH=function(K,R,f,V){this.sC.hH(K,R,f,V)};\ng.w.Mx=function(){this.KQ(\"hidden\",{},!0)};\ng.w.vS=function(){return this.mediaElement?this.mediaElement.getVideoPlaybackQuality():{}};\ng.w.Qs=function(){return this.loader?this.loader.Qs():!0};\ng.w.setLoop=function(K){this.loop=K;this.mediaElement&&!g.cX(this.W)&&this.mediaElement.setLoop(K)};\ng.w.lm=function(){return this.mediaElement&&!g.cX(this.W)?this.mediaElement.lm():this.loop};\ng.w.kz=function(K){this.KQ(\"timestamp\",{o:K.toString()});this.Js.kz(K)};\ng.w.B0=function(K){this.ye.tick(K)};\ng.w.n7=function(K){return this.ye.n7(K)};\ng.w.E2=function(K){this.ye.E2(K)};\ng.w.KQ=function(K,R,f){this.sC.KQ(K,R,f===void 0?!1:f)};\ng.w.Bw=function(K,R,f){this.sC.KQ(K,R,f===void 0?!1:f)};\ng.w.EA=function(K){this.sC.EA(K.errorCode,Cb(K.details));K=K.errorCode;if(this.videoData.isLivePlayback&&(K===\"qoe.longrebuffer\"||K===\"qoe.slowseek\")||K===\"qoe.restart\"){K=this.loader?MAM(this.loader.videoTrack):{};var R,f;this.KQ(\"lasoe\",Object.assign(this.loader?MAM(this.loader.audioTrack):{},(R=this.sF)==null?void 0:(f=R.U)==null?void 0:f.qI()));var V,D;this.KQ(\"lvsoe\",Object.assign(K,(V=this.sF)==null?void 0:(D=V.K)==null?void 0:D.qI()))}if(this.Y(\"html5_log_centralized_player_time\")){var H;this.KQ(\"sabrSeekRefactorCmt\",\n{cmt:this.getCurrentTime(),loaderCmt:(H=this.loader)==null?void 0:qDe(H)})}};\ng.w.BP=function(K,R,f){this.sC.BP(K,R,f)};\ng.w.aO=function(K,R,f,V,D,H,l,F){var c;if((c=this.videoData.U)!=null&&c.isLive){var r=R.playerType===2?R:K,y=K.videoData.videoId,h=R.videoData.videoId;if(y&&h){c=this.sC;if(F){if(c.qoe){var S=c.qoe;r=F.GAZ;S.reportStats();var v=S.provider.videoData.clientPlaybackNonce;y=S.provider.videoData.videoId||\"\";var L;h=((L=S.R6)==null?void 0:L.join(\".\"))||v;var E;L=((E=S.wG)==null?void 0:E.join(\".\"))||y;TR(S,H?4:D?2:0,r.Wg.join(\".\")||v,r.SS.join(\".\")||y,V);S.reportStats();S.R6=r.Wg;S.wG=r.SS;S.sW=r.adFormats;\nS.xm=r.serializedQoeContextData;TR(S,H?5:D?3:1,h,L,f);S.reportStats()}V=F.jkt.serializedPlaybackPingContextLoggingData;(f=c.U)!=null&&(D=f.U.B,H=f.provider.W.ph().U.aG(Oi_)||4E3,D>H&&yX(f));var Q;(Q=c.U)!=null&&Fj(Q.U);(f=c.U)!=null&&(f.U.serializedPlaybackPingContextLoggingData=V);var J;(J=c.U)!=null&&Fj(J.U);var A;(A=c.U)==null||yX(A);(c=c.U)!=null&&(c.N=0)}else{if(c.qoe){J=c.qoe;A=K.cpn;Q=R.cpn;F=r.videoData.pQ;L=J.provider.videoData.clientPlaybackNonce;var B=J.provider.videoData.videoId;E=Q!==\nL&&h!==B;L=A!==L&&y!==B;J.reportStats();J.adCpn&&J.adCpn!==A||(J.adCpn=L?A:\"\",J.gG=L?y:\"\",J.adFormat=L?F:void 0,TR(J,H?4:D?2:0,Q,h,V),J.reportStats(),J.adCpn=E?Q:\"\",J.gG=E?h:\"\",J.adFormat=E?F:void 0,TR(J,H?5:D?3:1,A,y,f),J.reportStats())}f=K.cpn;c.X.has(f)?(D=c.X.get(f),ib(D,!0).send(),oX(D),f!==c.provider.videoData.clientPlaybackNonce&&(mKM(D),(v=c.U)==null||yX(v),c.X.delete(f))):(c.iL=c.provider.videoData.clientPlaybackNonce,c.iL&&c.U&&(c.X.set(c.iL,c.U),ib(c.U).send(),oX(c.U)));f=R.cpn;D=r.videoData;\nV-=this.AX();c.X.has(f)?(D=c.X.get(f),V=D.X&&isNaN(D.B)?hV(D):NaN,D=Ma5(D,!1),isNaN(V)||(D.N=V),D.send()):(V=Dqw(c,c.provider,D,V),c.X.set(f,V),GAe(V,new g.Fc(Ly(new g.S3,8),new g.S3)),V.xb(),(S=c.U)==null||oX(S));c.iL=f}if(this.Y(\"html5_unify_csi_server_stitched_transition_logging\")){if(c=this.ye,f=K.cpn,K=R.cpn,D=this.videoData.clientPlaybackNonce,V=R.videoData,R=(0,g.N7)(),f=(f===D?\"video\":\"ad\")+\"_to_\"+(K===D?\"video\":\"ad\"),f!==\"video_to_ad\"){D=f===\"ad_to_video\"?void 0:V;H=D==null?void 0:D.vD;S=\n{};if(V==null?0:V.T)S.cttAuthInfo={token:V.T,videoId:V.videoId};l&&(S.startTime=l);t2(f,S);var k,b,M;l={targetVideoId:(k=V==null?void 0:V.videoId)!=null?k:\"empty_video\",targetCpn:K,adVideoId:(b=D==null?void 0:D.videoId)!=null?b:\"empty_video\",adClientPlaybackNonce:(M=H==null?void 0:H.cpn)!=null?M:D==null?void 0:D.clientPlaybackNonce};H&&(l.adBreakType=H.adBreakType,l.adType=H.adType);g.WV(l,f);Hz(c,R,f)}}else k=this.ye,c=this.videoData.clientPlaybackNonce,b=(0,g.N7)(),M=R.videoData,K=(K.cpn===c?\"video\":\n\"ad\")+\"_to_\"+(R.cpn===c?\"video\":\"ad\"),c={},M.T&&(c.cttAuthInfo={token:M.T,videoId:M.videoId}),l&&(c.startTime=l),t2(K,c),g.WV({targetVideoId:M.videoId,targetCpn:R.cpn,isSsdai:!0},K),l||Hz(k,b,K)}}else g.Lh(this.logger,360717806,\"SSTEvent for nonSS\")};\ng.w.Ih=function(){var K=this.Gi,R=K.n9;K.n9=[];return R};\ng.w.d5=function(K){this.videoData.Bh=!0;this.EA(new g.e$(\"sabr.fallback\",K));this.mx(!0)};\ng.w.dh=function(K,R){this.videoData.Ly=!0;if(R===void 0||R)this.EA(new g.e$(\"qoe.restart\",K)),this.mx(!0)};\ng.w.xe=function(K){this.KQ(\"sdai\",{aftimeout:K});this.EA(new g.e$(\"ad.fetchtimeout\",{timeout:K}))};\ng.w.nw=function(K,R){this.KQ(\"timelineerror\",K);K=new g.e$(\"dai.timelineerror\",K);R?this.CK(\"dai.timelineerror\",1,\"RETRYABLE_ERROR\",Cb(K.details)):this.EA(K)};\ng.w.l$=function(){return g.Wo(this.sC.provider)};\ng.w.getPlayerSize=function(){return this.bR.getPlayerSize()};\ng.w.xR=function(){return this.bR.xR()};\ng.w.MH=function(){return this.ye};\ng.w.zY=function(){return this.Gi.zY()};\ng.w.getVolume=function(){return this.Gi.getVolume()};\ng.w.Ta=function(){return this.Gi.Ta()};\ng.w.isMuted=function(){return this.Gi.isMuted()};\ng.w.bU=function(){return this.Gi.bU()};\ng.w.JD=function(){this.vp=!0};\ng.w.Y=function(K){return this.W.Y(K)};\ng.w.ph=function(){return this.W.ph()};\ng.w.b3=function(K,R,f,V,D){this.KQ(\"xvt\",{m:K,g:R?1:0,tt:f?1:0,np:V?1:0,c:D})};\ng.w.U1=function(){var K;(K=this.loader)==null||K.resume()};\ng.w.Xs=function(){return g.Ka(this.NS,\"ad\")};\ng.w.Io=function(){var K=this.getCurrentTime(),R=K-this.jy();var f=this.mediaElement?mI(this.mediaElement.A$()):0;f=Math.floor(Math.max(f-R,0))+100;var V;return((V=this.loader)==null?0:V.Io(R,f))?(this.KQ(\"sdai\",{skipad:1,ct:R.toFixed(3),adj:f.toFixed(3)}),tP(this.videoData)&&this.loader.seek(R+f,{seekSource:89,oQ:\"videoplayer_skipServerStitchedAd\"}),Czc(this.Js,K),!0):!1};\ng.w.oG=function(){return this.W.oG()};\ng.w.iT=function(){if(this.Y(\"html5_generate_content_po_token\"))return this.videoData.gT||\"\";this.Gi.bN();return this.W.v9||\"\"};\ng.w.Yf=function(){if(this.videoData.videoId)return this.videoData.jd};\ng.w.Vt=function(){return this.videoData.videoId};\ng.w.w7=function(){return this.Gi.zo};\ng.w.CI=function(){return this.tE};\ng.w.gr=function(){return this.Gi.gr()};\ng.w.rr=function(K,R,f){this.EL(Ly(this.playerState,16,f));this.Js.rr(K,R,f)};\ng.w.prefetchKeyPlay=function(K,R){var f;(f=this.loader)==null||f.prefetchKeyPlay(K,R)};\ng.w.zk=function(K){return this.Js.zk(K)};\ng.w.Cj=function(){this.Js.Cj()};\ng.w.Dr=function(K,R){var f=this.Y(\"html5_generate_content_po_token\")?this.videoData:void 0;this.Gi.Dr(K,R,f)};\ng.w.YX=function(K,R){this.sC.YX(K,R)};\ng.w.Ky=function(){return this.sC.Ky()};\ng.w.Sg=function(){return this.Gi.Sg()};\ng.w.Oj=function(){return this.Gi.Oj(this)};\ng.w.QM=function(){this.cj=!0};\ng.w.f3=function(K){var R;(R=this.loader)==null||R.f3(K)};\ng.w.l0=function(){return this.videoData.nh&&this.gY};\ng.w.Gc=function(K){this.Js.Gc(K)};g.x(RY5,K_);g.x(Rj,l8);Rj.prototype.U=function(K){K&&dt(this,this.G.getLoopVideo());this.G.logVisibility(this.element,K)};\nRj.prototype.logClick=function(){this.G.logClick(this.element)};\nRj.prototype.onLoopChange=function(K){dt(this,K)};\nRj.prototype.K=function(K){this.G.setLoopVideo(K)};g.x(ffh,K_);g.x(VGG,K_);g.w=VGG.prototype;g.w.seekToChapterWithAnimation=function(K){var R=this;if(g.Ll(this.api)&&!(K<0)){var f=this.api.getVideoData(),V=f.M1;if(V&&K=0)return;R=~R;g.rJ(this.items,R,0,K);XU(this.menuItems.element,K.element,R)}K.subscribe(\"size-change\",this.J8,this);this.menuItems.publish(\"size-change\")};\ng.w.Nr=function(){kRe(this)||this.items[0].focus();return!0};\ng.w.kK=function(){this.items[this.items.length-1].focus();return!0};\ng.w.uX=function(K){K.unsubscribe(\"size-change\",this.J8,this);this.mZ()||(g.fa(this.items,K),this.menuItems.element.removeChild(K.element),this.menuItems.publish(\"size-change\"))};\ng.w.J8=function(){this.menuItems.publish(\"size-change\")};\ng.w.focus=function(){for(var K=0,R=0;R1&&g.LE(this)};\ng.w.VL=function(){Ifh(this);this.EC&&(PqG(this),g.SX(this.element,this.size))};\ng.w.tb=function(){var K=this.U.pop();n3v(this,K,this.U[this.U.length-1],!0)};\ng.w.eL=function(K){if(!K.defaultPrevented)switch(K.keyCode){case 27:this.mB();K.preventDefault();break;case 37:this.U.length>1&&this.tb();K.preventDefault();break;case 39:K.preventDefault()}};\ng.w.focus=function(){this.U.length&&this.U[this.U.length-1].focus()};\ng.w.uD=function(){g.br.prototype.uD.call(this);this.X&&this.X.dispose();this.J&&this.J.dispose()};g.x(w3,g.iI);w3.prototype.open=function(K,R){this.initialize(K.items)&&this.kY(R,!!R)};\nw3.prototype.initialize=function(K){g.SZ(this.Fw);if(K===void 0||K.length===0)return!1;var R=K.length;K=g.Z(K);for(var f=K.next();!f.done;f=K.next())this.ZZ(f.value,R--);return!0};\nw3.prototype.ZZ=function(K,R){K.menuNavigationItemRenderer?jNN(this,K.menuNavigationItemRenderer,R):K.menuServiceItemRenderer&&q6_(this,K.menuServiceItemRenderer,R)};g.x(z3,yv);g.w=z3.prototype;g.w.gL=function(K){K.target!==this.dismissButton.element&&K.target!==this.overflowButton.element&&(this.OB(),this.onClickCommand&&this.G.lD(\"innertubeCommand\",this.onClickCommand))};\ng.w.iA=function(){this.enabled=!1;this.Z.hide()};\ng.w.TX=function(){return!!this.U&&this.enabled};\ng.w.onVideoDataChange=function(K,R){this.G_(R);if(this.U){this.Yo();a:if(!this.isCounterfactual){var f,V,D;this.banner.update({title:(f=this.U)==null?void 0:f.title,subtitle:(V=this.U)==null?void 0:V.subtitle,metadata:(D=this.U)==null?void 0:D.metadataText});var H;this.onClickCommand=g.z((H=this.U)==null?void 0:H.onTap,Z3);var l;if(K=g.z((l=this.U)==null?void 0:l.onOverflow,Z3))this.T=g.z(K,k2S);var F;if((F=this.U)==null?0:F.thumbnailImage){var c,r;l=((c=this.U)==null?void 0:(r=c.thumbnailImage)==\nnull?void 0:r.sources)||[];if(l.length===0)break a;this.thumbnailImage.update({url:l[0].url})}else{var y;if((y=this.U)==null?0:y.thumbnailIconName){var h;this.thumbnailIcon.update({icon:(h=this.U)==null?void 0:h.thumbnailIconName})}}var S;this.shouldShowOverflowButton=!((S=this.U)==null||!S.shouldShowOverflowButton);var v;this.shouldHideDismissButton=!((v=this.U)==null||!v.shouldHideDismissButton)}var L;this.banner.element.setAttribute(\"aria-label\",((L=this.U)==null?void 0:L.a11yLabel)||\"\");var E;\nthis.Ne=(E=this.U)==null?void 0:E.dismissButtonA11yLabel;this.dismissButton.hide();this.overflowButton.hide();this.isInitialized=!0;bNh(this)}};\ng.w.qLF=function(){this.isVisible=!0;bNh(this)};\ng.w.Asr=function(){this.isVisible=!1;bNh(this)};\ng.w.eY=function(){yv.prototype.eY.call(this);this.X&&this.G.logVisibility(this.banner.element,this.isVisible)};\ng.w.OB=function(){yv.prototype.OB.call(this,!1);this.X&&this.G.logClick(this.banner.element)};\ng.w.Nj=function(K){this.B||(this.B=new w3(this.G),g.q(this,this.B));var R,f;if((R=this.T)==null?0:(f=R.menu)==null?0:f.menuRenderer)this.B.open(this.T.menu.menuRenderer,K.target),K.preventDefault()};\ng.w.G_=function(){};\ng.w.Yo=function(){};\ng.w.uD=function(){this.G.BV(\"suggested_action_view_model\");yv.prototype.uD.call(this)};g.x(xf,z3);\nxf.prototype.G_=function(K){var R,f,V;this.productUpsellSuggestedActionViewModel=g.z((R=K.getWatchNextResponse())==null?void 0:(f=R.playerOverlays)==null?void 0:(V=f.playerOverlayRenderer)==null?void 0:V.suggestedActionViewModel,mB$);var D;if((D=this.productUpsellSuggestedActionViewModel)==null?0:D.content){var H;this.U=g.z((H=this.productUpsellSuggestedActionViewModel)==null?void 0:H.content,ZBH)}var l,F;if(this.X=!!((l=this.productUpsellSuggestedActionViewModel)==null?0:(F=l.loggingDirectives)==null?\n0:F.trackingParams)){var c,r;this.G.setTrackingParams(this.banner.element,((c=this.productUpsellSuggestedActionViewModel)==null?void 0:(r=c.loggingDirectives)==null?void 0:r.trackingParams)||null)}var y;this.isCounterfactual=!((y=this.productUpsellSuggestedActionViewModel)==null||!y.isCounterfactualServing)};\nxf.prototype.Yo=function(){var K=[],R,f=g.Z(((R=this.productUpsellSuggestedActionViewModel)==null?void 0:R.ranges)||[]);for(R=f.next();!R.done;R=f.next()){var V=R.value;V&&(R=Number(V.startTimeMilliseconds),V=Number(V.endTimeMilliseconds),isNaN(R)||isNaN(V)||K.push(new g.nQ(R,V,{id:\"product_upsell\",namespace:\"suggested_action_view_model\"})))}this.G.PV(K)};g.x(poB,K_);g.x(EM,K_);EM.prototype.onVideoDataChange=function(K,R){var f=this;if(!GW(R)&&(K===\"newdata\"&&GRw(this),this.U&&K===\"dataloaded\")){this.U=!1;var V;G1(ml(yG(this.api.C(),(V=this.api.getVideoData())==null?void 0:g.Ys(V)),function(D){R9B(f,D)}),function(){f.U=!0})}};\nEM.prototype.PU=function(){var K=this;if(g.cX(this.api.C())){var R,f=g.r6(this.api.C(),(R=this.api.getVideoData())==null?void 0:g.Ys(R));return ml(M3(f),function(V){var D=jM();qy(D,V);return K.api.PU(D)})}return M3(this.api.PU())};g.x(g.aj,g.ur);g.w=g.aj.prototype;g.w.open=function(){g.v_(this.W5,this.fL)};\ng.w.LP=function(K){VRN(this);var R=this.options[K];R&&(R.element.setAttribute(\"aria-checked\",\"true\"),this.setContent(this.RC(K)),this.OO=K)};\ng.w.di=function(K){g.SZ(this.fL);for(var R={},f=!1,V=0;V=0?this.U.playbackRate:1}catch(K){return 1}};\ng.w.setPlaybackRate=function(K){this.getPlaybackRate()!==K&&(this.U.playbackRate=K);return K};\ng.w.lm=function(){return this.U.loop};\ng.w.setLoop=function(K){this.U.loop=K};\ng.w.canPlayType=function(K,R){return this.U.canPlayType(K,R)};\ng.w.isPaused=function(){return this.U.paused};\ng.w.isSeeking=function(){return this.U.seeking};\ng.w.isEnded=function(){return this.U.ended};\ng.w.Ib=function(){return this.U.muted};\ng.w.nO=function(K){lA();this.U.muted=K};\ng.w.q_=function(){return this.U.played||qr([],[])};\ng.w.A$=function(){try{var K=this.U.buffered}catch(R){}return K||qr([],[])};\ng.w.mu=function(){return this.U.seekable||qr([],[])};\ng.w.c6=function(){var K=this.U;return K.getStartDate?K.getStartDate():null};\ng.w.getCurrentTime=function(){return this.U.currentTime};\ng.w.setCurrentTime=function(K){this.U.currentTime=K};\ng.w.getDuration=function(){return this.U.duration};\ng.w.load=function(){var K=this.U.playbackRate;try{this.U.load()}catch(R){}this.U.playbackRate=K};\ng.w.pause=function(){this.U.pause()};\ng.w.play=function(){var K=this.U.play();if(!K||!K.then)return null;K.then(void 0,function(){});\nreturn K};\ng.w.Rk=function(){return this.U.readyState};\ng.w.Rb=function(){return this.U.networkState};\ng.w.jH=function(){return this.U.error?this.U.error.code:null};\ng.w.R0=function(){return this.U.error?this.U.error.message:\"\"};\ng.w.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.U instanceof window.HTMLVideoElement&&this.U.getVideoPlaybackQuality)return this.U.getVideoPlaybackQuality();if(this.U){var K=this.U,R=K.webkitDroppedFrameCount;if(K=K.webkitDecodedFrameCount)return{droppedVideoFrames:R||0,totalVideoFrames:K}}return{}};\ng.w.dD=function(){return!!this.U.webkitCurrentPlaybackTargetIsWireless};\ng.w.Xq=function(){return!!this.U.webkitShowPlaybackTargetPicker()};\ng.w.togglePictureInPicture=function(){var K=this.U,R=window.document;window.document.pictureInPictureEnabled?this.U!==R.pictureInPictureElement?K.requestPictureInPicture():R.exitPictureInPicture():$0()&&K.webkitSetPresentationMode(K.webkitPresentationMode===\"picture-in-picture\"?\"inline\":\"picture-in-picture\")};\ng.w.p_=function(){return rhM(this.U)};\ng.w.getSize=function(){return g.i6(this.U)};\ng.w.setSize=function(K){g.SX(this.U,K)};\ng.w.getVolume=function(){return this.U.volume};\ng.w.setVolume=function(K){lA();this.U.volume=K};\ng.w.wz=function(K){this.K[K]||(this.U.addEventListener(K,this.listener),this.K[K]=this.listener)};\ng.w.setAttribute=function(K,R){this.U.setAttribute(K,R)};\ng.w.removeAttribute=function(K){this.U.removeAttribute(K)};\ng.w.hasAttribute=function(K){return this.U.hasAttribute(K)};\ng.w.wq=go(53);g.w.d3=go(56);g.w.LH=go(59);g.w.k8=go(62);g.w.ZG=function(){return QP(this.U)};\ng.w.H8=function(K){g.dy(this.U,K)};\ng.w.Vz=function(K){return g.l6(this.U,K)};\ng.w.MM=function(){return g.Ta(document.body,this.U)};\ng.w.audioTracks=function(){var K=this.U;if(\"audioTracks\"in K)return K.audioTracks};\ng.w.uD=function(){for(var K=g.Z(Object.keys(this.K)),R=K.next();!R.done;R=K.next())R=R.value,this.U.removeEventListener(R,this.K[R]);hL.prototype.uD.call(this)};\ng.w.jj=function(K){this.U.disableRemotePlayback=K};g.x(T3,g.Y);g.x(nE,g.Y);nE.prototype.show=function(){g.Y.prototype.show.call(this);this.T2()};\nnE.prototype.hide=function(){g.Y.prototype.hide.call(this);this.delay.stop();this.J.stop()};\nnE.prototype.T2=function(){var K=(0,g.N7)(),R=v5B(this.YW);P_(this.U,R.bandwidth_samples);P_(this.T,R.network_activity_samples);P_(this.X,R.live_latency_samples);P_(this.K,R.buffer_health_samples);var f={};R=g.Z(Object.entries(R));for(var V=R.next();!V.done;V=R.next()){var D=g.Z(V.value);V=D.next().value;D=D.next().value;this.N[V]!==D&&(f[V]=\" \"+String(D));this.N[V]=D}this.update(f);K=(0,g.N7)()-K>25?5E3:500;this.delay.start(K)};\nnE.prototype.Z=function(){this.B?(this.position+=1,this.position>15&&(this.B=!1)):(--this.position,this.position<=0&&(this.B=!0));this.element.style.left=this.position+\"%\";this.element.style.top=this.position+\"%\";this.J.start(2E4)};g.x(z9G,K_);g.x(Ij,g.O);Ij.prototype.U=function(){var K=(0,g.N7)()-this.startTime;K=Kthis.J[K])&&(this.U=K,this.Y1())};\ng.w.onCueRangeExit=function(K){var R=XH5(this,K);R&&this.U===K&&this.api.lD(\"innertubeCommand\",R);jZ(this);this.U=void 0};\ng.w.mS=function(K){this.X=K};\ng.w.Yz=function(){this.Y1();this.X=void 0};\ng.w.Y1=function(){if(this.U!==void 0){var K=(K=OM(this,this.U))&&K.onCueRangeEnter?XY(K.onCueRangeEnter):void 0;var R=OM(this,this.U);a:if(R&&R.additionalTrigger){var f=g.Z(R.additionalTrigger);for(var V=f.next();!V.done;V=f.next())if(V=V.value,V.type){var D=void 0,H=void 0;if((D=this.B5[V.type])==null?0:D((H=V.args)!=null?H:{})){f=!0;break a}}f=!1}else f=!0;K&&f&&(this.api.lD(\"innertubeCommand\",K),kGG(this,R),this.J[this.U]!==void 0&&this.J[this.U]++,this.EF=!0)}};\ng.w.uD=function(){this.timelyActions=this.X=this.U=this.videoId=void 0;this.J={};this.LF();jZ(this);K_.prototype.uD.call(this)};g.x(n5N,K_);g.x(qh,l8);qh.prototype.J=function(K){this.X(K?2:1)};\nqh.prototype.Th=function(){var K=this.G.getPresentingPlayerType();K===2||K===3?this.U&&(this.U=!1,this.W5.uX(this)):(K=this.getVoiceBoostState(),K!==1?(K===0?(dt(this,this.K()===2),this.setEnabled(!0)):(dt(this,!1),this.setEnabled(!1)),this.U||(this.W5.ZZ(this),this.U=!0)):this.U&&(this.W5.uX(this),this.U=!1))};\nqh.prototype.uD=function(){this.W5.uX(this);l8.prototype.uD.call(this)};g.x(Mh,K_);Mh.prototype.getVoiceBoostUserPreference=function(){return this.U};\nMh.prototype.setVoiceBoostUserPreference=function(K){this.api.KQ(\"vb_set\",{pref:K});g.Pe(\"yt-player-voice-boost\",K);K!==this.U&&(this.U=K,this.updateEnvironmentData(),this.getVoiceBoostState()!==1&&this.api.Hg(),this.api.bH())};\nMh.prototype.getVoiceBoostState=function(){return this.api.Fq(1)};\nMh.prototype.updateEnvironmentData=function(){this.api.C().dS=this.U};g.x(pE,K_);pE.prototype.uD=function(){this.Z&&(g.a9(this.Z),this.Z=void 0);K_.prototype.uD.call(this)};\npE.prototype.bN=function(){(this.K?!this.U:this.X)&&G3(this)};\npE.prototype.iH=function(K,R,f){var V=this;if(Ozz(K)){var D=f||\"\";if(this.U)R=uI(this,D),jXw(K,R);else{var H=new g.hn;R.push(H.promise);this.B.promise.then(function(){var l=uI(V,D);jXw(K,l);H.resolve()})}}};\npE.prototype.Og=function(K){var R=this;if(this.K||this.X)K.gT=uI(this,K.videoId),this.U||(this.J=new y9,this.B.promise.then(function(){R.ye.n7(\"pot_if\");K.gT=uI(R,K.videoId)}))};g.x(g.CE,g.Y);g.CE.prototype.select=function(){this.api.V4(this.suggestion.videoId,this.suggestion.sessionData,this.suggestion.playlistId,void 0,void 0,this.suggestion.rG||void 0)&&this.api.logClick(this.element)};\ng.CE.prototype.onClick=function(K){if(g.kN(this.api.C())&&this.api.Y(\"web_player_log_click_before_generating_ve_conversion_params\")){this.api.logClick(this.element);var R=this.suggestion.mq(),f={};g.kb(this.api,f);R=g.B9(R,f);g.cW(R,this.api,K)}else g.FK(K,this.api,this.K,this.suggestion.sessionData||void 0)&&this.select()};\ng.CE.prototype.onKeyPress=function(K){switch(K.keyCode){case 13:case 32:K.defaultPrevented||(this.select(),K.preventDefault())}};\ng.CE.prototype.onVideoDataChange=function(){var K=this.api.getVideoData(),R=this.api.C();this.K=K.nL?!1:R.J};g.x(KnB,g.Y);g.w=KnB.prototype;g.w.uD=function(){this.hide();g.kc(this.B);g.Ls(this.stills);this.stills.length=0;this.X&&(this.X.remove(),this.X=void 0);this.U&&(this.U.remove(),this.U=void 0);this.K&&(this.K.remove(),this.K=void 0);g.Y.prototype.uD.call(this)};\ng.w.setCommentsButton=function(K){K!==this.U&&(this.U&&this.U.remove(),this.U=K)&&(g.dy(this.U,\"ytp-fullscreen-grid-action-button\"),this.Z.appendChild(this.U))};\ng.w.setDescriptionButton=function(K){K!==this.K&&(this.K&&this.K.remove(),this.K=K)&&(g.dy(this.K,\"ytp-fullscreen-grid-action-button\"),XU(this.Z,this.K,0))};\ng.w.ot=function(K){this.UF&&this.UF(K)};\ng.w.onVideoDataChange=function(){if(!this.N){this.videoData=this.player.getVideoData(1);var K,R,f,V,D;var H=(((K=this.videoData)==null?0:(R=K.suggestions)==null?0:R.length)?(f=this.videoData)==null?void 0:f.suggestions:((V=this.videoData)==null?0:g.lv(V))?[(D=this.videoData)==null?void 0:g.lv(D)]:[]).slice(0,18);if((K=this.T)&&this.J)if(g.Ba(K),H.length)for(this.stills.length>H.length&&g.Ls(this.stills.splice(H.length)),this.stills.length=H.length,R=0;R=0;K--)this.features[K].dispose();this.features.length=0;g.O.prototype.uD.call(this)};rf_.prototype.reset=function(){this.U=this.K=NaN};g.w=yfB.prototype;g.w.reset=function(){an(this.timerName)};\ng.w.tick=function(K,R){Uz(K,R,this.timerName)};\ng.w.n7=function(K){return J2(K,void 0,this.timerName)};\ng.w.E2=function(K){g.tL(K,void 0,this.timerName)};\ng.w.infoGel=function(K){g.WV(K,this.timerName)};g.x(SMe,g.VQ);g.w=SMe.prototype;g.w.hasNext=function(K){return this.loop||!!K||this.index+1=0};\ng.w.setShuffle=function(K){this.shuffle=K;K=this.order&&this.order[this.index]!=null?this.order[this.index]:this.index;this.order=[];for(var R=0;R=R.top&&K.right<=R.right&&K.bottom<=R.bottom&&K.left>=R.left))return}UO(this,2,!1)};\ng.w.Dd=function(K){var R=new g.Ha(K.pageX,K.pageY);$U(R,this.J)||(this.J=R,(K=K.target)&&this.uV(K)&&(UO(this,4,!0),this.U.hs(this.X),this.X=this.U.j(this.target,\"mouseover\",this.aB),this.N=this.U.j(this.target,\"mouseout\",this.aB)))};\ng.w.aB=function(K){K=K.relatedTarget;K&&this.uV(K)||(this.J=new g.Ha(NaN,NaN),K$N(this))};\ng.w.r5D=function(){UO(this,1,!0)};\ng.w.O6=function(K){K=K.target;K instanceof Element&&!(K.tabIndex>0)||UO(this,1,!0)};\ng.w.d$=function(){this.T=!0;this.U.hs(this.B);this.B=this.U.j(document,\"mouseup\",this.CU)};\ng.w.CU=function(){this.T=!1;UO(this,8,!1);this.U.hs(this.B);this.B=this.U.j(this.target,\"mousedown\",this.d$)};\ng.w.LN=function(K){if(K=(K=K.changedTouches)&&K[0])this.B5=K.identifier,this.U.hs(this.Z),this.Z=this.U.j(this.target,\"touchend\",this.lF,void 0,!0),UO(this,1024,!0)};\ng.w.lF=function(K){if(K=K.changedTouches)for(var R=0;R1280||D>720)if(R=V.AK(\"maxresdefault.jpg\"))break;if(H>640||D>480)if(R=V.AK(\"maxresdefault.jpg\"))break;if(H>320||D>180)if(R=V.AK(\"sddefault.jpg\")||V.AK(\"hqdefault.jpg\")||V.AK(\"mqdefault.jpg\"))break;if(R=V.AK(\"default.jpg\"))break}g.Hd(K)&&(K=new Image,K.addEventListener(\"load\",\nfunction(){nIh()}),K.src=R?R:\"\",this.api.MH().tick(\"ftr\"));\nthis.J.style.backgroundImage=R?\"url(\"+R+\")\":\"\"};g.x(g.ZH,g.Y);g.ZH.prototype.resize=function(){};\ng.ZH.prototype.K=function(K){var R=this;this.X=!1;Vu2(this);var f=K.Ot,V=this.api.C();f!==\"GENERIC_WITHOUT_LINK\"||V.T?f===\"TOO_MANY_REQUESTS\"?(V=this.api.getVideoData(),this.setContent(kz(this,\"TOO_MANY_REQUESTS_WITH_LINK\",V.mq(),void 0,void 0,void 0,!1))):f!==\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\"||V.T?this.api.C().Y(\"html5_enable_bandaid_error_screen\")&&f===\"HTML5_SPS_UMP_STATUS_REJECTED\"&&!V.T?(V=V.hostLanguage,K=\"//support.google.com/youtube?p=videoError\",V&&(K=g.B9(K,{hl:V})),this.setContent(kz(this,\n\"HTML5_SPS_UMP_STATUS_REJECTED\",K))):this.api.C().Y(\"enable_adb_handling_in_sabr\")&&f===\"BROWSER_OR_EXTENSION_ERROR\"&&!V.T?(V=V.hostLanguage,K=\"//support.google.com/youtube/answer/3037019#zippy=%2Cupdate-your-browser-and-check-your-extensions\",V&&(K=g.B9(K,{hl:V})),this.setContent(kz(this,\"BROWSER_OR_EXTENSION_ERROR\",K))):this.setContent(g.Bz(K.errorMessage)):this.setContent(kz(this,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT\",\"//www.youtube.com/supported_browsers\")):(K=V.hostLanguage,f=\n\"//support.google.com/youtube/?p=player_error1\",K&&(f=g.B9(f,{hl:K})),this.setContent(kz(this,\"GENERIC_WITH_LINK_AND_CPN\",f,!0)),V.Gt&&!V.J&&fH2(this,function(H){if(g.FK(H,R.api,!eA(R.api.C()))){H={as3:!1,html5:!0,player:!0,cpn:R.api.getVideoData().clientPlaybackNonce};var l=R.api;l.iM(\"onFeedbackArticleRequest\",{articleId:3037019,helpContext:\"player_error\",productData:H});l.isFullscreen()&&l.toggleFullscreen()}}));\nif(this.X){var D=this.IY(\"ytp-error-link\");D&&(this.api.createClientVe(D,this,216104),this.api.logVisibility(D,!0),fH2(this,function(){R.api.logClick(D)}))}};\nvar Ryz=/([^<>]+)<\\/a>/;g.x(DOB,g.Y);DOB.prototype.gm=function(K,R,f){f=f===void 0?!1:f;switch(R){case 1:Th(this,K,this.X,f);break;case 2:Th(this,K,this.J,f);break;case 3:Th(this,K,this.U,f);break;case 4:Th(this,K,this.K,f)}};g.x(Hpz,g.Y);g.w=Hpz.prototype;g.w.onClick=function(K){this.innertubeCommand?(this.G.lD(\"innertubeCommand\",this.innertubeCommand),K.preventDefault()):g.FK(K,this.G,!0);this.G.logClick(this.element)};\ng.w.onVideoDataChange=function(K,R){lHG(this,R);this.NW&&dON(this,this.NW)};\ng.w.O5=function(K){var R=this.G.getVideoData();this.videoId!==R.videoId&&lHG(this,R);this.U&&dON(this,K.state);this.NW=K.state};\ng.w.kY=function(){this.fade.show();this.G.publish(\"paidcontentoverlayvisibilitychange\",!0);this.G.logVisibility(this.element,!0)};\ng.w.mB=function(){this.fade.hide();this.G.publish(\"paidcontentoverlayvisibilitychange\",!1);this.G.logVisibility(this.element,!1)};g.x(Pz,g.Y);Pz.prototype.hide=function(){this.U.stop();this.message.style.display=\"none\";g.Y.prototype.hide.call(this)};\nPz.prototype.onStateChange=function(K){this.YY(K.state)};\nPz.prototype.YY=function(K){if(g.G(K,128)||this.api.CI())var R=!1;else{var f;R=this.api.Y(\"web_watch_enable_multiview_manager\")&&((f=this.api.getVideoData())==null?0:GW(f))?!1:g.G(K,16)||g.G(K,1)?!0:!1}R?this.U.start():this.hide()};\nPz.prototype.K=function(){this.message.style.display=\"block\"};g.x(np,g.br);np.prototype.onMutedAutoplayChange=function(K){this.K&&(K?(F$_(this),this.kY()):(this.U&&this.logClick(),this.mB()))};\nnp.prototype.vR=function(K){this.api.isMutedByMutedAutoplay()&&g.rH(K,2)&&this.mB()};\nnp.prototype.onClick=function(){this.api.unMute();this.logClick()};\nnp.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.x(g.I$,g.de);g.w=g.I$.prototype;g.w.init=function(){var K=this.api,R=K.getPlayerStateObject();this.WN=K.getPlayerSize();this.EL(R);this.M9();this.xl();this.api.publish(\"basechromeinitialized\",this);this.Pr()&&this.api.publish(\"standardControlsInitialized\")};\ng.w.onVideoDataChange=function(K,R){var f=this.kO!==R.videoId;if(f||K===\"newdata\")K=this.api,K.isFullscreen()||(this.WN=K.getPlayerSize());f&&(this.kO=R.videoId,f=this.sO,f.y0=3E3,UO(f,512,!0),this.M9());this.api.Y(\"web_render_jump_buttons\")&&R.showSeekingControls&&(this.Ol=572)};\ng.w.iLD=function(){this.onVideoDataChange(\"newdata\",this.api.getVideoData())};\ng.w.c7=function(){var K=this.api.v1()&&this.api.i5(),R=this.api.QX();return this.V_||K||this.Ji||R};\ng.w.PP=function(){var K=!this.c7();g.yb(this.api.getRootNode(),\"ytp-menu-shown\",!K)};\ng.w.uV=function(K){try{if(!g.Ta(this.api.getRootNode(),K))return!1}catch(R){return!1}for(;K&&!nT(K);)K=K===this.api.getRootNode()?null:K.parentElement||null;return!!K};\ng.w.RB=function(K){var R=this.api.getRootNode();g.yb(R,\"ytp-autohide\",K);g.yb(R,\"ytp-autohide-active\",!0);this.wl.start(K?250:100);K&&(this.ly=!1,g.c2(R,\"ytp-touch-mode\"));this.BG=!K;this.api.wJ(!K);this.api.Y(\"web_player_enable_fullscreen_grid_components\")&&this.api.publish(\"autohideupdate\",K)};\ng.w.x9=function(){var K=this.api.getRootNode();g.yb(K,\"ytp-autohide-active\",!1)};\ng.w.unr=function(){this.lS=!0};\ng.w.Q0Z=function(K){if(this.api.C().Y(\"player_doubletap_to_seek\")||this.api.C().N)this.lS=!1,this.Os&&this.hs(this.Os),this.Rz===0&&g2(this,K)?(this.VS(),this.L1.start(),this.Os=this.j(this.api.Ft(),\"touchmove\",this.unr,void 0,!0)):this.L1.stop();hyz(this)&&g2(this,K)&&!this.api.C().N&&ruB(this);var R=this.xp.Xp();if(!g.kN(this.api.C())&&J1&&ozM(this,K))R&&K.preventDefault();else if(this.ly=!0,g.dy(this.api.getRootNode(),\"ytp-touch-mode\"),this.sO.VA(),this.api.C().Y(\"player_doubletap_to_seek\")||this.api.C().N)if(R=\nthis.api.getPlayerStateObject(),!(!this.api.HB()||g.G(R,2)&&g.AX(this.api)||g.G(R,64))){R=Date.now()-this.t_;this.Rz+=1;if(R<=350){this.Ua=!0;R=this.api.getPlayerSize().width/3;var f=this.api.getRootNode().getBoundingClientRect(),V=K.targetTouches[0].clientX-f.left;f=K.targetTouches[0].clientY-f.top;var D=(this.Rz-1)*10;V>0&&VR*2&&V=650,V=K.width<528;this.sO.resize();if(this.api.Y(\"web_player_use_screen_width_for_big_mode\")){var D,H=K.width>=((D=g.mz(this.api.C().experiments,\"web_player_big_mode_screen_width_cutoff\"))!=null?D:2E3);g.yb(R,\"ytp-big-mode\",H)}g.yb(R,\"ytp-fullscreen\",this.api.isFullscreen());g.yb(R,\"ytp-large-width-mode\",f);this.api.Y(\"delhi_modern_web_player\")?g.yb(R,\"ytp-xsmall-width-mode\",V):g.yb(R,\"ytp-small-mode\",this.C7());\ng.yb(R,\"ytp-tiny-mode\",this.uY());g.yb(R,\"ytp-big-mode\",this.uH());this.qQ&&this.qQ.resize(K)};\ng.w.vR=function(K){this.EL(K.state);this.M9()};\ng.w.ZH=go(5);g.w.Gq=function(){var K=!!this.kO&&!this.api.EO()&&!this.r_,R=this.api.getPresentingPlayerType()===2,f=this.api.C();if(R)return f=xz(this.api.JV()),K&&(f&&f.player?K=(K=f.player.getVideoData(2))?K.isListed&&!g.dI(f.player.C()):!1:(dH(\"showInfoBarDuringAd: this is null\"),K=!1)),K;R=f.Y(\"web_player_imax_theater_mode\")&&this.api.Ab()&&!this.api.isInline();return K&&(f.sY||R||this.api.isFullscreen()||f.Dq)};\ng.w.M9=function(){var K=this.Gq();this.u5!==K&&(this.u5=K,g.yb(this.api.getRootNode(),\"ytp-hide-info-bar\",!K))};\ng.w.EL=function(K){var R=K.isCued()||this.api.Zn()&&this.api.getPresentingPlayerType()!==3;R!==this.isCued&&(this.isCued=R,this.Zv&&this.hs(this.Zv),this.Zv=this.j(this.api.Ft(),\"touchstart\",this.Q0Z,void 0,R));var f=this.sO,V=K.isPlaying()&&!g.G(K,32)||this.api.e0();UO(f,128,!V);f=this.sO;V=this.api.getPresentingPlayerType()===3;UO(f,256,V);f=this.api.getRootNode();g.G(K,2)?V=[bn.ENDED]:(V=[],g.G(K,8)?V.push(bn.PLAYING):g.G(K,4)&&V.push(bn.PAUSED),g.G(K,1)&&!g.G(K,32)&&V.push(bn.BUFFERING),g.G(K,\n32)&&V.push(bn.SEEKING),g.G(K,64)&&V.push(bn.UNSTARTED));g.iT(this.wW,V)||(g.ry(f,this.wW),this.wW=V,g.FJ(f,V));V=this.api.C();var D=g.G(K,2);a:{var H=this.api.C();var l=H.controlsType;switch(l){case \"2\":case \"0\":H=!1;break a}H=l===\"3\"&&!g.G(K,2)||this.isCued||(this.api.getPresentingPlayerType()!==2?0:OAN(xz(this.api.JV())))||this.api.QX()||g.kN(H)&&this.api.getPresentingPlayerType()===2?!1:!0}g.yb(f,\"ytp-hide-controls\",!H);g.yb(f,\"ytp-native-controls\",V.controlsType===\"3\"&&!R&&!D&&!this.Ji);g.G(K,\n128)&&!g.kN(V)?(this.qQ||(this.qQ=new g.ZH(this.api),g.q(this,this.qQ),g.nl(this.api,this.qQ.element,4)),this.qQ.K(K.hm),this.qQ.show()):this.qQ&&(this.qQ.dispose(),this.qQ=null)};\ng.w.xL=function(){return this.api.v1()&&this.api.i5()?(this.api.rI(!1,!1),!0):this.api.EO()?(g.Zk(this.api,!0),!0):!1};\ng.w.onMutedAutoplayChange=function(K){this.Ji=K;this.PP()};\ng.w.uH=function(){return!1};\ng.w.C7=function(){return!this.uH()&&(this.api.getPlayerSize().width=0&&R.left>=0&&R.bottom>R.top&&R.right>R.left?R:null;R=this.size;K=K.clone();R=R.clone();V&&(l=R,D=5,(D&65)==65&&(K.x=V.right)&&(D&=-2),(D&132)==132&&(K.y=V.bottom)&&(D&=-5),K.xV.right&&(l.width=Math.min(V.right-K.x,H+l.width-V.left),l.width=Math.max(l.width,0))),K.x+l.width>V.right&&D&1&&(K.x=Math.max(V.right-l.width,V.left)),K.yV.bottom&&(l.height=Math.min(V.bottom-K.y,H+l.height-V.top),l.height=Math.max(l.height,0))),K.y+l.height>V.bottom&&D&4&&(K.y=Math.max(V.bottom-l.height,V.top)));V=new g.Rs(0,0,0,0);V.left=K.x;V.top=K.y;V.width=\nR.width;V.height=R.height;g.rB(this.element,new g.Ha(V.left,V.top));g.kc(this.K);this.K.j(pl(this),\"contextmenu\",this.Js0);this.K.j(this.G,\"fullscreentoggled\",this.onFullscreenToggled);this.K.j(this.G,\"pageTransition\",this.nU)};\ng.w.Js0=function(K){if(!K.defaultPrevented){var R=Jq(K);g.Ta(this.element,R)||this.mB();this.G.C().disableNativeContextMenu&&K.preventDefault()}};\ng.w.onFullscreenToggled=function(){this.mB();OpB(this)};\ng.w.nU=function(){this.mB()};g.x(Gh,g.Y);Gh.prototype.onClick=function(){var K=this,R,f,V,D;return g.I(function(H){if(H.U==1)return R=K.api.C(),f=K.api.getVideoData(),V=K.api.getPlaylistId(),D=R.getVideoUrl(f.videoId,V,void 0,!0),g.P(H,Muw(K,D),2);H.K&&qOB(K);K.api.logClick(K.element);g.lE(H)})};\nGh.prototype.T2=function(){this.updateValue(\"icon\",{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z\"}}]});this.updateValue(\"title-attr\",\"Copy link\");this.updateValue(\"tooltip-title\",\"Copy link\");this.visible=j$_(this);g.yb(this.element,\n\"ytp-copylink-button-visible\",this.visible);this.dn(this.visible);this.tooltip.p7();this.api.logVisibility(this.element,this.visible&&this.EF)};\nGh.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.api.logVisibility(this.element,this.visible&&K)};\nGh.prototype.uD=function(){g.Y.prototype.uD.call(this);g.c2(this.element,\"ytp-copylink-button-visible\")};g.x(bpM,g.Y);g.w=bpM.prototype;g.w.show=function(){g.Y.prototype.show.call(this);g.eE(this.K)};\ng.w.hide=function(){this.J.stop();this.X=0;this.IY(\"ytp-seek-icon\").style.display=\"none\";this.updateValue(\"seekIcon\",\"\");g.c2(this.element,\"ytp-chapter-seek\");g.c2(this.element,\"ytp-time-seeking\");g.Y.prototype.hide.call(this)};\ng.w.DH=function(K,R,f,V){this.X=K===this.T?this.X+V:V;this.T=K;var D=K===-1?this.Z:this.N;D&&this.G.logClick(D);this.B?this.K.stop():g.Rt(this.K);this.J.start();this.element.setAttribute(\"data-side\",K===-1?\"back\":\"forward\");var H=3*this.G.Ft().getPlayerSize().height;D=this.G.Ft().getPlayerSize();D=D.width/3-3*D.height;this.U.style.width=H+\"px\";this.U.style.height=H+\"px\";K===1?(this.U.style.left=\"\",this.U.style.right=D+\"px\"):K===-1&&(this.U.style.right=\"\",this.U.style.left=D+\"px\");var l=H*2.5;H=l/\n2;var F=this.IY(\"ytp-doubletap-ripple\");F.style.width=l+\"px\";F.style.height=l+\"px\";K===1?(K=this.G.Ft().getPlayerSize().width-R+Math.abs(D),F.style.left=\"\",F.style.right=K-H+\"px\"):K===-1&&(K=Math.abs(D)+R,F.style.right=\"\",F.style.left=K-H+\"px\");F.style.top=\"calc((33% + \"+Math.round(f)+\"px) - \"+H+\"px)\";if(f=this.IY(\"ytp-doubletap-ripple\"))f.classList.remove(\"ytp-doubletap-ripple\"),f.classList.add(\"ytp-doubletap-ripple\");pzG(this,this.B?this.X:V)};\ng.w.iQ=function(K,R,f){if(f=f===void 0?null:f){var V=K===-1?this.Z.visualElement:this.N.visualElement;f={seekData:f};var D=g.wu();D&&KS(D,V,\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\",f)}this.X=K===this.T?this.X+R:R;this.T=K;V=this.G.Ft().getPlayerSize();this.B?this.K.stop():g.Rt(this.K);this.J.start();this.element.setAttribute(\"data-side\",K===-1?\"back\":\"forward\");g.dy(this.element,\"ytp-time-seeking\");this.U.style.width=\"110px\";this.U.style.height=\"110px\";f=V.width*.1-15;K===1?this.UF?(this.U.style.right=\nf+\"px\",this.U.style.left=\"\"):(this.U.style.right=\"\",this.U.style.left=V.width*.8-30+\"px\"):K===-1&&(this.UF?(this.U.style.right=\"\",this.U.style.left=f+\"px\"):(this.U.style.right=\"\",this.U.style.left=V.width*.1-15+\"px\"));this.U.style.top=V.height*.5+15+\"px\";pzG(this,this.B?this.X:R)};\ng.w.wF=function(K,R,f){f=f===void 0?null:f;g.Rt(this.K);this.J.start();switch(K){case -1:K=\"back\";break;case 1:K=\"forward\";break;default:K=\"\"}this.element.setAttribute(\"data-side\",K);this.U.style.width=\"0\";this.U.style.height=\"0\";g.dy(this.element,\"ytp-chapter-seek\");this.updateValue(\"seekText\",R);this.updateValue(\"seekTime\",\"\");R=this.IY(\"ytp-seek-icon\");if(f){a:if(f){switch(f){case \"PREMIUM_STANDALONE\":f=Vze();break a;case \"PREMIUM_STANDALONE_CAIRO\":f=Dmw();break a}f=void 0}else f=null;this.updateValue(\"seekIcon\",\nf);R.style.display=\"inline-block\"}else R.style.display=\"none\"};g.x(YO_,yv);g.w=YO_.prototype;g.w.v2=function(K){this.qe||(this.qe=new w3(this.G),g.q(this,this.qe));var R,f;if((R=this.Kh)==null?0:(f=R.menu)==null?0:f.menuRenderer)this.qe.open(this.Kh.menu.menuRenderer,K.target),K.preventDefault()};\ng.w.TX=function(){return!!this.U};\ng.w.G5=function(){return!!this.U};\ng.w.gL=function(K){K.target===this.overflowButton.element?K.preventDefault():(this.vK&&this.G.lD(\"innertubeCommand\",this.vK),this.OB(!1))};\ng.w.iA=function(){this.OB(!0);var K,R;if((K=this.U)==null?0:(R=K.bannerData)==null?0:R.dismissedStatusKey){if(this.Za.includes(this.U.bannerData.dismissedStatusKey))return;this.Za.push(this.U.bannerData.dismissedStatusKey)}this.XJ();this.G.Y(\"web_enable_shopping_timely_shelf_client\")&&(K={},g.kt(K,Azu,{overlayId:\"player_overlay_timely_shelf\"}),this.G.lD(\"innertubeCommand\",K))};\ng.w.Dh=function(){this.XJ();Cp(this)};\ng.w.IuY=function(K){var R=this,f;if(K.id!==((f=this.U)==null?void 0:f.identifier)){this.XJ();f=g.Z(this.B5);for(var V=f.next();!V.done;V=f.next()){var D=V.value,H=void 0,l=void 0;if((V=(H=D)==null?void 0:(l=H.bannerData)==null?void 0:l.itemData)&&D.identifier===K.id){l=H=void 0;var F=((H=D)==null?void 0:(l=H.bannerData)==null?void 0:l.dismissedStatusKey)||\"\";if(this.Za.includes(F))return;this.U=D;this.banner.element.setAttribute(\"aria-label\",V.accessibilityLabel||\"\");V.trackingParams&&(this.K=!0,\nthis.G.setTrackingParams(this.badge.element,V.trackingParams));this.show();this.Z.show();r3(this);this.y0.dn(!V.stayInApp);H9w(this);GhB(this);sO(this);this.vK=g.z(V.onTapCommand,Z3);if(D=g.z(V.menuOnTap,Z3))this.Kh=g.z(D,k2S);D=void 0;this.banner.update({thumbnail:(D=(V.thumbnailSources||[])[0])==null?void 0:D.url,title:V.productTitle,price:V.priceReplacementText?V.priceReplacementText:V.price,salesOriginalPrice:CYz(this),priceDropReferencePrice:eyN(this),promotionText:s$v(this),priceA11yText:KZ5(this),\naffiliateDisclaimer:V.affiliateDisclaimer,vendor:Rnz(this)});F=l=H=D=void 0;((D=V)==null?0:(H=D.hiddenProductOptions)==null?0:H.showDropCountdown)&&((l=V)==null?0:(F=l.hiddenProductOptions)==null?0:F.dropTimestampMs)&&(this.Gt=new g.CW(function(){De2(R)},1E3),this.y0.hide(),this.countdownTimer.show(),De2(this));\nthis.G.Y(\"web_player_enable_featured_product_banner_exclusives_on_desktop\")&&mOB(this)&&(this.nh=new g.CW(function(){ukG(R)},1E3),ukG(this))}}this.G.getRootNode()&&g.dy(this.G.getRootNode(),\"ytp-featured-product-shown\")}};\ng.w.XJ=function(){this.U&&(this.U=void 0,this.O$(),this.G.getRootNode()&&g.c2(this.G.getRootNode(),\"ytp-featured-product-shown\"))};\ng.w.onVideoDataChange=function(K,R){var f=this;K===\"dataloaded\"&&Cp(this);var V,D,H;K=g.z((V=R.getWatchNextResponse())==null?void 0:(D=V.playerOverlays)==null?void 0:(H=D.playerOverlayRenderer)==null?void 0:H.productsInVideoOverlayRenderer,Bo8);this.overflowButton.show();this.dismissButton.hide();var l=K==null?void 0:K.featuredProductsEntityKey;this.trendingOfferEntityKey=K==null?void 0:K.trendingOfferEntityKey;this.B5.length||(VtB(this,l),sO(this));var F;(F=this.aQ)==null||F.call(this);this.aQ=g.FB.subscribe(function(){VtB(f,\nl);sO(f)})};\ng.w.uD=function(){Cp(this);H9w(this);GhB(this);yv.prototype.uD.call(this)};g.x(y7z,g.Y);y7z.prototype.onClick=function(){this.G.logClick(this.element,this.X);if(this.G.Y(\"embeds_enable_info_panel_dismissal\")&&this.U&&this.feedbackToken){var K=this.G.PU();if(K==null?0:foz(this.U,K.Fu))Xi(K,this.U,{feedbackTokens:[this.feedbackToken]}),this.G.publish(\"infopaneldetaildismissed\")}};g.x(hnh,g.br);g.w=hnh.prototype;g.w.show=function(){g.br.prototype.show.call(this);this.G.publish(\"infopaneldetailvisibilitychange\",!0);this.G.logVisibility(this.element,!0);oj5(this,!0)};\ng.w.hide=function(){g.br.prototype.hide.call(this);this.G.publish(\"infopaneldetailvisibilitychange\",!1);this.G.logVisibility(this.element,!1);oj5(this,!1)};\ng.w.getId=function(){return this.X};\ng.w.HX=function(){return this.itemData.length};\ng.w.onVideoDataChange=function(K,R){if(R){var f,V,D,H;this.update({title:((f=R.P9)==null?void 0:(V=f.title)==null?void 0:V.content)||\"\",body:((D=R.P9)==null?void 0:(H=D.bodyText)==null?void 0:H.content)||\"\"});var l;K=((l=R.P9)==null?void 0:l.trackingParams)||null;this.G.setTrackingParams(this.element,K);l=g.Z(this.itemData);for(K=l.next();!K.done;K=l.next())K.value.dispose();this.itemData=[];var F;if((F=R.P9)==null?0:F.ctaButtons)for(R=g.Z(R.P9.ctaButtons),F=R.next();!F.done;F=R.next())if(F=g.z(F.value,\nNoi))F=new y7z(this.G,F,this.U),F.e4&&(this.itemData.push(F),F.V0(this.items))}};\ng.w.uD=function(){this.hide();g.br.prototype.uD.call(this)};g.x(vj5,g.Y);g.w=vj5.prototype;g.w.onVideoDataChange=function(K,R){i9_(this,R);this.NW&&wLh(this,this.NW)};\ng.w.pU=function(K){var R=this.G.getVideoData();this.videoId!==R.videoId&&i9_(this,R);wLh(this,K.state);this.NW=K.state};\ng.w.Cr=function(K){(this.X=K)?this.hide():this.U&&!this.isDismissed&&this.show()};\ng.w.W2=function(){this.K||this.kY();this.showControls=!0};\ng.w.S$=function(){this.K||this.mB();this.showControls=!1};\ng.w.kY=function(){if(!this.isDismissed){var K,R=(K=this.G)==null?void 0:K.getPlayerSize();K=R.width<380;var f;R=R.height<(((f=this.G)==null?0:f.isEmbedsShortsMode())?400:280);var V,D;(((V=this.G)==null?0:V.getPlayerStateObject().isCued())||((D=this.G)==null?0:g.G(D.getPlayerStateObject(),1024)))&&K&&R||!this.U||this.X||(this.fade.show(),this.G.publish(\"infopanelpreviewvisibilitychange\",!0),this.G.logVisibility(this.element,!0))}};\ng.w.mB=function(){this.U&&!this.X&&(this.fade.hide(),this.G.publish(\"infopanelpreviewvisibilitychange\",!1),this.G.logVisibility(this.element,!1))};\ng.w.Vge=function(){this.K=!1;this.showControls||this.mB()};var BJ8={\"default\":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(BJ8).reduce(function(K,R){K[BJ8[R]]=R;return K},{});\nvar Xy8={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(Xy8).reduce(function(K,R){K[Xy8[R]]=R;return K},{});\nvar kBp={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(kBp).reduce(function(K,R){K[kBp[R]]=R;return K},{});var TJ$,PTE;TJ$=[{option:\"#fff\",text:\"White\"},{option:\"#ff0\",text:\"Yellow\"},{option:\"#0f0\",text:\"Green\"},{option:\"#0ff\",text:\"Cyan\"},{option:\"#00f\",text:\"Blue\"},{option:\"#f0f\",text:\"Magenta\"},{option:\"#f00\",text:\"Red\"},{option:\"#080808\",text:\"Black\"}];PTE=[{option:0,text:eu(0)},{option:.25,text:eu(.25)},{option:.5,text:eu(.5)},{option:.75,text:eu(.75)},{option:1,text:eu(1)}];\ng.VS=[{option:\"fontFamily\",text:\"Font family\",options:[{option:1,text:\"Monospaced Serif\"},{option:2,text:\"Proportional Serif\"},{option:3,text:\"Monospaced Sans-Serif\"},{option:4,text:\"Proportional Sans-Serif\"},{option:5,text:\"Casual\"},{option:6,text:\"Cursive\"},{option:7,text:\"Small Capitals\"}]},{option:\"color\",text:\"Font color\",options:TJ$},{option:\"fontSizeIncrement\",text:\"Font size\",options:[{option:-2,text:eu(.5)},{option:-1,text:eu(.75)},{option:0,text:eu(1)},{option:1,text:eu(1.5)},{option:2,\ntext:eu(2)},{option:3,text:eu(3)},{option:4,text:eu(4)}]},{option:\"background\",text:\"Background color\",options:TJ$},{option:\"backgroundOpacity\",text:\"Background opacity\",options:PTE},{option:\"windowColor\",text:\"Window color\",options:TJ$},{option:\"windowOpacity\",text:\"Window opacity\",options:PTE},{option:\"charEdgeStyle\",text:\"Character edge style\",options:[{option:0,text:\"None\"},{option:4,text:\"Drop Shadow\"},{option:1,text:\"Raised\"},{option:2,text:\"Depressed\"},{option:3,text:\"Outline\"}]},{option:\"textOpacity\",\ntext:\"Font opacity\",options:[{option:.25,text:eu(.25)},{option:.5,text:eu(.5)},{option:.75,text:eu(.75)},{option:1,text:eu(1)}]}];var nnB=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.x(Nfz,g.de);g.w=Nfz.prototype;\ng.w.TO=function(K){K.repeat||(this.X.Qi=!1);var R=!1,f=K.keyCode,V=Jq(K),D=!K.altKey&&!K.ctrlKey&&!K.metaKey&&(!this.api.isMutedByEmbedsMutedAutoplay()||nnB.includes(f)),H=!1,l=!1,F=this.api.C();K.defaultPrevented?(D=!1,l=!0):F.qW&&!this.api.isMutedByEmbedsMutedAutoplay()&&(D=!1);if(f===9)R=!0;else{if(V)switch(f){case 32:case 13:if(V.tagName===\"BUTTON\"||V.tagName===\"A\"||V.tagName===\"INPUT\")R=!0,D=!1;else if(D){var c=V.getAttribute(\"role\");!c||c!==\"option\"&&c!==\"button\"&&c.indexOf(\"menuitem\")!==0||\n(R=!0,V.click(),H=!0)}break;case 37:case 39:case 36:case 35:R=V.getAttribute(\"role\")===\"slider\";break;case 38:case 40:c=V.getAttribute(\"role\"),V=f===38?V.previousSibling:V.nextSibling,c===\"slider\"?R=!0:D&&(c===\"option\"?(V&&V.getAttribute(\"role\")===\"option\"&&V.focus(),H=R=!0):c&&c.indexOf(\"menuitem\")===0&&(V&&V.hasAttribute(\"role\")&&V.getAttribute(\"role\").indexOf(\"menuitem\")===0&&V.focus(),H=R=!0))}if(D&&!H)switch(f){case 38:H=Math.min(this.api.getVolume()+5,100);qO(this.ma,H,!1);this.api.setVolume(H);\nl=H=!0;break;case 40:H=Math.max(this.api.getVolume()-5,0);qO(this.ma,H,!0);this.api.setVolume(H);l=H=!0;break;case 36:this.api.HB()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),l=H=!0);break;case 35:this.api.HB()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),l=H=!0)}}R&&RB(this,!0);(R||l)&&this.sO.VA();(H||D&&this.handleGlobalKeyDown(f,K.shiftKey,K.ctrlKey,K.altKey,K.metaKey,K.key,K.code,K.repeat))&&K.preventDefault();F.Z&&(K={keyCode:K.keyCode,\naltKey:K.altKey,ctrlKey:K.ctrlKey,metaKey:K.metaKey,shiftKey:K.shiftKey,handled:K.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.h$(\"onKeyPress\",K))};\ng.w.DQ=function(K){var R=K.keyCode;!this.X.Eh&&this.handleGlobalKeyUp(R,K.shiftKey,K.ctrlKey,K.altKey,K.metaKey,K.key,K.code)&&K.preventDefault()};\ng.w.handleGlobalKeyUp=function(K,R,f,V,D,H,l){this.api.publish(\"keyboardserviceglobalkeyup\",{keyCode:K,shiftKey:R,ctrlKey:f,altKey:V,metaKey:D,key:H,code:l});R=!1;if(this.X.Qi)return R;(H=g.TV(this.api.JV()))&&(H=H.pO)&&H.EC&&(H.fX(K),R=!0);switch(K){case 9:RB(this,!0);R=!0;break;case 32:if(this.api.Y(\"web_speedmaster_spacebar_control\")&&!this.api.C().qW){var F,c;K=(F=this.progressBar)==null?void 0:(c=F.K)==null?void 0:c.isEnabled;R=this.aV(K)}break;case 39:(this.api.Y(\"web_player_chapter_seeking_keyboard_shortcut_killswitch\")||\n!(D||f&&V))&&(wL?V:f)&&this.api.HB()&&this.api.Y(\"web_enable_keyboard_shortcut_for_timely_actions\")&&(this.api.startSeekCsiAction(),F=(F=this.api.getVideoData())?F.M1:[],c=xeo(F,this.api.getCurrentTime()*1E3),c!==-1&&this.U!=null&&(this.U.wF(1,F[c].title),this.api.seekTo(F[c].startTime/1E3,void 0,void 0,void 0,52),R=!0))}return R};\ng.w.handleGlobalKeyDown=function(K,R,f,V,D,H,l,F){F||(this.X.Qi=!1);var c=!1,r=this.api.C();if(r.qW&&!this.api.isMutedByEmbedsMutedAutoplay())return c;var y=g.TV(this.api.JV());if(y&&(y=y.pO)&&y.EC)switch(K){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:c=y.GO(K)}r.T||c||(c=H||String.fromCharCode(K).toLowerCase(),this.K+=c,\"awesome\".indexOf(this.K)===0||this.api.Y(\"web_player_rtr_ctrls\")&&\"bday\".indexOf(this.K)===0?(c=!0,4===this.K.length&&this.K===\"bday\"&&this.api.Y(\"web_player_rtr_ctrls\")&&\n(c9M(this.B),this.sO.VA()),7===this.K.length&&this.K===\"awesome\"&&Dxe(this.api.getRootNode(),\"ytp-color-party\")):(this.K=c,c=\"awesome\".indexOf(this.K)===0||\"bday\".indexOf(this.K)===0));if(!c&&(!this.api.isMutedByEmbedsMutedAutoplay()||nnB.includes(K))){var h=this.api.getVideoData(),S,v;y=(S=this.progressBar)==null?void 0:(v=S.K)==null?void 0:v.isEnabled;S=h?h.M1:[];v=wL?V:f;switch(K){case 80:R&&!r.G2&&(ju(this.ma,H4B(),\"Previous\"),this.api.previousVideo(),c=!0);break;case 78:R&&!r.G2&&(ju(this.ma,\nzq(),\"Next\"),this.api.nextVideo(),c=!0);break;case 74:this.api.HB()&&(this.api.startSeekCsiAction(),this.U?this.api.Y(\"enable_key_press_seek_logging\")?(c=f9(this,-10*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_BACKWARD_10S\"),this.U.iQ(-1,10,c)):this.U.iQ(-1,10):ju(this.ma,{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z\"}}]}),\nthis.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,73),c=!0);break;case 76:this.api.HB()&&(this.api.startSeekCsiAction(),this.U?this.api.Y(\"enable_key_press_seek_logging\")?(c=f9(this,10*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_FORWARD_10S\"),this.U.iQ(1,10,c)):this.U.iQ(1,10):ju(this.ma,{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z\"}}]}),\nthis.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,74),c=!0);break;case 37:if(this.api.HB())if(this.api.startSeekCsiAction(),v){if(this.api.Y(\"web_player_chapter_seeking_keyboard_shortcut_killswitch\")||!(D||f&&V))v=Ejc(S,this.api.getCurrentTime()*1E3),v!==-1&&this.U!=null&&(this.U.wF(-1,S[v].title),this.api.seekTo(S[v].startTime/1E3,void 0,void 0,void 0,53),c=!0)}else this.U?this.api.Y(\"enable_key_press_seek_logging\")?(c=f9(this,-5*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_BACKWARD_5S\"),\nthis.U.iQ(-1,5,c)):this.U.iQ(-1,5):ju(this.ma,{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z\"}}]}),\nthis.api.seekBy(-5*this.api.getPlaybackRate(),void 0,void 0,71),c=!0;break;case 39:this.api.HB()&&(this.api.startSeekCsiAction(),v?this.api.Y(\"web_enable_keyboard_shortcut_for_timely_actions\")||!this.api.Y(\"web_player_chapter_seeking_keyboard_shortcut_killswitch\")&&(D||f&&V)||(v=xeo(S,this.api.getCurrentTime()*1E3),v!==-1&&this.U!=null&&(this.U.wF(1,S[v].title),this.api.seekTo(S[v].startTime/1E3,void 0,void 0,void 0,52),c=!0)):(this.U!=null?this.api.Y(\"enable_key_press_seek_logging\")?(c=f9(this,5*\nthis.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_FORWARD_5S\"),this.U.iQ(1,5,c)):this.U.iQ(1,5):ju(this.ma,{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z\"}}]}),\nthis.api.seekBy(5*this.api.getPlaybackRate(),void 0,void 0,72),c=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),qO(this.ma,this.api.getVolume(),!1)):(this.api.mute(),qO(this.ma,0,!0));c=!0;break;case 32:c=this.api.Y(\"web_speedmaster_spacebar_control\")?!this.api.C().G2:this.aV(y);break;case 75:c=this.aV(y);break;case 190:R?r.enableSpeedOptions&&WZM(this)&&(c=this.api.getPlaybackRate(),this.api.setPlaybackRate(c+.25,!0),ipo(this.ma,!1),c=!0):this.api.HB()&&(this.step(1),c=!0);break;case 188:R?\nr.enableSpeedOptions&&WZM(this)&&(c=this.api.getPlaybackRate(),this.api.setPlaybackRate(c-.25,!0),ipo(this.ma,!0),c=!0):this.api.HB()&&(this.step(-1),c=!0);break;case 70:ha5(this.api)&&(this.api.toggleFullscreen().catch(function(){}),c=!0);\nbreak;case 27:y?(this.progressBar.rq(),c=!0):this.N()&&(c=!0)}if(r.controlsType!==\"3\")switch(K){case 67:g.iY(this.api.JV())&&(r=this.api.getOption(\"captions\",\"track\"),this.api.toggleSubtitles(),vz_(this.ma,!r||r&&!r.displayName),c=!0);break;case 79:Dy(this,\"textOpacity\");break;case 87:Dy(this,\"windowOpacity\");break;case 187:case 61:Dy(this,\"fontSizeIncrement\",!1,!0);break;case 189:case 173:Dy(this,\"fontSizeIncrement\",!0,!0)}var L;R||f||V||(K>=48&&K<=57?L=K-48:K>=96&&K<=105&&(L=K-96));L!=null&&this.api.HB()&&\n!this.api.Y(\"web_player_disable_keyboard_seek_percent\")&&(this.api.startSeekCsiAction(),r=this.api.getProgressState(),this.api.seekTo(L/10*(r.seekableEnd-r.seekableStart)+r.seekableStart,void 0,void 0,void 0,81),c=!0);c&&this.sO.VA()}this.X.Lb=!1;this.api.publish(\"keyboardserviceglobalkeydown\",{keyCode:K,shiftKey:R,ctrlKey:f,altKey:V,metaKey:D,key:H,code:l,repeat:F},this.X);this.X.Lb&&(c=!0,this.sO.VA());return c};\ng.w.step=function(K){this.api.HB();if(this.api.getPlayerStateObject().isPaused()){var R=this.api.getVideoData().K;R&&(R=R.video)&&this.api.seekBy(K/(R.fps||30),void 0,void 0,K>0?77:78)}};\ng.w.aV=function(K){if(!this.api.C().G2){var R;var f,V=(R=this.api.getVideoData())==null?void 0:(f=R.getPlayerResponse())==null?void 0:f.playabilityStatus;if(V){var D;R=((D=g.z(V.miniplayer,jwH))==null?void 0:D.playbackMode)===\"PLAYBACK_MODE_PAUSED_ONLY\"}else R=!1;R&&this.api.lD(\"onExpandMiniplayer\");K?this.progressBar.vG():(K=!this.api.getPlayerStateObject().isOrWillBePlaying(),this.ma.Pn(K),K?this.api.playVideo():this.api.pauseVideo());return!0}return!1};\ng.w.uD=function(){g.Rt(this.J);g.de.prototype.uD.call(this)};g.x(HL,g.Y);HL.prototype.T2=function(){var K=this.G.C(),R=K.X||this.G.Y(\"web_player_hide_overflow_button_if_empty_menu\")&&this.bW.isEmpty();K=g.kN(K)&&g.Xs(this.G)&&g.G(this.G.getPlayerStateObject(),128);var f=this.G.getPlayerSize();this.visible=this.G.C7()&&!K&&f.width>=240&&!this.G.getVideoData().nL&&!R&&!this.G.isEmbedsShortsMode();g.yb(this.element,\"ytp-overflow-button-visible\",this.visible);this.dn(this.visible);this.visible&&this.G.p7();this.G.logVisibility(this.element,this.visible&&this.EF)};\nHL.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.G.logVisibility(this.element,this.visible&&K)};\nHL.prototype.uD=function(){g.Y.prototype.uD.call(this);g.c2(this.element,\"ytp-overflow-button-visible\")};g.x(tt5,g.br);g.w=tt5.prototype;g.w.zf=function(K){K=Jq(K);g.Ta(this.element,K)&&(g.Ta(this.U,K)||g.Ta(this.closeButton,K)||Yb(this))};\ng.w.mB=function(){g.br.prototype.mB.call(this);this.G.sS(this.element)};\ng.w.show=function(){this.EC&&this.G.publish(\"OVERFLOW_PANEL_OPENED\");g.br.prototype.show.call(this);this.element.setAttribute(\"aria-modal\",\"true\");J7B(this,!0)};\ng.w.hide=function(){g.br.prototype.hide.call(this);this.element.removeAttribute(\"aria-modal\");J7B(this,!1)};\ng.w.onFullscreenToggled=function(K){!K&&this.Xp()&&Yb(this)};\ng.w.isEmpty=function(){return this.actionButtons.length===0};\ng.w.focus=function(){for(var K=g.Z(this.actionButtons),R=K.next();!R.done;R=K.next())if(R=R.value,R.EC){R.focus();break}};g.x(Z9e,g.Y);Z9e.prototype.onClick=function(K){g.FK(K,this.api)&&this.api.playVideoAt(this.index)};g.x(Bfv,g.br);g.w=Bfv.prototype;g.w.show=function(){g.br.prototype.show.call(this);this.U.j(this.api,\"videodatachange\",this.z4);this.U.j(this.api,\"onPlaylistUpdate\",this.z4);this.z4()};\ng.w.hide=function(){g.br.prototype.hide.call(this);g.kc(this.U);this.updatePlaylist(null)};\ng.w.z4=function(){this.updatePlaylist(this.api.getPlaylist());this.api.C().X&&(this.IY(\"ytp-playlist-menu-title-name\").removeAttribute(\"href\"),this.K&&(this.hs(this.K),this.K=null))};\ng.w.by=function(){var K=this.playlist,R=K.author,f=R?\"by $AUTHOR \\u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH\":\"$CURRENT_POSITION/$PLAYLIST_LENGTH\",V={CURRENT_POSITION:String(K.index+1),PLAYLIST_LENGTH:String(K.length)};R&&(V.AUTHOR=R);this.update({title:K.title,subtitle:g.sK(f,V),playlisturl:this.api.getVideoUrl(!0)});R=K.K;if(R===this.X)this.selected.element.setAttribute(\"aria-checked\",\"false\"),this.selected=this.playlistData[K.index];else{f=g.Z(this.playlistData);for(V=f.next();!V.done;V=f.next())V.value.dispose();\nf=K.length;this.playlistData=[];for(V=0;V=this.K&&!K.X&&!R.isAd()&&!this.api.isEmbedsShortsMode()}else K=!1;this.visible=K;this.dn(this.visible);g.yb(this.element,\"ytp-search-button-visible\",this.visible);g.yb(this.element,\"ytp-show-search-title\",!this.api.C7());this.api.logVisibility(this.element,this.visible&&this.EF)};\ncL.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.api.logVisibility(this.element,this.visible&&K)};g.x(rf,g.Y);\nrf.prototype.trigger=function(K,R,f,V){this.show();if(this.K&&K!==this.K){var D=1;this.X&&(D=b9v(this));gjD(this,D,!1);MtD(this)}this.K=K;this.J=this.K===-1?this.N:this.Z;K=\"\";R?(this.K===-1&&this.G.getCurrentTime()<=R?this.B=R:this.B+=R,K=(this.K===-1?\"\\u2212\":\"+\")+\" \"+this.B):this.B=0;this.updateValue(this.K===-1?\"durationBack\":\"durationForward\",K);if(this.U===\"hidden\"||this.U===\"fading-out\")R=0,this.U===\"fading-out\"&&(R=b9v(this),q9D(this)),O9N(this,R),this.U!==\"fading-out\"&&jBz(this,this.J.querySelector(\".ytp-seek-overlay-arrow-persistent\")),\nthis.U=\"fading-in\";else if(this.U===\"fading-in\"||this.U===\"lingering\")R=this.J.querySelector(\".ytp-seek-overlay-duration\"),K=g.mz(this.G.C().experiments,\"web_player_seek_overlay_duration_bump_scale\")||.9,R.animate([{offset:0,easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\",transform:\"scale(1)\"},{offset:.64,easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\",transform:\"scale(\"+K+\")\"},{offset:1,transform:\"scale(1)\"}],{duration:184}),q9D(this),this.U===\"lingering\"&&(this.T.stop(),this.T.start());f&&pLN(this,\nf,V)};\nrf.prototype.DH=function(K,R,f,V){this.trigger(K,V)};\nrf.prototype.iQ=function(K,R,f){this.trigger(K,R);f&&(K=K===-1?this.Z.visualElement:this.N.visualElement,f={seekData:f},(R=g.wu())&&KS(R,K,\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\",f))};\nrf.prototype.wF=function(K,R,f){this.trigger(K,void 0,R,f)};g.x(yS,g.Y);yS.prototype.onClick=function(){var K=this,R=this.api.C(),f=this.api.getVideoData(this.api.getPresentingPlayerType()),V=this.api.getPlaylistId();R=this.api.Y(\"enable_share_button_url_fix\")?this.api.getVideoUrl(!0,!0,!0):R.getVideoUrl(f.videoId,V,void 0,!0);if(navigator.share)try{var D=navigator.share({title:f.title,url:R});D instanceof Promise&&D.catch(function(H){meh(K,H)})}catch(H){H instanceof Error&&meh(this,H)}else this.U.xL(),Yb(this.K,this.element,!1);\nthis.api.logClick(this.element)};\nyS.prototype.T2=function(){var K=this.api.C(),R=this.api.isEmbedsShortsMode();g.yb(this.element,\"ytp-show-share-title\",g.kN(K)&&!R);this.U.uH()&&R?(K=(this.api.Ft().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Ds(this.element,\"right\",K+\"px\")):R&&g.Ds(this.element,\"right\",\"0px\");this.updateValue(\"icon\",{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z\"}}]});\nthis.visible=Y9e(this);g.yb(this.element,\"ytp-share-button-visible\",this.visible);this.dn(this.visible);this.tooltip.p7();this.api.logVisibility(this.element,Y9e(this)&&this.EF)};\nyS.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.api.logVisibility(this.element,this.visible&&K)};\nyS.prototype.uD=function(){g.Y.prototype.uD.call(this);g.c2(this.element,\"ytp-share-button-visible\")};g.x(ufM,g.br);g.w=ufM.prototype;g.w.Km=function(K){K=Jq(K);g.Ta(this.J,K)||g.Ta(this.closeButton,K)||Yb(this)};\ng.w.mB=function(){g.br.prototype.mB.call(this);this.tooltip.sS(this.element);this.api.logVisibility(this.U,!1);for(var K=g.Z(this.K),R=K.next();!R.done;R=K.next())R=R.value,this.api.hasVe(R.element)&&this.api.logVisibility(R.element,!1)};\ng.w.show=function(){var K=this.EC;g.br.prototype.show.call(this);this.T2();K||this.api.lD(\"onSharePanelOpened\")};\ng.w.uRU=function(){this.EC&&this.T2()};\ng.w.T2=function(){var K=this;g.dy(this.element,\"ytp-share-panel-loading\");g.c2(this.element,\"ytp-share-panel-fail\");var R=this.api.getVideoData(),f=this.api.getPlaylistId()&&this.X.checked;R.getSharePanelCommand&&Xi(this.api.PU(),R.getSharePanelCommand,{includeListId:f}).then(function(V){K.mZ()||(g.c2(K.element,\"ytp-share-panel-loading\"),enz(K,V))});\nR=this.api.getVideoUrl(!0,!0,!1,!1);this.updateValue(\"link\",R);this.updateValue(\"linkText\",R);this.updateValue(\"shareLinkWithUrl\",g.sK(\"Share link $URL\",{URL:R}));h4(this.U);this.api.logVisibility(this.U,!0)};\ng.w.onFullscreenToggled=function(K){!K&&this.Xp()&&Yb(this)};\ng.w.focus=function(){this.U.focus()};\ng.w.uD=function(){g.br.prototype.uD.call(this);sB_(this)};g.x(fWM,yv);g.w=fWM.prototype;g.w.uD=function(){lWB(this);yv.prototype.uD.call(this)};\ng.w.gL=function(K){K.target!==this.dismissButton.element&&(this.OB(!1),this.G.lD(\"innertubeCommand\",this.onClickCommand))};\ng.w.iA=function(){this.kW=!0;this.OB(!0);this.O$()};\ng.w.DW2=function(K){this.T=K;this.O$()};\ng.w.onVideoDataChange=function(K,R){if(K=!!R.videoId&&this.videoId!==R.videoId)this.videoId=R.videoId,this.kW=!1,this.Xt=!0,this.N=this.aY=!1,lWB(this),$T2(this,!1),this.X=this.U=!1,oB(this),V_v(this);if(K||!R.videoId)this.UF=this.K=!1;var f,V;if(R==null?0:(f=R.getPlayerResponse())==null?0:(V=f.videoDetails)==null?0:V.isLiveContent)this.Qt(!1);else{var D,H,l;R=g.z((D=R.getWatchNextResponse())==null?void 0:(H=D.playerOverlays)==null?void 0:(l=H.playerOverlayRenderer)==null?void 0:l.productsInVideoOverlayRenderer,\nBo8);this.T=this.enabled=!1;if(R){if(D=R==null?void 0:R.featuredProductsEntityKey){H=g.FB.getState().entities;var F;if((F=MI(H,\"featuredProductsEntity\",D))==null?0:F.productsData){this.Qt(!1);return}}if(!R.text||!R.onClickCommand||!R.timing){this.Qt(!1);return}this.enabled=!0;if(!this.K){var c;F=(c=R.badgeInteractionLogging)==null?void 0:c.trackingParams;(this.K=!!F)&&this.G.setTrackingParams(this.badge.element,F||null)}if(!this.UF){var r;if(this.UF=!((r=R.dismissButton)==null||!r.trackingParams)){var y;\nthis.G.setTrackingParams(this.dismissButton.element,((y=R.dismissButton)==null?void 0:y.trackingParams)||null)}}R.isContentForward&&(c=R.productsData,$T2(this,!0),V_v(this),c=HqG(this,c),r=[],c.length>0&&r.push(c[0]),c.length>1&&(y=new g.Y({V:\"div\",D:\"ytp-suggested-action-more-products-icon\"}),g.q(this,y),r.push(y),r.push.apply(r,g.X(c.slice(1)))),this.B=new g.Y({V:\"div\",S:r,D:\"ytp-suggested-action-content-forward-container\"}),g.q(this,this.B),this.er.element.append(this.B.element));this.text=g.ri(R.text);\nvar h;if(c=(h=R.dismissButton)==null?void 0:h.a11yLabel)this.Ne=g.ri(c);this.onClickCommand=R.onClickCommand;this.timing=R.timing;this.PV()}Xo2(this);r3(this);this.O$()}};\ng.w.TX=function(){return!this.T&&this.enabled&&!this.kW&&!this.G.C7()&&!this.hV&&(this.N||this.Xt)};\ng.w.Ff=function(K){yv.prototype.Ff.call(this,K);if(this.U||this.X)this.timing&&h7(this.timing.preview)&&(this.U=!1,oB(this),this.X=!1,oB(this),this.G.BV(\"shopping_overlay_preview_collapsed\"),this.G.BV(\"shopping_overlay_preview_expanded\"),K=St(this.timing.preview.startSec,this.timing.preview.endSec,\"shopping_overlay_expanded\"),h7(this.timing.expanded)&&this.timing.preview.endSec===this.timing.expanded.startSec&&(this.G.BV(\"shopping_overlay_expanded\"),K.end=this.timing.expanded.endSec*1E3),this.G.PV([K])),\nthis.aY=!0,r3(this);oB(this)};\ng.w.Qt=function(K){(this.N=K)?(c_(this),r3(this,!1)):(lWB(this),this.G2.start());this.O$()};\ng.w.PV=function(K){var R=this.timing;K=(K===void 0?0:K)+this.G.getCurrentTime();var f=[],V=R.visible,D=R.preview;R=R.expanded;h7(V)&&(KEG(V,K),f.push(St(V.startSec,V.endSec,\"shopping_overlay_visible\")));h7(D)&&(KEG(D,K),V=D.startSec+1,f.push(St(D.startSec,V,\"shopping_overlay_preview_collapsed\")),f.push(St(V,D.endSec,\"shopping_overlay_preview_expanded\")));h7(R)&&(KEG(R,K),f.push(St(R.startSec,R.endSec,\"shopping_overlay_expanded\")));this.G.PV(f)};\ng.w.O$=function(){yv.prototype.O$.call(this);this.G.getRootNode()&&g.yb(this.G.getRootNode(),\"ytp-shopping-pill-shown\",this.TX())};g.x(cgG,g.Y);\ncgG.prototype.T2=function(){var K=this.api.C();this.dn(g.kN(K)&&this.api.isEmbedsShortsMode());this.subscribeButton&&this.api.logVisibility(this.subscribeButton.element,this.EC);var R=this.api.getVideoData(),f=!1;this.api.getPresentingPlayerType()===2?f=!!R.videoId&&!!R.isListed&&!!R.author&&!!R.G2&&!!R.profilePicture:g.kN(K)&&(f=!!R.videoId&&!!R.G2&&!!R.profilePicture&&!R.nL&&!K.X&&!(K.N&&this.api.getPlayerSize().width<200));var V=R.profilePicture;K=g.kN(K)?R.expandedTitle:R.author;V=V===void 0?\n\"\":V;K=K===void 0?\"\":K;f?(this.K!==V&&(this.U.style.backgroundImage=\"url(\"+V+\")\",this.K=V),this.updateValue(\"channelLogoLabel\",g.sK(\"Photo image of $CHANNEL_NAME\",{CHANNEL_NAME:K})),g.dy(this.api.getRootNode(),\"ytp-title-enable-channel-logo\")):g.c2(this.api.getRootNode(),\"ytp-title-enable-channel-logo\");this.api.logVisibility(this.U,f&&this.EF);this.api.logVisibility(this.channelName,f&&this.EF);this.subscribeButton&&(this.subscribeButton.channelId=R.M$);this.updateValue(\"expandedTitle\",R.expandedTitle)};g.x(iN,g.br);iN.prototype.show=function(){g.br.prototype.show.call(this);this.U.start()};\niN.prototype.hide=function(){g.br.prototype.hide.call(this);this.U.stop()};\niN.prototype.u$=function(K,R){K===\"dataloaded\"&&((this.Ub=R.Ub,this.qV=R.qV,isNaN(this.Ub)||isNaN(this.qV))?this.K&&(this.G.BV(\"intro\"),this.G.removeEventListener(g.gI(\"intro\"),this.N),this.G.removeEventListener(g.OK(\"intro\"),this.J),this.G.removeEventListener(\"onShowControls\",this.X),this.hide(),this.K=!1):(this.G.addEventListener(g.gI(\"intro\"),this.N),this.G.addEventListener(g.OK(\"intro\"),this.J),this.G.addEventListener(\"onShowControls\",this.X),K=new g.nQ(this.Ub,this.qV,{priority:9,namespace:\"intro\"}),\nthis.G.PV([K]),this.K=!0))};g.x(vL,g.Y);vL.prototype.onClick=function(){this.G.Xq()};\nvL.prototype.T2=function(){var K=!0;g.kN(this.G.C())&&(K=K&&this.G.Ft().getPlayerSize().width>=480);this.dn(K);K=this.updateValue;var R=this.G.Y(\"delhi_modern_web_player_icons\"),f=R?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z\",fill:\"#fff\"}}]};R=R?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z\"}}]};K.call(this,\"icon\",this.G.dD()?f:R)};g.x(yg5,g.Y);yg5.prototype.uD=function(){this.U=null;g.Y.prototype.uD.call(this)};g.x(L9,g.Y);L9.prototype.onClick=function(){this.G.lD(\"innertubeCommand\",this.K)};\nL9.prototype.Z=function(){if(this.G.Y(\"delhi_modern_web_player\")){var K=this.G.getPlayerSize();K.width&&(this.element.style.maxWidth=K.width*.25+\"px\")}};\nL9.prototype.aY=function(K){K!==this.T&&(this.update({chapterTitle:K,ariaLabel:K}),this.T=K);K?this.show():this.hide()};\nL9.prototype.UF=function(){this.U.disabled=this.K==null;g.yb(this.U,\"ytp-chapter-container-disabled\",this.U.disabled);this.eM()};g.x(wf,L9);wf.prototype.onClickCommand=function(K){g.z(K,dQ)&&this.eM()};\nwf.prototype.updateVideoData=function(K,R){var f,V,D;K=g.z((f=R.getWatchNextResponse())==null?void 0:(V=f.playerOverlays)==null?void 0:(D=V.playerOverlayRenderer)==null?void 0:D.decoratedPlayerBarRenderer,k_);f=g.z(K==null?void 0:K.playerBarActionButton,g.xu);if(this.G.Y(\"web_player_updated_entrypoint\")){this.N=R0(f==null?void 0:f.text);var H;V=(H=f==null?void 0:f.tooltip)!=null?H:\"View chapter\";this.B.setAttribute(\"title\",V)}this.K=f==null?void 0:f.command;L9.prototype.UF.call(this)};\nwf.prototype.eM=function(){var K=this.N,R=this.J.U,f,V=((f=this.G.getLoopRange())==null?void 0:f.type)===\"clips\";if(R.length>1&&!V){K=this.G.getProgressState().current*1E3;f=K9(R,K);K=R[f].title||\"Chapters\";if(f!==this.currentIndex||this.X)this.G.lD(\"innertubeCommand\",R[f].onActiveCommand),this.currentIndex=f;this.X=!1}else this.X=!0;L9.prototype.aY.call(this,K)};g.x(zg,g.di);zg.prototype.K=function(){var K;(K=this.element.parentElement)==null||K.classList.contains(\"ytp-right-controls-left\");(this.U=!this.U)?this.publish(\"small-mode-expand-right-bottom-controls\"):this.publish(\"small-mode-collapse-right-bottom-controls\")};\nzg.prototype.isExpanded=function(){return this.U};g.x(xj,g.Y);xj.prototype.X=function(K){g.G(K.state,32)?oZG(this,this.api.MF()):this.EC&&(g.G(K.state,16)||g.G(K.state,1))||this.fade.hide()};\nxj.prototype.onProgress=function(){var K=this.api.getPlayerStateObject();(g.G(K,32)||g.G(K,16))&&S7N(this)};\nxj.prototype.J=function(){this.frameIndex=NaN;S7N(this)};\nxj.prototype.hide=function(){this.U&&oZG(this,null);g.Y.prototype.hide.call(this)};g.x(iqB,g.Y);g.w=iqB.prototype;g.w.onClick=function(){var K=this;if(this.G.C().v5||this.G.C().N){this.G.logClick(this.element);try{this.G.toggleFullscreen().catch(function(R){K.zd(R)})}catch(R){this.zd(R)}}else Yb(this.message,this.element,!0)};\ng.w.zd=function(K){String(K).includes(\"fullscreen error\")?g.A$(K):g.WR(K);this.aW()};\ng.w.aW=function(){this.disable();this.message.kY(this.element,!0)};\ng.w.FB=function(){aa()===this.G.getRootNode()?this.X.start():(this.X.stop(),this.message&&this.message.hide())};\ng.w.AJ=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var K=window.screen.width*.9,R=window.screen.height*.9,f=Math.max(window.outerWidth,window.innerWidth),V=Math.max(window.outerHeight,window.innerHeight);if(f>V!==K>R){var D=f;f=V;V=D}K>f&&R>V&&this.aW()}};\ng.w.disable=function(){var K=this;if(!this.message){var R=(zk([\"requestFullscreen\",\"webkitRequestFullscreen\",\"mozRequestFullScreen\",\"msRequestFullscreen\"],document.body)!=null?\"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK\":\"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK\").split(/\\$(BEGIN|END)_LINK/);this.message=new g.br(this.G,{V:\"div\",Me:[\"ytp-popup\",\"ytp-generic-popup\"],L:{role:\"alert\",tabindex:\"0\"},S:[R[0],{V:\"a\",L:{href:\"https://support.google.com/youtube/answer/6276924\",\ntarget:this.G.C().EF},Q0:R[2]},R[4]]},100,!0);this.message.hide();g.q(this,this.message);this.message.subscribe(\"show\",function(f){K.K.In(K.message,f)});\ng.nl(this.G,this.message.element,4);this.element.setAttribute(\"aria-disabled\",\"true\");this.element.setAttribute(\"aria-haspopup\",\"true\");(0,this.U)();this.U=null}};\ng.w.T2=function(){var K=ha5(this.G),R=this.G.C().N&&this.G.getPlayerSize().width<250;this.dn(K&&!R);this.G.logVisibility(this.element,this.EC)};\ng.w.IM=function(K){if(K){var R=g.UD(this.G,\"Exit full screen\",\"f\");this.update({\"data-title-no-tooltip\":\"Exit full screen\"});document.activeElement===this.element&&this.G.getRootNode().focus();document.pictureInPictureElement&&document.exitPictureInPicture().catch(function(f){g.A$(f)})}else R=g.UD(this.G,\"Full screen\",\"f\"),this.update({\"data-title-no-tooltip\":\"Full screen\"});\nK=vZM(this,K);R=this.message?null:R;this.G.C().Y(\"player_tooltip_data_title_killswitch\")?this.update({title:R,icon:K}):this.update({\"tooltip-title\":R,\"aria-label\":R,icon:K});this.K.sA().p7()};\ng.w.uD=function(){this.message||((0,this.U)(),this.U=null);g.Y.prototype.uD.call(this)};\ng.w.bM=function(K){g.Y.prototype.bM.call(this,K)};g.x(E9,g.Y);E9.prototype.onClick=function(){this.G.logClick(this.element);this.G.seekBy(this.U,!0);var K=this.U>0?1:-1,R=Math.abs(this.U),f=this.G.Vl().O2;f&&f.iQ(K,R);this.K.isActive()?this.X=!0:(K=[\"ytp-jump-spin\"],this.U<0&&K.push(\"backwards\"),this.element.classList.add.apply(this.element.classList,g.X(K)),g.eE(this.K))};g.x(aB,L9);aB.prototype.onClickCommand=function(K){g.z(K,Jzi)&&this.eM()};\naB.prototype.updateVideoData=function(){var K,R;this.K=(K=wNv(this))==null?void 0:(R=K.onTap)==null?void 0:R.innertubeCommand;L9.prototype.UF.call(this)};\naB.prototype.eM=function(){var K=\"\",R=this.J.N,f,V=(f=wNv(this))==null?void 0:f.headerTitle;f=V?g.ri(V):\"\";var D;V=((D=this.G.getLoopRange())==null?void 0:D.type)===\"clips\";R.length>1&&!V&&(K=this.G.getProgressState().current*1E3,D=znB(R,K),K=D!=null?R[D].title:f,D!=null&&D!==this.currentIndex&&(this.G.lD(\"innertubeCommand\",R[D].onActiveCommand),this.currentIndex=D));L9.prototype.aY.call(this,K)};g.x(QS,g.Y);QS.prototype.onClick=function(){this.G.lD(\"onCollapseMiniplayer\");this.G.logClick(this.element)};\nQS.prototype.T2=function(){this.visible=!this.G.isFullscreen();this.dn(this.visible);this.G.logVisibility(this.element,this.visible&&this.EF)};\nQS.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.G.logVisibility(this.element,this.visible&&K)};g.x(Ne,g.Y);Ne.prototype.init=function(){this.update({minvalue:this.X,maxvalue:this.B,stepvalue:this.N,slidervalue:this.U,ariaValueNow:this.U,ariaMinValue:this.X,ariaMaxValue:this.B});xTo(this,this.U)};\nNe.prototype.J=function(){U9(this,Number(this.K.value));this.K.focus()};\nNe.prototype.T=function(K){if(!K.defaultPrevented){switch(K.code){case \"ArrowDown\":K=-this.N;break;case \"ArrowUp\":K=this.N;break;default:return}U9(this,Math.min(this.B,Math.max(Number((this.U+K).toFixed(2)),this.X)))}};g.x(WL,Ne);WL.prototype.onVolumeChange=function(K){if(this.Z)this.Z=!1;else{var R=K.volume;R===0||K.muted?U9(this,0):U9(this,R)}};\nWL.prototype.J=function(){Ne.prototype.J.call(this);this.UF(this.U)};\nWL.prototype.aY=function(K){var R=-K.deltaY;R=K.deltaMode===WheelEvent.DOM_DELTA_LINE||K.deltaMode===WheelEvent.DOM_DELTA_PAGE?g.fT(this.U+R,0,100):g.fT(this.U+g.fT(R/10,-10,10),0,100);R===0?U9(this,0):U9(this,R);this.UF(R);K.preventDefault();K.stopPropagation()};\nWL.prototype.Xt=function(K,R){this.Z=!0;K===0||R?this.G.mute():(this.G.isMuted()&&this.G.unMute(),this.G.setVolume(K))};g.x(EZN,g.Y);g.x(A7,g.Y);g.w=A7.prototype;g.w.V1=function(){if(!this.G.Rv()){this.updateValue(\"dataTooltipOffsetY\",-120);var K;(K=this.U)!=null&&t7(K,!0);var R;(R=this.U)!=null&&R.U.stop()}};\ng.w.vO=function(){var K;(K=this.U)!=null&&K.U.start()};\ng.w.BF=function(K){this.visible=K.width>=300||this.qe;this.dn(this.visible);this.G.logVisibility(this.element,this.visible&&this.EF)};\ng.w.Bv=function(){this.G.C().er?this.G.isMuted()?this.G.unMute():this.G.mute():Yb(this.message,this.element,!0);this.G.logClick(this.element)};\ng.w.OT2=function(K){if(this.G.C().er&&this.U)if(K.target===this.X){var R;if(!this.G.Rv()||((R=this.U)==null?0:R.isVisible))this.Bv();else{var f;(f=this.U)!=null&&t7(f,!0)}}else{var V;(V=this.U)!=null&&t7(V,!0)}else this.Bv()};\ng.w.onVolumeChange=function(K){this.setVolume(K.volume,K.muted)};\ng.w.setVolume=function(K,R){var f=this,V=R?0:K/100;K=V===0?1:K>50?1:0;if(this.Z!==K){var D=this.N;isNaN(D)?WEB(this,K):aMh(this.er,function(l){WEB(f,D+(f.Z-D)*l)},250);\nthis.Z=K}V=V===0?1:0;if(this.T!==V){var H=this.Xt;isNaN(H)?t_G(this,V):aMh(this.B5,function(l){t_G(f,H+(f.T-H)*l)},250);\nthis.T=V}QF5(this,R)};\ng.w.bM=function(K){g.Y.prototype.bM.call(this,K);this.G.logVisibility(this.element,this.visible&&K)};\nvar NZz=[\"M\",19,\",\",11.29,\" C\",21.89,\",\",12.15,\" \",24,\",\",14.83,\" \",24,\",\",18,\" C\",24,\",\",21.17,\" \",21.89,\",\",23.85,\" \",19,\",\",24.71,\" L\",19,\",\",24.77,\" C\",21.89,\",\",23.85,\" \",24,\",\",21.17,\" \",24,\",\",18,\" C\",24,\",\",14.83,\" \",21.89,\",\",12.15,\" \",19,\",\",11.29,\" L\",19,\",\",11.29,\" Z\"],UT5=[\"M\",19,\",\",11.29,\" C\",21.89,\",\",12.15,\" \",24,\",\",14.83,\" \",24,\",\",18,\" C\",24,\",\",21.17,\" \",21.89,\",\",23.85,\" \",19,\",\",24.71,\" L\",19,\",\",26.77,\" C\",23.01,\",\",25.86,\" \",26,\",\",22.28,\" \",26,\",\",18,\" C\",26,\",\",13.72,\" \",\n23.01,\",\",10.14,\" \",19,\",\",9.23,\" L\",19,\",\",11.29,\" Z\"];g.x(g.J7,g.Y);g.w=g.J7.prototype;g.w.onStateChange=function(K){this.YY(K.state)};\ng.w.YY=function(K){var R=g.ks(this.G.getVideoData()),f=!1;K.isOrWillBePlaying()?K=R?4:2:g.G(K,2)?(K=3,f=R):K=1;this.element.disabled=f;if(this.U!==K){R=null;switch(K){case 2:R=g.UD(this.G,\"Pause\",\"k\");this.update({\"data-title-no-tooltip\":\"Pause\"});break;case 3:R=\"Replay\";this.update({\"data-title-no-tooltip\":\"Replay\"});break;case 1:R=g.UD(this.G,\"Play\",\"k\");this.update({\"data-title-no-tooltip\":\"Play\"});break;case 4:R=\"Stop live playback\",this.update({\"data-title-no-tooltip\":\"Stop live playback\"})}K===\n3?this.G.C().Y(\"player_tooltip_data_title_killswitch\")?this.update({title:R,icon:Agw(this,K)}):this.update({\"tooltip-title\":R,icon:Agw(this,K)}):(this.G.Y(\"player_tooltip_data_title_killswitch\")?this.update({title:R}):this.update({\"tooltip-title\":R}),(R=Agw(this,K))&&this.U&&this.U!==3?N7e(this.transition,this.element,R):this.updateValue(\"icon\",R));this.tooltip.p7();this.U=K}};\ng.w.onVideoDataChange=function(){g.yb(this.element,\"ytp-play-button-playlist\",g.Xs(this.G))};\ng.w.aV=function(K){this.G.logClick(this.element);if(this.G.getPlayerStateObject().isOrWillBePlaying())this.G.pauseVideo();else{if(this.G.isMinimized()&&this.G.getPlayerStateObject().isCued()){var R={},f;if((f=this.G.getVideoData())==null?0:f.T)R.cttAuthInfo={token:this.G.getVideoData().T,videoId:this.G.getVideoData().videoId};t2(\"direct_playback\",R);this.G.MH().timerName=\"direct_playback\"}this.G.playVideo()}this.G.isMinimized()&&(K==null?void 0:K.type)===\"click\"&&this.element.blur()};\ng.w.bM=function(K){g.Y.prototype.bM.call(this,K)};g.x(g.Zy,g.Y);g.w=g.Zy.prototype;g.w.onVideoDataChange=function(){BZG(this);this.J&&(this.hs(this.J),this.J=null);this.videoData=this.G.getVideoData(1);if(this.playlist=this.G.getPlaylist())this.playlist.subscribe(\"shuffle\",this.onVideoDataChange,this),this.J=this.j(this.G,\"progresssync\",this.So);this.X=XNz(this);Zqe(this);this.h7(this.G.Ft().getPlayerSize())};\ng.w.h7=function(K){K=K===void 0?this.G.Ft().getPlayerSize():K;var R,f=((R=this.G.getLoopRange())==null?void 0:R.type)===\"clips\";R=g.Xs(this.G)||this.U&&g.IC(this.G)&&!this.G.Y(\"web_hide_next_button\")||kZN(this);var V=!this.U&&K.width<400;K=this.G.Y(\"delhi_modern_web_player_horizontal_volume_controls\")&&K.width<640;f=R&&!f&&!V&&!K;this.dn(f);this.G.logVisibility(this.element,f)};\ng.w.onClick=function(K){this.G.logClick(this.element);var R=!0;this.T?R=g.FK(K,this.G):K.preventDefault();R&&(this.U&&this.G.getPresentingPlayerType()===5?this.G.publish(\"ytoprerollinternstitialnext\"):this.U?($z(this.G.MH()),this.G.publish(\"playlistnextbuttonclicked\",this.element),this.G.nextVideo(!0)):this.X?this.G.seekTo(0):($z(this.G.MH()),this.G.publish(\"playlistprevbuttonclicked\",this.element),this.G.previousVideo(!0)))};\ng.w.So=function(){var K=XNz(this);K!==this.X&&(this.X=K,Zqe(this))};\ng.w.uD=function(){this.K&&(this.K(),this.K=null);BZG(this);g.Y.prototype.uD.call(this)};g.x(Pte,g.Y);g.w=Pte.prototype;g.w.cE=function(K){this.qB(K.pageX);this.MB(K.pageX+K.deltaX);nZG(this)};\ng.w.qB=function(K){this.UF=K-this.qe};\ng.w.MB=function(K){K-=this.qe;!isNaN(this.UF)&&this.thumbnails.length>0&&(this.Z=K-this.UF,this.thumbnails.length>0&&this.Z!==0&&(this.X=this.N+this.Z,K=q72(this,this.X),this.X<=this.U/2&&this.X>=jFM(this)?(this.api.seekTo(K,!1,void 0,void 0,25),g.Ds(this.Xt,\"transform\",\"translateX(\"+(this.X-this.U/2)+\"px)\"),TZN(this,K)):this.X=this.N))};\ng.w.WE=function(){this.aY&&(this.aY.T6=!0);var K=(0,g.N7)()-this.oY<300;if(Math.abs(this.Z)<5&&!K){this.oY=(0,g.N7)();K=this.UF+this.Z;var R=this.U/2-K;this.qB(K);this.MB(K+R);nZG(this);this.api.logClick(this.B)}nZG(this)};\ng.w.zx=function(){BL(this,this.api.getCurrentTime())};\ng.w.play=function(K){this.api.seekTo(q72(this,this.X),void 0,void 0,void 0,26);this.api.playVideo();K&&this.api.logClick(this.playButton)};\ng.w.onExit=function(K){this.api.seekTo(this.G2,void 0,void 0,void 0,63);this.api.playVideo();K&&this.api.logClick(this.dismissButton)};\ng.w.xl=function(K,R){this.qe=K;this.U=R;BL(this,this.api.getCurrentTime())};\ng.w.enable=function(){this.isEnabled||(this.isEnabled=!0,this.G2=this.api.getCurrentTime(),TZN(this,this.G2),g.yb(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.isEnabled),this.er=this.j(this.element,\"wheel\",this.cE),this.logVisibility(this.isEnabled))};\ng.w.disable=function(){this.isEnabled=!1;this.hide();g.yb(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.isEnabled);this.er&&this.hs(this.er);this.logVisibility(this.isEnabled)};\ng.w.reset=function(){this.disable();this.J=[];this.y0=!1};\ng.w.logVisibility=function(K){this.api.logVisibility(this.element,K);this.api.logVisibility(this.B,K);this.api.logVisibility(this.dismissButton,K);this.api.logVisibility(this.playButton,K)};\ng.w.uD=function(){for(;this.K.length;){var K=void 0;(K=this.K.pop())==null||K.dispose()}g.Y.prototype.uD.call(this)};\ng.x(IWD,g.Y);g.x(gZo,g.Y);g.x(M_5,g.Y);g.x(Xf,g.Y);Xf.prototype.ud=function(K){return K===\"PLAY_PROGRESS\"?this.N:K===\"LOAD_PROGRESS\"?this.T:K===\"LIVE_BUFFER\"?this.B:this.X};Y7B.prototype.update=function(K,R,f,V){f=f===void 0?0:f;this.width=R;this.J=f;this.U=R-f-(V===void 0?0:V);this.position=g.fT(K,f,f+this.U);this.X=this.position-f;this.K=this.X/this.U};g.x(mTw,g.Y);g.x(g.PL,g.di);g.w=g.PL.prototype;\ng.w.nf=function(){var K=!1,R=this.api.getVideoData();if(!R)return K;this.api.BV(\"timedMarkerCueRange\");sFM(this);for(var f=g.Z(R.er),V=f.next();!V.done;V=f.next()){V=V.value;var D=void 0,H=(D=this.kW[V])==null?void 0:D.markerType,l=void 0;D=(l=this.kW[V])==null?void 0:l.markers;if(!D)break;if(H===\"MARKER_TYPE_TIMESTAMPS\"){K=g.Z(D);for(H=K.next();!H.done;H=K.next()){l=H.value;H=new mTw;var F=void 0;H.title=((F=l.title)==null?void 0:F.simpleText)||\"\";H.timeRangeStartMillis=Number(l.startMillis);H.U=\nNumber(l.durationMillis);var c=F=void 0;H.onActiveCommand=(c=(F=l.onActive)==null?void 0:F.innertubeCommand)!=null?c:void 0;Vlh(this,H)}DGe(this,this.N);K=this.N;H=this.lH;l=[];F=null;for(c=0;cr&&(F.end=r);r=ayc(r,r+h);l.push(r);F=r;H[r.id]=K[c].onActiveCommand}}this.api.PV(l);a:{K=g.Z(D);for(D=K.next();!D.done;D=K.next())if(D.value.sourceType===\"SOURCE_TYPE_SMART_SKIP\"){K=\n!1;break a}K=!0}K&&(this.HR=this.kW[V]);K=!0}else if(H===\"MARKER_TYPE_HEATMAP\"){V=this.kW[V];y=r=H=c=F=l=void 0;if(V&&V.markers){D=(H=(y=V.markersMetadata)==null?void 0:(r=y.heatmapMetadata)==null?void 0:r.minHeightDp)!=null?H:0;H=(l=(c=V.markersMetadata)==null?void 0:(F=c.heatmapMetadata)==null?void 0:F.maxHeightDp)!=null?l:60;l=this.U.length;F=null;for(c=0;c=y&&L<=h&&r.push(v)}H>0&&(this.aY.style.height=H+\"px\");y=this.J[c];h=r;v=D;var E=H,Q=c===0;Q=Q===void 0?!1:Q;bqh(y,E);S=h;L=y.K;Q=Q===void 0?!1:Q;var J=1E3/S.length,A=[];A.push({x:0,y:100});for(var B=0;B0&&(F=r[r.length-1])}g.n9(this)}H=void 0;D=[];if(V=(H=V.markersDecoration)==null?void 0:H.timedMarkerDecorations)for(V=g.Z(V),H=V.next();!H.done;H=V.next())H=H.value,c=F=l=void 0,D.push({visibleTimeRangeStartMillis:(l=H.visibleTimeRangeStartMillis)!=\nnull?l:-1,visibleTimeRangeEndMillis:(F=H.visibleTimeRangeEndMillis)!=null?F:-1,decorationTimeMillis:(c=H.decorationTimeMillis)!=null?c:NaN,label:H.label?g.ri(H.label):\"\"});V=D;this.heatMarkersDecorations=V}}R.aN=this.N;g.yb(this.element,\"ytp-timed-markers-enabled\",K);return K};\ng.w.xl=function(){g.n9(this);O9(this);DGe(this,this.N);if(this.K){var K=g.hQ(this.element).x||0;this.K.xl(K,this.T)}};\ng.w.iKr=function(){var K=this.api.getVideoData();K&&SwG(this,K)};\ng.w.onClickCommand=function(K){if(K=g.z(K,dQ)){var R=K.key;K.isVisible&&R&&dGB(this,R)}};\ng.w.NoY=function(K){this.api.lD(\"innertubeCommand\",this.lH[K.id])};\ng.w.eM=function(){O9(this);var K=this.api.getCurrentTime();(Kthis.clipEnd)&&this.cI()};\ng.w.eL=function(K){if(!K.defaultPrevented){var R=!1;switch(K.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);R=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);R=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);R=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);R=!0;break;case 38:this.api.Y(\"enable_key_press_seek_logging\")&&Yj(this,this.api.getCurrentTime(),this.api.getCurrentTime()+5,\"SEEK_SOURCE_SEEK_FORWARD_5S\",\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\");\nthis.api.seekBy(5,void 0,void 0,72);R=!0;break;case 40:this.api.Y(\"enable_key_press_seek_logging\")&&Yj(this,this.api.getCurrentTime(),this.api.getCurrentTime()-5,\"SEEK_SOURCE_SEEK_BACKWARD_5S\",\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\"),this.api.seekBy(-5,void 0,void 0,71),R=!0}R&&K.preventDefault()}};\ng.w.u$=function(K,R){this.updateVideoData(R,K===\"newdata\")};\ng.w.Wm=function(){this.u$(\"newdata\",this.api.getVideoData())};\ng.w.updateVideoData=function(K,R){R=R===void 0?!1:R;var f=!!K&&K.e4();f&&(Dk(K)||h4N(this)?this.rQ=!1:this.rQ=K.allowLiveDvr,g.yb(this.api.getRootNode(),\"ytp-enable-live-buffer\",!(K==null||!Dk(K))),SwG(this,K));A6N(this,this.api.HB());if(R){if(f){R=K.clipEnd;this.clipStart=K.clipStart;this.clipEnd=R;mZ(this);for(Me(this,this.UF,this.Kh);this.J.length>0;)this.J.pop().dispose();this.heatMarkersDecorations=[];this.Gt={};var V;(V=this.K)==null||V.reset();s9(this);g.yb(this.api.getRootNode(),\"ytp-fine-scrubbing-exp\",\nTg(this))}else this.cI();this.vU()}if(K){var D;V=((D=this.Ve)==null?void 0:D.type)===\"clips\";if(D=!K.isLivePlayback){D=this.api.getVideoData();R=g.Tj(D);f=eAc(D);var H;D=R!=null||f!=null&&f.length>0||((H=D.Gk)==null?void 0:H.length)>0}if(D&&!V){H=this.api.getVideoData();V=g.Tj(H);D=!1;if(V==null?0:V.markersMap){D=this.api.getVideoData();var l;D.Mh=((l=V.visibleOnLoad)==null?void 0:l.key)||D.Mh;l=g.Z(V.markersMap);for(V=l.next();!V.done;V=l.next())V=V.value,V.key&&V.value&&(this.Gt[V.key]=V.value,\nV.value.onChapterRepeat&&(D.KV=V.value.onChapterRepeat));D.Mh!=null&&dGB(this,D.Mh);D=!0}var F;if(((F=H.Gk)==null?void 0:F.length)>0){F=g.FB.getState().entities;l=g.Z(H.Gk);for(V=l.next();!V.done;V=l.next()){V=V.value;f=void 0;R=(f=MI(F,\"macroMarkersListEntity\",V))==null?void 0:f.markersList;var c=f=void 0;if(((f=R)==null?void 0:f.markerType)===\"MARKER_TYPE_TIMESTAMPS\"||((c=R)==null?void 0:c.markerType)===\"MARKER_TYPE_HEATMAP\")this.kW[V]=R}D=this.nf()||D}!D&&(F=eAc(H))&&(R4B(this,F),H.M1=this.U,K0o(this));\nixo(this,null);K.zI&&this.J.length===0&&(K=K.zI,F=K.key,K.isVisible&&F&&dGB(this,F))}else GZ_(this),sFM(this)}O9(this)};\ng.w.Kx=function(K){this.Z&&!g.G(K.state,32)&&this.api.getPresentingPlayerType()!==3&&this.Z.cancel();var R;((R=this.K)==null?0:R.isEnabled)&&g.G(K.state,8)&&this.api.pauseVideo();K=this.api.getPresentingPlayerType()===2||!this.api.HB()||this.api.getPlayerState()===-1&&this.api.getCurrentTime()===0;g.yb(this.WB,\"ytp-hide-scrubber-button\",K)};\ng.w.M8=function(K){var R=!!this.Ve!==!!K,f=this.Ve;this.Ve=K;ixo(this,f);(K==null?void 0:K.type)!==\"clips\"&&K||(K?(this.updateValue(\"clipstarticon\",uN2()),this.updateValue(\"clipendicon\",uN2()),this.updateValue(\"clipstarttitle\",null),this.updateValue(\"clipendtitle\",null)):(this.updateValue(\"clipstarticon\",q$v()),this.updateValue(\"clipendicon\",j9w()),this.updateValue(\"clipstarttitle\",\"Watch full video\"),this.updateValue(\"clipendtitle\",\"Watch full video\")),R&&(this.updateVideoData(this.api.getVideoData(),\n!0),g.n9(this)),mZ(this));Me(this,this.UF,this.Kh)};\ng.w.kFF=function(){this.api.publish(\"progressBarHoverStart\")};\ng.w.dWp=function(K,R,f){var V=g.hQ(this.element),D=gf(this).U,H=f?f.getAttribute(\"data-tooltip\"):void 0,l=f?f.getAttribute(\"data-position\"):void 0,F=f?f.getAttribute(\"data-offset-y\"):void 0;F=F?Number(F):0;l&&(K=ZF(this.X,Number(f.getAttribute(\"data-position\")),0)*D+g.hQ(this.progressBar).x);this.bd.x=K-V.x;this.bd.y=R-V.y;K=gf(this);f=p9(this,K);R=0;var c;if((c=this.api.getVideoData())==null?0:Dk(c))(c=this.api.getProgressState().seekableEnd)&&f>c&&(f=c,K.position=ZF(this.X,c)*gf(this).U),R=this.X.K;\nh4N(this)&&(R=this.X.K);c=H||g.zE(this.rQ?f-this.X.U:f-R);R=K.position+this.G3;f-=this.api.jy();var r;if((r=this.K)==null||!r.isEnabled)if(this.api.MF()){if(this.U.length>1){r=bN(this,this.bd.x,!0);if(!this.Ve)for(V=0;V1)for(V=0;V0)for(r=this.bd.x,V=g.Z(this.N),D=V.next();!D.done;D=V.next())D=D.value,l=IB(this,D.timeRangeStartMillis/\n(this.X.U*1E3),gf(this)),g.yb(D.element,\"ytp-timed-marker-hover\",l<=r&&l+6>=r);V=this.tooltip.scale;r=this.api.Y(\"delhi_modern_web_player\")?67:45;F=(isNaN(F)?0:F)-r*V;this.api.Y(\"web_key_moments_markers\")?this.HR?(r=znB(this.N,f*1E3),r=r!=null?this.N[r].title:\"\"):(r=K9(this.U,f*1E3),r=this.U[r].title):(r=K9(this.U,f*1E3),r=this.U[r].title);r||(F+=16*V);this.tooltip.scale===.6&&(g.fc(this.api.C())?(F=this.api.Ft().getPlayerSize().height-225,V=this.api.Y(\"delhi_modern_web_player\")?70:110,F=r?F+V:F+\nV+16):F=r?110:126);V=K9(this.U,f*1E3);this.er=L0z(this,f,V)?V:L0z(this,f,V+1)?V+1:-1;g.yb(this.api.getRootNode(),\"ytp-progress-bar-snap\",this.er!==-1&&this.U.length>1);V=!1;D=g.Z(this.heatMarkersDecorations);for(l=D.next();!l.done;l=D.next()){l=l.value;var y=f*1E3;y>=l.visibleTimeRangeStartMillis&&y<=l.visibleTimeRangeEndMillis&&(r=l.label,c=g.zE(p9(this,K)),V=!0)}this.Fn!==V&&(this.Fn=V,this.api.logVisibility(this.MR,this.Fn));g.yb(this.api.getRootNode(),\"ytp-progress-bar-decoration\",V);V=160*this.tooltip.scale*\n2;D=r.length*(this.B?8.55:5.7);D=D<=V?D:V;l=D<160*this.tooltip.scale;V=3;!l&&D/2>K.position&&(V=1);!l&&D/2>this.T-K.position&&(V=2);this.api.C().N&&(F-=10);this.J.length&&this.J[0].e4&&(F-=14*(this.B?2:1),this.oY||(this.oY=!0,this.api.logVisibility(this.aY,this.oY)));var h;if(Tg(this)&&(((h=this.K)==null?0:h.isEnabled)||this.OF>0)){var S;F-=((S=this.K)==null?0:S.isEnabled)?(this.B?135:90)-this.Xt:this.OF}h=void 0;Tg(this)&&!this.api.Y(\"web_player_hide_fine_scrubbing_edu\")&&(h=\"Pull up for precise seeking\",\nthis.G2||(this.G2=!0,this.api.logVisibility(this.OA,this.G2)));this.tooltip.oP(R,f,c,!!H,F,r,V,h)}else this.tooltip.oP(R,f,c,!!H,F);g.dy(this.api.getRootNode(),\"ytp-progress-bar-hover\");y6c(this)};\ng.w.jCt=function(){this.vU();g.c2(this.api.getRootNode(),\"ytp-progress-bar-hover\");this.oY&&(this.oY=!1,this.api.logVisibility(this.aY,this.oY));this.G2&&(this.G2=!1,this.api.logVisibility(this.OA,this.G2));this.api.Y(\"enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity\")&&this.api.publish(\"progressBarHoverEnd\")};\ng.w.N85=function(K,R){var f=g.hQ(this.element);this.Dk=K-f.x;Tg(this)&&this.K&&(this.K.y0?BL(this.K,this.api.getCurrentTime()):Oq_(this.K),this.K.show(),g.yb(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.K.isEnabled));this.v9&&(this.v9.dispose(),this.v9=null);this.Dq=R;this.nT=this.api.getCurrentTime();this.U.length>1&&this.er!==-1?this.api.seekTo(this.U[this.er].startTime/1E3,!1,void 0,void 0,7):this.api.seekTo(p9(this,gf(this)),!1,void 0,void 0,7);g.dy(this.element,\"ytp-drag\");(this.Jb=\nthis.api.getPlayerStateObject().isOrWillBePlaying())&&this.api.pauseVideo()};\ng.w.LaD=function(){if(Tg(this)&&this.K){var K=(this.B?135:90)-this.Xt;this.OF>=K*.5?(this.K.enable(),BL(this.K,this.api.getCurrentTime()),tlD(this,K)):s9(this)}if(g.G(this.api.getPlayerStateObject(),32)||this.api.getPresentingPlayerType()===3){var R;if((R=this.K)==null?0:R.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(this.U.length>1&&this.er!==-1)this.api.Y(\"html5_enable_progress_bar_slide_seek_logging\")&&Yj(this,this.nT,this.U[this.er].startTime/1E3,\"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR_CHAPTER\",\n\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\"),this.api.seekTo(this.U[this.er].startTime/1E3,void 0,void 0,void 0,7);else{K=p9(this,gf(this));this.api.Y(\"html5_enable_progress_bar_slide_seek_logging\")&&Yj(this,this.nT,K,\"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR\",\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\");this.api.seekTo(K,void 0,void 0,void 0,7);R=g.Z(this.heatMarkersDecorations);for(var f=R.next();!f.done;f=R.next())f=f.value,K*1E3>=f.visibleTimeRangeStartMillis&&K*1E3<=f.visibleTimeRangeEndMillis&&\nthis.api.logClick(this.MR)}g.c2(this.element,\"ytp-drag\");this.y0&&(this.B5.src=this.y0);this.Jb&&!g.G(this.api.getPlayerStateObject(),2)&&this.api.playVideo()}}};\ng.w.HK5=function(K,R){var f=this,V=gf(this),D=p9(this,V);this.api.Ft().fM||(V.position>this.Dk+2?this.aQ&&(this.B5.src=this.aQ):V.position1);this.dn(K&&this.G.Ft().getPlayerSize().width>=400);this.G.logVisibility(this.element,this.EC);var R=1;K&&this.isActive()&&(R=2);if(this.U!==R){this.U=R;K=this.G.Y(\"delhi_modern_web_player_icons\");switch(R){case 1:this.updateValue(\"icon\",K?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V8C1.68 8.00 2.34 8.05 3 8.15V5H21V19H13.84C13.94 19.65 13.99 20.31 14 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z\",\nfill:\"white\"}}]}:{V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,L:{d:\"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z\",fill:\"#fff\"}}]});break;case 2:this.updateValue(\"icon\",\nK?{V:\"svg\",L:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},S:[{V:\"path\",L:{d:\"M21.20 3.01C21.69 3.06 22.15 3.29 22.48 3.65C22.81 4.02 23.00 4.50 23 5V19L22.99 19.20C22.94 19.66 22.73 20.08 22.41 20.41C22.08 20.73 21.66 20.94 21.20 20.98L21 21H14C13.99 20.31 13.94 19.65 13.84 19H21V5H3V8.15C2.34 8.05 1.68 8.00 1 8V5C0.99 4.50 1.18 4.02 1.51 3.65C1.84 3.29 2.30 3.06 2.79 3.01L3 3H21L21.20 3.01ZM19 17V7H5V8.62C6.95 9.26 8.73 10.35 10.19 11.80C11.64 13.26 12.73 15.04 13.37 17H19ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z\",\nfill:\"white\"}}]}:g.IYz())}g.yb(this.element,\"ytp-remote-button-active\",this.isActive())}};\nC9.prototype.K=function(){if(this.G.getOption(\"remote\",\"quickCast\"))this.G.setOption(\"remote\",\"quickCast\",!0);else{var K=this.W5,R=this.element;if(K.Xp())K.mB();else{K.initialize();a:{var f=g.Z(K.Fw.items);for(var V=f.next();!V.done;V=f.next())if(V=V.value,V.priority===1){f=V;break a}f=null}f&&(f.open(),K.kY(R));K.kY(R)}}this.G.logClick(this.element)};g.x(et,g.Y);et.prototype.U=function(K){var R=this.G.C(),f=400;R.T?f=300:R.N&&(f=200);K=this.K&&K.width>=f;this.dn(K);this.G.logVisibility(this.element,K)};\net.prototype.X=function(){if(this.W5.EC)this.W5.mB();else{var K=g.iY(this.G.JV());K&&!K.loaded&&(K.OJ(\"tracklist\",{includeAsr:!0}).length||K.load());this.G.logClick(this.element);this.W5.kY(this.element)}};\net.prototype.updateBadge=function(){var K=this.G.isHdr(),R=this.G.getPresentingPlayerType(),f=R!==2&&R!==3,V=g.Pm(this.G),D=f&&!!g.TV(this.G.JV());R=D&&V.displayMode===1;V=D&&V.displayMode===2;f=(D=R||V)||!f?null:this.G.getPlaybackQuality();g.yb(this.element,\"ytp-hdr-quality-badge\",K);g.yb(this.element,\"ytp-hd-quality-badge\",!K&&(f===\"hd1080\"||f===\"hd1440\"));g.yb(this.element,\"ytp-4k-quality-badge\",!K&&f===\"hd2160\");g.yb(this.element,\"ytp-5k-quality-badge\",!K&&f===\"hd2880\");g.yb(this.element,\"ytp-8k-quality-badge\",\n!K&&f===\"highres\");g.yb(this.element,\"ytp-3d-badge-grey\",!K&&D&&R);g.yb(this.element,\"ytp-3d-badge\",!K&&D&&V)};g.x(Kq,g.aj);g.w=Kq.prototype;g.w.T2=function(){var K=this.G.getAvailableAudioTracks();if(K.length>1){if(this.G.C().experiments.ph().U.aG(Ipw)){var R=K.filter(function(D){return D.isAutoDubbed()}),f=K.filter(function(D){return!D.isAutoDubbed()}).map(this.jR);\nR.length>0&&(f.push(new fMD),f.push.apply(f,g.X(R.map(this.jR))));Dgw(this,f)}else this.di(g.JQ(K,this.jR));this.tracks=g.wJ(K,this.jR,this);this.countLabel.setContent(K.length?\" (\"+K.length+\")\":\"\");this.publish(\"size-change\");K=this.jR(this.G.getAudioTrack());this.LP(K);if(this.G.Y(\"html5_enable_new_audio_settings_menu\")){var V;(V=this.U)!=null&&V.setContent(K.toString())}this.enable(!0)}else this.G.Y(\"html5_enable_new_audio_settings_menu\")&&(R=this.U)!=null&&R.setContent(\"\"),this.enable(!1)};\ng.w.sL=function(K){g.aj.prototype.sL.call(this,K);this.G.setAudioTrack(this.tracks[K]);this.W5.tb()};\ng.w.jR=function(K){return K.toString()};\ng.w.hF=function(K){this.G.Y(\"html5_enable_new_audio_settings_menu\")?this.U&&(K?this.U.ZZ(this):this.U.uX(this)):g.aj.prototype.hF.call(this,K)};\ng.w.onClick=function(){this.G.logClick(this.element)};g.x(ZxN,g.ur);g.w=ZxN.prototype;g.w.bH=function(){this.G.bH()};\ng.w.open=function(){this.fL.HX()>0&&g.v_(this.W5,this.fL)};\ng.w.Th=function(){this.fL.HX()>0&&this.G.getPresentingPlayerType()!==2&&this.G.getPresentingPlayerType()!==3?this.element.removeAttribute(\"aria-disabled\"):this.element.setAttribute(\"aria-disabled\",\"true\")};\ng.w.eL=function(K){K.defaultPrevented||(this.open(),K.preventDefault())};\ng.w.ZZ=function(K){this.fL.ZZ(K)};\ng.w.uX=function(K){this.fL.uX(K)};g.x(RF,l8);\nRF.prototype.Th=function(){var K=this.G.getPresentingPlayerType();if(K!==2&&K!==3&&g.IC(this.G))this.U||(this.W5.ZZ(this),this.U=!0,this.K.push(this.j(this.G,\"videodatachange\",this.Th)),this.K.push(this.j(this.G,\"videoplayerreset\",this.Th)),this.K.push(this.j(this.G,\"onPlaylistUpdate\",this.Th)),this.K.push(this.j(this.G,\"autonavchange\",this.X)),K=this.G.getVideoData(),this.X(K.autonavState),this.G.logVisibility(this.element,this.U));else if(this.U){this.W5.uX(this);this.U=!1;K=g.Z(this.K);for(var R=\nK.next();!R.done;R=K.next())this.hs(R.value)}};\nRF.prototype.X=function(K){dt(this,K!==1)};\nRF.prototype.onSelect=function(K){this.G.zK(K?2:1);this.U&&(this.G.logVisibility(this.element,this.U),this.G.logClick(this.element))};\nRF.prototype.uD=function(){this.U&&this.W5.uX(this);l8.prototype.uD.call(this)};g.x(BPe,g.ur);BPe.prototype.onClick=function(K){K.preventDefault();var R,f;(R=g.Ll(this.G))==null||(f=R.BR())==null||f.mB();var V,D;(V=g.Ll(this.G))==null||(D=V.Zf())==null||D.kY(K.target)};g.x(XCe,g.aj);g.w=XCe.prototype;\ng.w.Th=function(){var K=this.G.getPresentingPlayerType();if(K!==2&&K!==3){this.UF=this.G.xi();var R=this.G.getAvailableQualityLevels();if(this.U){this.K={};K=g.hX(this.G,\"getAvailableQualityData\",[]);K=g.Z(K);for(var f=K.next();!f.done;f=K.next())f=f.value,this.K[f.qualityLabel]=f;K=Object.keys(this.K);R[R.length-1]===\"auto\"&&K.push(\"auto\");this.aY=new Set(R)}else if(this.X){f=g.hX(this.G,\"getAvailableQualityData\",[]);K=[];f=g.Z(f);for(var V=f.next();!V.done;V=f.next())V=V.value,this.B[V.quality]=\nV,V.quality&&K.push(V.quality);R[R.length-1]===\"auto\"&&K.push(\"auto\")}else K=R;g.f1e(this.G)&&this.G.Sz()&&K.unshift(\"missing-qualities\");R=this.G.app.LQ();f=R.getVideoData();if(!f.K||!f.K.video||f.K.video.qualityOrdinal<1080||f.yQ)R=!1;else{V=/^qsa/.test(f.clientPlaybackNonce);var D=\"r\";f.K.id.indexOf(\";\")>=0&&(V=/^[a-p]/.test(f.clientPlaybackNonce),D=\"x\");V?(R.KQ(\"iqss\",{trigger:D},!0),R=!0):R=!1}R&&K.unshift(\"inline-survey\");this.di(K);R=this.G.getVideoData().cotn?!0:!1;f=this.Z.XL();f=!g.fc(this.G.C())||\n!(R===void 0?0:R)||!(f===void 0||f);R=this.fL;f=f===void 0?!1:f;R.HO&&g.yb(R.IY(\"ytp-panel-footer\"),\"ytp-panel-hide-footer\",f===void 0?!1:f);if(K.length){this.q8();this.enable(!0);return}}this.enable(!1)};\ng.w.q8=function(){if(this.U){var K=this.G.getPreferredQuality();this.aY.has(K)&&(this.J=this.G.getPlaybackQuality(),this.T=this.G.getPlaybackQualityLabel(),K===\"auto\"?(this.LP(K),this.setContent(this.RC(K))):this.LP(this.T))}else K=this.G.getPreferredQuality(),this.options[K]&&(this.J=this.G.getPlaybackQuality(),this.LP(K),K===\"auto\"&&this.setContent(this.RC(K)))};\ng.w.sL=function(K){if(K!==\"missing-qualities\"){g.aj.prototype.sL.call(this,K);var R=this.U?this.K[K]:this.B[K];var f=R==null?void 0:R.quality,V=R==null?void 0:R.formatId,D=R==null?void 0:R.paygatedQualityDetails;R=D==null?void 0:D.endpoint;if(D){var H;D=(H=this.options[K])==null?void 0:H.element;this.G.logClick(D)}if(this.U){var l,F;if((l=g.z(R,g.Qwz))==null?0:(F=l.popup)==null?0:F.notificationActionRenderer)this.G.lD(\"innertubeCommand\",R);else if(R){this.G.lD(\"innertubeCommand\",R);return}V?this.G.setPlaybackQuality(f,\nV):this.G.setPlaybackQuality(f)}else{if(this.X){var c,r;if((c=g.z(R,g.Qwz))==null?0:(r=c.popup)==null?0:r.notificationActionRenderer)this.G.lD(\"innertubeCommand\",R);else if(R){this.G.lD(\"innertubeCommand\",R);return}}this.G.setPlaybackQuality(K)}this.W5.mB();this.Th()}};\ng.w.open=function(){for(var K=g.Z(Object.values(this.options)),R=K.next();!R.done;R=K.next()){R=R.value;var f=void 0;this.G.hasVe((f=R)==null?void 0:f.element)&&(f=void 0,this.G.logVisibility((f=R)==null?void 0:f.element,!0))}g.aj.prototype.open.call(this);this.G.logClick(this.element)};\ng.w.h9=function(K,R,f){var V=this;if(K===\"missing-qualities\")return new g.ur({V:\"a\",Me:[\"ytp-menuitem\"],L:{href:\"https://support.google.com/youtube/?p=missing_quality\",target:this.G.C().EF,tabindex:\"0\",role:\"menuitemradio\"},S:[{V:\"div\",Me:[\"ytp-menuitem-label\"],Q0:\"{{label}}\"}]},R,this.RC(K));if(K!==\"inline-survey\"){var D,H=(D=this.U?this.K[K]:this.B[K])==null?void 0:D.paygatedQualityDetails;D=H==null?void 0:H.veType;H=H==null?void 0:H.trackingParams;R=g.aj.prototype.h9.call(this,K,R,f);H?(this.G.createServerVe(R.element,\nthis,!0),this.G.setTrackingParams(R.element,H)):D&&this.G.createClientVe(R.element,this,D,!0);return R}K=[{V:\"span\",Q0:\"Looks good?\"}];f=g.Z([!0,!1]);H=f.next();for(D={};!H.done;D={qU:void 0},H=f.next())D.qU=H.value,H=new g.Y({V:\"span\",D:\"ytp-menuitem-inline-survey-response\",S:[D.qU?Gsh():bIh()],L:{tabindex:\"0\",role:\"button\"}}),H.listen(\"click\",function(l){return function(){var F=V.G.app.LQ();F.KQ(\"iqsr\",{tu:l.qU});F.getVideoData().yQ=!0;V.W5.mB();V.Th()}}(D)),K.push(H);\nreturn new g.ur({V:\"div\",D:\"ytp-menuitem\",L:{\"aria-disabled\":\"true\"},S:[{V:\"div\",Me:[\"ytp-menuitem-label\"],S:K}]},R)};\ng.w.RC=function(K,R){R=R===void 0?!1:R;if(K===\"missing-qualities\")return{V:\"div\",Q0:\"Missing options?\"};if(K===\"inline-survey\")return\"\";var f=this.X||this.U?[Pyw(this,K,R,!1)]:[TPh(this,K)];var V=this.G.getPreferredQuality();R||V!==\"auto\"||K!==\"auto\"||(f.push(\" \"),this.U?f.push(Pyw(this,this.T,R,!0,[\"ytp-menu-label-secondary\"])):this.X?f.push(Pyw(this,this.J,R,!0,[\"ytp-menu-label-secondary\"])):f.push(TPh(this,this.J,[\"ytp-menu-label-secondary\"])));return{V:\"div\",S:f}};g.x(fq,Ne);fq.prototype.J=function(){Ne.prototype.J.call(this);this.Z&&nC5(this)};\nfq.prototype.B5=function(){this.UF()};\nfq.prototype.Xt=function(){this.G.setPlaybackRate(this.U,!0)};\nfq.prototype.T=function(K){Ne.prototype.T.call(this,K);this.UF();nC5(this);K.preventDefault()};g.x(Vp,g.Y);g.w=Vp.prototype;g.w.init=function(){this.fH(this.U);this.updateValue(\"minvalue\",this.K);this.updateValue(\"maxvalue\",this.X)};\ng.w.Eq=function(K){if(!K.defaultPrevented){switch(K.keyCode){case 37:case 40:var R=-this.N;break;case 39:case 38:R=this.N;break;default:return}this.fH(this.U+R);K.preventDefault()}};\ng.w.iq=function(K){var R=this.U;R+=(K.deltaX||-K.deltaY)<0?-this.Z:this.Z;this.fH(R);K.preventDefault()};\ng.w.b7=function(K){K=(K-g.hQ(this.J).x)/this.UF*this.range+this.K;this.fH(K)};\ng.w.fH=function(K,R){R=R===void 0?\"\":R;K=g.fT(K,this.K,this.X);R===\"\"&&(R=K.toString());this.updateValue(\"valuenow\",K);this.updateValue(\"valuetext\",R);this.aY.style.left=(K-this.K)/this.range*(this.UF-this.y0)+\"px\";this.U=K};\ng.w.focus=function(){this.er.focus()};g.x(DW,Vp);DW.prototype.Xt=function(){this.G.setPlaybackRate(this.U,!0)};\nDW.prototype.fH=function(K){Vp.prototype.fH.call(this,K,gCz(this,K).toString());this.B&&(ICG(this),this.B5())};\nDW.prototype.updateValues=function(){var K=this.G.getPlaybackRate();gCz(this,this.U)!==K&&(this.fH(K),ICG(this))};g.x(Ox2,g.di);Ox2.prototype.focus=function(){this.U.focus()};g.x(jLN,hf);g.x(MlG,g.aj);g.w=MlG.prototype;g.w.onVideoDataChange=function(K,R){K===\"dataloaded\"&&WlB(R)&&(K=this.G.getAvailablePlaybackRates(),g.iT(this.bu,K)||(this.bu=K,this.X.dispose(),this.X=new fq(this.G)),this.T2())};\ng.w.RC=function(K){return K===\"1\"?\"Normal\":K.toLocaleString()};\ng.w.T2=function(){var K,R=(K=this.G.getVideoData())==null?void 0:K.Jh();K=this.G.getPresentingPlayerType(R);this.enable(K!==2&&K!==3);YwB(this)};\ng.w.di=function(K){g.aj.prototype.di.call(this,K);this.X&&this.X.K.focus()};\ng.w.hF=function(K){g.aj.prototype.hF.call(this,K);K?(this.Z=this.j(this.G,\"onPlaybackRateChange\",this.onPlaybackRateChange),YwB(this),bxe(this,this.G.getPlaybackRate()),this.G.Y(\"enable_web_premium_varispeed_upsell\")&&(this.G.logVisibility(this.element,!0),this.K&&this.G.logVisibility(this.T.element,!0))):(this.hs(this.Z),this.Z=null)};\ng.w.onPlaybackRateChange=function(K){var R=this.G.getPlaybackRate();!this.J&&this.bu.includes(R)||pC2(this,R);bxe(this,K)};\ng.w.h9=function(K,R,f){return K===this.U&&G0N(this.G)?g.aj.prototype.h9.call(this,K,R,f,{V:\"div\",D:\"ytp-speed-slider-menu-footer\",S:[this.X]}):K===this.K&&qwB(this.G,this.UF)?mGc(this,K,R,f):g.aj.prototype.h9.call(this,K,R,f)};\ng.w.sL=function(K){g.aj.prototype.sL.call(this,K);K===this.K?(this.G.logClick(this.T.element),this.G.lD(\"innertubeCommand\",this.UF)):K===this.U?this.G.setPlaybackRate(this.B,!0):this.G.setPlaybackRate(Number(K),!0);(!G0N(this.G)||K!==this.U&&K!==this.K)&&this.W5.tb()};\ng.w.FG=function(K){var R=K===this.U;this.J=!1;R&&HN(this.G)&&!G0N(this.G)?(K=new jLN(this.G),g.v_(this.W5,K)):g.aj.prototype.FG.call(this,K)};g.x(uoc,g.oj);g.w=uoc.prototype;g.w.T2=function(){var K=this.G.getPresentingPlayerType();if(K===2||K===3)g.SZ(this);else{g.SZ(this);K=this.bu.map(Cyc);this.OO=Cyc(this.G.getPlaybackRate());for(var R=0;R0&&g.iI.prototype.kY.call(this,K)};\ng.w.mB=function(){this.J0?this.J0=!1:g.iI.prototype.mB.call(this)};\ng.w.show=function(){g.iI.prototype.show.call(this);g.dy(this.G.getRootNode(),\"ytp-settings-shown\")};\ng.w.hide=function(){g.iI.prototype.hide.call(this);g.c2(this.G.getRootNode(),\"ytp-settings-shown\")};\ng.w.Qt=function(K){this.G.logVisibility(this.element,K);this.G.publish(\"settingsMenuVisibilityChanged\",K)};\ng.w.bH=function(){this.G.bH()};g.x(F8h,g.Y);g.w=F8h.prototype;g.w.onClick=function(){if(rZ(this)&&(this.G.toggleSubtitles(),this.G.logClick(this.element),!this.isEnabled())){var K=!1,R=g.Mm().aG(65);g.fc(this.G.C())&&R!=null&&(K=!R);K&&this.G.C().Y(\"web_player_nitrate_promo_tooltip\")&&this.G.publish(\"showpromotooltip\",this.element)}};\ng.w.j0D=function(K){var R,f;(R=g.Ll(this.G))==null||(f=R.BR())==null||f.kY(K)};\ng.w.isEnabled=function(){var K=this.G.getOption(\"captions\",\"track\");return!(!K||!K.displayName)};\ng.w.T2=function(){var K=rZ(this),R=300;this.G.C().N&&(R=480);this.G.Y(\"delhi_modern_web_player_icons\")&&this.updateValue(\"icon\",du_(this));if(this.G.C().T){this.updateValue(\"title\",g.UD(this.G,\"Subtitles/closed captions\",\"c\"));this.update({\"tooltip-title\":g.UD(this.G,\"Subtitles/closed captions\",\"c\")});this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions\"});var f=K}else{if(K)(f=this.IY(\"ytp-subtitles-button-icon\"))==null||f.setAttribute(\"fill-opacity\",\"1\"),this.G.C().Y(\"player_tooltip_data_title_killswitch\")?\nthis.updateValue(\"title\",g.UD(this.G,\"Subtitles/closed captions\",\"c\")):this.update({\"tooltip-title\":g.UD(this.G,\"Subtitles/closed captions\",\"c\")}),this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions\"});else{if(this.G.Y(\"delhi_modern_web_player_icons\")){var V;(V=this.IY(\"ytp-subtitles-button-icon\"))==null||V.getElementsByTagName(\"svg\")[0].setAttribute(\"fill-opacity\",\"0.3\")}else{var D;(D=this.IY(\"ytp-subtitles-button-icon\"))==null||D.setAttribute(\"fill-opacity\",\"0.3\")}this.updateValue(\"title\",\n\"Subtitles/closed captions unavailable\");this.update({\"tooltip-title\":\"Subtitles/closed captions unavailable\"});this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions unavailable\"})}f=this.G.Y(\"player_disable_caption_button_if_captions_not_available\")&&this.G.Y(\"delhi_modern_web_player\")?K:!0}this.tooltip.p7();f=f&&this.G.Ft().getPlayerSize().width>=R;this.dn(f);this.G.logVisibility(this.element,f);K?this.updateValue(\"pressed\",this.isEnabled()):this.updateValue(\"pressed\",!1)};\ng.w.bM=function(K){g.Y.prototype.bM.call(this,K)};g.x(g.yp,g.Y);g.w=g.yp.prototype;g.w.canShowCountdown=function(){return!oF(this)&&!hg(this)};\ng.w.eM=function(){var K=this.api.Ft().getPlayerSize().width,R=this.UF;this.api.C().N&&(R=400);R=K>=R&&(!hg(this)||!g.G(this.api.getPlayerStateObject(),64));this.dn(R);g.yb(this.element,\"ytp-time-display-allow-autohide\",R&&K<400);K=this.api.getProgressState();if(R){var f=this.api.getPresentingPlayerType();R=this.api.getCurrentTime(f,!1);this.K&&(R-=K.airingStart);oF(this)&&(R-=this.Ve.startTimeMs/1E3);this.canShowCountdown()&&this.X&&(R-=this.api.getDuration(f,!1));var V=g.zE(R);this.J!==V&&(this.updateValue(\"currenttime\",\nV),this.J=V);f=oF(this)?(this.Ve.endTimeMs-this.Ve.startTimeMs)/1E3:this.api.getDuration(f,!1);V=g.zE(f);this.B!==V&&(this.updateValue(\"duration\",V),this.B=V,R&&(R=g.sK(\"$PLAY_PROGRESS of $DURATION\",{PLAY_PROGRESS:g.zE(R,!0),DURATION:g.zE(f,!0)}),this.updateValue(\"timeDisplayAriaLabel\",R)))}cU2(this,K.isAtLiveHead);rU_(this,this.api.getLoopRange())};\ng.w.onLoopRangeChange=function(K){var R=this.Ve!==K;this.Ve=K;R&&(this.eM(),yU2(this))};\ng.w.ZTr=function(){this.api.setLoopRange(null)};\ng.w.IkW=function(){this.X=!this.X;this.eM()};\ng.w.onVideoDataChange=function(K,R,f){this.updateVideoData((this.api.C().Y(\"enable_topsoil_wta_for_halftime\")||this.api.C().Y(\"enable_topsoil_wta_for_halftime_live_infra\"))&&f===2?this.api.getVideoData(1):R);this.eM();yU2(this)};\ng.w.updateVideoData=function(K){this.AT=K.isLivePlayback&&!K.Rp;this.K=Dk(K);this.isPremiere=K.isPremiere;var R,f,V;this.liveIndicatorText=(K=(R=K.getWatchNextResponse())==null?void 0:(f=R.playerOverlays)==null?void 0:(V=f.playerOverlayRenderer)==null?void 0:V.liveIndicatorText)?R0(K):null;g.yb(this.element,\"ytp-live\",hg(this));this.api.Y(\"delhi_modern_web_player\")&&this.IY(\"ytp-time-wrapper\").classList.toggle(\"ytp-time-wrapper-delhi\",this.canShowCountdown())};\ng.w.onClick=function(K){K.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())};\ng.w.uD=function(){this.U&&this.U();g.Y.prototype.uD.call(this)};g.x(SWG,g.Y);g.w=SWG.prototype;g.w.FB=function(){iRc(this)};\ng.w.vlU=function(K){hdD(this,K);this.Z&&iRc(this)};\ng.w.Qw=function(K){if(!K.defaultPrevented){var R=K.keyCode,f=null;R===37?f=this.volume-5:R===39?f=this.volume+5:R===36?f=0:R===35&&(f=100);f!==null&&(f=g.fT(f,0,100),f===0?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(f)),K.preventDefault())}};\ng.w.K2=function(K){var R=K.deltaX||-K.deltaY;K.deltaMode?this.api.setVolume(this.volume+(R<0?-10:10)):this.api.setVolume(this.volume+g.fT(R/10,-10,10));K.preventDefault();var f,V;((f=this.api.C())==null?0:(V=f.getWebPlayerContextConfig())==null?0:V.enableFullscreenComponentsFeature)&&K.stopPropagation()};\ng.w.mRU=function(){S_(this,this.U,!0,this.K,this.api.Rv());this.UF=this.volume;this.api.isMuted()&&this.api.unMute()};\ng.w.al=function(K){var R=this.X?78:52,f=this.X?18:12;K-=g.hQ(this.N).x;f=g.fT((K-f/2)/(R-f),0,1);this.Z&&(f=g.fT(K/R,0,1));R=f;R=this.api.Y(\"web_player_non_linear_volume_controls\")?R<=.25?R/.25*.1:.1+(R-.25)/.75*.9:R;this.api.setVolume(R*100)};\ng.w.qOe=function(){S_(this,this.U,!1,this.K,this.api.Rv());this.volume===0&&(this.api.mute(),this.api.setVolume(this.UF))};\ng.w.onVolumeChange=function(K){oSG(this,K.volume,K.muted)};\ng.w.jb=function(){S_(this,this.U,this.isDragging,this.K,this.api.Rv())};\ng.w.uD=function(){g.Y.prototype.uD.call(this);g.c2(this.T,\"ytp-volume-slider-active\")};g.x(vN,g.Y);\nvN.prototype.onVideoDataChange=function(){var K=this.api.C();this.xl();this.visible=!!this.api.getVideoData().videoId&&!this.api.getVideoData(1).nL;this.dn(this.visible);this.api.logVisibility(this.element,this.visible&&this.EF);if(this.visible){var R=this.api.getVideoUrl(!0,!1,!1,!0);this.updateValue(\"url\",R)}K.X&&(this.U&&(this.hs(this.U),this.U=null),this.element.removeAttribute(\"href\"),this.element.removeAttribute(\"title\"),this.element.removeAttribute(\"aria-label\"),g.dy(this.element,\"no-link\"));\nR=this.api.C();K=this.api.getVideoData();var f=\"\";R.X||(R=g.sc(R),R.indexOf(\"www.\")===0&&(R=R.substring(4)),f=g.Hm(K)?\"Watch on YouTube Music\":R===\"youtube.com\"?\"Watch on YouTube\":g.sK(\"Watch on $WEBSITE\",{WEBSITE:R}));this.api.Y(\"player_tooltip_data_title_killswitch\")?this.updateValue(\"title\",f):this.updateValue(\"tooltip-title\",f)};\nvN.prototype.onClick=function(K){this.api.Y(\"web_player_log_click_before_generating_ve_conversion_params\")&&this.api.logClick(this.element);var R=this.api.C(),f=this.api.getVideoUrl(!g.xe(K),!1,!0,!0);if(g.kN(R)){var V={};g.kN(R)&&g.hX(this.api,\"addEmbedsConversionTrackingParams\",[V]);f=g.B9(f,V)}g.cW(f,this.api,K);this.api.Y(\"web_player_log_click_before_generating_ve_conversion_params\")||this.api.logClick(this.element)};\nvN.prototype.xl=function(){var K={V:\"svg\",L:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 67 36\",width:\"100%\"},S:[{V:\"path\",uM:!0,D:\"ytp-svg-fill\",L:{d:\"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z \"}}]},\nR=28666,f=this.api.getVideoData();this.api.isEmbedsShortsMode()?K={V:\"svg\",L:{fill:\"none\",height:\"100%\",viewBox:\"-10 -8 67 36\",width:\"100%\"},S:[{V:\"path\",L:{d:\"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z\",\nfill:\"#fff\"}}]}:g.Hm(f)&&(K={V:\"svg\",L:{fill:\"none\",height:\"25\",viewBox:\"0 0 140 25\",width:\"140\"},S:[{V:\"path\",L:{d:\"M33.96 20.91V15.45L37.43 4.11H34.84L33.52 9.26C33.22 10.44 32.95 11.67 32.75 12.81H32.59C32.48 11.81 32.16 10.50 31.84 9.24L30.56 4.11H27.97L31.39 15.45V20.91H33.96Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M40.92 8.31C37.89 8.31 36.85 10.06 36.85 13.83V15.62C36.85 19.00 37.50 21.12 40.86 21.12C44.17 21.12 44.88 19.10 44.88 15.62V13.83C44.88 10.46 44.20 8.31 40.92 8.31ZM42.21 16.73C42.21 18.37 41.92 19.40 40.87 19.40C39.84 19.40 39.55 18.36 39.55 16.73V12.69C39.55 11.29 39.75 10.04 40.87 10.04C42.05 10.04 42.21 11.36 42.21 12.69V16.73Z\",\nfill:\"white\"}},{V:\"path\",L:{d:\"M49.09 21.10C50.55 21.10 51.46 20.49 52.21 19.39H52.32L52.43 20.91H54.42V8.55H51.78V18.48C51.50 18.97 50.85 19.33 50.24 19.33C49.47 19.33 49.23 18.72 49.23 17.70V8.55H46.60V17.82C46.60 19.83 47.18 21.10 49.09 21.10Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M59.64 20.91V6.16H62.68V4.11H53.99V6.16H57.03V20.91H59.64Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M64.69 21.10C66.15 21.10 67.06 20.49 67.81 19.39H67.92L68.03 20.91H70.02V8.55H67.38V18.48C67.10 18.97 66.45 19.33 65.84 19.33C65.07 19.33 64.83 18.72 64.83 17.70V8.55H62.20V17.82C62.20 19.83 62.78 21.10 64.69 21.10Z\",\nfill:\"white\"}},{V:\"path\",L:{d:\"M77.49 8.28C76.21 8.28 75.29 8.84 74.68 9.75H74.55C74.63 8.55 74.69 7.53 74.69 6.72V3.45H72.14L72.13 14.19L72.14 20.91H74.36L74.55 19.71H74.62C75.21 20.52 76.12 21.03 77.33 21.03C79.34 21.03 80.20 19.30 80.20 15.62V13.71C80.20 10.27 79.81 8.28 77.49 8.28ZM77.58 15.62C77.58 17.92 77.24 19.29 76.17 19.29C75.67 19.29 74.98 19.05 74.67 18.60V11.25C74.94 10.55 75.54 10.04 76.21 10.04C77.29 10.04 77.58 11.35 77.58 13.74V15.62Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M89.47 13.51C89.47 10.53 89.17 8.32 85.74 8.32C82.51 8.32 81.79 10.47 81.79 13.63V15.80C81.79 18.88 82.45 21.12 85.66 21.12C88.20 21.12 89.51 19.85 89.36 17.39L87.11 17.27C87.08 18.79 86.73 19.41 85.72 19.41C84.45 19.41 84.39 18.20 84.39 16.40V15.56H89.47V13.51ZM85.68 9.98C86.90 9.98 86.99 11.13 86.99 13.08V14.09H84.39V13.08C84.39 11.15 84.47 9.98 85.68 9.98Z\",\nfill:\"white\"}},{V:\"path\",L:{d:\"M93.18 20.86H95.50V13.57C95.50 11.53 95.46 9.36 95.30 6.46H95.56L95.99 8.24L98.73 20.86H101.09L103.78 8.24L104.25 6.46H104.49C104.37 9.03 104.30 11.35 104.30 13.57V20.86H106.63V4.06H102.67L101.25 10.27C100.65 12.85 100.22 16.05 99.97 17.68H99.78C99.60 16.02 99.15 12.83 98.56 10.29L97.10 4.06H93.18V20.86Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M111.27 21.05C112.73 21.05 113.64 20.44 114.39 19.34H114.50L114.61 20.86H116.60V8.50H113.96V18.43C113.68 18.92 113.03 19.28 112.42 19.28C111.65 19.28 111.41 18.67 111.41 17.65V8.50H108.78V17.77C108.78 19.78 109.36 21.05 111.27 21.05Z\",\nfill:\"white\"}},{V:\"path\",L:{d:\"M121.82 21.12C124.24 21.12 125.59 20.05 125.59 17.86C125.59 15.87 124.59 15.06 122.21 13.44C121.12 12.72 120.53 12.27 120.53 11.21C120.53 10.42 121.02 10.00 121.91 10.00C122.88 10.00 123.21 10.64 123.25 12.46L125.41 12.34C125.59 9.49 124.57 8.27 121.95 8.27C119.47 8.27 118.28 9.34 118.28 11.46C118.28 13.42 119.21 14.31 120.96 15.53C122.51 16.60 123.36 17.27 123.36 18.16C123.36 18.89 122.85 19.42 121.96 19.42C120.94 19.42 120.36 18.54 120.46 17.21L118.27 17.25C117.93 19.81 119.13 21.12 121.82 21.12Z\",\nfill:\"white\"}},{V:\"path\",L:{d:\"M128.45 6.93C129.35 6.93 129.77 6.63 129.77 5.39C129.77 4.23 129.32 3.87 128.45 3.87C127.57 3.87 127.14 4.19 127.14 5.39C127.14 6.63 127.55 6.93 128.45 6.93ZM127.23 20.86H129.76V8.50H127.23V20.86Z\",fill:\"white\"}},{V:\"path\",L:{d:\"M135.41 21.06C136.67 21.06 137.38 20.91 137.95 20.37C138.80 19.63 139.15 18.48 139.09 16.54L136.78 16.42C136.78 18.54 136.44 19.34 135.45 19.34C134.36 19.34 134.18 18.15 134.18 15.99V13.43C134.18 11.07 134.41 9.95 135.47 9.95C136.35 9.95 136.70 10.69 136.70 13.05L138.99 12.89C139.15 11.20 138.98 9.82 138.18 9.05C137.58 8.49 136.69 8.27 135.51 8.27C132.48 8.27 131.54 10.19 131.54 13.84V15.53C131.54 19.18 132.25 21.06 135.41 21.06Z\",\nfill:\"white\"}}]},R=216163);g.Hm(f)?g.dy(this.element,\"ytp-youtube-music-button\"):g.c2(this.element,\"ytp-youtube-music-button\");K.L=Object.assign({},K.L,{\"aria-hidden\":\"true\"});this.updateValue(\"logoSvg\",K);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,R,!0)};\nvN.prototype.bM=function(K){g.Y.prototype.bM.call(this,K);this.api.logVisibility(this.element,this.visible&&K)};g.x(wAB,g.de);g.w=wAB.prototype;g.w.onProgress=function(){if(this.G.Y(\"web_player_max_seekable_on_ended\")||!g.G(this.G.getPlayerStateObject(),2))Wz(this.sO),this.progressBar.eM(),this.U2.eM()};\ng.w.RB=function(){this.En();if(Wz(this.sO))this.progressBar.vU();else this.onProgress()};\ng.w.u7=function(){this.onProgress();this.Z.start()};\ng.w.En=function(){var K;if(K=!this.G.C().K){K=this.progressBar;var R=2*g.R3()*K.T,f=K.X;K=(f.U-f.K)*1E3/K.api.getPlaybackRate()/R<300}K=K&&this.G.getPlayerStateObject().isPlaying()&&!!window.requestAnimationFrame;R=!K;Wz(this.sO)&&(K=R=!1);R?this.aY||(this.aY=this.j(this.G,\"progresssync\",this.onProgress)):this.aY&&(this.hs(this.aY),this.aY=null);K?this.Z.isActive()||this.Z.start():this.Z.stop()};\ng.w.xl=function(){var K=this.G.uH(),R=this.G.Ft().getPlayerSize(),f=this.G.Ft().fM,V=xuB(this),D=ESN(this),H=Math.max(R.width-V*2,100);if(this.OF!==R.width||this.Za!==K||this.G.Y(\"web_player_rtr_ctrls\")&&this.dc!==f)this.OF=R.width,this.Za=K,this.dc=f,this.U.element.style.width=D+\"px\",this.U.element.style.left=V+\"px\",g.UGw(this.progressBar,V,D,K),this.G.sA().Au=D;f=this.X;H=Math.min(570*(K?1.5:1),H);K=Math.min(413*(K?1.5:1),Math.round((R.height-a2v(this))*.82));f.maxWidth=H;f.maxHeight=K;f.VL();this.En();\nthis.pQ&&rgh(this.Ne,R.height)};\ng.w.onVideoDataChange=function(){var K=this.G.getVideoData();this.qe.style.background=K.nL?K.g0:\"\";this.UF&&LEo(this.UF,K.showSeekingControls);this.EF&&LEo(this.EF,K.showSeekingControls)};\ng.w.ud=function(){return this.U.element};g.x(NwN,yv);g.w=NwN.prototype;g.w.gL=function(K){K.target===this.dismissButton.element?this.U&&Zf5(lf(),this.U):(this.onClickCommand&&(this.OB(!1),this.G.lD(\"innertubeCommand\",this.onClickCommand)),this.iA())};\ng.w.iA=function(){this.enabled=!1;this.Z.hide()};\ng.w.onVideoDataChange=function(K,R){K===\"dataloaded\"&&UuG(this);K=[];var f,V,D,H;if(R=(H=g.z((f=R.getWatchNextResponse())==null?void 0:(V=f.playerOverlays)==null?void 0:(D=V.playerOverlayRenderer)==null?void 0:D.suggestedActionsRenderer,uG$))==null?void 0:H.suggestedActions)for(f=g.Z(R),V=f.next();!V.done;V=f.next())(V=g.z(V.value,swz))&&g.z(V.trigger,G2B)&&K.push(V);if(K.length!==0){f=[];K=g.Z(K);for(V=K.next();!V.done;V=K.next())if(V=V.value,D=g.z(V.trigger,G2B)){H=(H=V.title)?g.ri(H):\"View Chapters\";\nR=D.timeRangeStartMillis;var l=D.timeRangeEndMillis;D=D.onlyTriggersOnPlayerPause;V.tapCommand&&(R!=null&&l!=null&&f.push(new g.nQ(R,l,{priority:9,namespace:\"suggested_action_button_visible\",id:H})),R!=null&&l!=null||D)&&(this.suggestedActions[H]=V)}this.G.PV(f)}};\ng.w.TX=function(){return this.enabled};\ng.w.Qt=function(){if(this.enabled){if(this.G2.start(),!this.X&&this.U&&(FA(lf(),this.U),this.X=!0),this.text){var K,R=(K=this.suggestedActions[this.text])==null?void 0:K.rendererContext;if(K=g.z(R,thi)){var f;if(K=(f=K.loggingDirectives)==null?void 0:f.trackingParams)this.G.setTrackingParams(this.badge.element,K),this.K=!0}}}else c_(this),this.G.setTrackingParams(this.badge.element,null),this.K=!1;this.O$()};\ng.w.onStateChange=function(K){for(var R=g.Z(Object.keys(this.suggestedActions)),f=R.next();!f.done;f=R.next()){f=f.value;var V=void 0;if((V=g.z(this.suggestedActions[f].trigger,G2B))==null?0:V.onlyTriggersOnPlayerPause){K.state.isPaused()?(QfD(this,f),this.enabled=!0,this.Qt()):K.oldState.isPaused()&&(this.enabled=!1,this.Qt());break}}};\ng.w.uD=function(){UuG(this);yv.prototype.uD.call(this)};var Ub={},zZ=(Ub.CHANNEL_NAME=\"ytp-title-channel-name\",Ub.FULLERSCREEN_LINK=\"ytp-title-fullerscreen-link\",Ub.LINK=\"ytp-title-link\",Ub.SESSIONLINK=\"yt-uix-sessionlink\",Ub.SUBTEXT=\"ytp-title-subtext\",Ub.TEXT=\"ytp-title-text\",Ub.TITLE=\"ytp-title\",Ub);g.x(xZ,g.Y);xZ.prototype.onClick=function(K){this.api.logClick(this.element);var R=this.api.C(),f=this.api.getVideoUrl(!g.xe(K),!1,!0);g.kN(R)&&(R={},g.hX(this.api,\"addEmbedsConversionTrackingParams\",[R]),f=g.B9(f,R));g.cW(f,this.api,K)};\nxZ.prototype.T2=function(){var K=this.api.getVideoData(),R=this.api.C();this.updateValue(\"title\",K.title);var f={V:\"a\",D:zZ.CHANNEL_NAME,L:{href:\"{{channelLink}}\",target:\"_blank\"},Q0:\"{{channelName}}\"};this.api.C().X?f={V:\"span\",D:zZ.CHANNEL_NAME,Q0:\"{{channelName}}\",L:{tabIndex:\"{{channelSubtextFocusable}}\"}}:K.IV&&(f={V:\"span\",D:zZ.SUBTEXT,Q0:K.IV});this.updateValue(\"subtextElement\",f);W8o(this);this.api.getPresentingPlayerType()===2&&(f=this.api.getVideoData(),f.videoId&&f.isListed&&f.author&&\nf.G2&&f.profilePicture?(this.updateValue(\"channelLink\",f.G2),this.updateValue(\"channelName\",f.author),this.updateValue(\"channelTitleFocusable\",\"0\")):W8o(this));f=R.externalFullscreen||!this.api.isFullscreen()&&R.Dq;g.yb(this.link,zZ.FULLERSCREEN_LINK,f);R.aY||!K.videoId||f||K.nL||R.X?this.U&&(this.updateValue(\"url\",null),this.hs(this.U),this.U=null):(this.updateValue(\"url\",this.api.getVideoUrl(!0)),this.U||(this.U=this.j(this.link,\"click\",this.onClick)));R.X&&(this.element.classList.add(\"ytp-no-link\"),\nthis.updateValue(\"channelName\",g.kN(R)?K.expandedTitle:K.author),this.updateValue(\"channelTitleFocusable\",\"0\"),this.updateValue(\"channelSubtextFocusable\",\"0\"))};g.x(g.E7,g.Y);g.w=g.E7.prototype;g.w.setEnabled=function(K){if(this.type!=null)if(K)switch(this.type){case 3:case 2:aF(this);this.fade.show();break;default:this.fade.show()}else this.fade.hide();this.T=K};\ng.w.oP=function(K,R,f,V,D,H,l,F){if(!this.B5||this.env.N){this.type===3&&this.vU();this.type!==1&&(g.$w(this.element,\"ytp-tooltip ytp-bottom\"),this.type=1,this.T&&this.fade.show(),this.K&&this.K.dispose(),(this.K=this.api.MF())&&this.K.subscribe(\"l\",this.Z7,this));if(F){var c=g.i6(this.bg).height||141;this.y0.style.bottom=c+2+\"px\"}else this.y0.style.display=\"none\";this.env.Y(\"delhi_modern_web_player\")?(this.update({pillTimeStamp:f,pillTitle:H!=null?H:\"\",eduText:F!=null?F:\"\"}),g.dy(this.element,\"ytp-tooltip-progress-bar-style\")):\n(this.update({text:f,title:H!=null?H:\"\",eduText:F!=null?F:\"\"}),g.yb(this.bottomText,\"ytp-tooltip-text-no-title\",this.type===1&&!H));this.api.isInline()&&g.dy(this.bottomText,\"ytp-modern-tooltip-text\");g.yb(this.element,\"ytp-text-detail\",!!V);f=-1;this.K&&(f=b$(this.K,243*this.scale),this.env.Y(\"web_l3_storyboard\")&&this.K.levels.length===4&&(f=this.K.levels.length-1),f=zsD(this.K,f,R));ZR_(this,f);if(l)switch(R=g.i6(this.element).width,l){case 1:this.title.style.right=\"0\";this.title.style.textAlign=\n\"left\";break;case 2:this.title.style.right=R+\"px\";this.title.style.textAlign=\"right\";break;case 3:this.title.style.right=R/2+\"px\",this.title.style.textAlign=\"center\"}JUM(this,!!V,K,D)}};\ng.w.Bz=function(){this.type===1&&this.vU()};\ng.w.FJ=function(K,R){if(this.type)if(this.type===3)this.vU();else return;tNN(this,K,3,R)};\ng.w.p7=function(){this.U&&!this.N&&(this.env.Y(\"player_tooltip_data_title_killswitch\")?this.U.hasAttribute(\"title\")&&(this.X=this.U.getAttribute(\"title\")||\"\",this.U.removeAttribute(\"title\"),this.T&&aF(this)):this.U.hasAttribute(\"data-tooltip-title\")&&(this.X=this.U.getAttribute(\"data-tooltip-title\")||\"\",this.U.removeAttribute(\"data-tooltip-title\"),this.T&&aF(this)))};\ng.w.Z7=function(K,R){K<=this.J&&this.J<=R&&(K=this.J,this.J=NaN,ZR_(this,K))};\ng.w.c55=function(){LcB(this.K,this.J,243*this.scale)};\ng.w.vU=function(){switch(this.type){case 2:var K=this.U;K.removeEventListener(\"mouseout\",this.Z);K.addEventListener(\"mouseover\",this.B);K.removeEventListener(\"blur\",this.Z);K.addEventListener(\"focus\",this.B);Bww(this);break;case 3:Bww(this);break;case 1:this.K&&(this.K.unsubscribe(\"l\",this.Z7,this),this.K=null),this.api.removeEventListener(\"videoready\",this.UF),this.aY.stop()}this.type=null;this.T&&this.fade.hide()};\ng.w.sS=function(){if(this.U)for(var K=0;K=0;R--)if(this.py[R]===K){this.py.splice(R,1);break}UO(this.sO,64,this.py.length>0)};\ng.w.c7=function(){this.api.v1()&&this.api.i5();return!!this.nj||gS5(this)||g.I$.prototype.c7.call(this)};\ng.w.PP=function(){var K=!this.c7(),R=K&&this.api.v1()&&!g.G(this.api.getPlayerStateObject(),2)&&!this.api.getVideoData().nL&&!this.api.C().X&&!this.api.isEmbedsShortsMode(),f=this.Iw&&g.Xs(this.api)&&g.G(this.api.getPlayerStateObject(),128);K||f?(this.HW.show(),this.CA.show()):(this.HW.hide(),this.CA.hide(),this.api.sS(this.XP.element));R?this.NQ.kY():this.NQ.mB();this.f7&&zdh(this.f7,this.vNQ||!K);this.api.Y(\"web_player_hide_overflow_button_if_empty_menu\")&&ORh(this);g.I$.prototype.PP.call(this)};\ng.w.Ug=function(K,R,f,V,D){K.style.left=\"\";K.style.top=\"\";K.style.bottom=\"\";var H=g.i6(K),l=V||this.f7&&g.Ta(this.f7.ud(),R),F=V=null;f!=null&&l||(V=g.i6(R),F=g.os(R,this.api.getRootNode()),f==null&&(f=F.x+V.width/2));f-=H.width/2;l?(R=this.f7,V=xuB(R),F=ESN(R),l=this.api.Ft().getPlayerSize().height,f=g.fT(f,V,V+F-H.width),H=l-a2v(R)-H.height):g.Ta(this.XP.element,R)?(R=this.api.Ft().getPlayerSize().width,f=g.fT(f,12,R-H.width-12),H=this.uH()?this.zz:this.pG,this.api.C().playerStyle===\"gvn\"&&(H+=\n20),this.Iw&&(H-=this.uH()?26:18)):(R=this.api.Ft().getPlayerSize(),f=g.fT(f,12,R.width-H.width-12),H=F.y>(R.height-V.height)/2?F.y-H.height-12:F.y+V.height+12);K.style.top=H+(D||0)+\"px\";K.style.left=f+\"px\"};\ng.w.RB=function(K){K&&(this.api.sS(this.XP.element),this.f7&&this.api.sS(this.f7.ud()));this.bY&&(g.yb(this.contextMenu.element,\"ytp-autohide\",K),g.yb(this.contextMenu.element,\"ytp-autohide-active\",!0));g.I$.prototype.RB.call(this,K)};\ng.w.x9=function(){g.I$.prototype.x9.call(this);this.bY&&(g.yb(this.contextMenu.element,\"ytp-autohide-active\",!1),this.bY&&(this.contextMenu.hide(),this.bW&&this.bW.hide()))};\ng.w.OT=function(K,R){var f=this.api.Ft().getPlayerSize();f=new g.Rs(0,0,f.width,f.height);if(K||!Wz(this.sO)&&!this.c7()){if(this.api.C().sY||R)K=this.uH()?this.zz:this.pG,f.top+=K,f.height-=K;this.f7&&(f.height-=a2v(this.f7))}return f};\ng.w.FB=function(K){var R=this.api.getRootNode();K?R.parentElement?(R.setAttribute(\"aria-label\",\"YouTube Video Player in Fullscreen\"),this.api.C().externalFullscreen||(R.parentElement.insertBefore(this.MZ.element,R),R.parentElement.insertBefore(this.hM.element,R.nextSibling))):g.WR(Error(\"Player not in DOM.\")):(R.setAttribute(\"aria-label\",\"YouTube Video Player\"),this.MZ.detach(),this.hM.detach());this.xl();this.M9()};\ng.w.uH=function(){if(this.api.Y(\"web_player_use_screen_width_for_big_mode\")){var K;return this.api.Ft().getPlayerSize().width>=((K=g.mz(this.api.C().experiments,\"web_player_big_mode_screen_width_cutoff\"))!=null?K:2E3)}K=this.api.C();return this.api.isFullscreen()&&!K.N||!1};\ng.w.showControls=function(K){this.V_=!K;this.PP()};\ng.w.xl=function(){var K=this.uH();this.tooltip.scale=K?1.5:1;this.contextMenu&&g.yb(this.contextMenu.element,\"ytp-big-mode\",K);this.PP();this.api.Y(\"web_player_hide_overflow_button_if_empty_menu\")||ORh(this);this.M9();var R=this.api.isEmbedsShortsMode();R&&K?(K=(this.api.Ft().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Ds(this.XP.element,\"padding-left\",K+\"px\"),g.Ds(this.XP.element,\"padding-right\",K+\"px\")):R&&(g.Ds(this.XP.element,\"padding-left\",\"\"),g.Ds(this.XP.element,\"padding-right\",\n\"\"));g.I$.prototype.xl.call(this)};\ng.w.Gq=function(){if(gS5(this)&&!g.Xs(this.api))return!1;var K=this.api.getVideoData();return!g.kN(this.api.C())||this.api.getPresentingPlayerType()===2||!this.V6||((K=this.V6||K.V6)?(K=K.embedPreview)?(K=K.thumbnailPreviewRenderer,K=K.videoDetails&&g.z(K.videoDetails,l_c)||null):K=null:K=null,K&&K.collapsedRenderer&&K.expandedRenderer)?g.I$.prototype.Gq.call(this):!1};\ng.w.M9=function(){g.I$.prototype.M9.call(this);this.api.logVisibility(this.title.element,!!this.u5);this.Eg&&this.Eg.bM(!!this.u5);this.channelAvatar.bM(!!this.u5);this.overflowButton&&this.overflowButton.bM(this.C7()&&!!this.u5);this.shareButton&&this.shareButton.bM(!this.C7()&&!!this.u5);this.Zg&&this.Zg.bM(!this.C7()&&!!this.u5);this.searchButton&&this.searchButton.bM(!this.C7()&&!!this.u5);this.copyLinkButton&&this.copyLinkButton.bM(!this.C7()&&!!this.u5);if(!this.u5){this.api.sS(this.XP.element);\nfor(var K=0;K=0?this.U.playbackRate:1}catch(K){return 1}};\ng.w.setPlaybackRate=function(K){this.getPlaybackRate()!==K&&(this.U.playbackRate=K);return K};\ng.w.lm=function(){return this.U.loop};\ng.w.setLoop=function(K){this.U.loop=K};\ng.w.canPlayType=function(K,R){return this.U.canPlayType(K,R)};\ng.w.isPaused=function(){return this.U.paused};\ng.w.isSeeking=function(){return this.U.seeking};\ng.w.isEnded=function(){return this.U.ended};\ng.w.Ib=function(){return this.U.muted};\ng.w.nO=function(K){lA();this.U.muted=K};\ng.w.q_=function(){var K=this.U.played||qr([],[]);return this.view?YWw(this,K):K};\ng.w.A$=function(){try{var K=this.U.buffered}catch(R){}K=K||qr([],[]);return this.view?YWw(this,K):K};\ng.w.mu=function(){var K=this.U.seekable||qr([],[]);return this.view?YWw(this,K):K};\ng.w.c6=function(){var K=this.U;return K.getStartDate?K.getStartDate():null};\ng.w.getCurrentTime=function(){if(this.view){var K=this.U.currentTime;K=this.view?K-this.view.start:K;return this.view.HC||!isFinite(this.view.end)?K:Math.min(K,this.view.end-this.view.start)}return this.U.currentTime};\ng.w.setCurrentTime=function(K){this.U.currentTime=this.view?this.view?K+this.view.start:K:K};\ng.w.getDuration=function(){return this.view?isFinite(this.view.end)&&!this.view.HC?this.view.end-this.view.start:this.U.duration-this.view.start:this.U.duration};\ng.w.load=function(){var K=this.U.playbackRate;try{this.U.load()}catch(R){}this.U.playbackRate=K};\ng.w.pause=function(){this.U.pause()};\ng.w.play=function(){if(this.view&&this.Mp())try{this.U.currentTime=this.view.start}catch(R){}var K=this.U.play();if(!K||!K.then)return null;K.then(void 0,function(){});\nreturn K};\ng.w.Rk=function(){return this.U.readyState};\ng.w.Rb=function(){return this.U.networkState};\ng.w.jH=function(){return this.U.error?this.U.error.code:null};\ng.w.R0=function(){return this.U.error?this.U.error.message:\"\"};\ng.w.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.U instanceof window.HTMLVideoElement&&this.U.getVideoPlaybackQuality)return this.U.getVideoPlaybackQuality();if(this.U){var K=this.U,R=K.webkitDroppedFrameCount;if(K=K.webkitDecodedFrameCount)return{droppedVideoFrames:R||0,totalVideoFrames:K}}return{}};\ng.w.PK=function(){try{var K=this.getSize(),R={vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Mr(this.q_(),\",\",3),vbu:Mr(this.A$()),vbs:Mr(this.mu()),vpa:\"\"+ +this.isPaused(),vsk:\"\"+ +this.isSeeking(),ven:\"\"+ +this.isEnded(),vpr:\"\"+this.getPlaybackRate(),vrs:\"\"+this.Rk(),vns:\"\"+this.Rb(),vec:\"\"+this.jH(),vemsg:this.R0(),vvol:\"\"+this.getVolume(),vdom:\"\"+ +this.MM(),vsrc:\"\"+ +!!this.LT(),vw:\"\"+K.width,vh:\"\"+K.height};this.view&&(R.view=this.view.start+\"-\"+this.view.end);return R}catch(f){return{}}};\ng.w.dD=function(){return!!this.U.webkitCurrentPlaybackTargetIsWireless};\ng.w.Xq=function(){return!!this.U.webkitShowPlaybackTargetPicker()};\ng.w.togglePictureInPicture=function(){var K=this.U,R=window.document;window.document.pictureInPictureEnabled?this.U!==R.pictureInPictureElement?K.requestPictureInPicture():R.exitPictureInPicture():$0()&&K.webkitSetPresentationMode(K.webkitPresentationMode===\"picture-in-picture\"?\"inline\":\"picture-in-picture\")};\ng.w.p_=function(){return rhM(this.U)};\ng.w.getSize=function(){return g.i6(this.U)};\ng.w.setSize=function(K){g.SX(this.U,K)};\ng.w.getVolume=function(){return this.U.volume};\ng.w.setVolume=function(K){lA();this.U.volume=K};\ng.w.addEventListener=function(K,R){this.aY.listen(K,R,!1,this);this.wz(K)};\ng.w.removeEventListener=function(K,R){this.aY.hs(K,R,!1,this)};\ng.w.dispatchEvent=function(K){if(this.T&&K.type===\"pause\")return!1;if(ILz){var R,f=((R=K.U)==null?void 0:R.timeStamp)||Infinity;R=f>performance.now()?f-Date.now()+performance.now():f;f=this.K||this.J;if((f==null?0:f.Po())||R<=((f==null?void 0:f.J)||0)){var V;this.V3(\"rms\",{l:\"mede\",sr:(V=this.bD)==null?void 0:V.JK(),et:K.type});return!1}if(this.hE)return this.V3(\"rms\",{l:\"medes\",et:K.type}),f&&K.type===\"seeking\"&&(f.J=performance.now(),this.hE=!1),!1}return this.aY.dispatchEvent(K)};\ng.w.wz=function(K){this.Z[K]||(this.U.addEventListener(K,this.listener),this.Z[K]=this.listener)};\ng.w.setAttribute=function(K,R){this.U.setAttribute(K,R)};\ng.w.removeAttribute=function(K){this.U.removeAttribute(K)};\ng.w.hasAttribute=function(K){return this.U.hasAttribute(K)};\ng.w.wq=go(52);g.w.d3=go(55);g.w.LH=go(58);g.w.k8=go(61);g.w.ZG=function(){return QP(this.U)};\ng.w.H8=function(K){g.dy(this.U,K)};\ng.w.Vz=function(K){return g.l6(this.U,K)};\ng.w.MM=function(){return g.Ta(document.body,this.U)};\ng.w.audioTracks=function(){var K=this.U;if(\"audioTracks\"in K)return K.audioTracks};\ng.w.HH=function(){this.y0=!1};\ng.w.kP=function(){this.y0=!0;this.nO(!0)};\ng.w.GL=function(){this.y0&&!this.Ib()&&this.nO(!0)};\ng.w.equals=function(K){return!!K&&K.ud()===this.ud()};\ng.w.uD=function(){for(var K=g.Z(Object.keys(this.Z)),R=K.next();!R.done;R=K.next())R=R.value,this.U.removeEventListener(R,this.Z[R]);this.er&&this.removeEventListener(\"volumechange\",this.GL);gnT&&pAB(this);hL.prototype.uD.call(this)};\ng.w.PO=function(){return this.jH()===4};\ng.w.hasError=function(){return this.jH()>0};\ng.w.ou=function(){switch(this.jH()){case 2:return\"progressive.net.retryexhausted\";case 3:var K=this.R0();return(K==null?0:K.includes(\"MEDIA_ERR_CAPABILITY_CHANGED\"))?\"capability.changed\":\"fmt.decode\";case 4:return\"fmt.unplayable\";case 5:return\"drm.unavailable\";case 1E3:return\"capability.changed\";default:return null}};\ng.w.jj=function(K){this.U.disableRemotePlayback=K};\ng.w.dg=function(){var K=this.mu();return K.length<1?NaN:K.end(K.length-1)};\ng.w.W6=function(){return this.B};\ng.w.activate=function(K){var R=\"\";K&&(bR5(this,K),R=K.Qe);if(!this.LT()||R)R&&this.LT()!==R&&(this.Yy(R),delete this.K,this.T&&(this.T.reject(),delete this.T),!window.MediaSource&&window.ManagedMediaSource&&this.jj(!(K==null||!K.U))),K&&K.U||this.load(),this.er||(this.addEventListener(\"volumechange\",this.GL),this.er=!0)};\ng.w.ke=function(){var K=this;!this.K&&Hq()&&(this.T?this.T.then(function(){return void K.ke()}):this.LT()||(this.K=this.QZ()))};\ng.w.Je=function(){this.K&&(this.K.dispose(),this.K=void 0)};\ng.w.QZ=function(K,R){if(this.K)if(ILz&&dv(this.K)&&!this.K.oF(K,R)){var f;this.V3(\"rms\",{l:\"megms\",sr:(f=this.bD)==null?void 0:f.JK()});this.Je();this.stopVideo()}else return this.J=this.K,this.K=void 0,this.J;K=H0z(this);this.activate(K.X);this.J=K;this.hE=!1;return K};\ng.w.Va=function(K){this.K=K};\ng.w.playVideo=function(){var K=this;this.isEnded()&&this.seekTo(0);!this.LT()&&this.B&&(g.WR(Error(\"playVideo without src\")),this.Yy(this.B.Qe),this.B.U||this.load());var R=this.play(),f;if((f=this.bD)==null||!KQv(f)){var V;tu&&(AP||0)>=7&&(!R||((V=this.bD)==null?0:V.Y(\"mweb_ios_allow_playback_workaround_when_ready\")))&&GNG(this,function(){g.zs(function(){MNB(K,K.getCurrentTime(),0)},500)})}return R};\ng.w.V3=function(K,R,f){var V;((V=this.bD)==null?0:V.oG())&&this.bD.KQ(K,R,f===void 0?!1:f)};\ng.w.q3=function(K){this.bD=K};\ng.w.xE=function(){return uA(this.A$(),this.getCurrentTime())};\ng.w.seekTo=function(K){this.Rk()>0&&(tu&&AP<4&&(K=Math.max(.1,K)),this.setCurrentTime(K))};\ng.w.Bl=function(K){if(this.Rk()===0||this.hasError())return!1;var R=this.getCurrentTime()>0;if(K>=0){var f=this.mu();if(f.length||!R)return pH(f,K)}return R};\ng.w.dk=function(){if(!this.K&&this.J)if(this.J.T)try{var K;this.V3(\"rms\",{l:\"mer\",sr:(K=this.bD)==null?void 0:K.JK(),rs:Fn(this.J)});this.J.clear();this.Va(this.J);this.J=void 0}catch(R){K=new g.NB(\"Error while clearing Media Source in MediaElement: \"+R.name+\", \"+R.message),g.WR(K),this.stopVideo()}else this.stopVideo()};\ng.w.stopVideo=function(){var K=this;if(!this.K){var R;(R=this.J)==null||rv(R);if(gnT){if(!this.T){var f=new y9;f.then(void 0,function(){});\nthis.T=f;Oa8&&this.pause();g.zs(function(){K.T===f&&(pAB(K),f.resolve())},200)}}else pAB(this)}};\ng.w.hN=function(){var K=this.A$();return GF(K)&&this.getDuration()?Y0(K,this.getCurrentTime()):0};\ng.w.KX=function(){var K=this.A$();return GF(K)&&this.getDuration()?K.end(K.length-1):0};\ng.w.z9=function(){var K=this.getDuration();return K===Infinity?1:K?this.hN()/K:0};\nvar gnT=!1,Oa8=!1,ILz=!1;var U7=[],muw=!1;g.x(WN,g.O);WN.prototype.N=function(){this.U!=null&&this.app.getVideoData()!==this.U&&KZ(this.U)&&je_(this.app,this.U,void 0,void 0,this.X)};\nWN.prototype.T=function(){if(this.U!=null&&this.app.getVideoData()!==this.U&&this.K!=null&&this.J!=null&&this.B!=null&&KZ(this.U)){var K=this.app.C().experiments.ph().U.aG(ZW);K=sfv(this.K,this.J,this.B,K);K==null?je_(this.app,this.U,void 0,void 0,this.X):(this.K.KQ(\"sgap\",K),this.K.getVideoData().N&&this.K.v_(!1),this.app.C().Y(\"html5_remove_loop_range_on_gapless_fallback\")&&(A6(this.app,\"gaplessshortslooprange\"),this.app.setLoopRange(null)))}};\nWN.prototype.Z=function(K){var R=this.app.LQ();if(R){var f=this.app.getCurrentTime();Math.abs(f-K.end/1E3)>5&&R.KQ(\"glrs\",{cmt:f});R.seekTo(0,{seekSource:58});R.KQ(\"glrre\",{cmt:f})}};\nWN.prototype.uD=function(){this.U=null;g.O.prototype.uD.call(this)};g.x(g.tg,hL);g.w=g.tg.prototype;g.w.isView=function(){return!0};\ng.w.Mp=function(){var K=this.mediaElement.getCurrentTime();if(K1;pH(K.vV(),V-.01)&&!D&&(Jg(this,4),f.isActive=!1,f.kd=f.kd||f.isActive,(this.B===1?this.U:this.K).KQ(\"sbh\",{}),R.isActive=!0,R.kd=R.kd||R.isActive,this.B!==0&&(this.U.getVideoData().uw=!0));K=this.J.K;if(this.J.U.isActive&&K.isActive&&(Jg(this,5),this.B!==0)){K=this.K.V2();f=this.U.V2();\nthis.U.KQ(\"sbs\",{citag:f==null?void 0:f.itag,nitag:K==null?void 0:K.itag});this.K.KQ(\"gitags\",{pitag:f==null?void 0:f.itag,citag:K==null?void 0:K.itag});var H;(H=this.K)==null||H.Hi()}}};\ng.w.FY=function(){this.gr()&&this.Fg(\"player-reload-after-handoff\")};\ng.w.Fg=function(K,R){R=R===void 0?{}:R;if(!this.mZ()&&this.status.status!==6){var f=this.status.status>=4&&K!==\"player-reload-after-handoff\";this.status={status:Infinity,error:K};if(this.U&&this.K){var V=this.K.getVideoData().clientPlaybackNonce;this.U.EA(new g.e$(\"dai.transitionfailure\",Object.assign(R,{cpn:V,transitionTimeMs:this.jf,msg:K})));this.U.v_(f)}this.yA.reject(K);this.dispose()}};\ng.w.gr=function(){return this.status.status>=4&&this.status.status<6};\ng.w.uD=function(){DE_(this);this.U.unsubscribe(\"newelementrequired\",this.FY,this);if(this.X){var K=this.X.K;this.X.U.SM.unsubscribe(\"updateend\",this.Ew,this);K.SM.unsubscribe(\"updateend\",this.Ew,this)}g.O.prototype.uD.call(this)};\ng.w.e5=function(K){g.rH(K,128)&&this.Fg(\"player-error-event\")};g.x(BN,g.O);BN.prototype.clearQueue=function(K,R){K=K===void 0?!1:K;R=R===void 0?!1:R;kZ(this);this.J&&this.J.reject(\"Queue cleared\");this.app.C().Y(\"html5_gapless_fallback_on_qoe_restart_v2\")||R&&this.K&&this.K.v_(!1);TZ(this,K)};\nBN.prototype.Sg=function(){return!this.U};\nBN.prototype.gr=function(){var K;return((K=this.X)==null?void 0:K.gr())||!1};\nBN.prototype.uD=function(){kZ(this);TZ(this);g.O.prototype.uD.call(this)};g.x(SVD,g.VQ);g.w=SVD.prototype;g.w.getVisibilityState=function(K,R,f,V,D,H,l,F){return K?4:D&&MnG?7:jWe&&!(DM()||document.hasFocus&&document.hasFocus())||DM()?3:R?2:f?1:V?5:D&&!MnG?7:H?8:l?9:F?10:0};\ng.w.IM=function(K){this.fullscreen!==K&&(this.fullscreen=K,this.Qt())};\ng.w.setMinimized=function(K){this.K!==K&&(this.K=K,this.Qt())};\ng.w.setInline=function(K){this.inline!==K&&(this.inline=K,this.Qt())};\ng.w.f6=function(K){this.pictureInPicture!==K&&(this.pictureInPicture=K,this.Qt())};\ng.w.setSqueezeback=function(K){this.X!==K&&(this.X=K,this.Qt())};\ng.w.SP=function(K){this.J!==K&&(this.J=K,this.Qt())};\ng.w.dD=function(){return this.U};\ng.w.Ta=function(){return this.fullscreen!==0};\ng.w.isFullscreen=function(){return this.fullscreen!==0&&this.fullscreen!==4};\ng.w.on=function(){return this.fullscreen};\ng.w.isMinimized=function(){return this.K};\ng.w.isInline=function(){return this.inline};\ng.w.isBackground=function(){return DM()};\ng.w.qF=function(){return this.pictureInPicture};\ng.w.d7=function(){return!1};\ng.w.Z_=function(){return this.X};\ng.w.Ab=function(){return this.J};\ng.w.Qt=function(){this.publish(\"visibilitychange\");var K=this.getVisibilityState(this.dD(),this.isFullscreen(),this.isMinimized(),this.isInline(),this.qF(),this.d7(),this.Z_(),this.Ab());K!==this.T&&this.publish(\"visibilitystatechange\");this.T=K};\ng.w.uD=function(){O_o(this.B);g.VQ.prototype.uD.call(this)};g.x(g.PN,g.O);g.w=g.PN.prototype;g.w.uD=function(){this.videoData=this.playerState=null;g.O.prototype.uD.call(this)};\ng.w.addCueRange=function(){};\ng.w.oV=function(){};\ng.w.Lj=function(){};\ng.w.Gn=function(){return!1};\ng.w.nB=function(){return!1};\ng.w.kZ=function(){};\ng.w.dh=function(){};\ng.w.CZ=function(){return[]};\ng.w.bH=function(){};\ng.w.Wb=function(){};\ng.w.Fq=function(){return 1};\ng.w.getAudioTrack=function(){return this.getVideoData().OA};\ng.w.zR=function(){return null};\ng.w.getAvailableAudioTracks=function(){return[]};\ng.w.xi=function(){return[]};\ng.w.v8=function(){return[]};\ng.w.uL=function(){return\"\"};\ng.w.qH=function(){return[]};\ng.w.E8=function(){};\ng.w.Xg=function(){return 0};\ng.w.getCurrentTime=function(){return 0};\ng.w.U8=function(){};\ng.w.V2=function(){};\ng.w.PK=function(){return{}};\ng.w.getDuration=function(){return 0};\ng.w.B1=function(){return 0};\ng.w.IC=function(){return 0};\ng.w.BN=function(){return!1};\ng.w.C8=function(){return 0};\ng.w.hN=function(){return 0};\ng.w.xZ=function(){return null};\ng.w.l$=function(){return 0};\ng.w.lm=function(){return!1};\ng.w.K4=function(){return 0};\ng.w.CL=function(){return null};\ng.w.QZ=function(){return null};\ng.w.Zk=function(){return 0};\ng.w.EB=function(){return 0};\ng.w.mx=function(){return g.I(function(K){g.lE(K)})};\ng.w.M_=go(11);g.w.getPlaybackQuality=function(){return\"auto\"};\ng.w.getPlaybackRate=function(){return 1};\ng.w.getPlayerState=function(){this.playerState||(this.playerState=new g.S3);return this.playerState};\ng.w.getPlayerType=function(){return 0};\ng.w.getPlaylistSequenceForTime=function(){return null};\ng.w.UJ=function(){return function(){}};\ng.w.iT=function(){return\"\"};\ng.w.getPreferredQuality=function(){return\"unknown\"};\ng.w.Ky=function(){};\ng.w.getProximaLatencyPreference=function(){return 0};\ng.w.kf=function(){return Cc};\ng.w.MF=function(){return null};\ng.w.getStoryboardFormat=function(){return null};\ng.w.getStreamTimeOffset=function(){return 0};\ng.w.AX=function(){return 0};\ng.w.jy=function(){return 0};\ng.w.J1=function(){return{Mb:[],qd:[],currentTime:0,Kt:\"\",droppedVideoFrames:0,isGapless:!1,Sg:!0,Pu:0,oU:0,TJ:0,D2:0,NP:0,Hl:[],mX:[],AC:null,playerState:this.getPlayerState(),Ld:null,VB:\"\",totalVideoFrames:0}};\ng.w.getUserAudio51Preference=function(){return 0};\ng.w.getUserPlaybackQualityPreference=function(){return\"\"};\ng.w.getVideoData=function(){this.videoData||(this.videoData=new g.ee(this.W),g.q(this,this.videoData));return this.videoData};\ng.w.nV=function(){return null};\ng.w.XA=function(){return null};\ng.w.Vt=function(){};\ng.w.getVideoLoadedFraction=function(){return 0};\ng.w.IF=function(){};\ng.w.handleError=function(){};\ng.w.v_=function(){};\ng.w.rg=function(){};\ng.w.Ga=go(36);g.w.Zn=function(){return!1};\ng.w.hasSupportedAudio51Tracks=function(){return!1};\ng.w.isAd=function(){return!1};\ng.w.Xs=function(){return!1};\ng.w.dD=function(){return!1};\ng.w.isAtLiveHead=function(){return!1};\ng.w.Qs=function(){return!0};\ng.w.isGapless=function(){return!1};\ng.w.isHdr=function(){return!1};\ng.w.AE=function(){return!1};\ng.w.gP=function(){return!1};\ng.w.CI=function(){return!1};\ng.w.isProximaLatencyEligible=function(){return!1};\ng.w.Sg=function(){return!0};\ng.w.r7=function(){return!1};\ng.w.J2=function(){return!1};\ng.w.Mx=function(){};\ng.w.f3=function(){};\ng.w.Hi=function(){};\ng.w.z$=function(){};\ng.w.Iz=function(){};\ng.w.xS=function(){};\ng.w.nC=function(){};\ng.w.i$=go(46);g.w.FP=go(17);g.w.QM=function(){};\ng.w.pauseVideo=function(){};\ng.w.prefetchKeyPlay=function(){};\ng.w.playVideo=function(){return g.I(function(K){return K.return()})};\ng.w.CO=function(){};\ng.w.Tr=go(23);g.w.sJ=go(29);g.w.b3=function(){};\ng.w.KQ=function(){};\ng.w.kh=function(){};\ng.w.VN=function(){};\ng.w.BP=function(){};\ng.w.EA=function(){};\ng.w.xe=function(){};\ng.w.nw=function(){};\ng.w.aO=function(){};\ng.w.i4=function(){};\ng.w.vI=function(){};\ng.w.dk=function(){};\ng.w.removeCueRange=function(){};\ng.w.VV=function(){};\ng.w.BV=function(){return[]};\ng.w.pW=function(){};\ng.w.EU=function(){};\ng.w.sR=function(){};\ng.w.qw=function(){};\ng.w.IS=function(){};\ng.w.U1=function(){};\ng.w.rr=function(){};\ng.w.seekTo=function(){};\ng.w.sendAbandonmentPing=function(){};\ng.w.sendVideoStatsEngageEvent=function(){};\ng.w.GX=function(){};\ng.w.setLoop=function(){};\ng.w.JD=function(){};\ng.w.setMediaElement=function(){};\ng.w.OR=function(){};\ng.w.setPlaybackRate=function(){};\ng.w.CK=function(){};\ng.w.YX=function(){};\ng.w.Kv=function(){};\ng.w.setProximaLatencyPreference=function(){};\ng.w.Fc=function(){};\ng.w.xF=function(){};\ng.w.SG=function(){};\ng.w.W7=function(){};\ng.w.M3=function(){};\ng.w.setUserAudio51Preference=function(){};\ng.w.Ci=function(){};\ng.w.JK=function(){return!1};\ng.w.Xq=function(){};\ng.w.Io=function(){return!1};\ng.w.z1=function(){};\ng.w.UH=function(){};\ng.w.K5=function(){};\ng.w.stopVideo=function(){};\ng.w.subscribe=function(){return NaN};\ng.w.Ro=function(){};\ng.w.togglePictureInPicture=function(){};\ng.w.C6=function(){return 0};\ng.w.gF=function(){};\ng.w.unsubscribe=function(){return!1};\ng.w.ZX=function(){};\ng.w.r3=function(){return!1};\ng.w.hR=function(){};\ng.w.Se=function(){};\ng.w.Hg=function(){};g.x(vk5,g.O);g.w=vk5.prototype;g.w.get=function(K){nq(this);var R=this.data.find(function(f){return f.key===K});\nreturn R?R.value:null};\ng.w.uO=function(){nq(this);return this.data.map(function(K){return K.value})};\ng.w.set=function(K,R,f){this.remove(K,!0);nq(this);K={key:K,value:R,expire:Infinity};f&&isFinite(f)&&(f*=1E3,K.expire=(0,g.N7)()+f);for(this.data.push(K);this.data.length>this.X;)(f=this.data.shift())&&gZ(this,f,!0);IF(this)};\ng.w.remove=function(K,R){R=R===void 0?!1:R;var f=this.data.find(function(V){return V.key===K});\nf&&(gZ(this,f,R),g.VZ(this.data,function(V){return V.key===K}),IF(this))};\ng.w.removeAll=function(K){if(K=K===void 0?!1:K)for(var R=g.Z(this.data),f=R.next();!f.done;f=R.next())gZ(this,f.value,K);this.data=[];IF(this)};\ng.w.uD=function(){var K=this;g.O.prototype.uD.call(this);this.data.forEach(function(R){gZ(K,R,!0)});\nthis.data=[]};\ng.x(ijw,g.O);g.w=ijw.prototype;g.w.get=function(K){var R=this.map.get(K);return R?R.F0<=(0,g.N7)()?(this.remove(K,!0),null):R.value:null};\ng.w.uO=function(){for(var K=[],R=(0,g.N7)(),f=[],V=g.Z(this.map.entries()),D=V.next();!D.done;D=V.next()){var H=g.Z(D.value);D=H.next().value;H=H.next().value;H.F0<=R?f.push(D):K.push(H.value)}if(f.length>0){R=g.Z(f);for(f=R.next();!f.done;f=R.next())O7(this,f.value,!0);j_(this)}return K};\ng.w.set=function(K,R,f){this.map.has(K)&&O7(this,K,!0);var V=(0,g.N7)(),D=Infinity;f!==void 0&&f!==null&&isFinite(f)&&(D=V+f*1E3);this.map.set(K,{value:R,F0:D});isFinite(D)&&(this.U.enqueue(D,K),jy(this.U)===D&&j_(this));if(!Number.isNaN(this.J))for(K=this.map.keys();this.map.size>this.J;){R=K.next();if(R.done)break;O7(this,R.value,!0)}};\ng.w.remove=function(K,R){O7(this,K,R===void 0?!1:R)&&j_(this)};\ng.w.removeAll=function(K){if((K===void 0?0:K)&&this.K){K=g.Z(this.map.values());for(var R=K.next();!R.done;R=K.next())this.K(R.value.value)}this.map.clear();this.U.clear();this.X.stop()};\ng.w.uD=function(){g.O.prototype.uD.call(this);this.removeAll(!0)};g.x(g.qT,g.O);g.w=g.qT.prototype;g.w.uD=function(){for(var K=g.Z(Object.values(this.X)),R=K.next();!R.done;R=K.next())R.value.dispose();zoh(this);this.Z.dispose();g.O.prototype.uD.call(this)};\ng.w.J$=function(K){return K?K===1?this.EF:this.K.getVideoData().enableServerStitchedDai&&K===2?this.K.getVideoData().rh?this.X[2]||this.K:this.K:this.X[K]||null:this.K};\ng.w.mY=function(K){var R=K.cpn;K=K.playerType;if(R)a:{K=g.Z(Object.values(this.X));for(var f=K.next();!f.done;f=K.next())if(f=f.value,f.uL()===R){R=f;break a}R=this.J[R]||null}else R=K?this.J$(K):this.K;return R};\ng.w.z2=function(){return this.EF};\ng.w.gJ=function(K){this.EF=K};\ng.w.LQ=function(){return this.K};\ng.w.vA=function(K){this.K=K;MT(this)};\ng.w.Li=go(42);g.w.RO=go(44);nko.prototype.DY=function(K,R){for(var f=0;f<10;f++){var V=this.U[f],D=V+(f===0?K:0),H=1*Math.pow(2,f);if(D<=H)break;V=Math.min(1,(D-H*.5)/V);for(D=0;D<16;D++)H=this.values[f*16+D]*V,this.values[(f+1)*16+D]+=H,this.U[f+1]+=H,this.values[f*16+D]-=H,this.U[f]-=H}V=f=0;D=8192;R>8192&&(f=Math.ceil(Math.log(R/8192)/Math.log(2)),V=8192*Math.pow(2,f-1),D=V*2);f+2>16?this.values[15]+=K:(R=(R-V)/(D-V),this.values[f]+=K*(1-R),this.values[f+1]+=K*R);this.U[0]+=K};\nnko.prototype.jI=function(){var K=K===void 0?this.K:K;var R=R===void 0?.02:R;var f=f===void 0?.98:f;for(var V=this.X,D=0;D<16;D++)V[D]=this.values[D];D=this.U[0];for(var H=1;H<11;H++){var l=this.U[H];if(l===0)break;for(var F=Math.min(1,(K-D)/l),c=0;c<16;c++)V[c]+=this.values[H*16+c]*F;D+=l*F;if(F<1)break}for(H=K=l=0;H<16;H++){F=l+V[H]/D;K+=Math.max(0,Math.min(F,f)-Math.max(l,R))*(H>0?8192*Math.pow(2,H-1):0);if(F>f)break;l=F}return K/(f-R)};pq.prototype.DY=function(K,R){K=Math.min(this.U,Math.max(1,Math.round(K*this.resolution)));K+this.K>=this.U&&(this.X=!0);for(;K--;)this.values[this.K]=R,this.K=(this.K+1)%this.U;this.IT=!0};\npq.prototype.percentile=function(K){var R=this;if(!this.X&&this.K===0)return 0;this.IT&&(g.Sc(this.B,function(f,V){return R.values[f]-R.values[V]}),this.IT=!1);\nreturn this.values[this.B[Math.round(K*((this.X?this.U:this.K)-1))]]||0};\npq.prototype.jI=function(){return this.T?(this.percentile(this.J-this.T)+this.percentile(this.J)+this.percentile(this.J+this.T))/3:this.percentile(this.J)};g.x(IV5,g.O);IV5.prototype.kW=function(){var K;(K=this.oY)==null||K.start();vl(this)&&this.policy.Z&&this.Za()};jOz.prototype.Y=function(K){return this.experiments.rU(K)};g.x(bjo,g.My);g.w=bjo.prototype;g.w.yO=function(){};\ng.w.uL=function(){return this.videoData.clientPlaybackNonce};\ng.w.getVideoData=function(){if(g.My.prototype.getVideoData.call(this).Y(\"html5_huli_ssdai_use_playback_state\")){var K=SbD(this.BK,g.My.prototype.getCurrentTime.call(this))||g.My.prototype.getVideoData.call(this);this.videoData.clientPlaybackNonce!==K.clientPlaybackNonce&&pPN(this.J,\"cpn\",{cpn:this.videoData.clientPlaybackNonce,ref:K.clientPlaybackNonce});return this.videoData}return SbD(this.BK,g.My.prototype.getCurrentTime.call(this))||g.My.prototype.getVideoData.call(this)};\ng.w.getCurrentTime=function(K){var R=g.My.prototype.getCurrentTime.call(this);if(g.My.prototype.getVideoData.call(this).Y(\"html5_huli_ssdai_use_playback_state\")){this.U===0?K||(R-=this.startTimeSecs,g.My.prototype.getVideoData.call(this).Y(\"html5_ssdai_log_missed_ad_impressions\")&&this.K&&this.X&&R>1&&this.KQ(\"sdai-admiss\",{cpn:this.uL(),ct:R.toFixed(3),pfs:this.X}),this.K=!1):K&&(R=this.U);var f=K?this.BK.Id||g.My.prototype.getCurrentTime.call(this):rkN(this.BK,g.My.prototype.getCurrentTime.call(this));\nR!==f&&pPN(this.J,\"time\"+(K!=null?K:!1),{time:R,ref:f,ct:K!=null?K:!1})}else R=K?this.BK.Id||R:rkN(this.BK,R);return R};\ng.w.getDuration=function(){if(g.My.prototype.getVideoData.call(this).Y(\"html5_huli_ssdai_use_playback_state\")){var K=hjB(this.BK,g.My.prototype.getCurrentTime.call(this));this.duration!==K&&pPN(this.J,\"duration\",{dur:this.duration,ref:K});return this.duration}return hjB(this.BK,g.My.prototype.getCurrentTime.call(this))};\ng.w.uT=function(K){this.duration=K};g.GZ.prototype.yz=function(K,R){if(R===1)return this.U.get(K);if(R===2)return this.X.get(K);if(R===3)return this.K.get(K)};\ng.GZ.prototype.BT=go(68);g.GZ.prototype.oW=function(K,R,f,V){f={jz:V,eB:f};R?this.X.set(K,f):this.U.set(K,f)};\ng.GZ.prototype.clearAll=function(){this.U.clear();this.X.clear();this.K.clear()};\nmE5.prototype.clear=function(){this.K=[];this.X.clear();this.J.clear();this.U.clear()};\nmE5.prototype.mY=function(K){var R=K.cpn;K=K.As;if(R&&(R=this.X.get(R))||K&&(R=(this.B?this.X:this.J).get(K)))return R};\ng.x(g.ut,g.O);g.w=g.ut.prototype;g.w.onCueRangeEnter=function(K){var R=K.getId();this.MY({oncueEnter:1,cpn:R,start:K.start,end:K.end,ct:(this.playback.getCurrentTime()||0).toFixed(3),cmt:(this.playback.Xg()||0).toFixed(3)});var f=this.U.mY({cpn:R});this.MY({enterAdCueRange:1});var V=this.NR||this.vy().cpn,D;V=(D=this.U.mY({cpn:V}))!=null?D:this.vy();f&&(D=this.playback.getCurrentTime(),f.startTimeSecs=K.start/1E3,f={zG:V,vH:f,SN:D},kC_(this,R,K.start/1E3,D),Vs(this,f));this.oY=!1};\ng.w.xb=function(K,R,f){if(K&&R)if((this.app.EJ().J[K]||null)===null){var V;this.MY({nocpn:K,active:(V=this.app.EJ().U)==null?void 0:V.uL()})}else{this.oY=f!=null?f:!1;var D;f=((D=this.app.EJ().U)==null?void 0:D.uL())||this.playback.uL();var H;D=(H=this.U.mY({cpn:f}))!=null?H:this.vy();var l;H=(l=this.U.mY({cpn:K}))!=null?l:this.vy();H.startTimeSecs=R;H.playerType===2&&(H.L_=H.L_!=null?Math.min(H.L_,R):R);l=this.playback.getCurrentTime();kC_(this,f,R,l);Vs(this,{zG:D,vH:H,SN:l});if(this.playback.getVideoData().Jh()&&\nK===this.playback.uL())if(R=this.hV.get(f)){var F;K=g.Z((F=this.er.get(R))!=null?F:[]);for(F=K.next();!F.done;F=K.next()){F=F.value;f=l=void 0;H=this.app.EJ();f=f===void 0?\"\":f;if(D=H.J[F])H.U===D&&(H.U=null),H.B===D&&(H.B=null),F===((l=H.N.get(f))==null?void 0:l.uL())&&H.N.delete(f),delete H.J[F];this.Xt.delete(F);this.hV.delete(F)}this.er.delete(R)}else this.MY({no_abid:K})}};\ng.w.gM=function(K,R){if(K===this.playback.uL())bt(this.app.EJ(),this.playback,!1);else{var f=this.Xt.get(K);f?(K=!this.oY,f.U=0,f.startTimeSecs=R,f.X=K===void 0?!0:K,f.K=!0,bt(this.app.EJ(),f,!0)):this.MY({nop_s:K})}};\ng.w.onCueRangeExit=function(K){for(var R=this.playback.getCurrentTime()*1E3,f=K.getId(),V=g.Z(this.K.values()),D=V.next();!D.done;D=V.next())if(D=D.value,D.getId()!==f&&R>=D.start&&R<=D.end)return;if(f=this.U.mY({cpn:f}))R=this.playback.getCurrentTime(),V=this.vy(),V.startTimeSecs=K.end/1E3,f={zG:f,vH:V,SN:R},kC_(this,this.playback.uL(),K.end/1E3,R),Vs(this,f)};\ng.w.vy=function(){return{cpn:this.playback.uL(),durationMs:0,RQ:0,playerType:1,pL:0,videoData:this.playback.getVideoData(),errorCount:0,P1:\"\"}};\ng.w.seekTo=function(K,R,f,V){K=K===void 0?0:K;R=R===void 0?{}:R;f=f===void 0?!1:f;V=V===void 0?null:V;fx(this,this.NR);if(this.playback.getVideoData().Jh()&&K<=this.Id)this.playback.pauseVideo(),this.Id=0,T5N(this,K);else if(this.oY=this.EF=!0,f)Rjh(this,K,R);else{f=this.app.LQ();var D=f===this.y0?this.v5:null;Kx(this,!1);this.Kh=K;this.bd=R;V!=null&&this.pQ.start(V);f&&(this.v5=D||f.getPlayerState(),f.K5(R),this.y0=f)}};\ng.w.uD=function(){Kx(this,!1);LPc(this);w02(this);g.O.prototype.uD.call(this)};\ng.w.xV=function(K,R,f){if(f&&R){var V=this.rR.get(K);if(V){V.locations||(V.locations=new Map);var D=Number(R.split(\";\")[0]);f=new g.wo(f);this.MY({hdlredir:1,itag:R,seg:K,hostport:hz(5,f)});V.locations.set(D,f)}}};\ng.w.gg=function(K,R,f,V,D,H){var l=Number(f.split(\";\")[0]),F=V===3;K=E1N(this,K,R,V,f,H);this.MY({gdu:1,seg:R,itag:l,pb:\"\"+!!K});if(!K)return RL(this,R,F),null;K.locations||(K.locations=new Map);if(!K.locations.has(l)){var c,r;H=(c=K.videoData.getPlayerResponse())==null?void 0:(r=c.streamingData)==null?void 0:r.adaptiveFormats;if(!H)return this.MY({gdu:\"noadpfmts\",seg:R,itag:l}),RL(this,R,F),null;c=H.find(function(S){return S.itag===l});\nif(!c||!c.url){var y=K.videoData.videoId;K=[];var h=g.Z(H);for(V=h.next();!V.done;V=h.next())K.push(V.value.itag);this.MY({gdu:\"nofmt\",seg:R,vid:y,itag:l,fullitag:f,itags:K.join(\",\")});RL(this,R,F);return null}K.locations.set(l,new g.wo(c.url,!0))}H=K.locations.get(l);if(!H)return this.MY({gdu:\"nourl\",seg:R,itag:l}),RL(this,R,F),null;H=new X0(H);this.Ch&&(H.get(\"dvc\")?this.MY({dvc:H.get(\"dvc\")||\"\"}):H.set(\"dvc\",\"webm\"));(V=(h=this.yz(R-1,V,D))==null?void 0:h.jz)&&H.set(\"daistate\",V);K.Tb&&R>=K.Tb&&\nH.set(\"skipsq\",\"\"+K.Tb);(h=this.playback.getVideoData().clientPlaybackNonce)&&H.set(\"cpn\",h);h=[];K.P1&&(h=Qc2(this,K.P1),h.length>0&&H.set(\"acpns\",h.join(\",\")));F||this.rR.set(R,K);F=null;F=H.get(\"aids\");V=H.y9();(V==null?void 0:V.length)>2048&&this.MY({urltoolong:1,sq:R,itag:l,len:V.length});this.kW&&(V&&(H=K.cpn,D=K.P1,ZmG(this,H,D),D&&!this.M1.has(D)&&(H=AkM(this,H,D),c=Jkw(this,D),this.MY({iofa:H}),this.MY({noawnzd:c-H}),this.MY({acpns:h.join(\".\"),aids:(y=F)==null?void 0:y.replace(/,/g,\".\")}),\nthis.M1.add(D))),this.MY({gdu:\"v\",seg:R,itag:f,ast:K.RQ.toFixed(3),alen:K.durationMs.toFixed(3),acpn:K.cpn,avid:K.videoData.videoId}));return V};\ng.w.sz=function(K,R,f){f=f===void 0?!1:f;var V=xAz(this,K,R);if(V){this.FQ&&(this.B5=V);var D=void 0,H=V.P1;if(H){this.MY({skipadonsq:R,sts:f,abid:H,acpn:V.cpn,avid:V.videoData.videoId});f=this.U.U.get(H);if(!f)return;f=g.Z(f);for(H=f.next();!H.done;H=f.next())H=H.value,H.Tb=R,H.qv=K,H.RQ>V.RQ&&(D=H)}fx(this,this.NR);this.X=V.cpn;N5w(this);this.api.Y(\"html5_ssdai_enable_media_end_cue_range\")&&this.playback.gF(this.X);K=this.playback.getCurrentTime();WPw(this,V,D,K,K,!1,!0);X0B(this)}};\ng.w.DR=function(){for(var K=g.Z(this.U.K),R=K.next();!R.done;R=K.next())R=R.value,R.Tb=NaN,R.qv=NaN;N5w(this);this.MY({rsac:\"resetSkipAd\",sac:this.X});this.OF.delete(this.X);this.X=\"\";this.FQ&&(this.B5=void 0)};\ng.w.yz=function(K,R,f){return this.UF.yz(K,R,f)};\ng.w.BT=go(67);\ng.w.oW=function(K,R,f,V,D,H,l,F){f.length>0&&this.MY({onssinfo:1,sq:K,start:R.toFixed(3),cpns:f.join(\",\"),ds:V.join(\",\"),isVideo:H?1:0});if(this.FQ&&this.B5&&this.B5.Tb&&f.length>0)for(var c=g.Z(f),r=c.next();!r.done;r=c.next())if(r=r.value,r===this.B5.cpn){this.qW!==r&&(this.MY({skiperror:1,sq:K,acpn:this.B5.cpn,skipsq:this.B5.Tb||0}),this.qW=r);break}F&&this.UF.oW(K,H,l,F);if(H){if(f.length&&V.length)for(this.OF.has(f[0])&&this.MY({skipfail:1,sq:K,acpn:f[0]}),K=R+this.AX(),H=0;Hthis.J.oe+1){this.MY({cueStChg:K.identifier,oldSt:this.J.oe.toFixed(3),newSt:K.startSecs.toFixed(3),abid:this.J.Yg});if(this.J.Yg){var f=K.startSecs-this.J.oe,V=this.U.U.get(this.J.Yg);if(V){V=g.Z(V);for(var D=\nV.next();!D.done;D=V.next())D=D.value,D.RQ>=0&&(D.RQ+=f*1E3,this.W.Y(\"html5_ssdai_update_timeline_on_start_time_change\")&&(D.pL+=f*1E3),this.MY({newApEt:D.RQ,newApPrt:D.pL,acpn:D.cpn}))}}this.J.oe=K.startSecs}R?this.G2.add(K.identifier):this.G2.has(K.identifier)&&this.G2.delete(K.identifier);return R};\ng.w.Mv=function(K){var R=this;if(this.W.Y(\"html5_lifa_ignore_multiple_skips\")&&this.aY)return this.MY({ufs_ad:this.X,ufs_cur:this.NR,ufs_cont:this.vy().cpn}),!1;fx(this,this.NR);this.playback.pauseVideo();var f=this.playback.getCurrentTime(),V=this.U.mY({cpn:this.NR});if(!V)return this.MY({skipFail:f}),!1;this.X=this.NR;this.EF=!1;this.api.Y(\"html5_ssdai_enable_media_end_cue_range\")&&this.playback.gF(this.X);this.PC(V.P1);PG_(this,V,this.vy(),K);T5N(this,f,{seekSource:89,oQ:\"lifa_skip\"});this.aY||\n(this.aY=this.events.j(this.api,\"progresssync\",function(){Hz(R.api.MH(),(0,g.N7)(),\"ad_to_video\");R.aY&&(R.events.hs(R.aY),R.aY=null)}));\nreturn!0};\ng.w.PC=function(K){if(this.playback.getVideoData().Jh()){var R=this.U.U.get(K);if(R){R=g.Z(R);for(var f=R.next();!f.done;f=R.next()){f=f.value;var V=this.K.get(f.cpn);this.K.delete(f.cpn);V&&this.playback.removeCueRange(V);KP5(this.U,f)}this.rR.clear();R=this.U;var D;f=(D=R.U.get(K))!=null?D:[];D=g.Z(f);for(f=D.next();!f.done;f=D.next())KP5(R,f.value);R.U.delete(K);(K=this.Gt.get(K))&&this.MW&&this.playback.qw(K)}}};\ng.w.MY=function(K,R){((R===void 0?0:R)||this.kW)&&this.playback.KQ(\"sdai\",K)};\nvar Hme=0;g.x(IKv,g.O);g.w=IKv.prototype;g.w.onCueRangeEnter=function(K){if(this.U===this.app.LQ()){var R=this.B.get(K);R?bmG(this,R.target,R.jf,K):this.EA(\"dai.transitionfailure\",{e:\"unexpectedCueRangeTriggered\",cr:K.toString()})}else if(R=this.K.find(function(D){return D.Fb.BU===K})){var f=R.Fb,V=f.target;\nf=f.jf;V?bmG(this,V,f,K):MP5(this,R.pL,f,K)}};\ng.w.onQueuedVideoLoaded=function(){var K=this.N;ly(this);if(K){if(!$C(this,K)){var R=this.app.LQ();this.EA(\"dai.transitionfailure\",{e:\"unexpectedPresentingPlayer\",pcpn:R==null?void 0:R.getVideoData().clientPlaybackNonce,ccpn:\"\"+K.playerVars.cpn})}this.app.LQ().addCueRange(K.Fb.BU)}};\ng.w.seekTo=function(K,R,f,V){K=K===void 0?0:K;R=R===void 0?{}:R;V=V===void 0?null:V;if(f===void 0?0:f)n1c(this,K,R);else{f=this.app.LQ()||null;var D=f===this.J?this.T:null;dP(this,!1);this.UF=K;this.EF=R;V!=null&&this.Z.start(V);f&&(this.T=D||f.getPlayerState(),f.K5(),this.J=f)}};\ng.w.vR=function(K){g.rH(K,128)&&uSB(this)};\ng.w.isManifestless=function(){return xs(this.U.getVideoData())};\ng.w.uD=function(){dP(this,!1);CG2(this);g.O.prototype.uD.call(this)};\ng.w.EA=function(K,R){this.U.EA(new g.e$(K,R))};\nvar g1D=0;var ej5=\"MWEB TVHTML5 TVHTML5_AUDIO TVHTML5_CAST TVHTML5_KIDS TVHTML5_FOR_KIDS TVHTML5_SIMPLY TVHTML5_SIMPLY_EMBEDDED_PLAYER TVHTML5_UNPLUGGED TVHTML5_VR TV_UNPLUGGED_CAST WEB WEB_CREATOR WEB_EMBEDDED_PLAYER WEB_EXPERIMENTS WEB_GAMING WEB_HEROES WEB_KIDS WEB_LIVE_APPS WEB_LIVE_STREAMING WEB_MUSIC WEB_MUSIC_ANALYTICS WEB_MUSIC_INTEGRATIONS WEB_REMIX WEB_UNPLUGGED WEB_UNPLUGGED_ONBOARDING WEB_UNPLUGGED_OPS WEB_UNPLUGGED_PUBLIC\".split(\" \");g.x(Fo,g.O);Fo.prototype.Ja=function(K){if(K)return this.K.get(K)};\nFo.prototype.uD=function(){this.U.removeAll();this.K.removeAll();g.O.prototype.uD.call(this)};g.jKB=ma(function(){var K=window.AudioContext||window.webkitAudioContext;try{return new K}catch(R){return R.name}});g.x(DMo,g.Y);g.w=DMo.prototype;g.w.H8=function(){g.FJ(this.element,g.wW.apply(0,arguments))};\ng.w.EU=function(){this.cK&&(this.cK.removeEventListener(\"focus\",this.Uc),g.kU(this.cK),this.cK=null)};\ng.w.kD=function(){this.mZ();var K=this.app.C();K.N9||this.H8(\"tag-pool-enabled\");K.T&&this.H8(g.UC.HOUSE_BRAND);K.playerStyle===\"gvn\"&&(this.H8(\"ytp-gvn\"),this.element.style.backgroundColor=\"transparent\");K.Gt&&(this.y_=g.RQ(\"yt-dom-content-change\",this.resize,this));this.j(window,\"orientationchange\",this.resize,this);this.j(window,\"resize\",this.resize,this)};\ng.w.wJ=function(K){g.gV(this.app.C());this.n$=!K;cC(this)};\ng.w.resize=function(){if(this.cK){var K=this.xR();if(!K.isEmpty()){this.app.YW.isFullscreen()&&Gs()&&this.KB.start();var R=!g.dE(K,this.eP.getSize()),f=FyG(this);R&&(this.eP.width=K.width,this.eP.height=K.height);K=this.app.C();(f||R||this.Nz||K.Gt)&&this.app.YW.publish(\"resize\",this.getPlayerSize())}}};\ng.w.u$=function(K,R){this.updateVideoData(R)};\ng.w.updateVideoData=function(K){if(this.cK){var R=this.app.C();pP&&(this.cK.setAttribute(\"x-webkit-airplay\",\"allow\"),K.title?this.cK.setAttribute(\"title\",K.title):this.cK.removeAttribute(\"title\"));this.cK.setAttribute(\"controlslist\",\"nodownload\");R.RV&&K.videoId&&(this.cK.poster=K.AK(\"default.jpg\"))}R=g.JN(K,\"yt:bgcolor\");this.YZ.style.backgroundColor=R?R:\"\";this.Te=yP(g.JN(K,\"yt:stretch\"));this.DD=yP(g.JN(K,\"yt:crop\"),!0);g.yb(this.element,\"ytp-dni\",K.nL);this.resize()};\ng.w.setGlobalCrop=function(K){this.St=yP(K,!0);this.resize()};\ng.w.setCenterCrop=function(K){this.Nb=K;this.resize()};\ng.w.IM=function(){};\ng.w.getPlayerSize=function(){var K=this.app.C(),R=this.app.YW.isFullscreen(),f=K.externalFullscreen&&g.kN(K);if(R&&Gs()&&!f)return new g.lu(window.outerWidth,window.outerHeight);f=!isNaN(this.BS.width)&&!isNaN(this.BS.height);var V=this.app.C().Y(\"kevlar_player_enable_squeezeback_fullscreen_sizing\")||this.app.C().Y(\"web_watch_enable_fs_squeezeback_panels\");if(R&&!f&&V)return new g.lu(this.element.clientWidth,this.element.clientHeight);if(R||K.Co){if(window.matchMedia){K=\"(width: \"+window.innerWidth+\n\"px) and (height: \"+window.innerHeight+\"px)\";this.xO&&this.xO.media===K||(this.xO=window.matchMedia(K));var D=this.xO&&this.xO.matches}if(D)return new g.lu(window.innerWidth,window.innerHeight)}else if(f)return this.BS.clone();return new g.lu(this.element.clientWidth,this.element.clientHeight)};\ng.w.xR=function(){var K=this.app.C().Y(\"enable_desktop_player_underlay\"),R=this.getPlayerSize(),f=g.mz(this.app.C().experiments,\"player_underlay_min_player_width\");return K&&this.ED&&R.width>f?(K=g.mz(this.app.C().experiments,\"player_underlay_video_width_fraction\"),new g.lu(Math.min(R.height*this.getVideoAspectRatio(),R.width*K),Math.min(R.height,R.width*K/this.getVideoAspectRatio()))):R};\ng.w.getVideoAspectRatio=function(){return isNaN(this.Te)?$M2(this):this.Te};\ng.w.getVideoContentRect=function(K){var R=this.xR();K=l0G(this,R,this.getVideoAspectRatio(),K);return new g.Rs((R.width-K.width)/2,(R.height-K.height)/2,K.width,K.height)};\ng.w.XT=function(K){this.ED=K;this.resize()};\ng.w.lU=function(){return this.Ye};\ng.w.onMutedAutoplayChange=function(){cC(this)};\ng.w.setInternalSize=function(K){g.dE(this.BS,K)||(this.BS=K,this.resize())};\ng.w.uD=function(){this.y_&&g.f3(this.y_);this.EU();g.Y.prototype.uD.call(this)};g.w=r9e.prototype;g.w.click=function(K,R){this.elements.has(K);this.U.has(K);var f=g.wu();f&&K.visualElement&&g.eV(f,K.visualElement,R)};\ng.w.createClientVe=function(K,R,f,V){var D=this;V=V===void 0?!1:V;this.elements.has(K);this.elements.add(K);f=ig(f);K.visualElement=f;var H=g.wu(),l=g.LM();H&&l&&(g.No(\"combine_ve_grafts\")?FA(lf(),f,l):g.DY(g.jV)(void 0,H,l,f));R.addOnDisposeCallback(function(){D.elements.has(K)&&D.destroyVe(K)});\nV&&this.K.add(K)};\ng.w.createServerVe=function(K,R,f){var V=this;f=f===void 0?!1:f;this.elements.has(K);this.elements.add(K);R.addOnDisposeCallback(function(){V.destroyVe(K)});\nf&&this.K.add(K)};\ng.w.destroyVe=function(K){this.elements.has(K);this.elements.delete(K);this.X.delete(K);this.U.delete(K);this.K.delete(K)};\ng.w.pB=function(K,R){this.clientPlaybackNonce!==R&&(this.clientPlaybackNonce=R,dj(lf(),K),y9B(this))};\ng.w.setTrackingParams=function(K,R){this.elements.has(K);R&&(K.visualElement=g.SV(R))};\ng.w.dn=function(K,R,f){this.elements.has(K);R?this.U.add(K):this.U.delete(K);var V=g.wu(),D=K.visualElement;this.K.has(K)?V&&D&&(R?g.sI(V,[D]):g.CM(V,[D])):R&&!this.X.has(K)&&(V&&D&&g.ug(V,D,void 0,f),this.X.add(K))};\ng.w.hasVe=function(K){return this.elements.has(K)};g.x(ys,g.O);ys.prototype.sendMessage=function(K){var R=K;K=new Uint8Array(R);for(var f=0;R>0;){var V=new Uint8Array(Math.min(R,65536));crypto.getRandomValues(V);K.set(V,f);R-=V.length;f+=V.length}R=performance.now();var D;(D=this.Xj)==null||D.postMessage({mainEventSent:R,data:K})};\nys.prototype.onMessage=function(K){var R=K.timeStamp,f=performance.now();K=K.data;var V=K.mainEventSent;this.KQ(\"worker\",{t1:(K.workerEventCreated-performance.timeOrigin-V).toFixed(3),t2:(K.workerEventProcessed-performance.timeOrigin-V).toFixed(3),t3:(R-V).toFixed(3),t4:(f-V).toFixed(3),data:Uint8Array.BYTES_PER_ELEMENT*K.data.length});this.K++;this.K>1E4&&STo(this)};\nys.prototype.uD=function(){clearInterval(this.U);this.U=void 0;STo(this);g.O.prototype.uD.call(this)};g.x(g.h6,g.O);g.h6.create=function(K,R,f,V){try{var D=typeof K===\"string\"?K:\"player\"+g.n8(K),H=W0[D];if(H){try{H.dispose()}catch(F){g.WR(F)}W0[D]=null}var l=new g.h6(K,R,f,V);l.addOnDisposeCallback(function(){W0[D]=null;l.l8&&l.l8()});\nreturn W0[D]=l}catch(F){throw g.WR(F),(F&&F instanceof Error?F:Error(String(F))).stack;}};\ng.w=g.h6.prototype;g.w.nP=function(){return this.visibility};\ng.w.gJ=function(K){var R=this.z2();if(K!==R){K.getVideoData().autonavState=R.getVideoData().autonavState;R.ZX(this.oL,this);var f=R.getPlaybackRate();R.dispose();this.lM.gJ(K);K.setPlaybackRate(f);K.Ro(this.oL,this);xMh(this)}};\ng.w.PU=function(){this.sj||(this.sj=g.YQ(jM(),kUz()));return this.sj};\ng.w.EU=function(K){if(this.mediaElement){this.qc&&(this.events.hs(this.qc),this.qc=null);g.kc(this.Pt);this.LQ().EU(!0,!1,K);this.template.EU();try{this.Y(\"html5_use_async_stopVideo\")?this.mediaElement.dispose():this.mediaElement.TZ()}catch(R){g.A$(R)}this.mediaElement=null}};\ng.w.vA=function(K,R,f){if(K!==this.LQ()){var V=null;if(f===void 0||!f){f=this.LQ();V=f.getPlayerState();zh(this.kB,3);PC(this,\"cuerangesremoved\",f.qH());this.Ql&&!K.isGapless()&&f.isGapless()&&this.mediaElement&&this.mediaElement.stopVideo();f=K.JK()&&f.JK();this.ye.E2(\"iv_s\");f=f===void 0?!0:f;var D;if(D=this.oC){D=this.oC;var H=this.mediaElement;D=!!H&&H===D.mediaElement}D&&(this.EU(),Sl(this));D=this.LQ();D.EU(!f);D.ZX(this.rE,this);D.getPlayerType()!==1&&D.dispose();f=this.lM;f.K=f.Z;MT(f)}K.getPlayerType()===\n1&&this.gJ(K);f=K.getPlayerType();D=this.lM.X[f]||null;K!==this.z2()&&K!==D&&(D==null||D.dispose(),this.lM.X[f]=K);this.lM.vA(K);this.mediaElement&&K.setMediaElement(this.mediaElement);K.Ro(this.rE,this);K.J2()?KBM(this,\"setPresenting\",!1):(this.u$(\"newdata\",K,K.getVideoData()),V&&!g.xW(V,K.getPlayerState())&&this.UI(new g.Fc(K.getPlayerState(),V)),R=R&&K.getPlayerType()===1,K.gP()&&!R&&this.u$(\"dataloaded\",K,K.getVideoData()),(R=(R=K.getVideoData().K)&&R.video)&&this.YW.h$(\"onPlaybackQualityChange\",\nR.quality),PC(this,\"cuerangesadded\",K.qH()),R=K.getPlayerState(),g.G(R,2)?A9e(this):g.G(R,8)?K.playVideo():K.AE()&&K.pauseVideo(),R=this.z2(),K.getPlayerType()===2&&(K.getVideoData().U0=R.getVideoData().clientPlaybackNonce),K.getPlayerType()!==2||this.pT()||(K=K.getVideoData(),R.CO(K.clientPlaybackNonce,K.pQ||\"\",K.breakType||0,K.w3,K.videoId||\"\")))}};\ng.w.J3=function(){this.z2()!==this.LQ()&&this.vA(this.z2())};\ng.w.EJ=function(){return this.lM};\ng.w.mY=function(K){return this.lM.mY(K)};\ng.w.J$=function(K){return this.lM.J$(K)};\ng.w.z2=function(){return this.lM.z2()};\ng.w.LQ=function(){return this.lM.LQ()};\ng.w.xu=go(40);g.w.FBr=function(){z0(this)||this.QA(5)};\ng.w.B8e=function(){if(!z0(this)){u7B(this);var K=this.LQ(),R=K.getPlayerState();K.AE()?this.pauseVideo():R.isOrWillBePlaying()&&this.playVideo()}};\ng.w.canPlayType=function(K){return V4(K)};\ng.w.C=function(){return this.W};\ng.w.getVideoData=function(){return this.LQ().getVideoData()};\ng.w.DM=function(){return this.LQ().xZ()};\ng.w.W0=function(){return this.z2().getVideoData()};\ng.w.getVideoLoadedFraction=function(K){return g.vC(this,{playerType:K}).getVideoLoadedFraction()};\ng.w.Ft=function(){return this.template};\ng.w.JV=function(){return this.kB};\ng.w.MH=function(){return this.ye};\ng.w.P7=function(K,R,f){g.vC(this,{playerType:R===void 0?1:R}).GX(K,void 0,f)};\ng.w.zY=function(){var K=this.kB.zY();this.YW.publish(\"videoStatsPingCreated\",K);return K};\ng.w.getVolume=function(){return Math.round(this.YW.getVolume())};\ng.w.isMuted=function(){return this.YW.isMuted()};\ng.w.bU=function(){if(this.z2()===this.LQ()&&this.Ve)return this.Ve.postId};\ng.w.o4Z=function(){var K=this;this.Y(\"use_rta_for_player\")||(g.cX(this.W)?g.r6(this.W,g.Ys(this.getVideoData())).then(function(R){qy(jM(),R);Ouo(K.getVideoData(),K.W,K.PU())}):Ouo(this.getVideoData(),this.W,this.PU()))};\ng.w.Og=function(K){this.YW.publish(\"poTokenVideoBindingChange\",K)};\ng.w.Mu=function(K){this.YW.publish(\"d6de4videobindingchange\",K)};\ng.w.bN=function(){this.HD&&this.HD.bN()};\ng.w.bS=function(K){this.HD=K};\ng.w.Z3=function(K){if(K===1){this.ye.tick(\"vr\");var R=this.LQ();R.Lj();hrv(this.ye,R.getVideoData(),GS5(this));qMM(this.kB)}R=this.W;if(d6(R)&&R.Z||g.jA(R)){var f;(((f=this.LQ().getVideoData())==null?0:f.enableServerStitchedDai)||!this.pT())&&this.YW.h$(\"onAdStateChange\",K)}};\ng.w.setLoopVideo=function(K){var R=this.LQ();R===this.z2()&&R.lm()!==K&&(R.setLoop(K),this.YW.lD(\"onLoopChange\",K))};\ng.w.getLoopVideo=function(){return this.LQ().lm()};\ng.w.setLoopRange=function(K){var R=!1;!!this.Ve!==!!K?R=!0:this.Ve&&K&&(R=this.Ve.startTimeMs!==K.startTimeMs||this.Ve.endTimeMs!==K.endTimeMs||this.Ve.postId!==K.postId||this.Ve.type!==K.type);if(R){R=this.LQ();rQ(R.getVideoData())&&R.KQ(\"slr\",{et:(K==null?void 0:K.endTimeMs)||-1});R=this.z2();R.BV(\"applooprange\");if(K){var f=new g.nQ(K.startTimeMs,K.endTimeMs,{id:\"looprange\",namespace:\"applooprange\"});R.addCueRange(f)}else{this.W0().clipConfig=void 0;var V;((f=this.Ve)==null?void 0:f.type)!==\"repeatChapter\"||\nisNaN(Number((V=this.Ve)==null?void 0:V.loopCount))||(f={loopCount:String(this.Ve.loopCount),cpn:this.getVideoData().clientPlaybackNonce},g.h$(\"repeatChapterLoopEvent\",f))}this.Ve=K;this.YW.lD(\"onLoopRangeChange\",K||void 0);this.z2()===this.LQ()&&(this.uy(),R.kZ())}};\ng.w.getLoopRange=function(){return this.Ve};\ng.w.uy=function(){var K=\"\",R=this.z2();this.Ve?R!==this.LQ()?K=\"pnea\":PLo(this,R.getCurrentTime())&&(this.Ve.loopCount=0,K=\"ilr\"):K=\"nlr\";var f=this.LQ();if(rQ(f.getVideoData()))if(this.Y(\"html5_gapless_log_loop_range_info\")){var V,D;f.KQ(\"slrre\",{rej:K,ct:R.getCurrentTime(),lst:(V=this.Ve)==null?void 0:V.startTimeMs,let:(D=this.Ve)==null?void 0:D.endTimeMs})}else f.KQ(\"slrre\",{});K||I0h(this)};\ng.w.setPlaybackRate=function(K,R){if(!isNaN(K)){K=UM5(this,K);var f=this.z2();f.getPlaybackRate()!==K&&(f.setPlaybackRate(K),R&&!this.W.J&&g.Pe(\"yt-player-playback-rate\",K),this.YW.h$(\"onPlaybackRateChange\",K))}};\ng.w.getCurrentTime=function(K,R){R=R===void 0?!0:R;var f=this.lM.pP;if(f)return f.getCurrentTime();K=(f=K===2&&this.getVideoData().enableServerStitchedDai)?this.LQ():g.vC(this,{playerType:K});return f&&this.j4?(f=this.lM.B)?f.getCurrentTime(R):K.getCurrentTime():R?(R=wP(this,K),J6(this,R.getCurrentTime(),R)):K.getCurrentTime()};\ng.w.hN=function(){var K=g.vC(this,{playerType:void 0});K=wP(this,K);return J6(this,K.hN(),K)};\ng.w.getDuration=function(K,R){R=R===void 0?!0:R;var f=this.lM.pP;if(f)return f.getDuration();f=this.getVideoData();var V=K===2&&f.enableServerStitchedDai;var D=V?this.LQ():g.vC(this,{playerType:K});if(f.hasProgressBarBoundaries()&&!V){var H,l=Number((H=f.progressBarStartPosition)==null?void 0:H.utcTimeMillis),F;H=Number((F=f.progressBarEndPosition)==null?void 0:F.utcTimeMillis);if(!isNaN(l)&&!isNaN(H))return(H-l)/1E3}if(rQ(f)&&!f.isLivePlayback)return t6(this,K);if(R)return K=Lx(this,D),J6(this,K.getDuration(),\nK);if(V&&this.j4){if(this.Y(\"html5_huli_ssdai_use_playback_state\"))return K=this.lM,K=K.U===K.B?K.U:null,(K==null?void 0:K.getDuration())||0;var c;return((c=this.lM.B)==null?void 0:c.getDuration())||0}return D.getDuration()};\ng.w.IC=function(K){var R=g.vC(this,{playerType:K});return this.pT(R)?(R=Lx(this,R),R.IC()-R.getCurrentTime()+this.getCurrentTime(K)):R.IC()};\ng.w.finishSegmentByCpn=function(){return[]};\ng.w.kD=function(){this.template.kD();var K=this.YW;K.state.element=this.template.element;var R=K.state.element,f;for(f in K.state.U)K.state.U.hasOwnProperty(f)&&(R[f]=K.state.U[f]);(K=FtG(this.template.element))&&this.events.j(this.template,K,this.onFullscreenChange)};\ng.w.getDebugText=function(K){var R=this.z2().PK(K),f=this.LQ();if(f!==this.z2()){f=f.PK(K);for(var V=g.Z(Object.keys(f)),D=V.next();!D.done;D=V.next())D=D.value,R[\"ad\"+D]=f[D];if(K){f=R;V={};if(D=va(document,\"movie_player\"))V.bounds=D.getBoundingClientRect(),V[\"class\"]=D.className;D={};var H=g.Ea(\"video-ads\");H?(V2_(H,D),D.html=H.outerHTML):D.missing=1;H={};var l=g.Ea(\"videoAdUiSkipContainer\"),F=g.Ea(\"ytp-ad-skip-button-container\"),c=g.Ea(\"ytp-skip-ad-button\"),r=l||F||c;r?(V2_(r,H),H.ima=l?1:0,H.bulleit=\nF?1:0,H.component=c?1:0):H.missing=1;V=JSON.stringify({player:V,videoAds:D,skipButton:H});f.ad_skipBtnDbgInfo=V}}K&&this.mediaElement&&(R[\"0sz\"]=\"\"+(+FU(this.mediaElement.getSize())===0),R.op=this.mediaElement.Vz(\"opacity\"),f=this.mediaElement.p_().y+this.mediaElement.getSize().height,R.yof=\"\"+(+f<=0),R.dis=this.mediaElement.Vz(\"display\"));K&&((K=(0,g.Bo)())&&(R.gpu=K),(K=this.W.playerStyle)&&(R.ps=K),this.W.oY&&(R.webview=1),(K=this.webPlayerContextConfig.jsUrl)&&(R.js=K));R.debug_playbackQuality=\nthis.YW.getPlaybackQuality(1);R.debug_date=(new Date).toString();R.origin=window.origin;R.timestamp=Date.now();delete R.uga;delete R.q;return JSON.stringify(R,null,2)};\ng.w.getFeedbackProductData=function(){var K={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.C().experiments.experimentIds.join(\", \"),player_release:d[42]},R=this.getPlayerStateObject().hm;R&&(K.player_error_code=R.errorCode,K.player_error_details=JSON.stringify(R.errorDetail));return K};\ng.w.getPresentingPlayerType=function(K){if(this.appState===1)return 1;if(z0(this))return 3;var R,f,V;return(K&&this.W.ph().U.aG(gGo)?(V=(R=this.lM.U)==null?void 0:R.isAd())!=null&&V:(f=this.j4)==null?0:o1N(f,this.getCurrentTime()))?2:this.LQ().getPlayerType()};\ng.w.QX=function(){return!1};\ng.w.getPlayerStateObject=function(K){var R=this.lM.pP;return R?R.getPlayerState():g.vC(this,{playerType:K}).getPlayerState()};\ng.w.getAppState=function(){return this.appState};\ng.w.oBU=function(K){switch(K.type){case \"loadedmetadata\":this.E1.start();K=g.Z(this.dI);for(var R=K.next();!R.done;R=K.next())R=R.value,mMz(this,R.id,R.skF,R.TmU,void 0,!1);this.dI=[];break;case \"loadstart\":this.ye.E2(\"gv\");break;case \"progress\":case \"timeupdate\":mI(K.target.A$())>=2&&this.ye.E2(\"l2s\");break;case \"playing\":g.$_&&this.E1.start();if(g.cX(this.W))K=!1;else{R=g.TV(this.JV());K=this.mediaElement.Vz(\"display\")===\"none\"||FU(this.mediaElement.getSize())===0;var f=rP(this.template),V=this.LQ().getVideoData(),\nD=g.ke(this.W);V=yx(V);R=!f||R||D||V||this.W.OF;K=K&&!R}K&&(K=this.LQ(),K.Mx(),this.getVideoData().Ne||(this.getVideoData().Ne=1,this.b4(),K.playVideo()))}};\ng.w.wV5=function(K){this.YW.iM(\"onLoadProgress\",K)};\ng.w.fJr=function(){this.YW.publish(\"playbackstalledatstart\")};\ng.w.mW0=function(K,R){this.YW.publish(\"sabrCaptionsDataLoaded\",K,R)};\ng.w.INZ=function(K){this.LQ().xF(K)};\ng.w.X9r=function(K){this.LQ().Fc(K)};\ng.w.sCt=function(K){K=wP(this,this.LQ());K=J6(this,K.getCurrentTime(),K);this.YW.h$(\"onVideoProgress\",K);this.W.vg&&qTe(this,this.visibility.qF())&&this.pauseVideo()};\ng.w.aJF=function(){this.YW.h$(\"onAutoplayBlocked\");var K=this.LQ().getVideoData();K&&(K.X5=!0);g.kN(this.W)&&(K={autoplayBrowserPolicy:Wp(),autoplayIntended:tG(this.getVideoData()),autoplayStatus:\"AUTOPLAY_STATUS_BLOCKED\",cpn:this.getVideoData().clientPlaybackNonce,intentionalPlayback:this.intentionalPlayback},g.h$(\"embedsAutoplayStatusChanged\",K))};\ng.w.M4Z=function(){this.YW.publish(\"progresssync\")};\ng.w.V4e=function(){this.YW.iM(\"onPlaybackPauseAtStart\")};\ng.w.nla=function(K){if(this.getPresentingPlayerType()===1){g.rH(K,1)&&!g.G(K.state,64)&&this.W0().isLivePlayback&&this.z2().isAtLiveHead()&&this.YW.getPlaybackRate()>1&&this.setPlaybackRate(1,!0);if(g.rH(K,2)){if(this.Ve&&this.Ve.endTimeMs>=(this.getDuration()-1)*1E3){I0h(this);return}A9e(this)}if(g.G(K.state,128)){var R=K.state;this.cancelPlayback(5);R=R.hm;JSON.stringify({errorData:R,debugInfo:this.getDebugText(!0)});this.YW.h$(\"onError\",e85(R.errorCode));this.YW.iM(\"onDetailedError\",{errorCode:R.errorCode,\nerrorDetail:R.errorDetail,message:R.errorMessage,messageKey:R.Ot,cpn:R.cpn});(0,g.N7)()-this.W.xN>6048E5&&this.YW.iM(\"onReloadRequired\")}R={};if(K.state.isPlaying()&&!K.state.isBuffering()&&!A2(\"pbresume\",\"ad_to_video\")&&A2(\"_start\",\"ad_to_video\")){var f=this.getVideoData();R.clientPlaybackNonce=f.clientPlaybackNonce;f.videoId&&(R.videoId=f.videoId);g.WV(R,\"ad_to_video\");Uz(\"pbresume\",void 0,\"ad_to_video\");qMM(this.kB)}this.YW.publish(\"applicationplayerstatechange\",K)}};\ng.w.UI=function(K){this.lM.pP||this.YW.publish(\"presentingplayerstatechange\",K)};\ng.w.vR=function(K){iy(this,aT(K.state));g.G(K.state,1024)&&this.YW.isMutedByMutedAutoplay()&&(Uw(this,{muted:!1,volume:this.fv.volume},!1),WC(this,!1))};\ng.w.onPlayerRequestSent=function(K){this.YW.lD(\"onPlayerRequestSent\",K)};\ng.w.FD=function(K,R){K===\"newdata\"&&xMh(this);this.YW.publish(\"applicationvideodatachange\",K,R)};\ng.w.KaW=function(K,R){u7B(this);this.YW.iM(\"onPlaybackAudioChange\",this.YW.getAudioTrack().tV.name);this.YW.publish(\"internalaudioformatchange\",this.YW.getAudioTrack().tV.id,R)};\ng.w.T8t=function(K){var R=this.LQ().getVideoData();K===R&&this.YW.h$(\"onPlaybackQualityChange\",K.K.video.quality)};\ng.w.yh=function(){var K=this.lM.X[2]||null;K&&(K=K.getVideoData(),this.LQ().KQ(\"ssdai\",{cleanaply:1,acpn:K==null?void 0:K.clientPlaybackNonce,avid:K.videoId,isDai:this.W0().enableServerStitchedDai?1:0}),delete this.lM.X[2])};\ng.w.YAa=function(K,R){this.u$(K,this.LQ(),R)};\ng.w.u$=function(K,R,f){this.W.oG()&&R.KQ(\"vdc\",{type:K,vid:f.videoId||\"\",cpn:f.clientPlaybackNonce||\"\"});R===this.z2()&&(this.W.Cv=f.oauthToken);R===this.z2()&&(this.getVideoData().enableServerStitchedDai&&!this.j4?(this.z2().KQ(\"sdai\",{initSstm:1}),this.j4=new g.ut(this.YW,this.W,this.z2(),this)):!this.getVideoData().enableServerStitchedDai&&this.j4&&(this.j4.dispose(),this.j4=null));if(K===\"newdata\")zh(this.kB,2),this.YW.publish(\"videoplayerreset\",R);else{if(!this.mediaElement)return;if(K===\"dataloaded\")if(this.z2()===\nthis.LQ()){if(YN(f.gU,f.jK),!this.z2().getPlayerState().isError()){var V=z0(this);this.W0().isLoaded();V&&this.QA(6);BYB(this);OEo(this.kB)||ZKc(this)}}else BYB(this);if(R.getPlayerType()===1&&(this.W.er&&fm_(this),this.getVideoData().isLivePlayback&&!this.W.EK&&this.Fg(\"html5.unsupportedlive\",2,\"DEVICE_FALLBACK\"),f.isLoaded()&&((Hu2(f)||this.getVideoData().ao)&&this.YW.publish(\"legacyadtrackingpingchange\",this.getVideoData()),f.hasProgressBarBoundaries()))){var D;V=Number((D=this.getVideoData().progressBarEndPosition)==\nnull?void 0:D.utcTimeMillis)/1E3;!isNaN(V)&&(D=this.IC())&&(D-=this.getCurrentTime(),V=(V-D)*1E3,D=this.HI.progressEndBoundary,(D==null?void 0:D.start)!==V&&(D&&this.VV([D]),V=new g.nQ(V,0x7ffffffffffff,{id:\"progressEndBoundary\",namespace:\"appprogressboundary\"}),this.z2().addCueRange(V),this.HI.progressEndBoundary=V))}this.YW.publish(\"videodatachange\",K,f,R.getPlayerType())}this.YW.h$(\"onVideoDataChange\",{type:K,playertype:R.getPlayerType()});this.uy();(K=f.mJ)?this.u9.pB(K,f.clientPlaybackNonce):\ny9B(this.u9)};\ng.w.Ut=function(){Ew(this,null);this.YW.iM(\"onPlaylistUpdate\")};\ng.w.Cne=function(K){delete this.HI[K.getId()];this.z2().removeCueRange(K);a:{K=this.getVideoData();var R,f,V,D,H,l,F,c,r,y,h=((R=K.Xt)==null?void 0:(f=R.contents)==null?void 0:(V=f.singleColumnWatchNextResults)==null?void 0:(D=V.autoplay)==null?void 0:(H=D.autoplay)==null?void 0:H.sets)||((l=K.Xt)==null?void 0:(F=l.contents)==null?void 0:(c=F.twoColumnWatchNextResults)==null?void 0:(r=c.autoplay)==null?void 0:(y=r.autoplay)==null?void 0:y.sets);if(h)for(R=g.Z(h),f=R.next();!f.done;f=R.next())if(f=\nf.value,D=V=void 0,f=f.autoplayVideo||((V=f.autoplayVideoRenderer)==null?void 0:(D=V.autoplayEndpointRenderer)==null?void 0:D.endpoint),V=g.z(f,g.$s),H=D=void 0,f!=null&&((D=V)==null?void 0:D.videoId)===K.videoId&&((H=V)==null?0:H.continuePlayback)){K=f;break a}K=null}(R=g.z(K,g.$s))&&this.YW.lD(\"onPlayVideo\",{sessionData:{autonav:\"1\",itct:K==null?void 0:K.clickTrackingParams},videoId:R.videoId,watchEndpoint:R})};\ng.w.QA=function(K){K!==this.appState&&(K===2&&this.getPresentingPlayerType()===1&&(iy(this,-1),iy(this,5)),this.appState=K,this.YW.publish(\"appstatechange\",K))};\ng.w.Fg=function(K,R,f,V,D){this.z2().CK(K,R,f,V,D)};\ng.w.Ig=go(9);g.w.isAtLiveHead=function(K,R){R=R===void 0?!1:R;var f=g.vC(this,{playerType:K});K=Lx(this,f);f=wP(this,f);return K!==f?K.isAtLiveHead(J6(this,f.getCurrentTime(),f),!0):K.isAtLiveHead(void 0,R)};\ng.w.C8=function(){var K=g.vC(this,{playerType:void 0});return Lx(this,K).C8()};\ng.w.seekTo=function(K,R,f,V,D,H){R=R!==!1;V=g.vC(this,{playerType:V});this.appState===2&&Qs(this);if(this.pT(V))ZC(this)?this.j4.seekTo(K,{seekSource:D},R,f):this.BK.seekTo(K,{seekSource:D},R,f);else{this.Y(\"html5_sabr_csdai_seek_log\")||(H=\"\");var l;V.seekTo(K,{wA:!R,Fz:f,oQ:\"application\"+((l=H)!=null?l:\"\"),seekSource:D})}};\ng.w.seekBy=function(K,R,f,V){this.seekTo(this.getCurrentTime()+K,R,f,V,void 0,\"_by\")};\ng.w.Ah0=function(){this.YW.h$(\"SEEK_COMPLETE\")};\ng.w.bK5=function(){this.YW.lD(\"onAbnormalityDetected\")};\ng.w.GFY=function(K){this.YW.lD(\"onSnackbarMessage\",K)};\ng.w.e4F=function(K){var R=this.LQ(),f=R.getVideoData();if(this.appState===1||this.appState===2)f.startSeconds=K;this.appState===2?g.G(R.getPlayerState(),512)||Qs(this):this.YW.h$(\"SEEK_TO\",K)};\ng.w.EBY=function(){this.YW.publish(\"airplayactivechange\")};\ng.w.UWt=function(){this.YW.publish(\"airplayavailabilitychange\")};\ng.w.showAirplayPicker=function(){this.LQ().Xq()};\ng.w.QCe=function(){this.YW.publish(\"beginseeking\")};\ng.w.XVa=function(){this.YW.publish(\"endseeking\")};\ng.w.getStoryboardFormat=function(K){K=g.vC(this,{playerType:K});return Lx(this,K).getStoryboardFormat()};\ng.w.MF=function(K){K=g.vC(this,{playerType:K});return Lx(this,K).getVideoData().MF()};\ng.w.pT=function(K){K=(K||this.LQ()).getVideoData();if(ZC(this))K=K===this.j4.playback.getVideoData();else a:{var R=this.BK;if(K===R.U.getVideoData()&&R.K.length)K=!0;else{R=g.Z(R.K);for(var f=R.next();!f.done;f=R.next())if(K.As===f.value.As){K=!0;break a}K=!1}}return K};\ng.w.tY=function(K,R,f,V,D,H,l,F){var c=ZC(this);this.LQ().KQ(\"appattl\",{sstm:this.j4?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:c});c?(f=lKo(this.j4,K,R,f,V,D,H,l,F),K=(f==null?void 0:f.As)||\"\",(this.Y(\"html5_ssdai_new_decoration_logic\")||this.z2().getVideoData().Wn)&&this.z2().SG(F||\"\",R,(f==null?void 0:f.clientPlaybackNonce)||\"\")):K=qbw(this.BK,K,f,V,D,H);return K};\ng.w.wc=function(K,R,f,V,D,H,l,F){if(ZC(this)){var c;(c=this.j4)==null||lKo(c,K,R,f,V,D,H,l,F)}};\ng.w.Uz=function(K){(this.Y(\"html5_ssdai_new_decoration_logic\")||this.z2().getVideoData().Wn)&&this.z2().SG(K,\"\",\"\");var R;(R=this.j4)==null||R.Uz(K)};\ng.w.eX=function(K,R){K=K===void 0?-1:K;R=R===void 0?Infinity:R;ZC(this)||CG2(this.BK,K,R)};\ng.w.mI=function(K,R,f){if(ZC(this)){var V=this.j4,D=V.U.mY({As:K});D?(f===void 0&&(f=D.pL),v1e(V,D,R,f)):V.wi(\"Invalid_timelinePlaybackId_\"+K+\"_specified\")}else{V=this.BK;D=null;for(var H=g.Z(V.K),l=H.next();!l.done;l=H.next())if(l=l.value,l.As===K){D=l;break}D?(f===void 0&&(f=D.pL),scN(V,D,R,f)):DC(V,\"InvalidTimelinePlaybackId timelinePlaybackId=\"+K)}};\ng.w.enqueueVideoByPlayerVars=function(K,R,f,V){f=f===void 0?Infinity:f;V=V===void 0?\"\":V;this.pT();K=new g.ee(this.W,K);V&&(K.As=V);je_(this,K,R,f)};\ng.w.queueNextVideo=function(K,R,f,V,D){f=f===void 0?NaN:f;K=this.preloadVideoByPlayerVars(K,R===void 0?1:R,f,V===void 0?\"\":V,D===void 0?\"\":D);R=this.LQ();K&&(this.Y(\"html5_check_queue_on_data_loaded\")?this.C().supportsGaplessShorts()&&R.getVideoData().N&&(f=this.UM,V=this.Ql.B,f.J!==K&&(f.K=R,f.J=K,f.X=1,f.U=K.getVideoData(),f.B=V,f.U.isLoaded()?f.T():f.U.subscribe(\"dataloaded\",f.T,f))):(f=this.W.experiments.ph().U.aG(ZW),f=sfv(R,K,this.Ql.B,f),f!=null?(R.KQ(\"sgap\",f),R.getVideoData().N&&R.v_(!1)):\n(K=K.getVideoData(),R=this.UM,R.U!==K&&(R.U=K,R.X=1,K.isLoaded()?R.N():R.U.subscribe(\"dataloaded\",R.N,R)))))};\ng.w.xP=function(K,R,f,V){var D=this;f=f===void 0?0:f;V=V===void 0?0:V;Lx(this,this.LQ()).JD();Fv_(this.Ql,K,R,f,V).then(function(){D.YW.iM(\"onQueuedVideoLoaded\")},function(){})};\ng.w.Sg=function(){return this.Ql.Sg()};\ng.w.Oj=function(K){var R=this.Ql.U;return R?R.nB(K):!1};\ng.w.clearQueue=function(K,R){this.Ql.clearQueue(K===void 0?!1:K,R===void 0?!1:R)};\ng.w.loadVideoByPlayerVars=function(K,R,f,V,D,H){R=R===void 0?1:R;var l=this.z2();if(R===2&&this.W0().enableServerStitchedDai&&l&&!l.Xs())return l.KQ(\"lvonss\",{vid:(K==null?void 0:K.videoId)||\"\",ptype:R}),!1;var F=!1;l=new g.ee(this.W,K);l.Cv=H;g.Hd(this.W)&&!l.Z8&&$z(this.ye);var c;H=this.ye;var r=(c=l.EF)!=null?c:\"\";H.timerName=r;this.ye.n7(\"pl_i\");this.Y(\"web_player_early_cpn\")&&l.clientPlaybackNonce&&this.ye.infoGel({clientPlaybackNonce:l.clientPlaybackNonce});PQo(l).supportsVp9Encoding===!1&&\nthis.LQ().KQ(\"noVp9enc\",{});if(this.C().supportsGaplessShorts()){c=okv(this.Ql,l,R);if(c==null){iy(this,-1);var y;((y=this.Ql.U)==null?0:y.getVideoData().isAd())||BC(this);K=this.Ql;K.app.C().Y(\"html5_gapless_new_slr\")?A6(K.app,\"gaplessshortslooprange\"):K.app.setLoopRange(null);K.app.getVideoData().AF=!0;var h;(h=K.U)==null||h.U1();var S;(S=K.U)==null||S.i4();f={oQ:\"gapless_to_next_video\",seekSource:60,Bc:K.B.U};V=ho2(K);if(K.B.U){var v;D=((v=K.X)==null?void 0:Ag(v))||{};v=D.Uo;D=D.dX;D!=null&&v!=\nnull&&(V=D-v+.001)}var L;(L=K.app.LQ())==null||L.seekTo(V,f);if(!K.app.getPlayerStateObject(R).isPlaying()){var E;(E=K.app.LQ())==null||E.playVideo(!0)}ywe(K,V);var Q;(Q=K.app.LQ())==null||Q.sR();K.Z();return!0}L=this.Y(\"html5_shorts_gapless_preload_fallback\");E=this.Ql.U;L&&E&&!E.mZ()&&(Q=E.getVideoData(),this.lM.T.set(Xo(R,Q),E,3600));this.Ql.clearQueue(L);this.LQ().KQ(\"sgap\",{f:c})}if(D){for(;l.p8.length&&l.p8[0].isExpired();)l.p8.shift();L=l.p8.length-1;F=L>0&&D.K(l.p8[L])&&D.K(l.p8[L-1]);l.p8.push(D)}f||\n(K&&iEw(K)?(eA(this.W)&&!this.JN&&(K.fetch=0),Ew(this,K)):this.playlist&&Ew(this,null),K&&(this.JN=dm(!1,K.external_list)));this.YW.publish(\"loadvideo\");L=this.Cy(l,R,V);F&&this.Fg(\"player.fatalexception\",1,\"GENERIC_WITH_LINK_AND_CPN\",(\"loadvideo.1;emsg.\"+l.p8.join()).replace(/[;:,]/g,\"_\"));return L};\ng.w.preloadVideoByPlayerVars=function(K,R,f,V,D){R=R===void 0?1:R;f=f===void 0?NaN:f;D=D===void 0?\"\":D;V=R;var H=D,l=hq(K);if(V=this.lM.T.get(V+\"_\"+l+\"_\"+H+\"_\"+ +(K.autonav===\"1\"||K.autonav===!0)+ +(K.autoplay===\"1\"||K.autoplay===!0||K.autoplay===1))||null)return V;K=new g.ee(this.W,K);D&&(K.As=D);D=Xo(R,K);V=this.LQ();H=Xo(V.getPlayerType(),V.getVideoData());D===H?(V.z1(!0),K.dispose(),f=null):(K.nh=!0,V=oL(this,R,K,!0),(R!==1||!VG(this.W)||this.W.Y(\"html5_allow_multiview_tile_preload\")&&K.eG)&&\nV.z1(!0),this.lM.T.set(D,V,f||3600),f=V);return f};\ng.w.setMinimized=function(K){this.visibility.setMinimized(K);(K=YM_(this.kB))&&(this.isMinimized()?K.load():K.unload());this.YW.publish(\"minimized\")};\ng.w.setInline=function(K){this.visibility.setInline(K)};\ng.w.setInlinePreview=function(K){this.visibility.setInline(K)};\ng.w.f6=function(K){MW5(this,K)||this.visibility.f6(K)};\ng.w.setSqueezeback=function(K){this.visibility.setSqueezeback(K)};\ng.w.fB=function(){var K,R=(K=this.mediaElement)==null?void 0:K.ud();R&&(this.W.Oz&&G1(pu(function(){return document.exitFullscreen()}),function(){}),G1(pu(function(){return QP(R)}),function(){}))};\ng.w.gNU=function(){this.mediaElement.ud();this.mediaElement.ud().webkitPresentationMode===\"picture-in-picture\"?this.f6(!0):this.f6(!1)};\ng.w.togglePictureInPicture=function(){this.LQ().togglePictureInPicture()};\ng.w.Cy=function(K,R,f){var V=this;R=R===void 0?1:R;A2(\"_start\",this.ye.timerName)||g.DY(w0)(void 0,this.ye.timerName);var D=!1,H=TYz(this,R,K,!1);H?(D=!0,K.dispose()):(H=oL(this,R,K,!0,f),(this.Y(\"html5_onesie\")||this.Y(\"html5_load_before_stop\"))&&H.Gn()&&H.z1(),this.E1.stop(),R===1&&R!==this.getPresentingPlayerType()&&this.cancelPlayback(4),this.cancelPlayback(4,R),this.vA(H));H===this.z2()&&(this.W.Cv=K.oauthToken);if(!H.Gn())return!1;if(H===this.z2()){this.QA(1);if(this.W.Y(\"html5_allow_multiview_tile_preload\")&&\nD&&H.getVideoData().eG)return H.KQ(\"app_lv\",{pdl:H.gP()}),H.gP()?bKc(this,H):H.subscribe(\"internalvideodatachange\",function(l){l===\"dataloaded\"&&bKc(V,H)},this),!0;\nK=Qs(this);D&&this.Y(\"html5_player_preload_ad_fix\")&&H.getPlayerType()===1&&H.gP()&&this.u$(\"dataloaded\",H,H.getVideoData());return K}H.UH();return!0};\ng.w.cueVideoByPlayerVars=function(K,R){var f=this;R=R===void 0?1:R;var V=this.z2();if(this.W0().enableServerStitchedDai&&V&&!V.Xs()&&K&&Object.keys(K).length>0)V.KQ(\"qvonss\",{vid:(K==null?void 0:K.videoId)||\"\",ptype:R});else if(K&&iEw(K))if(this.wP=!0,Ew(this,K),(K=g.lY(this.playlist))&&K.e4())T0(this,K,R);else this.playlist.onReady(function(){aL(f)});\nelse{R||(R=this.getPresentingPlayerType());R===1&&this.Ut();V=new g.ee(this.W,K);var D=g.kN(this.W)&&!this.W.aY&&R===1&&!V.isAd()&&!V.pQ;this.YW.publish(\"cuevideo\",R);D?(this.LQ().getVideoData().loading=!0,a5o(V,K?K:{}).then(function(H){T0(f,H,R)}),V.dispose()):T0(this,V,R)}};\ng.w.V4=function(K,R,f,V,D,H,l){if(!K&&!f)throw Error(\"Playback source is invalid\");if(Pg(this.W)||g.dI(this.W))return R=R||{},R.lact=ws(),R.vis=this.YW.getVisibilityState(),this.YW.lD(\"onPlayVideo\",{videoId:K,watchEndpoint:H,sessionData:R,listId:f}),!1;ofe(this.ye);this.ye.reset();K={video_id:K};V&&(K.autoplay=\"1\");V&&(K.autonav=\"1\");H&&(K.player_params=H.playerParams);l&&(K.oauth_token=l);f?(K.list=f,this.loadPlaylist(K)):this.loadVideoByPlayerVars(K,1);return!0};\ng.w.cuePlaylist=function(K,R,f,V){this.wP=!0;pUN(this,K,R,f,V)};\ng.w.loadPlaylist=function(K,R,f,V){this.wP=!1;pUN(this,K,R,f,V)};\ng.w.eV=function(){return this.YW.isMutedByMutedAutoplay()?!1:this.lM.pP?!0:!(!this.playlist||!this.playlist.hasNext())};\ng.w.cZ=go(7);\ng.w.nextVideo=function(K,R){var f=g.lv(this.z2().getVideoData());g.IC(this.YW)&&f?this.V4(f.videoId,R?f.gz:f.sessionData,f.playlistId,R,void 0,f.y5||void 0):this.JN?this.YW.iM(\"onPlaylistNext\"):this.getPresentingPlayerType()===3?Bm(this.kB).nextVideo():!this.playlist||eA(this.W)&&!this.YW.isFullscreen()||(this.playlist.hasNext(K)&&w_M(this.playlist,vfB(this.playlist)),this.playlist.loaded?(K=R&&this.W.Y(\"html5_player_autonav_logging\"),R&&this.YW.publish(\"playlistautonextvideo\"),this.Cy(g.lY(this.playlist,void 0,\nR,K),1)):this.wP=!1)};\ng.w.previousVideo=function(K){this.JN?this.YW.iM(\"onPlaylistPrevious\"):this.getPresentingPlayerType()===3?Bm(this.kB).Dm():!this.playlist||eA(this.W)&&!this.YW.isFullscreen()||(this.playlist.hasPrevious(K)&&w_M(this.playlist,LnB(this.playlist)),this.playlist.loaded?this.Cy(g.lY(this.playlist),1):this.wP=!1)};\ng.w.playVideoAt=function(K){this.JN?this.YW.iM(\"onPlaylistIndex\",K):this.playlist&&(this.playlist.loaded?this.Cy(g.lY(this.playlist,K),1):this.wP=!1,w_M(this.playlist,K))};\ng.w.getPlaylist=function(){return this.playlist};\ng.w.Ct=go(15);g.w.El=function(K){this.dI=g.Im(this.dI,function(H){return H.id!==K});\nfor(var R=this.z2(),f=R.qH(),V=0;V0&&(c=Math.floor(r/1E3))}c=R?R.w8:c;var y={AD_BLOCK:this.U++,AD_BREAK_LENGTH:c,AUTONAV_STATE:IL(this.player.C()),CA_TYPE:\"image\",CPN:F.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:this.player.C8()*1E3,LACT:ws(),LIVE_INDEX:R?this.X++:1,LIVE_TARGETING_CONTEXT:R&&R.context?R.context:\"\",MIDROLL_POS:H?\nMath.round(H.start/1E3):0,MIDROLL_POS_MS:H?Math.round(H.start):0,VIS:this.player.getVisibilityState(),P_H:this.player.Ft().xR().height,P_W:this.player.Ft().xR().width,YT_REMOTE:D?D.join(\",\"):\"\"},h=ij(SO);Object.keys(h).forEach(function(v){h[v]!=null&&(y[v.toUpperCase()]=h[v].toString())});\nf!==\"\"&&(y.BISCOTTI_ID=f);f={};o9(K)&&(f.sts=\"20402\",(R=this.player.C().forcedExperiments)&&(f.forced_experiments=R));var S=rG(g.XZ(K,y),f);return S.split(\"?\").length!==2?BE(Error(\"Invalid AdBreakInfo URL\")):g.r6(this.player.C(),F==null?void 0:F.oauthToken).then(function(v){if(v&&hm()){var L=jM();qy(L,v)}v=V.player.PU(L);L=QJ5(V,S,y,F.isMdxPlayback,l);return g.kQ(v,L,\"/youtubei/v1/player/ad_break\").then(function(E){return E})})};\ngP.prototype.reset=function(){this.X=this.U=1};g.x(Na2,gP);\nNa2.prototype.K=function(K,R,f){R=R===void 0?{}:R;var V=R.sK;var D=R.BU;var H=R.cueProcessedMs;f=f===void 0?\"\":f;R=this.U;this.U++;var l=this.player.C().Y(\"h5_disable_macro_substitution_in_get_ad_break\")?K:UZw(this,K,{sK:V,BU:D,cueProcessedMs:H},f,R);if(l.split(\"?\").length!==2)return Math.random()<.1&&g.A$(Error(\"Invalid AdBreakInfo URL\")),BE(Error(\"Invalid AdBreakInfo URL\"));var F=this.player.getVideoData(1).isMdxPlayback,c=f;f=v9v.exec(l);f=f!=null&&f.length>=2?f[1]:\"\";K=LBh.test(l);var r=wB_.exec(l);\nr=r!=null&&r.length>=2?r[1]:\"\";var y=zkh.exec(l);y=y!=null&&y.length>=2&&!Number.isNaN(Number(y[1]))?Number(y[1]):1;var h=xZN.exec(l);h=h!=null&&h.length>=2?h[1]:\"0\";var S=p5(this.player.C().kI),v=g.GE(this.player.getVideoData(1).UF,!0);rjN(this,v,l,c===\"\"?\"\":c,this.player.C(),this.player.getVideoData(1));c={splay:!1,lactMilliseconds:String(ws()),playerHeightPixels:Math.trunc(this.player.Ft().xR().height),playerWidthPixels:Math.trunc(this.player.Ft().xR().width),vis:Math.trunc(this.player.getVisibilityState()),\nsignatureTimestamp:20402,autonavState:IL(this.player.C())};if(F){F={};var L=this.player.C().lW;o9N(F,L?L.join(\",\"):\"\")&&(c.mdxContext=F)}if(F=E92.includes(S)?void 0:g.jO(\"PREF\")){L=F.split(RegExp(\"[:&]\"));for(var E=0,Q=L.length;E1&&J[1].toUpperCase()===\"TRUE\"){v.user.lockedSafetyMode=!0;break}}c.autoCaptionsDefaultOn=iFh(F)}l=amo.exec(l);(l=l!=null&&l.length>=2?l[1]:\"\")&&r&&(v.user.credentialTransferTokens=\n[{token:l,scope:\"VIDEO\"}]);l={contentPlaybackContext:c};c=this.player.getVideoData(1).getGetAdBreakContext();F=this.player.getVideoData(1).clientPlaybackNonce;L=H!==void 0?Math.round(H).toString():void 0;E=(V==null?0:V.context)?V.context:void 0;Q=0;H&&D&&!V&&(D=D.end-D.start,D>0&&(Q=Math.floor(D/1E3)));V=(V=Math.trunc((V?V.w8:Q)*1E3))?String(V):void 0;D=this.player.C8()*1E3;D=Number.isNaN(D)?0:Math.trunc(D);R={adBlock:R,params:f,breakIndex:y,breakPositionMs:h,clientPlaybackNonce:F,topLevelDomain:S,\nisProxyAdTagRequest:K,context:v,overridePlaybackContext:l,cueProcessedMs:L,videoId:r?r:void 0,liveTargetingParams:E,breakLengthMs:V,driftFromHeadMs:D?String(D):void 0,currentMediaTimeMs:String(Math.round(this.player.getCurrentTime(1)*1E3)),getAdBreakContext:c?c:void 0};return WBN(this,R)};var Mci={MZa:\"replaceUrlMacros\",qm0:\"onAboutThisAdPopupClosed\",wXp:\"executeCommand\"};t2G.prototype.Sd=function(){return\"adPingingEndpoint\"};\nt2G.prototype.RF=function(K,R,f){ys_(this.A5.get(),K,R,f)};AjM.prototype.Sd=function(){return\"changeEngagementPanelVisibilityAction\"};\nAjM.prototype.RF=function(K){this.G.lD(\"changeEngagementPanelVisibility\",{changeEngagementPanelVisibilityAction:K})};Jjv.prototype.Sd=function(){return\"loggingUrls\"};\nJjv.prototype.RF=function(K,R,f){K=g.Z(K);for(var V=K.next();!V.done;V=K.next())V=V.value,ys_(this.A5.get(),V.baseUrl,R,f,V.attributionSrcMode)};g.x(BaB,g.O);XB5.prototype.MY=function(K,R){var f={};R=Object.assign({},R,(f.cc=this.US.yE(),f));this.US.G.KQ(K,R)};g.x(jl,g.O);g.w=jl.prototype;g.w.addListener=function(K){this.listeners.push(K)};\ng.w.removeListener=function(K){this.listeners=this.listeners.filter(function(R){return R!==K})};\ng.w.Yh=function(K,R,f,V,D,H,l,F){if(K===\"\")dH(\"Received empty content video CPN in DefaultContentPlaybackLifecycleApi\");else if(K!==this.U||f){this.U=K;this.h5.get().Yh(K,R,f,V,D,H,l,F);this.Da.get().Yh(K,R,f,V,D,H,l,F);var c;(c=this.TF)==null||c.get().Yh(K,R,f,V,D,H,l,F);this.K.Yh(K,R,f,V,D,H,l,F);c=g.Z(this.listeners);for(var r=c.next();!r.done;r=c.next())r.value.Yh(K,R,f,V,D,H,l,F)}else dH(\"Duplicate content video loaded signal\")};\ng.w.sQp=function(){this.U&&this.zT(this.U)};\ng.w.zT=function(K){this.U=void 0;for(var R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.zT(K)};qG.prototype.WC=function(K,R,f,V,D){kHo(this);this.B=!R&&f===0;var H=this.G.getVideoData(1),l=this.G.getVideoData(2);H&&(this.contentCpn=H.clientPlaybackNonce,this.videoId=H.videoId,this.U=H.T);l&&(this.adCpn=l.clientPlaybackNonce,this.adVideoId=l.videoId,this.adFormat=l.adFormat);this.J=K;V<=0?(kHo(this),this.B=!R&&f===0):(this.actionType=this.B?R?\"unknown_type\":\"video_to_ad\":R?\"ad_to_video\":\"ad_to_ad\",this.videoStreamType=D?\"VIDEO_STREAM_TYPE_LIVE\":\"VIDEO_STREAM_TYPE_VOD\",this.actionType!==\"unknown_type\"&&\n(this.X=!0,A2(\"_start\",this.actionType)&&n95(this)))};\nqG.prototype.reset=function(){return new qG(this.G)};g.x(MG,g.O);MG.prototype.addCueRange=function(K,R,f,V,D,H,l,F,c){H=H===void 0?3:H;l=l===void 0?1:l;this.U.has(K)?dH(\"Tried to register duplicate cue range\",void 0,void 0,{CueRangeID:K}):(K=new ImB(K,R,f,V,H,F,c),this.U.set(K.id,{BU:K,listener:D,rC:l}),this.G.PV([K],l))};\nMG.prototype.removeCueRange=function(K){var R=this.U.get(K);R?(this.G.LF([R.BU],R.rC),this.U.delete(R.BU.id)):dH(\"Requested to remove unknown cue range\",void 0,void 0,{CueRangeID:K})};\nMG.prototype.onCueRangeEnter=function(K){if(this.U.has(K.id))this.U.get(K.id).listener.onCueRangeEnter(K.id)};\nMG.prototype.onCueRangeExit=function(K){if(this.U.has(K.id))this.U.get(K.id).listener.onCueRangeExit(K.id)};\ng.x(ImB,g.nQ);by.prototype.addPlayerResponseForAssociation=function(K){this.G.addPlayerResponseForAssociation(K)};px.prototype.Z3=function(K){this.G.Z3(K)};\npx.prototype.gV=function(K){var R=g.wW.apply(1,arguments);K===\"onAdStart\"||K===\"onAdEnd\"?this.G.h$.apply(this.G,[K].concat(g.X(R))):this.G.lD.apply(this.G,[K].concat(g.X(R)))};var sJG=null;g.x(u2c,g.VQ);u2c.prototype.A6=function(K){return this.U.hasOwnProperty(K)?this.U[K].A6():{}};\ng.WT(\"ytads.bulleit.getVideoMetadata\",function(K){return m0().A6(K)});\ng.WT(\"ytads.bulleit.triggerExternalActivityEvent\",function(K,R,f){var V=m0();f=GHB(f);f!==null&&V.publish(f,{queryId:K,viewabilityString:R})});g.w=G0.prototype;g.w.NH=function(K,R){if(!this.U.has(K))return{};if(R===\"seek\"){R=!1;R=R===void 0?!1:R;var f=kO(fw).HN(K,{});f?Cs(f):R&&(K=kO(fw).u3(null,YP(),!1,K),K.yZ=3,MqM([K]));return{}}R=ekB(R);if(R===null)return{};var V=this.G.XA();if(!V)return{};var D=this.G.getPresentingPlayerType(!0);if((f=this.G.getVideoData(D))==null||!f.isAd())return{};f={opt_adElement:V,opt_fullscreen:this.h5.get().isFullscreen()};return MF_(R,K,f)};\ng.w.FS=function(K,R,f,V,D){this.U.has(K)&&(V<=0||D<=0||kO(fw).FS(K,R,f,V,D))};\ng.w.Ob=function(K){var R;(R=this.U.get(K.queryId))==null||R.Ob()};\ng.w.rP=function(K){var R;(R=this.U.get(K.queryId))==null||R.rP()};\ng.w.Zd=function(K){var R;(R=this.U.get(K.queryId))==null||R.Zd()};\ng.w.C3=function(K){var R;(R=this.U.get(K.queryId))==null||R.C3()};\ng.w.lJ=function(K){var R;(R=this.U.get(K.queryId))==null||R.lJ()};lg2.prototype.send=function(K,R,f,V){try{d_M(this,K,R,f,V===void 0?!1:V)}catch(D){}};g.x(Fme,lg2);cso.prototype.send=function(K,R,f,V){var D=!1;try{if(V===\"ATTRIBUTION_SRC_MODE_LABEL_CHROME\"||V===\"ATTRIBUTION_SRC_MODE_XHR_OPTION\")D=!0,K=Byz(K);V=D;var H=g.Qu(K);if(H[1]===\"https\")var l=K;else H[1]=\"https\",l=a_(\"https\",H[2],H[3],H[4],H[5],H[6],H[7]);var F=J52(l);H=[];var c=Edz(l)&&this.wU.get().G.C().experiments.rU(\"add_auth_headers_to_remarketing_google_dot_com_ping\");if(o9(l)||c)H.push({headerType:\"USER_AUTH\"}),H.push({headerType:\"PLUS_PAGE_ID\"}),H.push({headerType:\"VISITOR_ID\"}),H.push({headerType:\"EOM_VISITOR_ID\"}),\nH.push({headerType:\"AUTH_USER\"}),H.push({headerType:\"DATASYNC_ID\"});this.U.send({baseUrl:l,scrubReferrer:F,headers:H},R,f,V)}catch(r){}};Rf.prototype.UJ=function(){return this.G.UJ(1)};g.x(fR,g.O);g.w=fR.prototype;g.w.yE=function(){return this.G.getVideoData(1).clientPlaybackNonce};\ng.w.addListener=function(K){this.listeners.push(K)};\ng.w.removeListener=function(K){this.listeners=this.listeners.filter(function(R){return R!==K})};\ng.w.Yh=function(){this.qO.clear();this.yg=null;this.JR.get().clear()};\ng.w.zT=function(){};\ng.w.lND=function(K,R,f){R.videoId===\"nPpU29QrbiU\"&&this.G.KQ(\"ads_ssm_vdc_s\",{pt:f,dvt:K});fu(this.wU.get())&&K!==\"dataloaded\"||wjM(this,R,f)};\ng.w.J$r=function(K,R){K!==void 0&&(this.yg=K,R===void 0?dH(\"Expected ad video start time on SS video changed\"):this.qO.set(K,R));var f=this.G.getPresentingPlayerType(!0),V=this.G.getVideoData(f),D;K===void 0?D=null:D=this.JR.get().U.get(K)||null;this.G.getVideoData(1).KQ(\"ads_ssvc\",{pt:f,cpn:V==null?void 0:V.clientPlaybackNonce,crtt:this.G.getCurrentTime(1,!1),atlh:this.G.isAtLiveHead(),adstt:R,pid:K,slid:D==null?void 0:D.layoutId});V?wjM(this,V,f):dH(\"Expected video data on server stitched video changed\",\nvoid 0,void 0,{cpn:this.G.getVideoData(1).clientPlaybackNonce,timelinePlaybackId:K})};\ng.w.cC=function(K,R){var f=K.author,V=K.clientPlaybackNonce,D=K.isListed,H=K.As,l=K.title,F=K.cR,c=K.sT,r=K.isMdxPlayback,y=K.Jc,h=K.mdxEnvironment,S=K.isAutonav,v=K.ag,L=K.Z8,E=K.q2,Q=K.videoId||\"\",J=K.profilePicture||\"\",A=K.M$||\"\",B=K.mO()||!1,k=K.Jh()||!1;K=K.rT||void 0;H=this.JR.get().U.get(H)||{layoutId:null,slotId:null};var b=this.G.getVideoData(1),M=b.qY();b=b.getPlayerResponse();R=1E3*this.G.getDuration(R);var Hc=1E3*this.G.getDuration(1),fB,Rw,FG=(b==null?void 0:(fB=b.playerConfig)==null?\nvoid 0:(Rw=fB.daiConfig)==null?void 0:Rw.enableDai)||!1,yN,VN;fB=(b==null?void 0:(yN=b.playerConfig)==null?void 0:(VN=yN.daiConfig)==null?void 0:VN.enablePreroll)||!1;return Object.assign({},H,{videoId:Q,author:f,clientPlaybackNonce:V,sI:R,y6:Hc,daiEnabled:FG,ai:fB,isListed:D,qY:M,profilePicture:J,title:l,M$:A,cR:F,sT:c,rT:K,isMdxPlayback:r,Jc:y,mdxEnvironment:h,isAutonav:S,ag:v,Z8:L,q2:E,mO:B,Jh:k})};\ng.w.uD=function(){this.listeners.length=0;this.N2=null;g.O.prototype.uD.call(this)};g.x(V8,g.O);g.w=V8.prototype;g.w.Yh=function(){var K=this;this.Ea=Ga(function(){K.G.mZ()||K.G.Kv(\"ad\",1)})};\ng.w.zT=function(){};\ng.w.addListener=function(K){this.listeners.push(K)};\ng.w.removeListener=function(K){this.listeners=this.listeners.filter(function(R){return R!==K})};\ng.w.S6=function(){};\ng.w.playVideo=function(){this.G.playVideo()};\ng.w.pauseVideo=function(){this.G.pauseVideo()};\ng.w.resumeVideo=function(K){this.gC(K)&&this.G.playVideo()};\ng.w.gC=function(K){return this.G.getPlayerState(K)===2};\ng.w.getCurrentTimeSec=function(K,R){var f=this.Da.get().yg;return K!==2||R||f===null?this.G.getCurrentTime(K,R):HA(this,f)};\ng.w.getVolume=function(){return this.G.getVolume()};\ng.w.isMuted=function(){return this.G.isMuted()};\ng.w.getPresentingPlayerType=function(){return this.G.getPresentingPlayerType(!0)};\ng.w.getPlayerState=function(K){return this.G.getPlayerState(K)};\ng.w.getGetAdBreakContext=function(){return this.G.getGetAdBreakContext()};\ng.w.isFullscreen=function(){return this.G.isFullscreen()};\ng.w.isAtLiveHead=function(){return this.G.isAtLiveHead()};\ng.w.XT=function(K){this.G.XT(K)};\ng.w.rhp=function(){var K=this.G.getPresentingPlayerType(!0),R=this.getCurrentTimeSec(K,!1);if(K===2){K=g.Z(this.listeners);for(var f=K.next();!f.done;f=K.next())f.value.fF(R)}else if(K===1)for(K=g.Z(this.F5),f=K.next();!f.done;f=K.next())f.value.S6(R)};\ng.w.h40=function(K){for(var R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.xI(K,this.getPresentingPlayerType())};\ng.w.onFullscreenToggled=function(K){for(var R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.onFullscreenToggled(K)};\ng.w.onVolumeChange=function(){for(var K=g.Z(this.listeners),R=K.next();!R.done;R=K.next())R.value.onVolumeChange()};\ng.w.zr=function(){for(var K=this.G.isMinimized(),R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.zr(K)};\ng.w.q4=function(K){for(var R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.q4(K)};\ng.w.xl=function(){for(var K=this.G.Ft().xR(),R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.Bo(K)};\ng.w.hx=function(K){for(var R=g.Z(this.listeners),f=R.next();!f.done;f=R.next())f.value.hx(K)};\ng.w.Ax=function(){for(var K=g.Z(this.listeners),R=K.next();!R.done;R=K.next())R.value.Ax()};g.x(Q15,g.O);g.x(dw,g.O);dw.prototype.uD=function(){this.JZ.mZ()||this.JZ.get().removeListener(this);g.O.prototype.uD.call(this)};Fa.prototype.fetch=function(K){var R=K.YD;return this.U.fetch(K.Kk,{sK:K.sK===void 0?void 0:K.sK,BU:R,cueProcessedMs:K.cueProcessedMs===void 0?0:K.cueProcessedMs}).then(function(f){return NRD(f,R)})};g.x(cA,g.O);g.w=cA.prototype;g.w.addListener=function(K){this.listeners.push(K)};\ng.w.removeListener=function(K){this.listeners=this.listeners.filter(function(R){return R!==K})};\ng.w.YU=function(K){U__(this,K,1)};\ng.w.onAdUxClicked=function(K,R){rw(this,function(f){f.W9(K,R)})};\ng.w.PL=function(K){rw(this,function(R){R.zq(K)})};\ng.w.ZD=function(K){rw(this,function(R){R.pV(K)})};\ng.w.Cd0=function(K){rw(this,function(R){R.lO(K)})};y8.prototype.reduce=function(K){switch(K.event){case \"unknown\":return}var R=K.identifier;var f=this.U[R];f?R=f:(f={SB:null,s4:-Infinity},R=this.U[R]=f);f=K.startSecs+K.U/1E3;if(!(f=this.U.startSecs&&f.startSecs<=this.U.startSecs+this.U.w8)){var V=void 0;if(VL(this.wU.get())&&f.identifier!==((V=this.U)==null?void 0:V.identifier)){var D=V=void 0,H=void 0,l=void 0;mN(this.A5.get(),\"ocud\",\"ccpi.\"+f.identifier+\";ccpe.\"+f.event+\";ccps.\"+f.startSecs+\";\\n ccpd.\"+f.w8+\";pcpi.\"+((V=this.U)==null?void 0:V.identifier)+\n\";pcpe.\"+((D=this.U)==null?void 0:D.event)+\";\\n pcps.\"+((H=this.U)==null?void 0:H.startSecs)+\";pcpd.\"+((l=this.U)==null?void 0:l.w8)+\";\")}V=void 0;f.identifier!==((V=this.U)==null?void 0:V.identifier)&&dH(\"Latest Endemic Live Web cue point overlaps with previous cue point\")}else this.U=f,Ash(this,f)}};\ng.w.uD=function(){this.K!=null&&(this.K.unsubscribe(\"cuepointupdated\",this.cL,this),this.K=null);this.listeners.length=0;this.gA.length=0;g.O.prototype.uD.call(this)};g.w=SN.prototype;g.w.tY=function(K,R,f,V,D,H,l,F){return this.G.tY(K,R,f,V,D,H,l,F)};\ng.w.eX=function(K,R){this.G.eX(K,R)};\ng.w.mI=function(K,R,f){this.G.mI(K,R,f)};\ng.w.Uz=function(K){this.G.Uz(K)};\ng.w.wc=function(K,R,f,V,D,H,l,F){this.G.wc(K,R,f,V,D,H,l,F)};\ng.w.Io=function(K){return this.G.Io(K)};\ng.w.finishSegmentByCpn=function(K,R,f){f=BRB(f);this.G.finishSegmentByCpn(K,R,f)};g.x(ix,g.O);g.x(kcG,g.O);g.x(TRB,g.O);g.x(PsM,g.O);g.x(nmG,g.O);g.x(IgD,g.O);g.x(O2B,g.O);O2B.prototype.X=function(){return this.K};g.x(j1z,qf);\nj1z.prototype.X=function(K){var R=K.content;if(R.componentType===\"shopping-companion\")switch(K.actionType){case 1:case 2:K=this.U.getVideoData(1);this.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:K&&K.videoId,shoppingCompanionCarouselRenderer:R.renderer,layoutId:R.layoutId,macros:R.macros,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});break;case 3:this.U.lD(\"updateKevlarOrC3Companion\",{})}else if(R.componentType===\"action-companion\")switch(K.actionType){case 1:case 2:K=this.U.getVideoData(1);\nthis.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:K&&K.videoId,actionCompanionAdRenderer:R.renderer,layoutId:R.layoutId,macros:R.macros,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});break;case 3:R.renderer&&(R=this.U.getVideoData(1),this.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:R&&R.videoId})),this.U.lD(\"updateKevlarOrC3Companion\",{})}else if(R.componentType===\"image-companion\")switch(K.actionType){case 1:case 2:K=this.U.getVideoData(1);this.U.lD(\"updateKevlarOrC3Companion\",\n{contentVideoId:K&&K.videoId,imageCompanionAdRenderer:R.renderer,layoutId:R.layoutId,macros:R.macros,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});break;case 3:R=this.U.getVideoData(1),this.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:R&&R.videoId}),this.U.lD(\"updateKevlarOrC3Companion\",{})}else if(R.componentType===\"top-banner-image-text-icon-buttoned\")switch(K.actionType){case 1:case 2:K=this.U.getVideoData(1);this.U.lD(\"updateKevlarOrC3Companion\",\n{contentVideoId:K&&K.videoId,topBannerImageTextIconButtonedLayoutViewModel:R.renderer,layoutId:R.layoutId,macros:R.macros,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});break;case 3:R.renderer&&(R=this.U.getVideoData(1),this.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:R&&R.videoId})),this.U.lD(\"updateKevlarOrC3Companion\",{})}else if(R.componentType===\"banner-image\")switch(K.actionType){case 1:case 2:K=this.U.getVideoData(1);this.U.lD(\"updateKevlarOrC3Companion\",\n{contentVideoId:K&&K.videoId,bannerImageLayoutViewModel:R.renderer,layoutId:R.layoutId,macros:R.macros,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});break;case 3:R=this.U.getVideoData(1),this.U.lD(\"updateKevlarOrC3Companion\",{contentVideoId:R&&R.videoId}),this.U.lD(\"updateKevlarOrC3Companion\",{})}else if(R.componentType===\"ads-engagement-panel\")switch(R=R.renderer,K.actionType){case 1:case 2:this.U.lD(\"updateEngagementPanelAction\",R.addAction);this.U.lD(\"changeEngagementPanelVisibility\",\nR.expandAction);break;case 3:this.U.lD(\"changeEngagementPanelVisibility\",R.hideAction),this.U.lD(\"updateEngagementPanelAction\",R.removeAction)}else if(R.componentType===\"ads-engagement-panel-layout\"){var f=R.renderer;switch(K.actionType){case 1:case 2:this.U.lD(\"updateEngagementPanelAction\",{action:XY(f.addAction),layoutId:R.layoutId,onLayoutVisibleCallback:R.U,interactionLoggingClientData:R.interactionLoggingClientData});this.U.lD(\"changeEngagementPanelVisibility\",XY(f.expandAction));break;case 3:this.U.lD(\"changeEngagementPanelVisibility\",\nXY(f.hideAction)),this.U.lD(\"updateEngagementPanelAction\",{action:XY(f.removeAction)})}}};g.x(q8w,sl);g.w=q8w.prototype;g.w.init=function(K,R,f){sl.prototype.init.call(this,K,R,f);g.Ds(this.X,\"stroke-dasharray\",\"0 \"+this.K);this.X.classList.add(\"ytp-ad-timed-pie-countdown-inner-light\");this.B.classList.add(\"ytp-ad-timed-pie-countdown-outer-light\");this.J.classList.add(\"ytp-ad-timed-pie-countdown-container-upper-right\");this.show()};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){eD(this);sl.prototype.hide.call(this)};\ng.w.show=function(){CS(this);sl.prototype.show.call(this)};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();K!=null&&K.current!=null&&g.Ds(this.X,\"stroke-dasharray\",K.current/K.seekableEnd*this.K+\" \"+this.K)}};g.x(MfB,FW);g.w=MfB.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);if(R.image&&R.image.thumbnail)if(R.headline)if(R.description)if(R.backgroundImage&&R.backgroundImage.thumbnail)if(R.actionButton&&g.z(R.actionButton,g.xu))if(K=R.durationMilliseconds||0,typeof K!==\"number\"||K<=0)g.WR(Error(\"durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: \"+K));else if(R.navigationEndpoint){var V=this.api.getVideoData(2);if(V!=null){var D=R.image.thumbnail.thumbnails;D!=null&&\nD.length>0&&g.Ca(g.Y7(D[0].url))&&(D[0].url=V.profilePicture,g.Ca(g.Y7(V.profilePicture))&&M$c(\"VideoPlayer\",239976093,\"Expected non-empty profile picture.\"));D=R.backgroundImage.thumbnail.thumbnails;D!=null&&D.length>0&&g.Ca(g.Y7(D[0].url))&&(D[0].url=V.AK());D=R.headline;D!=null&&g.Ca(g.Y7(D.text))&&(D.text=V.author)}this.Z.init(Rh(\"ad-image\"),R.image,f);this.B.init(Rh(\"ad-text\"),R.headline,f);this.X.init(Rh(\"ad-text\"),R.description,f);this.oY.init(Rh(\"ad-image\"),R.backgroundImage,f);V=[\"ytp-ad-action-interstitial-action-button\",\n\"ytp-ad-action-interstitial-action-button-rounded\"];this.slot.classList.add(\"ytp-ad-action-interstitial-slot-dark-background\");this.B.element.classList.add(\"ytp-ad-action-interstitial-headline-light\");this.X.element.classList.add(\"ytp-ad-action-interstitial-description-light\");this.api.C().Y(\"enable_default_mono_cta_migration_web_client\")?V.push(\"ytp-ad-action-interstitial-action-button-mono-dark\"):V.push(\"ytp-ad-action-interstitial-action-button-dark\");this.api.C().K&&(V.push(\"ytp-ad-action-interstitial-action-button-mobile-companion-size\"),\nthis.api.C().Y(\"enable_default_mono_cta_migration_web_client\")?V.push(\"ytp-ad-action-interstitial-action-button-mono-dark\"):V.push(\"ytp-ad-action-interstitial-action-button-dark\"));this.api.C().Y(\"enable_unified_action_endcap_on_web\")&&!this.api.C().K&&(this.api.C().Y(\"enable_default_mono_cta_migration_web_client\")?V.push(\"ytp-ad-action-interstitial-action-button-unified-mono\"):V.push(\"ytp-ad-action-interstitial-action-button-unified\"),this.kW.classList.add(\"ytp-ad-action-interstitial-action-button-container-unified\"),\nthis.Z.element.classList.add(\"ytp-ad-action-interstitial-image-unified\"),this.OF.classList.add(\"ytp-ad-action-interstitial-background-container-unified\"),this.qR.classList.add(\"ytp-ad-action-interstitial-card-unified\"),this.aY.classList.add(\"ytp-ad-action-interstitial-description-container-unified\"),this.X.element.classList.add(\"ytp-ad-action-interstitial-description-unified\"),this.y0.classList.add(\"ytp-ad-action-interstitial-headline-container-unified\"),this.B.element.classList.add(\"ytp-ad-action-interstitial-headline-unified\"),\nthis.qe.classList.add(\"ytp-ad-action-interstitial-image-container-unified\"),this.G2.classList.add(\"ytp-ad-action-interstitial-instream-info-unified\"),this.slot.classList.add(\"ytp-ad-action-interstitial-slot-unified\"));this.actionButton=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,V);g.q(this,this.actionButton);this.actionButton.V0(this.kW);this.actionButton.init(Rh(\"button\"),g.z(R.actionButton,g.xu),f);Yl(this.actionButton.element);V=u7(this.actionButton.element);G_(this.actionButton.element,\nV+\" This link opens in new tab\");this.navigationEndpoint=R.navigationEndpoint;this.J.j(this.qe,\"click\",this.Z5,this);this.J.j(this.aY,\"click\",this.Z5,this);this.api.C().K||this.J.j(this.y0,\"click\",this.Z5,this);this.U=this.wu?new L0(this.api,K):new wH(K);g.q(this,this.U);if(R.skipButton){(K=g.z(R.skipButton,dBp))&&this.U&&(this.skipButton=new yd(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.U,this.tD),g.q(this,this.skipButton),this.skipButton.V0(this.element),this.skipButton.init(Rh(\"skip-button\"),\nK,f));if(f=R.adBadgeRenderer)if(f=g.z(f,lDE))K=new id(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0,!0),K.V0(this.G2),K.init(Rh(\"simple-ad-badge\"),f,this.macros),g.q(this,K);if(f=R.adInfoRenderer)if(f=g.z(f,wh))K=new m2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.element,void 0,!0),K.V0(this.G2),K.init(Rh(\"ad-info-hover-text-button\"),f,this.macros),g.q(this,K)}else R.nonskippableOverlayRenderer&&(K=g.z(R.nonskippableOverlayRenderer,zz))&&this.U&&(this.K=\nnew f0(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.U,!1),g.q(this,this.K),this.K.V0(this.element),this.K.init(Rh(\"ad-preview\"),K,f));R.countdownRenderer&&(R=R.countdownRenderer,g.z(R,FeE)&&this.U&&(f=new q8w(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.U),g.q(this,f),f.V0(this.element),f.init(Rh(\"timed-pie-countdown\"),g.z(R,FeE),this.macros)));this.show();this.element.focus()}else g.WR(Error(\"AdActionInterstitialRenderer has no navigation endpoint.\"));\nelse g.WR(Error(\"AdActionInterstitialRenderer has no button.\"));else g.WR(Error(\"AdActionInterstitialRenderer has no background AdImage.\"));else g.WR(Error(\"AdActionInterstitialRenderer has no description AdText.\"));else g.WR(Error(\"AdActionInterstitialRenderer has no headline AdText.\"));else g.WR(Error(\"AdActionInterstitialRenderer has no image.\"))};\ng.w.clear=function(){g.kc(this.J);this.hide()};\ng.w.show=function(){b2z(!0);this.actionButton&&this.actionButton.show();this.skipButton&&this.skipButton.show();this.K&&this.K.show();FW.prototype.show.call(this)};\ng.w.hide=function(){b2z(!1);this.actionButton&&this.actionButton.hide();this.skipButton&&this.skipButton.hide();this.K&&this.K.hide();FW.prototype.hide.call(this)};\ng.w.Z5=function(){this.navigationEndpoint&&(this.layoutId?this.H5.executeCommand(this.navigationEndpoint,this.layoutId):g.WR(Error(\"Missing layoutId for ad action interstitial.\")))};var u5B={iconType:\"CLOSE\"},zP=new g.lu(320,63);g.x(Gcw,FW);g.w=Gcw.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);this.J=R;this.Z=g.$n(this.J.onClickCommands||[]);this.G2=this.J.onErrorCommand||null;if(K=this.J.contentSupportedRenderer)K=this.J.contentSupportedRenderer,R=this.J.adInfoRenderer||null,g.z(K,DBz)?(this.B=g.Ea(\"ytp-ad-overlay-ad-info-button-container\",this.X.element),s1o(this,R),K=eNB(this,g.z(K,DBz))):g.z(K,HBS)?(this.B=g.Ea(\"ytp-ad-overlay-ad-info-button-container\",this.K.element),s1o(this,R),K=KWh(this,g.z(K,HBS))):g.z(K,$B_)?(this.B=\ng.Ea(\"ytp-ad-overlay-ad-info-button-container\",this.U.element),s1o(this,R),K=ReG(this,g.z(K,$B_))):(g.WR(Error(\"InvideoOverlayAdRenderer content could not be initialized.\")),K=!1);K&&(this.show(),fZ2(this,!0))};\ng.w.clear=function(){fZ2(this,!1);this.qe.reset();this.aY=0;this.X.hide();this.logVisibility(this.X.element,!1);this.K.hide();this.logVisibility(this.K.element,!1);this.U.hide();this.logVisibility(this.U.element,!1);this.hide();this.dispose()};\ng.w.s0U=function(){this.kW&&(this.layoutId?this.H5.executeCommand(this.kW,this.layoutId):g.WR(Error(\"Missing layoutId for invideo_overlay_ad.\")));this.api.pauseVideo()};\ng.w.mU=function(){a:{if(this.J&&this.J.closeButton&&this.J.closeButton.buttonRenderer){var K=this.J.closeButton.buttonRenderer;if(K.serviceEndpoint){K=[K.serviceEndpoint];break a}}K=[]}K=g.Z(K);for(var R=K.next();!R.done;R=K.next())R=R.value,this.layoutId?this.H5.executeCommand(R,this.layoutId):g.WR(Error(\"Missing layoutId for invideo_overlay_ad.\"));this.api.onAdUxClicked(\"in_video_overlay_close_button\",this.layoutId)};\ng.w.LBr=function(){this.oY||this.api.getPlayerState(1)!==2||this.api.playVideo()};\ng.w.V7=function(){this.oY||this.api.getPlayerState(1)!==2||this.api.playVideo();this.api.V7(\"invideo-overlay\")};\ng.w.HhF=function(K){K.target===this.B&&g.Ea(\"ytp-ad-button\",this.OF.element).click()};g.x(VjB,sl);g.w=VjB.prototype;g.w.init=function(K,R,f){sl.prototype.init.call(this,K,R,f);K=R.durationMs;this.X=K==null||K===0?0:K+this.U.getProgressState().current*1E3;if(R.text)var V=R.text.templatedAdText;else R.staticMessage&&(V=R.staticMessage);this.messageText.init(Rh(\"ad-text\"),V,f);this.messageText.V0(this.K.element);this.J.show(100);this.show()};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){DnM(this,!1);sl.prototype.hide.call(this);this.K.hide();this.messageText.hide();eD(this)};\ng.w.show=function(){DnM(this,!0);sl.prototype.show.call(this);CS(this);this.K.show();this.messageText.show()};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(this.U!=null){var K=this.U.getProgressState();K!=null&&K.current!=null&&(K=1E3*K.current,!this.aY&&K>=this.X?(this.J.hide(),this.aY=!0):this.messageText&&this.messageText.isTemplated()&&(K=Math.max(0,Math.ceil((this.X-K)/1E3)),K!==this.B&&(u4(this.messageText,{TIME_REMAINING:String(K)}),this.B=K)))}};g.x(HAB,FW);g.w=HAB.prototype;\ng.w.init=function(K,R,f){FW.prototype.init.call(this,K,R,{});R.image&&R.image.thumbnail?R.headline?R.description?R.actionButton&&g.z(R.actionButton,g.xu)?(this.X.init(Rh(\"ad-image\"),R.image,f),this.K.init(Rh(\"ad-text\"),R.headline,f),this.J.init(Rh(\"ad-text\"),R.description,f),this.actionButton=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,[\"ytp-ad-underlay-action-button\"]),R.backgroundColor&&g.Ds(this.element,\"background-color\",g.TE(R.backgroundColor)),g.q(this,this.actionButton),\nthis.actionButton.V0(this.B),this.actionButton.init(Rh(\"button\"),g.z(R.actionButton,g.xu),f),K=g.mz(this.api.C().experiments,\"player_underlay_video_width_fraction\"),this.api.C().Y(\"place_shrunken_video_on_left_of_player\")?(R=this.U,g.c2(R,\"ytp-ad-underlay-left-container\"),g.dy(R,\"ytp-ad-underlay-right-container\"),g.Ds(this.U,\"margin-left\",Math.round((K+.02)*100)+\"%\")):(R=this.U,g.c2(R,\"ytp-ad-underlay-right-container\"),g.dy(R,\"ytp-ad-underlay-left-container\")),g.Ds(this.U,\"width\",Math.round((1-K-\n.04)*100)+\"%\"),this.api.lU()&&this.show(),this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.fk.bind(this)),this.api.addEventListener(\"resize\",this.Gv.bind(this))):g.WR(Error(\"InstreamAdPlayerUnderlayRenderer has no button.\")):g.WR(Error(\"InstreamAdPlayerUnderlayRenderer has no description AdText.\")):g.WR(Error(\"InstreamAdPlayerUnderlayRenderer has no headline AdText.\")):g.WR(Error(\"InstreamAdPlayerUnderlayRenderer has no image.\"))};\ng.w.show=function(){$n2(!0);this.actionButton&&this.actionButton.show();FW.prototype.show.call(this)};\ng.w.hide=function(){$n2(!1);this.actionButton&&this.actionButton.hide();FW.prototype.hide.call(this)};\ng.w.clear=function(){this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.fk.bind(this));this.api.removeEventListener(\"resize\",this.Gv.bind(this));this.hide()};\ng.w.onClick=function(K){FW.prototype.onClick.call(this,K);this.actionButton&&g.Ta(this.actionButton.element,K.target)&&this.api.pauseVideo()};\ng.w.fk=function(K){K===\"transitioning\"?(this.U.classList.remove(\"ytp-ad-underlay-clickable\"),this.show()):K===\"visible\"?this.U.classList.add(\"ytp-ad-underlay-clickable\"):K===\"hidden\"&&(this.hide(),this.U.classList.remove(\"ytp-ad-underlay-clickable\"))};\ng.w.Gv=function(K){K.width>1200?(this.actionButton.element.classList.add(\"ytp-ad-underlay-action-button-large\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-medium\")):K.width>875?(this.actionButton.element.classList.add(\"ytp-ad-underlay-action-button-medium\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-large\")):(this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-large\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-medium\"));\ng.Ds(this.K.element,\"font-size\",K.width/40+\"px\")};g.x(xS,FW);\nxS.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);R.toggledLoggingParams&&(this.toggledLoggingParams=R.toggledLoggingParams);R.answer&&g.z(R.answer,g.xu)?(K=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,[\"ytp-ad-survey-answer-button\"],\"survey-single-select-answer-button\"),K.V0(this.answer),K.init(Rh(\"ytp-ad-survey-answer-button\"),g.z(R.answer,g.xu),f),K.show()):R.answer&&g.z(R.answer,zD)&&(this.U=new Ol(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,\n[\"ytp-ad-survey-answer-toggle-button\"]),this.U.V0(this.answer),g.q(this,this.U),this.U.init(Rh(\"survey-answer-button\"),g.z(R.answer,zD),f));this.show()};\nxS.prototype.ej=function(K){this.layoutId?WX(this.H5,K,this.layoutId,this.macros):(K=new g.NB(\"There is undefined layoutId when calling the runCommand method.\",{componentType:this.componentType}),g.WR(K))};\nxS.prototype.onClick=function(K){FW.prototype.onClick.call(this,K);if(this.api.C().Y(\"supports_multi_step_on_desktop\")&&this.index!==null)this.onSelected(this.index)};\nxS.prototype.clear=function(){this.hide()};g.x(lZz,FW);lZz.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);R.answer&&g.z(R.answer,zD)&&(this.button=new Ol(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,[\"ytp-ad-survey-answer-toggle-button\",\"ytp-ad-survey-none-of-the-above-button\"]),this.button.V0(this.U),this.button.init(Rh(\"survey-none-of-the-above-button\"),g.z(R.answer,zD),f));this.show()};g.x(EW,ZQ);EW.prototype.init=function(K,R,f){ZQ.prototype.init.call(this,K,R,f);K=!1;R.text&&(R=g.ri(R.text),K=!g.Ca(R));K||g.A$(Error(\"No submit text was present in the renderer.\"))};\nEW.prototype.onClick=function(K){this.publish(\"l\");ZQ.prototype.onClick.call(this,K)};g.x(af,FW);\naf.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);if(K=R.skipOrPreviewRenderer)g.z(K,Cy)?(K=g.z(K,Cy),f=new ov(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.J,!0),f.V0(this.skipOrPreview),f.init(Rh(\"skip-button\"),K,this.macros),g.q(this,f),this.U=f):g.z(K,zz)&&(K=g.z(K,zz),f=new f0(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.J,!1),f.V0(this.skipOrPreview),f.init(Rh(\"ad-preview\"),K,this.macros),f.aY.show(100),f.show(),g.q(this,f),\nthis.U=f);this.U==null&&(K=Error(\"ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: \"+JSON.stringify(R)),g.WR(K));R.submitButton&&(K=R.submitButton,g.z(K,g.xu)&&(K=g.z(K,g.xu),f=new EW(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),f.V0(this.submitButton),f.init(Rh(\"survey-submit\"),K,this.macros),g.q(this,f),this.K=f));if(K=R.adBadgeRenderer)K=g.z(K,lDE),f=new id(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0,!0,!0),f.V0(this.X),f.init(Rh(\"simple-ad-badge\"),\nK,this.macros),this.adBadge=f.element,g.q(this,f);if(K=R.adDurationRemaining)K=g.z(K,RM$),f=new E_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.J,void 0,!0),f.V0(this.X),f.init(Rh(\"ad-duration-remaining\"),K,this.macros),g.q(this,f);(R=R.adInfoRenderer)&&g.z(R,wh)&&(K=new m2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.element,void 0,!0),g.q(this,K),this.adBadge!==void 0?this.X.insertBefore(K.element,this.adBadge.nextSibling):K.V0(this.X),K.init(Rh(\"ad-info-hover-text-button\"),\ng.z(R,wh),this.macros));this.show()};\naf.prototype.clear=function(){this.hide()};g.x(Q8,FW);Q8.prototype.init=function(K,R,f){FW.prototype.init.call(this,K,R,f);yy_(this)};\nQ8.prototype.show=function(){this.X=Date.now();FW.prototype.show.call(this)};\nQ8.prototype.b_=function(){};g.x(hew,Q8);g.w=hew.prototype;g.w.init=function(K,R,f){var V=this;Q8.prototype.init.call(this,K,R,f);R.questionText&&dne(this,R.questionText);R.answers&&R.answers.forEach(function(D,H){g.z(D,Lj)&&FWc(V,g.z(D,Lj),f,H)});\nthis.B=new Set(this.K.map(function(D){return D.U.U}));\n(K=R.noneOfTheAbove)&&(K=g.z(K,Vh8))&&oBo(this,K,f);R.surveyAdQuestionCommon&&ryw(this,R.surveyAdQuestionCommon);R.submitEndpoints&&(this.submitEndpoints=R.submitEndpoints);this.j(this.element,\"change\",this.onChange);this.show()};\ng.w.b_=function(){S4w(this,!1);this.J.K.subscribe(\"l\",this.oNe,this)};\ng.w.onChange=function(K){K.target===this.noneOfTheAbove.button.U?iA5(this):this.B.has(K.target)&&(this.noneOfTheAbove.button.toggleButton(!1),S4w(this,!0))};\ng.w.oNe=function(){var K=[],R=this.K.reduce(function(D,H,l){var F=H.toggledLoggingParams;H.U&&H.U.isToggled()&&F&&(D.push(F),K.push(l));return D},[]).join(\"&\"),f=this.submitEndpoints.map(function(D){if(!D.loggingUrls)return D;\nD=g.Py(D);D.loggingUrls=D.loggingUrls.map(function(H){H.baseUrl&&(H.baseUrl=Xv(H.baseUrl,R));return H});\nreturn D});\nif(f){f=g.Z(f);for(var V=f.next();!V.done;V=f.next())V=V.value,this.layoutId?WX(this.H5,V,this.layoutId,this.macros):g.WR(Error(\"Missing layoutId for multi_select_question.\"))}this.api.C().Y(\"supports_multi_step_on_desktop\")&&this.aY(K)};\ng.w.clear=function(){this.api.C().Y(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():this.dispose()};g.x(Nu,Q8);Nu.prototype.init=function(K,R,f){var V=this;Q8.prototype.init.call(this,K,R,f);R.questionText&&dne(this,R.questionText);R.answers&&R.answers.forEach(function(D,H){g.z(D,Lj)&&FWc(V,g.z(D,Lj),f,H)});\nR.surveyAdQuestionCommon?ryw(this,R.surveyAdQuestionCommon):t$(Error(\"SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: \"+JSON.stringify(R)));this.show()};\nNu.prototype.clear=function(){this.api.C().Y(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():this.dispose()};g.x(UW,FW);UW.prototype.init=function(K,R,f){var V=this;FW.prototype.init.call(this,K,R,f);if(this.api.C().Y(\"supports_multi_step_on_desktop\")){var D;this.conditioningRules=(D=R.conditioningRules)!=null?D:[];var H;this.K=(H=R.questions)!=null?H:[];var l;((l=R.questions)==null?0:l.length)&&ze_(this,0)}else(R.questions||[]).forEach(function(F){g.z(F,vJ)?LWv(V,g.z(F,vJ),f):g.z(F,iW)&&w1e(V,g.z(F,iW),f)});\nthis.show()};\nUW.prototype.clear=function(){this.api.C().Y(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():(this.hide(),this.dispose())};\nUW.prototype.J=function(K){var R=this;if(this.api.C().Y(\"supports_multi_step_on_desktop\")){var f;if((f=this.conditioningRules)==null?0:f.length){var V;if(K.length===0)this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId);else if(this.conditioningRules.find(function(D){return D.questionIndex===R.U})==null)g.WR(Error(\"Expected conditioning rule(s) for survey question.\")),this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId);\nelse if(this.conditioningRules.forEach(function(D){if(D.questionIndex===R.U)switch(D.condition){case \"CONDITION_ALL_OF\":var H;if((H=D.answerIndices)==null?0:H.every(function(F){return K.includes(F)}))V=D.nextQuestionIndex;\nbreak;case \"CONDITION_ANY_OF\":var l;if((l=D.answerIndices)==null?0:l.some(function(F){return K.includes(F)}))V=D.nextQuestionIndex;\nbreak;default:g.WR(Error(\"Expected specified condition in survey conditioning rules.\"))}}),V!=null)ze_(this,V);\nelse this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId)}else this.questions.length>1&&g.WR(Error(\"No conditioning rules, yet survey is multi step. Expected questions.length to be 1.\")),this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId)}};g.x(WA,FW);\nWA.prototype.init=function(K,R,f){var V=this;FW.prototype.init.call(this,K,R,f);K=R.timeoutSeconds||0;if(typeof K!==\"number\"||K<0)g.WR(Error(\"timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: \"+K));else if(R.timeoutCommands)if(R.text)if(R.ctaButton&&g.z(R.ctaButton,g.xu))if(R.brandImage)if(R.backgroundImage&&g.z(R.backgroundImage,EQ)&&g.z(R.backgroundImage,EQ).landscape){this.layoutId||g.WR(Error(\"Missing layoutId for survey interstitial.\"));xnN(this.interstitial,g.z(R.backgroundImage,\nEQ).landscape);xnN(this.logoImage,R.brandImage);g.Pa(this.text,g.ri(R.text));var D=[\"ytp-ad-survey-interstitial-action-button\"];D.push(\"ytp-ad-survey-interstitial-action-button-rounded\");this.actionButton=new ZQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,D);g.q(this,this.actionButton);this.actionButton.V0(this.K);this.actionButton.init(Rh(\"button\"),g.z(R.ctaButton,g.xu),f);this.actionButton.show();this.U=new L0(this.api,K*1E3);this.U.subscribe(\"g\",function(){V.transition.hide()});\ng.q(this,this.U);this.j(this.element,\"click\",function(H){var l=H.target===V.interstitial;H=V.actionButton.element.contains(H.target);if(l||H)if(V.transition.hide(),l)V.api.onAdUxClicked(V.componentType,V.layoutId)});\nthis.transition.show(100)}else g.WR(Error(\"SurveyTextInterstitialRenderer has no landscape background image.\"));else g.WR(Error(\"SurveyTextInterstitialRenderer has no brandImage.\"));else g.WR(Error(\"SurveyTextInterstitialRenderer has no button.\"));else g.WR(Error(\"SurveyTextInterstitialRenderer has no text.\"));else g.WR(Error(\"timeoutSeconds was specified yet no timeoutCommands where specified\"))};\nWA.prototype.clear=function(){this.hide()};\nWA.prototype.show=function(){EBw(!0);FW.prototype.show.call(this)};\nWA.prototype.hide=function(){EBw(!1);FW.prototype.hide.call(this)};g.x(tU,sl);g.w=tU.prototype;\ng.w.init=function(K,R){sl.prototype.init.call(this,K,R,{});if(R.durationMilliseconds){if(R.durationMilliseconds<0){g.WR(Error(\"DurationMilliseconds was specified incorrectly in AdPreview with a value of: \"+R.durationMilliseconds));return}this.K=R.durationMilliseconds}else this.K=this.U.wg();var f;if((f=R.previewText)==null||!f.text||g.Ca(R.previewText.text))g.WR(Error(\"No text is returned for AdPreview.\"));else{this.B=R.previewText;R.previewText.isTemplated||g.Pa(this.X,R.previewText.text);var V;\nif(((V=this.api.getVideoData(1))==null?0:V.zZ)&&R.previewImage){var D,H;(K=((H=lc(((D=R.previewImage)==null?void 0:D.sources)||[],52,!1))==null?void 0:H.url)||\"\")&&K.length?(this.previewImage=new g.di({V:\"img\",D:\"ytp-preview-ad__image\",L:{src:\"{{imageUrl}}\"}}),this.previewImage.updateValue(\"imageUrl\",K),g.q(this,this.previewImage),this.previewImage.V0(this.element)):g.WR(Error(\"Failed to get imageUrl in AdPreview.\"))}else this.X.classList.add(\"ytp-preview-ad__text--padding--wide\")}};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){eD(this);sl.prototype.hide.call(this)};\ng.w.show=function(){CS(this);sl.prototype.show.call(this)};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();if(K!=null&&K.current)if(K=1E3*K.current,K>=this.K)this.transition.hide();else{var R;if((R=this.B)==null?0:R.isTemplated)if(R=Math.max(0,Math.ceil((this.K-K)/1E3)),R!==this.J){var f,V;(K=(f=this.B)==null?void 0:(V=f.text)==null?void 0:V.replace(\"{TIME_REMAINING}\",String(R)))&&g.Pa(this.X,K);this.J=R}}}};g.x(AU,FW);\nAU.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});var f,V;if((K=((V=lc(((f=R.image)==null?void 0:f.sources)||[],aZ_(R),!0))==null?void 0:V.url)||\"\")&&K.length){f=this.IY(\"ytp-ad-avatar\");f.src=K;var D,H;if(V=(D=R.interaction)==null?void 0:(H=D.accessibility)==null?void 0:H.label)f.alt=V;switch(R.size){case \"AD_AVATAR_SIZE_XXS\":this.element.classList.add(\"ytp-ad-avatar--size-xxs\");break;case \"AD_AVATAR_SIZE_XS\":this.element.classList.add(\"ytp-ad-avatar--size-xs\");break;case \"AD_AVATAR_SIZE_S\":this.element.classList.add(\"ytp-ad-avatar--size-s\");\nbreak;case \"AD_AVATAR_SIZE_M\":this.element.classList.add(\"ytp-ad-avatar--size-m\");break;case \"AD_AVATAR_SIZE_L\":this.element.classList.add(\"ytp-ad-avatar--size-l\");break;case \"AD_AVATAR_SIZE_XL\":this.element.classList.add(\"ytp-ad-avatar--size-xl\");break;case \"AD_AVATAR_SIZE_RESPONSIVE\":this.element.classList.add(\"ytp-ad-avatar--size-responsive\");break;default:this.element.classList.add(\"ytp-ad-avatar--size-m\")}switch(R.style){case \"AD_AVATAR_STYLE_ROUNDED_CORNER\":this.element.classList.add(\"ytp-ad-avatar--rounded-corner\");\nbreak;default:this.element.classList.add(\"ytp-ad-avatar--circular\")}}else g.WR(Error(\"Failed to get imageUrl in AdAvatar.\"))};\nAU.prototype.clear=function(){this.hide()};\nAU.prototype.onClick=function(K){FW.prototype.onClick.call(this,K)};g.x(JU,FW);\nJU.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});var f;K=(f=R.label)==null?void 0:f.content;if((f=K!=null&&!g.Ca(K))||R.iconImage){f&&(this.buttonText=new g.di({V:\"span\",D:\"ytp-ad-button-vm__text\",Q0:K}),g.q(this,this.buttonText),this.buttonText.V0(this.element));var V,D,H=((V=R.interaction)==null?0:(D=V.accessibility)==null?0:D.label)||f?K:\"\";H&&G_(this.element,H+\" This link opens in new tab\");Yl(this.element);if(R.iconImage){V=void 0;if(R.iconImage){a:{D=R.iconImage;if(D.sources)for(D=\ng.Z(D.sources),K=D.next();!K.done;K=D.next())if(K=K.value,H=void 0,(H=K.clientResource)==null?0:H.imageName){D=K;break a}D=void 0}if(D){var l;V={iconType:(l=D.clientResource)==null?void 0:l.imageName}}}l=JJ(V,!1,this.K);l!=null&&(this.buttonIcon=new g.di({V:\"span\",D:\"ytp-ad-button-vm__icon\",S:[l]}),g.q(this,this.buttonIcon),R.iconLeading?(XU(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add(\"ytp-ad-button-vm__icon--leading\")):f?(this.buttonIcon.V0(this.element),this.buttonIcon.element.classList.add(\"ytp-ad-button-vm__icon--trailing\")):\n(this.buttonIcon.V0(this.element),this.element.classList.add(\"ytp-ad-button-vm--icon-only\")))}switch(R.style){case \"AD_BUTTON_STYLE_TRANSPARENT\":this.element.classList.add(\"ytp-ad-button-vm--style-transparent\");break;case \"AD_BUTTON_STYLE_FILLED_WHITE\":this.element.classList.add(\"ytp-ad-button-vm--style-filled-white\");break;case \"AD_BUTTON_STYLE_MONO_FILLED\":this.element.classList.add(\"ytp-ad-button-vm--style-mono-filled\");break;case \"AD_BUTTON_STYLE_FILLED\":this.api.Y(\"delhi_modern_web_player\")?\nthis.element.classList.add(\"ytp-ad-button-vm--style-filled-white\"):this.element.classList.add(this.U?\"ytp-ad-button-vm--style-filled-dark\":\"ytp-ad-button-vm--style-filled\");break;default:this.element.classList.add(\"ytp-ad-button-vm--style-filled\")}switch(R.size){case \"AD_BUTTON_SIZE_COMPACT\":this.element.classList.add(\"ytp-ad-button-vm--size-compact\");break;case \"AD_BUTTON_SIZE_LARGE\":this.element.classList.add(\"ytp-ad-button-vm--size-large\");break;default:this.element.classList.add(\"ytp-ad-button-vm--size-default\")}}else g.A$(Error(\"AdButton does not have label or an icon.\"))};\nJU.prototype.clear=function(){this.hide()};\nJU.prototype.onClick=function(K){FW.prototype.onClick.call(this,K)};g.x(QHG,sl);g.w=QHG.prototype;\ng.w.init=function(K,R){sl.prototype.init.call(this,K,R,{});if(K=g.z(R.avatar,gw)){var f=R.headline;if(f){var V=R.description;if(V){var D=g.z(R.button,jN);D?(this.adAvatar.init(Rh(\"ad-avatar\"),K),this.headline.init(Rh(\"ad-simple-attributed-string\"),new Qd(f)),this.description.init(Rh(\"ad-simple-attributed-string\"),new Qd(V)),f.content&&f.content.length>20&&this.description.element.classList.add(\"ytp-ad-avatar-lockup-card__description--hidden--in--small--player\"),this.adButton.init(Rh(\"ad-button\"),D),\nthis.startMilliseconds=R.startMs||0,this.api.lU()||this.show(),this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.Y6.bind(this)),CS(this)):g.WR(Error(\"No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.WR(Error(\"No description is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.WR(Error(\"No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.WR(Error(\"No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();K&&K.current&&1E3*K.current>=this.startMilliseconds&&(eD(this),this.element.classList.remove(\"ytp-ad-avatar-lockup-card--inactive\"))}};\ng.w.Kp=function(){this.clear()};\ng.w.onClick=function(K){this.api.pauseVideo();sl.prototype.onClick.call(this,K)};\ng.w.clear=function(){this.hide();this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.Y6.bind(this))};\ng.w.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();sl.prototype.show.call(this)};\ng.w.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();sl.prototype.hide.call(this)};\ng.w.Y6=function(K){K===\"hidden\"?this.show():this.hide()};g.x(Z2,FW);g.w=Z2.prototype;\ng.w.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(!R.label||g.Ca(R.label))g.WR(Error(\"No label is returned for SkipAdButton.\"));else if(g.Pa(this.J,R.label),K=JJ({iconType:\"SKIP_NEXT_NEW\"},!1,!1,this.api.Y(\"delhi_modern_web_player_icons\")),K==null)g.WR(Error(\"Unable to retrieve icon for SkipAdButton\"));else if(this.X=new g.di({V:\"span\",D:\"ytp-skip-ad-button__icon\",S:[K]}),g.q(this,this.X),this.X.V0(this.element),this.api.C().experiments.rU(\"enable_skip_to_next_messaging\")&&(R=g.Y7(R.targetId)))this.K=\n!0,this.element.setAttribute(\"data-tooltip-target-id\",R),this.element.setAttribute(\"data-tooltip-target-fixed\",\"\")};\ng.w.onClick=function(K){K&&K.preventDefault();var R,f;Jqc(K,{contentCpn:(f=(R=this.api.getVideoData(1))==null?void 0:R.clientPlaybackNonce)!=null?f:\"\"})===0?this.api.lD(\"onAbnormalityDetected\"):(FW.prototype.onClick.call(this,K),this.api.lD(\"onAdSkip\"),this.api.onAdUxClicked(this.componentType,this.layoutId))};\ng.w.clear=function(){this.U.reset();this.hide()};\ng.w.hide=function(){FW.prototype.hide.call(this)};\ng.w.show=function(){this.U.start();FW.prototype.show.call(this);this.K&&this.api.C().experiments.rU(\"enable_skip_to_next_messaging\")&&this.api.publish(\"showpromotooltip\",this.element)};g.x(NDe,sl);g.w=NDe.prototype;\ng.w.init=function(K,R){sl.prototype.init.call(this,K,R,{});K=g.z(R.preskipState,iBu);var f;if((f=this.api.getVideoData())==null?0:f.isDaiEnabled()){if(!K){g.WR(Error(\"No AdPreviewViewModel is returned in SkipAdViewModel.\"));return}this.K=new tU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.U);g.q(this,this.K);this.K.V0(this.element);var V;(V=this.K)==null||V.init(Rh(\"preview-ad\"),K);(f=this.K)!=null&&(f.transition.show(100),f.show())}(f=g.z(R.skippableState,Le8))?(R.skipOffsetMilliseconds!=\nnull?this.skipOffsetMilliseconds=R.skipOffsetMilliseconds:(g.A$(Error(\"No skipOffsetMilliseconds is returned in SkipAdViewModel.\")),this.skipOffsetMilliseconds=5E3),this.X.init(Rh(\"skip-button\"),f),this.show()):g.WR(Error(\"No SkipAdButtonViewModel is returned in SkipAdViewModel.\"))};\ng.w.show=function(){CS(this);sl.prototype.show.call(this)};\ng.w.hide=function(){!this.isSkippable&&this.K?this.K.hide():this.X&&this.X.hide();eD(this);sl.prototype.hide.call(this)};\ng.w.clear=function(){var K;(K=this.K)==null||K.clear();this.X&&this.X.clear();eD(this);sl.prototype.hide.call(this)};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(1E3*this.U.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var K;(K=this.K)!=null&&K.transition.hide();(K=this.X)!=null&&(K.transition.show(),K.show())}};g.x(BA,FW);\nBA.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(R.label){var f;((f=R.label)==null?0:f.content)&&!g.Ca(R.label.content)&&(this.linkText=new g.di({V:\"span\",D:\"ytp-visit-advertiser-link__text\",Q0:R.label.content}),g.q(this,this.linkText),this.linkText.V0(this.element));var V,D;if((V=R.interaction)==null?0:(D=V.accessibility)==null?0:D.label)G_(this.element,R.interaction.accessibility.label+\" This link opens in new tab\");else{var H;((H=R.label)==null?0:H.content)&&!g.Ca(R.label.content)&&G_(this.element,\nR.label.content+\" This link opens in new tab\")}Yl(this.element);this.element.setAttribute(\"tabindex\",\"0\");this.show()}else g.WR(Error(\"No label found in VisitAdvertiserLink.\"))};\nBA.prototype.onClick=function(K){FW.prototype.onClick.call(this,K);this.api.onAdUxClicked(this.componentType,this.layoutId)};\nBA.prototype.clear=function(){this.hide()};g.x(Xa,FW);\nXa.prototype.init=function(K,R,f,V){FW.prototype.init.call(this,K,R,{});if(R.skipOrPreview){f=R.skipOrPreview;K=g.z(f,wci);f=g.z(f,iBu);if(K)this.sz=new NDe(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K),g.q(this,this.sz),this.sz.V0(this.Z),this.sz.init(Rh(\"skip-ad\"),K);else{var D;f&&((D=this.api.getVideoData())==null?0:D.isDaiEnabled())&&(this.J=new tU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K,1),g.q(this,this.J),this.J.V0(this.Z),this.J.init(Rh(\"ad-preview\"),\nf),D=this.J,D.transition.show(100),D.show())}if(D=g.z(R.skipOrPreview,wci))var H=D.skipOffsetMilliseconds}R.playerAdCard&&(D=g.z(R.playerAdCard,vv_))&&(this.playerAdCard=new QHG(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K),g.q(this,this.playerAdCard),this.playerAdCard.V0(this.y0),this.playerAdCard.init(Rh(\"ad-avatar-lockup-card\"),D));R.adBadgeRenderer&&((D=g.z(R.adBadgeRenderer,OW))?(this.X=new WQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0),g.q(this,\nthis.X),this.X.V0(this.U),this.X.init(Rh(\"ad-badge\"),D)):g.WR(Error(\"AdBadgeViewModel is not found in player overlay layout.\")));R.adPodIndex&&(D=g.z(R.adPodIndex,yz$))&&(this.adPodIndex=new tM(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.adPodIndex),this.adPodIndex.V0(this.U),this.adPodIndex.init(Rh(\"ad-pod-index\"),D));R.adInfoRenderer&&((D=g.z(R.adInfoRenderer,wh))?(this.adInfoButton=new m2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.element,\nvoid 0,!0),g.q(this,this.adInfoButton),this.X!==void 0?this.U.insertBefore(this.adInfoButton.element,this.X.element.nextSibling):this.adInfoButton.V0(this.U),this.adInfoButton.init(Rh(\"ad-info-hover-text-button\"),D,this.macros)):g.A$(Error(\"AdInfoRenderer is not found in player overlay layout.\")));var l;D=(l=this.api.getVideoData())==null?void 0:l.isDaiEnabled();R.adDurationRemaining&&D&&(l=g.z(R.adDurationRemaining,RM$))&&(this.adDurationRemaining=new E_(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.H5,this.K,V.videoAdDurationSeconds,!0),g.q(this,this.adDurationRemaining),this.adPodIndex!==void 0?this.U.insertBefore(this.adDurationRemaining.element,this.adPodIndex.element.nextSibling):this.adDurationRemaining.V0(this.U),this.adDurationRemaining.init(Rh(\"ad-duration-remaining\"),l,this.macros),this.adDurationRemaining.element.classList.add(\"ytp-ad-duration-remaining-autohide\"));R.visitAdvertiserLink&&(V=g.z(R.visitAdvertiserLink,xBp))&&(this.visitAdvertiserLink=new BA(this.api,this.layoutId,\nthis.interactionLoggingClientData,this.H5),g.q(this,this.visitAdvertiserLink),this.visitAdvertiserLink.V0(this.U),this.visitAdvertiserLink.init(Rh(\"visit-advertiser-link\"),V));R.adDisclosureBanner&&(R=g.z(R.adDisclosureBanner,rzS))&&(this.adDisclosureBanner=new AM(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.adDisclosureBanner),this.adDisclosureBanner.V0(this.aY),this.adDisclosureBanner.init(Rh(\"ad-disclosure-banner\"),R));this.B=new BQ(this.api,this.K,H,!0);g.q(this,\nthis.B);g.nl(this.api,this.B.element,4);this.show()};\nXa.prototype.clear=function(){this.hide()};g.x(UnG,FW);g.w=UnG.prototype;\ng.w.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(R!=null&&R.title)if(K=R.title)if(this.headline.init(Rh(\"ad-simple-attributed-string\"),new Qd(K)),K=g.z(R.moreInfoButton,jN)){if(this.moreInfoButton.init(Rh(\"ad-button\"),K),R.descriptions)R.descriptions.length>0&&(K=R.descriptions[0])&&(this.U=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.U),this.U.V0(this.element.getElementsByClassName(\"ytp-ad-grid-card-text__metadata__description__line\")[0]),this.U.init(Rh(\"ad-simple-attributed-string\"),\nnew Qd(K))),R.descriptions.length>1&&(R=R.descriptions[1])&&(this.K=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.K),this.K.V0(this.element.getElementsByClassName(\"ytp-ad-grid-card-text__metadata__description__line\")[1]),this.K.init(Rh(\"ad-simple-attributed-string\"),new Qd(R)))}else g.WR(Error(\"No AdButtonViewModel is returned in AdGridCardText.\"));else g.WR(Error(\"No headline found in AdGridCardText.\"));else g.WR(Error(\"No headline found in AdGridCardText.\"))};\ng.w.onClick=function(K){FW.prototype.onClick.call(this,K);this.api.pauseVideo();this.api.onAdUxClicked(this.componentType,this.layoutId)};\ng.w.clear=function(){this.hide();this.headline.clear();this.moreInfoButton.clear();var K;(K=this.U)==null||K.clear();var R;(R=this.K)==null||R.clear()};\ng.w.hide=function(){this.headline.hide();this.moreInfoButton.hide();var K;(K=this.U)==null||K.hide();var R;(R=this.K)==null||R.hide();FW.prototype.hide.call(this)};\ng.w.show=function(){FW.prototype.show.call(this);this.headline.show();this.moreInfoButton.show();var K;(K=this.U)==null||K.show();var R;(R=this.K)==null||R.show()};g.x(kS,FW);kS.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(R!=null&&R.gridCards)if(R.style!==\"AD_GRID_CARD_COLLECTION_STYLE_FIXED_ONE_COLUMN\")g.WR(Error(\"Only single column style is currently supported in AdGridCardCollection.\"));else for(K=g.Z(R.gridCards),R=K.next();!R.done;R=K.next()){if(R=g.z(R.value,S5V)){var f=new UnG(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,f);f.V0(this.element);f.init(Rh(\"ad-grid-card-text\"),R);this.U.push(f)}}else g.WR(Error(\"No grid cards found in AdGridCardCollection.\"))};\nkS.prototype.show=function(){for(var K=g.Z(this.U),R=K.next();!R.done;R=K.next())R.value.show();FW.prototype.show.call(this)};\nkS.prototype.clear=function(){this.hide();for(var K=g.Z(this.U),R=K.next();!R.done;R=K.next())R.value.clear()};\nkS.prototype.hide=function(){for(var K=g.Z(this.U),R=K.next();!R.done;R=K.next())R.value.hide();FW.prototype.hide.call(this)};g.x(TP,sl);g.w=TP.prototype;g.w.init=function(K,R,f,V,D){D=D===void 0?0:D;sl.prototype.init.call(this,K,R,f,V);this.playerProgressOffsetMs=D;CS(this);this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.NG.bind(this));this.api.addEventListener(\"resize\",this.o5.bind(this));this.api.lU()?(this.K=!0,this.api.XT(!0),this.show()):this.hide()};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();K&&K.current&&!this.K&&1E3*K.current>=this.playerProgressOffsetMs&&(this.K=!0,this.api.XT(!0),this.show())}};\ng.w.Kp=function(){this.K&&this.api.XT(!1);this.hide()};\ng.w.clear=function(){this.api.XT(!1);this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.NG.bind(this));this.api.removeEventListener(\"resize\",this.o5.bind(this));eD(this);this.hide()};\ng.w.hide=function(){WWo(!1);sl.prototype.hide.call(this)};\ng.w.show=function(){WWo(!0);sl.prototype.show.call(this)};g.x(tjh,TP);g.w=tjh.prototype;\ng.w.init=function(K,R,f,V){if(R!=null&&R.adGridCardCollection)if(R!=null&&R.adButton){var D=Number(R.playerProgressOffsetMs||\"0\");isNaN(D)?TP.prototype.init.call(this,K,R,f,V):TP.prototype.init.call(this,K,R,f,V,D);K=R.headline;f=g.z(R.adAvatar,gw);K&&f?(this.headline=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.headline),this.headline.V0(this.IY(\"ytp-display-underlay-text-grid-cards__content_container__header__headline\")),this.headline.init(Rh(\"ad-simple-attributed-string\"),new Qd(K)),\nthis.adAvatar=new AU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.adAvatar),this.adAvatar.V0(this.IY(\"ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar\")),this.adAvatar.init(Rh(\"ad-avatar\"),f)):this.J.classList.remove(\"ytp-display-underlay-text-grid-cards__content_container__header\");K=g.z(R.adGridCardCollection,ov8);this.adGridCardCollection.init(Rh(\"ad-grid-card-collection\"),K);R=g.z(R.adButton,jN);this.adButton.init(Rh(\"ad-button\"),R);\nthis.hide()}else g.WR(Error(\"No button found in DisplayUnderlayTextGridCardsLayout.\"));else g.WR(Error(\"No grid cards found in DisplayUnderlayTextGridCardsLayout.\"))};\ng.w.onClick=function(K){(this.adButton&&g.Ta(this.adButton.element,K.target)||this.adAvatar&&g.Ta(this.adAvatar.element,K.target))&&this.api.pauseVideo();TP.prototype.onClick.call(this,K);this.api.onAdUxClicked(this.componentType,this.layoutId)};\ng.w.o5=function(){};\ng.w.clear=function(){this.hide();var K;(K=this.headline)==null||K.clear();var R;(R=this.adAvatar)==null||R.clear();this.adGridCardCollection.clear();this.adButton.clear();TP.prototype.clear.call(this)};\ng.w.show=function(){var K;(K=this.headline)==null||K.show();var R;(R=this.adAvatar)==null||R.show();this.adGridCardCollection.show();this.adButton.show();TP.prototype.show.call(this)};\ng.w.hide=function(){var K;(K=this.headline)==null||K.hide();var R;(R=this.adAvatar)==null||R.hide();this.adGridCardCollection.hide();this.adButton.hide();TP.prototype.hide.call(this)};\ng.w.NG=function(K){K===\"transitioning\"?(this.X.classList.remove(\"ytp-ad-underlay-clickable\"),this.show()):K===\"visible\"?this.X.classList.add(\"ytp-ad-underlay-clickable\"):K===\"hidden\"&&(this.hide(),this.X.classList.remove(\"ytp-ad-underlay-clickable\"))};g.x(PA,FW);\nPA.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(R.attributes===void 0)g.WR(Error(\"No attributes found in AdDetailsLineViewModel.\"));else if(R.style===void 0)g.WR(Error(\"No style found in AdDetailsLineViewModel.\"));else{K=g.Z(R.attributes);for(var f=K.next();!f.done;f=K.next())if(f=f.value,f.text!==void 0){f=f.text;var V=R.style,D=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,D);D.V0(this.element);a:switch(V){case \"AD_DETAILS_LINE_STYLE_RESPONSIVE\":V=\"ytp-ad-details-line__text--style-responsive\";\nbreak a;default:V=\"ytp-ad-details-line__text--style-standard\"}D.element.classList.add(V);D.init(Rh(\"ad-simple-attributed-string\"),new Qd(f));this.U.push(D)}this.show()}};\nPA.prototype.show=function(){this.U.forEach(function(K){K.show()});\nFW.prototype.show.call(this)};\nPA.prototype.clear=function(){this.hide()};\nPA.prototype.hide=function(){this.U.forEach(function(K){K.hide()});\nFW.prototype.hide.call(this)};g.x(nR,FW);nR.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});var f,V;(K=((V=lc(((f=R.image)==null?void 0:f.sources)||[]))==null?void 0:V.url)||\"\")&&K.length?(f=this.IY(\"ytp-image-background-image\"),g.Ds(f,\"backgroundImage\",\"url(\"+K+\")\"),R.blurLevel!==void 0&&g.Ds(f,\"filter\",\"blur(\"+R.blurLevel+\"px)\"),R.gradient!==void 0&&(R=new g.Y({V:\"div\",Me:[\"ytp-image-background--gradient-vertical\"]}),g.q(this,R),R.V0(this.element)),this.show()):g.WR(Error(\"Failed to get imageUrl in ImageBackground.\"))};\nnR.prototype.clear=function(){this.hide()};g.x(Ayc,sl);g.w=Ayc.prototype;g.w.init=function(K,R){sl.prototype.init.call(this,K,R,{});g.Ds(this.X,\"stroke-dasharray\",\"0 \"+this.K);this.show()};\ng.w.clear=function(){this.hide()};\ng.w.hide=function(){eD(this);sl.prototype.hide.call(this)};\ng.w.show=function(){CS(this);sl.prototype.show.call(this)};\ng.w.Kp=function(){this.hide()};\ng.w.aM=function(){if(this.U){var K=this.U.getProgressState();K!=null&&K.current!=null&&g.Ds(this.X,\"stroke-dasharray\",K.current/K.seekableEnd*this.K+\" \"+this.K)}};g.x(If,FW);\nIf.prototype.init=function(K,R){FW.prototype.init.call(this,K,R,{});if(ZAG(R)){this.adAvatar=new AU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.adAvatar);this.adAvatar.V0(this.IY(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container\"));this.adAvatar.init(Rh(\"ad-avatar\"),g.z(R.adAvatar,gw));this.headline=new U_(this.api,this.layoutId,this.interactionLoggingClientData,this.H5);g.q(this,this.headline);this.headline.V0(this.IY(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container\"));this.headline.element.classList.add(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline\");\nthis.headline.init(Rh(\"ad-simple-attributed-string\"),new Qd(R.headline));if(K=g.z(R.adDetailsLine,czE))this.detailsLine=new PA(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.detailsLine),this.detailsLine.V0(this.IY(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container\")),this.detailsLine.init(Rh(\"ad-details-line\"),K);this.adButton=new JU(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0);g.q(this,this.adButton);\nthis.adButton.V0(this.IY(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container\"));this.adButton.init(Rh(\"ad-button\"),g.z(R.adButton,jN));this.adBadge=new WQ(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,!0);g.q(this,this.adBadge);this.adBadge.V0(this.J);this.adBadge.init(Rh(\"ad-badge\"),g.z(R.adBadge,OW));this.adInfoButton=new m2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.element,void 0,!0);g.q(this,this.adInfoButton);this.adInfoButton.V0(this.J);\nthis.adInfoButton.init(Rh(\"ad-info-hover-text-button\"),g.z(R.adInfoRenderer,wh),this.macros);if(K=g.z(R.skipAdButton,Le8))this.skipAdButton=new Z2(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.skipAdButton),this.skipAdButton.V0(this.element),this.skipAdButton.init(Rh(\"skip-button\"),K);this.K=new wH(R.durationMilliseconds);g.q(this,this.K);if(K=g.z(R.countdownViewModel,zMV))this.U=new Ayc(this.api,this.layoutId,this.interactionLoggingClientData,this.H5,this.K),g.q(this,\nthis.U),this.U.V0(this.IY(\"ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container\")),this.U.init(Rh(\"timed-pie-countdown\"),K);if(R=g.z(R.imageBackground,hMz))this.imageBackground=new nR(this.api,this.layoutId,this.interactionLoggingClientData,this.H5),g.q(this,this.imageBackground),this.imageBackground.V0(this.element),this.imageBackground.element.classList.add(\"ytp-video-interstitial-buttoned-centered-layout__background-image-container\"),this.imageBackground.init(Rh(\"image-background\"),\nR);this.show();this.element.focus()}};\nIf.prototype.clear=function(){g.kc(this.X);this.hide()};\nIf.prototype.show=function(){JyB(!0);this.adAvatar&&this.adAvatar.show();this.headline&&this.headline.show();this.adButton&&this.adButton.show();this.skipAdButton&&this.skipAdButton.show();FW.prototype.show.call(this)};\nIf.prototype.hide=function(){JyB(!1);this.adAvatar&&this.adAvatar.hide();this.headline&&this.headline.hide();this.adButton&&this.adButton.hide();this.detailsLine&&this.detailsLine.hide();this.adBadge&&this.adBadge.hide();this.adInfoButton&&this.adInfoButton.hide();this.skipAdButton&&this.skipAdButton.hide();this.U&&this.U.hide();this.imageBackground&&this.imageBackground.hide();FW.prototype.hide.call(this)};g.x(qu,g.VQ);g.w=qu.prototype;g.w.wg=function(){return 1E3*this.api.getDuration(this.rC,!1)};\ng.w.stop=function(){this.U&&this.handler.hs(this.U)};\ng.w.eM=function(){var K=this.api.getProgressState(this.rC);this.K={seekableStart:K.seekableStart,seekableEnd:K.seekableEnd,current:this.api.getCurrentTime(this.rC,!1)};this.publish(\"h\")};\ng.w.getProgressState=function(){return this.K};\ng.w.Il=function(K){g.rH(K,2)&&this.publish(\"g\")};var bau=\"ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser\".split(\" \").concat(\"shopping-companion action-companion image-companion ads-engagement-panel ads-engagement-panel-layout banner-image top-banner-image-text-icon-buttoned\".split(\" \"));g.x(Mu,qf);\nMu.prototype.X=function(K){var R=K.id,f=K.content,V=f.componentType;if(!bau.includes(V))switch(K.actionType){case 1:K=this.api;var D=this.H5,H=f.layoutId,l=f.interactionLoggingClientData,F=f instanceof AD?f.wu:!1,c=f instanceof AD||f instanceof vQ?f.tD:!1;l=l===void 0?{}:l;F=F===void 0?!1:F;c=c===void 0?!1:c;switch(V){case \"invideo-overlay\":K=new Gcw(K,H,l,D);break;case \"player-overlay\":K=new Xc(K,H,l,D,new qu(K),c);break;case \"player-overlay-layout\":K=new Xa(K,H,l,D,new qu(K));break;case \"survey\":K=\nnew UW(K,H,l,D);break;case \"ad-action-interstitial\":K=new MfB(K,H,l,D,F,c);break;case \"video-interstitial-buttoned-centered\":K=new If(K,H,l,D);break;case \"survey-interstitial\":K=new WA(K,H,l,D);break;case \"ad-message\":K=new VjB(K,H,l,D,new qu(K,1));break;case \"player-underlay\":K=new HAB(K,H,l,D);break;case \"display-underlay-text-grid-cards\":K=new tjh(K,H,l,D,new qu(K));break;default:K=null}if(!K){g.A$(Error(\"No UI component returned from ComponentFactory for type: \"+V));break}g.th(this.components,\nR)?g.A$(Error(\"Ad UI component already registered: \"+R)):this.components[R]=K;K.bind(f);f instanceof W6?this.K?this.K.append(K.L9):g.A$(Error(\"Underlay view was not created but UnderlayRenderer was created\")):this.J.append(K.L9);break;case 2:R=BDN(this,K);if(R==null)break;R.bind(f);break;case 3:f=BDN(this,K),f!=null&&(g.v5(f),g.th(this.components,R)?(f=this.components,R in f&&delete f[R]):g.A$(Error(\"Ad UI component does not exist: \"+R)))}};\nMu.prototype.uD=function(){g.Ls(Object.values(this.components));this.components={};qf.prototype.uD.call(this)};g.x(X1B,g.cz);g.w=X1B.prototype;g.w.create=function(){try{kJB(this),this.load(),this.created=!0,kJB(this)}catch(K){dH(K instanceof Error?K:String(K))}};\ng.w.load=function(){nBw(this)};\ng.w.destroy=function(){var K=this.player.getVideoData(1);this.U.U.Pq.zT(K&&K.clientPlaybackNonce||\"\");this.unload();this.created=!1};\ng.w.unload=function(){g.cz.prototype.unload.call(this);try{this.player.getRootNode().classList.remove(\"ad-created\")}catch(R){dH(R instanceof Error?R:String(R))}if(this.K!=null){var K=this.K;this.K=null;K.dispose()}this.X.reset()};\ng.w.cA=function(){return!1};\ng.w.getAdState=function(){return-1};\ng.w.getOptions=function(){return Object.values(Mci)};\ng.w.OJ=function(K,R){R=R===void 0?{}:R;switch(K){case \"replaceUrlMacros\":return K=R,K.url?(R=Vfz(this.player),Object.assign(R,K.TrF),K=g.XZ(K.url,R)):K=null,K;case \"onAboutThisAdPopupClosed\":this.r0(R);break;case \"executeCommand\":K=R;K.command&&K.layoutId&&this.executeCommand(K);break;default:return null}};\ng.w.b6=function(K){var R;return!((R=this.U.U.TF)==null||!R.get().b6(K))};\ng.w.r0=function(K){K.isMuted&&fAB(LR(this.U).n4,LR(this.U).hZ,K.layoutId);this.tF&&this.tF.r0()};\ng.w.executeCommand=function(K){LR(this.U).H5.executeCommand(K.command,K.layoutId)};g.WT(\"yt.player.Application.create\",g.h6.create);g.WT(\"yt.player.Application.createAlternate\",g.h6.create);do2(aV(),qhu);var py8=g.t_(\"ytcsi.tick\");py8&&py8(\"pe\");g.Fk(\"ad\",X1B);g.x(g.YS,g.O);g.YS.prototype.start=function(K,R,f){this.config={from:K,to:R,duration:f,startTime:(0,g.N7)()};this.next()};\ng.YS.prototype.stop=function(){this.delay.stop();this.config=void 0};\ng.YS.prototype.next=function(){if(this.config){var K=this.config,R=K.from,f=K.to,V=K.duration;K=K.startTime;var D=(0,g.N7)()-K;K=this.U;V=zzz(K,D/V);if(V==0)K=K.N;else if(V==1)K=K.Z;else{D=Dz(K.N,K.B,V);var H=Dz(K.B,K.T,V);K=Dz(K.T,K.Z,V);D=Dz(D,H,V);H=Dz(H,K,V);K=Dz(D,H,V)}K=g.fT(K,0,1);this.callback(R+(f-R)*K);K<1&&this.delay.start()}};g.x(g.m8,g.Y);g.w=g.m8.prototype;g.w.hasSuggestions=function(){return this.suggestionData.length>0};\ng.w.Rl=function(){this.K&&this.scrollTo(this.scrollPosition-this.containerWidth)};\ng.w.show=function(){g.Y.prototype.show.call(this);Mjc(this)};\ng.w.wv=function(){this.K&&this.scrollTo(this.scrollPosition+this.containerWidth)};\ng.w.FB=function(){this.xl(this.api.Ft().getPlayerSize())};\ng.w.xl=function(K){var R=this.api.isEmbedsShortsMode()?.5625:16/9,f=this.api.uH();K=K.width-(f?112:58);f=Math.ceil(K/(f?320:192));var V=(K-f*8)/f;R=Math.floor(V/R);for(var D=g.Z(this.U),H=D.next();!H.done;H=D.next())H=H.value.IY(\"ytp-suggestion-image\"),H.style.width=V+\"px\",H.style.height=R+\"px\";this.suggestions.element.style.height=R+\"px\";this.J=V;this.N=R;this.containerWidth=K;this.columns=f;this.scrollPosition=0;this.suggestions.element.scrollLeft=-0;g.GP(this)};\ng.w.onVideoDataChange=function(){var K=this.api.C(),R=this.api.getVideoData();this.B=R.nL?!1:K.J;this.suggestionData=R.suggestions?g.Im(R.suggestions,function(f){return f&&!f.playlistId}):[];\np1B(this);R.nL?this.title.update({title:g.sK(\"More videos from $DNI_RELATED_CHANNEL\",{DNI_RELATED_CHANNEL:R.author})}):this.title.update({title:this.api.isEmbedsShortsMode()?\"More shorts\":\"More videos\"})};\ng.w.scrollTo=function(K){K=g.fT(K,this.containerWidth-this.suggestionData.length*(this.J+8),0);this.T.start(this.scrollPosition,K,1E3);this.scrollPosition=K;g.GP(this);Mjc(this)};})(_yt_player);\n", "requests": [{"type": "n", "challenges": ["BRNXwd52DUmo-T1EP", "Nsvsw-Rcz-Ri5hVYC"]}], "output_preprocessed": true})));