'use strict';var h,aa=function(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)},ca="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,da=function(){da=function(){};ca.Symbol||(ca.Symbol=fa)},ha=function(a,c){this.b=a;ba(this,"description",{configurable:!0,writable:!0,value:c})};
ha.prototype.toString=function(){return this.b};
var fa=function(){function a(b){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ha("jscomp_symbol_"+(b||"")+"_"+c++,b)}var c=0;return a}(),ja=function(){da();var a=ca.Symbol.iterator;a||(a=ca.Symbol.iterator=ca.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(aa(this))}});ja=function(){}},ia=function(a){ja();a={next:a};a[ca.Symbol.iterator]=function(){return this};return a},
l=function(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):{next:aa(a)}},n=function(a){if(!(a instanceof Array)){a=l(a);for(var c,b=[];!(c=a.next()).done;)b.push(c.value);a=b}return a},ka="function"==typeof Object.create?Object.create:function(a){var c=function(){};c.prototype=a;return new c},la;
if("function"==typeof Object.setPrototypeOf)la=Object.setPrototypeOf;else{var ma;a:{var na={Bp:!0},oa={};try{oa.__proto__=na;ma=oa.Bp;break a}catch(a){}ma=!1}la=ma?function(a,c){a.__proto__=c;if(a.__proto__!==c)throw new TypeError(a+" is not extensible");return a}:null}
var pa=la,q=function(a,c){a.prototype=ka(c.prototype);a.prototype.constructor=a;if(pa)pa(a,c);else for(var b in c)if("prototype"!=b)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(c,b);d&&Object.defineProperty(a,b,d)}else a[b]=c[b];a.Ga=c.prototype},qa=function(a,c){if(c){var b=ca;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&ba(b,a,{configurable:!0,writable:!0,value:c})}};
qa("Promise",function(a){function c(){this.b=null}function b(g){return g instanceof e?g:new e(function(k){k(g)})}if(a)return a;c.prototype.f=function(g){if(null==this.b){this.b=[];var k=this;this.g(function(){k.j()})}this.b.push(g)};var d=ca.setTimeout;c.prototype.g=function(g){d(g,0)};c.prototype.j=function(){for(;this.b&&this.b.length;){var g=this.b;this.b=[];for(var k=0;k<g.length;++k){var m=g[k];g[k]=null;try{m()}catch(p){this.h(p)}}}this.b=null};c.prototype.h=function(g){this.g(function(){throw g;
})};var e=function(g){this.f=0;this.g=void 0;this.b=[];var k=this.j();try{g(k.resolve,k.reject)}catch(m){k.reject(m)}};e.prototype.j=function(){function g(p){return function(v){m||(m=!0,p.call(k,v))}}var k=this,m=!1;return{resolve:g(this.D),reject:g(this.h)}};e.prototype.D=function(g){if(g===this)this.h(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.C(g);else{a:switch(typeof g){case "object":var k=null!=g;break a;case "function":k=!0;break a;default:k=!1}k?this.s(g):
this.w(g)}};e.prototype.s=function(g){var k=void 0;try{k=g.then}catch(m){this.h(m);return}"function"==typeof k?this.F(k,g):this.w(g)};e.prototype.h=function(g){this.m(2,g)};e.prototype.w=function(g){this.m(1,g)};e.prototype.m=function(g,k){if(0!=this.f)throw Error("Cannot settle("+g+", "+k+"): Promise already settled in state"+this.f);this.f=g;this.g=k;this.o()};e.prototype.o=function(){if(null!=this.b){for(var g=0;g<this.b.length;++g)f.f(this.b[g]);this.b=null}};var f=new c;e.prototype.C=function(g){var k=
this.j();g.vh(k.resolve,k.reject)};e.prototype.F=function(g,k){var m=this.j();try{g.call(k,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,k){function m(G,E){return"function"==typeof G?function(P){try{p(G(P))}catch(ea){v(ea)}}:E}var p,v,A=new e(function(G,E){p=G;v=E});this.vh(m(g,p),m(k,v));return A};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.vh=function(g,k){function m(){switch(p.f){case 1:g(p.g);break;case 2:k(p.g);break;default:throw Error("Unexpected state: "+
p.f);}}var p=this;null==this.b?f.f(m):this.b.push(m)};e.resolve=b;e.reject=function(g){return new e(function(k,m){m(g)})};e.race=function(g){return new e(function(k,m){for(var p=l(g),v=p.next();!v.done;v=p.next())b(v.value).vh(k,m)})};e.all=function(g){var k=l(g),m=k.next();return m.done?b([]):new e(function(p,v){function A(P){return function(ea){G[P]=ea;E--;0==E&&p(G)}}var G=[],E=0;do G.push(void 0),E++,b(m.value).vh(A(G.length-1),v),m=k.next();while(!m.done)})};return e});
qa("Promise.prototype.finally",function(a){return a?a:function(c){return this.then(function(b){return Promise.resolve(c()).then(function(){return b})},function(b){return Promise.resolve(c()).then(function(){throw b;})})}});var ra=function(){this.m=!1;this.h=null;this.f=void 0;this.b=1;this.j=this.w=0;this.s=this.g=null},sa=function(a){if(a.m)throw new TypeError("Generator is already running");a.m=!0};ra.prototype.o=function(a){this.f=a};var ta=function(a,c){a.g={Ec:c,Wl:!0};a.b=a.w||a.j};
ra.prototype.return=function(a){this.g={return:a};this.b=this.j};var ua=function(a,c,b){a.b=b;return{value:c}};ra.prototype.Ob=function(a){this.b=a};
var va=function(a,c,b){a.w=c;void 0!=b&&(a.j=b)},wa=function(a,c){a.b=c;a.w=0},xa=function(a){a.w=0;var c=a.g.Ec;a.g=null;return c},ya=function(a){this.b=new ra;this.f=a},Ba=function(a,c){sa(a.b);var b=a.b.h;if(b)return za(a,"return"in b?b["return"]:function(d){return{value:d,done:!0}},c,a.b.return);a.b.return(c);return Aa(a)},za=function(a,c,b,d){try{var e=c.call(a.b.h,b);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.b.m=!1,e;var f=e.value}catch(g){return a.b.h=
null,ta(a.b,g),Aa(a)}a.b.h=null;d.call(a.b,f);return Aa(a)},Aa=function(a){for(;a.b.b;)try{var c=a.f(a.b);if(c)return a.b.m=!1,{value:c.value,done:!1}}catch(b){a.b.f=void 0,ta(a.b,b)}a.b.m=!1;if(a.b.g){c=a.b.g;a.b.g=null;if(c.Wl)throw c.Ec;return{value:c.return,done:!0}}return{value:void 0,done:!0}},Ca=function(a){this.next=function(c){sa(a.b);a.b.h?c=za(a,a.b.h.next,c,a.b.o):(a.b.o(c),c=Aa(a));return c};this.throw=function(c){sa(a.b);a.b.h?c=za(a,a.b.h["throw"],c,a.b.o):(ta(a.b,c),c=Aa(a));return c};
this.return=function(c){return Ba(a,c)};ja();this[Symbol.iterator]=function(){return this}},Da=function(a){function c(d){return a.next(d)}function b(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(c,b).then(f,e)}f(a.next())})},Ea=function(a){return Da(new Ca(new ya(a)))},Ga=Ga||{},Ha=this||self,Ia=function(a){return void 0!==a},Ja=function(a){return"string"==typeof a},Ka=function(a){return"boolean"==typeof a},r=function(a){return"number"==
typeof a},Na=function(a){if(a&&a!=Ha)return La(a.document);null===Ma&&(Ma=La(Ha.document));return Ma},Oa=/^[\w+/_-]+[=]{0,2}$/,Ma=null,La=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&Oa.test(a)?a:""},Pa=function(a,c){a=a.split(".");c=c||Ha;for(var b=0;b<a.length;b++)if(c=c[a[b]],null==c)return null;return c},Qa=function(){},Ra=function(a){a.Xi=void 0;a.Ja=function(){return a.Xi?a.Xi:a.Xi=new a}},Sa=function(a){var c=typeof a;if("object"==
c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var b=Object.prototype.toString.call(a);if("[object Window]"==b)return"object";if("[object Array]"==b||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==b||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==
c&&"undefined"==typeof a.call)return"object";return c},Ta=function(a){return null===a},Ua=function(a){return"array"==Sa(a)},Wa=function(a){var c=Sa(a);return"array"==c||"object"==c&&"number"==typeof a.length},Xa=function(a){return"function"==Sa(a)},Ya=function(a){var c=typeof a;return"object"==c&&null!=a||"function"==c},$a=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(Za);try{delete a[Za]}catch(c){}},Za="closure_uid_"+(1E9*Math.random()>>>0),ab=0,bb=function(a,c,b){return a.call.apply(a.bind,
arguments)},cb=function(a,c,b){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(c,e)}}return function(){return a.apply(c,arguments)}},t=function(a,c,b){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t=bb:t=cb;return t.apply(null,arguments)},db=function(a,c){var b=Array.prototype.slice.call(arguments,1);return function(){var d=
b.slice();d.push.apply(d,arguments);return a.apply(this,d)}},u=Date.now||function(){return+new Date},w=function(a,c){a=a.split(".");var b=Ha;a[0]in b||"undefined"==typeof b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&Ia(c)?b[d]=c:b[d]&&b[d]!==Object.prototype[d]?b=b[d]:b=b[d]={}},x=function(a,c){function b(){}b.prototype=c.prototype;a.Ga=c.prototype;a.prototype=new b;a.prototype.constructor=a;a.yA=function(d,e,f){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-
2]=arguments[k];return c.prototype[e].apply(d,g)}};var chrome=chrome||window.chrome||{};chrome.cast=chrome.cast||{};chrome.cast.media=chrome.cast.media||{};var mojo={};var eb=function(){return Promise.reject(Error("Not implemented"))};var fb=function(a){this.b=a},hb=function(a){var c=gb.get(a);c||(c=new fb(a),gb.set(a,c));return c},kb=function(a){a.level>=ib&&jb.forEach(function(c){return c(a)})};fb.prototype.log=function(a,c,b){if(!(a<ib)){"function"==typeof c&&(c=c());c=c.replace(lb,"[Redacted URL]");c=c.replace(mb,"[Redacted domain/email]");c=c.replace(nb,function(e,f,g){return f+":<"+g.substr(-4)+">"});var d={R:this.b,level:a,time:Date.now(),message:c,Ec:b};jb.forEach(function(e){return e(d)})}};
fb.prototype.error=function(a,c){this.log(3,a,c)};fb.prototype.G=function(a,c){this.log(2,a,c)};fb.prototype.info=function(a,c){this.log(1,a,c)};var ob=function(a,c,b){a.log(0,c,b)},qb=function(a){a=pb.indexOf(a);return-1==a?0:a},rb=function(a){return 600>=a?0:850>=a?1:950>=a?2:3},jb=[],gb=new Map,pb=["FINE","INFO","WARNING","SEVERE"],mb=/(([\w.+-]+@)|((www|m|mail|ftp)[.]))[\w.-]+[.][\w-]{2,4}/gi,lb=/(data:|https?:\/\/)\S+/gi,nb=/(dial|cast):<([a-zA-Z0-9]+)>/gi,ib=1;var sb=function(a){this.b=a;this.f=Date.now()},tb=function(a,c){null!=c&&(a+="_"+c);return a};sb.prototype.end=function(a){ub(tb(this.b,a),Date.now()-this.f)};var ub=function(a,c){0>c&&(vb.G("Timing analytics event with negative time"),c=0);1E4<c&&(c=1E4);try{chrome.metricsPrivate.recordTime(a,c)}catch(b){vb.G("Failed to record time "+c+" in "+a)}},vb=hb("mr.Timing"),wb=function(a){sb.call(this,a)};q(wb,sb);
wb.prototype.end=function(a){a=tb(this.b,a);var c=Date.now()-this.f;if(0>c)xb.G("Timing analytics event with negative time");else{1E4>c&&(c=1E4);18E4<c&&(c=18E4);try{chrome.metricsPrivate.recordMediumTime(a,c)}catch(b){xb.G("Failed to record time "+c+" in "+a)}}};var xb=hb("mr.MediumTiming"),yb=function(a){sb.call(this,a)};q(yb,sb);
yb.prototype.end=function(a){a=tb(this.b,a);var c=Date.now()-this.f;if(0>c)zb.G("Timing analytics event with negative time");else{18E4>c&&(c=18E4);36E5<c&&(c=36E5);try{chrome.metricsPrivate.recordLongTime(a,c)}catch(b){zb.G("Failed to record time "+c+" in "+a)}}};
var zb=hb("mr.LongTiming"),Ab=hb("mr.Analytics"),Bb=function(a){try{chrome.metricsPrivate.recordUserAction(a)}catch(c){Ab.G("Failed to record event "+a)}},Cb=function(a,c,b){var d,e=0,f;for(f in b)e++,b[f]==c&&(d=f);if(d){b={metricName:a,type:"histogram-linear",min:1,max:e,buckets:e+1};try{chrome.metricsPrivate.recordValue(b,c)}catch(g){Ab.G("Failed to record enum value "+d+" ("+c+") in "+a,g)}}else Ab.error("Unknown analytics value, "+c+" for histogram, "+a,Error())};var Db=function(){var a=this;this.b=new Promise(function(c,b){a.g=c;a.f=b})};Db.prototype.resolve=function(a){this.g(a)};Db.prototype.reject=function(a){this.f(a)};var Eb=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Eb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a))};x(Eb,Error);Eb.prototype.name="CustomError";var Fb;var Gb=function(a,c){a=a.split("%s");for(var b="",d=a.length-1,e=0;e<d;e++)b+=a[e]+(e<c.length?c[e]:"%s");Eb.call(this,b+a[d])};x(Gb,Eb);Gb.prototype.name="AssertionError";var Hb=function(a,c){throw new Gb("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var Ib=function(a){return a[a.length-1]},Jb=Array.prototype.indexOf?function(a,c){return Array.prototype.indexOf.call(a,c,void 0)}:function(a,c){if(Ja(a))return Ja(c)&&1==c.length?a.indexOf(c,0):-1;for(var b=0;b<a.length;b++)if(b in a&&a[b]===c)return b;return-1},Kb=Array.prototype.lastIndexOf?function(a,c){return Array.prototype.lastIndexOf.call(a,c,a.length-1)}:function(a,c){var b=a.length-1;0>b&&(b=Math.max(0,a.length+b));if(Ja(a))return Ja(c)&&1==c.length?a.lastIndexOf(c,b):-1;for(;0<=b;b--)if(b in
a&&a[b]===c)return b;return-1},y=Array.prototype.forEach?function(a,c,b){Array.prototype.forEach.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=Ja(a)?a.split(""):a,f=0;f<d;f++)f in e&&c.call(b,e[f],f,a)},Lb=function(a,c){for(var b=Ja(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in b&&c.call(void 0,b[d],d,a)},Mb=Array.prototype.filter?function(a,c,b){return Array.prototype.filter.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=[],f=0,g=Ja(a)?a.split(""):a,k=0;k<d;k++)if(k in g){var m=g[k];c.call(b,
m,k,a)&&(e[f++]=m)}return e},Nb=Array.prototype.map?function(a,c,b){return Array.prototype.map.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=Array(d),f=Ja(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=c.call(b,f[g],g,a));return e},Ob=Array.prototype.reduce?function(a,c,b){return Array.prototype.reduce.call(a,c,b)}:function(a,c,b){var d=b;y(a,function(e,f){d=c.call(void 0,d,e,f,a)});return d},Pb=Array.prototype.some?function(a,c){return Array.prototype.some.call(a,c,void 0)}:function(a,c){for(var b=
a.length,d=Ja(a)?a.split(""):a,e=0;e<b;e++)if(e in d&&c.call(void 0,d[e],e,a))return!0;return!1},Qb=Array.prototype.every?function(a,c,b){return Array.prototype.every.call(a,c,b)}:function(a,c,b){for(var d=a.length,e=Ja(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!c.call(b,e[f],f,a))return!1;return!0},Sb=function(a,c,b){c=Rb(a,c,b);return 0>c?null:Ja(a)?a.charAt(c):a[c]},Rb=function(a,c,b){for(var d=a.length,e=Ja(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&c.call(b,e[f],f,a))return f;return-1},Tb=function(a,
c){a:{for(var b=Ja(a)?a.split(""):a,d=a.length-1;0<=d;d--)if(d in b&&c.call(void 0,b[d],d,a)){c=d;break a}c=-1}return 0>c?null:Ja(a)?a.charAt(c):a[c]},Ub=function(a,c){return 0<=Jb(a,c)},Vb=function(a){return 0==a.length},Wb=function(a){if(!Ua(a))for(var c=a.length-1;0<=c;c--)delete a[c];a.length=0},Xb=function(a,c){Ub(a,c)||a.push(c)},Zb=function(a,c,b){var d;2==arguments.length||0>(d=Jb(a,b))?a.push(c):Yb(a,d,0,c)},ac=function(a,c){c=Jb(a,c);var b;(b=0<=c)&&$b(a,c);return b},$b=function(a,c){return 1==
Array.prototype.splice.call(a,c,1).length},bc=function(a,c){c=Rb(a,c,void 0);return 0<=c?($b(a,c),!0):!1},cc=function(a,c){var b=0;Lb(a,function(d,e){c.call(void 0,d,e,a)&&$b(a,e)&&b++})},dc=function(a){return Array.prototype.concat.apply([],arguments)},ec=function(a){return Array.prototype.concat.apply([],arguments)},z=function(a){var c=a.length;if(0<c){for(var b=Array(c),d=0;d<c;d++)b[d]=a[d];return b}return[]},fc=function(a,c){for(var b=1;b<arguments.length;b++){var d=arguments[b];if(Wa(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)}},Yb=function(a,c,b,d){Array.prototype.splice.apply(a,gc(arguments,1))},gc=function(a,c,b){return 2>=arguments.length?Array.prototype.slice.call(a,c):Array.prototype.slice.call(a,c,b)},hc=function(a,c){c=c||a;for(var b={},d=0,e=0;e<a.length;){var f=a[e++];var g=f;g=Ya(g)?"o"+(g[Za]||(g[Za]=++ab)):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(b,g)||(b[g]=!0,c[d++]=f)}c.length=d},ic=function(a,c){for(var b=
0,d=a.length,e;b<d;){var f=b+d>>1;var g=c.call(void 0,a[f],f,a);0<g?b=f+1:(d=f,e=!g)}return e?b:~b},kc=function(a,c){a.sort(c||jc)},lc=function(a,c){var b=jc;kc(a,function(d,e){return b(c(d),c(e))})},mc=function(a){lc(a,function(c){return c.t})},oc=function(a,c,b){if(!Wa(a)||!Wa(c)||a.length!=c.length)return!1;var d=a.length;b=b||nc;for(var e=0;e<d;e++)if(!b(a[e],c[e]))return!1;return!0},jc=function(a,c){return a>c?1:a<c?-1:0},nc=function(a,c){return a===c},pc=function(a,c){var b={};y(a,function(d,
e){b[c.call(void 0,d,e,a)]=d});return b},qc=function(a,c){return dc.apply([],Nb(a,c,void 0))};var rc=function(a,c){a:{try{var b=a&&a.ownerDocument,d=b&&(b.defaultView||b.parentWindow);d=d||Ha;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e[c]&&(!a||!(a instanceof e[c])&&(a instanceof e.Location||a instanceof e.Element))){if(Ya(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Hb("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
c,f)}};var sc=function(a){return function(){return a}},tc=function(){return!0},uc=function(){return null},vc=function(a){return a},wc=function(a){return function(){throw Error(a);}},xc=function(a){var c=c||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,c))}};var yc=function(a,c,b){for(var d in a)c.call(b,a[d],d,a)},zc=function(a,c){var b={},d;for(d in a)b[d]=c.call(void 0,a[d],d,a);return b},Ac=function(a,c){for(var b in a)if(c.call(void 0,a[b],b,a))return!0;return!1},Bc=function(a){var c=0,b;for(b in a)c++;return c},Cc=function(a){for(var c in a)return c},Fc=function(a){var c=[],b=0,d;for(d in a)c[b++]=a[d];return c},Gc=function(a){var c=[],b=0,d;for(d in a)c[b++]=d;return c},Hc=function(a,c){return null!==a&&c in a},Ic=function(a,c){for(var b in a)if(a[b]==
c)return!0;return!1},Jc=function(a){for(var c in a)return!1;return!0},Kc=function(a){for(var c in a)delete a[c]},Lc=function(a){var c={},b;for(b in a)c[b]=a[b];return c},Mc=function(a){var c=Sa(a);if("object"==c||"array"==c){if(Xa(a.clone))return a.clone();c="array"==c?[]:{};for(var b in a)c[b]=Mc(a[b]);return c}return a},Nc=function(a){var c={},b;for(b in a)c[a[b]]=b;return c},Oc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Pc=function(a,
c){for(var b,d,e=1;e<arguments.length;e++){d=arguments[e];for(b in d)a[b]=d[b];for(var f=0;f<Oc.length;f++)b=Oc[f],Object.prototype.hasOwnProperty.call(d,b)&&(a[b]=d[b])}},Qc=function(a){var c=arguments.length;if(1==c&&Ua(arguments[0]))return Qc.apply(null,arguments[0]);for(var b={},d=0;d<c;d++)b[arguments[d]]=!0;return b};var Tc=function(a,c){this.b=a===Rc&&c||"";this.f=Sc};Tc.prototype.Gd=!0;Tc.prototype.Cd=function(){return this.b};Tc.prototype.toString=function(){return"Const{"+this.b+"}"};var Uc=function(a){if(a instanceof Tc&&a.constructor===Tc&&a.f===Sc)return a.b;Hb("expected object of type Const, got '"+a+"'");return"type_error:Const"},Sc={},Rc={},Vc=new Tc(Rc,"");var Xc=function(){this.b=Wc};Xc.prototype.Gd=!0;var Wc={};Xc.prototype.Cd=function(){return"".toString()};Xc.prototype.toString=function(){return"SafeScript{}"};var Zc=function(a){if(a instanceof Xc&&a.constructor===Xc&&a.b===Wc)return"";Hb("expected object of type SafeScript, got '"+a+"' of type "+Sa(a));return"type_error:SafeScript"};var $c=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,ad=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/,bd=/^http:\/\/.*/,cd=/\s+/,dd=/[\d\u06f0-\u06f9]/;var fd=function(){this.b="";this.f=ed};fd.prototype.Gd=!0;fd.prototype.Cd=function(){return this.b.toString()};fd.prototype.toString=function(){return"TrustedResourceUrl{"+this.b+"}"};var gd=function(a){if(a instanceof fd&&a.constructor===fd&&a.f===ed)return a.b;Hb("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Sa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){var c=new fd;c.b=a;return c};var id=function(a,c){return 0==a.lastIndexOf(c,0)},jd=function(a,c){return a.toLowerCase()==c.toLowerCase()},kd=function(a){return/^[\s\xa0]*$/.test(a)},ld=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},nd=function(a,c){a=String(a).toLowerCase();c=String(c).toLowerCase();return a<c?-1:a==c?0:1},od=/&/g,pd=/</g,qd=/>/g,rd=/"/g,sd=/'/g,td=/\x00/g,ud=/[\x00&<>"']/,wd=function(a,c){var b=0;a=ld(String(a)).split(".");c=ld(String(c)).split(".");
for(var d=Math.max(a.length,c.length),e=0;0==b&&e<d;e++){var f=a[e]||"",g=c[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;b=vd(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||vd(0==f[2].length,0==g[2].length)||vd(f[2],g[2]);f=f[3];g=g[3]}while(0==b)}return b},vd=function(a,c){return a<c?-1:a>c?1:0};var yd=function(){this.b="";this.f=xd};yd.prototype.Gd=!0;yd.prototype.Cd=function(){return this.b.toString()};yd.prototype.toString=function(){return"SafeUrl{"+this.b+"}"};
var zd=function(a){if(a instanceof yd&&a.constructor===yd&&a.f===xd)return a.b;Hb("expected object of type SafeUrl, got '"+a+"' of type "+Sa(a));return"type_error:SafeUrl"},Ad=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Cd=function(a){if(a instanceof yd)return a;a="object"==typeof a&&a.Gd?a.Cd():String(a);Ad.test(a)||(a="about:invalid#zClosurez");return Bd(a)},xd={},Bd=function(a){var c=new yd;c.b=a;return c};Bd("about:blank");var Ed=function(){this.b="";this.f=Dd};Ed.prototype.Gd=!0;var Dd={};Ed.prototype.Cd=function(){return this.b};Ed.prototype.toString=function(){return"SafeStyle{"+this.b+"}"};
var Fd=function(a){if(a instanceof Ed&&a.constructor===Ed&&a.f===Dd)return a.b;Hb("expected object of type SafeStyle, got '"+a+"' of type "+Sa(a));return"type_error:SafeStyle"},Gd=function(a){var c=new Ed;c.b=a;return c},Hd=Gd(""),Jd=function(a){if(a instanceof yd)return'url("'+zd(a).toString().replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Tc?Uc(a):Id(String(a));if(/[{;}]/.test(a))throw new Gb("Value does not allow [{;}], got: %s.",[a]);return a},Id=function(a){var c=a.replace(Kd,
"$1").replace(Kd,"$1").replace(Ld,"url");if(Md.test(c)){if(Nd.test(a))return Hb("String value disallows comments, got: "+a),"zClosurez";for(var b=c=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&b?c=!c:'"'==e&&c&&(b=!b)}if(!c||!b)return Hb("String value requires balanced quotes, got: "+a),"zClosurez";if(!Od(a))return Hb("String value requires balanced square brackets and one identifier per pair of brackets, got: "+a),"zClosurez"}else return Hb("String value allows only [-,.\"'%_!# a-zA-Z0-9\\[\\]] and simple functions, got: "+
a),"zClosurez";return Pd(a)},Od=function(a){for(var c=!0,b=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(c)return!1;c=!0}else if("["==e){if(!c)return!1;c=!1}else if(!c&&!b.test(e))return!1}return c},Md=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Ld=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,Kd=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Nd=/\/\*/,Pd=function(a){return a.replace(Ld,
function(c,b,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,m){f=k;return m});c=Cd(d).Cd();return b+f+c+f+e})};var Rd=function(){this.b="";this.f=Qd};Rd.prototype.Gd=!0;
var Qd={},Td=function(a,c){if(-1!=a.indexOf("<"))throw Error("Selector does not allow '<', got: "+a);var b=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(b))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<b.length;f++){var g=b[f];if(d[g])e.push(d[g]);else if(Ic(d,g)&&e.pop()!=g){b=!1;break a}}b=0==e.length}if(!b)throw Error("() and [] in selector must be balanced, got: "+a);
if(!(c instanceof Ed)){b="";for(var k in c){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);d=c[k];null!=d&&(d=Ua(d)?Nb(d,Jd).join(" "):Jd(d),b+=k+":"+d+";")}c=b?Gd(b):Hd}a=a+"{"+Fd(c).replace(/</g,"\\3C ")+"}";return Sd(a)},Vd=function(a){var c="",b=function(d){Ua(d)?y(d,b):c+=Ud(d)};y(arguments,b);return Sd(c)};Rd.prototype.Cd=function(){return this.b};Rd.prototype.toString=function(){return"SafeStyleSheet{"+this.b+"}"};
var Ud=function(a){if(a instanceof Rd&&a.constructor===Rd&&a.f===Qd)return a.b;Hb("expected object of type SafeStyleSheet, got '"+a+"' of type "+Sa(a));return"type_error:SafeStyleSheet"},Sd=function(a){var c=new Rd;c.b=a;return c},Wd=Sd("");var Xd;a:{var Yd=Ha.navigator;if(Yd){var Zd=Yd.userAgent;if(Zd){Xd=Zd;break a}}Xd=""}var $d=function(a){return-1!=Xd.indexOf(a)};var ae=function(){return $d("Firefox")||$d("FxiOS")},be=function(){return($d("Chrome")||$d("CriOS"))&&!$d("Edge")};var de=function(){this.b="";this.f=ce;this.zg=null};de.prototype.Gd=!0;de.prototype.Cd=function(){return this.b.toString()};de.prototype.toString=function(){return"SafeHtml{"+this.b+"}"};var ee=function(a){if(a instanceof de&&a.constructor===de&&a.f===ce)return a.b;Hb("expected object of type SafeHtml, got '"+a+"' of type "+Sa(a));return"type_error:SafeHtml"},ce={},fe=function(a,c){var b=new de;b.b=a;b.zg=c;return b};fe("<!DOCTYPE html>",0);var ge=fe("",0);fe("<br>",0);var he={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ie=function(a){var c=!1,b;return function(){c||(b=a(),c=!0);return b}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),c=document.createElement("div");c.appendChild(document.createElement("div"));a.appendChild(c);if(!a.firstChild)return!1;c=a.firstChild.firstChild;a.innerHTML=ee(ge);return!c.parentElement}),je=function(a,c){if(ie())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=ee(c)},ke=function(a,
c){if(he[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");je(a,c)},le=function(a){var c=hd(Uc(Vc));rc(a,"HTMLIFrameElement");a.src=gd(c).toString()},me=function(a,c){rc(a,"HTMLScriptElement");a.src=gd(c);(c=Na())&&a.setAttribute("nonce",c)};var ne=String.prototype.repeat?function(a,c){return a.repeat(c)}:function(a,c){return Array(c+1).join(a)},oe=function(a,c){a=Ia(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);return ne("0",Math.max(0,c-b))+a},pe=function(a){return null==a?"":String(a)},qe=function(a){return Array.prototype.join.call(arguments,"")},se=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^u()).toString(36)},te=function(a,c,b){a=
a.split(c);for(var d=[];0<b&&a.length;)d.push(a.shift()),b--;a.length&&d.push(a.join(c));return d};var ue=function(){return $d("iPhone")&&!$d("iPod")&&!$d("iPad")};var ve=function(a){ve[" "](a);return a};ve[" "]=Qa;var we=function(a,c){try{return ve(a[c]),!0}catch(b){}return!1},ye=function(a,c){var b=xe;return Object.prototype.hasOwnProperty.call(b,a)?b[a]:b[a]=c(a)};var ze=function(){return Ha.navigator||null},Ae=$d("Opera"),Be=$d("Trident")||$d("MSIE"),Ce=$d("Edge"),De=$d("Gecko")&&!(-1!=Xd.toLowerCase().indexOf("webkit")&&!$d("Edge"))&&!($d("Trident")||$d("MSIE"))&&!$d("Edge"),Ee=-1!=Xd.toLowerCase().indexOf("webkit")&&!$d("Edge"),Fe=Ee&&$d("Mobile"),Ge,He=ze();Ge=He&&He.platform||"";
var Ie=$d("Macintosh"),Je=$d("Windows"),Ke=$d("Linux")||$d("CrOS"),Le=$d("Android"),Me=ue(),Ne=$d("iPad"),Oe=$d("iPod"),Pe=function(){var a=Ha.document;return a?a.documentMode:void 0},Qe;
a:{var Re="",Se=function(){var a=Xd;if(De)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ce)return/Edge\/([\d\.]+)/.exec(a);if(Be)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ee)return/WebKit\/(\S+)/.exec(a);if(Ae)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Se&&(Re=Se?Se[1]:"");if(Be){var Te=Pe();if(null!=Te&&Te>parseFloat(Re)){Qe=String(Te);break a}}Qe=Re}var Ue=Qe,xe={},Ve=function(a){return ye(a,function(){return 0<=wd(Ue,a)})},We;var Xe=Ha.document;
We=Xe&&Be?Pe()||("CSS1Compat"==Xe.compatMode?parseInt(Ue,10):5):void 0;var Ye=ae(),Ze=ue()||$d("iPod"),$e=$d("iPad"),af=$d("Android")&&!(be()||ae()||$d("Opera")||$d("Silk")),bf=be(),cf=$d("Safari")&&!(be()||$d("Coast")||$d("Opera")||$d("Edge")||$d("Edg/")||ae()||$d("Silk")||$d("Android"))&&!(ue()||$d("iPad")||$d("iPod"));var df=function(a,c){return a+Math.random()*(c-a)};var ef=function(a,c,b){this.o=a;this.g=c;this.m=b;this.j=0;this.h=!1;this.b=this.f=null};ef.prototype.start=function(){if(null!=this.b)throw Error("Cannot call Retry.start more than once.");this.b=new Db;this.w();return this.b.b};ef.prototype.w=function(){var a=this;this.f=null;this.h||(this.j++,this.o().then(function(c){ff(a);a.b.resolve(c)},function(c){a.j>=a.m?(ff(a),a.b.reject(c)):(a.f=setTimeout(a.w.bind(a),a.g),a.g*=2)}))};
ef.prototype.abort=function(a){ff(this);this.b.reject(void 0===a?Error("abort"):a)};var ff=function(a){null!=a.f&&(clearTimeout(a.f),a.f=null);a.h=!0};var gf=function(a,c){this.g=a;this.h=c;this.b=0;this.f=[]};gf.prototype.send=function(a,c,b,d){var e=void 0===d?{}:d;d=void 0===e.timeoutMillis?this.h:e.timeoutMillis;var f=void 0===e.xm?1:e.xm,g=void 0===e.headers?null:e.headers;e=void 0===e.responseType?"":e.responseType;a={ub:new Db,url:a,method:c,headers:g,responseType:e,body:b,timeoutMillis:d,ym:f};this.b<this.g?hf(this,a):this.f.push(a);return a.ub.b};
var jf=function(a){if(0<a.f.length&&a.b<a.g){var c=a.f.shift();hf(a,c)}},hf=function(a,c){a.b++;c.ym--;kf(c).then(function(b){c.ub.resolve(b);a.b--;jf(a)},function(b){0==c.ym?c.ub.reject(b):a.f.push(c);a.b--;jf(a)})},kf=function(a){return new Promise(function(c,b){var d=new XMLHttpRequest;d.onreadystatechange=function(){d.readyState==XMLHttpRequest.DONE&&c(d)};d.timeout=a.timeoutMillis;d.ontimeout=function(){b(Error("Timed out"))};d.open(a.method,a.url,!0);null==a.headers?d.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded;charset=utf-8"):a.headers.forEach(function(e){return d.setRequestHeader(e[0],e[1])});d.responseType=a.responseType;d.send(a.body)})};var mf=function(a,c,b){null==lf&&(lf=new gf(1,3E5));var d="https://crash.corp.google.com/samples?reportid=&q="+encodeURIComponent("UserComments='"+c+"'"),e="http://"+a+":8008/setup/send_log_report";lf.send(e,"POST",JSON.stringify({uuid:c}),{headers:[["Content-Type","application/json"]]}).then(function(f){200==f.status?b("ok",d):b("error","Unable to POST to "+e+", "+("error = "+f.status))},function(f){b("error",String(f))});return d},pf=function(a){var c=new nf;if("string"!==typeof a)return Promise.resolve(c);
null==of&&(of=new gf(1,3E3));return of.send("http://"+a+":8008/setup/eureka_info","GET",void 0,{responseType:"text"}).then(function(b){b=JSON.parse(b.responseText);"cast_build_revision"in b?c.b=String(b.cast_build_revision):"build_version"in b&&(c.b=String(b.build_version));"connected"in b&&(c.h="true"==String(b.connected));"ethernet_connected"in b&&(c.f="true"==String(b.ethernet_connected));"has_update"in b&&(c.g="true"==String(b.has_update));"uptime"in b&&(b=Number(b.uptime),Number.isFinite(b)&&
(c.j=b))}).catch(function(b){hb("mr.DongleUtils").G("Unable to fetch/parse setup info.",b)}).then(function(){return c})},nf=function(){this.j=this.g=this.f=this.h=this.b=null},lf=null,of=null;var qf=function(a,c,b){this.source=a;this.type=c;this.message=b};var rf=function(a){var c=[],b=[],d={},e=function(f,g){var k=g+"  ";try{if(Ia(f))if(null===f)c.push("NULL");else if(Ja(f))c.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if(Xa(f))c.push(String(f).replace(/\n/g,"\n"+g));else if(Ya(f)){f[Za]||b.push(f);var m=f[Za]||(f[Za]=++ab);if(d[m])c.push("*** reference loop detected (id="+m+") ***");else{d[m]=!0;c.push("{");for(var p in f)Xa(f[p])||(c.push("\n"),c.push(k),c.push(p+" = "),e(f[p],k));c.push("\n"+g+"}");delete d[m]}}else c.push(f);else c.push("undefined")}catch(v){c.push("*** "+
v+" ***")}};e(a,"");for(a=0;a<b.length;a++)$a(b[a]);return c.join("")},sf=function(a){var c=sf;var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,c),c=String(b.stack);else{try{throw b;}catch(e){b=e}c=(c=b.stack)?String(c):null}if(c)return c;c=[];b=arguments.callee.caller;for(var d=0;b&&(!a||d<a);){c.push(tf(b));c.push("()\n");try{b=b.caller}catch(e){c.push("[exception trying to get caller]\n");break}d++;if(50<=d){c.push("[...long stack...]");break}}a&&d>=a?c.push("[...reached max depth limit...]"):
c.push("[end]");return c.join("")},tf=function(a){if(uf[a])return uf[a];a=String(a);if(!uf[a]){var c=/function\s+([^\(]+)/m.exec(a);uf[a]=c?c[1]:"[Anonymous]"}return uf[a]},uf={},vf=Object.freeze||function(a){return a};var wf=function(a,c,b){this.reset(a,c,b,void 0,void 0)};wf.prototype.b=null;var xf=0;wf.prototype.reset=function(a,c,b,d,e){"number"==typeof e||xf++;this.j=d||u();this.f=a;this.h=c;this.g=b;delete this.b};wf.prototype.getMessage=function(){return this.h};var yf=function(a){this.j=a;this.b=this.h=this.f=this.g=null},zf=function(a,c){this.name=a;this.value=c};zf.prototype.toString=function(){return this.name};var Af=new zf("SEVERE",1E3),Bf=new zf("WARNING",900),Cf=new zf("INFO",800),Df=new zf("CONFIG",700),Ef=new zf("FINE",500),Ff=new zf("FINER",400),Gf=new zf("ALL",0);yf.prototype.getName=function(){return this.j};yf.prototype.getChildren=function(){this.h||(this.h={});return this.h};
var Hf=function(a){if(a.f)return a.f;if(a.g)return Hf(a.g);Hb("Root logger has no level set.");return null};h=yf.prototype;h.log=function(a,c,b){a.value>=Hf(this).value&&(Xa(c)&&(c=c()),a=new wf(a,String(c),this.j),b&&(a.b=b),If(this,a))};h.G=function(a,c){this.log(Bf,a,c)};h.info=function(a,c){this.log(Cf,a,c)};h.config=function(a,c){this.log(Df,a,c)};h.logRecord=function(a){a.f.value>=Hf(this).value&&If(this,a)};
var If=function(a,c){for(;a;){var b,d=a,e=c;if(d.b)for(var f=0;b=d.b[f];f++)b(e);a=a.g}},Jf={},Kf=null,Lf=function(){Kf||(Kf=new yf(""),Jf[""]=Kf,Kf.f=Df)},Mf=function(a){Lf();var c;if(!(c=Jf[a])){c=new yf(a);var b=a.lastIndexOf("."),d=a.substr(b+1);b=Mf(a.substr(0,b));b.getChildren()[d]=c;c.g=b;Jf[a]=c}return c};var Nf=function(a,c,b,d){a&&a.log(c,b,d)},Of=function(a,c,b){a&&a.log(Af,c,b)},B=function(a,c,b){a&&a.G(c,b)},C=function(a,c){a&&a.info(c,void 0)},Pf=function(a,c){a&&a.log(Ef,c,void 0)};var Qf=!De&&!Be||Be&&9<=Number(We)||De&&Ve("1.9.1");var Rf=function(a,c){this.width=a;this.height=c};h=Rf.prototype;h.clone=function(){return new Rf(this.width,this.height)};h.toString=function(){return"("+this.width+" x "+this.height+")"};h.aspectRatio=function(){return this.width/this.height};h.Nb=function(){return!(this.width*this.height)};h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Sf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Tf=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new Rf(a.clientWidth,a.clientHeight)},Uf=function(a){return a?a.parentWindow||a.defaultView:window},Vf=function(a){for(var c;c=a.firstChild;)a.removeChild(c)},Wf=function(a){return a&&
a.parentNode?a.parentNode.removeChild(a):null},Xf=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Yf=function(a,c){if("textContent"in a)a.textContent=c;else if(3==a.nodeType)a.data=String(c);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(c)}else Vf(a),a.appendChild(Xf(a).createTextNode(String(c)))},Zf=function(a){this.b=a||Ha.document||document};h=Zf.prototype;
h.setProperties=function(a,c){yc(c,function(b,d){b&&"object"==typeof b&&b.Gd&&(b=b.Cd());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Sf.hasOwnProperty(d)?a.setAttribute(Sf[d],b):id(d,"aria-")||id(d,"data-")?a.setAttribute(d,b):a[d]=b})};h.appendChild=function(a,c){a.appendChild(c)};h.qq=Wf;h.getChildren=function(a){return Qf&&void 0!=a.children?a.children:Mb(a.childNodes,function(c){return 1==c.nodeType})};h.isElement=function(a){return Ya(a)&&1==a.nodeType};
h.contains=function(a,c){if(!a||!c)return!1;if(a.contains&&1==c.nodeType)return a==c||a.contains(c);if("undefined"!=typeof a.compareDocumentPosition)return a==c||!!(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a};var $f=function(a){this.b="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
