-
Notifications
You must be signed in to change notification settings - Fork 0
/
www-embed-player.js
1871 lines (1862 loc) · 318 KB
/
www-embed-player.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(function(){'use strict';var m;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
var ea="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function fa(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}
var ia=fa(this);function u(a,b){if(b)a:{var c=ia;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ea(c,a,{configurable:!0,writable:!0,value:b})}}
u("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}
function c(f,g){this.h=f;ea(this,"description",{configurable:!0,writable:!0,value:g})}
if(a)return a;c.prototype.toString=function(){return this.h};
var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b});
u("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ia[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ea(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(aa(this))}})}return a});
function ja(a){a={next:a};a[Symbol.iterator]=function(){return this};
return a}
function ka(a){return a.raw=a}
function la(a,b){a.raw=b;return a}
function v(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}
function ma(a){if(!(a instanceof Array)){a=v(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}
function na(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
var oa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)na(d,e)&&(a[e]=d[e])}return a};
u("Object.assign",function(a){return a||oa});
var pa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b},qa=function(){function a(){function c(){}
new c;Reflect.construct(c,[],function(){});
return new c instanceof c}
if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);
e=pa(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),ra;
if("function"==typeof Object.setPrototypeOf)ra=Object.setPrototypeOf;else{var sa;a:{var ta={a:!0},ua={};try{ua.__proto__=ta;sa=ua.a;break a}catch(a){}sa=!1}ra=sa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var va=ra;
function w(a,b){a.prototype=pa(b.prototype);a.prototype.constructor=a;if(va)va(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Aa=b.prototype}
function wa(){this.s=!1;this.m=null;this.i=void 0;this.h=1;this.G=this.l=0;this.B=this.j=null}
function xa(a){if(a.s)throw new TypeError("Generator is already running");a.s=!0}
wa.prototype.ga=function(a){this.i=a};
function ya(a,b){a.j={exception:b,md:!0};a.h=a.l||a.G}
wa.prototype.return=function(a){this.j={return:a};this.h=this.G};
wa.prototype.yield=function(a,b){this.h=b;return{value:a}};
wa.prototype.v=function(a){this.h=a};
function za(a,b,c){a.l=b;void 0!=c&&(a.G=c)}
function Aa(a){a.l=0;var b=a.j.exception;a.j=null;return b}
function Ba(a){var b=a.B.splice(0)[0];(b=a.j=a.j||b)?b.md?a.h=a.l||a.G:void 0!=b.v&&a.G<b.v?(a.h=b.v,a.j=null):a.h=a.G:a.h=0}
function Ca(a){this.h=new wa;this.i=a}
function Da(a,b){xa(a.h);var c=a.h.m;if(c)return Ea(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.h.return);
a.h.return(b);return Fa(a)}
function Ea(a,b,c,d){try{var e=b.call(a.h.m,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.h.s=!1,e;var f=e.value}catch(g){return a.h.m=null,ya(a.h,g),Fa(a)}a.h.m=null;d.call(a.h,f);return Fa(a)}
function Fa(a){for(;a.h.h;)try{var b=a.i(a.h);if(b)return a.h.s=!1,{value:b.value,done:!1}}catch(c){a.h.i=void 0,ya(a.h,c)}a.h.s=!1;if(a.h.j){b=a.h.j;a.h.j=null;if(b.md)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function Ga(a){this.next=function(b){xa(a.h);a.h.m?b=Ea(a,a.h.m.next,b,a.h.ga):(a.h.ga(b),b=Fa(a));return b};
this.throw=function(b){xa(a.h);a.h.m?b=Ea(a,a.h.m["throw"],b,a.h.ga):(ya(a.h,b),b=Fa(a));return b};
this.return=function(b){return Da(a,b)};
this[Symbol.iterator]=function(){return this}}
function Ha(a){function b(d){return a.next(d)}
function c(d){return a.throw(d)}
return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}
f(a.next())})}
function A(a){return Ha(new Ga(new Ca(a)))}
function Ia(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
u("Reflect",function(a){return a?a:{}});
u("Reflect.construct",function(){return qa});
u("Reflect.setPrototypeOf",function(a){return a?a:va?function(b,c){try{return va(b,c),!0}catch(d){return!1}}:null});
u("Promise",function(a){function b(g){this.h=0;this.j=void 0;this.i=[];this.s=!1;var h=this.l();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}
function c(){this.h=null}
function d(g){return g instanceof b?g:new b(function(h){h(g)})}
if(a)return a;c.prototype.i=function(g){if(null==this.h){this.h=[];var h=this;this.j(function(){h.m()})}this.h.push(g)};
var e=ia.setTimeout;c.prototype.j=function(g){e(g,0)};
c.prototype.m=function(){for(;this.h&&this.h.length;){var g=this.h;this.h=[];for(var h=0;h<g.length;++h){var k=g[h];g[h]=null;try{k()}catch(l){this.l(l)}}}this.h=null};
c.prototype.l=function(g){this.j(function(){throw g;})};
b.prototype.l=function(){function g(l){return function(n){k||(k=!0,l.call(h,n))}}
var h=this,k=!1;return{resolve:g(this.W),reject:g(this.m)}};
b.prototype.W=function(g){if(g===this)this.m(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.da(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?this.S(g):this.G(g)}};
b.prototype.S=function(g){var h=void 0;try{h=g.then}catch(k){this.m(k);return}"function"==typeof h?this.ea(h,g):this.G(g)};
b.prototype.m=function(g){this.ga(2,g)};
b.prototype.G=function(g){this.ga(1,g)};
b.prototype.ga=function(g,h){if(0!=this.h)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.h);this.h=g;this.j=h;2===this.h&&this.Y();this.B()};
b.prototype.Y=function(){var g=this;e(function(){if(g.R()){var h=ia.console;"undefined"!==typeof h&&h.error(g.j)}},1)};
b.prototype.R=function(){if(this.s)return!1;var g=ia.CustomEvent,h=ia.Event,k=ia.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=ia.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.j;return k(g)};
b.prototype.B=function(){if(null!=this.i){for(var g=0;g<this.i.length;++g)f.i(this.i[g]);this.i=null}};
var f=new c;b.prototype.da=function(g){var h=this.l();g.Xb(h.resolve,h.reject)};
b.prototype.ea=function(g,h){var k=this.l();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};
b.prototype.then=function(g,h){function k(t,r){return"function"==typeof t?function(x){try{l(t(x))}catch(y){n(y)}}:r}
var l,n,p=new b(function(t,r){l=t;n=r});
this.Xb(k(g,l),k(h,n));return p};
b.prototype.catch=function(g){return this.then(void 0,g)};
b.prototype.Xb=function(g,h){function k(){switch(l.h){case 1:g(l.j);break;case 2:h(l.j);break;default:throw Error("Unexpected state: "+l.h);}}
var l=this;null==this.i?f.i(k):this.i.push(k);this.s=!0};
b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};
b.race=function(g){return new b(function(h,k){for(var l=v(g),n=l.next();!n.done;n=l.next())d(n.value).Xb(h,k)})};
b.all=function(g){var h=v(g),k=h.next();return k.done?d([]):new b(function(l,n){function p(x){return function(y){t[x]=y;r--;0==r&&l(t)}}
var t=[],r=0;do t.push(void 0),r++,d(k.value).Xb(p(t.length-1),n),k=h.next();while(!k.done)})};
return b});
u("WeakMap",function(a){function b(k){this.h=(h+=Math.random()+1).toString();if(k){k=v(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}
function c(){}
function d(k){var l=typeof k;return"object"===l&&null!==k||"function"===l}
function e(k){if(!na(k,g)){var l=new c;ea(k,g,{value:l})}}
function f(k){var l=Object[k];l&&(Object[k]=function(n){if(n instanceof c)return n;Object.isExtensible(n)&&e(n);return l(n)})}
if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),n=new a([[k,2],[l,3]]);if(2!=n.get(k)||3!=n.get(l))return!1;n.delete(k);n.set(l,4);return!n.has(k)&&4==n.get(l)}catch(p){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!na(k,g))throw Error("WeakMap key fail: "+k);k[g][this.h]=l;return this};
b.prototype.get=function(k){return d(k)&&na(k,g)?k[g][this.h]:void 0};
b.prototype.has=function(k){return d(k)&&na(k,g)&&na(k[g],this.h)};
b.prototype.delete=function(k){return d(k)&&na(k,g)&&na(k[g],this.h)?delete k[g][this.h]:!1};
return b});
u("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}
function c(h,k){var l=h[1];return ja(function(){if(l){for(;l.head!=h[1];)l=l.previous;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}
function d(h,k){var l=k&&typeof k;"object"==l||"function"==l?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var n=h[0][l];if(n&&na(h[0],l))for(h=0;h<n.length;h++){var p=n[h];if(k!==k&&p.key!==p.key||k===p.key)return{id:l,list:n,index:h,entry:p}}return{id:l,list:n,index:-1,entry:void 0}}
function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=v(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(v([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),n=l.next();if(n.done||n.value[0]!=h||"s"!=n.value[1])return!1;n=l.next();return n.done||4!=n.value[0].x||"t"!=n.value[1]||!l.next().done?!1:!0}catch(p){return!1}}())return a;
var f=new WeakMap;e.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this[1],previous:this[1].previous,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].previous.next=l.entry,this[1].previous=l.entry,this.size++);return this};
e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.entry.previous.next=h.entry.next,h.entry.next.previous=h.entry.previous,h.entry.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this[0]={};this[1]=this[1].previous=b();this.size=0};
e.prototype.has=function(h){return!!d(this,h).entry};
e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};
e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};
e.prototype.keys=function(){return c(this,function(h){return h.key})};
e.prototype.values=function(){return c(this,function(h){return h.value})};
e.prototype.forEach=function(h,k){for(var l=this.entries(),n;!(n=l.next()).done;)n=n.value,h.call(k,n[1],n[0],this)};
e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
function Ja(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
u("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ja(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
u("Object.setPrototypeOf",function(a){return a||va});
u("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
u("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ja(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
u("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
function Ka(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};
e[Symbol.iterator]=function(){return e};
return e}
u("Array.prototype.keys",function(a){return a?a:function(){return Ka(this,function(b){return b})}});
u("Set",function(a){function b(c){this.h=new Map;if(c){c=v(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.h.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(v([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;
b.prototype.add=function(c){c=0===c?0:c;this.h.set(c,c);this.size=this.h.size;return this};
b.prototype.delete=function(c){c=this.h.delete(c);this.size=this.h.size;return c};
b.prototype.clear=function(){this.h.clear();this.size=0};
b.prototype.has=function(c){return this.h.has(c)};
b.prototype.entries=function(){return this.h.entries()};
b.prototype.values=function(){return this.h.values()};
b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.h.forEach(function(f){return c.call(d,f,f,e)})};
return b});
u("Array.prototype.values",function(a){return a?a:function(){return Ka(this,function(b,c){return c})}});
u("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push(b[d]);return c}});
u("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
u("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
u("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Ja(this,b,"includes").indexOf(b,c||0)}});
u("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
u("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
u("Array.prototype.entries",function(a){return a?a:function(){return Ka(this,function(b,c){return[b,c]})}});
u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};
var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
u("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});
u("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push([d,b[d]]);return c}});
u("globalThis",function(a){return a||ia});/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var La=La||{},B=this||self;function C(a,b,c){a=a.split(".");c=c||B;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}
function D(a,b){a=a.split(".");b=b||B;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b}
function Ma(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"}
function Na(a){var b=Ma(a);return"array"==b||"object"==b&&"number"==typeof a.length}
function Oa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function Pa(a){return Object.prototype.hasOwnProperty.call(a,Qa)&&a[Qa]||(a[Qa]=++Ra)}
var Qa="closure_uid_"+(1E9*Math.random()>>>0),Ra=0;function Sa(a,b,c){return a.call.apply(a.bind,arguments)}
function Ta(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
function Ua(a,b,c){Ua=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Sa:Ta;return Ua.apply(null,arguments)}
function Va(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}
function Wa(){return Date.now()}
function Xa(a,b){function c(){}
c.prototype=b.prototype;a.Aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}}
function Ya(a){return a}
;function Za(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Za);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}
Xa(Za,Error);Za.prototype.name="CustomError";function $a(a){a=a.url;var b=/[?&]dsh=1(&|$)/.test(a);this.j=!b&&/[?&]ae=1(&|$)/.test(a);this.l=!b&&/[?&]ae=2(&|$)/.test(a);if((this.h=/[?&]adurl=([^&]*)/.exec(a))&&this.h[1]){try{var c=decodeURIComponent(this.h[1])}catch(d){c=null}this.i=c}}
;function bb(){}
function cb(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}
;var db=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},eb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},fb=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=f[g];
b.call(void 0,h,g,a)&&(d[e++]=h)}return d},gb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));
return d},hb=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
eb(a,function(e,f){d=b.call(void 0,d,e,f,a)});
return d};
function ib(a,b){a:{for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}
function jb(a,b){b=db(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}
function kb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Na(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}
;function lb(a,b){for(var c in a)b.call(void 0,a[c],c,a)}
function mb(a){var b=nb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}
function ob(a){for(var b in a)return!1;return!0}
function pb(a,b){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=!0}
function qb(a){return null!==a&&"privembed"in a?a.privembed:!1}
function rb(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0}
function sb(a){var b={},c;for(c in a)b[c]=a[c];return b}
function tb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=tb(a[c]);return b}
var ub="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function vb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<ub.length;f++)c=ub[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
;var wb;function xb(){if(void 0===wb){var a=null,b=B.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Ya,createScript:Ya,createScriptURL:Ya})}catch(c){B.console&&B.console.error(c.message)}wb=a}else wb=a}return wb}
;function yb(){}
function zb(a){return new yb(Ab,a)}
var Ab={};zb("");var Bb={};function Cb(a){this.h=a}
Cb.prototype.toString=function(){return this.h.toString()};function Db(a){this.h=a}
Db.prototype.toString=function(){return this.h+""};
function Eb(a){if(a instanceof Db&&a.constructor===Db)return a.h;Ma(a);return"type_error:TrustedResourceUrl"}
var Fb={};function Gb(a){var b=xb();a=b?b.createScriptURL(a):a;return new Db(a,Fb)}
;var Hb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ib(a){this.h=a}
Ib.prototype.toString=function(){return this.h.toString()};
var Jb={},Kb=new Ib("about:invalid#zClosurez",Jb);var Lb,Mb=D("CLOSURE_FLAGS"),Nb=Mb&&Mb[610401301];Lb=null!=Nb?Nb:!1;function Ob(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}
var Pb,Qb=B.navigator;Pb=Qb?Qb.userAgentData||null:null;function Rb(a){return Lb?Pb?Pb.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}
function E(a){return-1!=Ob().indexOf(a)}
;function Sb(){return Lb?!!Pb&&0<Pb.brands.length:!1}
function Tb(){return Sb()?!1:E("Opera")}
function Ub(){return Sb()?!1:E("Trident")||E("MSIE")}
function Vb(){return E("Firefox")||E("FxiOS")}
function Wb(){return Sb()?Rb("Chromium"):(E("Chrome")||E("CriOS"))&&!(Sb()?0:E("Edge"))||E("Silk")}
;function Xb(a){this.h=a}
Xb.prototype.toString=function(){return this.h.toString()};function Yb(){a:{var a=B.document;if(a.querySelector&&(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&Zb.test(a))break a;a=""}return a}
var Zb=/^[\w+/_-]+[=]{0,2}$/;function $b(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b}
;var ac=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function bc(a){return a?decodeURI(a):a}
function cc(a,b){return b.match(ac)[a]||null}
function dc(a){return bc(cc(3,a))}
function ec(a){var b=a.match(ac);a=b[5];var c=b[6];b=b[7];var d="";a&&(d+=a);c&&(d+="?"+c);b&&(d+="#"+b);return d}
function fc(a){var b=a.indexOf("#");return 0>b?a:a.slice(0,b)}
function hc(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}
function ic(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)ic(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}
function jc(a,b){var c=[];for(b=b||0;b<a.length;b+=2)ic(a[b],a[b+1],c);return c.join("&")}
function kc(a){var b=[],c;for(c in a)ic(c,a[c],b);return b.join("&")}
function lc(a,b){var c=2==arguments.length?jc(arguments[1],0):jc(arguments,1);return hc(a,c)}
function mc(a,b){b=kc(b);return hc(a,b)}
function nc(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return hc(a,b+c)}
function oc(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1}
var pc=/#|$/,qc=/[?&]($|#)/;function rc(a,b){for(var c=a.search(pc),d=0,e,f=[];0<=(e=oc(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace(qc,"$1")}
;function sc(a){this.h=a}
;function tc(a,b,c){this.i=a;this.l=b;this.h=c||[];this.pb=new Map}
m=tc.prototype;m.Md=function(a){var b=Ia.apply(1,arguments),c=this.yc(b);c?c.push(new sc(a)):this.yd(a,b)};
m.yd=function(a){var b=this.getKey(Ia.apply(1,arguments));this.pb.set(b,[new sc(a)])};
m.yc=function(){var a=this.getKey(Ia.apply(0,arguments));return this.pb.has(a)?this.pb.get(a):void 0};
m.de=function(){var a=this.yc(Ia.apply(0,arguments));return a&&a.length?a[0]:void 0};
m.clear=function(){this.pb.clear()};
m.getKey=function(){var a=Ia.apply(0,arguments);return a?a.join(","):"key"};function uc(a,b){tc.call(this,a,3,b)}
w(uc,tc);uc.prototype.j=function(a){var b=Ia.apply(1,arguments),c=0,d=this.de(b);d&&(c=d.h);this.yd(c+a,b)};function vc(a,b){tc.call(this,a,2,b)}
w(vc,tc);vc.prototype.record=function(a){this.Md(a,Ia.apply(1,arguments))};function wc(a){a&&"function"==typeof a.dispose&&a.dispose()}
;function xc(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Na(d)?xc.apply(null,d):wc(d)}}
;function F(){this.ga=this.ga;this.G=this.G}
F.prototype.ga=!1;F.prototype.Z=function(){return this.ga};
F.prototype.dispose=function(){this.ga||(this.ga=!0,this.M())};
function yc(a,b){zc(a,Va(wc,b))}
function zc(a,b){a.ga?b():(a.G||(a.G=[]),a.G.push(b))}
F.prototype.M=function(){if(this.G)for(;this.G.length;)this.G.shift()()};function Ac(a,b){this.type=a;this.h=this.target=b;this.defaultPrevented=this.j=!1}
Ac.prototype.stopPropagation=function(){this.j=!0};
Ac.prototype.preventDefault=function(){this.defaultPrevented=!0};function Bc(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b}
;function Cc(a){var b=D("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(g){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||B.$googDebugFname||b}catch(g){e="Not available",c=!0}b=Dc(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;if(null==
c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Ec[c])c=Ec[c];else{c=String(c);if(!Ec[c]){var f=/function\s+([^\(]+)/m.exec(c);Ec[c]=f?f[1]:"[Anonymous]"}c=Ec[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}}
function Dc(a,b){b||(b={});b[Fc(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[Fc(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=Dc(a,b));return c}
function Fc(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack}
var Ec={};var Gc=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{var c=function(){};
B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();function Hc(){return Lb?!!Pb&&!!Pb.platform:!1}
function Ic(){return E("iPhone")&&!E("iPod")&&!E("iPad")}
;function Jc(a){Jc[" "](a);return a}
Jc[" "]=function(){};var Nc=Tb(),Oc=Ub(),Pc=E("Edge"),Qc=E("Gecko")&&!(-1!=Ob().toLowerCase().indexOf("webkit")&&!E("Edge"))&&!(E("Trident")||E("MSIE"))&&!E("Edge"),Rc=-1!=Ob().toLowerCase().indexOf("webkit")&&!E("Edge");Rc&&E("Mobile");Hc()||E("Macintosh");Hc()||E("Windows");(Hc()?"Linux"===Pb.platform:E("Linux"))||Hc()||E("CrOS");var Sc=B.navigator||null;Sc&&(Sc.appVersion||"").indexOf("X11");var Tc=Hc()?"Android"===Pb.platform:E("Android");Ic();E("iPad");E("iPod");Ic()||E("iPad")||E("iPod");Ob().toLowerCase().indexOf("kaios");
function Uc(){var a=B.document;return a?a.documentMode:void 0}
var Vc;a:{var Wc="",Xc=function(){var a=Ob();if(Qc)return/rv:([^\);]+)(\)|;)/.exec(a);if(Pc)return/Edge\/([\d\.]+)/.exec(a);if(Oc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Rc)return/WebKit\/(\S+)/.exec(a);if(Nc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
Xc&&(Wc=Xc?Xc[1]:"");if(Oc){var Yc=Uc();if(null!=Yc&&Yc>parseFloat(Wc)){Vc=String(Yc);break a}}Vc=Wc}var Zc=Vc,$c;if(B.document&&Oc){var ad=Uc();$c=ad?ad:parseInt(Zc,10)||void 0}else $c=void 0;var bd=$c;function cd(a,b){Ac.call(this,a?a.type:"");this.relatedTarget=this.h=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b)}
Xa(cd,Ac);var dd={2:"touch",3:"pen",4:"mouse"};
cd.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.h=b;if(b=a.relatedTarget){if(Qc){a:{try{Jc(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||
0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:dd[a.pointerType]||"";this.state=a.state;
this.i=a;a.defaultPrevented&&cd.Aa.preventDefault.call(this)};
cd.prototype.stopPropagation=function(){cd.Aa.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0};
cd.prototype.preventDefault=function(){cd.Aa.preventDefault.call(this);var a=this.i;a.preventDefault?a.preventDefault():a.returnValue=!1};var ed="closure_listenable_"+(1E6*Math.random()|0);var fd=0;function gd(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.cc=e;this.key=++fd;this.Qb=this.Wb=!1}
function hd(a){a.Qb=!0;a.listener=null;a.proxy=null;a.src=null;a.cc=null}
;function id(a){this.src=a;this.listeners={};this.h=0}
id.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.h++);var g=jd(a,b,d,e);-1<g?(b=a[g],c||(b.Wb=!1)):(b=new gd(b,this.src,f,!!d,e),b.Wb=c,a.push(b));return b};
id.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=jd(e,b,c,d);return-1<b?(hd(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.listeners[a],this.h--),!0):!1};
function kd(a,b){var c=b.type;c in a.listeners&&jb(a.listeners[c],b)&&(hd(b),0==a.listeners[c].length&&(delete a.listeners[c],a.h--))}
function jd(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Qb&&f.listener==b&&f.capture==!!c&&f.cc==d)return e}return-1}
;var ld="closure_lm_"+(1E6*Math.random()|0),md={},nd=0;function od(a,b,c,d,e){if(d&&d.once)pd(a,b,c,d,e);else if(Array.isArray(b))for(var f=0;f<b.length;f++)od(a,b[f],c,d,e);else c=qd(c),a&&a[ed]?a.listen(b,c,Oa(d)?!!d.capture:!!d,e):rd(a,b,c,!1,d,e)}
function rd(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Oa(e)?!!e.capture:!!e,h=sd(a);h||(a[ld]=h=new id(a));c=h.add(b,c,d,g,f);if(!c.proxy){d=td();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Gc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ud(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");nd++}}
function td(){function a(c){return b.call(a.src,a.listener,c)}
var b=vd;return a}
function pd(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)pd(a,b[f],c,d,e);else c=qd(c),a&&a[ed]?a.h.add(String(b),c,!0,Oa(d)?!!d.capture:!!d,e):rd(a,b,c,!0,d,e)}
function wd(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)wd(a,b[f],c,d,e);else(d=Oa(d)?!!d.capture:!!d,c=qd(c),a&&a[ed])?a.h.remove(String(b),c,d,e):a&&(a=sd(a))&&(b=a.listeners[b.toString()],a=-1,b&&(a=jd(b,c,d,e)),(c=-1<a?b[a]:null)&&xd(c))}
function xd(a){if("number"!==typeof a&&a&&!a.Qb){var b=a.src;if(b&&b[ed])kd(b.h,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ud(c),d):b.addListener&&b.removeListener&&b.removeListener(d);nd--;(c=sd(b))?(kd(c,a),0==c.h&&(c.src=null,b[ld]=null)):hd(a)}}}
function ud(a){return a in md?md[a]:md[a]="on"+a}
function vd(a,b){if(a.Qb)a=!0;else{b=new cd(b,this);var c=a.listener,d=a.cc||a.src;a.Wb&&xd(a);a=c.call(d,b)}return a}
function sd(a){a=a[ld];return a instanceof id?a:null}
var yd="__closure_events_fn_"+(1E9*Math.random()>>>0);function qd(a){if("function"===typeof a)return a;a[yd]||(a[yd]=function(b){return a.handleEvent(b)});
return a[yd]}
;function zd(){F.call(this);this.h=new id(this);this.Ia=this;this.ea=null}
Xa(zd,F);zd.prototype[ed]=!0;m=zd.prototype;m.addEventListener=function(a,b,c,d){od(this,a,b,c,d)};
m.removeEventListener=function(a,b,c,d){wd(this,a,b,c,d)};
function Ad(a,b){var c=a.ea;if(c){var d=[];for(var e=1;c;c=c.ea)d.push(c),++e}a=a.Ia;c=b.type||b;"string"===typeof b?b=new Ac(b,a):b instanceof Ac?b.target=b.target||a:(e=b,b=new Ac(c,a),vb(b,e));e=!0;if(d)for(var f=d.length-1;!b.j&&0<=f;f--){var g=b.h=d[f];e=Bd(g,c,!0,b)&&e}b.j||(g=b.h=a,e=Bd(g,c,!0,b)&&e,b.j||(e=Bd(g,c,!1,b)&&e));if(d)for(f=0;!b.j&&f<d.length;f++)g=b.h=d[f],e=Bd(g,c,!1,b)&&e}
m.M=function(){zd.Aa.M.call(this);this.removeAllListeners();this.ea=null};
m.listen=function(a,b,c,d){return this.h.add(String(a),b,!1,c,d)};
m.removeAllListeners=function(a){if(this.h){var b=this.h;a=a&&a.toString();var c=0,d;for(d in b.listeners)if(!a||d==a){for(var e=b.listeners[d],f=0;f<e.length;f++)++c,hd(e[f]);delete b.listeners[d];b.h--}b=c}else b=0;return b};
function Bd(a,b,c,d){b=a.h.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.Qb&&g.capture==c){var h=g.listener,k=g.cc||g.src;g.Wb&&kd(a.h,g);e=!1!==h.call(k,d)&&e}}return e&&!d.defaultPrevented}
;function Cd(a,b){this.j=a;this.l=b;this.i=0;this.h=null}
Cd.prototype.get=function(){if(0<this.i){this.i--;var a=this.h;this.h=a.next;a.next=null}else a=this.j();return a};
function Dd(a,b){a.l(b);100>a.i&&(a.i++,b.next=a.h,a.h=b)}
;function Ed(a,b){return a+Math.random()*(b-a)}
;function Fd(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}
m=Fd.prototype;m.clone=function(){return new Fd(this.x,this.y)};
m.equals=function(a){return a instanceof Fd&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};
m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
m.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function Gd(a,b){this.width=a;this.height=b}
m=Gd.prototype;m.clone=function(){return new Gd(this.width,this.height)};
m.aspectRatio=function(){return this.width/this.height};
m.Lb=function(){return!(this.width*this.height)};
m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
m.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function Hd(a){var b=document;return"string"===typeof a?b.getElementById(a):a}
function Id(a){var b=document;a=String(a);"application/xhtml+xml"===b.contentType&&(a=a.toLowerCase());return b.createElement(a)}
function Jd(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}
;var Kd;function Ld(){var a=B.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!E("Presto")&&(a=function(){var e=Id("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Ua(function(k){if(("*"==h||k.origin==h)&&k.data==g)this.port1.onmessage()},this);
f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});
if("undefined"!==typeof a&&!Ub()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Zc;c.Zc=null;e()}};
return function(e){d.next={Zc:e};d=d.next;b.port2.postMessage(0)}}return function(e){B.setTimeout(e,0)}}
;function Md(a){B.setTimeout(function(){throw a;},0)}
;function Nd(){this.i=this.h=null}
Nd.prototype.add=function(a,b){var c=Od.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c};
Nd.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.i=null),a.next=null);return a};
var Od=new Cd(function(){return new Pd},function(a){return a.reset()});
function Pd(){this.next=this.scope=this.h=null}
Pd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null};
Pd.prototype.reset=function(){this.next=this.scope=this.h=null};var Qd,Rd=!1,Sd=new Nd;function Td(a,b){Qd||Ud();Rd||(Qd(),Rd=!0);Sd.add(a,b)}
function Ud(){if(B.Promise&&B.Promise.resolve){var a=B.Promise.resolve(void 0);Qd=function(){a.then(Vd)}}else Qd=function(){var b=Vd;
"function"!==typeof B.setImmediate||B.Window&&B.Window.prototype&&(Sb()||!E("Edge"))&&B.Window.prototype.setImmediate==B.setImmediate?(Kd||(Kd=Ld()),Kd(b)):B.setImmediate(b)}}
function Vd(){for(var a;a=Sd.remove();){try{a.h.call(a.scope)}catch(b){Md(b)}Dd(Od,a)}Rd=!1}
;function Wd(a){this.h=0;this.s=void 0;this.l=this.i=this.j=null;this.m=this.G=!1;if(a!=bb)try{var b=this;a.call(void 0,function(c){Xd(b,2,c)},function(c){Xd(b,3,c)})}catch(c){Xd(this,3,c)}}
function Yd(){this.next=this.context=this.h=this.i=this.child=null;this.j=!1}
Yd.prototype.reset=function(){this.context=this.h=this.i=this.child=null;this.j=!1};
var Zd=new Cd(function(){return new Yd},function(a){a.reset()});
function $d(a,b,c){var d=Zd.get();d.i=a;d.h=b;d.context=c;return d}
function ae(a){return new Wd(function(b,c){c(a)})}
Wd.prototype.then=function(a,b,c){return be(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};
Wd.prototype.$goog_Thenable=!0;m=Wd.prototype;m.pc=function(a,b){return be(this,null,a,b)};
m.catch=Wd.prototype.pc;m.cancel=function(a){if(0==this.h){var b=new ce(a);Td(function(){de(this,b)},this)}};
function de(a,b){if(0==a.h)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,f=null,g=c.i;g&&(g.j||(d++,g.child==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.h&&1==d?de(c,b):(f?(d=f,d.next==c.l&&(c.l=d),d.next=d.next.next):ee(c),fe(c,e,3,b)))}a.j=null}else Xd(a,3,b)}
function ge(a,b){a.i||2!=a.h&&3!=a.h||he(a);a.l?a.l.next=b:a.i=b;a.l=b}
function be(a,b,c,d){var e=$d(null,null,null);e.child=new Wd(function(f,g){e.i=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;
e.h=c?function(h){try{var k=c.call(d,h);void 0===k&&h instanceof ce?g(h):f(k)}catch(l){g(l)}}:g});
e.child.j=a;ge(a,e);return e.child}
m.cf=function(a){this.h=0;Xd(this,2,a)};
m.df=function(a){this.h=0;Xd(this,3,a)};
function Xd(a,b,c){if(0==a.h){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.h=1;a:{var d=c,e=a.cf,f=a.df;if(d instanceof Wd){ge(d,$d(e||bb,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(l){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(Oa(d))try{var k=d.then;if("function"===typeof k){ie(d,k,e,f,a);g=!0;break a}}catch(l){f.call(a,l);g=!0;break a}g=!1}}}g||(a.s=c,a.h=b,a.j=null,he(a),3!=b||c instanceof ce||je(a,c))}}
function ie(a,b,c,d,e){function f(k){h||(h=!0,d.call(e,k))}
function g(k){h||(h=!0,c.call(e,k))}
var h=!1;try{b.call(a,g,f)}catch(k){f(k)}}
function he(a){a.G||(a.G=!0,Td(a.Yd,a))}
function ee(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b}
m.Yd=function(){for(var a;a=ee(this);)fe(this,a,this.h,this.s);this.G=!1};
function fe(a,b,c,d){if(3==c&&b.h&&!b.j)for(;a&&a.m;a=a.j)a.m=!1;if(b.child)b.child.j=null,ke(b,c,d);else try{b.j?b.i.call(b.context):ke(b,c,d)}catch(e){le.call(null,e)}Dd(Zd,b)}
function ke(a,b,c){2==b?a.i.call(a.context,c):a.h&&a.h.call(a.context,c)}
function je(a,b){a.m=!0;Td(function(){a.m&&le.call(null,b)})}
var le=Md;function ce(a){Za.call(this,a)}
Xa(ce,Za);ce.prototype.name="cancel";function me(a,b){zd.call(this);this.j=a||1;this.i=b||B;this.l=Ua(this.af,this);this.m=Wa()}
Xa(me,zd);m=me.prototype;m.enabled=!1;m.Ea=null;m.setInterval=function(a){this.j=a;this.Ea&&this.enabled?(this.stop(),this.start()):this.Ea&&this.stop()};
m.af=function(){if(this.enabled){var a=Wa()-this.m;0<a&&a<.8*this.j?this.Ea=this.i.setTimeout(this.l,this.j-a):(this.Ea&&(this.i.clearTimeout(this.Ea),this.Ea=null),Ad(this,"tick"),this.enabled&&(this.stop(),this.start()))}};
m.start=function(){this.enabled=!0;this.Ea||(this.Ea=this.i.setTimeout(this.l,this.j),this.m=Wa())};
m.stop=function(){this.enabled=!1;this.Ea&&(this.i.clearTimeout(this.Ea),this.Ea=null)};
m.M=function(){me.Aa.M.call(this);this.stop();delete this.i};
function ne(a,b,c){if("function"===typeof a)c&&(a=Ua(a,c));else if(a&&"function"==typeof a.handleEvent)a=Ua(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:B.setTimeout(a,b||0)}
;function oe(a){F.call(this);this.B=a;this.i=new Map;this.s=new Set;this.j=0;this.l=100;this.flushInterval=3E4;this.h=new me(this.flushInterval);this.h.listen("tick",this.mb,!1,this);yc(this,this.h);this.m=!1}
w(oe,F);m=oe.prototype;m.sendIsolatedPayload=function(a){this.m=a;this.l=1};
function pe(a){a.h.enabled||a.h.start();a.j++;a.j>=a.l&&a.mb()}
m.mb=function(){var a=this.i.values();a=[].concat(ma(a)).filter(function(b){return b.pb.size});
a.length&&this.B.flush(a,this.m);qe(a);this.j=0;this.h.enabled&&this.h.stop()};
m.Uc=function(a){var b=Ia.apply(1,arguments);this.i.has(a)||this.i.set(a,new uc(a,b))};
m.Vc=function(a){var b=Ia.apply(1,arguments);this.i.has(a)||this.i.set(a,new vc(a,b))};
function re(a,b){return a.s.has(b)?void 0:a.i.get(b)}
m.qc=function(a){this.Kd.apply(this,[a,1].concat(ma(Ia.apply(1,arguments))))};
m.Kd=function(a,b){var c=Ia.apply(2,arguments),d=re(this,a);d&&d instanceof uc&&(d.j(b,c),pe(this))};
m.record=function(a,b){var c=Ia.apply(2,arguments),d=re(this,a);d&&d instanceof vc&&(d.record(b,c),pe(this))};
function qe(a){for(var b=0;b<a.length;b++)a[b].clear()}
;function se(a){this.h=a;this.h.Uc("/client_streamz/bg/fiec",{bb:3,ab:"rk"},{bb:2,ab:"ec"},{bb:3,ab:"em"})}
function te(a,b,c,d){a.h.qc("/client_streamz/bg/fiec",b,c,d)}
function ue(a){this.h=a;this.h.Vc("/client_streamz/bg/fil",{bb:3,ab:"rk"},{bb:3,ab:"ke"})}
ue.prototype.record=function(a,b,c){this.h.record("/client_streamz/bg/fil",a,b,c)};
function ve(a){this.h=a;this.h.Uc("/client_streamz/bg/fsc",{bb:3,ab:"rk"})}
function we(a){this.h=a;this.h.Vc("/client_streamz/bg/fsl",{bb:3,ab:"rk"})}
we.prototype.record=function(a,b){this.h.record("/client_streamz/bg/fsl",a,b)};var xe={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);0<a;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}};function ye(a){function b(){c-=d;c-=e;c^=e>>>13;d-=e;d-=c;d^=c<<8;e-=c;e-=d;e^=d>>>13;c-=d;c-=e;c^=e>>>12;d-=e;d-=c;d^=c<<16;e-=c;e-=d;e^=d>>>5;c-=d;c-=e;c^=e>>>3;d-=e;d-=c;d^=c<<10;e-=c;e-=d;e^=d>>>15}
a=ze(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,g=f,h=0;12<=g;g-=12,h+=12)c+=Ae(a,h),d+=Ae(a,h+4),e+=Ae(a,h+8),b();e+=f;switch(g){case 11:e+=a[h+10]<<24;case 10:e+=a[h+9]<<16;case 9:e+=a[h+8]<<8;case 8:d+=a[h+7]<<24;case 7:d+=a[h+6]<<16;case 6:d+=a[h+5]<<8;case 5:d+=a[h+4];case 4:c+=a[h+3]<<24;case 3:c+=a[h+2]<<16;case 2:c+=a[h+1]<<8;case 1:c+=a[h+0]}b();return xe.toString(e)}
function ze(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b}
function Ae(a,b){return a[b+0]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)}
;Vb();var Be=Ic()||E("iPod"),Ce=E("iPad");!E("Android")||Wb()||Vb()||Tb()||E("Silk");Wb();var De=E("Safari")&&!(Wb()||(Sb()?0:E("Coast"))||Tb()||(Sb()?0:E("Edge"))||(Sb()?Rb("Microsoft Edge"):E("Edg/"))||(Sb()?Rb("Opera"):E("OPR"))||Vb()||E("Silk")||E("Android"))&&!(Ic()||E("iPad")||E("iPod"));var Ee={},Fe=null;function Ge(a,b){Na(a);void 0===b&&(b=0);He();b=Ee[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=a[e],h=a[e+1],k=a[e+2],l=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")}
function Ie(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Je(a,function(f){d[e++]=f});
return e!==c?d.subarray(0,e):d}
function Je(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),n=Fe[l];if(null!=n)return n;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}
He();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),h=c(64);if(64===h&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}}
function He(){if(!Fe){Fe={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Ee[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Fe[f]&&(Fe[f]=e)}}}}
;var Ke="undefined"!==typeof Uint8Array,Le=!Oc&&"function"===typeof btoa;function Me(a){if(!Le)return Ge(a);for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)}
var Ne=/[-_.]/g,Oe={"-":"+",_:"/",".":"="};function Pe(a){return Oe[a]||""}
function Qe(a){return Ke&&null!=a&&a instanceof Uint8Array}
var Re={};var Se;function Te(a){if(a!==Re)throw Error("illegal external caller");}
function Ue(a,b){Te(b);this.value_=a;if(null!=a&&0===a.length)throw Error("ByteString should be constructed with non-empty values");}
Ue.prototype.Lb=function(){return null==this.value_};
Ue.prototype.sizeBytes=function(){Te(Re);var a=this.value_;if(null!=a&&!Qe(a))if("string"===typeof a)if(Le){Ne.test(a)&&(a=a.replace(Ne,Pe));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);a=b}else a=Ie(a);else Ma(a),a=null;return(a=null==a?a:this.value_=a)?a.length:0};function Ve(a){return Array.prototype.slice.call(a)}
;var We="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;Math.max.apply(Math,ma(Object.values({Ff:1,Df:2,Cf:4,If:8,Hf:16,Gf:32,uf:64,Jf:128,Bf:256,Af:512,Ef:1024,zf:2048})));var Xe=We?function(a,b){a[We]|=b}:function(a,b){void 0!==a.Ra?a.Ra|=b:Object.defineProperties(a,{Ra:{value:b,
configurable:!0,writable:!0,enumerable:!1}})};
function Ye(a){var b=Ze(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Ve(a)),$e(a,b|1))}
function af(a,b,c){return c?a|b:a&~b}
var Ze=We?function(a){return a[We]|0}:function(a){return a.Ra|0},bf=We?function(a){return a[We]}:function(a){return a.Ra},$e=We?function(a,b){a[We]=b}:function(a,b){void 0!==a.Ra?a.Ra=b:Object.defineProperties(a,{Ra:{value:b,
configurable:!0,writable:!0,enumerable:!1}})};
function cf(){var a=[];Xe(a,1);return a}
function df(a,b){$e(b,(a|0)&-2303)}
function ef(a,b){$e(b,(a|34)&-2269)}
function ff(a){a=a>>12&1023;return 0===a?536870912:a}
;var gf={};function hf(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}
var jf;function kf(a,b){if(null==a){if(!b)throw Error();}else if("string"===typeof a)a=a?new Ue(a,Re):Se||(Se=new Ue(null,Re));else if(a.constructor!==Ue)if(Qe(a))a instanceof Uint8Array||Array.isArray(a),a=a.length?new Ue(new Uint8Array(a),Re):Se||(Se=new Ue(null,Re));else throw Error();return a}
var lf,mf=[];$e(mf,55);lf=Object.freeze(mf);function nf(a){if(a&2)throw Error();}
;function of(){var a=Error();Bc(a,"incident");Md(a)}
function pf(a){a=Error(a);Bc(a,"warning");return a}
;function qf(a){return a.displayName||a.name||"unknown type name"}
function rf(a){if(null!=a){if("boolean"!==typeof a)throw Error("Expected boolean but got "+Ma(a)+": "+a);a=!!a}return a}
var sf=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function tf(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:sf.test(a)}
function uf(a){if(null!=a){if("number"!==typeof a)throw pf("int32");Number.isFinite(a)||of()}return a}
function vf(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}
function wf(a){if(null!=a){if(!tf(a))throw pf("int64");a="string"===typeof a?xf(a):yf(a)}return a}
function yf(a){tf(a);return a}
function xf(a){tf(a);return a}
function zf(a){if("string"!==typeof a)throw Error();return a}
function Af(a){if(null!=a&&"string"!==typeof a)throw Error();return a}
function Bf(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+qf(b)+" but got "+(a&&qf(a.constructor)));}
function Cf(a,b,c){if(null!=a&&"object"===typeof a&&a.Ic===gf)return a;if(Array.isArray(a)){var d=Ze(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&$e(a,e);return new b(a)}}
;var Df;function Ef(a,b){Ze(b);Df=b;a=new a(b);Df=void 0;return a}
function Ff(a,b,c){null==a&&(a=Df);Df=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-4190209|(b&1023)<<12)}else{if(!Array.isArray(a))throw Error();d=Ze(a);if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var f=e-1,g=c[f];if(hf(g)){d|=256;b=+!!(d&512)-1;e=f-b;1024<=e&&(Gf(c,b,g),e=1023);d=d&-4190209|(e&1023)<<12;break a}}b&&(g=+!!(d&512)-1,b=Math.max(b,e-g),1024<b&&(Gf(c,g,{}),d|=256,b=1023),d=d&-4190209|(b&1023)<<12)}}$e(a,d);return a}
function Gf(a,b,c){for(var d=1023+b,e=a.length,f=d;f<e;f++){var g=a[f];null!=g&&g!==c&&(c[f-b]=g)}a.length=d+1;a[d]=c}
;function Hf(a,b){return If(b)}
function If(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)){if(Qe(a))return Me(a);if(a instanceof Ue){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Me(b)}}}return a}
;function Jf(a,b,c){a=Ve(a);var d=a.length,e=b&256?a[d-1]:void 0;d+=e?-1:0;for(b=b&512?1:0;b<d;b++)a[b]=c(a[b]);if(e){b=a[b]={};for(var f in e)b[f]=c(e[f])}return a}
function Kf(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Ze(a)&1?void 0:f&&Ze(a)&2?a:Lf(a,b,c,void 0!==d,e,f);else if(hf(a)){var g={},h;for(h in a)g[h]=Kf(a[h],b,c,d,e,f);a=g}else a=b(a,d);return a}}
function Lf(a,b,c,d,e,f){var g=d||c?Ze(a):0;d=d?!!(g&32):void 0;a=Ve(a);for(var h=0;h<a.length;h++)a[h]=Kf(a[h],b,c,d,e,f);c&&c(g,a);return a}
function Mf(a){return a.Ic===gf?a.toJSON():If(a)}
;function Nf(a,b,c){c=void 0===c?ef:c;if(null!=a){if(Ke&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Ze(a);if(d&2)return a;b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16)));return b?($e(a,(d|34)&-5),a):Lf(a,Nf,d&4?ef:c,!0,!1,!0)}a.Ic===gf&&(c=a.A,d=bf(c),a=d&2?a:Ef(a.constructor,Of(c,d,!0)));return a}}
function Of(a,b,c){var d=c||b&2?ef:df,e=!!(b&32);a=Jf(a,b,function(f){return Nf(f,e,d)});
Xe(a,32|(c?2:0));return a}
function Pf(a){var b=a.A,c=bf(b);return c&2?Ef(a.constructor,Of(b,c,!1)):a}
;Object.freeze({});function Qf(a,b){a=a.A;return Rf(a,bf(a),b)}
function Rf(a,b,c,d){if(-1===c)return null;if(c>=ff(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b<e)return a[b]}}
function G(a,b,c){var d=a.A,e=bf(d);nf(e);Sf(d,e,b,c);return a}
function Sf(a,b,c,d,e){hf(d);var f=ff(b);if(c>=f||e){e=b;if(b&256)f=a[a.length-1];else{if(null==d)return e;f=a[f+(+!!(b&512)-1)]={};e|=256}f[c]=d;e!==b&&$e(a,e);return e}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}
function Tf(a){return void 0!==Uf(a,Vf,11,!1)}
function Wf(a,b,c,d){var e=a.A,f=bf(e);nf(f);if(null==c)return Sf(e,f,b),a;var g=Ze(c),h=g,k=!!(2&g)||Object.isFrozen(c),l=!k&&!1;if(!(4&g))for(g=21,k&&(c=Ve(c),h=0,g=Xf(g,f,!0)),k=0;k<c.length;k++)c[k]=d(c[k]);l&&(g=af(g,2,!0));g!==h&&$e(c,g);l&&Object.freeze(c);Sf(e,f,b,c);return a}
function Yf(a,b,c,d){a=a.A;var e=bf(a);nf(e);for(var f=e,g=0,h=0;h<c.length;h++){var k=c[h];null!=Rf(a,f,k)&&(0!==g&&(f=Sf(a,f,g)),g=k)}(c=g)&&c!==b&&null!=d&&(e=Sf(a,e,c));Sf(a,e,b,d)}
function Uf(a,b,c,d){a=a.A;var e=bf(a),f=Rf(a,e,c,d);b=Cf(f,b,e);b!==f&&null!=b&&Sf(a,e,c,b,d);return b}
function Zf(a,b,c,d){d=void 0===d?!1:d;b=Uf(a,b,c,d);if(null==b)return b;a=a.A;var e=bf(a);if(!(e&2)){var f=Pf(b);f!==b&&(b=f,Sf(a,e,c,b,d))}return b}
function $f(a,b,c,d){null!=d?Bf(d,b):d=void 0;return G(a,c,d)}
function ag(a,b,c,d){var e=a.A,f=bf(e);nf(f);if(null==d)return Sf(e,f,c),a;for(var g=Ze(d),h=g,k=!!(2&g)||!!(2048&g),l=k||Object.isFrozen(d),n=!l&&!1,p=!0,t=!0,r=0;r<d.length;r++){var x=d[r];Bf(x,b);k||(x=!!(Ze(x.A)&2),p&&(p=!x),t&&(t=x))}k||(g=af(g,5,!0),g=af(g,8,p),g=af(g,16,t),n&&(g=af(g,t?2:2048,!0)),g!==h&&(l&&(d=Ve(d),g=Xf(g,f,!0)),$e(d,g)),n&&Object.freeze(d));Sf(e,f,c,d);return a}
function Xf(a,b,c){a=af(a,2,!!(2&b));a=af(a,32,!!(32&b)&&c);return a=af(a,2048,!1)}
function bg(a,b){a=Qf(a,b);var c;null==a?c=a:tf(a)?"number"===typeof a?c=yf(a):c=xf(a):c=void 0;return c}
function cg(a){a=Qf(a,1);a=null==a?a:tf(a)?"string"===typeof a?xf(a):yf(a):void 0;return a}
function dg(a){return kf(a,!1)}
function eg(a,b,c){null!=c&&(Number.isFinite(c)||of());return G(a,b,c)}
;function fg(a,b,c){this.A=Ff(a,b,c)}
m=fg.prototype;m.toJSON=function(){if(jf)var a=gg(this,this.A,!1);else a=Lf(this.A,Mf,void 0,void 0,!1,!1),a=gg(this,a,!0);return a};
m.serialize=function(){jf=!0;try{return JSON.stringify(this.toJSON(),Hf)}finally{jf=!1}};
function hg(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);Xe(b,32);return Ef(a,b)}
m.clone=function(){var a=this.A,b=bf(a);return Ef(this.constructor,Of(a,b,!1))};
m.Ic=gf;m.toString=function(){return gg(this,this.A,!1).toString()};
function gg(a,b,c){var d=a.constructor.Ta,e=bf(c?a.A:b),f=ff(e);e=!1;if(d){if(!c){b=Ve(b);var g;if(b.length&&hf(g=b[b.length-1]))for(e=0;e<d.length;e++)if(d[e]>=f){Object.assign(b[b.length-1]={},g);break}e=!0}g=b;c=!c;f=bf(a.A);a=ff(f);f=+!!(f&512)-1;for(var h,k,l=0;l<d.length;l++)if(k=d[l],k<a){k+=f;var n=g[k];null==n?g[k]=c?lf:cf():c&&n!==lf&&Ye(n)}else h||(n=void 0,g.length&&hf(n=g[g.length-1])?h=n:g.push(h={})),n=h[k],null==h[k]?h[k]=c?lf:cf():c&&n!==lf&&Ye(n)}d=b.length;if(!d)return b;var p;
if(hf(h=b[d-1])){a:{var t=h;g={};c=!1;for(var r in t)a=t[r],Array.isArray(a)&&a!=a&&(c=!0),null!=a?g[r]=a:c=!0;if(c){for(var x in g){t=g;break a}t=null}}t!=h&&(p=!0);d--}for(;0<d;d--){h=b[d-1];if(null!=h)break;var y=!0}if(!p&&!y)return b;var z;e?z=b:z=Array.prototype.slice.call(b,0,d);b=z;e&&(b.length=d);t&&b.push(t);return b}
;function ig(a){this.A=Ff(a)}
w(ig,fg);var jg=[1,2,3];function kg(a){this.A=Ff(a)}
w(kg,fg);var lg=[1,2,3];function mg(a){this.A=Ff(a)}
w(mg,fg);mg.Ta=[1];function ng(a){this.A=Ff(a)}
w(ng,fg);ng.Ta=[3,6,4];function og(a){this.A=Ff(a)}
w(og,fg);og.Ta=[1];function pg(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.startsWith("blob:")&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==
c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a}
;function qg(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}
function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var x=e[1],y=e[2],z=e[3],H=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var L=z^x&(y^z);var I=1518500249}else L=x^y^z,I=1859775393;else 60>r?(L=x&y|z&(x|y),I=2400959708):(L=x^y^z,I=3395469782);L=((p<<5|p>>>27)&4294967295)+L+H+I+t[r]&4294967295;H=z;z=y;y=(x<<30|x>>>2)&4294967295;x=p;p=L}e[0]=e[0]+p&4294967295;e[1]=e[1]+x&4294967295;e[2]=
e[2]+y&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+H&4294967295}
function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],x=0,y=p.length;x<y;++x)r.push(p.charCodeAt(x));p=r}t||(t=p.length);r=0;if(0==l)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<t;)if(f[l++]=p[r++],n++,64==l)for(l=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}
function d(){var p=[],t=8*n;56>l?c(h,56-l):c(h,64-(l-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var x=24;0<=x;x-=8)p[t++]=e[r]>>x&255;return p}
for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,Ud:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}}
;function rg(a,b,c){var d=String(B.location.href);return d&&a&&b?[b,sg(pg(d),a,c||null)].join(" "):null}
function sg(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],eb(d,function(h){e.push(h)}),tg(e.join(" "));
var f=[],g=[];eb(c,function(h){g.push(h.key);f.push(h.value)});
c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];eb(d,function(h){e.push(h)});
a=tg(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")}
function tg(a){var b=qg();b.update(a);return b.Ud().toLowerCase()}
;var ug={};function vg(a){this.h=a||{cookie:""}}
m=vg.prototype;m.isEnabled=function(){if(!B.navigator.cookieEnabled)return!1;if(!this.Lb())return!0;this.set("TESTCOOKIESENABLED","1",{fc:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
m.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.eg;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.fc}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===h&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=0>h?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString();this.h.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+
e:"")};
m.get=function(a,b){for(var c=a+"=",d=(this.h.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Hb(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};
m.remove=function(a,b,c){var d=void 0!==this.get(a);this.set(a,"",{fc:0,path:b,domain:c});return d};
m.Bc=function(){return wg(this).keys};
m.Lb=function(){return!this.h.cookie};
m.clear=function(){for(var a=wg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
function wg(a){a=(a.h.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Hb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}}
var xg=new vg("undefined"==typeof document?null:document);function yg(a){return!!ug.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)}
function zg(a){a=void 0===a?!1:a;var b=B.__SAPISID||B.__APISID||B.__3PSAPISID||B.__OVERRIDE_SID;yg(a)&&(b=b||B.__1PSAPISID);if(b)return!0;if("undefined"!==typeof document){var c=new vg(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");yg(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b}
function Ag(a,b,c,d){(a=B[a])||"undefined"===typeof document||(a=(new vg(document)).get(b));return a?rg(a,c,d):null}
function Bg(a,b){b=void 0===b?!1:b;var c=pg(String(B.location.href)),d=[];if(zg(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?B.__SAPISID:B.__APISID;e||"undefined"===typeof document||(e=new vg(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?rg(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&yg(b)&&((b=Ag("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Ag("__3PSAPISID","__Secure-3PAPISID",
"SAPISID3PHASH",a))&&d.push(a))}return 0==d.length?null:d.join(" ")}
;function Cg(a){this.A=Ff(a)}
w(Cg,fg);Cg.Ta=[2];function Dg(a){zd.call(this);this.intervalMs=a;this.enabled=!1;this.i=function(){return Wa()};
this.j=this.i()}
w(Dg,zd);Dg.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};
Dg.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.j=this.i())};
Dg.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};
Dg.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.i()-this.j,0);b<.8*this.intervalMs?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),Ad(this,"tick"),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};function Eg(a){this.A=Ff(a)}
w(Eg,fg);function Fg(a){this.A=Ff(a)}
w(Fg,fg);function Gg(a){this.h=this.i=this.j=a}
Gg.prototype.reset=function(){this.h=this.i=this.j};
Gg.prototype.getValue=function(){return this.i};function Hg(a){this.A=Ff(a)}
w(Hg,fg);function Ig(a){this.A=Ff(a)}
w(Ig,fg);Ig.Ta=[1];function Vf(a){this.A=Ff(a)}
w(Vf,fg);var Jg=["platform","platformVersion","architecture","model","uaFullVersion"];new Ig;function Kg(a){this.A=Ff(a)}
w(Kg,fg);function Lg(a){this.A=Ff(a)}
w(Lg,fg);function Mg(a){this.A=Ff(a,34)}
w(Mg,fg);Mg.Ta=[3,20,27];function Ng(a){this.A=Ff(a,19)}
w(Ng,fg);Ng.prototype.Rb=function(a){return eg(this,2,a)};
Ng.Ta=[3,5];function Og(a){this.A=Ff(a,6)}
w(Og,fg);var Pg=function(a){return function(b){return hg(a,b)}}(Og);
Og.Ta=[5];function Qg(a){this.A=Ff(a)}
w(Qg,fg);var Rg;Rg=new function(a,b,c){this.h=a;this.fieldName=b;this.ctor=c;this.isRepeated=0;this.i=Zf;this.defaultValue=void 0}(175237375,{Tf:0},Qg);function Sg(a){F.call(this);var b=this;this.componentId="";this.i=[];this.na="";this.Ba=this.ea=-1;this.ma=!1;this.B=this.experimentIds=null;this.Y=this.da=this.s=this.l=0;this.Ia=1;this.timeoutMillis=0;this.R=!1;this.logSource=a.logSource;this.rb=a.rb||function(){};
this.j=new Tg(a.logSource,a.vb);this.network=a.network;this.Cb=a.Cb||null;this.bufferSize=1E3;this.nb=Va(Ed,0,1);this.W=a.ef||null;this.sessionIndex=a.sessionIndex||null;this.Jb=a.Jb||!1;this.pageId=a.pageId||null;this.logger=null;this.withCredentials=!a.dd;this.vb=a.vb||!1;var c=eg(new Kg,1,1);Ug(this.j,c);this.m=new Gg(1E4);this.h=new Dg(this.m.getValue());a=Vg(this,a.Wc);od(this.h,"tick",a,!1,this);this.S=new Dg(6E5);od(this.S,"tick",a,!1,this);this.Jb||this.S.start();this.vb||(od(document,"visibilitychange",
function(){"hidden"===document.visibilityState&&b.wc()}),od(document,"pagehide",this.wc,!1,this))}
w(Sg,F);function Vg(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}}
m=Sg.prototype;m.M=function(){this.wc();this.h.stop();this.S.stop();F.prototype.M.call(this)};
function Wg(a){a.W||(a.W=.01>a.nb()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.W}
function Xg(a,b){a.m=new Gg(1>b?1:b);a.h.setInterval(a.m.getValue())}
m.log=function(a){a=a.clone();var b=this.Ia++;a=G(a,21,wf(b));this.componentId&&G(a,26,Af(this.componentId));cg(a)||(b=Date.now(),b=Number.isFinite(b)?b.toString():"0",G(a,1,wf(b)));null==bg(a,15)&&G(a,15,wf(60*(new Date).getTimezoneOffset()));this.experimentIds&&(b=this.experimentIds.clone(),$f(a,Cg,16,b));b=this.i.length-this.bufferSize+1;0<b&&(this.i.splice(0,b),this.l+=b);this.i.push(a);this.Jb||this.h.enabled||this.h.start()};
m.flush=function(a,b){var c=this;if(0===this.i.length)a&&a();else if(this.R)Yg(this.j,3),Zg(this);else{var d=Date.now();if(this.Ba>d&&this.ea<d)b&&b("throttled");else{Yg(this.j,1);var e=$g(this.j,this.i,this.l,this.s,this.Cb,this.da,this.Y);d={};var f=this.rb();f&&(d.Authorization=f);var g=Wg(this);this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,g=nc(g,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,g=nc(g,"pageId",this.pageId));if(f&&this.na===f)b&&b("stale-auth-token");
else{this.i=[];this.h.enabled&&this.h.stop();this.l=0;var h=e.serialize(),k;this.B&&this.B.isSupported(h.length)&&(k=this.B.compress(h));var l={url:g,body:h,Qd:1,Mc:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},n=function(r){c.m.reset();c.h.setInterval(c.m.getValue());if(r){var x=null;try{var y=JSON.stringify(JSON.parse(r.replace(")]}'\n","")));x=Pg(y)}catch(H){}if(x){r=Number;y="-1";y=void 0===y?"0":y;var z=cg(x);r=r(null!=z?z:y);0<r&&(c.ea=Date.now(),
c.Ba=c.ea+r);x=Rg.ctor?Rg.i(x,Rg.ctor,Rg.h,!0):Rg.i(x,Rg.h,null,!0);if(r=null===x?void 0:x)x=-1,x=void 0===x?0:x,r=vf(Qf(r,1)),x=null!=r?r:x,-1!==x&&(c.ma||Xg(c,x))}}a&&a();c.s=0},p=function(r,x){var y=void 0===y?2:y;
var z=e.A;var H=bf(z),L=!!(2&H),I=H;H=L?1:y;y=1===H;H=2===H;var da=!!(2&I)&&H,S=I;var O=S&2;I=Rf(z,S,3);Array.isArray(I)||(I=lf);var ba=!!(S&32);S=Ze(I);0===S&&ba&&!O?(S|=33,$e(I,S)):S&1||(S|=1,$e(I,S));O&&(O=!1,S&2||(Xe(I,34),O=!!(4&S)),O&&Object.freeze(I));O=I;I=bf(z);var J=Ze(O),ca=!!(2&J);S=!!(4&J);ba=!!(32&J);var ha=ca&&S||!!(2048&J);if(!S){var V=O,ab=I,Kc=!!(2&J);Kc&&(ab=af(ab,2,!0));for(var Lc=!Kc,Mc=!0,X=0,wi=0;X<V.length;X++){var xi=Cf(V[X],Mg,ab);if(xi instanceof Mg){if(!Kc){var Wm=!!(Ze(xi.A)&
2);Lc&&(Lc=!Wm);Mc&&(Mc=Wm)}V[wi++]=xi}}wi<X&&(V.length=wi);J=af(J,4,!0);J=af(J,16,Mc);J=af(J,8,Lc);$e(V,J);ca&&!da&&(Object.freeze(O),ha=!0)}da=J;ca=!!(8&J)||y&&!O.length;if(!L&&!ca){ha&&(O=Ve(O),ha=!1,da=0,J=Xf(J,I,!1),I=Sf(z,I,3,O));L=O;ca=J;for(V=0;V<L.length;V++)J=L[V],ab=Pf(J),J!==ab&&(L[V]=ab);ca=af(ca,8,!0);J=ca=af(ca,16,!L.length)}ha||(y?J=af(J,!O.length||16&J&&(!S||ba)?2:2048,!0):J=af(J,32,!1),J!==da&&$e(O,J),y&&(Object.freeze(O),ha=!0));H&&ha&&(O=Ve(O),J=Xf(J,I,!1),$e(O,J),Sf(z,I,3,O));
z=O;y=bg(e,14);H=c.m;H.h=Math.min(3E5,2*H.h);H.i=Math.min(3E5,H.h+Math.round(.2*(Math.random()-.5)*H.h));c.h.setInterval(c.m.getValue());401===r&&f&&(c.na=f);y&&(c.l+=y);void 0===x&&(x=c.isRetryable(r));x&&(c.i=z.concat(c.i),c.Jb||c.h.enabled||c.h.start());b&&b("net-send-failed",r);++c.s},t=function(){c.network&&c.network.send(l,n,p)};
k?k.then(function(r){l.Mc["Content-Encoding"]="gzip";l.Mc["Content-Type"]="application/binary";l.body=r;l.Qd=2;t()},function(){t()}):t()}}}};
m.wc=function(){ah(this.j,!0);this.flush();ah(this.j,!1)};
function Zg(a){bh(a,function(b,c){b=nc(b,"format","json");var d=!1;try{d=window.navigator.sendBeacon(b,c.serialize())}catch(e){}a.R&&!d&&(a.R=!1);return d})}
function bh(a,b){if(0!==a.i.length){var c=rc(Wg(a),"format");c=lc(c,"auth",a.rb(),"authuser",a.sessionIndex||"0");for(var d=0;10>d&&a.i.length;++d){var e=a.i.slice(0,32),f=$g(a.j,e,a.l,a.s,a.Cb,a.da,a.Y);if(!b(c,f)){++a.s;break}a.l=0;a.s=0;a.da=0;a.Y=0;a.i=a.i.slice(e.length)}a.h.enabled&&a.h.stop()}}
m.isRetryable=function(a){return 500<=a&&600>a||401===a||0===a};
function Tg(a,b){this.vb=b=void 0===b?!1:b;this.uach=this.locale=null;this.h=new Ng;Number.isInteger(a)&&this.h.Rb(a);b||(this.locale=document.documentElement.getAttribute("lang"));Ug(this,new Kg)}
Tg.prototype.Rb=function(a){this.h.Rb(a);return this};
function Ug(a,b){$f(a.h,Kg,1,b);Qf(b,1)||eg(b,1,1);if(!a.vb){b=ch(a);var c=Qf(b,5);(null==c||"string"===typeof c)&&c||G(b,5,Af(a.locale))}a.uach&&(b=ch(a),Zf(b,Ig,9)||$f(b,Ig,9,a.uach))}
function Yg(a,b){Tf(dh(a))&&(a=eh(a),eg(a,1,b))}
function ah(a,b){Tf(dh(a))&&(a=eh(a),G(a,2,rf(b)))}
function dh(a){return Zf(a.h,Kg,1)}
function fh(a,b){var c=void 0===c?Jg:c;b(window,c).then(function(d){a.uach=d;d=ch(a);$f(d,Ig,9,a.uach);return!0}).catch(function(){return!1})}
function ch(a){a=dh(a);var b=Zf(a,Vf,11);b||(b=new Vf,$f(a,Vf,11,b));return b}
function eh(a){a=ch(a);var b=Zf(a,Hg,10);b||(b=new Hg,G(b,2,rf(!1)),$f(a,Hg,10,b));return b}
function $g(a,b,c,d,e,f,g){c=void 0===c?0:c;f=void 0===f?0:f;g=void 0===g?0:g;d=void 0===d?0:d;if(Tf(dh(a))){var h=eh(a);G(h,3,uf(d))}Tf(dh(a))&&(d=eh(a),G(d,4,uf(f)));Tf(dh(a))&&(f=eh(a),G(f,5,uf(g)));a=a.h.clone();g=Date.now().toString();a=G(a,4,wf(g));b=ag(a,Mg,3,b);e&&(a=new Eg,e=G(a,13,uf(e)),a=new Fg,e=$f(a,Eg,2,e),a=new Lg,e=$f(a,Fg,1,e),e=eg(e,2,9),$f(b,Lg,18,e));c&&G(b,14,wf(c));return b}
;function gh(){}
gh.prototype.serialize=function(a){var b=[];hh(this,a,b);return b.join("")};
function hh(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),hh(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),ih(d,c),c.push(":"),hh(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ih(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}
var jh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},kh=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function ih(a,b){b.push('"',a.replace(kh,function(c){var d=jh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),jh[c]=d);return d}),'"')}
;function lh(){}
lh.prototype.h=null;lh.prototype.getOptions=function(){var a;(a=this.h)||(a={},mh(this)&&(a[0]=!0,a[1]=!0),a=this.h=a);return a};var nh;function oh(){}
Xa(oh,lh);function ph(a){return(a=mh(a))?new ActiveXObject(a):new XMLHttpRequest}
function mh(a){if(!a.i&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.i=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.i}
nh=new oh;function qh(a){zd.call(this);this.headers=new Map;this.S=a||null;this.i=!1;this.R=this.I=null;this.l=this.da="";this.j=this.Y=this.s=this.W=!1;this.m=0;this.B=null;this.Ba="";this.ma=this.na=!1}
Xa(qh,zd);var rh=/^https?$/i,sh=["POST","PUT"],th=[];function uh(a,b,c,d,e,f,g){var h=new qh;th.push(h);b&&h.listen("complete",b);h.h.add("ready",h.Sd,!0,void 0,void 0);f&&(h.m=Math.max(0,f));g&&(h.na=g);h.send(a,c,d,e)}
m=qh.prototype;m.Sd=function(){this.dispose();jb(th,this)};
m.send=function(a,b,c,d){if(this.I)throw Error("[goog.net.XhrIo] Object is active with another request="+this.da+"; newUri="+a);b=b?b.toUpperCase():"GET";this.da=a;this.l="";this.W=!1;this.i=!0;this.I=this.S?ph(this.S):ph(nh);this.R=this.S?this.S.getOptions():nh.getOptions();this.I.onreadystatechange=Ua(this.pd,this);try{this.getStatus(),this.Y=!0,this.I.open(b,String(a),!0),this.Y=!1}catch(g){this.getStatus();vh(this,g);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,
d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=v(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});
e=B.FormData&&a instanceof B.FormData;!(0<=db(sh,b))||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=v(c);for(d=b.next();!d.done;d=b.next())c=v(d.value),d=c.next().value,c=c.next().value,this.I.setRequestHeader(d,c);this.Ba&&(this.I.responseType=this.Ba);"withCredentials"in this.I&&this.I.withCredentials!==this.na&&(this.I.withCredentials=this.na);try{wh(this),0<this.m&&(this.ma=xh(this.I),this.getStatus(),this.ma?(this.I.timeout=this.m,this.I.ontimeout=Ua(this.Dd,
this)):this.B=ne(this.Dd,this.m,this)),this.getStatus(),this.s=!0,this.I.send(a),this.s=!1}catch(g){this.getStatus(),vh(this,g)}};
function xh(a){return Oc&&"number"===typeof a.timeout&&void 0!==a.ontimeout}
m.Dd=function(){"undefined"!=typeof La&&this.I&&(this.l="Timed out after "+this.m+"ms, aborting",this.getStatus(),Ad(this,"timeout"),this.abort(8))};
function vh(a,b){a.i=!1;a.I&&(a.j=!0,a.I.abort(),a.j=!1);a.l=b;yh(a);zh(a)}
function yh(a){a.W||(a.W=!0,Ad(a,"complete"),Ad(a,"error"))}
m.abort=function(){this.I&&this.i&&(this.getStatus(),this.i=!1,this.j=!0,this.I.abort(),this.j=!1,Ad(this,"complete"),Ad(this,"abort"),zh(this))};
m.M=function(){this.I&&(this.i&&(this.i=!1,this.j=!0,this.I.abort(),this.j=!1),zh(this,!0));qh.Aa.M.call(this)};
m.pd=function(){this.Z()||(this.Y||this.s||this.j?Ah(this):this.ze())};
m.ze=function(){Ah(this)};
function Ah(a){if(a.i&&"undefined"!=typeof La)if(a.R[1]&&4==Bh(a)&&2==a.getStatus())a.getStatus();else if(a.s&&4==Bh(a))ne(a.pd,0,a);else if(Ad(a,"readystatechange"),a.isComplete()){a.getStatus();a.i=!1;try{if(Ch(a))Ad(a,"complete"),Ad(a,"success");else{try{var b=2<Bh(a)?a.I.statusText:""}catch(c){b=""}a.l=b+" ["+a.getStatus()+"]";yh(a)}}finally{zh(a)}}}
function zh(a,b){if(a.I){wh(a);var c=a.I,d=a.R[0]?function(){}:null;
a.I=null;a.R=null;b||Ad(a,"ready");try{c.onreadystatechange=d}catch(e){}}}
function wh(a){a.I&&a.ma&&(a.I.ontimeout=null);a.B&&(B.clearTimeout(a.B),a.B=null)}
m.isActive=function(){return!!this.I};
m.isComplete=function(){return 4==Bh(this)};
function Ch(a){var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=cc(1,String(a.da)),!a&&B.self&&B.self.location&&(a=B.self.location.protocol.slice(0,-1)),b=!rh.test(a?a.toLowerCase():"");c=b}return c}
function Bh(a){return a.I?a.I.readyState:0}
m.getStatus=function(){try{return 2<Bh(this)?this.I.status:-1}catch(a){return-1}};
m.getLastError=function(){return"string"===typeof this.l?this.l:String(this.l)};function Dh(){}
Dh.prototype.send=function(a,b,c){b=void 0===b?function(){}:b;
c=void 0===c?function(){}:c;
uh(a.url,function(d){d=d.target;if(Ch(d)){try{var e=d.I?d.I.responseText:""}catch(f){e=""}b(e)}else c(d.getStatus())},a.requestType,a.body,a.Mc,a.timeoutMillis,a.withCredentials)};function Eh(a,b){F.call(this);this.logSource=a;this.sessionIndex=b;this.i="https://play.google.com/log?format=json&hasfast=true";this.j=!1;this.componentId="";this.network=new Dh}
w(Eh,F);Eh.prototype.dd=function(){this.W=!0;return this};function Fh(a,b,c,d,e,f){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;F.call(this);this.logSource=a;this.componentId=b;f?a=f:(a=new Eh(a,"0"),a.componentId=b,yc(this,a),""!==c&&(a.i=c),d&&(a.j=!0),e&&(a.h=e),b=new Sg({logSource:a.logSource,rb:a.rb?a.rb:Bg,sessionIndex:a.sessionIndex,ef:a.i,vb:a.j,Jb:!1,dd:a.W,pageId:a.pageId,Wc:a.Wc,network:a.network?a.network:void 0}),yc(a,b),a.s&&Ug(b.j,a.s),a.h&&(c=a.h,d=ch(b.j),G(d,7,Af(c))),a.m&&(b.B=a.m),a.componentId&&
(b.componentId=a.componentId),a.Cb&&(b.Cb=a.Cb),a.l&&((c=a.l)?(b.experimentIds||(b.experimentIds=new Cg),c=c.serialize(),G(b.experimentIds,4,Af(c))):b.experimentIds&&G(b.experimentIds,4)),a.R&&(c=a.R,b.experimentIds||(b.experimentIds=new Cg),Wf(b.experimentIds,2,c,dg)),a.B&&(c=a.B,b.ma=!0,Xg(b,c)),a.S&&fh(b.j,a.S),a.network.Rb&&a.network.Rb(a.logSource),a.network.Te&&a.network.Te(b),a=b);this.h=a}
w(Fh,F);
Fh.prototype.flush=function(a){var b=a||[];if(b.length){a=new og;for(var c=[],d=0;d<b.length;d++){var e=b[d];var f=new ng;f=G(f,1,Af(e.i));for(var g=[],h=0;h<e.h.length;h++)g.push(e.h[h].ab);f=Wf(f,3,g,zf);g=[];h=[];for(var k=v(e.pb.keys()),l=k.next();!l.done;l=k.next())h.push(l.value.split(","));for(k=0;k<h.length;k++){l=h[k];var n=e.l;for(var p=e.yc(l)||[],t=[],r=0;r<p.length;r++){var x=p[r],y=x&&x.h;x=new kg;switch(n){case 3:y=Number(y);Number.isFinite(y)&&Yf(x,1,lg,wf(y));break;case 2:y=Number(y);
if(null!=y&&"number"!==typeof y)throw Error("Value of float/double field must be a number, found "+typeof y+": "+y);Yf(x,2,lg,y)}t.push(x)}n=t;for(p=0;p<n.length;p++){t=n[p];r=new mg;t=$f(r,kg,2,t);r=l;x=[];y=[];for(var z=0;z<e.h.length;z++)y.push(e.h[z].bb);for(z=0;z<y.length;z++){var H=y[z],L=r[z],I=new ig;switch(H){case 3:Yf(I,1,jg,Af(String(L)));break;case 2:H=Number(L);Number.isFinite(H)&&Yf(I,2,jg,uf(H));break;case 1:Yf(I,3,jg,rf("true"===L))}x.push(I)}ag(t,ig,1,x);g.push(t)}}ag(f,mg,4,g);c.push(f);
e.clear()}ag(a,ng,1,c);b=this.h;a instanceof Mg?b.log(a):(c=new Mg,a=a.serialize(),a=G(c,8,Af(a)),b.log(a));this.h.flush()}};function Gh(a,b){this.ga=b;this.l=void 0;this.s=new Fh(1828);this.i=new oe(this.s);this.B=new ue(this.i);this.m=new ve(this.i);this.G=new we(this.i);this.j=new se(this.i);this.h=ye(a)}
function Hh(){var a,b,c;return null!=(c=null==(a=globalThis.performance)?void 0:null==(b=a.now)?void 0:b.call(a))?c:Date.now()}
;function Ih(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})}
;function Jh(a){function b(z,H){Promise.resolve().then(function(){var L;null!=(L=c.ra)&&void 0!==L.l&&L.B.record(Hh()-L.l,L.h,L.ga);h.resolve({Od:z,We:H})})}
var c=this;this.h=!1;var d=a.program;var e=a.ge;if(!1!==a.Fe){var f,g;this.ra=null!=(g=a.ra)?g:new Gh(e,null!=(f=a.Zf)?f:"_")}var h=new Ih;this.i=h.promise;if(!B[e]){var k;null!=(k=this.ra)&&te(k.j,k.h,1,"");var l;null!=(l=this.ra)&&l.i.mb()}else if(!B[e].a){var n;null!=(n=this.ra)&&te(n.j,n.h,2,"");var p;null!=(p=this.ra)&&p.i.mb()}try{var t=B[e].a,r;null!=(r=this.ra)&&(r.l=Hh());this.j=v(t(d,b,!0,a.lg)).next().value;this.Ve=h.promise.then(function(){})}catch(z){var x;
null!=(x=this.ra)&&te(x.j,x.h,4,z.message);var y;null!=(y=this.ra)&&y.i.mb();throw z;}}
Jh.prototype.snapshot=function(a){var b=this;if(this.h)throw Error("Already disposed");var c=Hh(),d;null!=(d=this.ra)&&d.m.h.qc("/client_streamz/bg/fsc",d.h);return this.i.then(function(e){var f=e.Od;return new Promise(function(g){f(function(h){var k;null!=(k=b.ra)&&k.G.record(Hh()-c,k.h);g(h)},[a.cd,
a.Xe,a.gf])})})};
Jh.prototype.Ad=function(a){if(this.h)throw Error("Already disposed");var b=Hh(),c;null!=(c=this.ra)&&c.m.h.qc("/client_streamz/bg/fsc",c.h);a=this.j([a.cd,a.Xe,a.gf]);var d;null!=(d=this.ra)&&d.G.record(Hh()-b,d.h);return a};
Jh.prototype.dispose=function(){var a;null!=(a=this.ra)&&a.i.mb();this.h=!0;this.i.then(function(b){(b=b.We)&&b()})};
Jh.prototype.Z=function(){return this.h};var Kh=window;zb("csi.gstatic.com");zb("googleads.g.doubleclick.net");zb("partner.googleadservices.com");zb("pubads.g.doubleclick.net");zb("securepubads.g.doubleclick.net");zb("tpc.googlesyndication.com");/*
SPDX-License-Identifier: Apache-2.0
*/
var Lh="function"===typeof URL;function Mh(a){if(a instanceof Ib)a instanceof Ib&&a.constructor===Ib?a=a.h:(Ma(a),a="type_error:SafeUrl");else{b:if(Lh){try{var b=new URL(a)}catch(c){b="https:";break b}b=b.protocol}else c:{b=document.createElement("a");try{b.href=a}catch(c){b=void 0;break c}b=b.protocol;b=":"===b||""===b?"https:":b}a="javascript:"!==b?a:void 0}return a}
;function Nh(a,b){b=Mh(b);void 0!==b&&(a.href=b)}
;var Oh={};function Ph(){}
function Qh(a){this.h=a}
w(Qh,Ph);Qh.prototype.toString=function(){return this.h};function Rh(a){var b="true".toString(),c=[new Qh(Sh[0].toLowerCase(),Oh)];if(0===c.length)throw Error("");if(c.map(function(d){if(d instanceof Qh)d=d.h;else throw Error("");return d}).every(function(d){return 0!=="data-loaded".indexOf(d)}))throw Error('Attribute "data-loaded" does not match any of the allowed prefixes.');
a.setAttribute("data-loaded",b)}
;function Th(){throw Error("unknown trace type");}
;var Uh="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");function Vh(a,b){if(b instanceof Db)a.href=Eb(b).toString();else{if(-1===Uh.indexOf("stylesheet"))throw Error('TrustedResourceUrl href attribute required with rel="stylesheet"');b=Mh(b);if(void 0===b)return;a.href=b}a.rel="stylesheet"}
;function Wh(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)}
function Xh(a,b){a.src=Eb(b);Wh(a)}
;var Yh=ka([""]),Zh=la(["\x00"],["\\0"]),$h=la(["\n"],["\\n"]),ai=la(["\x00"],["\\u0000"]);function bi(a){return-1===a.toString().indexOf("`")}
bi(function(a){return a(Yh)})||bi(function(a){return a(Zh)})||bi(function(a){return a($h)})||bi(function(a){return a(ai)});function ci(a){this.qe=a}
function di(a){return new ci(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}
var ei=[di("data"),di("http"),di("https"),di("mailto"),di("ftp"),new ci(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function fi(a){var b=gi;if(b)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a(b[c],c,b)}
function hi(){var a=[];fi(function(b){a.push(b)});
return a}
var gi={hf:"allow-forms",jf:"allow-modals",kf:"allow-orientation-lock",lf:"allow-pointer-lock",mf:"allow-popups",nf:"allow-popups-to-escape-sandbox",pf:"allow-presentation",qf:"allow-same-origin",rf:"allow-scripts",sf:"allow-top-navigation",tf:"allow-top-navigation-by-user-activation"},ii=cb(function(){return hi()});
function ji(){var a=ki(),b={};eb(ii(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)});
return b}
function ki(){var a=void 0===a?document:a;return a.createElement("iframe")}
;function li(a){"number"==typeof a&&(a=Math.round(a)+"px");return a}
;var mi=(new Date).getTime();"undefined"!==typeof TextDecoder&&new TextDecoder;var ni="undefined"!==typeof TextEncoder?new TextEncoder:null,oi=ni?function(a){return ni.encode(a)}:function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);
128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}a=new Uint8Array(b.length);for(c=0;c<a.length;c++)a[c]=b[c];return a};function pi(a){zd.call(this);var b=this;this.s=this.j=0;this.Da=null!=a?a:{oa:function(e,f){return setTimeout(e,f)},
qa:function(e){clearTimeout(e)}};
var c,d;this.i=null!=(d=null==(c=window.navigator)?void 0:c.onLine)?d:!0;this.l=function(){return A(function(e){return e.yield(qi(b),0)})};
window.addEventListener("offline",this.l);window.addEventListener("online",this.l);this.s||ri(this)}
w(pi,zd);function si(){var a=ti;pi.h||(pi.h=new pi(a));return pi.h}
pi.prototype.dispose=function(){window.removeEventListener("offline",this.l);window.removeEventListener("online",this.l);this.Da.qa(this.s);delete pi.h};
pi.prototype.wa=function(){return this.i};
function ri(a){a.s=a.Da.oa(function(){var b;return A(function(c){if(1==c.h)return a.i?(null==(b=window.navigator)?0:b.onLine)?c.v(3):c.yield(qi(a),3):c.yield(qi(a),3);ri(a);c.h=0})},3E4)}
function qi(a,b){return a.m?a.m:a.m=new Promise(function(c){var d,e,f,g;return A(function(h){switch(h.h){case 1:return d=window.AbortController?new window.AbortController:void 0,f=null==(e=d)?void 0:e.signal,g=!1,za(h,2,3),d&&(a.j=a.Da.oa(function(){d.abort()},b||2E4)),h.yield(fetch("/generate_204",{method:"HEAD",
signal:f}),5);case 5:g=!0;case 3:h.B=[h.j];h.l=0;h.G=0;a.m=void 0;a.j&&(a.Da.qa(a.j),a.j=0);g!==a.i&&(a.i=g,a.i?Ad(a,"networkstatus-online"):Ad(a,"networkstatus-offline"));c(g);Ba(h);break;case 2:Aa(h),g=!1,h.v(3)}})})}
;function ui(){this.data=[];this.h=-1}
ui.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.h=-1)};
ui.prototype.get=function(a){return!!this.data[a]};
function vi(a){-1===a.h&&(a.h=a.data.reduce(function(b,c,d){return b+(c?Math.pow(2,d):0)},0));
return a.h}
;function yi(a,b){this.h=a[B.Symbol.iterator]();this.i=b}
yi.prototype[Symbol.iterator]=function(){return this};
yi.prototype.next=function(){var a=this.h.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}};
function zi(a,b){return new yi(a,b)}
;function Ai(){this.blockSize=-1}
;function Bi(){this.blockSize=-1;this.blockSize=64;this.h=[];this.m=[];this.G=[];this.j=[];this.j[0]=128;for(var a=1;a<this.blockSize;++a)this.j[a]=0;this.l=this.i=0;this.reset()}
Xa(Bi,Ai);Bi.prototype.reset=function(){this.h[0]=1732584193;this.h[1]=4023233417;this.h[2]=2562383102;this.h[3]=271733878;this.h[4]=3285377520;this.l=this.i=0};
function Ci(a,b,c){c||(c=0);var d=a.G;if("string"===typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.h[0];c=a.h[1];var g=a.h[2],h=a.h[3],k=a.h[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var l=1518500249}else f=c^g^h,l=1859775393;else 60>e?(f=c&g|h&(c|g),l=2400959708):
(f=c^g^h,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.h[0]=a.h[0]+b&4294967295;a.h[1]=a.h[1]+c&4294967295;a.h[2]=a.h[2]+g&4294967295;a.h[3]=a.h[3]+h&4294967295;a.h[4]=a.h[4]+k&4294967295}
Bi.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.m,f=this.i;d<b;){if(0==f)for(;d<=c;)Ci(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){Ci(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){Ci(this,e);f=0;break}}this.i=f;this.l+=b}};
Bi.prototype.digest=function(){var a=[],b=8*this.l;56>this.i?this.update(this.j,56-this.i):this.update(this.j,this.blockSize-(this.i-56));for(var c=this.blockSize-1;56<=c;c--)this.m[c]=b&255,b/=256;Ci(this,this.m);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.h[c]>>d&255,++b;return a};function Di(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}
function Ei(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}
function Fi(a,b){a.classList?b=a.classList.contains(b):(a=a.classList?a.classList:Di(a).match(/\S+/g)||[],b=0<=db(a,b));return b}
function Gi(){var a=document.body;a.classList?a.classList.remove("inverted-hdpi"):Fi(a,"inverted-hdpi")&&Ei(a,Array.prototype.filter.call(a.classList?a.classList:Di(a).match(/\S+/g)||[],function(b){return"inverted-hdpi"!=b}).join(" "))}
;function Hi(){}
Hi.prototype.next=function(){return Ii};
var Ii={done:!0,value:void 0};function Ji(a){return{value:a,done:!1}}
Hi.prototype.Fa=function(){return this};function Ki(a){if(a instanceof Li||a instanceof Mi||a instanceof Ni)return a;if("function"==typeof a.next)return new Li(function(){return a});
if("function"==typeof a[Symbol.iterator])return new Li(function(){return a[Symbol.iterator]()});
if("function"==typeof a.Fa)return new Li(function(){return a.Fa()});
throw Error("Not an iterator or iterable.");}
function Li(a){this.i=a}
Li.prototype.Fa=function(){return new Mi(this.i())};
Li.prototype[Symbol.iterator]=function(){return new Ni(this.i())};
Li.prototype.h=function(){return new Ni(this.i())};
function Mi(a){this.i=a}
w(Mi,Hi);Mi.prototype.next=function(){return this.i.next()};
Mi.prototype[Symbol.iterator]=function(){return new Ni(this.i)};
Mi.prototype.h=function(){return new Ni(this.i)};
function Ni(a){Li.call(this,function(){return a});
this.j=a}
w(Ni,Li);Ni.prototype.next=function(){return this.j.next()};function Oi(a,b){this.i={};this.h=[];this.Va=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof Oi)for(c=a.Bc(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}
m=Oi.prototype;m.Bc=function(){Pi(this);return this.h.concat()};
m.has=function(a){return Qi(this.i,a)};
m.equals=function(a,b){if(this===a)return!0;if(this.size!=a.size)return!1;b=b||Ri;Pi(this);for(var c,d=0;c=this.h[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};
function Ri(a,b){return a===b}
m.Lb=function(){return 0==this.size};
m.clear=function(){this.i={};this.Va=this.size=this.h.length=0};
m.remove=function(a){return this.delete(a)};
m.delete=function(a){return Qi(this.i,a)?(delete this.i[a],--this.size,this.Va++,this.h.length>2*this.size&&Pi(this),!0):!1};
function Pi(a){if(a.size!=a.h.length){for(var b=0,c=0;b<a.h.length;){var d=a.h[b];Qi(a.i,d)&&(a.h[c++]=d);b++}a.h.length=c}if(a.size!=a.h.length){var e={};for(c=b=0;b<a.h.length;)d=a.h[b],Qi(e,d)||(a.h[c++]=d,e[d]=1),b++;a.h.length=c}}
m.get=function(a,b){return Qi(this.i,a)?this.i[a]:b};
m.set=function(a,b){Qi(this.i,a)||(this.size+=1,this.h.push(a),this.Va++);this.i[a]=b};
m.forEach=function(a,b){for(var c=this.Bc(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
m.clone=function(){return new Oi(this)};
m.keys=function(){return Ki(this.Fa(!0)).h()};
m.values=function(){return Ki(this.Fa(!1)).h()};
m.entries=function(){var a=this;return zi(this.keys(),function(b){return[b,a.get(b)]})};
m.Fa=function(a){Pi(this);var b=0,c=this.Va,d=this,e=new Hi;e.next=function(){if(c!=d.Va)throw Error("The map has changed since the iterator was created");if(b>=d.h.length)return Ii;var f=d.h[b++];return Ji(a?f:d.i[f])};
return e};
function Qi(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
;function K(a){F.call(this);this.m=1;this.j=[];this.l=0;this.h=[];this.i={};this.s=!!a}
Xa(K,F);m=K.prototype;m.subscribe=function(a,b,c){var d=this.i[a];d||(d=this.i[a]=[]);var e=this.m;this.h[e]=a;this.h[e+1]=b;this.h[e+2]=c;this.m=e+3;d.push(e);return e};
m.unsubscribe=function(a,b,c){if(a=this.i[a]){var d=this.h;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Eb(a)}return!1};
m.Eb=function(a){var b=this.h[a];if(b){var c=this.i[b];0!=this.l?(this.j.push(a),this.h[a+1]=function(){}):(c&&jb(c,a),delete this.h[a],delete this.h[a+1],delete this.h[a+2])}return!!b};
m.Xa=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.s)for(e=0;e<c.length;e++){var g=c[e];Si(this.h[g+1],this.h[g+2],d)}else{this.l++;try{for(e=0,f=c.length;e<f&&!this.Z();e++)g=c[e],this.h[g+1].apply(this.h[g+2],d)}finally{if(this.l--,0<this.j.length&&0==this.l)for(;c=this.j.pop();)this.Eb(c)}}return 0!=e}return!1};
function Si(a,b,c){Td(function(){a.apply(b,c)})}
m.clear=function(a){if(a){var b=this.i[a];b&&(b.forEach(this.Eb,this),delete this.i[a])}else this.h.length=0,this.i={}};
m.M=function(){K.Aa.M.call(this);this.clear();this.j.length=0};function Ti(a){this.h=a}
Ti.prototype.set=function(a,b){void 0===b?this.h.remove(a):this.h.set(a,(new gh).serialize(b))};
Ti.prototype.get=function(a){try{var b=this.h.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
Ti.prototype.remove=function(a){this.h.remove(a)};function Ui(a){this.h=a}
Xa(Ui,Ti);function Vi(a){this.data=a}
function Wi(a){return void 0===a||a instanceof Vi?a:new Vi(a)}
Ui.prototype.set=function(a,b){Ui.Aa.set.call(this,a,Wi(b))};
Ui.prototype.i=function(a){a=Ui.Aa.get.call(this,a);if(void 0===a||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
Ui.prototype.get=function(a){if(a=this.i(a)){if(a=a.data,void 0===a)throw"Storage: Invalid value was encountered";}else a=void 0;return a};function Xi(a){this.h=a}
Xa(Xi,Ui);Xi.prototype.set=function(a,b,c){if(b=Wi(b)){if(c){if(c<Wa()){Xi.prototype.remove.call(this,a);return}b.expiration=c}b.creation=Wa()}Xi.Aa.set.call(this,a,b)};
Xi.prototype.i=function(a){var b=Xi.Aa.i.call(this,a);if(b){var c=b.creation,d=b.expiration;if(d&&d<Wa()||c&&c>Wa())Xi.prototype.remove.call(this,a);else return b}};function Yi(){}
;function Zi(){}
Xa(Zi,Yi);Zi.prototype[Symbol.iterator]=function(){return Ki(this.Fa(!0)).h()};
Zi.prototype.clear=function(){var a=Array.from(this);a=v(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};function $i(a){this.h=a}
Xa($i,Zi);m=$i.prototype;m.isAvailable=function(){if(!this.h)return!1;try{return this.h.setItem("__sak","1"),this.h.removeItem("__sak"),!0}catch(a){return!1}};
m.set=function(a,b){try{this.h.setItem(a,b)}catch(c){if(0==this.h.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
m.get=function(a){a=this.h.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
m.remove=function(a){this.h.removeItem(a)};
m.Fa=function(a){var b=0,c=this.h,d=new Hi;d.next=function(){if(b>=c.length)return Ii;var e=c.key(b++);if(a)return Ji(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ji(e)};
return d};
m.clear=function(){this.h.clear()};
m.key=function(a){return this.h.key(a)};function aj(){var a=null;try{a=window.localStorage||null}catch(b){}this.h=a}
Xa(aj,$i);function bj(a,b){this.i=a;this.h=null;var c;if(c=Oc)c=!(9<=Number(bd));if(c){cj||(cj=new Oi);this.h=cj.get(a);this.h||(b?this.h=document.getElementById(b):(this.h=document.createElement("userdata"),this.h.addBehavior("#default#userData"),document.body.appendChild(this.h)),cj.set(a,this.h));try{this.h.load(this.i)}catch(d){this.h=null}}}
Xa(bj,Zi);var dj={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},cj=null;function ej(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return dj[b]})}
m=bj.prototype;m.isAvailable=function(){return!!this.h};
m.set=function(a,b){this.h.setAttribute(ej(a),b);fj(this)};
m.get=function(a){a=this.h.getAttribute(ej(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
m.remove=function(a){this.h.removeAttribute(ej(a));fj(this)};
m.Fa=function(a){var b=0,c=this.h.XMLDocument.documentElement.attributes,d=new Hi;d.next=function(){if(b>=c.length)return Ii;var e=c[b++];if(a)return Ji(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Ji(e)};
return d};
m.clear=function(){for(var a=this.h.XMLDocument.documentElement,b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);fj(this)};
function fj(a){try{a.h.save(a.i)}catch(b){throw"Storage mechanism: Quota exceeded";}}
;function gj(a,b){this.i=a;this.h=b+"::"}
Xa(gj,Zi);gj.prototype.set=function(a,b){this.i.set(this.h+a,b)};
gj.prototype.get=function(a){return this.i.get(this.h+a)};
gj.prototype.remove=function(a){this.i.remove(this.h+a)};
gj.prototype.Fa=function(a){var b=this.i[Symbol.iterator](),c=this,d=new Hi;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.h.length)!=c.h;){e=b.next();if(e.done)return e;e=e.value}return Ji(a?e.slice(c.h.length):c.i.get(e))};
return d};/*
(The MIT License)
Copyright (C) 2014 by Vitaly Puzrin
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.
-----------------------------------------------------------------------------
Ported from zlib, which is under the following license
https://github.com/madler/zlib/blob/master/zlib.h
zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.8, April 28th, 2013
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Jean-loup Gailly Mark Adler
The data format used by the zlib library is described by RFCs (Request for
Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
(zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
*/
var M={},hj="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;M.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!==typeof c)throw new TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a};
M.Pc=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a};
var ij={ob:function(a,b,c,d,e){if(b.subarray&&a.subarray)a.set(b.subarray(c,c+d),e);else for(var f=0;f<d;f++)a[e+f]=b[c+f]},
gd:function(a){var b,c;var d=c=0;for(b=a.length;d<b;d++)c+=a[d].length;var e=new Uint8Array(c);d=c=0;for(b=a.length;d<b;d++){var f=a[d];e.set(f,c);c+=f.length}return e}},jj={ob:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},
gd:function(a){return[].concat.apply([],a)}};
M.Ue=function(){hj?(M.lb=Uint8Array,M.Ha=Uint16Array,M.Jd=Int32Array,M.assign(M,ij)):(M.lb=Array,M.Ha=Array,M.Jd=Array,M.assign(M,jj))};
M.Ue();var kj=!0;try{new Uint8Array(1)}catch(a){kj=!1}
function lj(a){var b,c,d=a.length,e=0;for(b=0;b<d;b++){var f=a.charCodeAt(b);if(55296===(f&64512)&&b+1<d){var g=a.charCodeAt(b+1);56320===(g&64512)&&(f=65536+(f-55296<<10)+(g-56320),b++)}e+=128>f?1:2048>f?2:65536>f?3:4}var h=new M.lb(e);for(b=c=0;c<e;b++)f=a.charCodeAt(b),55296===(f&64512)&&b+1<d&&(g=a.charCodeAt(b+1),56320===(g&64512)&&(f=65536+(f-55296<<10)+(g-56320),b++)),128>f?h[c++]=f:(2048>f?h[c++]=192|f>>>6:(65536>f?h[c++]=224|f>>>12:(h[c++]=240|f>>>18,h[c++]=128|f>>>12&63),h[c++]=128|f>>>
6&63),h[c++]=128|f&63);return h}
;var mj={};mj=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;0!==c;){f=2E3<c?2E3:c;c-=f;do e=e+b[d++]|0,a=a+e|0;while(--f);e%=65521;a%=65521}return e|a<<16|0};for(var nj={},oj,pj=[],qj=0;256>qj;qj++){oj=qj;for(var rj=0;8>rj;rj++)oj=oj&1?3988292384^oj>>>1:oj>>>1;pj[qj]=oj}nj=function(a,b,c,d){c=d+c;for(a^=-1;d<c;d++)a=a>>>8^pj[(a^b[d])&255];return a^-1};var sj={};sj={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"};function tj(a){for(var b=a.length;0<=--b;)a[b]=0}
var uj=[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],vj=[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],wj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],xj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],yj=Array(576);tj(yj);var zj=Array(60);tj(zj);var Aj=Array(512);tj(Aj);var Bj=Array(256);tj(Bj);var Cj=Array(29);tj(Cj);var Dj=Array(30);tj(Dj);function Ej(a,b,c,d,e){this.Bd=a;this.ae=b;this.Zd=c;this.Vd=d;this.we=e;this.kd=a&&a.length}
var Fj,Gj,Hj;function Ij(a,b){this.ed=a;this.zb=0;this.Ua=b}
function Jj(a,b){a.V[a.pending++]=b&255;a.V[a.pending++]=b>>>8&255}
function Kj(a,b,c){a.fa>16-c?(a.la|=b<<a.fa&65535,Jj(a,a.la),a.la=b>>16-a.fa,a.fa+=c-16):(a.la|=b<<a.fa&65535,a.fa+=c)}
function Lj(a,b,c){Kj(a,c[2*b],c[2*b+1])}
function Mj(a,b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(0<--b);return c>>>1}
function Nj(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=Mj(d[e]++,e))}
function Oj(a){var b;for(b=0;286>b;b++)a.sa[2*b]=0;for(b=0;30>b;b++)a.Za[2*b]=0;for(b=0;19>b;b++)a.ha[2*b]=0;a.sa[512]=1;a.Oa=a.Db=0;a.ya=a.matches=0}
function Pj(a){8<a.fa?Jj(a,a.la):0<a.fa&&(a.V[a.pending++]=a.la);a.la=0;a.fa=0}
function Qj(a,b,c){Pj(a);Jj(a,c);Jj(a,~c);M.ob(a.V,a.window,b,c,a.pending);a.pending+=c}
function Rj(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}
function Sj(a,b,c){for(var d=a.X[c],e=c<<1;e<=a.Ma;){e<a.Ma&&Rj(b,a.X[e+1],a.X[e],a.depth)&&e++;if(Rj(b,d,a.X[e],a.depth))break;a.X[c]=a.X[e];c=e;e<<=1}a.X[c]=d}
function Tj(a,b,c){var d=0;if(0!==a.ya){do{var e=a.V[a.Ib+2*d]<<8|a.V[a.Ib+2*d+1];var f=a.V[a.Fc+d];d++;if(0===e)Lj(a,f,b);else{var g=Bj[f];Lj(a,g+256+1,b);var h=uj[g];0!==h&&(f-=Cj[g],Kj(a,f,h));e--;g=256>e?Aj[e]:Aj[256+(e>>>7)];Lj(a,g,c);h=vj[g];0!==h&&(e-=Dj[g],Kj(a,e,h))}}while(d<a.ya)}Lj(a,256,b)}
function Uj(a,b){var c=b.ed,d=b.Ua.Bd,e=b.Ua.kd,f=b.Ua.Vd,g,h=-1;a.Ma=0;a.tb=573;for(g=0;g<f;g++)0!==c[2*g]?(a.X[++a.Ma]=h=g,a.depth[g]=0):c[2*g+1]=0;for(;2>a.Ma;){var k=a.X[++a.Ma]=2>h?++h:0;c[2*k]=1;a.depth[k]=0;a.Oa--;e&&(a.Db-=d[2*k+1])}b.zb=h;for(g=a.Ma>>1;1<=g;g--)Sj(a,c,g);k=f;do g=a.X[1],a.X[1]=a.X[a.Ma--],Sj(a,c,1),d=a.X[1],a.X[--a.tb]=g,a.X[--a.tb]=d,c[2*k]=c[2*g]+c[2*d],a.depth[k]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[2*g+1]=c[2*d+1]=k,a.X[1]=k++,Sj(a,c,1);while(2<=a.Ma);a.X[--a.tb]=
a.X[1];g=b.ed;k=b.zb;d=b.Ua.Bd;e=b.Ua.kd;f=b.Ua.ae;var l=b.Ua.Zd,n=b.Ua.we,p,t=0;for(p=0;15>=p;p++)a.Ja[p]=0;g[2*a.X[a.tb]+1]=0;for(b=a.tb+1;573>b;b++){var r=a.X[b];p=g[2*g[2*r+1]+1]+1;p>n&&(p=n,t++);g[2*r+1]=p;if(!(r>k)){a.Ja[p]++;var x=0;r>=l&&(x=f[r-l]);var y=g[2*r];a.Oa+=y*(p+x);e&&(a.Db+=y*(d[2*r+1]+x))}}if(0!==t){do{for(p=n-1;0===a.Ja[p];)p--;a.Ja[p]--;a.Ja[p+1]+=2;a.Ja[n]--;t-=2}while(0<t);for(p=n;0!==p;p--)for(r=a.Ja[p];0!==r;)d=a.X[--b],d>k||(g[2*d+1]!==p&&(a.Oa+=(p-g[2*d+1])*g[2*d],g[2*
d+1]=p),r--)}Nj(c,h,a.Ja)}
function Vj(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];++g<h&&l===f||(g<k?a.ha[2*l]+=g:0!==l?(l!==e&&a.ha[2*l]++,a.ha[32]++):10>=g?a.ha[34]++:a.ha[36]++,g=0,e=l,0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4))}}
function Wj(a,b,c){var d,e=-1,f=b[1],g=0,h=7,k=4;0===f&&(h=138,k=3);for(d=0;d<=c;d++){var l=f;f=b[2*(d+1)+1];if(!(++g<h&&l===f)){if(g<k){do Lj(a,l,a.ha);while(0!==--g)}else 0!==l?(l!==e&&(Lj(a,l,a.ha),g--),Lj(a,16,a.ha),Kj(a,g-3,2)):10>=g?(Lj(a,17,a.ha),Kj(a,g-3,3)):(Lj(a,18,a.ha),Kj(a,g-11,7));g=0;e=l;0===f?(h=138,k=3):l===f?(h=6,k=3):(h=7,k=4)}}}
function Xj(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.sa[2*c])return 0;if(0!==a.sa[18]||0!==a.sa[20]||0!==a.sa[26])return 1;for(c=32;256>c;c++)if(0!==a.sa[2*c])return 1;return 0}
var Yj=!1;function Zj(a,b,c){a.V[a.Ib+2*a.ya]=b>>>8&255;a.V[a.Ib+2*a.ya+1]=b&255;a.V[a.Fc+a.ya]=c&255;a.ya++;0===b?a.sa[2*c]++:(a.matches++,b--,a.sa[2*(Bj[c]+256+1)]++,a.Za[2*(256>b?Aj[b]:Aj[256+(b>>>7)])]++);return a.ya===a.Mb-1}
;function ak(a,b){a.msg=sj[b];return b}
function bk(a){for(var b=a.length;0<=--b;)a[b]=0}
function ck(a){var b=a.state,c=b.pending;c>a.K&&(c=a.K);0!==c&&(M.ob(a.output,b.V,b.Pb,c,a.Ab),a.Ab+=c,b.Pb+=c,a.Qc+=c,a.K-=c,b.pending-=c,0===b.pending&&(b.Pb=0))}
function dk(a,b){var c=0<=a.va?a.va:-1,d=a.o-a.va,e=0;if(0<a.level){2===a.H.vc&&(a.H.vc=Xj(a));Uj(a,a.ec);Uj(a,a.Zb);Vj(a,a.sa,a.ec.zb);Vj(a,a.Za,a.Zb.zb);Uj(a,a.Xc);for(e=18;3<=e&&0===a.ha[2*xj[e]+1];e--);a.Oa+=3*(e+1)+14;var f=a.Oa+3+7>>>3;var g=a.Db+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)Kj(a,b?1:0,3),Qj(a,c,d);else if(4===a.strategy||g===f)Kj(a,2+(b?1:0),3),Tj(a,yj,zj);else{Kj(a,4+(b?1:0),3);c=a.ec.zb+1;d=a.Zb.zb+1;e+=1;Kj(a,c-257,5);Kj(a,d-1,5);Kj(a,e-4,4);for(f=0;f<e;f++)Kj(a,a.ha[2*
xj[f]+1],3);Wj(a,a.sa,c-1);Wj(a,a.Za,d-1);Tj(a,a.sa,a.Za)}Oj(a);b&&Pj(a);a.va=a.o;ck(a.H)}
function N(a,b){a.V[a.pending++]=b}
function ek(a,b){a.V[a.pending++]=b>>>8&255;a.V[a.pending++]=b&255}
function fk(a,b){var c=a.nd,d=a.o,e=a.xa,f=a.od,g=a.o>a.ja-262?a.o-(a.ja-262):0,h=a.window,k=a.Wa,l=a.Ga,n=a.o+258,p=h[d+e-1],t=h[d+e];a.xa>=a.jd&&(c>>=2);f>a.u&&(f=a.u);do{var r=b;if(h[r+e]===t&&h[r+e-1]===p&&h[r]===h[d]&&h[++r]===h[d+1]){d+=2;for(r++;h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&h[++d]===h[++r]&&d<n;);r=258-(n-d);d=n-258;if(r>e){a.yb=b;e=r;if(r>=f)break;p=h[d+e-1];t=h[d+e]}}}while((b=l[b&k])>g&&0!==--c);return e<=
a.u?e:a.u}
function gk(a){var b=a.ja,c;do{var d=a.Hd-a.u-a.o;if(a.o>=b+(b-262)){M.ob(a.window,a.window,b,b,0);a.yb-=b;a.o-=b;a.va-=b;var e=c=a.dc;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Ga[--e],a.Ga[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.H.ka)break;e=a.H;c=a.window;f=a.o+a.u;var g=e.ka;g>d&&(g=d);0===g?c=0:(e.ka-=g,M.ob(c,e.input,e.hb,g,f),1===e.state.wrap?e.F=mj(e.F,c,g,f):2===e.state.wrap&&(e.F=nj(e.F,c,g,f)),e.hb+=g,e.kb+=g,c=g);a.u+=c;if(3<=a.u+a.ta)for(d=a.o-a.ta,a.J=a.window[d],
a.J=(a.J<<a.La^a.window[d+1])&a.Ka;a.ta&&!(a.J=(a.J<<a.La^a.window[d+3-1])&a.Ka,a.Ga[d&a.Wa]=a.head[a.J],a.head[a.J]=d,d++,a.ta--,3>a.u+a.ta););}while(262>a.u&&0!==a.H.ka)}
function hk(a,b){for(var c;;){if(262>a.u){gk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.J=(a.J<<a.La^a.window[a.o+3-1])&a.Ka,c=a.Ga[a.o&a.Wa]=a.head[a.J],a.head[a.J]=a.o);0!==c&&a.o-c<=a.ja-262&&(a.P=fk(a,c));if(3<=a.P)if(c=Zj(a,a.o-a.yb,a.P-3),a.u-=a.P,a.P<=a.Gc&&3<=a.u){a.P--;do a.o++,a.J=(a.J<<a.La^a.window[a.o+3-1])&a.Ka,a.Ga[a.o&a.Wa]=a.head[a.J],a.head[a.J]=a.o;while(0!==--a.P);a.o++}else a.o+=a.P,a.P=0,a.J=a.window[a.o],a.J=(a.J<<a.La^a.window[a.o+1])&a.Ka;else c=Zj(a,0,
a.window[a.o]),a.u--,a.o++;if(c&&(dk(a,!1),0===a.H.K))return 1}a.ta=2>a.o?a.o:2;return 4===b?(dk(a,!0),0===a.H.K?3:4):a.ya&&(dk(a,!1),0===a.H.K)?1:2}
function ik(a,b){for(var c,d;;){if(262>a.u){gk(a);if(262>a.u&&0===b)return 1;if(0===a.u)break}c=0;3<=a.u&&(a.J=(a.J<<a.La^a.window[a.o+3-1])&a.Ka,c=a.Ga[a.o&a.Wa]=a.head[a.J],a.head[a.J]=a.o);a.xa=a.P;a.rd=a.yb;a.P=2;0!==c&&a.xa<a.Gc&&a.o-c<=a.ja-262&&(a.P=fk(a,c),5>=a.P&&(1===a.strategy||3===a.P&&4096<a.o-a.yb)&&(a.P=2));if(3<=a.xa&&a.P<=a.xa){d=a.o+a.u-3;c=Zj(a,a.o-1-a.rd,a.xa-3);a.u-=a.xa-1;a.xa-=2;do++a.o<=d&&(a.J=(a.J<<a.La^a.window[a.o+3-1])&a.Ka,a.Ga[a.o&a.Wa]=a.head[a.J],a.head[a.J]=a.o);
while(0!==--a.xa);a.fb=0;a.P=2;a.o++;if(c&&(dk(a,!1),0===a.H.K))return 1}else if(a.fb){if((c=Zj(a,0,a.window[a.o-1]))&&dk(a,!1),a.o++,a.u--,0===a.H.K)return 1}else a.fb=1,a.o++,a.u--}a.fb&&(Zj(a,0,a.window[a.o-1]),a.fb=0);a.ta=2>a.o?a.o:2;return 4===b?(dk(a,!0),0===a.H.K?3:4):a.ya&&(dk(a,!1),0===a.H.K)?1:2}
function jk(a,b){for(var c,d,e,f=a.window;;){if(258>=a.u){gk(a);if(258>=a.u&&0===b)return 1;if(0===a.u)break}a.P=0;if(3<=a.u&&0<a.o&&(d=a.o-1,c=f[d],c===f[++d]&&c===f[++d]&&c===f[++d])){for(e=a.o+258;c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&d<e;);a.P=258-(e-d);a.P>a.u&&(a.P=a.u)}3<=a.P?(c=Zj(a,1,a.P-3),a.u-=a.P,a.o+=a.P,a.P=0):(c=Zj(a,0,a.window[a.o]),a.u--,a.o++);if(c&&(dk(a,!1),0===a.H.K))return 1}a.ta=0;return 4===b?(dk(a,!0),0===a.H.K?3:4):
a.ya&&(dk(a,!1),0===a.H.K)?1:2}
function kk(a,b){for(var c;;){if(0===a.u&&(gk(a),0===a.u)){if(0===b)return 1;break}a.P=0;c=Zj(a,0,a.window[a.o]);a.u--;a.o++;if(c&&(dk(a,!1),0===a.H.K))return 1}a.ta=0;return 4===b?(dk(a,!0),0===a.H.K?3:4):a.ya&&(dk(a,!1),0===a.H.K)?1:2}
function lk(a,b,c,d,e){this.he=a;this.ue=b;this.ye=c;this.te=d;this.ce=e}
var mk;mk=[new lk(0,0,0,0,function(a,b){var c=65535;for(c>a.za-5&&(c=a.za-5);;){if(1>=a.u){gk(a);if(0===a.u&&0===b)return 1;if(0===a.u)break}a.o+=a.u;a.u=0;var d=a.va+c;if(0===a.o||a.o>=d)if(a.u=a.o-d,a.o=d,dk(a,!1),0===a.H.K)return 1;if(a.o-a.va>=a.ja-262&&(dk(a,!1),0===a.H.K))return 1}a.ta=0;if(4===b)return dk(a,!0),0===a.H.K?3:4;a.o>a.va&&dk(a,!1);return 1}),
new lk(4,4,8,4,hk),new lk(4,5,16,8,hk),new lk(4,6,32,32,hk),new lk(4,4,16,16,ik),new lk(8,16,32,32,ik),new lk(8,16,128,128,ik),new lk(8,32,128,256,ik),new lk(32,128,258,1024,ik),new lk(32,258,258,4096,ik)];
function nk(){this.H=null;this.status=0;this.V=null;this.wrap=this.pending=this.Pb=this.za=0;this.D=null;this.Ca=0;this.method=8;this.wb=-1;this.Wa=this.Sc=this.ja=0;this.window=null;this.Hd=0;this.head=this.Ga=null;this.od=this.jd=this.strategy=this.level=this.Gc=this.nd=this.xa=this.u=this.yb=this.o=this.fb=this.rd=this.P=this.va=this.La=this.Ka=this.Cc=this.dc=this.J=0;this.sa=new M.Ha(1146);this.Za=new M.Ha(122);this.ha=new M.Ha(78);bk(this.sa);bk(this.Za);bk(this.ha);this.Xc=this.Zb=this.ec=
null;this.Ja=new M.Ha(16);this.X=new M.Ha(573);bk(this.X);this.tb=this.Ma=0;this.depth=new M.Ha(573);bk(this.depth);this.fa=this.la=this.ta=this.matches=this.Db=this.Oa=this.Ib=this.ya=this.Mb=this.Fc=0}
function ok(a,b){if(!a||!a.state||5<b||0>b)return a?ak(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.ka||666===c.status&&4!==b)return ak(a,0===a.K?-5:-2);c.H=a;var d=c.wb;c.wb=b;if(42===c.status)if(2===c.wrap)a.F=0,N(c,31),N(c,139),N(c,8),c.D?(N(c,(c.D.text?1:0)+(c.D.Qa?2:0)+(c.D.extra?4:0)+(c.D.name?8:0)+(c.D.comment?16:0)),N(c,c.D.time&255),N(c,c.D.time>>8&255),N(c,c.D.time>>16&255),N(c,c.D.time>>24&255),N(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),N(c,c.D.os&255),c.D.extra&&c.D.extra.length&&
(N(c,c.D.extra.length&255),N(c,c.D.extra.length>>8&255)),c.D.Qa&&(a.F=nj(a.F,c.V,c.pending,0)),c.Ca=0,c.status=69):(N(c,0),N(c,0),N(c,0),N(c,0),N(c,0),N(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),N(c,3),c.status=113);else{var e=8+(c.Sc-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.o&&(e|=32);c.status=113;ek(c,e+(31-e%31));0!==c.o&&(ek(c,a.F>>>16),ek(c,a.F&65535));a.F=1}if(69===c.status)if(c.D.extra){for(e=c.pending;c.Ca<(c.D.extra.length&65535)&&(c.pending!==c.za||
(c.D.Qa&&c.pending>e&&(a.F=nj(a.F,c.V,c.pending-e,e)),ck(a),e=c.pending,c.pending!==c.za));)N(c,c.D.extra[c.Ca]&255),c.Ca++;c.D.Qa&&c.pending>e&&(a.F=nj(a.F,c.V,c.pending-e,e));c.Ca===c.D.extra.length&&(c.Ca=0,c.status=73)}else c.status=73;if(73===c.status)if(c.D.name){e=c.pending;do{if(c.pending===c.za&&(c.D.Qa&&c.pending>e&&(a.F=nj(a.F,c.V,c.pending-e,e)),ck(a),e=c.pending,c.pending===c.za)){var f=1;break}f=c.Ca<c.D.name.length?c.D.name.charCodeAt(c.Ca++)&255:0;N(c,f)}while(0!==f);c.D.Qa&&c.pending>
e&&(a.F=nj(a.F,c.V,c.pending-e,e));0===f&&(c.Ca=0,c.status=91)}else c.status=91;if(91===c.status)if(c.D.comment){e=c.pending;do{if(c.pending===c.za&&(c.D.Qa&&c.pending>e&&(a.F=nj(a.F,c.V,c.pending-e,e)),ck(a),e=c.pending,c.pending===c.za)){f=1;break}f=c.Ca<c.D.comment.length?c.D.comment.charCodeAt(c.Ca++)&255:0;N(c,f)}while(0!==f);c.D.Qa&&c.pending>e&&(a.F=nj(a.F,c.V,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.D.Qa?(c.pending+2>c.za&&ck(a),c.pending+2<=c.za&&(N(c,a.F&
255),N(c,a.F>>8&255),a.F=0,c.status=113)):c.status=113);if(0!==c.pending){if(ck(a),0===a.K)return c.wb=-1,0}else if(0===a.ka&&(b<<1)-(4<b?9:0)<=(d<<1)-(4<d?9:0)&&4!==b)return ak(a,-5);if(666===c.status&&0!==a.ka)return ak(a,-5);if(0!==a.ka||0!==c.u||0!==b&&666!==c.status){d=2===c.strategy?kk(c,b):3===c.strategy?jk(c,b):mk[c.level].ce(c,b);if(3===d||4===d)c.status=666;if(1===d||3===d)return 0===a.K&&(c.wb=-1),0;if(2===d&&(1===b?(Kj(c,2,3),Lj(c,256,yj),16===c.fa?(Jj(c,c.la),c.la=0,c.fa=0):8<=c.fa&&
(c.V[c.pending++]=c.la&255,c.la>>=8,c.fa-=8)):5!==b&&(Kj(c,0,3),Qj(c,0,0),3===b&&(bk(c.head),0===c.u&&(c.o=0,c.va=0,c.ta=0))),ck(a),0===a.K))return c.wb=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(N(c,a.F&255),N(c,a.F>>8&255),N(c,a.F>>16&255),N(c,a.F>>24&255),N(c,a.kb&255),N(c,a.kb>>8&255),N(c,a.kb>>16&255),N(c,a.kb>>24&255)):(ek(c,a.F>>>16),ek(c,a.F&65535));ck(a);0<c.wrap&&(c.wrap=-c.wrap);return 0!==c.pending?0:1}
;var pk={};pk=function(){this.input=null;this.kb=this.ka=this.hb=0;this.output=null;this.Qc=this.K=this.Ab=0;this.msg="";this.state=null;this.vc=2;this.F=0};var qk=Object.prototype.toString;
function rk(a){if(!(this instanceof rk))return new rk(a);a=this.options=M.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},a||{});a.raw&&0<a.windowBits?a.windowBits=-a.windowBits:a.gzip&&0<a.windowBits&&16>a.windowBits&&(a.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.H=new pk;this.H.K=0;var b=this.H;var c=a.level,d=a.method,e=a.windowBits,f=a.memLevel,g=a.strategy;if(b){var h=1;-1===c&&(c=6);0>e?(h=0,e=-e):15<e&&(h=2,e-=16);if(1>f||9<
f||8!==d||8>e||15<e||0>c||9<c||0>g||4<g)b=ak(b,-2);else{8===e&&(e=9);var k=new nk;b.state=k;k.H=b;k.wrap=h;k.D=null;k.Sc=e;k.ja=1<<k.Sc;k.Wa=k.ja-1;k.Cc=f+7;k.dc=1<<k.Cc;k.Ka=k.dc-1;k.La=~~((k.Cc+3-1)/3);k.window=new M.lb(2*k.ja);k.head=new M.Ha(k.dc);k.Ga=new M.Ha(k.ja);k.Mb=1<<f+6;k.za=4*k.Mb;k.V=new M.lb(k.za);k.Ib=1*k.Mb;k.Fc=3*k.Mb;k.level=c;k.strategy=g;k.method=d;if(b&&b.state){b.kb=b.Qc=0;b.vc=2;c=b.state;c.pending=0;c.Pb=0;0>c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.F=2===c.wrap?
0:1;c.wb=0;if(!Yj){d=Array(16);for(f=g=0;28>f;f++)for(Cj[f]=g,e=0;e<1<<uj[f];e++)Bj[g++]=f;Bj[g-1]=f;for(f=g=0;16>f;f++)for(Dj[f]=g,e=0;e<1<<vj[f];e++)Aj[g++]=f;for(g>>=7;30>f;f++)for(Dj[f]=g<<7,e=0;e<1<<vj[f]-7;e++)Aj[256+g++]=f;for(e=0;15>=e;e++)d[e]=0;for(e=0;143>=e;)yj[2*e+1]=8,e++,d[8]++;for(;255>=e;)yj[2*e+1]=9,e++,d[9]++;for(;279>=e;)yj[2*e+1]=7,e++,d[7]++;for(;287>=e;)yj[2*e+1]=8,e++,d[8]++;Nj(yj,287,d);for(e=0;30>e;e++)zj[2*e+1]=5,zj[2*e]=Mj(e,5);Fj=new Ej(yj,uj,257,286,15);Gj=new Ej(zj,
vj,0,30,15);Hj=new Ej([],wj,0,19,7);Yj=!0}c.ec=new Ij(c.sa,Fj);c.Zb=new Ij(c.Za,Gj);c.Xc=new Ij(c.ha,Hj);c.la=0;c.fa=0;Oj(c);c=0}else c=ak(b,-2);0===c&&(b=b.state,b.Hd=2*b.ja,bk(b.head),b.Gc=mk[b.level].ue,b.jd=mk[b.level].he,b.od=mk[b.level].ye,b.nd=mk[b.level].te,b.o=0,b.va=0,b.u=0,b.ta=0,b.P=b.xa=2,b.fb=0,b.J=0);b=c}}else b=-2;if(0!==b)throw Error(sj[b]);a.header&&(b=this.H)&&b.state&&2===b.state.wrap&&(b.state.D=a.header);if(a.dictionary){var l;"string"===typeof a.dictionary?l=lj(a.dictionary):
"[object ArrayBuffer]"===qk.call(a.dictionary)?l=new Uint8Array(a.dictionary):l=a.dictionary;a=this.H;f=l;g=f.length;if(a&&a.state)if(l=a.state,b=l.wrap,2===b||1===b&&42!==l.status||l.u)b=-2;else{1===b&&(a.F=mj(a.F,f,g,0));l.wrap=0;g>=l.ja&&(0===b&&(bk(l.head),l.o=0,l.va=0,l.ta=0),c=new M.lb(l.ja),M.ob(c,f,g-l.ja,l.ja,0),f=c,g=l.ja);c=a.ka;d=a.hb;e=a.input;a.ka=g;a.hb=0;a.input=f;for(gk(l);3<=l.u;){f=l.o;g=l.u-2;do l.J=(l.J<<l.La^l.window[f+3-1])&l.Ka,l.Ga[f&l.Wa]=l.head[l.J],l.head[l.J]=f,f++;while(--g);
l.o=f;l.u=2;gk(l)}l.o+=l.u;l.va=l.o;l.ta=l.u;l.u=0;l.P=l.xa=2;l.fb=0;a.hb=d;a.input=e;a.ka=c;l.wrap=b;b=0}else b=-2;if(0!==b)throw Error(sj[b]);this.Kf=!0}}
rk.prototype.push=function(a,b){var c=this.H,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=lj(a):"[object ArrayBuffer]"===qk.call(a)?c.input=new Uint8Array(a):c.input=a;c.hb=0;c.ka=c.input.length;do{0===c.K&&(c.output=new M.lb(d),c.Ab=0,c.K=d);a=ok(c,e);if(1!==a&&0!==a)return sk(this,a),this.ended=!0,!1;if(0===c.K||0===c.ka&&(4===e||2===e))if("string"===this.options.to){var f=M.Pc(c.output,c.Ab);b=f;f=f.length;if(65537>f&&(b.subarray&&kj||!b.subarray))b=
String.fromCharCode.apply(null,M.Pc(b,f));else{for(var g="",h=0;h<f;h++)g+=String.fromCharCode(b[h]);b=g}this.chunks.push(b)}else b=M.Pc(c.output,c.Ab),this.chunks.push(b)}while((0<c.ka||0===c.K)&&1!==a);if(4===e)return(c=this.H)&&c.state?(d=c.state.status,42!==d&&69!==d&&73!==d&&91!==d&&103!==d&&113!==d&&666!==d?a=ak(c,-2):(c.state=null,a=113===d?ak(c,-3):0)):a=-2,sk(this,a),this.ended=!0,0===a;2===e&&(sk(this,0),c.K=0);return!0};
function sk(a,b){0===b&&(a.result="string"===a.options.to?a.chunks.join(""):M.gd(a.chunks));a.chunks=[];a.err=b;a.msg=a.H.msg}
function tk(a,b){b=b||{};b.gzip=!0;b=new rk(b);b.push(a,!0);if(b.err)throw b.msg||sj[b.err];return b.result}
;function uk(a){if(!a)return null;a=a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue;var b;a?b=Gb(a):b=null;return b}
;function vk(a){return Gb(null===a?"null":void 0===a?"undefined":a)}
;function wk(a){this.name=a}
;var xk=new wk("rawColdConfigGroup");var yk=new wk("rawHotConfigGroup");function zk(a){this.A=Ff(a)}
w(zk,fg);var Ak=new wk("continuationCommand");var Bk=new wk("webCommandMetadata");var Ck=new wk("signalServiceEndpoint");var Dk={yf:"EMBEDDED_PLAYER_MODE_UNKNOWN",vf:"EMBEDDED_PLAYER_MODE_DEFAULT",xf:"EMBEDDED_PLAYER_MODE_PFP",wf:"EMBEDDED_PLAYER_MODE_PFL"};var Ek=new wk("feedbackEndpoint");function Fk(a){this.A=Ff(a)}
w(Fk,fg);var Gk=new wk("webPlayerShareEntityServiceEndpoint");var Hk=new wk("playlistEditEndpoint");var Ik=new wk("modifyChannelNotificationPreferenceEndpoint");var Jk=new wk("unsubscribeEndpoint");var Kk=new wk("subscribeEndpoint");function Lk(){var a=Mk;D("yt.ads.biscotti.getId_")||C("yt.ads.biscotti.getId_",a)}
function Nk(a){C("yt.ads.biscotti.lastId_",a)}
;function Ok(a,b){1<b.length?a[b[0]]=b[1]:1===b.length&&Object.assign(a,b[0])}
;var Pk=B.window,Qk,Rk,Sk=(null==Pk?void 0:null==(Qk=Pk.yt)?void 0:Qk.config_)||(null==Pk?void 0:null==(Rk=Pk.ytcfg)?void 0:Rk.data_)||{};C("yt.config_",Sk);function Tk(){Ok(Sk,arguments)}
function P(a,b){return a in Sk?Sk[a]:b}
function Uk(a){var b=Sk.EXPERIMENT_FLAGS;return b?b[a]:void 0}
;var Vk=[];function Wk(a){Vk.forEach(function(b){return b(a)})}
function Xk(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){Yk(b)}}:a}
function Yk(a){var b=D("yt.logging.errors.log");b?b(a,"ERROR",void 0,void 0,void 0,void 0,void 0):(b=P("ERRORS",[]),b.push([a,"ERROR",void 0,void 0,void 0,void 0,void 0]),Tk("ERRORS",b));Wk(a)}
function Zk(a,b,c,d,e){var f=D("yt.logging.errors.log");f?f(a,"WARNING",b,c,d,void 0,e):(f=P("ERRORS",[]),f.push([a,"WARNING",b,c,d,void 0,e]),Tk("ERRORS",f))}
;var $k=/^[\w.]*$/,al={q:!0,search_query:!0};function bl(a,b){b=a.split(b);for(var c={},d=0,e=b.length;d<e;d++){var f=b[d].split("=");if(1==f.length&&f[0]||2==f.length)try{var g=cl(f[0]||""),h=cl(f[1]||"");g in c?Array.isArray(c[g])?kb(c[g],h):c[g]=[c[g],h]:c[g]=h}catch(p){var k=p,l=f[0],n=String(bl);k.args=[{key:l,value:f[1],query:a,method:dl==n?"unchanged":n}];al.hasOwnProperty(l)||Zk(k)}}return c}
var dl=String(bl);function el(a){var b=[];lb(a,function(c,d){var e=encodeURIComponent(String(d)),f;Array.isArray(c)?f=c:f=[c];eb(f,function(g){""==g?b.push(e):b.push(e+"="+encodeURIComponent(String(g)))})});
return b.join("&")}
function fl(a){"?"==a.charAt(0)&&(a=a.substr(1));return bl(a,"&")}
function gl(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),fl(1<a.length?a[1]:a[0])):{}}
function hl(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=fl(e[1]||"");for(var f in b)!c&&null!==e&&f in e||(e[f]=b[f]);return mc(a,e)+d}
function il(a){if(!b)var b=window.location.href;var c=cc(1,a),d=dc(a);c&&d?(a=a.match(ac),b=b.match(ac),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?dc(b)==d&&(Number(cc(4,b))||null)==(Number(cc(4,a))||null):!0;return a}
function cl(a){return a&&a.match($k)?a:decodeURIComponent(a.replace(/\+/g," "))}
;function jl(a){var b=kl;a=void 0===a?D("yt.ads.biscotti.lastId_")||"":a;var c=Object,d=c.assign,e={};e.dt=mi;e.flash="0";a:{try{var f=b.h.top.location.href}catch(V){f=2;break a}f=f?f===b.i.location.href?0:1:2}e=(e.frm=f,e);try{e.u_tz=-(new Date).getTimezoneOffset();var g=void 0===g?Kh:g;try{var h=g.history.length}catch(V){h=0}e.u_his=h;var k;e.u_h=null==(k=Kh.screen)?void 0:k.height;var l;e.u_w=null==(l=Kh.screen)?void 0:l.width;var n;e.u_ah=null==(n=Kh.screen)?void 0:n.availHeight;var p;e.u_aw=null==
(p=Kh.screen)?void 0:p.availWidth;var t;e.u_cd=null==(t=Kh.screen)?void 0:t.colorDepth}catch(V){}h=b.h;try{var r=h.screenX;var x=h.screenY}catch(V){}try{var y=h.outerWidth;var z=h.outerHeight}catch(V){}try{var H=h.innerWidth;var L=h.innerHeight}catch(V){}try{var I=h.screenLeft;var da=h.screenTop}catch(V){}try{H=h.innerWidth,L=h.innerHeight}catch(V){}try{var S=h.screen.availWidth;var O=h.screen.availTop}catch(V){}r=[I,da,r,x,S,O,y,z,H,L];try{var ba=(b.h.top||window).document,J="CSS1Compat"==ba.compatMode?
ba.documentElement:ba.body;var ca=(new Gd(J.clientWidth,J.clientHeight)).round()}catch(V){ca=new Gd(-12245933,-12245933)}ba=ca;ca={};var ha=void 0===ha?B:ha;J=new ui;"SVGElement"in ha&&"createElementNS"in ha.document&&J.set(0);x=ji();x["allow-top-navigation-by-user-activation"]&&J.set(1);x["allow-popups-to-escape-sandbox"]&&J.set(2);ha.crypto&&ha.crypto.subtle&&J.set(3);"TextDecoder"in ha&&"TextEncoder"in ha&&J.set(4);ha=vi(J);ca.bc=ha;ca.bih=ba.height;ca.biw=ba.width;ca.brdim=r.join();b=b.i;b=(ca.vis=
b.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||""]||0,ca.wgl=!!Kh.WebGLRenderingContext,ca);c=d.call(c,e,b);c.ca_type="image";a&&(c.bid=a);return c}
var kl=new function(){var a=window.document;this.h=window;this.i=a};
C("yt.ads_.signals_.getAdSignalsString",function(a){return el(jl(a))});Wa();navigator.userAgent.indexOf(" (CrKey ");function R(a){a=ll(a);return"string"===typeof a&&"false"===a?!1:!!a}
function ml(a,b){a=ll(a);return void 0===a&&void 0!==b?b:Number(a||0)}
function ll(a){return P("EXPERIMENT_FLAGS",{})[a]}
function nl(){for(var a=[],b=P("EXPERIMENTS_FORCED_FLAGS",{}),c=v(Object.keys(b)),d=c.next();!d.done;d=c.next())d=d.value,a.push({key:d,value:String(b[d])});c=P("EXPERIMENT_FLAGS",{});var e=v(Object.keys(c));for(d=e.next();!d.done;d=e.next())d=d.value,d.startsWith("force_")&&void 0===b[d]&&a.push({key:d,value:String(c[d])});return a}
;var ol="XMLHttpRequest"in B?function(){return new XMLHttpRequest}:null;
function pl(){if(!ol)return null;var a=ol();return"open"in a?a:null}
function ql(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}}
;function rl(a,b){"function"===typeof a&&(a=Xk(a));return window.setTimeout(a,b)}
;var sl="client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods".split(" ");[].concat(ma(sl),["client_dev_set_cookie"]);var tl={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",
"X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM","X-Goog-AuthUser":"SESSION_INDEX","X-Goog-PageId":"DELEGATED_SESSION_ID"},ul="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(ma(sl)),vl=!1;
function wl(a,b){b=void 0===b?{}:b;var c=il(a),d=R("web_ajax_ignore_global_headers_if_set"),e;for(e in tl){var f=P(tl[e]),g="X-Goog-AuthUser"===e||"X-Goog-PageId"===e;"X-Goog-Visitor-Id"!==e||f||(f=P("VISITOR_DATA"));!f||!c&&dc(a)||d&&void 0!==b[e]||"TVHTML5_UNPLUGGED"===P("INNERTUBE_CLIENT_NAME")&&g||(b[e]=f)}c&&P("SESSION_INDEX")&&"TVHTML5_UNPLUGGED"!==P("INNERTUBE_CLIENT_NAME")&&(b["X-Yt-Auth-Test"]="test");c&&P("WEBVIEW_EOM",!1)&&(b["X-Yt-Webview-Eom"]="1");"X-Goog-EOM-Visitor-Id"in b&&"X-Goog-Visitor-Id"in
b&&delete b["X-Goog-Visitor-Id"];if(c||!dc(a))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!dc(a)){try{var h=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(k){}h&&(b["X-YouTube-Time-Zone"]=h)}document.location.hostname.endsWith("youtubeeducation.com")||!c&&dc(a)||(b["X-YouTube-Ad-Signals"]=el(jl()));return b}
function xl(a){var b=window.location.search,c=dc(a);R("debug_handle_relative_url_for_query_forward_killswitch")||!c&&il(a)&&(c=document.location.hostname);var d=bc(cc(5,a));d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=fl(b),f={};eb(ul,function(g){e[g]&&(f[g]=e[g])});
return hl(a,f||{},!1)}
function yl(a,b){var c=b.format||"JSON";a=zl(a,b);var d=Al(a,b),e=!1,f=Bl(a,function(k){if(!e){e=!0;h&&window.clearTimeout(h);var l=ql(k),n=null,p=400<=k.status&&500>k.status,t=500<=k.status&&600>k.status;if(l||p||t)n=Cl(a,c,k,b.convertToSafeHtml);if(l)a:if(k&&204==k.status)l=!0;else{switch(c){case "XML":l=0==parseInt(n&&n.return_code,10);break a;case "RAW":l=!0;break a}l=!!n}n=n||{};p=b.context||B;l?b.onSuccess&&b.onSuccess.call(p,k,n):b.onError&&b.onError.call(p,k,n);b.onFinish&&b.onFinish.call(p,
k,n)}},b.method,d,b.headers,b.responseType,b.withCredentials);
d=b.timeout||0;if(b.onTimeout&&0<d){var g=b.onTimeout;var h=rl(function(){e||(e=!0,f.abort(),window.clearTimeout(h),g.call(b.context||B,f))},d)}return f}
function zl(a,b){b.includeDomain&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=P("XSRF_FIELD_NAME");if(b=b.urlParams)b[c]&&delete b[c],a=hl(a,b||{},!0);return a}
function Al(a,b){var c=P("XSRF_FIELD_NAME"),d=P("XSRF_TOKEN"),e=b.postBody||"",f=b.postParams,g=P("XSRF_FIELD_NAME"),h;b.headers&&(h=b.headers["Content-Type"]);b.excludeXsrf||dc(a)&&!b.withCredentials&&dc(a)!=document.location.hostname||"POST"!=b.method||h&&"application/x-www-form-urlencoded"!=h||b.postParams&&b.postParams[g]||(f||(f={}),f[c]=d);(R("ajax_parse_query_data_only_when_filled")&&f&&0<Object.keys(f).length||f)&&"string"===typeof e&&(e=fl(e),vb(e,f),e=b.postBodyFormat&&"JSON"==b.postBodyFormat?
JSON.stringify(e):kc(e));f=e||f&&!ob(f);!vl&&f&&"POST"!=b.method&&(vl=!0,Yk(Error("AJAX request with postData should use POST")));return e}
function Cl(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(g){throw d=Error("Error reading responseText"),d.params=a,Zk(d),g;}a=c.getResponseHeader("Content-Type")||"";f&&0<=a.indexOf("json")&&(")]}'\n"===f.substring(0,5)&&(f=f.substring(5)),e=JSON.parse(f));break;case "XML":if(a=(a=c.responseXML)?Dl(a):null)e={},eb(a.getElementsByTagName("*"),function(g){e[g.tagName]=El(g)})}d&&Fl(e);
return e}
function Fl(a){if(Oa(a))for(var b in a){var c;(c="html_content"==b)||(c=b.length-5,c=0<=c&&b.indexOf("_html",c)==c);if(c){c=b;var d=a[b],e=xb();d=e?e.createHTML(d):d;a[c]=new Xb(d)}else Fl(a[b])}}
function Dl(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null}
function El(a){var b="";eb(a.childNodes,function(c){b+=c.nodeValue});
return b}
function Gl(a,b){b.method="POST";b.postParams||(b.postParams={});return yl(a,b)}
function Bl(a,b,c,d,e,f,g,h){function k(){4==(l&&"readyState"in l?l.readyState:0)&&b&&Xk(b)(l)}
c=void 0===c?"GET":c;d=void 0===d?"":d;h=void 0===h?!1:h;var l=pl();if(!l)return null;"onloadend"in l?l.addEventListener("loadend",k,!1):l.onreadystatechange=k;R("debug_forward_web_query_parameters")&&(a=xl(a));l.open(c,a,!0);f&&(l.responseType=f);g&&(l.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=wl(a,e))for(var n in e)l.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
h&&"setAttributionReporting"in XMLHttpRequest.prototype&&l.setAttributionReporting({eventSourceEligible:!0,triggerEligible:!1});l.send(d);return l}
;var Hl=[{Hc:function(a){return"Cannot read property '"+a.key+"'"},
kc:{Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./,
groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{regexp:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{Hc:function(a){return"Cannot call '"+a.key+"'"},
kc:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/([^ ]+) called on (null or undefined)/,groups:["key","value"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/,
groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},{Hc:function(a){return a.key+" is not defined"},
kc:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];var Jl={Sa:[],Pa:[{callback:Il,weight:500}]};function Il(a){if("JavaException"===a.name)return!0;a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")}
;function Kl(){this.Pa=[];this.Sa=[]}
var Ll;function Ml(){if(!Ll){var a=Ll=new Kl;a.Sa.length=0;a.Pa.length=0;Jl.Sa&&a.Sa.push.apply(a.Sa,Jl.Sa);Jl.Pa&&a.Pa.push.apply(a.Pa,Jl.Pa)}return Ll}
;var Nl=new K;function Ol(a){function b(){return a.charCodeAt(d++)}
var c=a.length,d=0;do{var e=Pl(b);if(Infinity===e)break;var f=e>>3;switch(e&7){case 0:e=Pl(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Pl(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(d<c)}
function Pl(a){var b=a(),c=b&127;if(128>b)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity}
;function Ql(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;d<a.length&&!(a[d]&&(e+=Rl(d,a[d],b,c),500<e));d++);d=e}else if("object"===typeof a)for(e in a){if(a[e]){var f=e;var g=a[e],h=b,k=c;f="string"!==typeof g||"clickTrackingParams"!==f&&"trackingParams"!==f?0:(g=Ol(atob(g.replace(/-/g,"+").replace(/_/g,"/"))))?Rl(f+".ve",g,h,k):0;d+=f;d+=Rl(e,a[e],b,c);if(500<d)break}}else c[b]=Sl(a),d+=c[b].length;else c[b]=Sl(a),d+=c[b].length;return d}
function Rl(a,b,c,d){c+="."+a;a=Sl(b);d[c]=a;return c.length+a.length}
function Sl(a){try{return("string"===typeof a?a:String(JSON.stringify(a))).substr(0,500)}catch(b){return"unable to serialize "+typeof a+" ("+b.message+")"}}
;function Tl(){this.Ye=!0}
function Ul(){Tl.h||(Tl.h=new Tl);return Tl.h}
function Vl(a,b){a={};var c=Bg([]);c&&(a.Authorization=c,c=b=null==b?void 0:b.sessionIndex,void 0===c&&(c=Number(P("SESSION_INDEX",0)),c=isNaN(c)?0:c),R("voice_search_auth_header_removal")||(a["X-Goog-AuthUser"]=c.toString()),"INNERTUBE_HOST_OVERRIDE"in Sk||(a["X-Origin"]=window.location.origin),void 0===b&&"DELEGATED_SESSION_ID"in Sk&&(a["X-Goog-PageId"]=P("DELEGATED_SESSION_ID")));return a}
;var Wl={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};function Xl(a){var b=this;this.i=void 0;this.h=!1;a.addEventListener("beforeinstallprompt",function(c){c.preventDefault();b.i=c});
a.addEventListener("appinstalled",function(){b.h=!0},{once:!0})}
function Yl(){if(!B.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return B.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":B.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":B.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":B.matchMedia("(display-mode: browser)").matches?"WEB_DISPLAY_MODE_BROWSER":"WEB_DISPLAY_MODE_UNKNOWN"}catch(a){return"WEB_DISPLAY_MODE_UNKNOWN"}}
;function Zl(a,b,c,d,e){xg.set(""+a,b,{fc:c,path:"/",domain:void 0===d?"youtube.com":d,secure:void 0===e?!1:e})}
function $l(a){return xg.get(""+a,void 0)}
function am(a,b,c){xg.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)}
function bm(){if(!xg.isEnabled())return!1;if(!xg.Lb())return!0;xg.set("TESTCOOKIESENABLED","1",{fc:60});if("1"!==xg.get("TESTCOOKIESENABLED"))return!1;xg.remove("TESTCOOKIESENABLED");return!0}
;var cm=D("ytglobal.prefsUserPrefsPrefs_")||{};C("ytglobal.prefsUserPrefsPrefs_",cm);function dm(){this.h=P("ALT_PREF_COOKIE_NAME","PREF");this.i=P("ALT_PREF_COOKIE_DOMAIN","youtube.com");var a=$l(this.h);a&&this.parse(a)}
var em;function fm(){em||(em=new dm);return em}
m=dm.prototype;m.get=function(a,b){gm(a);hm(a);a=void 0!==cm[a]?cm[a].toString():null;return null!=a?a:b?b:""};
m.set=function(a,b){gm(a);hm(a);if(null==b)throw Error("ExpectedNotNull");cm[a]=b.toString()};
function im(a){return!!((jm("f"+(Math.floor(a/31)+1))||0)&1<<a%31)}
m.remove=function(a){gm(a);hm(a);delete cm[a]};
m.clear=function(){for(var a in cm)delete cm[a]};
function hm(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);}
function gm(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);}
function jm(a){a=void 0!==cm[a]?cm[a].toString():null;return null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null}
m.parse=function(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(cm[d]=c.toString())}};var km={bluetooth:"CONN_DISCO",cellular:"CONN_CELLULAR_UNKNOWN",ethernet:"CONN_WIFI",none:"CONN_NONE",wifi:"CONN_WIFI",wimax:"CONN_CELLULAR_4G",other:"CONN_UNKNOWN",unknown:"CONN_UNKNOWN","slow-2g":"CONN_CELLULAR_2G","2g":"CONN_CELLULAR_2G","3g":"CONN_CELLULAR_3G","4g":"CONN_CELLULAR_4G"},lm={"slow-2g":"EFFECTIVE_CONNECTION_TYPE_SLOW_2G","2g":"EFFECTIVE_CONNECTION_TYPE_2G","3g":"EFFECTIVE_CONNECTION_TYPE_3G","4g":"EFFECTIVE_CONNECTION_TYPE_4G"};
function mm(){var a=B.navigator;return a?a.connection:void 0}
function nm(){var a=mm();if(a){var b=km[a.type||"unknown"]||"CONN_UNKNOWN";a=km[a.effectiveType||"unknown"]||"CONN_UNKNOWN";"CONN_CELLULAR_UNKNOWN"===b&&"CONN_UNKNOWN"!==a&&(b=a);if("CONN_UNKNOWN"!==b)return b;if("CONN_UNKNOWN"!==a)return a}}
function om(){var a=mm();if(null!=a&&a.effectiveType)return lm.hasOwnProperty(a.effectiveType)?lm[a.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"}
;function T(a){var b=Ia.apply(1,arguments);var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(ma(b))}
w(T,Error);function pm(){try{return qm(),!0}catch(a){return!1}}
function qm(a){if(void 0!==P("DATASYNC_ID"))return P("DATASYNC_ID");throw new T("Datasync ID not set",void 0===a?"unknown":a);}
;function rm(){}
function sm(a,b){return ti.Ya(a,0,b)}
rm.prototype.oa=function(a,b){return this.Ya(a,1,b)};
rm.prototype.Fb=function(a){var b=D("yt.scheduler.instance.addImmediateJob");b?b(a):a()};var tm=ml("web_emulated_idle_callback_delay",300),um=1E3/60-3,wm=[8,5,4,3,2,1,0];
function xm(a){a=void 0===a?{}:a;F.call(this);this.i=[];this.j={};this.Y=this.h=0;this.W=this.m=!1;this.R=[];this.S=this.da=!1;for(var b=v(wm),c=b.next();!c.done;c=b.next())this.i[c.value]=[];this.l=0;this.uc=a.timeout||1;this.B=um;this.s=0;this.ma=this.Ae.bind(this);this.sc=this.bf.bind(this);this.Ba=this.Nd.bind(this);this.Ia=this.je.bind(this);this.nb=this.De.bind(this);this.na=!!window.requestIdleCallback&&!!window.cancelIdleCallback&&!R("disable_scheduler_requestIdleCallback");(this.ea=!1!==
a.useRaf&&!!window.requestAnimationFrame)&&document.addEventListener("visibilitychange",this.ma)}
w(xm,F);m=xm.prototype;m.Fb=function(a){var b=Wa();ym(this,a);a=Wa()-b;this.m||(this.B-=a)};
m.Ya=function(a,b,c){++this.Y;if(10===b)return this.Fb(a),this.Y;var d=this.Y;this.j[d]=a;this.m&&!c?this.R.push({id:d,priority:b}):(this.i[b].push(d),this.W||this.m||(0!==this.h&&zm(this)!==this.s&&this.stop(),this.start()));return d};
m.qa=function(a){delete this.j[a]};
function Am(a){a.R.length=0;for(var b=5;0<=b;b--)a.i[b].length=0;a.i[8].length=0;a.j={};a.stop()}
m.isHidden=function(){return!!document.hidden||!1};
function Bm(a){return!a.isHidden()&&a.ea}
function zm(a){if(a.i[8].length){if(a.S)return 4;if(Bm(a))return 3}for(var b=5;b>=a.l;b--)if(0<a.i[b].length)return 0<b?Bm(a)?3:2:1;return 0}
m.Nb=function(a){var b=D("yt.logging.errors.log");b&&b(a)};
function ym(a,b){try{b()}catch(c){a.Nb(c)}}
function Cm(a){for(var b=v(wm),c=b.next();!c.done;c=b.next())if(a.i[c.value].length)return!0;return!1}
m.je=function(a){var b=void 0;a&&(b=a.timeRemaining());this.da=!0;Dm(this,b);this.da=!1};
m.bf=function(){Dm(this)};
m.Nd=function(){Em(this)};
m.De=function(a){this.S=!0;var b=zm(this);4===b&&b!==this.s&&(this.stop(),this.start());Dm(this,void 0,a);this.S=!1};
m.Ae=function(){this.isHidden()||Em(this);this.h&&(this.stop(),this.start())};
function Em(a){a.stop();a.m=!0;for(var b=Wa(),c=a.i[8];c.length;){var d=c.shift(),e=a.j[d];delete a.j[d];e&&ym(a,e)}Fm(a);a.m=!1;Cm(a)&&a.start();b=Wa()-b;a.B-=b}
function Fm(a){for(var b=0,c=a.R.length;b<c;b++){var d=a.R[b];a.i[d.priority].push(d.id)}a.R.length=0}
function Dm(a,b,c){a.S&&4===a.s&&a.h||a.stop();a.m=!0;b=Wa()+(b||a.B);for(var d=a.i[5];d.length;){var e=d.shift(),f=a.j[e];delete a.j[e];if(f){e=a;try{f(c)}catch(l){e.Nb(l)}}}for(d=a.i[4];d.length;)c=d.shift(),f=a.j[c],delete a.j[c],f&&ym(a,f);d=a.da?0:1;d=a.l>d?a.l:d;if(!(Wa()>=b)){do{a:{c=a;f=d;for(e=3;e>=f;e--)for(var g=c.i[e];g.length;){var h=g.shift(),k=c.j[h];delete c.j[h];if(k){c=k;break a}}c=null}c&&ym(a,c)}while(c&&Wa()<b)}a.m=!1;Fm(a);a.B=um;Cm(a)&&a.start()}
m.start=function(){this.W=!1;if(0===this.h)switch(this.s=zm(this),this.s){case 1:var a=this.Ia;this.h=this.na?window.requestIdleCallback(a,{timeout:3E3}):window.setTimeout(a,tm);break;case 2:this.h=window.setTimeout(this.sc,this.uc);break;case 3:this.h=window.requestAnimationFrame(this.nb);break;case 4:this.h=window.setTimeout(this.Ba,0)}};
m.pause=function(){this.stop();this.W=!0};
m.stop=function(){if(this.h){switch(this.s){case 1:var a=this.h;this.na?window.cancelIdleCallback(a):window.clearTimeout(a);break;case 2:case 4:window.clearTimeout(this.h);break;case 3:window.cancelAnimationFrame(this.h)}this.h=0}};
m.M=function(){Am(this);this.stop();this.ea&&document.removeEventListener("visibilitychange",this.ma);F.prototype.M.call(this)};var Gm=D("yt.scheduler.instance.timerIdMap_")||{},Hm=ml("kevlar_tuner_scheduler_soft_state_timer_ms",800),Im=0,Jm=0;function Km(){var a=D("ytglobal.schedulerInstanceInstance_");if(!a||a.Z())a=new xm(P("scheduler")||{}),C("ytglobal.schedulerInstanceInstance_",a);return a}
function Lm(){Mm();var a=D("ytglobal.schedulerInstanceInstance_");a&&(wc(a),C("ytglobal.schedulerInstanceInstance_",null))}
function Mm(){Am(Km());for(var a in Gm)Gm.hasOwnProperty(a)&&delete Gm[Number(a)]}
function Nm(a,b,c){if(!c)return c=void 0===c,-Km().Ya(a,b,c);var d=window.setTimeout(function(){var e=Km().Ya(a,b);Gm[d]=e},c);
return d}
function Om(a){Km().Fb(a)}
function Pm(a){var b=Km();if(0>a)b.qa(-a);else{var c=Gm[a];c?(b.qa(c),delete Gm[a]):window.clearTimeout(a)}}
function Qm(){Rm()}
function Rm(){window.clearTimeout(Im);Km().start()}
function Sm(){Km().pause();window.clearTimeout(Im);Im=window.setTimeout(Qm,Hm)}
function Tm(){window.clearTimeout(Jm);Jm=window.setTimeout(function(){Um(0)},Hm)}
function Um(a){Tm();var b=Km();b.l=a;b.start()}
function Vm(a){Tm();var b=Km();b.l>a&&(b.l=a,b.start())}
function Xm(){window.clearTimeout(Jm);var a=Km();a.l=0;a.start()}
function Ym(){D("yt.scheduler.initialized")||(C("yt.scheduler.instance.dispose",Lm),C("yt.scheduler.instance.addJob",Nm),C("yt.scheduler.instance.addImmediateJob",Om),C("yt.scheduler.instance.cancelJob",Pm),C("yt.scheduler.instance.cancelAllJobs",Mm),C("yt.scheduler.instance.start",Rm),C("yt.scheduler.instance.pause",Sm),C("yt.scheduler.instance.setPriorityThreshold",Um),C("yt.scheduler.instance.enablePriorityThreshold",Vm),C("yt.scheduler.instance.clearPriorityThreshold",Xm),C("yt.scheduler.initialized",
!0))}
;function Zm(){rm.apply(this,arguments)}
w(Zm,rm);function $m(){Zm.h||(Zm.h=new Zm);return Zm.h}
Zm.prototype.Ya=function(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=D("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):rl(a,c||0)};
Zm.prototype.qa=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=D("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}};
Zm.prototype.start=function(){var a=D("yt.scheduler.instance.start");a&&a()};
Zm.prototype.pause=function(){var a=D("yt.scheduler.instance.pause");a&&a()};
var ti=$m();R("web_scheduler_auto_init")&&Ym();function an(a){var b=new aj;(b=b.isAvailable()?a?new gj(b,a):b:null)||(a=new bj(a||"UserDataSharedStore"),b=a.isAvailable()?a:null);this.h=(a=b)?new Xi(a):null;this.i=document.domain||window.location.hostname}
an.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.h)try{this.h.set(a,b,Date.now()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape((new gh).serialize(b))}catch(f){return}else e=escape(b);Zl(a,e,c,this.i)};
an.prototype.get=function(a,b){var c=void 0,d=!this.h;if(!d)try{c=this.h.get(a)}catch(e){d=!0}if(d&&(c=$l(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
an.prototype.remove=function(a){this.h&&this.h.remove(a);am(a,"/",this.i)};var bn=function(){var a;return function(){a||(a=new an("ytidb"));return a}}();
function cn(){var a;return null==(a=bn())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)}
;var dn=[],en,fn=!1;function gn(){var a={};for(en=new hn(void 0===a.handleError?jn:a.handleError,void 0===a.logEvent?kn:a.logEvent);0<dn.length;)switch(a=dn.shift(),a.type){case "ERROR":en.Nb(a.payload);break;case "EVENT":en.logEvent(a.eventType,a.payload)}}
function ln(a){fn||(en?en.Nb(a):(dn.push({type:"ERROR",payload:a}),10<dn.length&&dn.shift()))}
function mn(a,b){fn||(en?en.logEvent(a,b):(dn.push({type:"EVENT",eventType:a,payload:b}),10<dn.length&&dn.shift()))}
;function nn(a){if(0<=a.indexOf(":"))throw Error("Database name cannot contain ':'");}