????
Current Path : C:/Program Files/Google/Drive File Stream/110.0.2.0/html/ |
Current File : C:/Program Files/Google/Drive File Stream/110.0.2.0/html/status_dialog.bin |
(function(){'use strict';var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; function ca(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 p=ca(this);function q(a,b){if(b)a:{var c=p;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&&b!=null&&ba(c,a,{configurable:!0,writable:!0,value:b})}} q("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.j=f;ba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.j};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b}); q("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=p[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return da(aa(this))}})}return a});function da(a){a={next:a};a[Symbol.iterator]=function(){return this};return a} var ea=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},fa;if(typeof Object.setPrototypeOf=="function")fa=Object.setPrototypeOf;else{var ha;a:{var ia={a:!0},ja={};try{ja.__proto__=ia;ha=ja.a;break a}catch(a){}ha=!1}fa=ha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ka=fa; function t(a,b){a.prototype=ea(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Kh=b.prototype}function v(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");} function la(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 ma(a){return na(a,a)}function na(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function oa(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var pa=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)oa(d,e)&&(a[e]=d[e])}return a}; q("Object.assign",function(a){return a||pa});function qa(){this.o=!1;this.l=null;this.B=void 0;this.j=1;this.A=0;this.m=null}function ra(a){if(a.o)throw new TypeError("Generator is already running");a.o=!0}qa.prototype.v=function(a){this.B=a};function sa(a,b){a.m={Ah:b,Ih:!0};a.j=a.A}qa.prototype.return=function(a){this.m={return:a};this.j=this.A};function ta(a){this.j=new qa;this.l=a} function ua(a,b){ra(a.j);var c=a.j.l;if(c)return va(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.j.return);a.j.return(b);return wa(a)}function va(a,b,c,d){try{var e=b.call(a.j.l,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.j.o=!1,e;var f=e.value}catch(g){return a.j.l=null,sa(a.j,g),wa(a)}a.j.l=null;d.call(a.j,f);return wa(a)} function wa(a){for(;a.j.j;)try{var b=a.l(a.j);if(b)return a.j.o=!1,{value:b.value,done:!1}}catch(c){a.j.B=void 0,sa(a.j,c)}a.j.o=!1;if(a.j.m){b=a.j.m;a.j.m=null;if(b.Ih)throw b.Ah;return{value:b.return,done:!0}}return{value:void 0,done:!0}} function xa(a){this.next=function(b){ra(a.j);a.j.l?b=va(a,a.j.l.next,b,a.j.v):(a.j.v(b),b=wa(a));return b};this.throw=function(b){ra(a.j);a.j.l?b=va(a,a.j.l["throw"],b,a.j.v):(sa(a.j,b),b=wa(a));return b};this.return=function(b){return ua(a,b)};this[Symbol.iterator]=function(){return this}}function ya(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}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 za(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}q("globalThis",function(a){return a||p}); q("Promise",function(a){function b(g){this.j=0;this.m=void 0;this.l=[];this.B=!1;var h=this.o();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.j=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.l=function(g){if(this.j==null){this.j=[];var h=this;this.m(function(){h.v()})}this.j.push(g)};var e=p.setTimeout;c.prototype.m=function(g){e(g,0)};c.prototype.v=function(){for(;this.j&&this.j.length;){var g=this.j;this.j=[];for(var h=0;h<g.length;++h){var k= g[h];g[h]=null;try{k()}catch(l){this.o(l)}}}this.j=null};c.prototype.o=function(g){this.m(function(){throw g;})};b.prototype.o=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.M),reject:g(this.v)}};b.prototype.M=function(g){if(g===this)this.v(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.aa(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.I(g):this.A(g)}}; b.prototype.I=function(g){var h=void 0;try{h=g.then}catch(k){this.v(k);return}typeof h=="function"?this.qa(h,g):this.A(g)};b.prototype.v=function(g){this.C(2,g)};b.prototype.A=function(g){this.C(1,g)};b.prototype.C=function(g,h){if(this.j!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.j);this.j=g;this.m=h;this.j===2&&this.S();this.F()};b.prototype.S=function(){var g=this;e(function(){if(g.G()){var h=p.console;typeof h!=="undefined"&&h.error(g.m)}},1)};b.prototype.G= function(){if(this.B)return!1;var g=p.CustomEvent,h=p.Event,k=p.dispatchEvent;if(typeof k==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=p.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.m;return k(g)};b.prototype.F=function(){if(this.l!=null){for(var g=0;g<this.l.length;++g)f.l(this.l[g]);this.l=null}};var f=new c;b.prototype.aa= function(g){var h=this.o();g.Ub(h.resolve,h.reject)};b.prototype.qa=function(g,h){var k=this.o();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(u,R){return typeof u=="function"?function(O){try{l(u(O))}catch(X){m(X)}}:R}var l,m,r=new b(function(u,R){l=u;m=R});this.Ub(k(g,l),k(h,m));return r};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.Ub=function(g,h){function k(){switch(l.j){case 1:g(l.m);break;case 2:h(l.m);break;default:throw Error("Unexpected state: "+ l.j);}}var l=this;this.l==null?f.l(k):this.l.push(k);this.B=!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),m=l.next();!m.done;m=l.next())d(m.value).Ub(h,k)})};b.all=function(g){var h=v(g),k=h.next();return k.done?d([]):new b(function(l,m){function r(O){return function(X){u[O]=X;R--;R==0&&l(u)}}var u=[],R=0;do u.push(void 0),R++,d(k.value).Ub(r(u.length-1),m),k=h.next();while(!k.done)})};return b}); q("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}}); q("WeakMap",function(a){function b(k){this.j=(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 l==="object"&&k!==null||l==="function"}function e(k){if(!oa(k,g)){var l=new c;ba(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}), m=new a([[k,2],[l,3]]);if(m.get(k)!=2||m.get(l)!=3)return!1;m.delete(k);m.set(l,4);return!m.has(k)&&m.get(l)==4}catch(r){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(!oa(k,g))throw Error("WeakMap key fail: "+k);k[g][this.j]=l;return this};b.prototype.get=function(k){return d(k)&&oa(k,g)?k[g][this.j]:void 0};b.prototype.has=function(k){return d(k)&&oa(k, g)&&oa(k[g],this.j)};b.prototype.delete=function(k){return d(k)&&oa(k,g)&&oa(k[g],this.j)?delete k[g][this.j]:!1};return b}); q("Map",function(a){function b(){var h={};return h.ya=h.next=h.head=h}function c(h,k){var l=h[1];return da(function(){if(l){for(;l.head!=h[1];)l=l.ya;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;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&oa(h[0],l))for(h=0;h<m.length;h++){var r=m[h];if(k!==k&&r.key!==r.key||k===r.key)return{id:l,list:m,index:h,entry:r}}return{id:l, list:m,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||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(v([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||m.value[1]!="s")return!1;m=l.next();return m.done||m.value[0].x!= 4||m.value[1]!="t"||!l.next().done?!1:!0}catch(r){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=h===0?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],ya:this[1].ya,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].ya.next=l.entry,this[1].ya=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.ya.next= h.entry.next,h.entry.next.ya=h.entry.ya,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].ya=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(),m;!(m=l.next()).done;)m=m.value,h.call(k,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e}); q("Set",function(a){function b(c){this.j=new Map;if(c){c=v(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(v([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)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||f.value[0].x!=4|| f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]= b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});q("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push(b[d]);return c}});q("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}}); q("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){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}});q("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)oa(b,d)&&c.push([d,b[d]]);return c}}); q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});q("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});q("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});q("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});q("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}}); q("String.prototype.startsWith",function(a){return a?a:function(b,c){if(this==null)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var d=this.length,e=b.length;c=Math.max(0,Math.min(c|0,this.length));for(var f=0;f<e&&c<d;)if(this[c++]!=b[f++])return!1;return f>=e}}); function Aa(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}q("Array.prototype.entries",function(a){return a?a:function(){return Aa(this,function(b,c){return[b,c]})}});q("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}}); q("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});q("Array.prototype.keys",function(a){return a?a:function(){return Aa(this,function(b){return b})}});q("Array.prototype.values",function(a){return a?a:function(){return Aa(this,function(b,c){return c})}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ba=this||self;function Ca(a,b){function c(){}c.prototype=b.prototype;a.Kh=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)}};var Da;function Ea(a){Ba.setTimeout(function(){throw a;},0)};function Fa(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var Ga=void 0;function Ha(a){a=Error(a);Fa(a,"warning");return a};var Ia=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Ja(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var Ka=Ja("jas",void 0,!0),La=Ja(void 0,"1oa"),Ma=Ja(void 0,"0actk"),Na=Ja("m_m","si",!0);var Oa={Hh:{value:0,configurable:!0,writable:!0,enumerable:!1}},Pa=Object.defineProperties,w=Ia?Ka:"Hh",Qa,Ra=[];Sa(Ra,7);Qa=Object.freeze(Ra);function Ta(a,b){Ia||w in a||Pa(a,Oa);a[w]|=b}function Sa(a,b){Ia||w in a||Pa(a,Oa);a[w]=b};function Va(){return typeof BigInt==="function"};var Wa={};function Xa(a,b){return b===void 0?a.j!==Ya&&!!(2&(a.D[w]|0)):!!(2&b)&&a.j!==Ya}var Ya={},Za=Object.freeze({});function $a(a){a.ri=!0;return a};var ab=$a(function(a){return typeof a==="number"}),bb=$a(function(a){return typeof a==="string"}),cb=$a(function(a){return typeof a==="boolean"});var db=typeof Ba.BigInt==="function"&&typeof Ba.BigInt(0)==="bigint";function eb(a){var b=a;if(bb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(ab(b)&&!Number.isSafeInteger(b))throw Error(String(b));return db?BigInt(a):a=cb(a)?a?"1":"0":bb(a)?a.trim()||"0":String(a)}var kb=$a(function(a){return db?a>=fb&&a<=gb:a[0]==="-"?hb(a,ib):hb(a,jb)}),ib=Number.MIN_SAFE_INTEGER.toString(),fb=db?BigInt(Number.MIN_SAFE_INTEGER):void 0,jb=Number.MAX_SAFE_INTEGER.toString(),gb=db?BigInt(Number.MAX_SAFE_INTEGER):void 0; function hb(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var lb=0,mb=0;function nb(a){var b=a>>>0;lb=b;mb=(a-b)/4294967296>>>0}function ob(a){if(a<0){nb(-a);var b=v(pb(lb,mb));a=b.next().value;b=b.next().value;lb=a>>>0;mb=b>>>0}else nb(a)}function qb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Va()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+rb(c)+rb(a));return c} function rb(a){a=String(a);return"0000000".slice(a.length)+a}function sb(){var a=lb,b=mb;b&2147483648?Va()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=v(pb(a,b)),a=b.next().value,b=b.next().value,a="-"+qb(a,b)):a=qb(a,b);return a}function pb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var tb=typeof BigInt==="function"?BigInt.asIntN:void 0,ub=Number.isSafeInteger,vb=Number.isFinite,wb=Math.trunc;function xb(a){if(typeof a!=="boolean"){var b=typeof a;throw Error("Expected boolean but got "+(b!="object"?b:a?Array.isArray(a)?"array":b:"null")+": "+a);}return a}var yb=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function zb(a){switch(typeof a){case "bigint":return!0;case "number":return vb(a);case "string":return yb.test(a);default:return!1}} function Ab(a){if(!vb(a))throw Ha("enum");return a|0}function Bb(a){return a==null?a:vb(a)?a|0:void 0}function Cb(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return vb(a)?a|0:void 0} function Db(a){var b=0;b=b===void 0?0:b;if(!zb(a))throw Ha("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Eb(a);case "bigint":return String(tb(64,a));default:return Fb(a)}case 1024:switch(c){case "string":return Gb(a);case "bigint":return eb(tb(64,a));default:return Hb(a)}case 0:switch(c){case "string":return Eb(a);case "bigint":return eb(tb(64,a));default:return Ib(a)}default:throw Error("Unknown format requested type for int64");}} function Jb(a){return a==null?a:Db(a)}function Kb(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337} function Lb(a){if(Kb(a))return a;if(a.length<16)ob(Number(a));else if(Va())a=BigInt(a),lb=Number(a&BigInt(4294967295))>>>0,mb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");mb=lb=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),mb*=1E6,lb=lb*1E6+d,lb>=4294967296&&(mb+=Math.trunc(lb/4294967296),mb>>>=0,lb>>>=0);b&&(b=v(pb(lb,mb)),a=b.next().value,b=b.next().value,lb=a,mb=b)}return sb()} function Ib(a){a=wb(a);if(!ub(a)){ob(a);var b=lb,c=mb;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:qb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function Fb(a){a=wb(a);if(ub(a))a=String(a);else{var b=String(a);Kb(b)?a=b:(ob(a),a=sb())}return a}function Eb(a){var b=wb(Number(a));if(ub(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Lb(a)} function Gb(a){var b=wb(Number(a));if(ub(b))return eb(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Va()?eb(tb(64,BigInt(a))):eb(Lb(a))}function Hb(a){return ub(a)?eb(Ib(a)):eb(Fb(a))}function Mb(a){return a==null||typeof a==="string"?a:void 0}function Nb(a,b,c){if(a!=null&&a[Na]===Wa)return a;if(Array.isArray(a)){var d=a[w]|0;c=d|c&32|c&2;c!==d&&Sa(a,c);return new b(a)}};function Ob(a){return a};function Pb(a,b,c,d){var e=d!==void 0;d=!!d;var f=[],g=a.length,h=4294967295,k=!1,l=!!(b&64),m=l?b&128?0:-1:void 0;if(!(b&1)){var r=g&&a[g-1];r!=null&&typeof r==="object"&&r.constructor===Object?(g--,h=g):r=void 0;if(l&&!(b&128)&&!e){k=!0;var u;h=((u=Qb)!=null?u:Ob)(h-m,m,a,r)+m}}b=void 0;for(e=0;e<g;e++)if(u=a[e],u!=null&&(u=c(u,d))!=null)if(l&&e>=h){var R=e-m,O=void 0;((O=b)!=null?O:b={})[R]=u}else f[e]=u;if(r)for(var X in r)a=r[X],a!=null&&(a=c(a,d))!=null&&(g=+X,e=void 0,l&&!Number.isNaN(g)&& (e=g+m)<h?f[e]=a:(g=void 0,((g=b)!=null?g:b={})[X]=a));b&&(k?f.push(b):f[h]=b);return f}function Rb(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return kb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[w]|0;return a.length===0&&b&1?void 0:Pb(a,b,Rb)}if(a!=null&&a[Na]===Wa)return Ub(a);return}return a}var Qb;function Ub(a){a=a.D;return Pb(a,a[w]|0,Rb)};function x(a,b,c){var d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-8380417|(b&1023)<<13)}else{if(!Array.isArray(a))throw Error("narr");e=a[w]|0;2048&e&&!(2&e)&&Vb();if(e&256)throw Error("farr");if(e&64)return d!==0||e&2048||Sa(a,e|2048),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f=+k,f<g&&(c[f+b]=h[k], delete h[k]);e=e&-8380417|(g&1023)<<13;break a}}if(b){k=Math.max(b,f-(e&128?0:-1));if(k>1024)throw Error("spvt");e=e&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);Sa(a,e);return a}function Vb(){if(Ma!=null){var a;var b=(a=Ga)!=null?a:Ga={};a=b[Ma]||0;a>=5||(b[Ma]=a+1,b=Error(),Fa(b,"incident"),Ea(b))}};function Wb(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[w]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Xb(a,c,!1,b&&!(c&16)):(Ta(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[Na]===Wa)return b=a.D,c=b[w]|0,Xa(a,c)?a:Yb(a,b,c)?Zb(a,b):Xb(b,c)}function Zb(a,b,c){a=new a.constructor(b);c&&(a.j=Ya);a.l=Ya;return a}function Xb(a,b,c,d){d!=null||(d=!!(34&b));a=Pb(a,b,Wb,d);d=32;c&&(d|=2);b=b&8380609|d;Sa(a,b);return a} function $b(a){var b=a.D,c=b[w]|0;if(Xa(a,c)){var d;Yb(a,b,c)?d=Zb(a,b,!0):d=new a.constructor(Xb(b,c,!1));a=d}return a}function ac(a){if(a.j!==Ya)return!1;var b=a.D;b=Xb(b,b[w]|0);Ta(b,2048);a.D=b;a.j=void 0;a.l=void 0;return!0}function bc(a){if(!ac(a)&&Xa(a,a.D[w]|0))throw Error();}function cc(a,b){b===void 0&&(b=a[w]|0);b&32&&!(b&4096)&&Sa(a,b|4096)}function Yb(a,b,c){return c&2?!0:c&32&&!(c&4096)?(Sa(b,c|2),a.j=Ya,!0):!1};var dc=eb(0),ec={};function fc(a,b,c,d){b=hc(a.D,b,c);if(b!==null||d&&a.l!==Ya)return b}function hc(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}}function ic(a,b,c){bc(a);var d=a.D;jc(d,d[w]|0,b,c);return a} function jc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[w]|0)>>13&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b}function y(a,b,c){a=a.D;return kc(a,a[w]|0,b,c)!==void 0} function lc(a,b,c,d,e,f,g,h){var k=b;f===1||(f!==4?0:2&b||!(16&b)&&32&d)?mc(b)||(b|=!a.length||g&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==k&&Sa(a,b),Object.freeze(a)):(f===2&&mc(b)&&(a=Array.prototype.slice.call(a),k=0,b=nc(b,d),d=jc(c,d,e,a)),mc(b)||(h||(b|=16),b!==k&&Sa(a,b)));2&b||!(4096&b||16&b)||cc(c,d);return a}function oc(a,b){a=hc(a,b);return Array.isArray(a)?a:Qa}function pc(a,b){2&b&&(a|=2);return a|1}function mc(a){return!!(2&a)&&!!(4&a)||!!(256&a)} function qc(a,b,c,d){bc(a);var e=a.D,f=e[w]|0;if(d==null){var g=sc(e);if(tc(g,e,f,c)===b)g.set(c,0);else return a}else{g=sc(e);var h=tc(g,e,f,c);h!==b&&(h&&(f=jc(e,f,h)),g.set(c,b))}jc(e,f,b,d);return a}function sc(a){if(Ia){var b;return(b=a[La])!=null?b:a[La]=new Map}if(La in a)return a[La];b=new Map;Object.defineProperty(a,La,{value:b});return b} function tc(a,b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var g=d[f];hc(b,g)!=null&&(e!==0&&(c=jc(b,c,e)),e=g)}a.set(d,e);return e}function kc(a,b,c,d){var e=!1;d=hc(a,d,void 0,function(f){var g=Nb(f,c,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!Xa(d)&&cc(a,b),d}function z(a,b,c){var d=a.D,e=d[w]|0;b=kc(d,e,b,c);if(b==null)return b;e=d[w]|0;if(!Xa(a,e)){var f=$b(b);f!==b&&(ac(a)&&(d=a.D,e=d[w]|0),b=f,e=jc(d,e,c,b),cc(d,e))}return b} function A(a,b,c){var d=void 0===Za?2:4,e=a.D,f=e;e=e[w]|0;var g=Xa(a,e),h=g?1:d;d=h===3;var k=!g;(h===2||k)&&ac(a)&&(f=a.D,e=f[w]|0);a=oc(f,c);var l=a===Qa?7:a[w]|0,m=pc(l,e);if(g=!(4&m)){var r=a,u=e,R=!!(2&m);R&&(u|=2);for(var O=!R,X=!0,Ua=0,Sb=0;Ua<r.length;Ua++){var Tb=Nb(r[Ua],b,u);if(Tb instanceof b){if(!R){var rc=Xa(Tb);O&&(O=!rc);X&&(X=rc)}r[Sb++]=Tb}}Sb<Ua&&(r.length=Sb);m|=4;m=X?m&-4097:m|4096;m=O?m|8:m&-9}m!==l&&(Sa(a,m),2&m&&Object.freeze(a));if(k&&!(8&m||!a.length&&(h===1||(h!==4?0:2& m||!(16&m)&&32&e)))){mc(m)&&(a=Array.prototype.slice.call(a),m=nc(m,e),e=jc(f,e,c,a));b=a;k=m;for(l=0;l<b.length;l++)r=b[l],m=$b(r),r!==m&&(b[l]=m);k|=8;m=k=b.length?k|4096:k&-4097;Sa(a,m)}return a=lc(a,m,f,e,c,h,g,d)}function uc(a){a==null&&(a=void 0);return a}function vc(a,b,c){c=uc(c);ic(a,b,c);c&&!Xa(c)&&cc(a.D);return a}function wc(a,b,c,d){d=uc(d);qc(a,b,c,d);d&&!Xa(d)&&cc(a.D)}function nc(a,b){return a=(2&b?a|2:a&-3)&-273} function xc(a,b,c,d){a=fc(a,b,c,d);a!=null&&(typeof a==="bigint"?kb(a)?a=Number(a):(a=tb(64,a),a=kb(a)?Number(a):String(a)):a=zb(a)?typeof a==="number"?Ib(a):Eb(a):void 0);return a}function yc(a,b,c){a=fc(a,b,void 0,c);b=typeof a;a=a==null?a:b==="bigint"?eb(tb(64,a)):zb(a)?b==="string"?Gb(a):Hb(a):void 0;return a}function zc(a,b,c){a=fc(a,b,void 0,c);return a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0}function Ac(a,b,c){c=c===void 0?!1:c;var d;return(d=zc(a,b))!=null?d:c} function Bc(a,b){var c=c===void 0?0:c;var d;return(d=xc(a,b))!=null?d:c}function Cc(a){var b=b===void 0?dc:b;var c;return(c=yc(a,6))!=null?c:b}function Dc(a){var b=b===void 0?"":b;var c;return(c=Mb(fc(a,11)))!=null?c:b}function Ec(a){var b=1;b=b===void 0?0:b;var c;return(c=Bb(fc(a,13)))!=null?c:b} function Fc(a,b){var c=void 0===Za?2:4,d=a.D,e=d[w]|0,f=Xa(a,e)?1:c;c=f===3;f===2&&ac(a)&&(d=a.D,e=d[w]|0);a=oc(d,b);var g=a===Qa?7:a[w]|0,h=pc(g,e);var k=4&h?!1:!0;if(k){4&h&&(a=Array.prototype.slice.call(a),g=0,h=nc(h,e),e=jc(d,e,b,a));for(var l=0,m=0;l<a.length;l++){var r=Mb(a[l]);r!=null&&(a[m++]=r)}m<l&&(a.length=m);h=(h|4)&-513;h&=-1025;h&=-4097}h!==g&&(Sa(a,h),2&h&&Object.freeze(a));return a=lc(a,h,d,e,b,f,k,c)}function B(a,b){return zc(a,b,ec)} function C(a,b){return Mb(fc(a,b,void 0,ec))}function Gc(a,b){return Bb(fc(a,b,void 0,ec))}function Hc(a,b,c){ic(a,b,c==null?c:xb(c))}function D(a,b,c){return qc(a,b,c,xb(!0))}function Ic(a,b,c){if(c!=null&&typeof c!=="string")throw Error();return ic(a,b,c)}function E(a,b){return zc(a,b)!=null}function Jc(a,b){return Mb(fc(a,b))!=null};function F(a,b,c){this.D=x(a,b,c)}F.prototype.toJSON=function(){return Ub(this)};F.prototype[Na]=Wa;F.prototype.toString=function(){return this.D.toString()};function Kc(a){this.D=x(a)}t(Kc,F);function Lc(a){this.D=x(a)}t(Lc,F);function Mc(a){return C(a,1)}function Nc(a){return C(a,2)}function Oc(a){return C(a,3)};function Pc(a){this.D=x(a)}t(Pc,F);Pc.prototype.Xb=function(){return Gc(this,7)};Pc.prototype.Ic=function(){return yc(this,11,ec)};function Qc(a){this.D=x(a)}t(Qc,F);function Rc(a){this.D=x(a)}t(Rc,F);function Sc(a){this.D=x(a)}t(Sc,F);var Tc=[2,3];function Uc(a){this.D=x(a)}t(Uc,F);var Vc=[1];function Wc(a){this.D=x(a)}t(Wc,F);Wc.prototype.tb=function(){return C(this,2)};Wc.prototype.na=function(a){return Ic(this,2,a)};function Xc(a){this.D=x(a)}t(Xc,F);var Yc=[1,2];function Zc(a){this.D=x(a)}t(Zc,F);Zc.prototype.xa=function(){return Jc(this,2)};function $c(a){this.D=x(a)}t($c,F);function ad(a){return A(a,Zc,1)}function bd(a){return C(a,2)};function cd(a){this.D=x(a)}t(cd,F);function dd(a){return z(a,Kc,4)};function ed(a){this.D=x(a)}t(ed,F);function fd(a){this.D=x(a)}t(fd,F);var G=[1,3,4,5,6,7,8,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,34,35,36,37];function gd(a){this.D=x(a)}t(gd,F);function H(a,b){vc(a,1,b)}function hd(){var a=new gd,b=new Xc;return vc(a,4,b)}function I(a){return z(a,fd,17)}function id(a,b){return vc(a,17,b)};function jd(a){this.D=x(a)}t(jd,F);function kd(a){this.D=x(a)}t(kd,F);function ld(a){this.D=x(a)}t(ld,F);function md(a){this.D=x(a)}t(md,F);function nd(a){this.D=x(a)}t(nd,F);function od(a){return A(a,cd,1)};function pd(a){this.D=x(a)}t(pd,F);function qd(a){this.D=x(a)}t(qd,F);function rd(a){this.D=x(a)}t(rd,F);function sd(a){this.D=x(a)}t(sd,F);function td(a){this.D=x(a)}t(td,F);function ud(a){this.D=x(a)}t(ud,F);function vd(a){this.D=x(a)}t(vd,F);function wd(a){this.D=x(a)}t(wd,F);function xd(a){this.D=x(a)}t(xd,F);function yd(a){this.D=x(a)}t(yd,F);function zd(a){this.D=x(a)}t(zd,F);function Ad(a){this.D=x(a)}t(Ad,F);var Bd=function(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");Ta(b,32);b=new a(b)}return b}}(Ad);/* Copyright 2016 Google Inc. 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. */ function J(a){this.j=a=a===void 0?{}:a}J.prototype.init=function(){};p.Object.defineProperties(J,{j:{configurable:!0,enumerable:!0,get:function(){return{}}},l:{configurable:!0,enumerable:!0,get:function(){return{}}},o:{configurable:!0,enumerable:!0,get:function(){return{}}},m:{configurable:!0,enumerable:!0,get:function(){return{}}}});/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function Cd(a){return{valueOf:a}.valueOf()};var Dd=globalThis.trustedTypes,Ed;function Fd(){var a=null;if(!Dd)return a;try{var b=function(c){return c};a=Dd.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};var Gd=Cd(function(){return typeof URL==="function"}),Hd=["data:","http:","https:","mailto:","ftp:"];function Id(a){this.j=a}Id.prototype.toString=function(){return this.j+""};function Jd(a){var b;Ed===void 0&&(Ed=Fd());a=(b=Ed)?b.createHTML(a):a;return new Id(a)}function Kd(a){if(a instanceof Id)return a.j;throw Error("");};function Ld(a){this.j=a}Ld.prototype.toString=function(){return this.j};function Md(a,b,c,d){if(a.length===0)throw Error("");a=a.map(function(f){if(f instanceof Ld)f=f.j;else throw Error("");return f});var e=c.toLowerCase();if(a.every(function(f){return e.indexOf(f)!==0}))throw Error('Attribute "'+c+'" does not match any of the allowed prefixes.');b.setAttribute(c,d)};function Nd(a){return a instanceof Id?a:Jd(String(a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))};function Od(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function Pd(a,b){var c=b.createRange();c.selectNode(b.body);a=Jd(a);return c.createContextualFragment(Kd(a))};function Qd(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Rd(a){a=a.nodeType;return a===1||typeof a!=="number"};function Sd(a,b,c,d,e){this.o=a;this.j=b;this.v=c;this.l=d;this.m=e}function Td(a,b,c){c=a.j.get(c);return(c==null?0:c.has(b))?c.get(b):a.v.has(b)?{V:1}:(c=a.l.get(b))?c:a.m&&[].concat(la(a.m)).some(function(d){return b.indexOf(d)===0})?{V:1}:{V:0}};var Ud=new Sd(new Set("ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ")), new Map([["A",new Map([["href",{V:2}]])],["AREA",new Map([["href",{V:2}]])],["LINK",new Map([["href",{V:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{V:5}],["srcset",{V:6}]])],["IMG",new Map([["src",{V:5}],["srcset",{V:6}]])],["VIDEO",new Map([["src",{V:5}]])],["AUDIO",new Map([["src",{V:5}]])]]),new Set("title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" ")), new Map([["dir",{V:3,conditions:Cd(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{V:3,conditions:Cd(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{V:3,conditions:Cd(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{V:3,conditions:Cd(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]]));function Vd(a){var b=Wd,c=document.implementation.createHTMLDocument("");a=Xd(b,a,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return Jd(c)} function Xd(a,b,c){b=Pd(b,c);b=document.createTreeWalker(b,5,function(h){if(h.nodeType===3)h=1;else if(Rd(h))if(h=Qd(h),h===null)h=2;else{var k=a.l;h=h!=="FORM"&&(k.o.has(h)||k.j.has(h))?1:2}else h=2;return h});for(var d=b.nextNode(),e=c.createDocumentFragment(),f=e;d!==null;){var g=void 0;if(d.nodeType===3)g=document.createTextNode(d.data);else if(Rd(d))g=Yd(a,d,c);else throw Error("");f.appendChild(g);if(d=b.firstChild())f=g;else for(;!(d=b.nextSibling())&&(d=b.parentNode());)f=f.parentNode}return e} function Yd(a,b,c){var d,e=Qd(b);c=c.createElement(e);b=b.attributes;for(var f=v(b),g=f.next();!g.done;g=f.next()){var h=g.value;g=h.name;h=h.value;var k=Td(a.l,g,e);a:{if(d=k.conditions){d=v(d);for(var l=d.next();!l.done;l=d.next()){var m=v(l.value);l=m.next().value;m=m.next().value;var r=void 0;if((l=(r=b.getNamedItem(l))==null?void 0:r.value)&&!m.has(l)){d=!1;break a}}}d=!0}if(d)switch(k.V){case 1:Zd(c,g,h);break;case 2:a:if(k=void 0,Gd){try{k=new URL(h)}catch(u){k="https:";break a}k=k.protocol}else b:{k= document.createElement("a");try{k.href=h}catch(u){k=void 0;break b}k=k.protocol;k=k===":"||k===""?"https:":k}Zd(c,g,k!==void 0&&Hd.indexOf(k.toLowerCase())!==-1?h:"about:invalid#zClosurez");break;case 3:Zd(c,g,h.toLowerCase());break;case 4:Zd(c,g,h);break;case 5:a.j?(k={type:2,attributeName:g,yh:e},h=Od(h),(h=a.j(h,k))&&Zd(c,g,h.toString())):Zd(c,g,h);break;case 6:if(a.j){k={type:2,attributeName:g,yh:e};d=[];h=v(h.split(","));for(l=h.next();!l.done;l=h.next())m=v(l.value.trim().split(/\s+/,2)),l= m.next().value,m=m.next().value,d.push({url:l,Dc:m});h={hf:[]};d=v(d);for(l=d.next();!l.done;l=d.next())l=l.value,m=Od(l.url),(m=a.j(m,k))&&h.hf.push({url:m.toString(),Dc:l.Dc});Zd(c,g,$d(h))}else Zd(c,g,h)}}return c}function Zd(a,b,c){a.setAttribute(b,c)}function $d(a){return a.hf.map(function(b){var c=b.Dc;return""+b.url+(c?" "+c:"")}).join(" , ")};function ae(){this.l=!1;this.j=Ud}function be(){ae.apply(this,arguments)}t(be,ae);var ce=ma(["aria-"]),de=ma(["role"]);function ee(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function K(a,b){var c=za.apply(2,arguments);this.root=a;this.ua.apply(this,la(c));this.j=b===void 0?this.P():b;this.j.init();this.ha()}K.prototype.ua=function(){};K.prototype.P=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");};K.prototype.ha=function(){}; function fe(a,b,c){a.root.addEventListener(b,c,void 0)}function ge(a,b,c,d){d=d===void 0?!1:d;if(typeof CustomEvent==="function")var e=new CustomEvent(b,{bubbles:d,detail:c});else e=document.createEvent("CustomEvent"),e.initCustomEvent(b,d,!1,c);a.root.dispatchEvent(e)}function he(a,b,c){b.toLowerCase()==="tabindex"?a.tabIndex=Number(c):b.indexOf("data-")===0?(b=ee(b.replace(/^data-/,"")),a.dataset[b]=c):Md([new Ld(ce[0].toLowerCase()),new Ld(de[0].toLowerCase())],a,b,c)};/* Copyright 2018 Google Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ var ie={Ed:"mdc-line-ripple--active",Jb:"mdc-line-ripple--deactivating"};function je(a){J.call(this,Object.assign({},je.m,a));var b=this;this.l=function(c){var d=b.j.hasClass(ie.Jb);c.propertyName==="opacity"&&d&&(b.j.removeClass(ie.Ed),b.j.removeClass(ie.Jb))}}t(je,J);je.prototype.init=function(){this.j.Wa("transitionend",this.l)}; p.Object.defineProperties(je,{j:{configurable:!0,enumerable:!0,get:function(){return ie}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Z:function(){},Wa:function(){},fb:function(){}}}}});function ke(){K.apply(this,arguments)}t(ke,K);ke.prototype.P=function(){var a=this;return new je({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Z:function(b,c){a.root.style.setProperty(b,c)},Wa:function(b,c){fe(a,b,c)},fb:function(b,c){a.root.removeEventListener(b,c,void 0)}})};/* Copyright 2019 Google Inc. 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. */ function le(){var a=a===void 0?window:a;return me(a)?{passive:!0}:!1}function me(a){a=a===void 0?window:a;var b=!1;try{var c={get passive(){b=!0;return!1}},d=function(){};a.document.addEventListener("test",d,c);a.document.removeEventListener("test",d,c)}catch(e){b=!1}return b};function ne(a,b){if(a.closest)return a.closest(b);for(;a;){if(oe(a,b))return a;a=a.parentElement}return null}function oe(a,b){return(a.matches||a.webkitMatchesSelector||a.msMatchesSelector).call(a,b)};var pe={rd:"mdc-ripple-upgraded--background-focused",wd:"mdc-ripple-upgraded--foreground-activation",xd:"mdc-ripple-upgraded--foreground-deactivation",R:"mdc-ripple-upgraded",Rd:"mdc-ripple-upgraded--unbounded"},qe={gh:"--mdc-ripple-fg-scale",hh:"--mdc-ripple-fg-size",ih:"--mdc-ripple-fg-translate-end",jh:"--mdc-ripple-fg-translate-start",kh:"--mdc-ripple-left",mh:"--mdc-ripple-top"},re={gg:225,lg:150,sg:.6,Hg:10,Wg:300};var se;function te(){var a=window;var b=b===void 0?!1:b;var c=a.CSS;if(typeof se==="boolean"&&!b)return se;if(!c||typeof c.supports!=="function")return!1;a=c.supports("--css-vars","yes");c=c.supports("(--css-vars: yes)")&&c.supports("color","#00000000");a=a||c;b||(se=a);return a};var ue=["touchstart","pointerdown","mousedown","keydown"],ve=["touchend","pointerup","mouseup","contextmenu"],we=[];function L(a){J.call(this,Object.assign({},L.m,a));var b=this;this.B=!1;this.G=this.F=0;this.I="0";this.l={width:0,height:0};this.M=this.A=this.m=0;this.C={left:0,top:0};this.o=xe();this.qa=function(){b.B=!0;ye(b)};this.aa=function(c){ze(b,c)};this.v=function(){Ae(b)};this.Na=function(){Be(b)};this.Ma=function(){Ce(b)};this.Oa=function(){b.layout()}}t(L,J); L.prototype.init=function(){var a=this,b=this.j.ce();De(this,b);if(b){b=L.j;var c=b.R,d=b.Rd;requestAnimationFrame(function(){a.j.addClass(c);a.j.X()&&(a.j.addClass(d),Ee(a))})}};L.prototype.layout=function(){var a=this;this.A&&cancelAnimationFrame(this.A);this.A=requestAnimationFrame(function(){Ee(a);a.A=0})};function Be(a){requestAnimationFrame(function(){a.j.addClass(L.j.rd)})}function Ce(a){requestAnimationFrame(function(){a.j.removeClass(L.j.rd)})} function xe(){return{wc:void 0,Oe:!1,Yb:!1,Qc:!1,jd:!1,ab:!1}}function De(a,b){if(b){b=v(ue);for(var c=b.next();!c.done;c=b.next())a.j.W(c.value,a.aa);a.j.X()&&a.j.lf(a.Oa)}a.j.W("focus",a.Na);a.j.W("blur",a.Ma)}function Fe(a,b){if(b.type==="keydown")a.j.W("keyup",a.v);else{b=v(ve);for(var c=b.next();!c.done;c=b.next())a.j.kf(c.value,a.v)}}function Ge(a){a.j.ra("keyup",a.v);for(var b=v(ve),c=b.next();!c.done;c=b.next())a.j.ne(c.value,a.v)} function ze(a,b){if(!a.j.We()){var c=a.o;if(!c.Yb){var d=a.S;d&&b!==void 0&&d.type!==b.type||(c.Yb=!0,c.Qc=b===void 0,c.wc=b,c.jd=c.Qc?!1:b!==void 0&&(b.type==="mousedown"||b.type==="touchstart"||b.type==="pointerdown"),b!==void 0&&we.length>0&&we.some(function(e){return a.j.he(e)})?He(a):(b!==void 0&&(we.push(b.target),Fe(a,b)),c.ab=b!==void 0&&b.type==="keydown"?a.j.xb():!0,c.ab&&Ie(a),requestAnimationFrame(function(){we=[];c.ab||b===void 0||b.key!==" "&&b.keyCode!==32||(c.ab=b!==void 0&&b.type=== "keydown"?a.j.xb():!0,c.ab&&Ie(a));c.ab||(a.o=xe())})))}}}function Ie(a){var b=L.l,c=b.jh;b=b.ih;var d=L.j,e=d.xd;d=d.wd;var f=L.o.gg;Ee(a);var g="",h="";a.j.X()||(h=Je(a),g=h.Jh,h=h.zh,g=g.x+"px, "+g.y+"px",h=h.x+"px, "+h.y+"px");a.j.Ya(c,g);a.j.Ya(b,h);clearTimeout(a.F);clearTimeout(a.G);Ke(a);a.j.removeClass(e);a.j.qb();a.j.addClass(d);a.F=setTimeout(function(){a.qa()},f)} function Je(a){var b=a.o,c=b.wc;if(b.jd){var d=a.j.Le(),e=a.j.qb();c?(b=d.x+e.left,d=d.y+e.top,c.type==="touchstart"?(b=c.changedTouches[0].pageX-b,c=c.changedTouches[0].pageY-d):(b=c.pageX-b,c=c.pageY-d),c={x:b,y:c}):c={x:0,y:0}}else c={x:a.l.width/2,y:a.l.height/2};c={x:c.x-a.m/2,y:c.y-a.m/2};return{Jh:c,zh:{x:a.l.width/2-a.m/2,y:a.l.height/2-a.m/2}}}function ye(a){var b=L.j.xd,c=a.o,d=c.Yb;!c.Oe&&d||!a.B||(Ke(a),a.j.addClass(b),a.G=setTimeout(function(){a.j.removeClass(b)},re.lg))} function Ke(a){a.j.removeClass(L.j.wd);a.B=!1;a.j.qb()}function He(a){a.S=a.o.wc;a.o=xe();setTimeout(function(){return a.S=void 0},L.o.Wg)}function Ae(a){var b=a.o;if(b.Yb){var c=Object.assign({},b);b.Qc?(requestAnimationFrame(function(){Le(a,c)}),He(a)):(Ge(a),requestAnimationFrame(function(){a.o.Oe=!0;Le(a,c);He(a)}))}}function Le(a,b){var c=b.jd;b=b.ab;(c||b)&&ye(a)} function Ee(a){a.l=a.j.qb();var b=Math.max(a.l.height,a.l.width);a.M=a.j.X()?b:Math.sqrt(Math.pow(a.l.width,2)+Math.pow(a.l.height,2))+L.o.Hg;b=Math.floor(b*L.o.sg);a.j.X()&&b%2!==0?a.m=b-1:a.m=b;a.I=""+a.M/a.m;b=L.l;var c=b.kh,d=b.mh,e=b.gh;a.j.Ya(b.hh,a.m+"px");a.j.Ya(e,a.I);a.j.X()&&(a.C={left:Math.round(a.l.width/2-a.m/2),top:Math.round(a.l.height/2-a.m/2)},a.j.Ya(c,a.C.left+"px"),a.j.Ya(d,a.C.top+"px"))} p.Object.defineProperties(L,{j:{configurable:!0,enumerable:!0,get:function(){return pe}},l:{configurable:!0,enumerable:!0,get:function(){return qe}},o:{configurable:!0,enumerable:!0,get:function(){return re}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},ce:function(){return!0},qb:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},he:function(){return!0},ne:function(){},ra:function(){},sh:function(){},Le:function(){return{x:0,y:0}},xb:function(){return!0}, We:function(){return!0},X:function(){return!0},kf:function(){},W:function(){},lf:function(){},removeClass:function(){},Ya:function(){}}}}});function Me(){K.apply(this,arguments);this.disabled=!1}t(Me,K);function Ne(a){var b=b===void 0?{X:void 0}:b;a=new Me(a);b.X!==void 0&&(a.gd=b.X);return a} function Oe(a){return{addClass:function(b){a.root.classList.add(b)},ce:function(){return te()},qb:function(){return a.root.getBoundingClientRect()},he:function(b){return a.root.contains(b)},ne:function(b,c){document.documentElement.removeEventListener(b,c,le())},ra:function(b,c){a.root.removeEventListener(b,c,le())},sh:function(b){window.removeEventListener("resize",b)},Le:function(){return{x:window.pageXOffset,y:window.pageYOffset}},xb:function(){return oe(a.root,":active")},We:function(){return!!a.disabled}, X:function(){return!!a.gd},kf:function(b,c){document.documentElement.addEventListener(b,c,le())},W:function(b,c){a.root.addEventListener(b,c,le())},lf:function(b){window.addEventListener("resize",b)},removeClass:function(b){a.root.classList.remove(b)},Ya:function(b,c){a.root.style.setProperty(b,c)}}}Me.prototype.layout=function(){this.j.layout()};Me.prototype.P=function(){return new L(Oe(this))};Me.prototype.ha=function(){this.X="mdcRippleIsUnbounded"in this.root.dataset}; p.Object.defineProperties(Me.prototype,{gd:{configurable:!0,enumerable:!0,get:function(){return!!this.X},set:function(a){this.X=!!a;a=this.j;var b=L.j.Rd;this.X?a.j.addClass(b):a.j.removeClass(b)}}});var Pe={vg:"mdc-floating-label--float-above",wg:"mdc-floating-label--required",Zh:"mdc-floating-label--hide-required-marker",rc:"mdc-floating-label--shake",R:"mdc-floating-label"};function Qe(a){J.call(this,Object.assign({},Qe.m,a));var b=this;this.l=function(){b.j.removeClass(Qe.j.rc)}}t(Qe,J);Qe.prototype.init=function(){this.j.W("animationend",this.l)};Qe.prototype.sa=function(){return this.j.sa()};p.Object.defineProperties(Qe,{j:{configurable:!0,enumerable:!0,get:function(){return Pe}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},sa:function(){return 0},W:function(){},ra:function(){}}}}});function Re(){K.apply(this,arguments)}t(Re,K);Re.prototype.sa=function(){return this.j.sa()}; Re.prototype.P=function(){var a=this;return new Qe({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},sa:function(){var b=a.root;if(b.offsetParent!==null)b=b.scrollWidth;else{b=b.cloneNode(!0);b.style.setProperty("position","absolute");b.style.setProperty("transform","translate(-9999px, -9999px)");document.documentElement.appendChild(b);var c=b.scrollWidth;document.documentElement.removeChild(b); b=c}return b},W:function(b,c){fe(a,b,c)},ra:function(b,c){a.root.removeEventListener(b,c,void 0)}})};var Se={Cg:".mdc-notched-outline__notch"},Te={Bg:8},Ue={Jd:"mdc-notched-outline--no-label",Ld:"mdc-notched-outline--notched",Gg:"mdc-notched-outline--upgraded"};/* Copyright 2017 Google Inc. 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. */ function Ve(a){J.call(this,Object.assign({},Ve.m,a))}t(Ve,J);p.Object.defineProperties(Ve,{l:{configurable:!0,enumerable:!0,get:function(){return Se}},j:{configurable:!0,enumerable:!0,get:function(){return Ue}},o:{configurable:!0,enumerable:!0,get:function(){return Te}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},Cf:function(){},uf:function(){}}}}});function We(){K.apply(this,arguments)}t(We,K);We.prototype.ha=function(){this.l=this.root.querySelector(Se.Cg);var a=this.root.querySelector("."+Qe.j.R);a?(a.style.transitionDuration="0s",this.root.classList.add(Ue.Gg),requestAnimationFrame(function(){a.style.transitionDuration=""})):this.root.classList.add(Ue.Jd)}; We.prototype.P=function(){var a=this;return new Ve({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},Cf:function(b){a.l.style.setProperty("width",b+"px")},uf:function(){a.l.style.removeProperty("width")}})};var Xe={R:"mdc-text-field-character-counter"},Ye={Pb:"."+Xe.R};function Ze(a){J.call(this,Object.assign({},Ze.m,a))}t(Ze,J);Ze.prototype.bc=function(a,b){a=Math.min(a,b);this.j.na(a+" / "+b);this.j.bc(a,b)};p.Object.defineProperties(Ze,{j:{configurable:!0,enumerable:!0,get:function(){return Xe}},l:{configurable:!0,enumerable:!0,get:function(){return Ye}},m:{configurable:!0,enumerable:!0,get:function(){return{na:function(){},bc:function(){}}}}});function $e(){K.apply(this,arguments)}t($e,K);$e.prototype.P=function(){var a=this;return new Ze({na:function(b){a.root.textContent=b},bc:function(){}})};p.Object.defineProperties($e.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var af={Ph:"aria-controls",od:"aria-describedby",tg:".mdc-text-field__input",Ib:".mdc-floating-label",yg:".mdc-text-field__icon--leading",zg:".mdc-line-ripple",Fg:".mdc-notched-outline",Ig:".mdc-text-field__affix--prefix",ei:".mdc-text-field__affix--suffix",Zg:".mdc-text-field__icon--trailing"},bf={Fb:"mdc-text-field--disabled",ng:"mdc-text-field--focused",og:"mdc-text-field-helper-line",qc:"mdc-text-field--invalid",ug:"mdc-text-field--label-floating",Jd:"mdc-text-field--no-label",Eg:"mdc-text-field--outlined", R:"mdc-text-field",Xg:"mdc-text-field--textarea",hi:"mdc-text-field--with-leading-icon",ii:"mdc-text-field--with-trailing-icon",gi:"mdc-text-field--with-internal-counter"},cf={xg:.75},df="pattern min max required step minlength maxlength".split(" "),ef="color date datetime-local month range time week".split(" ");var ff=["mousedown","touchstart"],gf=["click","keydown"]; function hf(a,b){b=b===void 0?{}:b;J.call(this,Object.assign({},hf.m,a));var c=this;this.m=this.T=!1;this.da=b.da;this.Pa=b.Pa;this.Va=b.Va;this.Xa=b.Xa;this.valid=!this.j.hasClass(hf.j.qc);this.v=function(){jf(c)};this.A=function(){c.T=!1;c.j.ke();kf(c,c.L().validity.valid);lf(c,c.T);c.j.xa()&&(c.Ga(c.l),c.j.rb(c.l),mf(c,c.l),c.j.Cb(c.o));c.l||(c.m=!1)};this.B=function(){c.m||jf(c);nf(c,c.L().value.length)};this.C=function(d){c.dc(d)};this.G=function(){var d=c.j.L();d&&d.disabled||(c.m=!0)};this.I= function(d){of(c,d)}}t(hf,J);hf.prototype.init=function(){this.j.xa()&&this.L().required&&this.j.ad(!0);this.j.T()?this.v():this.j.xa()&&this.l&&(this.Ga(!0),this.j.rb(!0),mf(this,!0));this.j.Ab("focus",this.v);this.j.Ab("blur",this.A);this.j.Ab("input",this.B);for(var a=v(ff),b=a.next();!b.done;b=a.next())this.j.Ab(b.value,this.C);a=v(gf);for(b=a.next();!b.done;b=a.next())this.j.mf(b.value,this.G);this.j.nf(this.I);nf(this,this.L().value.length)}; function of(a,b){b.some(function(c){return df.indexOf(c)>-1?(kf(a,!0),a.j.ad(a.L().required),!0):!1});b.indexOf("maxlength")>-1&&nf(a,a.L().value.length)}hf.prototype.Ga=function(a){this.j.Nc()&&this.j.xa()&&(a?(a=this.j.Ce()*cf.xg,this.j.Ga(a)):this.j.ee())};function jf(a){a.T=!0;lf(a,a.T);a.j.Ud();a.j.xa()&&(a.Ga(a.l),a.j.rb(a.l),mf(a,a.l),a.j.Cb(a.o));!a.da||!a.da.j.hasClass(pf.Ad)&&a.da.j.hasClass(pf.nc)&&a.valid||a.da.j.removeAttr(qf.La)} hf.prototype.dc=function(a){if(!this.L().disabled&&!this.j.Nc()){var b=a.touches;a=b?b[0]:a;b=a.target.getBoundingClientRect();this.j.zf(a.clientX-b.left)}};function nf(a,b){if(a.Pa){var c=a.L().maxLength;if(c===-1)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");a.Pa.bc(b,c)}} function kf(a,b){var c=hf.j.qc;b?a.j.removeClass(c):a.j.addClass(c);if(a.da){c=a.da;var d=c.j.hasClass(pf.Ad);(b=c.j.hasClass(pf.nc)&&!b)?(c.j.removeAttr(qf.La),c.j.Ra(qf.pb)==="alert"?rf(c):c.j.Y(qf.pb,"alert")):c.j.removeAttr(qf.pb);d||b||c.j.Y(qf.La,"true");a.da.j.hasClass(pf.nc)&&(b=a.da.isVisible(),c=a.da.j.Ra("id"),b&&c?a.j.yf(af.od,c):a.j.sf(af.od))}}function lf(a,b){var c=hf.j.ng;b?a.j.addClass(c):a.j.removeClass(c)}function mf(a,b){var c=hf.j.ug;b?a.j.addClass(c):a.j.removeClass(c)} hf.prototype.L=function(){return(this.j?this.j.L():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}};p.Object.defineProperties(hf.prototype,{F:{configurable:!0,enumerable:!0,get:function(){return ef.indexOf(this.L().type)>=0}},l:{configurable:!0,enumerable:!0,get:function(){return this.F||this.T||!!this.L().value||this.L().validity.badInput||!1}},o:{configurable:!0,enumerable:!0,get:function(){return!this.T&&!this.L().validity.valid&&!!this.L().value}}}); p.Object.defineProperties(hf,{j:{configurable:!0,enumerable:!0,get:function(){return bf}},l:{configurable:!0,enumerable:!0,get:function(){return af}},o:{configurable:!0,enumerable:!0,get:function(){return cf}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},yf:function(){},sf:function(){},mf:function(){},uh:function(){},Ab:function(){},rh:function(){},nf:function(){return new MutationObserver(function(){})},wh:function(){}, L:function(){return null},T:function(){return!1},Ud:function(){},ke:function(){},zf:function(){},Cb:function(){},rb:function(){},ad:function(){},xa:function(){return!1},Ce:function(){return 0},Nc:function(){return!1},Ga:function(){},ee:function(){}}}}});var pf={Ad:"mdc-text-field-helper-text--persistent",nc:"mdc-text-field-helper-text--validation-msg",R:"mdc-text-field-helper-text"},qf={La:"aria-hidden",pb:"role",Pb:"."+pf.R};function sf(a){J.call(this,Object.assign({},sf.m,a))}t(sf,J);sf.prototype.isVisible=function(){return this.j.Ra(qf.La)!=="true"};sf.prototype.na=function(a){this.j.na(a)};function rf(a){a.j.removeAttr(qf.pb);requestAnimationFrame(function(){a.j.Y(qf.pb,"alert")})} p.Object.defineProperties(sf,{j:{configurable:!0,enumerable:!0,get:function(){return pf}},l:{configurable:!0,enumerable:!0,get:function(){return qf}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Ra:function(){return null},Y:function(){},removeAttr:function(){},na:function(){}}}}});function tf(){K.apply(this,arguments)}t(tf,K);tf.prototype.P=function(){var a=this;return new sf({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Ra:function(b){return a.root.getAttribute(b)},Y:function(b,c){he(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},na:function(b){a.root.textContent=b}})};p.Object.defineProperties(tf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var uf={qg:"MDCTextField:icon",rg:"button"},vf={R:"mdc-text-field__icon"};var wf=["click","keydown"];function xf(a){J.call(this,Object.assign({},xf.m,a));var b=this;this.l=null;this.m=function(c){var d=c.key==="Enter"||c.keyCode===13,e=c.key===" ";if(c.type==="click"||d||e)c.preventDefault(),b.j.af()}}t(xf,J);xf.prototype.init=function(){this.l=this.j.Ra("tabindex");for(var a=v(wf),b=a.next();!b.done;b=a.next())this.j.W(b.value,this.m)};function yf(a,b){a.l&&(b?(a.j.Y("tabindex","-1"),a.j.removeAttr("role")):(a.j.Y("tabindex",a.l),a.j.Y("role",uf.rg)))} xf.prototype.na=function(a){this.j.na(a)};p.Object.defineProperties(xf,{l:{configurable:!0,enumerable:!0,get:function(){return uf}},j:{configurable:!0,enumerable:!0,get:function(){return vf}},m:{configurable:!0,enumerable:!0,get:function(){return{Ra:function(){return null},Y:function(){},removeAttr:function(){},na:function(){},W:function(){},ra:function(){},af:function(){}}}}});function zf(){K.apply(this,arguments)}t(zf,K);zf.prototype.P=function(){var a=this;return new xf({Ra:function(b){return a.root.getAttribute(b)},Y:function(b,c){he(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},na:function(b){a.root.textContent=b},W:function(b,c){fe(a,b,c)},ra:function(b,c){a.root.removeEventListener(b,c,void 0)},af:function(){ge(a,xf.l.qg,{},!0)}})};p.Object.defineProperties(zf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});function Af(){K.apply(this,arguments)}t(Af,K);n=Af.prototype; n.ua=function(a,b,c,d,e,f,g){a=a===void 0?function(k,l){return new Me(k,l)}:a;b=b===void 0?function(k){return new ke(k)}:b;c=c===void 0?function(k){return new tf(k)}:c;d=d===void 0?function(k){return new $e(k)}:d;e=e===void 0?function(k){return new zf(k)}:e;f=f===void 0?function(k){return new Re(k)}:f;g=g===void 0?function(k){return new We(k)}:g;this.input=this.root.querySelector(af.tg);var h=this.root.querySelector(af.Ib);this.label=h?f(h):null;this.l=(f=this.root.querySelector(af.zg))?b(f):null; this.m=(b=this.root.querySelector(af.Fg))?g(b):null;f=sf.l;this.da=(f=(b=(g=this.root.nextElementSibling)&&g.classList.contains(bf.og))&&g&&g.querySelector(f.Pb))?c(f):null;c=Ze.l;f=this.root.querySelector(c.Pb);!f&&b&&g&&(f=g.querySelector(c.Pb));this.Pa=f?d(f):null;this.Va=(d=this.root.querySelector(af.yg))?e(d):null;this.Xa=(d=this.root.querySelector(af.Zg))?e(d):null;this.prefix=this.root.querySelector(af.Ig);this.ea=Bf(this,a)};n.ha=function(){this.disabled=this.input.disabled};n.focus=function(){this.input.focus()}; n.layout=function(){this.j.Ga(this.j.l)};n.P=function(){var a=Object.assign({},Cf(this),Df(this),Ef(this),Ff(this),Gf(this));return new hf(a,{Pa:this.Pa?this.Pa.l:void 0,da:this.da?this.da.l:void 0,Va:this.Va?this.Va.l:void 0,Xa:this.Xa?this.Xa.l:void 0})}; function Cf(a){return{addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},mf:function(b,c){fe(a,b,c)},uh:function(b,c){a.root.removeEventListener(b,c,void 0)},nf:function(b){function c(e){return e.map(function(f){return f.attributeName}).filter(function(f){return f})}var d=new MutationObserver(function(e){b(c(e))});d.observe(a.input,{attributes:!0});return d},wh:function(b){b.disconnect()}}} function Df(a){return{L:function(){return a.input},yf:function(b,c){he(a.input,b,c)},sf:function(b){a.input.removeAttribute(b)},T:function(){return document.activeElement===a.input},Ab:function(b,c){a.input.addEventListener(b,c,le())},rh:function(b,c){a.input.removeEventListener(b,c,le())}}} function Ef(a){return{rb:function(b){if(a.label){var c=a.label.j,d=Qe.j,e=d.vg;d=d.rc;b?c.j.addClass(e):(c.j.removeClass(e),c.j.removeClass(d))}},Ce:function(){return a.label?a.label.sa():0},xa:function(){return!!a.label},Cb:function(b){if(a.label){var c=a.label.j,d=Qe.j.rc;b?c.j.addClass(d):c.j.removeClass(d)}},ad:function(b){if(a.label){var c=a.label.j,d=Qe.j.wg;b?c.j.addClass(d):c.j.removeClass(d)}}}} function Ff(a){return{Ud:function(){if(a.l){var b=a.l.j;b.j.removeClass(ie.Jb);b.j.addClass(ie.Ed)}},ke:function(){a.l&&a.l.j.j.addClass(ie.Jb)},zf:function(b){a.l&&a.l.j.j.Z("transform-origin",b+"px center")}}}function Gf(a){return{ee:function(){if(a.m){var b=a.m.j;b.j.removeClass(Ve.j.Ld);b.j.uf()}},Nc:function(){return!!a.m},Ga:function(b){if(a.m){var c=a.m.j,d=Ve.j.Ld;b>0&&(b+=Te.Bg);c.j.Cf(b);c.j.addClass(d)}}}} function Bf(a,b){var c=a.root.classList.contains(bf.Eg);if(a.root.classList.contains(bf.Xg)||c)return null;c=Object.assign({},Oe(a),{xb:function(){return oe(a.input,":active")},W:function(d,e){a.input.addEventListener(d,e,le())},ra:function(d,e){a.input.removeEventListener(d,e,le())}});return b(a.root,new L(c))} p.Object.defineProperties(Af.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.j.L().value},set:function(a){var b=this.j;b.L().value!==a&&(b.L().value=a);nf(b,a.length);kf(b,b.L().validity.valid);b.j.xa()&&(b.Ga(b.l),b.j.rb(b.l),mf(b,b.l),b.j.Cb(b.o))}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.j.L().disabled},set:function(a){var b=this.j;b.L().disabled=a;var c=hf.j,d=c.Fb;c=c.qc;a?(b.j.addClass(d),b.j.removeClass(c)):b.j.removeClass(d);b.Va&&yf(b.Va, a);b.Xa&&yf(b.Xa,a)}},valid:{configurable:!0,enumerable:!0,get:function(){return this.j.L().validity.valid},set:function(a){var b=this.j;b.valid=a;kf(b,a);a=!a&&!b.T&&!!b.L().value;b.j.xa()&&b.j.Cb(a)}},required:{configurable:!0,enumerable:!0,get:function(){return this.input.required},set:function(a){this.input.required=a}},pattern:{configurable:!0,enumerable:!0,get:function(){return this.input.pattern},set:function(a){this.input.pattern=a}},minLength:{configurable:!0,enumerable:!0,get:function(){return this.input.minLength}, set:function(a){this.input.minLength=a}},maxLength:{configurable:!0,enumerable:!0,get:function(){return this.input.maxLength},set:function(a){a<0?this.input.removeAttribute("maxLength"):this.input.maxLength=a}},min:{configurable:!0,enumerable:!0,get:function(){return this.input.min},set:function(a){this.input.min=a}},max:{configurable:!0,enumerable:!0,get:function(){return this.input.max},set:function(a){this.input.max=a}},step:{configurable:!0,enumerable:!0,get:function(){return this.input.step}, set:function(a){this.input.step=a}}});function Hf(a,b){var c=hd(),d=new Wc;a=ic(d,1,a==null?a:Ab(a)).na(b);b=z(c,Xc,4);wc(b,1,Yc,a);M(c)}window.onerror=function(a,b,c){Hf(3,"Script error in "+b+" (line "+c+"): "+a)};function If(){if(window.cefQuery)return 1;var a;if((a=window.chrome)==null?0:a.webview)return 2;var b,c;return((b=window.webkit)==null?0:(c=b.messageHandlers)==null?0:c.postMessageListener)?3:0} function M(a){switch(If()){case 1:window.cefQuery({request:JSON.stringify(Ub(a)),wi:!1,ui:function(){},ti:function(f,g){return console.log(JSON.stringify(Ub(a)),g)}});break;case 2:var b,c;(b=window.chrome)==null||(c=b.webview)==null||c.postMessage(JSON.stringify(Ub(a)));break;case 3:var d,e;(d=window.webkit)==null||(e=d.messageHandlers)==null||e.postMessageListener.postMessage(JSON.stringify(Ub(a)));break;default:console.log("Unsupported browser.")}} function Jf(a){if(y(a,md,1)){var b=z(a,md,1);b=C(b,1)||"";var c=z(a,md,1);c=Ac(c,2);a=z(a,md,1);a=Ac(a,4);var d=document.getElementsByTagName("html")[0],e=document.getElementsByTagName("body")[0];typeof d!=="undefined"&&(d.setAttribute("lang",b),c&&d.setAttribute("dir","rtl"),a?d.classList.add("modeGmDarkTheme"):d.classList.remove("modeGmDarkTheme"));typeof e!=="undefined"&&(e.style.backgroundColor=a?"#202124":"#fff",e.classList.remove("hidden"))}}function N(a){a.toggleClass("hidden",!1)} function P(a){a.toggleClass("hidden",!0)}function Kf(a){a&&a.classList.contains("hidden")&&a.classList.toggle("hidden")}function Lf(a){a&&(a.classList.contains("hidden")||a.classList.toggle("hidden"))}function Mf(){return $("#activity-and-notification-view")[0].classList.contains("hidden")}var Q=new be,Nf=new Set(Q.j.v);Nf.add("id");Q.j=new Sd(Q.j.o,Q.j.j,Nf,Q.j.l,Q.j.m);var Of=new Set(Q.j.v);Of.add("class");Q.j=new Sd(Q.j.o,Q.j.j,Of,Q.j.l,Q.j.m); for(var Pf=new Set(["class","id"]),Qf=new Set,Rf=new Map,Sf=new Map,Tf=v(Pf),Uf=Tf.next();!Uf.done;Uf=Tf.next()){var Vf=Uf.value;Q.j.v.has(Vf)&&Qf.add(Vf);Q.j.l.has(Vf)&&Rf.set(Vf,Q.j.l.get(Vf))}for(var Wf=v(Q.j.j.entries()),Xf=Wf.next();!Xf.done;Xf=Wf.next()){for(var Yf=v(Xf.value),Zf=Yf.next().value,$f=Yf.next().value,ag=Zf,bg=new Map,cg=v($f.entries()),dg=cg.next();!dg.done;dg=cg.next()){var eg=v(dg.value),fg=eg.next().value,gg=eg.next().value,hg=fg,ig=gg;Pf.has(hg)&&bg.set(hg,ig)}Sf.set(ag,bg)} Q.j=new Sd(Q.j.o,Sf,Qf,Rf,Q.j.m);var jg=["data-file"];if(jg===void 0){var kg=new Set(Q.j.m);kg.add("data-");Q.j=new Sd(Q.j.o,Q.j.j,Q.j.v,Q.j.l,kg)}else{for(var lg=new Set(Q.j.v),mg=v(jg),ng=mg.next();!ng.done;ng=mg.next()){var og=ng.value;if(og.indexOf("data-")!==0)throw Error("data attribute: "+og+' does not begin with the prefix "data-"');lg.add(og)}Q.j=new Sd(Q.j.o,Q.j.j,lg,Q.j.l,Q.j.m)}if(Q.l)throw Error("this sanitizer has already called build");Q.l=!0; var Wd=new function(a,b){this.l=a;this.j=b}(Q.j,Q.m);function pg(a,b){if(b!==null&&b!==void 0){typeof b==="string"&&(b=Vd(b));if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("");a.innerHTML=Kd(b)}}function qg(a,b){b!==null&&b!==void 0&&(typeof b==="string"&&(b=Vd(b)),a.html(Kd(b).toString()))} function rg(a){if(a){for(var b=v(a.querySelectorAll(".mdc-button")),c=b.next();!c.done;c=b.next())Ne(c.value);b=v(a.querySelectorAll(".mdc-line-ripple"));for(c=b.next();!c.done;c=b.next())new ke(c.value);a=v(a.querySelectorAll(".mdc-text-field"));for(b=a.next();!b.done;b=a.next())new Af(b.value)}}function sg(a){a=a.clone();rg(a[0]);return a};function S(){var a=new Kc;Ic(a,1,"no_user");return a}function tg(){this.map=new Map}n=tg.prototype;n.set=function(a,b){a&&(a=C(a,1))&&this.map.set(a,b)};n.get=function(a){a?a=(a=C(a,1))?this.map.get(a):null:a=null;return a};n.delete=function(a){a?a=(a=C(a,1))?this.map.delete(a):!1:a=!1;return a};n.has=function(a){a?a=(a=C(a,1))?this.map.has(a):!1:a=!1;return a}; n.keys=function(){var a=this.map.keys(),b={},c=(b.next=function(){var d=a.next();if(!d.done){var e=new Kc;Ic(e,1,d.value);d.value=e}return d},b[Symbol.iterator]=function(){return c},b);return c};n.values=function(){return this.map.values()};tg.prototype[Symbol.iterator]=function(){var a=this.map[Symbol.iterator]();return{next:function(){var b=a.next();if(!b.done){var c=v(b.value),d=c.next().value;c=c.next().value;var e=new Kc;Ic(e,1,d);b.value=[e,c]}return b}}};tg.prototype.clear=function(){this.map.clear()}; function ug(a,b){return a&&b?Mb(fc(a,1))==Mb(fc(b,1)):!1};/* Copyright 2020 Google Inc. 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. */ function vg(){this.j=new Map}vg.prototype.request=function(a,b){var c=this;this.cancel(a);var d=requestAnimationFrame(function(e){c.j.delete(a);b(e)});this.j.set(a,d)};vg.prototype.cancel=function(a){var b=this.j.get(a);b&&(cancelAnimationFrame(b),this.j.delete(a))};var wg={animation:{Ha:"-webkit-animation",Ka:"animation"},transform:{Ha:"-webkit-transform",Ka:"transform"},transition:{Ha:"-webkit-transition",Ka:"transition"}},xg={ji:{Vb:"animation",Ha:"webkitAnimationEnd",Ka:"animationend"},ki:{Vb:"animation",Ha:"webkitAnimationIteration",Ka:"animationiteration"},mi:{Vb:"animation",Ha:"webkitAnimationStart",Ka:"animationstart"},xi:{Vb:"transition",Ha:"webkitTransitionEnd",Ka:"transitionend"}}; function yg(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"transform"in wg){var b=wg.transform,c=b.Ka;b=b.Ha;return c in a.document.createElement("div").style?c:b}return"transform"}function zg(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"animationend"in xg){var b=xg.animationend,c=b.Ka,d=b.Ha;return b.Vb in a.document.createElement("div").style?c:d}return"animationend"};var Ag=new Set;Ag.add("Backspace");Ag.add("Enter");Ag.add("Spacebar");Ag.add("PageUp");Ag.add("PageDown");Ag.add("End");Ag.add("Home");Ag.add("ArrowLeft");Ag.add("ArrowUp");Ag.add("ArrowRight");Ag.add("ArrowDown");Ag.add("Delete");Ag.add("Escape");Ag.add("Tab");var Bg=new Map;Bg.set(8,"Backspace");Bg.set(13,"Enter");Bg.set(32,"Spacebar");Bg.set(33,"PageUp");Bg.set(34,"PageDown");Bg.set(35,"End");Bg.set(36,"Home");Bg.set(37,"ArrowLeft");Bg.set(38,"ArrowUp");Bg.set(39,"ArrowRight");Bg.set(40,"ArrowDown"); Bg.set(46,"Delete");Bg.set(27,"Escape");Bg.set(9,"Tab");var Cg=new Set;Cg.add("PageUp");Cg.add("PageDown");Cg.add("End");Cg.add("Home");Cg.add("ArrowLeft");Cg.add("ArrowUp");Cg.add("ArrowRight");Cg.add("ArrowDown");function Dg(a){var b=a.key;return Ag.has(b)?b:(a=Bg.get(a.keyCode))?a:"Unknown"};var Eg=typeof window!=="undefined"; function Fg(a){J.call(this,Object.assign({},Fg.m,a));var b=this;this.A=!1;this.I=this.F=this.o=0;this.v=this.B=this.M=this.G=this.m=null;this.fh=[];this.ph=[];this.nh=new vg;this.qa=function(c){b.l&&(c.relatedTarget===null||Gg(b,c.relatedTarget))||Hg(b)};this.Na=function(c){b.l&&b.C&&Ig(b,c.target)||Hg(b)};this.Oa=function(c){if(Dg(c)==="Escape"){var d=b.j.Fc(),e=!1;b.j.ac(d)&&(e=b.j.ec(d));e&&b.j.pe();Hg(b);c.stopPropagation()}};this.Ob=function(){Jg(b)};this.Qb=function(){Kg(b)};this.Nb=function(c){Ig(b, c.relatedTarget)||c.relatedTarget===null&&b.S||Hg(b)};this.Qd=function(){b.C||Hg(b)};this.Sb=function(){Lg(b)}}t(Fg,J);Fg.prototype.init=function(){this.l=this.j.hasClass("mdc-tooltip--rich");this.C=this.j.getAttribute("data-mdc-tooltip-persistent")==="true";this.S=!!this.j.Gc("aria-expanded")&&this.j.Gc("aria-haspopup")==="dialog";this.Mb=this.l&&this.j.getAttribute("data-mdc-tooltip-has-caret")==="true"};function Mg(a){a.A?Jg(a):(Ng(a),a.v=setTimeout(function(){Jg(a)},500))} function Og(a){a.v=setTimeout(function(){Jg(a)},500);a.j.Ia("contextmenu",a.aa)}Fg.prototype.aa=function(a){a.preventDefault()};function Gg(a,b){return a.j.ac(b)&&a.j.ec(b)}function Ig(a,b){return a.j.ac(b)&&(a.j.ec(b)||a.j.ae(b))}function Pg(a,b){Gg(a,b.relatedTarget)||(a.v=setTimeout(function(){Jg(a)},500))}function Qg(a){Rg(a);a.B=setTimeout(function(){Hg(a)},600)}function Kg(a){Rg(a);a.B=setTimeout(function(){Hg(a)},600)} function Lg(a){a.nh.request("poll_anchor",function(){var b=a.j.Hc();if(b&&a.m){var c=a.j.Ta();b.top+b.height<0||b.bottom-b.height>=c||b.top===a.m.top&&b.left===a.m.left&&b.height===a.m.height&&b.width===a.m.width||(a.m=b,a.G=a.j.Lc(),a.l?Sg(a):Tg(a))}})} function Jg(a){Ng(a);Rg(a);if(!a.A){a.A=!0;a.j.removeAttribute("aria-hidden");a.l&&(a.S&&a.j.Xc("aria-expanded","true"),a.j.Wa("focusout",a.Nb));a.C||(a.j.Wa("mouseenter",a.Ob),a.j.Wa("mouseleave",a.Qb));a.j.removeClass("mdc-tooltip--hide");a.j.addClass("mdc-tooltip--showing");Ug(a)&&!a.l&&a.j.addClass("mdc-tooltip--multiline");a.m=a.j.Hc();a.G=a.j.Lc();a.l?Sg(a):Tg(a);a.j.jf("blur",a.qa);a.j.Tc("click",a.Na);a.j.Tc("keydown",a.Oa);a.j.Ia("scroll",a.Qd);a.j.Ia("resize",a.Sb);for(var b=v(a.fh),c=b.next();!c.done;c= b.next())c=c.value,c();a.M=requestAnimationFrame(function(){Vg(a);a.j.addClass("mdc-tooltip--shown");a.j.addClass("mdc-tooltip--showing-transition")})}} function Hg(a){Ng(a);Rg(a);if(a.A){a.M&&cancelAnimationFrame(a.M);a.A=!1;a.j.setAttribute("aria-hidden","true");a.j.fb("focusout",a.Nb);a.l&&a.S&&a.j.Xc("aria-expanded","false");a.C||(a.j.fb("mouseenter",a.Ob),a.j.fb("mouseleave",a.Qb));Vg(a);a.j.addClass("mdc-tooltip--hide");a.j.addClass("mdc-tooltip--hide-transition");a.j.removeClass("mdc-tooltip--shown");a.j.me("blur",a.qa);a.j.Cc("click",a.Na);a.j.Cc("keydown",a.Oa);a.j.Ba("scroll",a.Qd);a.j.Ba("resize",a.Sb);a.j.Ba("contextmenu",a.aa);a=v(a.ph); for(var b=a.next();!b.done;b=a.next())b=b.value,b()}}function Vg(a){a.j.removeClass("mdc-tooltip--showing-transition");a.j.removeClass("mdc-tooltip--hide-transition")}function Ug(a){a=a.j.ma();return a.height>24&&a.width>=200}function Tg(a){var b=Wg(a,a.m),c=b.top,d=b.left;a.j.ed((Eg?yg():"transform")+"-origin",b.H+" "+b.K);a.j.Ja("top",c+"px");a.j.Ja("left",d+"px")} function Sg(a){a.j.Ja("width","");a.j.Ja("left","-320px");var b=Number(a.j.Wb("width").slice(0,-2));a.j.Ja("width",Math.min(Math.max(a.j.Fa()-16,40),isFinite(b)?b:320)+"px");if(a.Mb){var c=a.m;a.j.xc();var d=a.j.Je();if(c&&d){b=d.width/.8;d=d.height/.8/2;var e=a.j.ma();var f=e.height;var g=c.top+c.height/2;f=new Map([[1,c.top-(4+f+d)],[2,c.bottom+4+d],[3,g-(24+b/2)],[4,g-f/2],[5,g-(f-24-b/2)]]);g=e.width;var h=!a.j.U(),k=c.left+c.width/2,l=c.left-(g+4+d),m=c.right+4+d,r=k-(24+b/2),u=k-(g-24-b/2); g=new Map([[1,h?r:u],[2,k-g/2],[3,h?u:r],[5,h?m:l],[4,h?l:m]]);h=new Map;k=new Map;l=new Map([[1,[1,2,3]],[2,[1,2,3]],[3,[4,5]],[4,[4,5]],[5,[4,5]]]);m=v(l.keys());for(r=m.next();!r.done;r=m.next()){r=r.value;u=f.get(r);if(u+a.j.ma().height+8<=a.j.Ta()&&u>=8)for(var R=v(l.get(r)),O=R.next();!O.done;O=R.next()){var X=O.value;O=g.get(X);O+a.j.ma().width<=a.j.Fa()-8&&O>=8&&(X=Xg(X,r),h.set(X,{bb:O,cb:u}))}if(u+a.j.ma().height<=a.j.Ta()&&u>=0)for(R=v(l.get(r)),O=R.next();!O.done;O=R.next())X=O.value, O=g.get(X),O+a.j.ma().width<=a.j.Fa()&&O>=0&&(X=Xg(X,r),k.set(X,{bb:O,cb:u}))}f=h.size?h:k;f.size<1&&(g=!a.j.U(),c.left<0?(f=8+d,g=g?3:1):(f=a.j.Fa()-(e.width+8+d),g=g?1:3),c.top<0?(c=8+d,e=2):(c=a.j.Ta()-(e.height+8+d),e=1),e=Xg(g,e),f=new Map([[e,{bb:f,cb:c}]]));f=Yg(a,f);c=f.bb;e=f.cb;if(b=Zg(a,f.position,{de:b,ni:d})){a.j.xc();a.j.lb(b.ka,b.pa);a.j.lb(b.ja,b.oa);a.j.lb("transform","rotate("+b.rotation+"deg) skewY("+b.ia+"deg) scaleX("+Math.cos(Math.PI/180*b.ia)+")");a.j.lb("transform-origin", b.ja+" "+b.ka);d=v(b.la);for(f=d.next();!f.done;f=d.next())a.j.lb(f.value,"0");b={K:b.K,H:b.H}}else b={K:0,H:0};b={K:b.K,H:b.H,top:e,left:c}}else b={position:0,top:0,left:0}}else b=Wg(a,a.m);d=b;b=d.top;c=d.left;a.j.ed((Eg?yg():"transform")+"-origin",d.H+" "+d.K);var Ua,Sb;d=c-((Sb=(Ua=a.G)==null?void 0:Ua.left)!=null?Sb:0);var Tb,rc;Ua=b-((rc=(Tb=a.G)==null?void 0:Tb.top)!=null?rc:0);a.j.Ja("top",Ua+"px");a.j.Ja("left",d+"px")} function Wg(a,b){if(!b)return{top:0,left:0};var c=a.j.ma(),d=c.height;var e=b.bottom+4;var f=b.top-(4+d);d=b.top+b.height/2-d/2;var g=[f,e];a.F===3&&g.push(d);g=a.oh.apply(a,la(g));e=a.F===1&&g.has(f)?{O:f,K:"bottom"}:a.F===2&&g.has(e)?{O:e,K:"top"}:a.F===3&&g.has(d)?{O:d,K:"center"}:g.has(e)?{O:e,K:"top"}:g.has(f)?{O:f,K:"bottom"}:{O:e,K:"top"};a=$g(a,b,c.width);return{top:e.O,K:e.K,left:a.O,H:a.H}} function $g(a,b,c){var d=!a.j.U();if(a.l){var e=d?b.left-c:b.right;var f=d?b.right:b.left-c;var g=d?"right":"left";d=d?"left":"right"}else{e=d?b.left:b.right-c;f=d?b.right-c:b.left;var h=b.left+(b.width-c)/2;var k=b.left-(c+4);g=b.right+4;var l=d?k:g;k=d?g:k;g=d?"left":"right";d=d?"right":"left"}var m=[e,h,f];a.o===4?m.push(l):a.o===5&&m.push(k);var r=a.l?a.Ma(e,f):a.Ma.apply(a,la(m));return a.o===1&&r.has(e)?{O:e,H:g}:a.o===3&&r.has(f)?{O:f,H:d}:a.o===2&&r.has(h)?{O:h,H:"center"}:a.o===4&&r.has(l)? {O:l,H:d}:a.o===5&&r.has(k)?{O:k,H:g}:(e=(a.l?[{O:f,H:d},{O:e,H:g}]:[{O:h,H:"center"},{O:e,H:g},{O:f,H:d}]).find(function(u){return r.has(u.O)}))?e:b.left<0?{O:8,H:"left"}:{O:a.j.Fa()-(c+8),H:"right"}}Fg.prototype.Ma=function(){for(var a=new Set,b=new Set,c=v(za.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.ma().width<=this.j.Fa()-8&&d>=8?a.add(d):d+this.j.ma().width<=this.j.Fa()&&d>=0&&b.add(d);return a.size?a:b}; Fg.prototype.oh=function(){for(var a=new Set,b=new Set,c=v(za.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.ma().height+8<=this.j.Ta()&&d>=8?a.add(d):d+this.j.ma().height<=this.j.Ta()&&d>=0&&b.add(d);return a.size?a:b};function Yg(a,b){if(b.has(a.I)){var c=b.get(a.I);return{position:a.I,bb:c.bb,cb:c.cb}}a=[1,2,3,4,5,6,7,8,9,10,11,12].find(function(d){return b.has(d)});c=b.get(a);return{position:a,bb:c.bb,cb:c.cb}} function Xg(a,b){switch(b){case 1:if(a===1)return 1;if(a===2)return 2;if(a===3)return 3;break;case 2:if(a===1)return 10;if(a===2)return 11;if(a===3)return 12;break;case 3:if(a===4)return 4;if(a===5)return 7;break;case 4:if(a===4)return 5;if(a===5)return 8;break;case 5:if(a===4)return 6;if(a===5)return 9}throw Error("MDCTooltipFoundation: Invalid caret position of "+a+", "+b);} function Zg(a,b,c){var d=!a.j.U(),e=a.j.Wb("width");a=a.j.Wb("height");if(e&&a&&c){var f="calc(("+e+" - "+c.de+"px) / 2)";c="calc(("+a+" - "+c.de+"px) / 2)";var g="calc("+e+" - 24px)",h="calc("+a+" - 24px)",k=["border-bottom-right-radius","border-top-left-radius"],l=["border-bottom-left-radius","border-top-right-radius"];switch(b){case 11:return{ka:"top",ja:"left",pa:"0",oa:f,rotation:-35,ia:-20,H:f,K:"0",la:k};case 12:return{ka:"top",ja:d?"right":"left",pa:"0",oa:"24px",rotation:d?35:-35,ia:d?20: -20,H:d?g:"24px",K:"0",la:d?l:k};case 10:return{ka:"top",ja:d?"left":"right",pa:"0",oa:"24px",rotation:d?-35:35,ia:d?-20:20,H:d?"24px":g,K:"0",la:d?k:l};case 7:return{ka:"top",ja:d?"left":"right",pa:"24px",oa:"0",rotation:d?55:-55,ia:d?-20:20,H:d?"0":e,K:"24px",la:d?k:l};case 8:return{ka:"top",ja:d?"left":"right",pa:c,oa:"0",rotation:d?55:-55,ia:d?-20:20,H:d?"0":e,K:c,la:d?k:l};case 9:return{ka:"bottom",ja:d?"left":"right",pa:"24px",oa:"0",rotation:d?-55:55,ia:d?20:-20,H:d?"0":e,K:h,la:d?l:k};case 4:return{ka:"top", ja:d?"right":"left",pa:"24px",oa:"0",rotation:d?-55:55,ia:d?20:-20,H:d?e:"0",K:"24px",la:d?l:k};case 5:return{ka:"top",ja:d?"right":"left",pa:c,oa:"0",rotation:d?-55:55,ia:d?20:-20,H:d?e:"0",K:c,la:d?l:k};case 6:return{ka:"bottom",ja:d?"right":"left",pa:"24px",oa:"0",rotation:d?55:-55,ia:d?-20:20,H:d?e:"0",K:h,la:d?k:l};case 2:return{ka:"bottom",ja:"left",pa:"0",oa:f,rotation:35,ia:20,H:f,K:a,la:l};case 3:return{ka:"bottom",ja:d?"right":"left",pa:"0",oa:"24px",rotation:d?-35:35,ia:d?-20:20,H:d?g: "24px",K:a,la:d?k:l};default:case 1:return{ka:"bottom",ja:d?"left":"right",pa:"0",oa:"24px",rotation:d?35:-35,ia:d?20:-20,H:d?"24px":g,K:a,la:d?l:k}}}}function Rg(a){a.v&&(clearTimeout(a.v),a.v=null)}function Ng(a){a.B&&(clearTimeout(a.B),a.B=null)} p.Object.defineProperties(Fg,{m:{configurable:!0,enumerable:!0,get:function(){return{getAttribute:function(){return null},setAttribute:function(){},removeAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},Wb:function(){return""},Ja:function(){},ed:function(){},Fa:function(){return 0},Ta:function(){return 0},ma:function(){return{width:0,height:0}},Hc:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},Lc:function(){return{top:0,right:0, bottom:0,left:0,width:0,height:0}},Gc:function(){return null},Xc:function(){return null},U:function(){return!1},ae:function(){return!1},ec:function(){return!1},pe:function(){},Wa:function(){},fb:function(){},jf:function(){},me:function(){},Tc:function(){},Cc:function(){},Ia:function(){},Ba:function(){},Ze:function(){},ff:function(){},Je:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},lb:function(){},xc:function(){},Fc:function(){return null},ac:function(){return!1}}}}});var ah=ma(["aria-"]),bh=[new Ld(ah[0].toLowerCase())];function ch(){K.apply(this,arguments)}t(ch,K);ch.prototype.ua=function(){var a=this.root.getAttribute("id");if(!a)throw Error("MDCTooltip: Tooltip component must have an id.");a=document.querySelector('[data-tooltip-id="'+a+'"]')||document.querySelector('[aria-describedby="'+a+'"]');if(!a)throw Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id].");this.l=a}; ch.prototype.ha=function(){var a=this;this.I=this.j.l;this.G=this.j.C;this.A=function(){Mg(a.j)};this.o=function(b){Pg(a.j,b)};this.B=function(){Qg(a.j)};this.v=function(){var b=a.j,c=b.j.hasClass("mdc-tooltip--hide");b.j.removeClass("mdc-tooltip--showing");b.j.removeClass("mdc-tooltip--showing-transition");b.j.removeClass("mdc-tooltip--hide");b.j.removeClass("mdc-tooltip--hide-transition");c&&b.v===null?b.j.Ze():c||b.j.ff()};this.m=function(){var b=a.j;b.A?Hg(b):Jg(b)};this.F=function(){Og(a.j)}; this.C=function(){var b=a.j;Rg(b);b.A||b.j.Ba("contextmenu",b.aa)};this.I&&this.G?this.l.addEventListener("click",this.m):(this.l.addEventListener("mouseenter",this.A),this.l.addEventListener("focus",this.o),this.l.addEventListener("mouseleave",this.B),this.l.addEventListener("touchstart",this.F),this.l.addEventListener("touchend",this.C));fe(this,"transitionend",this.v)}; ch.prototype.P=function(){var a=this;return new Fg({getAttribute:function(b){return a.root.getAttribute(b)},setAttribute:function(b,c){Md(bh,a.root,b,c)},removeAttribute:function(b){a.root.removeAttribute(b)},addClass:function(b){a.root.classList.add(b)},hasClass:function(b){return a.root.classList.contains(b)},removeClass:function(b){a.root.classList.remove(b)},Wb:function(b){return window.getComputedStyle(a.root).getPropertyValue(b)},Ja:function(b,c){a.root.style.setProperty(b,c)},ed:function(b, c){var d;(d=a.root.querySelector(".mdc-tooltip__surface-animation"))==null||d.style.setProperty(b,c)},Fa:function(){return window.innerWidth},Ta:function(){return window.innerHeight},ma:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},Hc:function(){return a.l?a.l.getBoundingClientRect():null},Lc:function(){var b,c;return(c=(b=a.root.parentElement)==null?void 0:b.getBoundingClientRect())!=null?c:null},Gc:function(b){return a.l?a.l.getAttribute(b):null},Xc:function(b,c){a.l&& Md(bh,a.l,b,c)},U:function(){return getComputedStyle(a.root).direction==="rtl"},ae:function(b){var c;return!((c=a.l)==null||!c.contains(b))},ec:function(b){return a.root.contains(b)},pe:function(){var b;(b=a.l)==null||b.focus()},Wa:function(b,c){a.root instanceof HTMLElement&&a.root.addEventListener(b,c)},fb:function(b,c){a.root instanceof HTMLElement&&a.root.removeEventListener(b,c)},jf:function(b,c){var d;(d=a.l)==null||d.addEventListener(b,c)},me:function(b,c){var d;(d=a.l)==null||d.removeEventListener(b, c)},Tc:function(b,c){document.body.addEventListener(b,c)},Cc:function(b,c){document.body.removeEventListener(b,c)},Ia:function(b,c){window.addEventListener(b,c)},Ba:function(b,c){window.removeEventListener(b,c)},Ze:function(){ge(a,"MDCTooltip:hidden",{})},ff:function(){ge(a,"MDCTooltip:shown",{})},Je:function(){var b=a.root.querySelector(".mdc-tooltip__caret-surface-top");return b?b.getBoundingClientRect():null},lb:function(b,c){var d=a.root.querySelector(".mdc-tooltip__caret-surface-top"),e=a.root.querySelector(".mdc-tooltip__caret-surface-bottom"); d&&e&&(d.style.setProperty(b,c),e.style.setProperty(b,c))},xc:function(){var b=a.root.querySelector(".mdc-tooltip__caret-surface-top"),c=a.root.querySelector(".mdc-tooltip__caret-surface-bottom");b&&c&&(b.removeAttribute("style"),c.removeAttribute("style"))},Fc:function(){return document.activeElement},ac:function(b){return b instanceof Element}})};function dh(a,b){var c={Oh:1};c=c===void 0?null:c;this.id=a;a=document.createElement("div");a.classList.add("mdc-tooltip","Gm3PlainTooltip");a.setAttribute("id",this.id);a.setAttribute("role","tooltip");a.setAttribute("aria-hidden","true");var d=document.createElement("div");d.classList.add("mdc-tooltip__surface","mdc-tooltip__surface-animation");pg(d,b.replace(/\//g,"/<wbr>").replace(/\\/g,"\\<wbr>"));a.appendChild(d);document.body.appendChild(a);this.j=new ch(a);c&&(b=this.j.j,a=c.Oh,d=c.zi,c=c.yi, b.Mb&&c?b.I=c:(a&&(b.o=a),d&&(b.F=d)))}dh.prototype.remove=function(){var a=document.getElementById(this.id);a&&a.remove();this.j=null};var eh={},fh={},gh={},hh={};function ih(){throw Error("Do not instantiate directly");}ih.prototype.j=null;ih.prototype.tb=function(){return this.content};ih.prototype.toString=function(){return this.content};ih.prototype.l=function(){if(this.Qa!==eh)throw Error("Sanitized content was not of kind HTML.");return Jd(this.toString())};function jh(){ih.call(this)}Ca(jh,ih);jh.prototype.Qa=eh;function kh(){ih.call(this)}Ca(kh,ih);kh.prototype.Qa=hh;kh.prototype.j=1;var lh=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.j=d);return c}}(jh),mh=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(kh);function nh(a){return oh(String(a),function(){return""}).replace(ph,"<")}var qh=RegExp.prototype.hasOwnProperty("sticky"),rh=new RegExp((qh?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",qh?"gy":"g"); function oh(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k<d;){switch(e){case 0:var l=a.indexOf("<",k);if(l<0){if(c.length===0)return a;c.push(a.substring(k));k=d}else c.push(a.substring(k,l)),h=l,k=l+1,qh?(rh.lastIndex=k,l=rh.exec(a)):(rh.lastIndex=0,l=rh.exec(a.substring(k))),l?(f=["<",l[0]],g=l[1],e=1,k+=l[0].length):c.push("<");break;case 1:l=a.charAt(k++);switch(l){case "'":case '"':var m=a.indexOf(l,k);m<0?k=d:(f.push(l,a.substring(k,m+1)),k=m+1);break;case ">":f.push(l);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(l)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")}function sh(a){a!=null&&a.Qa===eh?(a=nh(a.tb()),a=String(a).replace(th,uh)):a=String(a).replace(vh,uh);return a}function wh(a){a!=null&&a.Qa===hh&&(a=a.tb());return(a&&!a.startsWith(" ")?" ":"")+a} var xh={"\x00":"�","\t":"	","\n":" ","\v":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function uh(a){return xh[a]} var yh={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28", ")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB", "\uff3d":"%EF%BC%BD"};function zh(a){return yh[a]} var vh=/[\x00\x22\x26\x27\x3c\x3e]/g,th=/[\x00\x22\x27\x3c\x3e]/g,Ah=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,Bh=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Ch=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,ph=/</g;function Dh(){this.j=Ba.document||document}n=Dh.prototype;n.Fc=function(a){a=a||this.j;try{var b=a&&a.activeElement;var c=b&&b.nodeName?b:null}catch(d){c=null}return c};n.appendChild=function(a,b){a.appendChild(b)};n.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}; n.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};n.Ee=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};function Eh(a){return a==null?null:Fh(a)}function Fh(a){return kb(a)?Number(a):String(a)};/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function Gh(a){a:{var b=a||Hh;var c=b.ba;a=b.attributes;var d=b.icon;b="mdc-button__icon"+(c?" "+c:"");d!=null&&d.Qa===fh||d!=null&&d.Qa===gh?c=String(d).replace(Ah,zh):(c=String(d),c=Bh.test(c)?c.replace(Ah,zh):"about:invalid#zSoyz");c='<img src="'+sh(c)+'"';b='class="'+sh(b!=null?b:"")+"\" aria-hidden='true'";(a instanceof ih?a.tb():a)?(a!=null&&a.Qa===hh?a=a.tb():(a=String(a),a=Ch.test(a)?a:"zSoyz"),a=wh(a)):a="";a=mh(b+a);a=lh(c+wh(a)+">");a=lh(""+a);c=Da||(Da=new Dh);if(a&&a.m)c=a.m();else{c= c.j;b="DIV";c.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());c=c.createElement(b);b:if(b=typeof a,b=="object"&&a!=null||b=="function"){if(a.l&&(a=a.l(),a instanceof Id))break b;a=Nd("zSoyz")}else a=Nd(String(a));c.innerHTML=Kd(a)}if(c.childNodes.length==1&&(a=c.firstChild,a.nodeType==1))break a;a=c}return a}var Hh={};/* SPDX-License-Identifier: Apache-2.0 */ var Ih=Object.prototype.hasOwnProperty;function Jh(){}Jh.prototype=Object.create(null);function Kh(a,b,c){a=a.style;if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(Ih.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}}function Lh(a,b,c){var d=typeof c;d==="object"||d==="function"?a[b]=c:c==null?a.removeAttribute(b):(d=b.lastIndexOf("xml:",0)===0?"http://www.w3.org/XML/1998/namespace":b.lastIndexOf("xlink:",0)===0?"http://www.w3.org/1999/xlink":null)?a.setAttributeNS(d,b,c):a.setAttribute(b,c)} function Mh(){var a=new Jh;a.__default=Lh;a.style=Kh;return a}Mh();var Nh=Mh();Nh.checked=function(a,b,c){c==null?(a.removeAttribute("checked"),a.checked=!1):(a.setAttribute("checked",String(c)),a.checked=!(c===!1||c==="false"))};Nh.value=function(a,b,c){c==null?(a.removeAttribute("value"),a.value=""):(a.setAttribute("value",String(c)),a.value=String(c))};Nh.muted=function(a,b,c){c==null?(a.removeAttribute("muted"),a.muted=!1):(a.setAttribute("muted",String(c)),a.muted=!0)};function Oh(a,b){var c=this;this.root=a;this.l=b;a=document.createElement("div");a.classList.add("mdc-touch-target-wrapper");this.root.appendChild(a);this.j=document.createElement("button");this.j.classList.add("mdc-icon-button","dfs-icon-button");this.j.classList.add("GmIconButton");this.l.m&&this.j.setAttribute("aria-label",this.l.m);this.l.role&&this.j.setAttribute("role",this.l.role);this.l.ba&&this.j.classList.add.apply(this.j.classList,la(this.l.ba));b=document.createElement("span");b.classList.add("dfs-focus-ring"); this.j.appendChild(b);a.appendChild(this.j);a=document.createElement("span");a.classList.add("mdc-icon-button__ripple");this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-icon-button__focus-ring");this.j.appendChild(a);a=Gh({icon:this.l.j});a.setAttribute("alt","");a.classList.add("dfs-icon-button__icon");this.l.o&&a.classList.add.apply(a.classList,la(this.l.o));this.l.v&&a.classList.add("flip-in-rtl");this.l.color&&a.classList.add(Ph(this.l.color));this.j.appendChild(a); a=document.createElement("span");a.classList.add("mdc-icon-button__touch");this.j.appendChild(a);this.ea=Ne(this.j);this.ea.gd=!0;this.ea.layout();this.o=this.l.l;this.j.addEventListener("click",function(){c.o&&c.o()});this.m=null}function Qh(a,b){a.j.setAttribute("aria-label",b);a.layout()}function Rh(a){Kf(a.root);a.layout()}Oh.prototype.layout=function(){this.ea.layout()}; function Sh(a,b){var c=a.root.id+"-tooltip";a.j.setAttribute("aria-describedby",c);a.m=new dh(c,b);a.j.addEventListener("blur",function(){Th(a)})}function Th(a){a.m&&Hg(a.m.j.j)} function Ph(a){switch(a){case "grey":return"greyIcon";case "light_grey":return"lightGreyIcon";case "blue":return"blueIcon";case "blue_on_blue_background":return"blueIconOnBlueBackground";case "dark_blue":return"darkBlueIcon";case "green":return"greenIcon";case "red":return"redIcon";case "red_on_error":return"redIconOnError";case "orange":return"orangeIcon";case "orange_on_warning":return"orangeIconOnWarning";case "black":return"blackIcon";case "on_primary":return"onPrimaryIcon";default:return console.assert(!1, "unknown color type"),""}}function Uh(){this.color=this.ba=this.m=null;this.j="";this.o=null;this.v=!1;this.role=this.l=null};var T={ob:"mdc-list-item--activated",N:"mdc-list-item",Kb:"mdc-list-item--disabled",Lb:"mdc-list-item--selected",Fd:"mdc-list-item__text",sc:"mdc-list-item__primary-text",R:"mdc-list"},Vh={},Wh=(Vh[T.ob]="mdc-list-item--activated",Vh[T.N]="mdc-list-item",Vh[T.Kb]="mdc-list-item--disabled",Vh[T.Lb]="mdc-list-item--selected",Vh[T.sc]="mdc-list-item__primary-text",Vh[T.R]="mdc-list",Vh),Xh={},Yh=(Xh[T.ob]="mdc-deprecated-list-item--activated",Xh[T.N]="mdc-deprecated-list-item",Xh[T.Kb]="mdc-deprecated-list-item--disabled", Xh[T.Lb]="mdc-deprecated-list-item--selected",Xh[T.Fd]="mdc-deprecated-list-item__text",Xh[T.sc]="mdc-deprecated-list-item__primary-text",Xh[T.R]="mdc-deprecated-list",Xh),U={kd:"MDCList:action",Qg:"MDCList:selectionChange",Rf:"aria-checked",Sf:'[role="checkbox"][aria-checked="true"]',Uf:'[role="radio"][aria-checked="true"]',nd:"aria-current",Qh:"aria-disabled",Xf:"aria-orientation",Yf:"horizontal",Zf:'[role="checkbox"]',nb:"aria-selected",Vf:'[role="listbox"], [role="menu"]',Wf:'[aria-multiselectable="true"]', sd:'input[type="checkbox"], input[type="radio"]',kc:'input[type="checkbox"]',dg:"\n ."+T.N+" button:not(:disabled),\n ."+T.N+" a,\n ."+Yh[T.N]+" button:not(:disabled),\n ."+Yh[T.N]+" a\n ",hg:".mdc-deprecated-list",mg:"\n ."+T.N+" button:not(:disabled),\n ."+T.N+" a,\n ."+T.N+' input[type="radio"]:not(:disabled),\n .'+T.N+' input[type="checkbox"]:not(:disabled),\n .'+Yh[T.N]+" button:not(:disabled),\n ."+Yh[T.N]+" a,\n ."+Yh[T.N]+' input[type="radio"]:not(:disabled),\n .'+ Yh[T.N]+' input[type="checkbox"]:not(:disabled)\n ',Kg:'input[type="radio"]',Pg:'[aria-selected="true"], [aria-current="true"]'},V={J:-1,fi:300};var Zh=["input","button","textarea","select"];function $h(a){var b=a.target;b&&Zh.indexOf(b.tagName.toLowerCase())===-1&&a.preventDefault()};var ai=["Alt","Control","Meta","Shift"];function bi(a){var b=new Set(a?ai.filter(function(c){return a.getModifierState(c)}):[]);return function(c){return c.every(function(d){return b.has(d)})&&c.length===b.size}}function ci(a){J.call(this,Object.assign({},ci.m,a));this.F=!1;this.B=!0;this.A=!1;this.o=this.l=V.J;this.M=this.I=!1;this.G=null;this.v=this.m=!1;this.C=null}t(ci,J); ci.prototype.layout=function(){if(this.j.ga()!==0)if(this.j.Ne(0))this.m=!0,this.l=[];else if(this.j.Qe(0))this.v=!0;else{var a=V.J;for(var b=this.j.ga(),c=0;c<b;c++){var d=this.j.yb(c,T.ob);if(this.j.yb(c,T.Lb)||d){a=c;break}}a!==V.J&&(this.j.yb(a,T.ob)&&(this.I=!0),this.A=!0,this.l=a)}}; function di(a,b,c){c=c===void 0?{}:c;if(ei(a,b))if(a.m)fi(a,b,c);else if(a.v){c=c===void 0?{}:c;var d=gi(a);a.j.Bb(b,!0);if(a.l!==b||c.Ec)a.l!==V.J&&a.j.fa(a.l,d,"false"),a.j.fa(b,d,"true"),a.l=b,c.ib&&!c.Ec&&a.j.jb([b])}else if(c=c===void 0?{}:c,a.l!==b||c.Ec){d=T.Lb;a.I&&(d=T.ob);a.l!==V.J&&a.j.qf(a.l,d);a.l===V.J&&b!==V.J&&(a.G=a.j.te(b,U.nd));var e=a.G!==null,f=e?U.nd:U.nb;a.l!==V.J&&a.j.fa(a.l,f,"false");b!==V.J&&a.j.fa(b,f,e?a.G:"true");hi(a,b);b!==V.J&&a.j.Xd(b,d);a.l=b;c.ib&&!c.Ec&&a.j.jb([b])}} function ii(a,b){b>=0&&(a.j.fa(b,"tabindex","-1"),a.j.fd(b,"-1"));setTimeout(function(){if(!a.j.Te()){var c=ji(a);hi(a,c)}},0)}function ki(a,b){return a.j.yb(b,T.Kb)}function li(a,b){var c=a.j.ga(),d=b,e=null;do{d++;if(d>=c)if(a.F)d=0;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(ki(a,d));a.va(d);return d}function mi(a,b){var c=a.j.ga(),d=b,e=null;do{d--;if(d<0)if(a.F)d=c-1;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(ki(a,d));a.va(d);return d} function ni(a){return mi(a,a.j.ga())}function gi(a){return a.M?U.nb:U.Rf}function fi(a,b,c){c=c===void 0?{}:c;var d=a.l;d=c.ib?new Set(d===V.J?[]:d):null;for(var e=gi(a),f=[],g=0;g<a.j.ga();g++)if(!c.Sc||!ki(a,g)){var h=void 0,k=(h=d)==null?void 0:h.has(g);h=b.indexOf(g)>=0;h!==k&&f.push(g);a.j.Bb(g,h);a.j.fa(g,e,h?"true":"false")}a.l=c.Sc?oi(a,b):b;c.ib&&f.length&&a.j.jb(f)} function oi(a,b){var c=(a.l===V.J?[]:a.l).filter(function(d){return ki(a,d)});b=b.filter(function(d){return!ki(a,d)});return[].concat(la(new Set([].concat(la(b),la(c))))).sort(function(d,e){return d-e})} function pi(a,b,c,d){a.C=d;var e=new Set(a.l===V.J?[]:a.l);d=!(e==null?0:e.has(d));b=v([b,c].sort());var f=b.next().value;b=b.next().value;c=gi(a);for(var g=[];f<=b;f++)if(!ki(a,f)){var h=e.has(f);d!==h&&(g.push(f),a.j.Bb(f,d),a.j.fa(f,c,""+d),d?e.add(f):e.delete(f))}g.length&&(a.l=[].concat(la(e)),a.j.jb(g))} function hi(a,b){a.o===V.J&&b!==0&&b!==V.J?a.j.fa(0,"tabindex","-1"):a.o>=0&&a.o!==b&&a.j.fa(a.o,"tabindex","-1");a.l instanceof Array||a.l===b||a.o===V.J||a.j.fa(a.l,"tabindex","-1");b!==V.J&&a.j.fa(b,"tabindex","0")} function ji(a){var b=qi(a);if(a.j.ga()===0)return V.J;if(!(a.A||a.m||a.v))return Math.max(a.o,b);if(typeof a.l==="number"&&a.l!==V.J)return a.l;if(a.l instanceof Array&&a.l.length>0){var c=[].concat(la(a.l)).sort(function(e,f){return e-f});c=v(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!ki(a,d))return d}return b}function qi(a){for(var b=a.j.ga(),c=0;c<b&&ki(a,c);)c++;return c===b?V.J:c} function ei(a,b){var c=c===void 0?!0:c;if(b instanceof Array){if(!a.m&&c)throw Error("MDCListFoundation: Array of index is only supported for checkbox based list");return b.length===0?!0:b.some(function(d){return ri(a,d)})}if(typeof b==="number"){if(a.m&&c)throw Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+b);return ri(a,b)||a.A&&b===V.J}return!1}function ri(a,b){a=a.j.ga();return b>=0&&b<a} function si(a,b,c){a.C=b;a.m?(ti(a,b,c),a.j.jb([b])):di(a,b,{ib:!0})}function ti(a,b,c){var d=gi(a),e=a.j.Se(b);c?c=e:(c=!e,a.j.Bb(b,c));a.j.fa(b,d,c?"true":"false");d=a.l===V.J?[]:a.l.slice();c?d.push(b):d=d.filter(function(f){return f!==b});a.l=d}ci.prototype.va=function(a){this.j.va(a);this.o=a};function ui(a){for(var b=a.j.ga(),c=0,d=0;d<b;d++)ki(a,d)||c++;return c} function vi(a,b){var c=ui(a),d=a.j.ga();if(b.filter(function(f){return!ki(a,f)}).length>=c)fi(a,[],{ib:!0,Sc:!0});else{c=[];for(var e=0;e<d;e++)(!ki(a,e)||b.indexOf(e)>-1)&&c.push(e);fi(a,c,{ib:!0,Sc:!0})}} p.Object.defineProperties(ci,{l:{configurable:!0,enumerable:!0,get:function(){return U}},j:{configurable:!0,enumerable:!0,get:function(){return T}},o:{configurable:!0,enumerable:!0,get:function(){return V}},m:{configurable:!0,enumerable:!0,get:function(){return{Xd:function(){},va:function(){},te:function(){return null},ze:function(){return 0},ga:function(){return 0},Ne:function(){return!1},Qe:function(){return!1},Se:function(){return!1},Te:function(){return!1},Ue:function(){return!1},yb:function(){return!1}, zb:function(){},jb:function(){},qf:function(){},fa:function(){},Bb:function(){},fd:function(){},Ge:function(){return""}}}}});function wi(){K.apply(this,arguments)}t(wi,K);n=wi.prototype;n.ha=function(){(this.v="evolution"in this.root.dataset)?this.m=Wh:oe(this.root,U.hg)?this.m=Yh:this.m=Object.values(T).reduce(function(a,b){a[b]=b;return a},{});this.B=this.Bh.bind(this);this.C=this.Eh.bind(this);this.I=this.Ch.bind(this);this.M=this.Dh.bind(this);fe(this,"keydown",this.C);fe(this,"click",this.B);fe(this,"focusin",this.I);fe(this,"focusout",this.M);this.layout();xi(this);yi(this)}; n.layout=function(){this.F=this.root.getAttribute(U.Xf)!==U.Yf;var a=U.mg,b=this.root.querySelectorAll("."+this.m[T.N]+":not([tabindex])");b.length&&Array.prototype.forEach.call(b,function(c){c.setAttribute("tabindex","-1")});a=this.root.querySelectorAll(a);a.length&&Array.prototype.forEach.call(a,function(c){c.setAttribute("tabindex","-1")});this.v&&(this.j.M=!0);this.j.layout()}; function zi(a,b){var c=b.querySelector("."+a.m[T.sc]);if(a.v||c){var d;return(d=c==null?void 0:c.textContent)!=null?d:""}return(a=b.querySelector("."+a.m[T.Fd]))&&a.textContent||""} function xi(a){a.A=oe(a.root,U.Vf);if(a.v&&a.A){var b=Array.from(a.root.querySelectorAll(U.Pg),function(c){return a.l.indexOf(c)});oe(a.root,U.Wf)?a.o=b:b.length>0&&(a.o=b[0])}else b=a.root.querySelector(U.Uf),a.root.querySelectorAll(U.Zf).length?a.o=Array.from(a.root.querySelectorAll(U.Sf),function(c){return a.l.indexOf(c)}):b&&(a.o=a.l.indexOf(b))} n.P=function(){var a=this;return new ci({Xd:function(b,c){(b=a.l[b])&&b.classList.add(a.m[c])},va:function(b){var c;(c=a.l[b])==null||c.focus()},te:function(b,c){return a.l[b].getAttribute(c)},ze:function(){return a.l.indexOf(document.activeElement)},ga:function(){return a.l.length},Ge:function(b){return zi(a,a.l[b])},Ne:function(b){return!!a.l[b].querySelector(U.kc)},Qe:function(b){return!!a.l[b].querySelector(U.Kg)},Se:function(b){return a.l[b].querySelector(U.kc).checked},Te:function(){return a.root!== document.activeElement&&a.root.contains(document.activeElement)},Ue:function(){return document.activeElement===a.root},yb:function(b,c){return a.l[b].classList.contains(a.m[c])},zb:function(b){ge(a,U.kd,{index:b},!0)},jb:function(b){ge(a,U.Qg,{oi:b},!0)},qf:function(b,c){(b=a.l[b])&&b.classList.remove(a.m[c])},fa:function(b,c,d){(b=a.l[b])&&he(b,c,d)},Bb:function(b,c){b=a.l[b].querySelector(U.sd);b.checked=c;c=document.createEvent("Event");c.initEvent("change",!0,!0);b.dispatchEvent(c)},fd:function(b, c){Array.prototype.forEach.call(a.l[b].querySelectorAll(U.dg),function(d){d.tabIndex=Number(c)})}})};function yi(a){if(a.v&&a.A&&!a.root.querySelector("."+a.m[T.N]+'[tabindex="0"]')){if(a.o instanceof Array&&a.o.length>0)var b=a.o[0];else typeof a.o==="number"&&a.o!==V.J?b=a.o:(b=a.root.querySelector("."+a.m[T.N]+":not(."+a.m[T.Kb]+")"),b=b===null?-1:Ai(a,b));b!==-1&&(a.l[b].tabIndex=0)}}function Ai(a,b){return(b=ne(b,"."+a.m[T.N]+", ."+a.m[T.R]))&&oe(b,"."+a.m[T.N])?a.l.indexOf(b):-1} n.Ch=function(a){a=Ai(this,a.target);var b=this.j;a>=0&&(b.o=a,b.j.fa(a,"tabindex","0"),b.j.fd(a,"0"))};n.Dh=function(a){a=Ai(this,a.target);ii(this.j,a)}; n.Eh=function(a){var b=Ai(this,a.target);a:{var c=this.j,d=a.target.classList.contains(this.m[T.N]),e=Dg(a)==="ArrowLeft",f=Dg(a)==="ArrowUp",g=Dg(a)==="ArrowRight",h=Dg(a)==="ArrowDown",k=Dg(a)==="Home",l=Dg(a)==="End",m=Dg(a)==="Enter",r=Dg(a)==="Spacebar";g=c.B&&h||!c.B&&g;f=c.B&&f||!c.B&&e;h=a.key==="A"||a.key==="a";var u=bi(a);if(c.j.Ue())(f||l)&&u([])?(a.preventDefault(),ni(c)):(g||k)&&u([])?(a.preventDefault(),li(c,-1)):f&&u(["Shift"])&&c.m?(a.preventDefault(),a=ni(c),a!==-1&&si(c,a,!1)):g&& u(["Shift"])&&c.m&&(a.preventDefault(),a=li(c,-1),a!==-1&&si(c,a,!1));else{e=c.j.ze();if(e===-1&&(e=b,e<0))break a;if(g&&u([]))$h(a),li(c,e);else if(f&&u([]))$h(a),mi(c,e);else if(g&&u(["Shift"])&&c.m)$h(a),a=li(c,e),a!==-1&&si(c,a,!1);else if(f&&u(["Shift"])&&c.m)$h(a),a=mi(c,e),a!==-1&&si(c,a,!1);else if(k&&u([]))$h(a),li(c,-1);else if(l&&u([]))$h(a),ni(c);else if(k&&u(["Control","Shift"])&&c.m)$h(a),ki(c,e)||(li(c,-1),pi(c,0,e,e));else if(l&&u(["Control","Shift"])&&c.m)$h(a),ki(c,e)||(ni(c),pi(c, e,c.j.ga()-1,e));else if(h&&u(["Control"])&&c.m)a.preventDefault(),vi(c,c.l===V.J?[]:c.l);else if((m||r)&&(u([])||u(["Alt"]))){if(d){var R=a.target;R&&R.tagName==="A"&&m||($h(a),ki(c,e)||((c.A||c.m||c.v)&&si(c,e,!1),c.j.zb(e)))}}else(m||r)&&u(["Shift"])&&c.m&&(b=a.target,b&&b.tagName==="A"&&m||($h(a),ki(c,e)||(pi(c,(R=c.C)!=null?R:e,e,e),c.j.zb(e))))}}}; n.Bh=function(a){var b=Ai(this,a.target),c=this.j,d=oe(a.target,U.sd);a=bi(a);if(b!==V.J&&!ki(c,b))if(a([]))(c.A||c.m||c.v)&&si(c,b,d),c.j.zb(b);else if(c.m&&a(["Shift"])){var e;pi(c,(e=c.C)!=null?e:b,b,b);c.j.zb(b)}}; p.Object.defineProperties(wi.prototype,{F:{configurable:!0,enumerable:!0,set:function(a){this.j.B=a}},l:{configurable:!0,enumerable:!0,get:function(){return Array.from(this.root.querySelectorAll("."+this.m[T.N]))}},G:{configurable:!0,enumerable:!0,set:function(a){this.j.F=a}},o:{configurable:!0,enumerable:!0,get:function(){return this.j.l},set:function(a){di(this.j,a)}}});var Bi={tc:"mdc-menu-item--selected",Id:"mdc-menu__selection-group",R:"mdc-menu"},Ci={mb:"aria-checked",Rh:"aria-disabled",kc:'input[type="checkbox"]',Gd:".mdc-list,.mdc-deprecated-list",Og:"MDCMenu:selected",Rg:"data-menu-item-skip-restore-focus"},Di={Xh:-1};function Ei(a){J.call(this,Object.assign({},Ei.m,a));this.l=1}t(Ei,J); p.Object.defineProperties(Ei,{j:{configurable:!0,enumerable:!0,get:function(){return Bi}},l:{configurable:!0,enumerable:!0,get:function(){return Ci}},o:{configurable:!0,enumerable:!0,get:function(){return Di}},m:{configurable:!0,enumerable:!0,get:function(){return{Yd:function(){},rf:function(){},Wd:function(){},pf:function(){},ue:function(){return null},xh:function(){return!1},yc:function(){},ye:function(){return-1},ef:function(){},Kc:function(){return 0},va:function(){},qe:function(){},He:function(){return-1}, Rc:function(){return!1}}}}});var Fi={Hf:"mdc-menu-surface--anchor",ld:"mdc-menu-surface--animating-closed",md:"mdc-menu-surface--animating-open",yd:"mdc-menu-surface--fixed",Dd:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",R:"mdc-menu-surface"},Gi={vd:"MDCMenuSurface:closed",eg:"MDCMenuSurface:closing",uc:"MDCMenuSurface:opened",Dg:"MDCMenuSurface:opening",Wh:'button:not(:disabled), [href]:not([aria-disabled="true"]), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'}, Hi={bh:120,ah:75,Hd:32,If:.67,Yg:30};function W(a){J.call(this,Object.assign({},W.m,a));this.v=this.o=!1;this.C=this.G=this.A=0;this.l={top:0,right:0,bottom:0,left:0};this.position={x:0,y:0}}t(W,J);n=W.prototype;n.init=function(){var a=W.j,b=a.R;a=a.OPEN;if(!this.j.hasClass(b))throw Error(b+" class required in root element.");this.j.hasClass(a)&&(this.o=!0);this.B=this.Fh.bind(this);this.j.Ia("resize",this.B)};n.bd=function(a){this.A=a}; n.open=function(){var a=this;this.o||(this.j.df(),this.j.wf(),this.j.addClass(W.j.md),requestAnimationFrame(function(){a.F=a.j.Jc();Ii(a);a.j.addClass(W.j.OPEN);a.G=setTimeout(function(){a.G=0;a.j.removeClass(W.j.md);a.j.cf()},Hi.bh)}),this.o=!0,this.j.Ia("resize",this.B))}; n.close=function(a){var b=this;a=a===void 0?!1:a;this.o&&(this.j.Ye(),this.j.Ba("resize",this.B),this.j.addClass(W.j.ld),requestAnimationFrame(function(){b.j.removeClass(W.j.OPEN);b.j.removeClass(W.j.Dd);b.C=setTimeout(function(){b.C=0;b.j.removeClass(W.j.ld);b.j.Xe()},Hi.ah)}),this.o=!1,a||Ji(this))};n.Fh=function(){this.F=this.j.Jc();Ii(this)}; function Ii(a){var b=a.j.se(),c=a.j.ve(),d=a.j.Ke(),e=a.j.Me();b||(b={top:a.position.y,right:a.position.x,bottom:a.position.y,left:a.position.x,width:0,height:0});a.m={Tb:b,qh:c,Ff:a.F,hd:{top:b.top,right:d.width-b.right,bottom:d.height-b.bottom,left:b.left},Mh:d,Nh:e};b=8;c=a.m;d=c.hd;e=c.Tb;c=c.Ff;var f=W.o.Hd;var g=d.top-f+a.l.top;f=d.bottom-f+e.height-a.l.top;!(f-c.height>0)&&g>f&&(b|=1);g=a.j.Ve();f=!!(b&4);var h=g?!f:f;if(h){var k=d.left+e.width+a.l.left;d=d.right-a.l.left}else k=d.left+a.l.left, d=d.right+e.width-a.l.left;e=k-c.width>0;c=d-c.width>0;var l=!!(b&8)&&!!(b&4);if(c&&l&&g||!e&&l)b^=4;else if(e&&h&&g||e&&!h&&f||!c&&k>=d)b|=4;a.A>0?c=a.A:(c=a.m.hd,d=W.o.Hd,b&1?(c=c.top+a.l.top-d,c+=a.m.Tb.height):c=c.bottom-a.l.bottom+a.m.Tb.height-d);d=b&1?"bottom":"top";e=b&4?"right":"left";g=b&1?-a.l.bottom:a.l.top;h=a.m;f=h.Tb;h=h.Ff;k={};b&4?(l=a.l.right,l=a.v?l-(a.m.Mh.width-a.m.qh.width):l):l=a.l.left;g=(k[e]=l,k[d]=g,k);f.width/h.width>Hi.If&&(e="center");if(a.v)for(h=a.m,f=h.Nh,h=h.hd,k= Object.keys(g),k=v(k),l=k.next();!l.done;l=k.next()){l=l.value;var m=g[l]||0;m+=h[l];a.v||(m=l==="top"?m+f.y:l==="bottom"?m-f.y:l==="left"?m+f.x:m-f.x);g[l]=m}a.j.dc(e+" "+d);a.j.setPosition(g);a.j.bd(c?c+"px":"");b&1||a.j.addClass(W.j.Dd)}function Ji(a){var b=a.j.T(),c=a.j.Ee?a.j.Ee():document;c=c.activeElement&&a.j.Oc(c.activeElement);(b||c)&&setTimeout(function(){a.j.vf()},Hi.Yg)} p.Object.defineProperties(W,{j:{configurable:!0,enumerable:!0,get:function(){return Fi}},l:{configurable:!0,enumerable:!0,get:function(){return Gi}},o:{configurable:!0,enumerable:!0,get:function(){return Hi}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Gh:function(){return!1},Oc:function(){return!1},T:function(){return!1},Ve:function(){return!1},Jc:function(){return{height:0,width:0}},se:function(){return null}, Ke:function(){return{height:0,width:0}},ve:function(){return{height:0,width:0}},Me:function(){return{x:0,y:0}},setPosition:function(){},bd:function(){},dc:function(){},wf:function(){},vf:function(){},Xe:function(){},Ye:function(){},cf:function(){},df:function(){},Ia:function(){},Ba:function(){}}}}});function Ki(){K.apply(this,arguments)}t(Ki,K); Ki.prototype.ha=function(){var a=this,b=this.root.parentElement;this.l=b&&b.classList.contains(Fi.Hf)?b:null;this.root.classList.contains(Fi.yd)&&(this.root.classList.add(Fi.yd),this.j.v=!0);this.v=function(c){var d=c.keyCode;c.key!=="Escape"&&d!==27||a.j.close()};this.o=function(c){var d=a.j;d.j.Oc(c.target)||d.close()};this.B=function(){document.body.addEventListener("click",a.o,{capture:!0})};this.A=function(){document.body.removeEventListener("click",a.o,{capture:!0})};fe(this,"keydown",this.v); fe(this,Gi.uc,this.B);fe(this,Gi.vd,this.A)};Ki.prototype.open=function(){this.j.open()};Ki.prototype.close=function(a){this.j.close(a===void 0?!1:a)}; Ki.prototype.P=function(){var a=this;return new W({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Gh:function(){return!!a.l},Xe:function(){ge(a,W.l.vd,{})},Ye:function(){ge(a,W.l.eg,{})},cf:function(){ge(a,W.l.uc,{})},df:function(){ge(a,W.l.Dg,{})},Oc:function(b){return a.root.contains(b)},Ve:function(){return getComputedStyle(a.root).getPropertyValue("direction")==="rtl"},dc:function(b){a.root.style.setProperty(yg()+ "-origin",b)},T:function(){return document.activeElement===a.root},wf:function(){a.m=document.activeElement},vf:function(){a.root.contains(document.activeElement)&&a.m&&a.m.focus&&a.m.focus()},Jc:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},se:function(){return a.l?a.l.getBoundingClientRect():null},Ke:function(){return{width:window.innerWidth,height:window.innerHeight}},ve:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},Me:function(){return{x:window.pageXOffset, y:window.pageYOffset}},setPosition:function(b){var c=a.root;c.style.left="left"in b?b.left+"px":"";c.style.right="right"in b?b.right+"px":"";c.style.top="top"in b?b.top+"px":"";c.style.bottom="bottom"in b?b.bottom+"px":""},bd:function(b){a.root.style.maxHeight=b},Ia:function(b,c){window.addEventListener(b,c)},Ba:function(b,c){window.removeEventListener(b,c)}})};function Li(){K.apply(this,arguments)}t(Li,K);n=Li.prototype;n.ua=function(a,b){a=a===void 0?function(c){return new Ki(c)}:a;b=b===void 0?function(c){return new wi(c)}:b;this.C=a;this.B=b}; n.ha=function(){var a=this;this.m=this.C(this.root);var b=this.root.querySelector(Ci.Gd);b?(this.list=this.B(b),this.list.G=!0):this.list=null;this.v=function(c){var d=c.keyCode;c.key!=="Tab"&&d!==9||a.j.j.yc(!0)};this.o=function(c){var d=a.j;c=d.j.ye(a.l[c.detail.index]);if(!(c<0)){d.j.ef({index:c});var e=d.j.ue(c,Ci.Rg)==="true";d.j.yc(e);if(d.j.Rc(c)){e=d.j.Kc();if(!(c>=0&&c<e))throw Error("MDCMenuFoundation: No list item at specified index.");if(!d.j.Rc(c))throw Error("MDCMenuFoundation: No selection group at specified index."); e=d.j.He(c);e>=0&&(d.j.pf(e,Ci.mb),d.j.rf(e,Bi.tc));d.j.Yd(c,Bi.tc);d.j.Wd(c,Ci.mb,"true")}}};this.A=function(){var c=a.j;switch(c.l){case 2:c.j.va(0);break;case 3:c.j.va(c.j.Kc()-1);break;case 0:break;default:c.j.qe()}};fe(this.m,W.l.uc,this.A);fe(this,"keydown",this.v);fe(this,ci.l.kd,this.o)};n.layout=function(){this.list&&this.list.layout()};n.Ge=function(a){return(a=a<this.l.length?this.l[a]:null)&&this.list?zi(this.list,a)||"":""}; n.P=function(){var a=this;return new Ei({Yd:function(b,c){a.l[b].classList.add(c)},rf:function(b,c){a.l[b].classList.remove(c)},Wd:function(b,c,d){he(a.l[b],c,d)},pf:function(b,c){a.l[b].removeAttribute(c)},ue:function(b,c){return a.l[b].getAttribute(c)},xh:function(b,c){return b.classList.contains(c)},yc:function(b){a.m.close(b)},ye:function(b){return a.l.indexOf(b)},ef:function(b){ge(a,Ci.Og,{index:b.index,item:a.l[b.index]})},Kc:function(){return a.l.length},va:function(b){a.l[b].focus()},qe:function(){a.root.querySelector(Ci.Gd).focus()}, Rc:function(b){return!!ne(a.l[b],"."+Bi.Id)},He:function(b){return(b=ne(a.l[b],"."+Bi.Id).querySelector("."+Bi.tc))?a.l.indexOf(b):-1}})};p.Object.defineProperties(Li.prototype,{open:{configurable:!0,enumerable:!0,get:function(){return this.m.j.o},set:function(a){a?this.m.open():this.m.close()}},l:{configurable:!0,enumerable:!0,get:function(){return this.list?this.list.l:[]}}});function Mi(a,b){var c=this;var d=d===void 0?null:d;this.A=a;this.root=b;d||this.root.classList.add("mdc-menu-surface--anchor");a=document.createElement("div");a.classList.add("dfs-menu");a.classList.add("mdc-menu");a.classList.add("mdc-menu-surface");a.classList.add("GmMenu");a.classList.add("GmMenuSurface");this.root.appendChild(a);this.l=document.createElement("ul");this.l.classList.add("GmDeprecatedList");this.l.classList.add("mdc-deprecated-list");this.l.setAttribute("role","menu");this.l.setAttribute("aria-orientation", "vertical");this.l.setAttribute("tabindex","-1");a.appendChild(this.l);b=document.createElement("div");b.classList.add("mdc-elevation-overlay");this.l.appendChild(b);this.menu=new Li(a);this.menu.j.l=2;d&&(this.menu.m.l=d);this.m=new Map;a.addEventListener("MDCMenu:selected",function(e){var f=c.menu;e=e.detail.index;(f=e<f.l.length?f.l[e]:null)&&c.v&&c.v(f.id)});a.addEventListener("MDCMenuSurface:opened",function(){c.A.S(function(){c.menu.open=!1});c.j&&c.j.setAttribute("aria-expanded","true")}); a.addEventListener("MDCMenuSurface:closed",function(){c.j&&Ni(c);c.A.M();c.j&&c.j.setAttribute("aria-expanded","false")});this.j=this.v=null;this.o=function(e){if(e.type=="click"||e.type=="keypress"&&(e.keyCode==32||e.keyCode==13))c.menu.open=!0,c.j&&c.j.removeEventListener("click",c.o),c.j&&c.j.removeEventListener("keypress",c.o)}}Mi.prototype.remove=function(){this.root.remove()};function Oi(a,b){a.v=b}Mi.prototype.open=function(){this.menu.open=!0}; Mi.prototype.close=function(){this.menu.open=!1}; function Pi(a,b,c){if(!a.m.has(b)){var d=document.createElement("li");d.setAttribute("id",b);d.classList.add("dfs-menu-item");d.classList.add("mdc-deprecated-list-item");d.setAttribute("role","menuitem");Ne(d);var e=document.createElement("span");e.classList.add("mdc-deprecated-list-item__ripple");d.appendChild(e);e=document.createElement("span");e.classList.add("mdc-deprecated-list-item__text");e.textContent=c||"";d.appendChild(e);c=document.createElement("span");c.classList.add("dfs-focus-ring"); d.appendChild(c);a.l.appendChild(d);a.m.set(b,d);a.menu.layout()}}function Qi(a,b){if(!a.m.has(b)){var c=document.createElement("li");c.classList.add("mdc-deprecated-list-divider");c.classList.add("dfs-list-divider");c.setAttribute("role","separator");c.setAttribute("aria-hidden","true");a.m.set(b,c);a.l.appendChild(c);a.menu.layout()}}function Ri(a,b){if(a=a.m.get(b))a.classList.add("mdc-deprecated-list-item--disabled"),a.setAttribute("disabled",!0)} function Si(a){"preferences submit-feedback pause-syncing resume-syncing offline-files open-error-list quit reset-preferences disable-fine-logging enable-fine-logging generate-diagnostic-info sign-out-all about help debug-divider about-divider quit-divider".split(" ").forEach(function(b){Ri(a,b);if(b=a.m.get(b))b.classList.contains("mdc-deprecated-list-divider")||b.classList.remove("mdc-deprecated-list-item"),Lf(b)})} function Ti(a,b){if(a=a.m.get(b))a.classList.remove("mdc-deprecated-list-item--disabled"),a.setAttribute("disabled",!1)}function Ui(a,b){if(a=a.m.get(b))a.classList.contains("mdc-deprecated-list-divider")||a.classList.add("mdc-deprecated-list-item"),Kf(a)}function Vi(a){["preferences","pause-syncing","offline-files","open-error-list"].forEach(function(b){return Ui(a,b)})}function Wi(a,b){Ti(a,b);Ui(a,b)}function Xi(a,b){b.forEach(function(c){return Wi(a,c)})} function Yi(a,b){a.j=b;a.j.setAttribute("aria-haspopup","menu");Ni(a)}function Ni(a){a.j&&a.j.addEventListener("click",a.o);a.j&&a.j.addEventListener("keypress",a.o)};function Zi(a,b){if(b)a.attr("src",b||"").removeClass("blueIcon").on("error",function(){a.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon")});else a.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon")}function $i(a,b){Zi(a.find("#user-photo"),C(b,3)||"");a.find("#user-email").text(C(b,2)||"");qg(a.find("#user-quota"),C(b,5));Ac(b,12)?a.addClass("disabled-opacity"):a.removeClass("disabled-opacity")} function aj(a,b,c,d,e){this.I=a;this.j=b;this.o=dd(this.j);this.aa=C(this.o,1)+"-tooltip";this.G=$(document.createElement("div"));this.G.addClass("account-card-placeholder-in-list");this.G.appendTo(d);this.m=e;this.l=null;this.template=c;this.B=this.C=this.v=this.A=this.F=this.menu=null;bj(this,b)} function bj(a,b){a.j=b;cj(a);a.l=sg(a.template).removeAttr("id");Ac(a.j,8,!0)&&(a.A=dj(a));Ac(a.j,9,!0)&&(a.v=ej(a));Ac(a.j,6)&&(a.C=fj(a));y(a.j,$c,11)&&(a.B=gj(a));if(Ac(a.j,10,!0))a.l.find("#manage-storage").removeClass("hidden").find("a").on("click",function(){var c=a.o;if(c){var d=Y(),e=I(d);D(e,29,G);H(d,c);M(d)}});N(a.l);$i(a.l,a.j);a.l.find("#user-email").attr("aria-describedby",a.aa);Ac(a.j,12)&&a.l.find("#account-info").addClass("disabled-opacity");a.l.appendTo(a.G);a.F=new dh(a.aa,C(a.j, 7)||"");a.m&&(Ac(a.j,8,!0)&&Sh(a.A,C(a.m,3)||""),Ac(a.j,9,!0)&&Sh(a.v,C(a.m,4)||""),Ac(a.j,6)&&Sh(a.C,C(a.m,5)||""),y(a.j,$c,11)&&Sh(a.B,bd(z(a.j,$c,11))||""))}function cj(a){a.F&&a.F.remove();a.l&&a.l.remove()}aj.prototype.layout=function(){this.A&&this.A.layout();this.v&&this.v.layout();this.C&&this.C.layout();this.B&&this.B.layout()}; function dj(a){var b=new Uh;b.j="ic_folder_with_drive_logo_outline.svg";b.color="grey";b.ba=["SmallIconButton"];a.m&&(b.m=C(a.m,3)||"",b.role="link");b.l=function(){var d=a.o;if(d){var e=Y();H(e,d);d=I(e);D(d,12,G);M(e)}};var c=a.l.find("#open-mount-point-button")[0];c.id="open-mount-point-button"+C(a.o,1);return new Oh(c,b)} function ej(a){var b=new Uh;b.j="drive_logo_grey_20px.svg";b.color="grey";b.ba=["SmallIconButton"];a.m&&(b.m=C(a.m,4)||"",b.role="link");b.l=function(){var d=a.o;if(d){var e=Y();H(e,d);d=I(e);D(d,23,G);M(e)}};var c=a.l.find("#drive-link-button")[0];c.id="drive-link-button"+C(a.o,1);return new Oh(c,b)} function fj(a){var b=new Uh;b.j="photos_logo_grey_20px.svg";b.color="grey";b.ba=["SmallIconButton"];a.m&&(b.m=C(a.m,5)||"",b.role="link");b.l=function(){var d=a.o;if(d){var e=Y();H(e,d);d=I(e);D(d,24,G);M(e)}};var c=a.l.find("#photos-link-button")[0];c.id="photos-link-button"+C(a.o,1);return new Oh(c,b)} function gj(a){var b=new Uh;b.j="ic_more_vert_grey600_24dp.svg";b.color="grey";b.ba=["SmallIconButton"];b=new Oh(a.l.find("#overflow-menu-button")[0],b);a.menu=new Mi(a,a.l.find(".dfs-menu-anchor")[0]);Oi(a.menu,function(f){var g=a.o;f=parseInt(f,10);var h=new gd;var k=new Uc;h=vc(h,25,k);H(h,g);g=z(h,Uc,25);qc(g,1,Vc,f==null?f:Ab(f));M(h)});for(var c=v(ad(z(a.j,$c,11))),d=c.next();!d.done;d=c.next()){d=d.value;var e=Eh(yc(d,1))||0;Pi(a.menu,e.toString(),C(d,2)||"")}Yi(a.menu,b.j);return b} aj.prototype.S=function(a){hj(this.I,a)};aj.prototype.M=function(){this.I.G.j.pop()}; function ij(a){var b=$("#account-switcher"),c=$("#accounts-list");c=c===void 0?null:c;this.B=a;this.l=b;c?(this.m=c,this.l.find("#account-switcher-full-view").remove()):(this.m=this.l.find("#account-switcher-full-view"),this.l.css("position","relative"));this.o=null;a=document.createElement("div");a.setAttribute("id","full-root-account-container");this.m.append(a);a=document.createElement("div");a.setAttribute("id","full-root-add-account-container");this.m.append(a);this.v=new tg;this.C=new cd;this.j= new jj;this.F=!1;this.A=new kj(this,this.l.find("#account-select-menu-anchor")[0],this.l.find("#account-select-menu-item-template"));a=new Uh;a.j="ic_account_circle_googblue_24dp.svg";a.o=["face-view-user-photo","blueIcon"];this.G=new Oh(this.l.find("#account-switcher-face-view-button")[0],a)} function lj(a,b){a.j=b;if(mj(a))switch(a.j.style){case 1:nj(a);b=a.l.find("#account-switcher-normal-view");$i(b,a.C);var c=a.l.find("#account-switcher-normal-view-button");oj(a,c);c=a.A;c.l&&(c.menu.m.l=b[0]);N(a.l.find("#account-switcher-normal-view"));break;case 2:nj(a);b=a.l.find("#account-switcher-face-view");Zi(b.find("img"),C(a.C,3)||"");c=b.find("button");oj(a,c);c=a.A;c.l&&(c.menu.m.l=b[0]);N(a.l.find("#account-switcher-face-view"));break;case 3:pj(a),N(a.l.find("#account-switcher-all-view"))}} function mj(a){if(!a.j.style)return console.log("No Style selected for AccountSwitcher."),!1;if(a.j.style==3&&a.j.m)return console.log("An AccountToken can not be set in allView."),!1;if(a.j.l&&!a.m.attr("id"))return console.log("Full root must have id for auto close to work."),!1;if(!a.j.j||od(a.j.j).length<1)return console.log("No accounts were provided to the AccountSwitcher."),!1;if(a.j.style==3)return!0;if(!a.j.m)return console.log("No selectedAccountToken was provided to the AccountSwitcher."), !1;for(var b=!1,c=v(od(a.j.j)),d=c.next();!d.done;d=c.next())if(d=d.value,ug(dd(d),a.j.m)){a.C=d;b=!0;break}return b?!0:(console.log("selected AccountToken: "+a.j.m+" does not have a account in: "+JSON.stringify(od(a.j.j))),!1)} function pj(a){var b=a.l.find("#account-switcher-all-view"),c=b.find(".single-account-view");b=b.find(".multi-account-view");if(od(a.j.j).length<1)P(c),P(b);else{if(od(a.j.j).length==1)N(c),P(b),$i(c,od(a.j.j)[0]);else{P(c);N(b);c=a.l.find("#all-view-imgs");c.empty();b=1;for(var d=v(od(a.j.j)),e=d.next(),f={};!e.done;f={Za:void 0},e=d.next()){e=e.value;f.Za=sg(a.l.find("#all-view-img-template")).removeAttr("id");N(f.Za);if(Jc(e,3))f.Za.find(".all-view-img").attr("src",C(e,3)||"").removeClass("blueIcon").on("error", function(g){return function(){g.Za.find(".all-view-img").attr("src","ic_account_circle_googblue_24dp.svg");g.Za.find(".all-view-img").addClass("blueIcon")}}(f));f.Za.css("z-index",b);b++;f.Za.appendTo(c)}}a.l.find("#account-switcher-all-view-button").off("click").on("click",function(){qj(a)});c=v(a.v.keys());for(b=c.next();!b.done;b=c.next())rj(a,b.value);c=v(od(a.j.j));for(b=c.next();!b.done;b=c.next())sj(a,b.value);c=a.m.find("#full-root-add-account-container");c.empty();a.j.o?(b=sg(a.l.find("#account-switcher-add-account-template")).removeAttr("id"), N(b),b.on("click",function(){tj();a.j.l&&uj(a)}),b.appendTo(c)):(b=sg(a.l.find("#account-switcher-disabled-add-account-template")).removeAttr("id"),b.prop("disabled",!0),N(b),b.on("click",function(){tj();a.j.l&&uj(a)}),b.appendTo(c))}}function sj(a,b){if(!a.v.has(dd(b))){var c=a.l.find("#account-switcher-account-template"),d=a.m.find("#full-root-account-container");c=new aj(a.B,b,c,d,a.o);a.v.set(dd(b),c)}}function rj(a,b){var c=a.v.get(b);cj(c);c.G.remove();a.v.delete(b)} function oj(a,b){b.off("click").on("click",function(){vj(a);b.off("click")})} function nj(a){var b=a.A,c=a.C,d=a.j.j;a=a.j.o;if(b.l)for(;b.j.firstChild;)b.j.removeChild(b.j.firstChild);else wj(b);b.m=d;var e=document.createElement("div");e.classList.add("mdc-elevation-overlay");b.j.appendChild(e);e=xj(b,c);e.find(".account-select-menu-item-checkmark").removeClass("hidden").attr("aria-label",b.F);e.appendTo(b.j);od(d);e=document.createElement("li");e.classList.add("mdc-deprecated-list-divider");e.setAttribute("role","separator");b.j.appendChild(e);d=v(od(d));for(e=d.next();!e.done;e= d.next())e=e.value,dd(e)!=dd(c)&&xj(b,e).appendTo(b.j);a?(c=sg(b.template).removeAttr("id").attr("data-on-menu-item-select","add_account").addClass("account-select-menu-item").addClass("account-select-add-user-menu-item").removeClass("hidden"),c.find(".mdc-deprecated-list-item__graphic").addClass("greyIcon").addClass("account-select-menu-item-add-account-icon").attr("src","ic_person_add_24px.svg"),c.find(".menu-item-title").text(b.A),Ne(c[0])):(c=sg(b.template).removeAttr("id").addClass("mdc-deprecated-list-item--disabled").addClass("account-select-menu-item").addClass("account-select-disabled-add-user-menu-item").removeClass("hidden"), c.find(".mdc-deprecated-list-item__graphic").addClass("greyIcon").addClass("account-select-menu-item-add-account-icon").attr("src","ic_person_add_24px.svg"),c.find(".menu-item-title").text(b.B),c.find(".menu-item-subtitle").text(b.C),Ne(c[0]));c.appendTo(b.j);b.menu.layout()}function vj(a){a.A.open();hj(a.B,function(){a.A.close()})}function uj(a){a.F=!1;a.j.l&&($("body").off("click"),P(a.m))} ij.prototype.focus=function(){if(this.F)this.m.find(".account-switcher-add-account").focus();else switch(this.j.style){case 1:this.l.find("#account-switcher-normal-view button").focus();break;case 2:this.l.find("#account-switcher-face-view button").focus();break;case 3:this.l.find("#account-switcher-all-view button").focus()}};function qj(a){if(!a.F){a.F=!0;N(a.m);for(var b=v(a.v.values()),c=b.next();!c.done;c=b.next())c.value.layout();yj(a.B);a.j.l&&setTimeout(function(){zj(a)},0)}} function zj(a){$("body").on("click",function(b){b.target==a.m[0]||$(b.target).parents("#"+a.m.attr("id")).length>0||(b.stopPropagation(),uj(a))})}function jj(){this.style=this.m=this.j=null;this.l=this.o=!1}function kj(a,b,c){this.v=a;this.o=b;this.template=c;this.l=!1;this.F=this.C=this.B=this.A="";this.menu=this.j=this.m=null}kj.prototype.open=function(){this.l&&(this.menu.open=!0)};kj.prototype.close=function(){this.l&&(this.menu.open=!1)}; function wj(a){a.o.classList.add("mdc-menu-surface--anchor");var b=document.createElement("div");b.classList.add("mdc-menu");b.classList.add("mdc-menu-surface");b.classList.add("GmMenu");b.classList.add("GmMenuSurface");b.addEventListener("MDCMenu:selected",function(c){var d=c.detail.item.getAttribute("data-on-menu-item-select");if(d=="add_account")tj();else{c=new Kc;Ic(c,1,d);var e=v(od(a.m));for(d=e.next();!d.done;d=e.next())if(d=d.value,ug(c,dd(d))){c=a.v;d!=c.C&&(c=c.B.A,d&&(c.j.m=dd(d),lj(c, c.j)));break}}});b.addEventListener("MDCMenuSurface:closed",function(){var c=a.v;switch(c.j.style){case 1:var d="#account-switcher-normal-view-button";break;case 2:d="#account-switcher-face-view-button button";break;case 3:console.log("ALL_ACCOUNTS doesn't have an MDCMenu.")}d&&(oj(c,c.l.find(d)),c.B.G.j.pop())});a.o.appendChild(b);a.j=document.createElement("ul");a.j.classList.add("GmDeprecatedList");a.j.classList.add("mdc-deprecated-list");a.j.classList.add("mdc-deprecated-list--avatar-list");a.j.setAttribute("role", "menu");a.j.setAttribute("aria-orientation","vertical");a.j.setAttribute("tabindex","-1");b.appendChild(a.j);a.menu=new Li(b);a.menu.j.l=2;a.l=!0} function xj(a,b){a=sg(a.template).removeAttr("id");var c=a.attr;var d=dd(b);d=C(d,1);a=c.call(a,"data-on-menu-item-select",d||"").addClass("account-select-menu-item").removeClass("hidden");Zi(a.find(".mdc-deprecated-list-item__graphic"),C(b,3)||"");a.find(".mdc-deprecated-list-item__graphic").addClass("account-select-menu-item-user-photo");a.find(".menu-item-title").text(C(b,2)||"");qg(a.find(".menu-item-subtitle"),C(b,5));Ac(b,12)?a.addClass("mdc-deprecated-list-item--disabled"):a.removeClass("mdc-deprecated-list-item--disabled"); Ne(a[0]);return a};function Aj(a){var b=$("#app-menu"),c=this;this.m=a;this.root=b;this.j=Bj(this);this.menu=new Mi(this,this.root.find("#menu-anchor")[0]);Oi(this.menu,function(d){var e=c.m;switch(d){case "about":d=Y();H(d,S());e=I(d);D(e,1,G);M(d);break;case "help":d=Y();H(d,S());e=I(d);D(e,5,G);M(d);break;case "submit-feedback":$("#submit-feedback").is(":disabled")||(d=Y(),H(d,S()),e=I(d),D(e,3,G),M(d));break;case "open-error-list":$("#open-error-list").is(":disabled")||(d=Y(),H(d,S()),e=I(d),D(e,25,G),M(d));break; case "pause-syncing":$("#pause-syncing").is(":disabled")||(d=Y(),H(d,S()),e=I(d),D(e,6,G),M(d));break;case "resume-syncing":$("#resume-syncing").is(":disabled")||(d=Y(),H(d,S()),e=I(d),D(e,7,G),M(d));break;case "preferences":$("#preferences").is(":disabled")||(d=Y(),H(d,S()),e=I(d),D(e,4,G),M(d));break;case "offline-files":d=Y();H(d,S());e=I(d);D(e,30,G);M(d);break;case "enable-fine-logging":Cj(e);break;case "disable-fine-logging":Cj(e);break;case "generate-diagnostic-info":d=$("#generate-diagnostic-info"); d.is(":disabled")||(d.prop("disabled",!0),d=Y(),H(d,S()),e=I(d),D(e,13,G),M(d));break;case "reset-preferences":d=Y();H(d,S());e=I(d);D(e,14,G);M(d);break;case "sign-out-all":d=Y();H(d,S());e=I(d);D(e,37,G);M(d);break;case "quit":d=Y();H(d,S());e=I(d);D(e,11,G);M(d);break;default:Hf(3,"No event function was registered for this menu item.")}});a=this.j.j;Yi(this.menu,a);a.addEventListener("click",function(d){d=!d.shiftKey;c.v!=d&&(c.v=d,Dj(c))});a.setAttribute("aria-expanded","false");this.A=this.o= this.l=!1;this.B=this.v=null} Aj.prototype.init=function(a,b){a&&b&&(Pi(this.menu,"preferences",C(a,6)),B(b,3)||Pi(this.menu,"offline-files",C(a,13)),Pi(this.menu,"open-error-list",C(a,12)),B(b,1)||(Pi(this.menu,"pause-syncing",C(a,4)),Pi(this.menu,"resume-syncing",C(a,5))),Qi(this.menu,"about-divider"),Pi(this.menu,"about",C(a,1)),Pi(this.menu,"help",C(a,2)),Pi(this.menu,"submit-feedback",C(a,3)),Qi(this.menu,"debug-divider"),Pi(this.menu,"enable-fine-logging",C(a,10)),Pi(this.menu,"disable-fine-logging",C(a,11)),Pi(this.menu, "generate-diagnostic-info",C(a,8)),B(b,2)||Pi(this.menu,"reset-preferences",C(a,9)),B(b,4)||Pi(this.menu,"sign-out-all",C(a,15)),Qi(this.menu,"quit-divider"),Pi(this.menu,"quit",C(a,7)),Qh(this.j,C(a,14)||""))};Aj.prototype.layout=function(){this.j.layout()};function Dj(a){Ej(a,a.B)} function Ej(a,b){if(b){a.B=b;Si(a.menu);Xi(a.menu,["about","help","submit-feedback"]);switch(b){case 5:Wi(a.menu,"preferences");break;case 1:case 4:Xi(a.menu,["preferences","about-divider","quit-divider","quit"]);break;case 2:Xi(a.menu,["about-divider","quit-divider","quit"]);Vi(a.menu);break;case 3:Xi(a.menu,["preferences","offline-files","open-error-list","about-divider","quit-divider","quit",a.A?"resume-syncing":"pause-syncing"])}a.v||(Xi(a.menu,["debug-divider",a.l?"disable-fine-logging":"enable-fine-logging"]), b!=6&&Wi(a.menu,"reset-preferences"),b==3&&Wi(a.menu,"sign-out-all"),Ui(a.menu,"generate-diagnostic-info"),a.o||Ti(a.menu,"generate-diagnostic-info"))}}function Bj(a){var b=void 0;b=new Uh,b.j="ic_settings_grey_24dp.svg",b.color="grey",b.ba=["SmallIconButton"];return new Oh(a.root.find("#menu-button")[0],b)}Aj.prototype.S=function(a){var b=this;hj(this.m,function(){b.menu.close();a()})};Aj.prototype.M=function(){this.m.G.j.pop()};function Fj(a,b){var c=this;this.root=a;this.m=b;this.v=!1;a=document.createElement("div");a.classList.add("mdc-touch-target-wrapper");this.root.appendChild(a);this.j=document.createElement("button");this.j.classList.add("mdc-button","mdc-button--touch","dfs-button","dfs-dialog-button");this.m.ba&&this.j.classList.add.apply(this.j.classList,la(this.m.ba));a.appendChild(this.j);a=document.createElement("span");a.classList.add("mdc-button__ripple");this.j.appendChild(a);a=document.createElement("span"); a.classList.add("mdc-button__touch");this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-button__focus-ring");this.j.appendChild(a);this.o=document.createElement("span");this.o.classList.add("mdc-button__label","dfs-button__label");this.j.appendChild(this.o);this.m.label&&pg(this.o,this.m.label);this.l=new Map;this.l.set("fill",["GmFillButton","GmTextLabelButton"]);this.l.set("hairline",["GmButtonHairline","GmHairlineTextLabelButton"]);this.l.set("filled_hairline",["GmButtonFilledHairline", "GmHairlineTextLabelButton"]);this.l.set("protected",["GmButtonProtected","GmTextLabelButton"]);this.l.set("text",["GmButtonText"]);this.l.set("grey_ink_text",["GmButtonGreyInkText"]);a=document.createElement("span");a.classList.add("dfs-focus-ring");this.j.appendChild(a);this.j.classList.remove("mdc-button--unelevated","mdc-button--outlined","Gm3FillButton","Gm3OutlinedButton","Gm3TextButton");switch(this.m.type){case "fill":this.j.classList.add.apply(this.j.classList,["mdc-button--unelevated"].concat(la(this.l.get("fill")))); break;case "hairline":this.j.classList.add.apply(this.j.classList,["mdc-button--outlined"].concat(la(this.l.get("hairline"))));break;case "filled_hairline":this.j.classList.add.apply(this.j.classList,["mdc-button--outlined"].concat(la(this.l.get("filled_hairline"))));break;case "protected":this.j.classList.add.apply(this.j.classList,["mdc-button--raised"].concat(la(this.l.get("protected"))));break;case "text":this.j.classList.add.apply(this.j.classList,la(this.l.get("text")));break;case "grey_ink_text":this.j.classList.add.apply(this.j.classList, la(this.l.get("grey_ink_text")));break;default:console.assert(!1,"button type must be defined.")}this.ea=Ne(this.j);this.ea.layout();this.A=this.m.j;this.j.addEventListener("click",function(){c.v||(c.v=!0,c.A&&c.A(),setTimeout(function(){c.v=!1},500))})}function Gj(a,b){pg(a.o,b);a.layout()}Fj.prototype.layout=function(){this.ea.layout()};Fj.prototype.focus=function(){var a=this;setTimeout(function(){a.j.focus({preventScroll:!1,pi:!0})},200)}; function Hj(){this.j=this.ba=this.label=this.type=null};var Ij={Jf:"mdc-checkbox--anim-checked-indeterminate",Kf:"mdc-checkbox--anim-checked-unchecked",Mf:"mdc-checkbox--anim-indeterminate-checked",Nf:"mdc-checkbox--anim-indeterminate-unchecked",Of:"mdc-checkbox--anim-unchecked-checked",Pf:"mdc-checkbox--anim-unchecked-indeterminate",Sh:"mdc-checkbox__background",Th:"mdc-checkbox--checked",Uh:"mdc-checkbox__checkmark",Vh:"mdc-checkbox__checkmark-path",Fb:"mdc-checkbox--disabled",Yh:"mdc-checkbox--indeterminate",ai:"mdc-checkbox__mixedmark",bi:"mdc-checkbox__native-control", R:"mdc-checkbox",Ng:"mdc-checkbox--selected",eh:"mdc-checkbox--upgraded"},Jj={mb:"aria-checked",Tf:"mixed",fg:"data-indeterminate",Ag:".mdc-checkbox__native-control",Od:"checked",dh:"indeterminate",Pd:"init",vc:"unchecked"},Kj={Lf:250};function Lj(a){J.call(this,Object.assign({},Lj.m,a));this.o=Jj.Pd;this.l="";this.m=0;this.v=!1}t(Lj,J);Lj.prototype.init=function(){this.o=Mj(this);Nj(this);this.j.addClass(Ij.eh)};function Oj(a){a.v&&(clearTimeout(a.m),a.m=setTimeout(function(){a.j.removeClass(a.l);a.v=!1},Kj.Lf))} function Pj(a){if(a.j.Pe()){var b=a.o,c=Mj(a);if(b!==c){Nj(a);var d=Ij.Ng;c===Jj.vc?a.j.removeClass(d):a.j.addClass(d);a.l.length>0&&(clearTimeout(a.m),a.j.sb(),a.j.removeClass(a.l));a:{d=Jj.Pd;var e=Jj.Od,f=Jj.vc,g=Lj.j,h=g.Of,k=g.Pf,l=g.Kf,m=g.Jf,r=g.Mf;g=g.Nf;switch(b){case d:b=c===f?"":c===e?r:g;break a;case f:b=c===e?h:k;break a;case e:b=c===f?l:m;break a;default:b=c===e?r:g}}a.l=b;a.o=c;a.j.Re()&&a.l.length>0&&(a.j.addClass(a.l),a.v=!0)}}} function Mj(a){var b=Jj.dh,c=Jj.Od,d=Jj.vc;return a.j.Pc()?b:a.j.Zb()?c:d}function Nj(a){a.j.Pc()?a.j.Af(Jj.mb,Jj.Tf):a.j.tf(Jj.mb)} p.Object.defineProperties(Lj,{j:{configurable:!0,enumerable:!0,get:function(){return Ij}},l:{configurable:!0,enumerable:!0,get:function(){return Jj}},o:{configurable:!0,enumerable:!0,get:function(){return Kj}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},sb:function(){},Pe:function(){return!1},Re:function(){return!1},Zb:function(){return!1},Pc:function(){return!1},removeClass:function(){},tf:function(){},Af:function(){},Bf:function(){}}}}});var Qj=["checked","indeterminate"];function Rj(){K.apply(this,arguments);this.v=Sj(this)}t(Rj,K);Rj.prototype.ua=function(){var a=Jj.fg;Tj(this).indeterminate=Tj(this).getAttribute(a)==="true";Tj(this).removeAttribute(a)};Rj.prototype.ha=function(){var a=this;this.m=function(){Pj(a.j)};this.l=function(){Oj(a.j)};Tj(this).addEventListener("change",this.m);fe(this,zg(),this.l);Uj(this)}; Rj.prototype.P=function(){var a=this;return new Lj({addClass:function(b){a.root.classList.add(b)},sb:function(){return a.root.offsetWidth},Pe:function(){return!!Tj(a)},Re:function(){return!!a.root.parentNode},Zb:function(){return a.checked},Pc:function(){return a.o},removeClass:function(b){a.root.classList.remove(b)},tf:function(b){Tj(a).removeAttribute(b)},Af:function(b,c){he(Tj(a),b,c)},Bf:function(b){Tj(a).disabled=b}})}; function Sj(a){var b=Object.assign({},Oe(a),{ra:function(c,d){Tj(a).removeEventListener(c,d,le())},xb:function(){return oe(Tj(a),":active")},X:function(){return!0},W:function(c,d){Tj(a).addEventListener(c,d,le())}});return new Me(a.root,new L(b))} function Uj(a){for(var b=Tj(a),c=Object.getPrototypeOf(b),d=v(Qj),e=d.next(),f={};!e.done;f={gb:void 0},e=d.next()){e=e.value;f.gb=Object.getOwnPropertyDescriptor(c,e);if(!Vj(f.gb))break;Object.defineProperty(b,e,{configurable:f.gb.configurable,enumerable:f.gb.enumerable,get:f.gb.get,set:function(g){return function(h){g.gb.set.call(b,h);Pj(a.j)}}(f)})}}function Tj(a){var b=Jj.Ag;a=a.root.querySelector(b);if(!a)throw Error("Checkbox component requires a "+b+" element");return a} p.Object.defineProperties(Rj.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return this.v}},checked:{configurable:!0,enumerable:!0,get:function(){return Tj(this).checked},set:function(a){Tj(this).checked=a}},o:{configurable:!0,enumerable:!0,get:function(){return Tj(this).indeterminate},set:function(a){Tj(this).indeterminate=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return Tj(this).disabled},set:function(a){var b=this.j;b.j.Bf(a);a?b.j.addClass(Ij.Fb):b.j.removeClass(Ij.Fb)}}, value:{configurable:!0,enumerable:!0,get:function(){return Tj(this).value},set:function(a){Tj(this).value=a}}});function Vj(a){return!!a&&typeof a.set==="function"};var Wj={R:"mdc-form-field"},Xj={Ib:".mdc-form-field > label"};function Yj(a){J.call(this,Object.assign({},Yj.m,a));var b=this;this.l=function(){Zj(b)}}t(Yj,J);Yj.prototype.init=function(){this.j.W("click",this.l)};function Zj(a){a.j.Td();requestAnimationFrame(function(){a.j.je()})}p.Object.defineProperties(Yj,{j:{configurable:!0,enumerable:!0,get:function(){return Wj}},l:{configurable:!0,enumerable:!0,get:function(){return Xj}},m:{configurable:!0,enumerable:!0,get:function(){return{Td:function(){},je:function(){},ra:function(){},W:function(){}}}}});function ak(){K.apply(this,arguments)}t(ak,K);ak.prototype.P=function(){var a=this;return new Yj({Td:function(){a.input&&a.input.ea&&ze(a.input.ea.j)},je:function(){a.input&&a.input.ea&&Ae(a.input.ea.j)},ra:function(b,c){var d;(d=a.root.querySelector(Yj.l.Ib))==null||d.removeEventListener(b,c)},W:function(b,c){var d;(d=a.root.querySelector(Yj.l.Ib))==null||d.addEventListener(b,c)}})};var bk=1; function ck(a,b,c){b=b===void 0?"":b;c=c===void 0?!1:c;var d=d===void 0?!1:d;var e=e===void 0?"":e;this.root=a;a="dfs-checkbox-"+bk++;var f=document.createElement("div");f.id=a+"-form";f.classList.add("dfs-checkbox-form");f.classList.add("mdc-form-field");f.classList.add("GmFormField");var g=document.createElement("div");g.classList.add("mdc-checkbox");g.classList.add("GmCheckbox");f.appendChild(g);this.input=document.createElement("input");this.input.type="checkbox";this.input.id=a;this.input.classList.add("mdc-checkbox__native-control");g.appendChild(this.input); var h=document.createElement("div");h.classList.add("mdc-checkbox__background");g.appendChild(h);var k=document.createElementNS("http://www.w3.org/2000/svg","svg");k.classList.add("mdc-checkbox__checkmark");k.setAttribute("viewBox","0 0 24 24");h.appendChild(k);var l=document.createElementNS("http://www.w3.org/2000/svg","path");l.classList.add("mdc-checkbox__checkmark-path");l.setAttribute("fill","none");l.setAttribute("d","M1.73,12.91 8.1,19.28 22.79,4.59");k.appendChild(l);k=document.createElement("div"); k.classList.add("mdc-checkbox__mixedmark");h.appendChild(k);h=document.createElement("div");h.classList.add("mdc-checkbox__ripple");g.appendChild(h);h=document.createElement("span");h.classList.add("dfs-focus-ring");g.appendChild(h);this.j=document.createElement("label");this.j.id=a+"-label";this.j.classList.add("dfs-checkbox-label");pg(this.j,b);this.j.setAttribute("for",a);d?(this.root.classList.add("checkbox-with-sublabel"),b=document.createElement("div"),b.classList.add("dfs-checkbox-label-container"), b.classList.add("vertical-container"),b.appendChild(this.j),this.l=document.createElement("label"),this.l.id=a+"-sublabel",this.l.classList.add("dfs-checkbox-sublabel"),this.l.classList.add("gmTypographyBody2"),pg(this.l,e),b.appendChild(this.l),f.appendChild(b)):f.appendChild(this.j);this.root.appendChild(f);this.m=new Rj(g);(new ak(f)).input=this.m;c&&(this.m.checked=!0);this.input.addEventListener("change",function(){},!1)}ck.prototype.Zb=function(){return this.m.checked};ck.prototype.focus=function(){this.input.focus()}; ck.prototype.layout=function(){this.m.ea.layout()};var dk={lc:"mdc-linear-progress--closed",ud:"mdc-linear-progress--closed-animation-off",oc:"mdc-linear-progress--indeterminate",ci:"mdc-linear-progress--reversed",hc:"mdc-linear-progress--animation-ready"},ek={La:"aria-hidden",pd:"aria-valuemax",qd:"aria-valuemin",jc:"aria-valuenow",cg:".mdc-linear-progress__buffer-bar",zd:"flex-basis",Jg:".mdc-linear-progress__primary-bar"};function fk(a){J.call(this,Object.assign({},fk.m,a));this.m=null}t(fk,J);n=fk.prototype;n.init=function(){var a=this;this.l=!this.j.hasClass(dk.oc);this.j.addClass(dk.hc);this.progress=0;this.o=1;this.m=this.j.be(function(b){if(!a.l){b=v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c.contentRect&&gk(a,c.contentRect.width)}});!this.l&&this.m&&gk(this,this.j.sa())}; n.xf=function(a){(this.l=a)?(this.j.removeClass(dk.oc),this.j.setAttribute(ek.jc,this.progress.toString()),this.j.setAttribute(ek.pd,"1"),this.j.setAttribute(ek.qd,"0"),hk(this,this.progress),this.j.Yc(ek.zd,this.o*100+"%")):(this.m&&gk(this,this.j.sa()),this.j.addClass(dk.oc),this.j.removeAttribute(ek.jc),this.j.removeAttribute(ek.pd),this.j.removeAttribute(ek.qd),hk(this,1),this.j.Yc(ek.zd,"100%"))};n.cd=function(a){this.progress=a;this.l&&(hk(this,a),this.j.setAttribute(ek.jc,a.toString()))}; n.open=function(){this.j.removeClass(dk.lc);this.j.removeClass(dk.ud);this.j.removeAttribute(ek.La)};n.close=function(){this.j.addClass(dk.lc);this.j.setAttribute(ek.La,"true")};function hk(a,b){a.j.Df(typeof window!=="undefined"?yg():"transform","scaleX("+b+")")} function gk(a,b){var c=b*.8367142,d=b*2.00611057,e=b*.37651913,f=b*.84386165;b*=1.60277782;a.j.Z("--mdc-linear-progress-primary-half",c+"px");a.j.Z("--mdc-linear-progress-primary-half-neg",-c+"px");a.j.Z("--mdc-linear-progress-primary-full",d+"px");a.j.Z("--mdc-linear-progress-primary-full-neg",-d+"px");a.j.Z("--mdc-linear-progress-secondary-quarter",e+"px");a.j.Z("--mdc-linear-progress-secondary-quarter-neg",-e+"px");a.j.Z("--mdc-linear-progress-secondary-half",f+"px");a.j.Z("--mdc-linear-progress-secondary-half-neg", -f+"px");a.j.Z("--mdc-linear-progress-secondary-full",b+"px");a.j.Z("--mdc-linear-progress-secondary-full-neg",-b+"px");a.j.removeClass(dk.hc);a.j.sb();a.j.addClass(dk.hc)} p.Object.defineProperties(fk,{j:{configurable:!0,enumerable:!0,get:function(){return dk}},l:{configurable:!0,enumerable:!0,get:function(){return ek}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},be:function(){return null},sb:function(){},sa:function(){return 0},hasClass:function(){return!1},Yc:function(){return null},Df:function(){return null},Z:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}}}});function ik(){K.apply(this,arguments)}t(ik,K);ik.prototype.open=function(){this.j.open()};ik.prototype.close=function(){this.j.close()};ik.prototype.ha=function(){var a=this;this.root.addEventListener("transitionend",function(){var b=a.j;b.j.hasClass(dk.lc)&&b.j.addClass(dk.ud)})}; ik.prototype.P=function(){var a=this;return new fk({addClass:function(b){a.root.classList.add(b)},sb:function(){a.root.getBoundingClientRect()},Yc:function(b,c){var d=a.root.querySelector(fk.l.cg);d&&d.style.setProperty(b,c)},Df:function(b,c){var d=a.root.querySelector(fk.l.Jg);d&&d.style.setProperty(b,c)},hasClass:function(b){return a.root.classList.contains(b)},removeAttribute:function(b){a.root.removeAttribute(b)},removeClass:function(b){a.root.classList.remove(b)},setAttribute:function(b,c){he(a.root, b,c)},Z:function(b,c){a.root.style.setProperty(b,c)},be:function(b){var c=window.ResizeObserver;return c?(b=new c(b),b.observe(a.root),b):null},sa:function(){return a.root.offsetWidth}})};p.Object.defineProperties(ik.prototype,{l:{configurable:!0,enumerable:!0,set:function(a){this.j.xf(a)}},progress:{configurable:!0,enumerable:!0,set:function(a){this.j.cd(a)}}});function jk(a){function b(g){var h=document.createElement("div");h.classList.add("mdc-linear-progress__bar");h.classList.add("mdc-linear-progress__"+g+"-bar");g=document.createElement("span");g.classList.add("mdc-linear-progress__bar-inner");h.appendChild(g);g=document.createElement("div");g.classList.add("dfsRibbing");h.appendChild(g);d.appendChild(h)}var c=c===void 0?!0:c;this.root=a;this.root.classList.add("GmLinearProgress");var d=document.createElement("div");d.id=this.root.id+"-linear-progress"; d.classList.add("mdc-linear-progress");d.setAttribute("role","progressbar");a=document.createElement("div");a.classList.add("mdc-linear-progress__buffer");var e=document.createElement("div");e.classList.add("mdc-linear-progress__buffer-bar");var f=document.createElement("div");f.classList.add("mdc-linear-progress__buffer-dots");a.appendChild(e);a.appendChild(f);d.appendChild(a);b("primary");b("secondary");this.j=new ik(d);this.root.appendChild(d);this.j.l=c} jk.prototype.cd=function(a){a===null&&(a=0);a<0||a>1?console.error("Invalid progress value: %i, should be between [0, 1]",a):(a>0&&(this.root.querySelector(".dfsRibbing").style.transform="scaleX("+1/a+")"),this.j.progress=a)};jk.prototype.xf=function(a){this.j.l=a};jk.prototype.Z=function(a){this.root.classList.remove("dfsLinearProgressWarning");this.root.classList.remove("dfsLinearProgressRibbed");switch(a){case 1:this.root.classList.add("dfsLinearProgressWarning");break;case 2:this.root.classList.add("dfsLinearProgressRibbed")}};function kk(a){var b=this;this.l=a;this.j=[];$(document).on("keydown",function(c){if(c.keyCode===27)if(b.j.length>0)b.j[b.j.length-1]();else b.l()})};function lk(a,b,c){var d=this;this.root=a;this.j=b;this.root.data("event_group_id",xc(this.j,7,void 0,ec));xc(this.j,8)!=null||C(this.j,14)?(this.root.addClass("activity-clickable"),this.root.on("click",function(){mk(d.j)})):Hf(2,"Did not set click event on activity element for item: "+nk(this.j));this.l=c;ok(this,this.j)}lk.prototype.remove=function(){this.root.remove()}; function ok(a,b){if(Jc(b,1)){var c=a.j,d=C(b,1);Ic(c,1,d);a.root.find(".activity-description-primary").text(C(a.j,1)||"")}Jc(b,2)&&(c=a.j,d=C(b,2),Ic(c,2,d),a.root.find(".activity-description-secondary").text(C(a.j,2)||""));Jc(b,3)&&(c=a.j,d=C(b,3),Ic(c,3,d),c=C(a.j,3),a.root.find(".activity-filetype-icon").attr("src",c||"ic_file_black_24dp.svg"),c?a.root.find(".activity-filetype-icon").removeClass("blackIcon"):a.root.find(".activity-filetype-icon").addClass("blackIcon"));E(b,4)&&(c=a.j,d=B(b,4), Hc(c,4,d),pk(a));Bb(fc(b,6))!=null&&(c=a.j,d=Gc(b,6),ic(c,6,d==null?d:Ab(d)),pk(a));xc(b,8)!=null&&(c=a.j,d=xc(b,8),ic(c,8,Jb(d)),pk(a));C(b,14)&&(c=a.j,d=C(b,14)||"",Ic(c,14,d),pk(a));xc(b,13)!=null&&(c=a.j,b=xc(b,13),ic(c,13,Jb(b)),a.root.css("order",xc(a.j,13,void 0,ec).toString()))} function pk(a){var b=B(a.j,4)||!1;a.root.find(".activity-progress-spinner").add(a.root.find(".activity-circle")).toggleClass("hidden ",!b).toggleClass("is-active",b);Gc(a.j,6)===2?N(a.root.find(".activity-completed")):P(a.root.find(".activity-completed"));P(a.root.find(".activity-queued-download").add(a.root.find(".activity-queued-upload")).attr("aria-hidden","true").removeClass("is-active"));b=null;switch(Gc(a.j,6)){case 3:b="download";a.root.find(".activity-progress-spinner").attr("aria-label", C(a.l,7)||"");break;case 4:b="upload",a.root.find(".activity-progress-spinner").attr("aria-label",C(a.l,8)||"")}b&&N(a.root.find(".activity-circle").add(a.root.find(".activity-queued-"+b)).attr("aria-hidden",String(!!B(a.j,4))).toggleClass("is-active",!!B(a.j,4)));Gc(a.j,6)!==2||xc(a.j,8)==null&&!C(a.j,14)||(a.root.unbind("click"),a.root.on("click",function(){mk(a.j)}));Gc(a.j,6)===4&&B(a.j,9)&&xc(a.j,8)!=null?qk(a,!0,a.j):(Gc(a.j,6)===2||Gc(a.j,6)===5)&&qk(a,!1);Gc(a.j,6)===6&&(a.root.addClass("activity-clickable"), a.root.on("click",function(){var c=id(new gd,new fd);H(c,S());var d=I(c);D(d,25,G);M(c)}),N(a.root.find(".activity-failed")))} function qk(a,b,c){c=c===void 0?null:c;b&&c===null?Hf(3,"toggleCancelUpload called for an item without a stableId."):a.root.find(".activity-cancel-upload-button").length<=0||(b?a.root.data("cancel_upload_shown")||(a.root.find(".activity-cancel-upload-button").on("click",function(d){d.stopPropagation();qk(a,!1);N(a.root.find(".activity-progress-spinner").attr("aria-label",C(a.l,9)||"").attr("aria-hidden","false").addClass("is-active"));P(a.root.find(".activity-queued-upload").add(a.root.find(".activity-circle")).attr("aria-hidden", "true").removeClass("is-active"));d=c;if(d===null)Hf(3,"Canceled item was missing stableId.");else{var e=id(new gd,new fd);H(e,S());var f=I(e),g=xc(d,8);qc(f,19,G,Jb(g));H(e,z(d,Kc,11));M(e)}}),a.root.hover(function(){N(a.root.find(".activity-cancel-upload-button").attr("aria-label",C(a.l,3)||"").attr("aria-hidden","false"));P(a.root.find(".activity-status").attr("aria-hidden","true"))},function(){P(a.root.find(".activity-cancel-upload-button").attr("aria-hidden","true"));N(a.root.find(".activity-status").attr("aria-hidden", "false"))}),a.root.data("cancel_upload_shown",!0)):(a.root.find(".activity-cancel-upload-button").unbind("click"),a.root.unbind("mouseenter mouseleave"),a.root.data("cancel_upload_shown",!1),P(a.root.find(".activity-cancel-upload-button").attr("aria-hidden","true")),N(a.root.find(".activity-status").attr("aria-hidden","false"))))} function mk(a){Hf(2,"Click event on activity element for item: "+nk(a));var b=id(new gd,new fd);H(b,S());var c=new ed,d=xc(a,8);ic(c,1,Jb(d));d=Mb(fc(a,14));Ic(c,3,d);d=Bb(fc(a,10));ic(c,2,d==null?d:Ab(d));d=I(b);wc(d,18,G,c);H(b,z(a,Kc,11));M(b)}function rk(a){switch(a){case 3:return"DOWNLOAD";case 4:return"UPLOAD";case 5:return"CANCEL_UPLOAD";case 2:return"COMPLETED"}return"UNDEFINED"} function nk(a){return'[Item PrimaryText="'+C(a,1)+'" SecondaryText="'+C(a,2)+'" ShowSpinner='+B(a,4)+' ItemEvent="'+rk(Gc(a,6))+'" StableId='+xc(a,8,void 0,ec)+'" CanceledUploadPath='+C(a,14)+"]"};function sk(a){var b=document.createElement("div");b.id=a.root.id+"-header";b.classList.add("notification-card-header");var c=document.createElement("img"),d=Ec(a.j);d==1?c.setAttribute("src","logo_drive_no_border.svg"):d==2?c.setAttribute("src","photos_logo_24px.svg"):d==3&&c.setAttribute("src","google_meet_icon.svg");c.setAttribute("alt",Nc(z(a.j,Lc,14))||"");c.classList.add("notification-card-logo");b.appendChild(c);c=document.createElement("div");c.innerText=Mc(z(a.j,Lc,14))||"";c.classList.add("notification-card-product-name"); c.classList.add("gmTypographyBody1");b.appendChild(c);if(a.o){var e=document.createElement("button");e.id=a.root.id+"-dismiss-button";e.classList.add("GmIconButton");e.classList.add("SmallIconButton");e.classList.add("mdc-icon-button");e.onclick=a.o;c=document.createElement("div");c.classList.add("mdc-icon-button__ripple");e.appendChild(c);c=document.createElement("img");c.setAttribute("src","ic_close_grey600_24dp.svg");c.classList.add("notification-card-close-icon");c.classList.add("mdc-icon-button__icon"); c.classList.add("greyIcon");c.setAttribute("alt",Oc(z(a.j,Lc,14))||"");e.appendChild(c);document.getElementById(a.root.id).onmouseenter=function(){e.style.display="block"};document.getElementById(a.root.id).onmouseleave=function(){e.style.display="none"};e.style.display="none";b.appendChild(e)}return b} function tk(a,b,c){var d=document.createElement("button");d.classList.add("mdc-button");d.classList.add("GmButtonText");d.classList.add("notification-card-button");d.onclick=function(f){f.stopPropagation();a.m&&a.m(a.id,b,a.l?a.l.Zb():!1)};var e=document.createElement("div");e.classList.add("mdc-button__ripple");d.appendChild(e);e=document.createElement("span");e.innerText=c;e.classList.add("mdc-button__label");d.appendChild(e);c=document.createElement("span");c.classList.add("dfs-focus-ring");d.appendChild(c); return d}function uk(a,b,c,d){b==c?(a=tk(a,b,d),a.classList.add("GmFillButton"),a.classList.add("GmTextLabelButton"),a.classList.remove("GmButtonText")):a=tk(a,b,d);Ne(a);return a} function vk(a,b,c,d){c=c===void 0?null:c;d=d===void 0?null:d;var e=e===void 0?null:e;this.root=a;this.root.classList.add("notification-card");this.j=b;this.m=c;this.v=d;this.o=e;y(this.j,Lc,14)&&this.root.appendChild(sk(this));c=a.id;a=C(this.j,2)||"";b=document.createElement("div");b.id=c+"-title-container";b.classList.add("notification-card-title-container");c=document.createElement("div");c.classList.add("gmTypographySubhead2");c.classList.add("notification-card-title");pg(c,a);b.appendChild(c); this.title=b;this.root.appendChild(this.title);a=document.createElement("div");a.classList.add("notification-card-message-container");b=v(Fc(this.j,3));for(c=b.next();!c.done;c=b.next())c=c.value,d=document.createElement("div"),d.classList.add("notification-card-message"),d.classList.add("gmTypographyCaption"),pg(d,c),a.appendChild(d);this.root.appendChild(a);b=document.createElement("div");a.appendChild(b);Jc(this.j,8)&&(this.l=new ck(b,C(this.j,8)||"",B(this.j,9)||!1));if(Jc(this.j,4)||Jc(this.j, 5)||Jc(this.j,6))a=b.appendChild,c=document.createElement("div"),c.classList.add("notification-card-button-container"),d=0,Cb(fc(this.j,12))!=null&&(d=Cb(fc(this.j,12,void 0,ec))||0,d>2&&(d=0)),Jc(this.j,4)&&c.appendChild(uk(this,0,d,C(this.j,4)||"")),Jc(this.j,5)&&c.appendChild(uk(this,1,d,C(this.j,5)||"")),Jc(this.j,6)&&c.appendChild(uk(this,2,d,C(this.j,6)||"")),a.call(b,c);wk(this);this.id=xc(this.j,1)!=null?Eh(yc(this.j,1))||0:-1} function xk(a,b,c){var d=document.createElement("span");d.classList.add("notification-card-badge");a.title.appendChild(d);a=b?"notification-card-badge--red":"notification-card-badge--gray";d.classList.add("notification-card-badge");d.classList.add(a);d.setAttribute("aria-label",c)}vk.prototype.Xb=function(){return this.j.Xb()||0};vk.prototype.Ic=function(){return Eh(yc(this.j,11))||0};function yk(a,b){a.root.style.order=b}vk.prototype.remove=function(){this.root.remove()}; function wk(a){for(var b=v(a.root.querySelectorAll("a")),c=b.next();!c.done;c=b.next())c=c.value,c.setAttribute("href","javascript: void(0)"),a.v&&(c.onclick=function(d){d.stopPropagation();a.v(a.id,d.target.attributes["data-file"].value)})};function zk(){var a=$("#notification-drawer"),b=$("#notifications-tab-button"),c=$("#card-template");this.root=a;this.M=b;this.S=c;this.l=this.root.find("#important-notifications-header");this.v=this.root.find("#other-notifications-header");this.F=this.root.find("#important-notifications");this.G=this.root.find("#other-notifications");this.m=[];this.A=[];this.C=new Map;this.I=this.root.find("#empty-notification-drawer");this.o=this.B=0;this.j=new ud} function Ak(a,b){var c,d,e,f,g,h,k,l,m;ya(new xa(new ta(function(r){if(r.j==1){if(!b)return r.return();c=a.F.children().length+A(b,Pc,1).length;d=a.G.children().length+A(b,Pc,2).length;e=c>0&&d>0;f=v(A(b,Pc,1));for(g=f.next();!g.done;g=f.next())h=g.value,Bk(a,h);k=v(A(b,Pc,2));for(l=k.next();!l.done;l=k.next())m=l.value,Bk(a,m);var u=Ck(a,e);r.j=2;return{value:u}}Dk(a);Ek(a);Fk(a);r.j=0})))} function Ck(a,b){if(!a.l.hasClass("hidden")&&!b)return Gk(a.l),Gk(a.v);a.l.removeAttr("style");a.v.removeAttr("style");b?(N(a.l),N(a.v)):(P(a.l),P(a.v));return Promise.resolve()} function Bk(a,b){var c=Gc(b,7)>2,d=c?a.F:a.G,e=sg(a.S).removeAttr("id");e.attr("id","notification-card-"+(Eh(yc(b,1))||0));e.data("id",Eh(yc(b,1))||0);var f=new vk(e[0],b,function(g,h,k){var l=Y();H(l,S());var m=new Qc;ic(m,1,Jb(h));Hc(m,2,k);h=new Sc;ic(h,1,Jb(g));wc(h,2,Tc,m);g=I(l);wc(g,20,G,h);M(l)},function(g,h){var k=Y();H(k,S());var l=new Rc;Ic(l,1,h);h=new Sc;ic(h,1,Jb(g));wc(h,3,Tc,l);g=I(k);wc(g,20,G,h);M(k)});B(b,10)&&(b="",c?a.B++:(a.o++,b=C(a.j,7)),xk(f,c,b));N(e);d.append(e);(c?a.m: a.A).push(f);a.C.set(Eh(yc(f.j,1))||0,f)}function Hk(a,b){var c=a.C.get(Eh(yc(b,1))||0);if(c){var d=Gc(c.j,7)>2;E(b,10)&&!B(b,10)&&(d?a.B--:a.o--,c.title.querySelector(".notification-card-badge").remove())}} function Ik(a,b){var c,d,e,f,g,h,k,l,m;ya(new xa(new ta(function(r){if(r.j==1){c=v(A(b,Pc,1));for(d=c.next();!d.done;d=c.next())e=d.value,Jk(a,e);f=v(A(b,Pc,2));for(g=f.next();!g.done;g=f.next())h=g.value,Jk(a,h);k=a.F.children().length;l=a.G.children().length;m=k>0&&l>0;var u=Ck(a,m);r.j=2;return{value:u}}Dk(a);Ek(a);Fk(a);r.j=0})))} function Jk(a,b){var c=Gc(b,7)>2,d=Eh(yc(b,1))||0;B(b,10)&&(c?a.B--:a.o--);b=c?a.m:a.A;for(c=0;c<b.length;c++){var e=b[c];(Eh(yc(e.j,1))||0)==d&&(e.remove(),b.splice(c,1))}a.C.delete(d)}function Dk(a){function b(f,g){return g.Xb()-f.Xb()||g.Ic()-f.Ic()}a.m.sort(b);a.A.sort(b);for(var c=1,d=v(a.m),e=d.next();!e.done;e=d.next())yk(e.value,c++);c=1;a=v(a.A);for(d=a.next();!d.done;d=a.next())yk(d.value,c++)}function Fk(a){a.m.length==0&&a.A.length==0?N(a.I):P(a.I)} function Ek(a){var b=a.M.find(".new-notification-badge");a.B>0?(b.toggleClass("new-notification-badge--red",!0),b.toggleClass("new-notification-badge--gray",!1),b.attr("aria-label",C(a.j,3)||"")):a.o>0?(b.toggleClass("new-notification-badge--red",!1),b.toggleClass("new-notification-badge--gray",!0),b.attr("aria-label",C(a.j,4)||"")):(b.toggleClass("new-notification-badge--red",!1),b.toggleClass("new-notification-badge--gray",!1),b.attr("aria-label",C(a.j,2)||""))} function Gk(a){return new Promise(function(b){a.animate({opacity:0},250,function(){a.slideUp(250,function(){b()})})})};function Kk(a,b,c){this.root=a;this.j=c;this.root.data("root_id",Bc(this.j,6));this.A=z(this.j,Kc,12);this.B=Bc(this.j,6);Bc(this.j,9);Ac(this.j,13)?(P(this.root.find("#usb-icon")),N(this.root.find("#folder-icon"))):(N(this.root.find("#usb-icon")),P(this.root.find("#folder-icon")));this.o=new jk(this.root.find("#slurp-progress-bar")[0]);this.root.find(".slurp-progress-device-name").text(C(this.j,1)||"");this.v=Lk(this,b);this.m=Mk(this,b);Lf(this.m.root);this.l=Nk(this,b);Lf(this.l.root);Ok(this)} Kk.prototype.remove=function(){this.root.remove()}; function Ok(a){var b=a.j;b='[SlurpProgress PrimaryText="'+C(b,1)+'" MediaId="'+C(b,2)+'" description="'+C(b,3)+'" ItemsUploaded='+Bc(b,4)+" TotalItems="+Bc(b,5)+"]";Hf(1,"Updating slurp progress: "+b);a.root.find(".slurp-progress-description").text(C(a.j,3)||"");a.o.cd(Bc(a.j,4)/Bc(a.j,5));Ac(a.j,8)?(a.o.root.classList.add("dfsLinearProgressDisabled"),Lf(a.v.root),Lf(a.m.root),Rh(a.l)):Ac(a.j,10)&&(Lf(a.v.root),b=a.m,Kf(b.root),b.layout(),Lf(a.l.root));a.root.css("order",xc(a.j,11,void 0,ec).toString())} function Lk(a,b){var c=new Hj;c.type="text";c.j=function(){var d=id(new gd,new fd);H(d,a.A);var e=I(d);qc(e,26,G,Jb(a.B));M(d)};b&&(c.label=C(b,1)||"");return new Fj(a.root.find(".slurp-progress-stop-button")[0],c)}function Mk(a,b){var c=new Hj;c.type="text";c.j=function(){P(a.root);Pk(a.j)};b&&(c.label=C(b,2)||"");return new Fj(a.root.find(".slurp-progress-ok-button")[0],c)} function Nk(a,b){var c=new Uh;c.j="ic_close_grey600_24dp.svg";c.color="grey";c.ba=["SmallIconButton"];c.l=function(){P(a.root);Pk(a.j)};b&&(c.m=C(b,3)||"");return new Oh(a.root.find(".slurp-progress-close-button")[0],c)};function Qk(){this.root=$("#status-dialog-activity-pane");this.m=!0;this.v=this.root.find("#slurp-progress-list");this.B=this.root.find("#activity-list");this.A=this.root.find("#error-list-banner");this.C=this.root.find("#error-list-banner-label");this.o=null;this.l=new Map;this.j=new Map} function Rk(a,b){Jc(b,11)&&(b=Dc(b)||"",qg(a.C,b),a.root.find("#open-error-list-dialog-link").on("click",function(){var c=Y();H(c,S());var d=I(c);D(d,25,G);M(c)}).attr("href","javascript: void(0)"),b?N(a.A):P(a.A))} function Sk(a,b){b=v(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=a.j.get(Fh(Cc(d))||0);if(Jc(d,3)){var e=c.j,f=C(d,3);Ic(e,3,f)}xc(d,4)!=null&&(e=c.j,f=Bc(d,4),ic(e,4,Jb(f)));xc(d,5)!=null&&(e=c.j,f=Bc(d,5),ic(e,5,Jb(f)));E(d,8)&&(e=c.j,f=Ac(d,8),Hc(e,8,f));E(d,10)&&(e=c.j,f=Ac(d,10),Hc(e,10,f));xc(d,7)!=null&&(e=c.j,d=xc(d,7),ic(e,7,Jb(d)));Ok(c)}}function Tk(a,b){b=v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,ok(a.l.get(Eh(yc(c,7))||0),c)} function Uk(a){a.j.size>0?N(a.v):P(a.v);!a.m||a.j.size>0||a.l.size>0?P($("#empty-activity-filler")):a.m&&N($("#empty-activity-filler"))}function Pk(a){var b=Y();H(b,S());var c=I(b),d=Fh(Cc(a))||0;qc(c,28,G,Jb(d));M(b);xc(a,7)!=null&&(c=I(b),a=Eh(yc(a,7))||0,qc(c,28,G,Jb(a)),M(b))};var Vk={ta:"mdc-tab--active"},Wk={nb:"aria-selected",eb:".mdc-tab__content",Cd:"MDCTab:interacted",di:".mdc-tab__ripple",Md:"tabIndex",Ug:".mdc-tab-indicator"};function Xk(a){J.call(this,Object.assign({},Xk.m,a))}t(Xk,J);Xk.prototype.isActive=function(){return this.j.hasClass(Vk.ta)}; p.Object.defineProperties(Xk,{j:{configurable:!0,enumerable:!0,get:function(){return Vk}},l:{configurable:!0,enumerable:!0,get:function(){return Wk}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Y:function(){},Sd:function(){},ie:function(){},bf:function(){},De:function(){return 0},hb:function(){return 0},we:function(){return 0},xe:function(){return 0},focus:function(){},T:function(){return!1}}}}});var Yk={ta:"mdc-tab-indicator--active",kg:"mdc-tab-indicator--fade",Kd:"mdc-tab-indicator--no-transition"},Zk={eb:".mdc-tab-indicator__content"};function $k(a){J.call(this,Object.assign({},$k.m,a))}t($k,J);$k.prototype.Aa=function(){return this.j.Aa()};p.Object.defineProperties($k,{j:{configurable:!0,enumerable:!0,get:function(){return Yk}},l:{configurable:!0,enumerable:!0,get:function(){return Zk}},m:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},Aa:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},Zc:function(){}}}}});function al(){$k.apply(this,arguments)}t(al,$k);al.prototype.l=function(){this.j.addClass($k.j.ta)};al.prototype.m=function(){this.j.removeClass($k.j.ta)};function bl(){$k.apply(this,arguments)}t(bl,$k);bl.prototype.l=function(a){if(a){var b=this.Aa(),c=a.width/b.width;a=a.left-b.left;this.j.addClass($k.j.Kd);this.j.Zc("transform","translateX("+a+"px) scaleX("+c+")");this.Aa();this.j.removeClass($k.j.Kd);this.j.addClass($k.j.ta);this.j.Zc("transform","")}else this.j.addClass($k.j.ta)};bl.prototype.m=function(){this.j.removeClass($k.j.ta)};function cl(){K.apply(this,arguments)}t(cl,K);cl.prototype.ua=function(){this.content=this.root.querySelector($k.l.eb)};cl.prototype.Aa=function(){return this.j.Aa()};cl.prototype.P=function(){var a=this,b={addClass:function(c){a.root.classList.add(c)},removeClass:function(c){a.root.classList.remove(c)},Aa:function(){return a.content.getBoundingClientRect()},Zc:function(c,d){a.content.style.setProperty(c,d)}};return this.root.classList.contains($k.j.kg)?new al(b):new bl(b)};function dl(){K.apply(this,arguments)}t(dl,K);dl.prototype.ua=function(a,b){a=a===void 0?function(d,e){return new Me(d,e)}:a;b=b===void 0?function(d){return new cl(d)}:b;this.id=this.root.id;var c=new L(Oe(this));this.ea=a(this.root,c);this.l=b(this.root.querySelector(Xk.l.Ug));this.content=this.root.querySelector(Xk.l.eb)};dl.prototype.ha=function(){var a=this;this.m=function(){a.j.j.bf()};fe(this,"click",this.m)}; dl.prototype.P=function(){var a=this;return new Xk({Y:function(b,c){he(a.root,b,c)},addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},hasClass:function(b){return a.root.classList.contains(b)},Sd:function(b){a.l.j.l(b)},ie:function(){a.l.j.m()},bf:function(){ge(a,Xk.l.Cd,{Lh:a.id},!0)},De:function(){return a.root.offsetLeft},hb:function(){return a.root.offsetWidth},we:function(){return a.content.offsetLeft},xe:function(){return a.content.offsetWidth}, focus:function(){a.root.focus()},T:function(){return a.root===document.activeElement}})};dl.prototype.focus=function(){this.root.focus()};p.Object.defineProperties(dl.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this.j.isActive()}}});var Z={Db:"ArrowLeft",Eb:"ArrowRight",mc:"End",Gb:"Enter",Bd:"Home",Rb:"Space",Tg:"MDCTabBar:activated",Vg:".mdc-tab-scroller",Nd:".mdc-tab"},el={ag:37,bg:39,ig:35,jg:13,Hb:20,pg:36,Sg:32};var fl=new Set;fl.add(Z.Db);fl.add(Z.Eb);fl.add(Z.mc);fl.add(Z.Bd);fl.add(Z.Gb);fl.add(Z.Rb);var gl=new Map;gl.set(el.ag,Z.Db);gl.set(el.bg,Z.Eb);gl.set(el.ig,Z.mc);gl.set(el.pg,Z.Bd);gl.set(el.jg,Z.Gb);gl.set(el.Sg,Z.Rb);function hl(a){J.call(this,Object.assign({},hl.m,a))}t(hl,J); function il(a,b){if(b>=0&&b<a.j.Sa())if(b===0)a.j.scrollTo(0);else if(b===a.j.Sa()-1)a.j.scrollTo(a.j.ub());else if(a.U()){var c=a.j.wa(),d=a.j.hb(),e=a.j.ub(),f=a.j.wb(b);var g=e-f.Uc-d-c;f=e-f.Vc-c;var h=g+f;g=g>0||h>0?b+1:f<0||h<0?b-1:-1;g>=0&&g<a.j.Sa()&&(f=a.j.wb(g),d=e-f.Bc-c-d+el.Hb,a.j.Ua(g>b?Math.max(d,0):Math.min(e-f.Ac-c-el.Hb,0)))}else c=a.j.wa(),e=a.j.hb(),g=a.j.wb(b),d=g.Uc-c,g=g.Vc-c-e,f=d+g,d=d<0||f<0?b-1:g>0||f>0?b+1:-1,d>=0&&d<a.j.Sa()&&(g=a.j.wb(d),f=g.Bc-c-el.Hb,a.j.Ua(d<b?Math.min(f, 0):Math.max(g.Ac-c-e+el.Hb,0)))}hl.prototype.U=function(){return this.j.U()}; p.Object.defineProperties(hl,{l:{configurable:!0,enumerable:!0,get:function(){return Z}},o:{configurable:!0,enumerable:!0,get:function(){return el}},m:{configurable:!0,enumerable:!0,get:function(){return{scrollTo:function(){},Ua:function(){},wa:function(){return 0},ub:function(){return 0},hb:function(){return 0},U:function(){return!1},Wc:function(){},Vd:function(){},le:function(){},re:function(){},Ie:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},wb:function(){return{Uc:0,Vc:0, Ac:0,Bc:0}},Fe:function(){return-1},Ae:function(){return-1},Be:function(){return-1},Sa:function(){return 0},gf:function(){}}}}});var jl={fc:"mdc-tab-scroller--animating",Lg:"mdc-tab-scroller__scroll-area--scroll",Mg:"mdc-tab-scroller__test"},kl={Qf:".mdc-tab-scroller__scroll-area",eb:".mdc-tab-scroller__scroll-content"};function ll(a){this.j=a};function ml(){ll.apply(this,arguments)}t(ml,ll);ml.prototype.m=function(){return Math.round(nl(this).right-this.j.ca())};ml.prototype.v=function(a){a=ol(this,nl(this).right-a);return{Ca:a,za:a-this.j.ca()}};ml.prototype.o=function(a){var b=this.j.ca();a=ol(this,b-a);return{Ca:a,za:a-b}};ml.prototype.l=function(a){return a};function nl(a){return{left:0,right:a.j.Ea()-a.j.Da()}}function ol(a,b){a=nl(a);return Math.min(Math.max(a.left,b),a.right)};function pl(){ll.apply(this,arguments)}t(pl,ll);pl.prototype.m=function(a){return Math.round(a-this.j.ca())};pl.prototype.v=function(a){a=Math.max(Math.min(0,-a),this.j.Da()-this.j.Ea());return{Ca:a,za:a-this.j.ca()}};pl.prototype.o=function(a){var b=this.j.ca();a=Math.max(Math.min(0,b-a),this.j.Da()-this.j.Ea());return{Ca:a,za:a-b}};pl.prototype.l=function(a,b){return a-b};function ql(){ll.apply(this,arguments)}t(ql,ll);ql.prototype.m=function(a){return Math.round(this.j.ca()-a)};ql.prototype.v=function(a){a=Math.min(Math.max(0,a),this.j.Ea()-this.j.Da());return{Ca:a,za:this.j.ca()-a}};ql.prototype.o=function(a){var b=this.j.ca();a=Math.min(Math.max(0,b+a),this.j.Ea()-this.j.Da());return{Ca:a,za:b-a}};ql.prototype.l=function(a,b){return a+b};function rl(a){J.call(this,Object.assign({},rl.m,a));this.l=!1}t(rl,J);n=rl.prototype;n.init=function(){var a=this.j.fe();this.j.Ef("margin-bottom",-a+"px");this.j.Zd(rl.j.Lg)};n.wa=function(){if(this.U()){var a=sl(this);return tl(this).m(a)}a=sl(this);return this.j.ca()-a};n.Ua=function(a){if(a!==0){var b=this.animate;if(this.U())var c=tl(this).o(a);else c=this.wa(),a=Math.min(Math.max(0,a+c),this.j.Ea()-this.j.Da()),c={Ca:a,za:a-c};b.call(this,c)}}; n.scrollTo=function(a){if(this.U()){var b=tl(this).v(a);this.animate(b)}else b=this.wa(),a=Math.min(Math.max(0,a),this.j.Ea()-this.j.Da()),this.animate({Ca:a,za:a-b})};function tl(a){if(!a.m){var b=a.j.ca();a.j.kb(b-1);var c=a.j.ca();if(c<0)a.j.kb(b),b=new pl(a.j);else{var d=a.j.zc(),e=a.j.ge();d=Math.round(e.right-d.right);a.j.kb(b);b=d===c?new ql(a.j):new ml(a.j)}a.m=b}return a.m} function sl(a){a=a.j.Mc("transform");if(a==="none")return 0;a=/\((.+?)\)/.exec(a);if(!a)return 0;a=v(a[1].split(","));a.next();a.next();a.next();a.next();var b=a.next().value;a.next();return parseFloat(b)}n.animate=function(a){var b=this;a.za!==0&&(ul(this),this.j.kb(a.Ca),this.j.cc("transform","translateX("+a.za+"px)"),this.j.zc(),requestAnimationFrame(function(){b.j.addClass(rl.j.fc);b.j.cc("transform","none")}),this.l=!0)}; function ul(a){a.l=!1;var b=sl(a);var c=a.j.ca();b=a.U()?tl(a).l(c,b):c-b;a.j.removeClass(rl.j.fc);a.j.cc("transform","translateX(0px)");a.j.kb(b)}n.U=function(){return this.j.Mc("direction")==="rtl"}; p.Object.defineProperties(rl,{j:{configurable:!0,enumerable:!0,get:function(){return jl}},l:{configurable:!0,enumerable:!0,get:function(){return kl}},m:{configurable:!0,enumerable:!0,get:function(){return{oe:function(){return!1},addClass:function(){},removeClass:function(){},Zd:function(){},Ef:function(){},cc:function(){},Mc:function(){return""},kb:function(){},ca:function(){return 0},Ea:function(){return 0},Da:function(){return 0},zc:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}}, ge:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},fe:function(){return 0}}}}});var vl;function wl(){K.apply(this,arguments)}t(wl,K);n=wl.prototype;n.ua=function(){this.area=this.root.querySelector(rl.l.Qf);this.content=this.root.querySelector(rl.l.eb)}; n.ha=function(){var a=this;this.l=function(){var b=a.j;b.l&&ul(b)};this.m=function(b){var c=a.j;b=b.target;c.l&&c.j.oe(b,rl.l.eb)&&(c.l=!1,c.j.removeClass(rl.j.fc))};this.area.addEventListener("wheel",this.l,le());this.area.addEventListener("touchstart",this.l,le());this.area.addEventListener("pointerdown",this.l,le());this.area.addEventListener("mousedown",this.l,le());this.area.addEventListener("keydown",this.l,le());this.content.addEventListener("transitionend",this.m)}; n.P=function(){var a=this;return new rl({oe:function(b,c){return oe(b,c)},addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},Zd:function(b){a.area.classList.add(b)},Ef:function(b,c){a.area.style.setProperty(b,c)},cc:function(b,c){a.content.style.setProperty(b,c)},Mc:function(b){return window.getComputedStyle(a.content).getPropertyValue(b)},kb:function(b){return a.area.scrollLeft=b},ca:function(){return a.area.scrollLeft},Ea:function(){return a.content.offsetWidth}, Da:function(){return a.area.offsetWidth},zc:function(){return a.area.getBoundingClientRect()},ge:function(){return a.content.getBoundingClientRect()},fe:function(){var b=document;var c;if((c=c===void 0?!0:c)&&typeof vl!=="undefined")b=vl;else{var d=b.createElement("div");d.classList.add(jl.Mg);b.body.appendChild(d);var e=d.offsetHeight-d.clientHeight;b.body.removeChild(d);c&&(vl=e);b=e}return b}})};n.wa=function(){return this.j.wa()};n.ub=function(){return this.content.offsetWidth};n.Ua=function(a){this.j.Ua(a)}; n.scrollTo=function(a){this.j.scrollTo(a)};var xl=hl.l,yl=0;function zl(){K.apply(this,arguments)}t(zl,K);zl.prototype.ua=function(a,b){a=a===void 0?function(c){return new dl(c)}:a;b=b===void 0?function(c){return new wl(c)}:b;this.l=Al(this,a);this.m=Bl(this,b)}; zl.prototype.ha=function(){var a=this;this.v=function(c){var d=a.j;d.j.Wc(d.j.Be(c.detail.Lh))};this.o=function(c){var d=a.j;var e=fl.has(c.key)?c.key:gl.get(c.keyCode);if(e!==void 0){e===Z.Rb||e===Z.Gb||c.preventDefault();var f=d.j.Ae();if(e===Z.Rb||e===Z.Gb)d.j.Wc(f);else{var g=d.U();c=d.j.Sa()-1;var h=e===Z.Db&&!g||e===Z.Eb&&g;g=e===Z.Eb&&!g||e===Z.Db&&g;f=e===Z.mc?c:h?f-1:g?f+1:0;f<0?f=c:f>c&&(f=0);e=f;d.j.re(e);il(d,e)}}};fe(this,Xk.l.Cd,this.v);fe(this,"keydown",this.o);for(var b=0;b<this.l.length;b++)if(this.l[b].active){il(this.j, b);break}}; zl.prototype.P=function(){var a=this;return new hl({scrollTo:function(b){a.m.scrollTo(b)},Ua:function(b){a.m.Ua(b)},wa:function(){return a.m.wa()},ub:function(){return a.m.ub()},hb:function(){return a.root.offsetWidth},U:function(){return window.getComputedStyle(a.root).getPropertyValue("direction")==="rtl"},Wc:function(b){var c=a.j,d=c.j.Fe();if(b>=0&&b<c.j.Sa()&&b!==d){if(d!==-1){c.j.le(d);var e=c.j.Ie(d)}c.j.Vd(b,e);il(c,b);c.j.gf(b)}},Vd:function(b,c){b=a.l[b].j;b.j.addClass(Vk.ta);b.j.Y(Wk.nb, "true");b.j.Y(Wk.Md,"0");b.j.Sd(c);!b.j.T()&&b.j.focus()},le:function(b){b=a.l[b].j;b.isActive()&&(b.j.removeClass(Vk.ta),b.j.Y(Wk.nb,"false"),b.j.Y(Wk.Md,"-1"),b.j.ie())},re:function(b){a.l[b].focus()},Ie:function(b){return a.l[b].l.Aa()},wb:function(b){b=a.l[b].j;var c=b.j.De(),d=b.j.we();return{Ac:c+d,Bc:c+d+b.j.xe(),Uc:c,Vc:c+b.j.hb()}},Fe:function(){for(var b=0;b<a.l.length;b++)if(a.l[b].active)return b;return-1},Ae:function(){return Array.from(a.root.querySelectorAll(xl.Nd)).indexOf(document.activeElement)}, Be:function(b){for(var c=0;c<a.l.length;c++)if(a.l[c].id===b)return c;return-1},Sa:function(){return a.l.length},gf:function(b){ge(a,xl.Tg,{index:b},!0)}})};function Al(a,b){return Array.from(a.root.querySelectorAll(xl.Nd)).map(function(c){c.id=c.id||"mdc-tab-"+ ++yl;return b(c)})}function Bl(a,b){return(a=a.root.querySelector(xl.Vg))?b(a):null};function Cl(){var a=this;rg(document.documentElement);this.menu=new Aj(this);this.G=new kk(function(){var c=Y();H(c,S());var d=I(c);D(d,32,G);M(c)});var b=document.querySelector("#tab-bar");b?(new zl(b),(b=document.querySelector("#activity-tab-button .mdc-tab-indicator"))?(this.Mb=new cl(b),this.Mb.j.l(),(b=document.querySelector("#notifications-tab-button .mdc-tab-indicator"))?(new cl(b),this.Sb=Dl(),this.l=El(),this.Ob=document.querySelector("#photos-warning-dismiss-button"),this.Ob.onclick=function(){a.B= !1;Fl()},this.Qb=document.querySelector("#photos-warning-setup-button"),this.Qb.onclick=function(){var c=Y();H(c,S());var d=I(c);D(d,34,G);M(c)},Lf(this.l.root),$("#activity-tab-button").on("click",function(){P($("#notification-drawer"));N($("#activity"));a.qa&&N($("#warning-bar"));a.M&&a.B&&N($("#photos-warning-bar"));a.aa&&N($("#info-bar"))}),$("#notifications-tab-button").on("click",function(){P($("#activity"));N($("#notification-drawer"));var c=Y();H(c,S());var d=I(c);D(d,17,G);M(c);$("#other-notifications .notification-card-badge").removeClass("notification-card-badge--gray"); c=a.C;c.o=0;Ek(c);a.qa&&P($("#warning-bar"));a.B&&P($("#photos-warning-bar"));a.aa&&P($("#info-bar"))}),this.v=Gl(this),this.Nb=Hl(),this.M=this.Na=this.B=this.aa=this.qa=!1,this.I=Il("#warning-bar-first-button",0),this.S=Il("#warning-bar-second-button",1),$("#info-bar a").on("click",function(){var c=Y();H(c,S());var d=I(c);D(d,31,G);M(c)}),this.j=this.m=null,this.Oa=!1,this.F=null,this.A=new ij(this),this.o=new Qk,this.Ma=!0,this.C=new zk):Hf(3,"Unable to find #notifications-tab-button .mdc-tab-indicator in DOM.")): Hf(3,"Unable to find #activity-tab-button .mdc-tab-indicator in DOM.")):Hf(3,"Unable to find #tab-bar in DOM.")}function Jl(a){P($("#loading-pane"));P($("#started-pane"));$(".header-bar").removeClass("small-header-bar");$(".header-bar").removeClass("accounts-view-header-bar");P($("#sign-in-pane"));P($("#pending-sign-in-pane"));Lf(a.v.root);P($("#num-accounts-label"));P($("#no-user-view"));Lf(a.l.root);P($("#account-switcher"))} function Kl(a){Lf(a.v.root);P($("#num-accounts-label"));uj(a.A);P($("#accounts-view"));N($("#account-switcher"));Rh(a.l);N($("#activity-and-notification-view"));$(".header-bar").removeClass("accounts-view-header-bar")}function yj(a){P($("#account-switcher"));Lf(a.l.root);P($("#activity-and-notification-view"));Rh(a.v);N($("#num-accounts-label"));N($("#accounts-view"));$(".header-bar").addClass("accounts-view-header-bar")}function Ll(){return $("#activity-tab-button").hasClass("mdc-tab--active")} function Il(a,b){var c=new Hj;c.type="text";c.j=function(){var d=Y();H(d,S());var e=I(d);if(b==null)var f=b;else{if(typeof b!=="number")throw Ha("int32");if(!vb(b))throw Ha("int32");f=b|0}qc(e,36,G,f);M(d)};return new Fj($(a)[0],c)}function Fl(){P($("#photos-warning-bar"));$("body").removeClass("body-overflow-y-hidden");$("#status-bar").removeClass("status-bar-fixed-at-botttom");$("#status-dialog-activity-pane").removeClass("activity-pane-pad-bottom")} Cl.prototype.Gf=function(a,b,c){a=Bd(a);b=Bd(b);c=Bd(c);Jf(a);Jf(b);if(y(a,md,1)){var d=$("#sign-in-img"),e=d.attr;var f=z(a,md,1);f=C(f,3);e.call(d,"alt",f||"")}if(y(a,zd,2)){a=z(a,zd,2);if(y(a,vd,2)&&(d=z(a,vd,2))){this.j=d;$("#place-holder-user-img").attr("alt",C(this.j,2)||"");d=this.menu;e=C(this.j,4)||"";Sh(d.j,e);Qh(this.l,C(this.j,6)||"");Sh(this.l,C(this.j,3)||"");$("#full-product-name").text(C(this.j,7)||"");Gj(this.Sb,C(this.j,8)||"");$("#activity-tab-label").text(C(this.j,9)||"");$("#photos-warning-dismiss-button-label").text(C(this.j, 18)||"");$("#photos-warning-setup-button-label").text(C(this.j,19)||"");Qh(this.v,C(this.j,12)||"");Sh(this.v,C(this.j,20)||"");$(".pending-sign-in-title").text(C(this.j,14)||"");$(".pending-sign-in-subtitle").text(C(this.j,15)||"");Gj(this.Nb,C(this.j,16)||"");$("#info-bar-message a").text(C(this.j,11)||"");$("#warning-icon").attr("aria-label",C(this.j,13)||"");d=this.C;if(e=z(this.j,ud,10))d.j=e,d.l.text(C(d.j,5)||""),d.v.text(C(d.j,6)||""),d.M.find("#notifications-tab-label").text(C(e,1)||""), d.root.find("#empty-notification-drawer-title").text(C(e,8)||""),d.root.find("#empty-notification-drawer-subtitle").text(C(e,9)||"");d=this.o;if(e=z(this.j,td,17))d.o=e,d.root.find(".activity-filetype-icon").attr("alt",C(e,2)||""),d.root.find(".activity-cancel-upload-icon").attr("alt",C(e,3)||""),d.root.find(".activity-queued-download-title").text(C(e,4)||""),d.root.find(".activity-queued-upload-title").text(C(e,5)||""),d.root.find(".activity-completed").attr("alt",C(e,6)||""),d.root.find(".activity-failed").attr("alt", C(e,14)||""),d.root.find("#empty-activity-title").text(C(e,11)||""),d.root.find("#empty-activity-subtitle").text(C(e,10)||"")}y(a,qd,1)&&(d=z(a,qd,1))&&(E(d,3)&&(this.Oa=!B(d,3))&&(this.l.j.removeAttribute("disabled"),!Mf()&&Rh(this.l)),y(d,kd,5)&&this.menu.init(z(this.j,ld,1),z(d,kd,5)));y(a,pd,3)&&Ml(this,z(a,pd,3));Bb(fc(a,4))!=null&&Nl(this,Gc(a,4));y(a,nd,5)&&(d=z(a,nd,5))&&(this.m=d,Ol(this));if(y(a,yd,6)&&(Pl(this,z(a,yd,6)),d=this.o,e=z(a,yd,6))){Rk(d,e);if(A(e,xd,10).length){f=A(e,xd,10); f=v(f);for(var g=f.next();!g.done;g=f.next())if(g=g.value,d.j.get(Fh(Cc(g))||0))Sk(d,[g]);else{var h=d.root.find("#slurp-progress-template");h=sg(h).removeAttr("id");var k=new Kk(h,z(d.o,sd,13),g);N(h);h.appendTo(d.v);d.j.set(Fh(Cc(g))||0,k)}Uk(d)}if(A(e,wd,1).length){e=A(e,wd,1);e=v(e);for(f=e.next();!f.done;f=e.next())f=f.value,d.l.get(Eh(yc(f,7))||0)?Tk(d,[f]):(g=sg(d.root.find("#activity-template")).removeAttr("id"),h=new lk(g,f,d.o),N(g),g.appendTo(d.B),d.l.set(Eh(yc(f,7))||0,h));Uk(d)}}y(a, rd,9)&&Ak(this.C,z(a,rd,9));E(a,7)&&(B(a,7)?Ql(this):Rl(this));E(a,10)&&Ac(a,10)&&Ri(this.menu.menu,"quit")}if(y(b,zd,2)){b=z(b,zd,2);y(b,pd,3)&&Ml(this,z(b,pd,3));Bb(fc(b,4))!=null&&Nl(this,Gc(b,4));y(b,nd,5)&&(a=z(b,nd,5))&&(this.m=a,Ol(this));y(b,yd,6)&&(Pl(this,z(b,yd,6)),a=this.o,d=z(b,yd,6))&&(Rk(a,d),A(d,xd,10).length&&Sk(a,A(d,xd,10)),A(d,wd,1).length&&Tk(a,A(d,wd,1)));if(y(b,rd,9)){a=this.C;d=z(b,rd,9);e=v(A(d,Pc,1));for(f=e.next();!f.done;f=e.next())Hk(a,f.value);d=v(A(d,Pc,2));for(e=d.next();!e.done;e= d.next())Hk(a,e.value);Ek(a)}E(b,8)&&(B(b,8)?(a=$("#generate-diagnostic-info"),d=this.menu,d.o=!0,Dj(d),Sl(a.hasClass("hidden"))):(a=$("#generate-diagnostic-info"),d=this.menu,d.o=!1,Dj(d),Sl(!a.hasClass("hidden"))));E(b,7)&&(B(b,7)?Ql(this):Rl(this));E(b,10)&&Ac(b,10)&&Ri(this.menu.menu,"quit")}if(y(c,zd,2)&&(b=z(c,zd,2),y(b,rd,9)&&Ik(this.C,z(b,rd,9)),y(b,yd,6)&&(c=this.o,b=z(b,yd,6)))){if(A(b,xd,10).length){a=A(b,xd,10);a=v(a);for(d=a.next();!d.done;d=a.next())d=d.value,c.j.get(Fh(Cc(d))||0).remove(), c.j.delete(Fh(Cc(d))||0);Uk(c)}if(A(b,wd,1).length){b=A(b,wd,1);b=v(b);for(a=b.next();!a.done;a=b.next())a=Eh(yc(a.value,7))||0,(d=c.l.get(a))&&d.remove(),c.l.delete(a);Uk(c)}}}; function Ml(a,b){if(b){Jc(b,2)&&$("#num-accounts-label").text(C(b,2)||"");if(y(b,jd,1)){var c=a.A,d=z(b,jd,1);d&&(c.o=d,c.l.find("#add-account-label").text(C(c.o,1)||""),c.l.find("#all-view-label").text(C(c.o,2)||""),Qh(c.G,C(d,6)||""),Sh(c.G,C(d,6)||""),c.l.find("#account-switcher-normal-view-button").attr("aria-label",C(c.o,6)||""),c.l.find("#account-switcher-all-view-button").attr("aria-label",C(c.o,6)||""),c.l.find("#disabled-add-account-label").text(C(c.o,7)||""),c.l.find("#disabled-add-account-sublabel").text(C(c.o, 8)||""),c.l.find("#manage-storage a").text(C(c.o,9)||""),d=c.A,c=c.o)&&(d.A=C(c,1)||"",d.B=C(c,7)||"",d.C=C(c,8)||"",d.F=C(c,10)||"")}Jc(b,3)&&(a.qa=!0,d=C(b,3)||"",c=Fc(b,9)||[],Ll()&&(N($("#warning-bar")),$("#warning-bar-message span").text(d),c.length>0?(N($("#warning-bar-footer")),Gj(a.I,c[0]),d=a.I,Kf(d.root),d.layout()):(P($("#warning-bar-footer")),Lf(a.I.root)),c.length>1?(Gj(a.S,c[1]),c=a.S,Kf(c.root),c.layout()):Lf(a.S.root)));Jc(b,8)&&(E(b,7)&&(a.Na=B(b,7)||!1),$("#photos-warning-bar-message span").text(C(b, 8)||""),a.B=!0);Jc(b,5)?(a.aa=!0,c=C(b,5)||"",$("#info-bar span").text(c),c=a.o,c.m=!1,Uk(c),Ll()&&N($("#info-bar"))):(P($("#info-bar")),c=a.o,c.m=!0,Uk(c),E(b,6)&&B(b,6)&&(c=a.o,c.m=!1,Uk(c)));E(b,4)&&(a.Ma=B(b,4)||!1,Ol(a))}} function Nl(a,b){if(b)switch(a.F=b,Jl(a),a.F){case 1:Ej(a.menu,1);Jl(a);Tl();a.m=null;N($("#sign-in-pane"));break;case 2:Ej(a.menu,2);Jl(a);N($("#loading-pane"));break;case 3:Ej(a.menu,3);Jl(a);N($("#started-pane"));$(".header-bar").addClass("small-header-bar");$("#accounts-view").hasClass("hidden")?Kl(a):yj(a);break;case 4:Ej(a.menu,4);N($("#pending-sign-in-pane"));$(".header-bar").addClass("small-header-bar");$(".pending-sign-in-title").trigger("focus");break;default:console.assert(!1,"unable to switch to unknown pane type")}} function Pl(a,b){if(b){E(b,13)&&(a.M=B(b,13),a.M&&a.B?Ll()&&(N($("#photos-warning-bar")),$("body").addClass("body-overflow-y-hidden"),$("#status-bar").addClass("status-bar-fixed-at-botttom"),$("#status-dialog-activity-pane").addClass("activity-pane-pad-bottom"),a.Na||$("#photos-warning-bar").addClass("red-warning-theme")):Fl());if(b){Jc(b,2)&&$("#status-bar-message").text(C(b,2)||"");if(E(b,3)){var c=$("#drive-fs-icon");B(b,3)?N(c):P(c)}E(b,4)&&(c=$("#quota-exceeded-icon"),B(b,4)?N(c):P(c));E(b,5)&& (c=$("#up-to-date-icon"),B(b,5)?N(c):P(c));E(b,6)&&(c=$("#syncing-icon"),B(b,6)?N(c):P(c));E(b,7)&&(c=$("#paused-icon"),B(b,7)?N(c):P(c));E(b,8)&&(c=$("#offline-icon"),B(b,8)?N(c):P(c))}E(b,9)&&(a=a.menu,c=!!B(b,9),a.A=c,Dj(a),$("#activity-tab-label").attr("aria-label",C(b,12)||""))}}function Ql(a){document.documentElement.setAttribute("aria-hidden",!0);a.menu.menu.close();a.F==3&&Kl(a);document.activeElement.blur()} function Rl(a){Ul(a);document.documentElement.setAttribute("aria-hidden",!1);a.menu.layout()}function hj(a,b){a.G.j.push(b)}function Ol(a){if(a.F!=3)Tl();else{var b;(b=!a.m||od(a.m).length<1)||(b=od(a.m)[0],b=!C(b,2));b?(Kl(a),P($("#account-switcher")),N($("#no-user-view"))):(Mf()||(P($("#no-user-view")),N($("#account-switcher"))),b=new jj,b.j=a.m,b.style=3,b.o=!a.Ma,b.l=!1,lj(a.A,b))}}function Tl(){P($("#no-user-view"));P($("#account-switcher"))} function Sl(a){$("#generate-diagnostic-info").prop("disabled",!a);$("#generate-diagnostic-info").toggleClass("mdc-deprecated-list-item--disabled",!a);$("#generate-diagnostic-info").toggleClass("mdc-deprecated-list-item",a)}function Cj(a){var b=a.menu;b.l=!b.l;Dj(b);b=Y();H(b,S());a.menu.l?(a=I(b),D(a,15,G)):(a=I(b),D(a,16,G));M(b)}function tj(){var a=Y();H(a,S());var b=I(a);D(b,22,G);M(a)} function Gl(a){var b=new Uh;b.j="ic_keyboard_backspace_grey600_24dp.svg";b.color="grey";b.ba=["SmallIconButton"];b.v=!0;b.l=function(){Kl(a)};return new Oh($("#activity-notification-back-button")[0],b)}function El(){var a=new Uh;a.j="ic_search_24px.svg";a.color="grey";a.ba=["SmallIconButton"];a.l=function(){var b=Y();H(b,S());var c=I(b);D(c,21,G);M(b)};return new Oh($("#search-button")[0],a)} function Dl(){var a=new Hj;a.type="fill";a.j=function(){var b=Y();H(b,S());var c=I(b);D(c,8,G);M(b)};return new Fj($("#sign-in-button")[0],a)}function Hl(){var a=new Hj;a.type="text";a.j=function(){var b=Y();H(b,S());var c=I(b);D(c,27,G);M(b)};return new Fj($("#cancel-pending-sign-in-button")[0],a)}function Y(){return id(new gd,new fd)} function Ul(a){setTimeout(function(){for(var b=v(a.A.v.values()),c=b.next();!c.done;c=b.next())c=c.value,c.A&&Th(c.A),c.v&&Th(c.v),c.C&&Th(c.C),c.B&&Th(c.B),c.F&&Hg(c.F.j.j);Th(a.v);Th(a.l);Th(a.menu.j)},20)}Cl.prototype.updateViewDiff=Cl.prototype.Gf; (function(a){a=a===void 0?function(){}:a;document.addEventListener("DOMContentLoaded",function(){for(var b=document.getElementsByTagName("img"),c=0;c<b.length;c++)b[c].setAttribute("draggable","false");b=hd();c=z(b,Xc,4);D(c,2,Yc);M(b);a()},!1)})(function(){var a=new Cl;window.updateViewDiff=function(b,c,d){a.Gf(b,c,d)}});window.onfocus=function(){var a=new gd;var b=new fd;b=D(b,35,G);a=id(a,b);H(a,S());M(a)};}).call(this);