????
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/preferences_dialog.bin |
(function(){'use strict';var k;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ca=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 da(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=da(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&&ca(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;ca(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"&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});function ea(a){a={next:a};a[Symbol.iterator]=function(){return this};return a} var fa=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},ha=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=fa(e.prototype||Object.prototype);return Function.prototype.apply.call(c, e,d)||e}}(),ia;if(typeof Object.setPrototypeOf=="function")ia=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ia=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ia; function r(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(na)na(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.lk=b.prototype}function t(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 oa(a){if(!(a instanceof Array)){a=t(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function pa(a){return qa(a,a)}function qa(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function ra(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var sa=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)ra(d,e)&&(a[e]=d[e])}return a}; q("Object.assign",function(a){return a||sa});function ta(){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("Reflect",function(a){return a?a:{}});q("Reflect.construct",function(){return ha});q("Reflect.setPrototypeOf",function(a){return a?a:na?function(b,c){try{return na(b,c),!0}catch(d){return!1}}:null});q("Object.setPrototypeOf",function(a){return a||na}); 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(l){this.j=(h+=Math.random()+1).toString();if(l){l=t(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function e(l){if(!ra(l,g)){var m=new c;ca(l,g,{value:m})}}function f(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof c)return n;Object.isExtensible(n)&&e(n);return m(n)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}), n=new a([[l,2],[m,3]]);if(n.get(l)!=2||n.get(m)!=3)return!1;n.delete(l);n.set(m,4);return!n.has(l)&&n.get(m)==4}catch(w){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!ra(l,g))throw Error("WeakMap key fail: "+l);l[g][this.j]=m;return this};b.prototype.get=function(l){return d(l)&&ra(l,g)?l[g][this.j]:void 0};b.prototype.has=function(l){return d(l)&&ra(l, g)&&ra(l[g],this.j)};b.prototype.delete=function(l){return d(l)&&ra(l,g)&&ra(l[g],this.j)?delete l[g][this.j]:!1};return b}); q("Map",function(a){function b(){var h={};return h.Za=h.next=h.head=h}function c(h,l){var m=h[1];return ea(function(){if(m){for(;m.head!=h[1];)m=m.Za;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(h,l){var m=l&&typeof l;m=="object"||m=="function"?f.has(l)?m=f.get(l):(m=""+ ++g,f.set(l,m)):m="p_"+l;var n=h[0][m];if(n&&ra(h[0],m))for(h=0;h<n.length;h++){var w=n[h];if(l!==l&&w.key!==w.key||l===w.key)return{id:m,list:n,index:h,entry:w}}return{id:m, list:n,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=t(h);for(var l;!(l=h.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),l=new a(t([[h,"s"]]));if(l.get(h)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var m=l.entries(),n=m.next();if(n.done||n.value[0]!=h||n.value[1]!="s")return!1;n=m.next();return n.done||n.value[0].x!= 4||n.value[1]!="t"||!m.next().done?!1:!0}catch(w){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,l){h=h===0?0:h;var m=d(this,h);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this[1],Za:this[1].Za,head:this[1],key:h,value:l},m.list.push(m.entry),this[1].Za.next=m.entry,this[1].Za=m.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.Za.next= h.entry.next,h.entry.next.Za=h.entry.Za,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].Za=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,l){for(var m=this.entries(),n;!(n=m.next()).done;)n=n.value,h.call(l,n[1],n[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=t(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(t([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)ra(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}}); function ua(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""} 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)ra(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){var d=ua(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});function va(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 va(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 va(this,function(b){return b})}}); q("Array.prototype.values",function(a){return a?a:function(){return va(this,function(b,c){return c})}});q("String.prototype.codePointAt",function(a){return a?a:function(b){var c=ua(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}}); q("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var xa=this||self;function ya(a,b){function c(){}c.prototype=b.prototype;a.lk=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 za;function Aa(a){xa.setTimeout(function(){throw a;},0)};function Ca(a){Ca[" "](a);return a}Ca[" "]=function(){};function Da(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var Ea=void 0;function Fa(){var a=Error();Da(a,"incident");Aa(a)}function Ga(a){a=Error(a);Da(a,"warning");return a};var Ha=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Ia(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 Ja=Ia("jas",void 0,!0),Ka=Ia(void 0,"0di"),La=Ia(void 0,"1oa"),Ma=Ia(void 0,"0dg"),Na=Ia(void 0,"0actk"),Oa=Ia("m_m","fl",!0);var Pa={bk:{value:0,configurable:!0,writable:!0,enumerable:!1}},Qa=Object.defineProperties,u=Ha?Ja:"bk",Sa,Ta=[];Ua(Ta,7);Sa=Object.freeze(Ta);function Va(a,b){Ha||u in a||Qa(a,Pa);a[u]|=b}function Ua(a,b){Ha||u in a||Qa(a,Pa);a[u]=b}function Wa(a){Va(a,34);return a}function Ya(a){Va(a,32);return a};function Za(){return typeof BigInt==="function"};var $a={};function ab(a,b){return b===void 0?a.j!==bb&&!!(2&(a.F[u]|0)):!!(2&b)&&a.j!==bb}var bb={};function cb(a,b,c){this.j=a;this.l=b;this.m=c}cb.prototype.next=function(){var a=this.j.next();a.done||(a.value=this.l.call(this.m,a.value));return a};cb.prototype[Symbol.iterator]=function(){return this};var db=Object.freeze({});function eb(a){a.bl=!0;return a};var gb=eb(function(a){return typeof a==="number"}),hb=eb(function(a){return typeof a==="string"}),ib=eb(function(a){return typeof a==="boolean"});var jb=typeof xa.BigInt==="function"&&typeof xa.BigInt(0)==="bigint";function mb(a){var b=a;if(hb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(gb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return jb?BigInt(a):a=ib(a)?a?"1":"0":hb(a)?a.trim()||"0":String(a)}var sb=eb(function(a){return jb?a>=nb&&a<=ob:a[0]==="-"?pb(a,qb):pb(a,rb)}),qb=Number.MIN_SAFE_INTEGER.toString(),nb=jb?BigInt(Number.MIN_SAFE_INTEGER):void 0,rb=Number.MAX_SAFE_INTEGER.toString(),ob=jb?BigInt(Number.MAX_SAFE_INTEGER):void 0; function pb(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 ub=0,wb=0;function xb(a){var b=a>>>0;ub=b;wb=(a-b)/4294967296>>>0}function yb(a){if(a<0){xb(-a);var b=t(zb(ub,wb));a=b.next().value;b=b.next().value;ub=a>>>0;wb=b>>>0}else xb(a)}function Ab(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Za()?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+Bb(c)+Bb(a));return c} function Bb(a){a=String(a);return"0000000".slice(a.length)+a}function Cb(){var a=ub,b=wb;b&2147483648?Za()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=t(zb(a,b)),a=b.next().value,b=b.next().value,a="-"+Ab(a,b)):a=Ab(a,b);return a}function zb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Fb(a){return Array.prototype.slice.call(a)};var Hb=typeof BigInt==="function"?BigInt.asIntN:void 0,Ib=Number.isSafeInteger,Jb=Number.isFinite,Nb=Math.trunc;function Ob(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function Pb(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 Qb=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function Rb(a){switch(typeof a){case "bigint":return!0;case "number":return Jb(a);case "string":return Qb.test(a);default:return!1}}function Ub(a){if(!Jb(a))throw Ga("enum");return a|0}function Vb(a){if(typeof a!=="number")throw Ga("int32");if(!Jb(a))throw Ga("int32");return a|0}function Wb(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Jb(a)?a|0:void 0} function Yb(a,b){b=b===void 0?0:b;if(!Rb(a))throw Ga("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Zb(a);case "bigint":return String(Hb(64,a));default:return $b(a)}case 1024:switch(c){case "string":return ac(a);case "bigint":return mb(Hb(64,a));default:return bc(a)}case 0:switch(c){case "string":return Zb(a);case "bigint":return mb(Hb(64,a));default:return cc(a)}default:throw Error("Unknown format requested type for int64");}}function dc(a){return a==null?a:Yb(a,0)} function ec(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 fc(a){if(ec(a))return a;if(a.length<16)yb(Number(a));else if(Za())a=BigInt(a),ub=Number(a&BigInt(4294967295))>>>0,wb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");wb=ub=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)),wb*=1E6,ub=ub*1E6+d,ub>=4294967296&&(wb+=Math.trunc(ub/4294967296),wb>>>=0,ub>>>=0);b&&(b=t(zb(ub,wb)),a=b.next().value,b=b.next().value,ub=a,wb=b)}return Cb()} function cc(a){a=Nb(a);if(!Ib(a)){yb(a);var b=ub,c=wb;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:Ab(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function $b(a){a=Nb(a);if(Ib(a))a=String(a);else{var b=String(a);ec(b)?a=b:(yb(a),a=Cb())}return a}function Zb(a){var b=Nb(Number(a));if(Ib(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return fc(a)} function ac(a){var b=Nb(Number(a));if(Ib(b))return mb(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Za()?mb(Hb(64,BigInt(a))):mb(fc(a))}function bc(a){return Ib(a)?mb(cc(a)):mb($b(a))}function hc(a){if(a==null)return a;if(typeof a==="bigint")return sb(a)?a=Number(a):(a=Hb(64,a),a=sb(a)?Number(a):String(a)),a;if(Rb(a))return typeof a==="number"?cc(a):Zb(a)}function oc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return mb(Hb(64,a));if(Rb(a))return b==="string"?ac(a):bc(a)} function pc(a){if(typeof a!=="string")throw Error();return a}function qc(a){if(a!=null&&typeof a!=="string")throw Error();return a}function rc(a){return a==null||typeof a==="string"?a:void 0}function sc(a,b,c,d){if(a!=null&&a[Oa]===$a)return a;if(!Array.isArray(a))return c?d&2?((a=b[Ka])||(a=new b,Wa(a.F),a=b[Ka]=a),b=a):b=new b:b=void 0,b;c=a[u]|0;d=c|d&32|d&2;d!==c&&Ua(a,d);return new b(a)}function tc(a,b,c){a=b?Vb(a):Wb(a);return a==null?c?0:void 0:a|0} function uc(a,b,c){if(b)return pc(a);var d;return(d=rc(a))!=null?d:c?"":void 0};function vc(a){return a};var wc={},xc=function(){try{var a=function(){return ha(Map,[],this.constructor)};r(a,Map);Ca(new a);return!1}catch(b){return!0}}();function yc(){this.j=new Map}k=yc.prototype;k.get=function(a){return this.j.get(a)};k.set=function(a,b){this.j.set(a,b);this.size=this.j.size;return this};k.delete=function(a){a=this.j.delete(a);this.size=this.j.size;return a};k.clear=function(){this.j.clear();this.size=this.j.size};k.has=function(a){return this.j.has(a)};k.entries=function(){return this.j.entries()}; k.keys=function(){return this.j.keys()};k.values=function(){return this.j.values()};k.forEach=function(a,b){return this.j.forEach(a,b)};yc.prototype[Symbol.iterator]=function(){return this.entries()};var zc=function(){function a(){return ha(Map,[],this.constructor)}if(xc)return Object.setPrototypeOf(yc.prototype,Map.prototype),Object.defineProperties(yc.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),yc;r(a,Map);return a}();function Ac(a){return a} function Bc(a,b,c,d){c=c===void 0?Ac:c;d=d===void 0?Ac:d;var e=zc.call(this)||this;e.Qb=a[u]|0;e.Ib=b;e.hd=c;e.Ah=e.Ib?Cc:d;for(var f=0;f<a.length;f++){var g=a[f],h=c(g[0],!1,!0),l=g[1];b?l===void 0&&(l=null):l=d(g[1],!1,!0,void 0,void 0,e.Qb);zc.prototype.set.call(e,h,l)}return e}r(Bc,zc);function Dc(a){if(a.Qb&2)throw Error("Cannot mutate an immutable Map");}k=Bc.prototype;k.clear=function(){Dc(this);zc.prototype.clear.call(this)}; k.delete=function(a){Dc(this);return zc.prototype.delete.call(this,this.hd(a,!0,!1))};k.entries=function(){if(this.Ib){var a=zc.prototype.keys.call(this);a=new cb(a,Ec,this)}else a=zc.prototype.entries.call(this);return a};k.values=function(){if(this.Ib){var a=zc.prototype.keys.call(this);a=new cb(a,Bc.prototype.get,this)}else a=zc.prototype.values.call(this);return a}; k.forEach=function(a,b){this.Ib?zc.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):zc.prototype.forEach.call(this,a,b)};k.set=function(a,b){Dc(this);a=this.hd(a,!0,!1);return a==null?this:b==null?(zc.prototype.delete.call(this,a),this):zc.prototype.set.call(this,a,this.Ah(b,!0,!0,this.Ib,!1,this.Qb))};k.has=function(a){return zc.prototype.has.call(this,this.hd(a,!1,!1))}; k.get=function(a){a=this.hd(a,!1,!1);var b=zc.prototype.get.call(this,a);if(b!==void 0){var c=this.Ib;return c?(c=this.Ah(b,!1,!0,c,this.xj,this.Qb),c!==b&&zc.prototype.set.call(this,a,c),c):b}};Bc.prototype[Symbol.iterator]=function(){return this.entries()};Bc.prototype.toJSON=void 0;function Cc(a,b,c,d,e,f){a=sc(a,d,c,f);e&&(a=Jc(a));return a}function Ec(a){return[a,this.get(a)]}var Kc;function Lc(){return Kc||(Kc=new Bc(Wa([]),void 0,void 0,void 0,wc))};function Mc(a,b,c,d){var e=d!==void 0;d=!!d;var f=[],g=a.length,h=4294967295,l=!1,m=!!(b&64),n=m?b&128?0:-1:void 0;if(!(b&1)){var w=g&&a[g-1];w!=null&&typeof w==="object"&&w.constructor===Object?(g--,h=g):w=void 0;if(m&&!(b&128)&&!e){l=!0;var E;h=((E=Nc)!=null?E:vc)(h-n,n,a,w)+n}}b=void 0;for(e=0;e<g;e++)if(E=a[e],E!=null&&(E=c(E,d))!=null)if(m&&e>=h){var J=e-n,H=void 0;((H=b)!=null?H:b={})[J]=E}else f[e]=E;if(w)for(var P in w)a=w[P],a!=null&&(a=c(a,d))!=null&&(g=+P,e=void 0,m&&!Number.isNaN(g)&& (e=g+n)<h?f[e]=a:(g=void 0,((g=b)!=null?g:b={})[P]=a));b&&(l?f.push(b):f[h]=b);return f}function Oc(a){a[0]=Pc(a[0]);a[1]=Pc(a[1]);return a} function Pc(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return sb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[u]|0;return a.length===0&&b&1?void 0:Mc(a,b,Pc)}if(a!=null&&a[Oa]===$a)return Qc(a);if(a instanceof Bc)return a=a.size!==0?Array.from(zc.prototype.entries.call(a),Oc):void 0,a;return}return a}var Nc;function Qc(a){a=a.F;return Mc(a,a[u]|0,Pc)};function v(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[u]|0;2048&e&&!(2&e)&&Rc();if(e&256)throw Error("farr");if(e&64)return d!==0||e&2048||Ua(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 l in h)f=+l,f<g&&(c[f+b]=h[l], delete h[l]);e=e&-8380417|(g&1023)<<13;break a}}if(b){l=Math.max(b,f-(e&128?0:-1));if(l>1024)throw Error("spvt");e=e&-8380417|(l&1023)<<13}}}e|=64;d===0&&(e|=2048);Ua(a,e);return a}function Rc(){if(Na!=null){var a;var b=(a=Ea)!=null?a:Ea={};a=b[Na]||0;a>=5||(b[Na]=a+1,Fa())}};function Vc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[u]|0;return a.length===0&&c&1?void 0:Wc(a,c,b)}if(a!=null&&a[Oa]===$a)return Xc(a);if(a instanceof Bc){b=a.Qb;if(b&2)return a;if(a.size){c=Wa(Array.from(zc.prototype.entries.call(a)));if(a.Ib)for(a=0;a<c.length;a++){var d=c[a],e=d[1];e==null||typeof e!=="object"?e=void 0:e!=null&&e[Oa]===$a?e=Xc(e):Array.isArray(e)?e=Wc(e,e[u]|0,!!(b&32)):e=void 0;d[1]=e}return c}}} function Wc(a,b,c){if(b&2)return a;!c||4096&b||16&b?a=Yc(a,b,!1,c&&!(b&16)):(Va(a,34),b&4&&Object.freeze(a));return a}function Zc(a,b,c){a=new a.constructor(b);c&&(a.j=bb);a.l=bb;return a}function Xc(a){var b=a.F,c=b[u]|0;return ab(a,c)?a:$c(a,b,c)?Zc(a,b):Yc(b,c)}function ad(a){var b=a.F,c=b[u]|0;return $c(a,b,c)?Zc(a,b,!0):new a.constructor(Yc(b,c,!1))}function Yc(a,b,c,d){d!=null||(d=!!(34&b));a=Mc(a,b,Vc,d);d=32;c&&(d|=2);b=b&8380609|d;Ua(a,b);return a} function Jc(a){var b=a.F,c=b[u]|0;return ab(a,c)?$c(a,b,c)?Zc(a,b,!0):new a.constructor(Yc(b,c,!1)):a}function bd(a){if(a.j!==bb)return!1;var b=a.F;b=Yc(b,b[u]|0);Va(b,2048);a.F=b;a.j=void 0;a.l=void 0;return!0}function cd(a){if(!bd(a)&&ab(a,a.F[u]|0))throw Error();}function dd(a,b){b===void 0&&(b=a[u]|0);b&32&&!(b&4096)&&Ua(a,b|4096)}function $c(a,b,c){return c&2?!0:c&32&&!(c&4096)?(Ua(b,c|2),a.j=bb,!0):!1};var ed={};function x(a,b,c,d,e){b=fd(a.F,b,c,e);if(b!==null||d&&a.l!==bb)return b}function fd(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 gd(a,b,c){cd(a);var d=a.F;hd(d,d[u]|0,b,c);return a} function hd(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[u]|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.F;return id(a,a[u]|0,b,c)!==void 0}function jd(a){return a===db?2:4} function kd(a,b,c,d,e,f){var g=a.F,h=g[u]|0;d=ab(a,h)?1:d;e=!!e||d===3;d===2&&bd(a)&&(g=a.F,h=g[u]|0);var l=fd(g,b);l=Array.isArray(l)?l:Sa;var m=l===Sa?7:l[u]|0,n=nd(m,h);var w=n;4&w?f==null?a=!1:(!e&&f===0&&(512&w||1024&w)&&(a.constructor[Ma]=(a.constructor[Ma]|0)+1)<5&&Fa(),a=f===0?!1:!(f&w)):a=!0;if(a){4&n&&(l=Fb(l),m=0,n=od(n,h),h=hd(g,h,b,l));for(var E=w=0;w<l.length;w++){var J=c(l[w]);J!=null&&(l[E++]=J)}E<w&&(l.length=E);c=(n|4)&-513;n=c&=-1025;f&&(n|=f);n&=-4097}n!==m&&(Ua(l,n),2&n&&Object.freeze(l)); return l=pd(l,n,g,h,b,d,a,e)}function pd(a,b,c,d,e,f,g,h){var l=b;f===1||(f!==4?0:2&b||!(16&b)&&32&d)?qd(b)||(b|=!a.length||g&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==l&&Ua(a,b),Object.freeze(a)):(f===2&&qd(b)&&(a=Fb(a),l=0,b=od(b,d),d=hd(c,d,e,a)),qd(b)||(h||(b|=16),b!==l&&Ua(a,b)));2&b||!(4096&b||16&b)||dd(c,d);return a}function nd(a,b){2&b&&(a|=2);return a|1}function qd(a){return!!(2&a)&&!!(4&a)||!!(256&a)} function rd(a,b,c,d,e){var f=a.F,g=f[u]|0;var h=ab(a,g);a:{!h&&bd(a)&&(f=a.F,g=f[u]|0);var l=fd(f,b);a=!1;if(l==null){if(h){b=Lc();break a}l=[]}else if(l.constructor===Bc)if(l.Qb&2&&!h)l=Array.from(zc.prototype.entries.call(l));else{b=l;break a}else Array.isArray(l)?a=!!((l[u]|0)&2):l=[];if(h){if(!l.length){b=Lc();break a}a||(a=!0,Wa(l))}else if(a){a=!1;l=Fb(l);for(var m=0;m<l.length;m++){var n=l[m]=Fb(l[m]);Array.isArray(n[1])&&(n[1]=Wa(n[1]))}}!a&&g&32&&Ya(l);d=new Bc(l,c,d,e);g=hd(f,g,b,d);a|| dd(f,g);b=d}!h&&c&&(b.xj=!0);return b}function sd(a,b,c){return rd(a,b,void 0,c,uc)}function td(a,b,c,d){cd(a);a=a.F;var e=a[u]|0;if(d==null){var f=ud(a);if(vd(f,a,e,c)===b)f.set(c,0);else return}else{f=ud(a);var g=vd(f,a,e,c);g!==b&&(g&&(e=hd(a,e,g)),f.set(c,b))}hd(a,e,b,d)}function ud(a){if(Ha){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 vd(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];fd(b,g)!=null&&(e!==0&&(c=hd(b,c,e)),e=g)}a.set(d,e);return e}function id(a,b,c,d){var e=!1;d=fd(a,d,void 0,function(f){var g=sc(f,c,!1,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!ab(d)&&dd(a,b),d}function z(a,b,c){var d=a.F,e=d[u]|0;b=id(d,e,b,c);if(b==null)return b;e=d[u]|0;if(!ab(a,e)){var f=Jc(b);f!==b&&(bd(a)&&(d=a.F,e=d[u]|0),b=f,e=hd(d,e,c,b),dd(d,e))}return b} function wd(a,b,c,d,e,f,g,h){var l=ab(a,c);f=l?1:f;g=!!g||f===3;l=h&&!l;(f===2||l)&&bd(a)&&(b=a.F,c=b[u]|0);a=fd(b,e);a=Array.isArray(a)?a:Sa;var m=a===Sa?7:a[u]|0,n=nd(m,c);if(h=!(4&n)){var w=a,E=c,J=!!(2&n);J&&(E|=2);for(var H=!J,P=!0,ba=0,ja=0;ba<w.length;ba++){var Y=sc(w[ba],d,!1,E);if(Y instanceof d){if(!J){var wa=ab(Y);H&&(H=!wa);P&&(P=wa)}w[ja++]=Y}}ja<ba&&(w.length=ja);n|=4;n=P?n&-4097:n|4096;n=H?n|8:n&-9}n!==m&&(Ua(a,n),2&n&&Object.freeze(a));if(l&&!(8&n||!a.length&&(f===1||(f!==4?0:2&n|| !(16&n)&&32&c)))){qd(n)&&(a=Fb(a),n=od(n,c),c=hd(b,c,e,a));d=a;l=n;for(m=0;m<d.length;m++)w=d[m],n=Jc(w),w!==n&&(d[m]=n);l|=8;n=l=d.length?l|4096:l&-4097;Ua(a,n)}return a=pd(a,n,b,c,e,f,h,g)}function xd(a,b,c,d){var e=a.F;return wd(a,e,e[u]|0,b,c,d,!1,!0)}function yd(a){a==null&&(a=void 0);return a}function zd(a,b,c){c=yd(c);gd(a,b,c);c&&!ab(c)&&dd(a.F);return a}function Ad(a,b,c,d){d=yd(d);td(a,b,c,d);d&&!ab(d)&&dd(a.F)}function od(a,b){return a=(2&b?a|2:a&-3)&-273} function Bd(a,b,c,d){cd(a);a=kd(a,1,d,2,!0);d=a===Sa?7:a[u]|0;d=4&d?512&d?512:1024&d?1024:0:void 0;a.push(b(c,d!=null?d:0))}function Cd(a,b,c){a=x(a,b,void 0,c);return a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0}function Dd(a,b){return Wb(x(a,1,void 0,b))}function Ed(a,b,c,d){a=x(a,b,c,d);return a==null?a:Jb(a)?a|0:void 0}function Fd(a,b,c){c=c===void 0?!1:c;var d;return(d=Cd(a,b))!=null?d:c}function A(a,b){return Cd(a,b,ed)}function Gd(a,b){return hc(x(a,b,void 0,ed))} function Hd(a){return oc(x(a,1,void 0,ed))}function B(a,b){return rc(x(a,b,void 0,ed))}function Id(a,b){return Ed(a,b,void 0,ed)}function Jd(a,b,c){gd(a,b,c==null?c:Pb(c))}function C(a,b,c,d){td(a,b,c,d==null?d:Pb(d))}function Kd(a,b,c){return gd(a,b,qc(c))}function Ld(a,b,c){return gd(a,b,c==null?c:Ub(c))}function Od(a,b,c,d){td(a,b,c,d==null?d:Ub(d))}function D(a,b){return Cd(a,b)!=null}function F(a,b){return rc(x(a,b))!=null};function G(a,b,c){this.F=v(a,b,c)}G.prototype.toJSON=function(){return Qc(this)};G.prototype[Oa]=$a;G.prototype.toString=function(){return this.F.toString()};function Pd(a){this.F=v(a)}r(Pd,G);function Qd(a){this.F=v(a)}r(Qd,G);function Rd(a){return B(a,1)}function Sd(a){return B(a,1)}function Td(a,b){Kd(a,1,b)};function Ud(a){this.F=v(a)}r(Ud,G);Ud.prototype.Oj=function(){return B(this,1)};function Vd(a){this.F=v(a)}r(Vd,G);Vd.prototype.fg=function(){return Id(this,4)};Vd.prototype.K=function(){return z(this,Qd,5)};var Wd=[1,2];function Xd(a){this.F=v(a)}r(Xd,G);Xd.prototype.Rc=function(){return Gd(this,1)};Xd.prototype.kb=function(){return hc(x(this,1))!=null};Xd.prototype.Sc=function(){return Gd(this,2)};Xd.prototype.Wb=function(){return hc(x(this,2))!=null};function ce(a){this.F=v(a)}r(ce,G);function de(a){return kd(a,3,hc,jd(),void 0,0)};function ee(a){this.F=v(a)}r(ee,G);function fe(a){this.F=v(a)}r(fe,G);var ge=[1,2,3];function he(a){this.F=v(a)}r(he,G);var ie=[1,2,3];function je(a){this.F=v(a)}r(je,G);function ke(a){return A(a,1)}function le(a){return A(a,2)}function me(a){return A(a,3)};function ne(a){this.F=v(a)}r(ne,G);function oe(a){return A(a,3)}function pe(a){return A(a,4)};function qe(a){this.F=v(a)}r(qe,G);function re(a){return A(a,5)}qe.prototype.m=function(){return F(this,10)};function se(a){this.F=v(a)}r(se,G);function te(a){return A(a,3)};function ue(a){this.F=v(a)}r(ue,G);function ve(a){return Ed(a,1)}function we(a){return A(a,2)}function xe(a){return A(a,3)};function ye(a){this.F=v(a)}r(ye,G);function ze(a){return z(a,se,3)};function Ae(a){this.F=v(a)}r(Ae,G);function Be(a){this.F=v(a)}r(Be,G);function Ce(a){return Gd(a,1)};function De(a){this.F=v(a)}r(De,G);function Ee(a){return B(a,1)}function Fe(a){return A(a,2)};function Ge(a){this.F=v(a)}r(Ge,G);function He(a){return z(a,Ae,1)}function Ie(a){return z(a,Ae,2)}function Je(a){return z(a,De,3)}function Ke(a){return z(a,je,4)}function Ne(a){return z(a,je,5)}function Oe(a){return z(a,je,6)}function Pe(a){return z(a,Be,7)}function Qe(a){return z(a,De,8)}function Re(a){return z(a,je,9)}function Se(a){return z(a,je,10)};function Te(a){this.F=v(a)}r(Te,G);function I(a){return z(a,Ge,1)};function Xe(a){this.F=v(a)}r(Xe,G);function Ye(a){this.F=v(a)}r(Ye,G);function Ze(a){this.F=v(a)}r(Ze,G);function $e(a){this.F=v(a)}r($e,G);var af=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22];function bf(a){this.F=v(a)}r(bf,G);bf.prototype.zb=function(){return B(this,2)};bf.prototype.fa=function(a){return Kd(this,2,a)};function cf(a){this.F=v(a)}r(cf,G);var df=[1,2];function ef(a){this.F=v(a)}r(ef,G);ef.prototype.Va=function(){return Hd(this)};ef.prototype.va=function(){return F(this,2)};function ff(a){this.F=v(a)}r(ff,G);function gf(a){return xd(a,ef,1,jd())}function hf(a){return B(a,2)};function jf(a){this.F=v(a)}r(jf,G);jf.prototype.K=function(){return z(this,Qd,4)};function kf(a){this.F=v(a)}r(kf,G);var lf=[1,2];function mf(a){this.F=v(a)}r(mf,G);function nf(a){this.F=v(a)}r(nf,G);var of=[1,2,3,4];function pf(a){this.F=v(a)}r(pf,G);function qf(a){this.F=v(a)}r(qf,G);var rf=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17];function sf(a){this.F=v(a)}r(sf,G);function tf(a){this.F=v(a)}r(tf,G);function uf(a){this.F=v(a)}r(uf,G);var vf=[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20];function wf(a){this.F=v(a)}r(wf,G);var xf=[1,2,3,4,5,6,7,8];function yf(a){this.F=v(a)}r(yf,G);function zf(a,b){Ad(a,1,Af,b)}function Bf(a,b){Ad(a,2,Af,b)}function Cf(a,b){Ad(a,5,Af,b)}function Df(a,b){Ad(a,8,Af,b)}var Af=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21];function Ef(a){this.F=v(a)}r(Ef,G);Ef.prototype.K=function(){return z(this,Qd,1)};function K(a,b){zd(a,1,b)}function Ff(){var a=new Ef,b=new cf;return zd(a,4,b)}function L(a){return z(a,yf,14)}function M(){var a=new Ef,b=new yf;return zd(a,14,b)};function Gf(a){this.F=v(a)}r(Gf,G);function Hf(a){this.F=v(a)}r(Hf,G);function If(a){this.F=v(a)}r(If,G);If.prototype.va=function(){return F(this,4)};function Jf(a){this.F=v(a)}r(Jf,G);function Kf(a){this.F=v(a)}r(Kf,G);function Lf(a){return xd(a,jf,1,jd())};function Mf(a){this.F=v(a)}r(Mf,G);function Pf(a){this.F=v(a)}r(Pf,G);Pf.prototype.Va=function(){return Hd(this)};Pf.prototype.va=function(){return F(this,2)};function Qf(a){this.F=v(a)}r(Qf,G);function Rf(a){this.F=v(a)}r(Rf,G);function Sf(a){this.F=v(a)}r(Sf,G);function Tf(a){this.F=v(a)}r(Tf,G);function Uf(a){this.F=v(a)}r(Uf,G);function Vf(a){this.F=v(a)}r(Vf,G);function Wf(a){this.F=v(a)}r(Wf,G);function Xf(a){this.F=v(a)}r(Xf,G);function Yf(a){this.F=v(a)}r(Yf,G);function Zf(a){this.F=v(a)}r(Zf,G);Zf.prototype.K=function(){return z(this,Qd,1)};function $f(a){this.F=v(a)}r($f,G);function ag(a){this.F=v(a)}r(ag,G);function eg(a){this.F=v(a)}r(eg,G);function fg(a){this.F=v(a)}r(fg,G);fg.prototype.md=function(a){Kd(this,3,a)};function gg(a){this.F=v(a)}r(gg,G);gg.prototype.md=function(a){Kd(this,2,a)};function hg(a){this.F=v(a)}r(hg,G);function ig(a){this.F=v(a)}r(ig,G);function jg(a){this.F=v(a)}r(jg,G);function kg(a){return rd(a,1,ig,uc)};function lg(a){this.F=v(a)}r(lg,G);function mg(a){this.F=v(a)}r(mg,G);mg.prototype.Va=function(){return Hd(this)};function ng(a){this.F=v(a)}r(ng,G);function og(a){this.F=v(a)}r(og,G);og.prototype.K=function(){return z(this,Qd,3)};function pg(a){this.F=v(a)}r(pg,G);k=pg.prototype;k.Va=function(){return B(this,1)};k.Rc=function(){return Gd(this,2)};k.kb=function(){return hc(x(this,2))!=null};k.Sc=function(){return Gd(this,3)};k.Wb=function(){return hc(x(this,3))!=null};k.fg=function(){return Id(this,8)};k.K=function(){return z(this,Qd,9)};function qg(a){this.F=v(a)}r(qg,G);function rg(a){this.F=v(a)}r(rg,G);function sg(a){return rd(a,1,qg,uc)};function tg(a){this.F=v(a)}r(tg,G);function ug(a){this.F=v(a)}r(ug,G);ug.prototype.md=function(a){Kd(this,2,a)};function vg(a){this.F=v(a)}r(vg,G);function wg(a){this.F=v(a)}r(wg,G);function xg(a){this.F=v(a)}r(xg,G);function yg(a){this.F=v(a)}r(yg,G);yg.prototype.K=function(){return z(this,Qd,12)};function zg(a){this.F=v(a)}r(zg,G);function Ag(a){this.F=v(a)}r(Ag,G);var Bg=function(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b=new a(Ya(b))}return b}}(Ag);/* 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 N(a){this.j=a=a===void 0?{}:a}N.prototype.init=function(){};p.Object.defineProperties(N,{j:{configurable:!0,enumerable:!0,get:function(){return{}}},m:{configurable:!0,enumerable:!0,get:function(){return{}}},o:{configurable:!0,enumerable:!0,get:function(){return{}}},l:{configurable:!0,enumerable:!0,get:function(){return{}}}});/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function Cg(a){return{valueOf:a}.valueOf()};var Dg=globalThis.trustedTypes,Eg;function Fg(){var a=null;if(!Dg)return a;try{var b=function(c){return c};a=Dg.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};var Gg=Cg(function(){return typeof URL==="function"}),Hg=["data:","http:","https:","mailto:","ftp:"],Ig=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function Jg(a){this.j=a}Jg.prototype.toString=function(){return this.j+""};function Kg(a){var b;Eg===void 0&&(Eg=Fg());a=(b=Eg)?b.createHTML(a):a;return new Jg(a)}function Lg(a){if(a instanceof Jg)return a.j;throw Error("");};function Mg(a){this.j=a}Mg.prototype.toString=function(){return this.j};function Ng(a,b,c,d){if(a.length===0)throw Error("");a=a.map(function(f){if(f instanceof Mg)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 Og(a){return a instanceof Jg?a:Kg(String(a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))}function Pg(a){return Qg(a)}function Qg(a){var b=Og("");return Kg(a.map(function(c){return Lg(Og(c))}).join(Lg(b).toString()))} var Rg=/^[a-z][a-z\d-]*$/i,Sg="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Tg="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Ug=["action","formaction","href"];function Vg(a){if(!Rg.test(a))throw Error("");if(Sg.indexOf(a.toUpperCase())!==-1)throw Error("");} function Wg(a,b,c){Vg(a);var d="<"+a;b&&(d+=Xg(b));Array.isArray(c)||(c=c===void 0?[]:[c]);Tg.indexOf(a.toUpperCase())!==-1?d+=">":(b=Pg(c.map(function(e){return e instanceof Jg?e:Og(String(e))})),d+=">"+b.toString()+"</"+a+">");return Kg(d)} function Xg(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Rg.test(e))throw Error("");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("");Ug.indexOf(e.toLowerCase())!==-1&&(f=String(f),f=Ig.test(f)?f:void 0,f=f||"about:invalid#zClosurez");e=e+'="'+Og(String(f))+'"';b+=" "+e}}return b};function Yg(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function Zg(a,b){var c=b.createRange();c.selectNode(b.body);a=Kg(a);return c.createContextualFragment(Lg(a))};function $g(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function ah(a){a=a.nodeType;return a===1||typeof a!=="number"};function bh(a,b,c,d,e){this.o=a;this.j=b;this.v=c;this.l=d;this.m=e}function ch(a,b,c){c=a.j.get(c);return(c==null?0:c.has(b))?c.get(b):a.v.has(b)?{ra:1}:(c=a.l.get(b))?c:a.m&&[].concat(oa(a.m)).some(function(d){return b.indexOf(d)===0})?{ra:1}:{ra:0}};var dh=new bh(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",{ra:2}]])],["AREA",new Map([["href",{ra:2}]])],["LINK",new Map([["href",{ra: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",{ra:5}],["srcset",{ra:6}]])],["IMG",new Map([["src",{ra:5}],["srcset",{ra:6}]])],["VIDEO",new Map([["src",{ra:5}]])],["AUDIO",new Map([["src",{ra: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",{ra:3,conditions:Cg(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{ra:3,conditions:Cg(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{ra:3,conditions:Cg(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{ra:3,conditions:Cg(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]]));function eh(a){var b=fh,c=document.implementation.createHTMLDocument("");a=hh(b,a,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return Kg(c)} function hh(a,b,c){b=Zg(b,c);b=document.createTreeWalker(b,5,function(h){if(h.nodeType===3)h=1;else if(ah(h))if(h=$g(h),h===null)h=2;else{var l=a.l;h=h!=="FORM"&&(l.o.has(h)||l.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(ah(d))g=ih(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 ih(a,b,c){var d,e=$g(b);c=c.createElement(e);b=b.attributes;for(var f=t(b),g=f.next();!g.done;g=f.next()){var h=g.value;g=h.name;h=h.value;var l=ch(a.l,g,e);a:{if(d=l.conditions){d=t(d);for(var m=d.next();!m.done;m=d.next()){var n=t(m.value);m=n.next().value;n=n.next().value;var w=void 0;if((m=(w=b.getNamedItem(m))==null?void 0:w.value)&&!n.has(m)){d=!1;break a}}}d=!0}if(d)switch(l.ra){case 1:jh(c,g,h);break;case 2:a:if(l=void 0,Gg){try{l=new URL(h)}catch(E){l="https:";break a}l=l.protocol}else b:{l= document.createElement("a");try{l.href=h}catch(E){l=void 0;break b}l=l.protocol;l=l===":"||l===""?"https:":l}jh(c,g,l!==void 0&&Hg.indexOf(l.toLowerCase())!==-1?h:"about:invalid#zClosurez");break;case 3:jh(c,g,h.toLowerCase());break;case 4:jh(c,g,h);break;case 5:a.j?(l={type:2,attributeName:g,Jj:e},h=Yg(h),(h=a.j(h,l))&&jh(c,g,h.toString())):jh(c,g,h);break;case 6:if(a.j){l={type:2,attributeName:g,Jj:e};d=[];h=t(h.split(","));for(m=h.next();!m.done;m=h.next())n=t(m.value.trim().split(/\s+/,2)),m= n.next().value,n=n.next().value,d.push({url:m,Vd:n});h={Sg:[]};d=t(d);for(m=d.next();!m.done;m=d.next())m=m.value,n=Yg(m.url),(n=a.j(n,l))&&h.Sg.push({url:n.toString(),Vd:m.Vd});jh(c,g,kh(h))}else jh(c,g,h)}}return c}function jh(a,b,c){a.setAttribute(b,c)}function kh(a){return a.Sg.map(function(b){var c=b.Vd;return""+b.url+(c?" "+c:"")}).join(" , ")};function lh(){this.l=!1;this.j=dh}function mh(){lh.apply(this,arguments)}r(mh,lh);var nh=pa(["aria-"]),oh=pa(["role"]);function ph(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function O(a,b){var c=ta.apply(2,arguments);this.root=a;this.bb.apply(this,oa(c));this.j=b===void 0?this.Y():b;this.j.init();this.Ba()}O.prototype.bb=function(){};O.prototype.Y=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");};O.prototype.Ba=function(){}; function qh(a,b,c,d){a.root.addEventListener(b,c,d)}function rh(a,b,c){a.root.removeEventListener(b,c,void 0)}function sh(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 th(a,b,c){b.toLowerCase()==="tabindex"?a.tabIndex=Number(c):b.indexOf("data-")===0?(b=ph(b.replace(/^data-/,"")),a.dataset[b]=c):Ng([new Mg(nh[0].toLowerCase()),new Mg(oh[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 Ah={Ze:"mdc-line-ripple--active",hc:"mdc-line-ripple--deactivating"};function Bh(a){N.call(this,Object.assign({},Bh.l,a));var b=this;this.l=function(c){var d=b.j.hasClass(Ah.hc);c.propertyName==="opacity"&&d&&(b.j.removeClass(Ah.Ze),b.j.removeClass(Ah.hc))}}r(Bh,N);Bh.prototype.init=function(){this.j.Bb("transitionend",this.l)};function Ch(a){a.j.removeClass(Ah.hc);a.j.addClass(Ah.Ze)}Bh.prototype.Eb=function(a){this.j.wa("transform-origin",a+"px center")}; p.Object.defineProperties(Bh,{j:{configurable:!0,enumerable:!0,get:function(){return Ah}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},wa:function(){},Bb:function(){},Sb:function(){}}}}});function Dh(){O.apply(this,arguments)}r(Dh,O);Dh.prototype.Eb=function(a){this.j.Eb(a)};Dh.prototype.Y=function(){var a=this;return new Bh({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)},wa:function(b,c){a.root.style.setProperty(b,c)},Bb:function(b,c){qh(a,b,c)},Sb:function(b,c){rh(a,b,c)}})};/* 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 Eh(){var a=a===void 0?window:a;return Fh(a)?{passive:!0}:!1}function Fh(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 Gh(a,b){if(a.closest)return a.closest(b);for(;a;){if(Hh(a,b))return a;a=a.parentElement}return null}function Hh(a,b){return(a.matches||a.webkitMatchesSelector||a.msMatchesSelector).call(a,b)};var Ih={Ke:"mdc-ripple-upgraded--background-focused",Qe:"mdc-ripple-upgraded--foreground-activation",Re:"mdc-ripple-upgraded--foreground-deactivation",da:"mdc-ripple-upgraded",rf:"mdc-ripple-upgraded--unbounded"},Jh={nj:"--mdc-ripple-fg-scale",oj:"--mdc-ripple-fg-size",pj:"--mdc-ripple-fg-translate-end",qj:"--mdc-ripple-fg-translate-start",rj:"--mdc-ripple-left",sj:"--mdc-ripple-top"},Kh={ei:225,oi:150,yi:.6,Li:10,ej:300};var Lh;function Mh(){var a=window;var b=b===void 0?!1:b;var c=a.CSS;if(typeof Lh==="boolean"&&!b)return Lh;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||(Lh=a);return a};var Nh=["touchstart","pointerdown","mousedown","keydown"],Oh=["touchend","pointerup","mouseup","contextmenu"],Ph=[];function Qh(a){N.call(this,Object.assign({},Qh.l,a));var b=this;this.B=!1;this.G=this.D=0;this.H="0";this.l={width:0,height:0};this.I=this.A=this.m=0;this.C={left:0,top:0};this.o=Rh();this.M=function(){b.B=!0;Sh(b)};this.L=function(c){Th(b,c)};this.v=function(){Uh(b)};this.T=function(){Vh(b)};this.R=function(){Wh(b)};this.X=function(){b.layout()}}r(Qh,N); Qh.prototype.init=function(){var a=this,b=this.j.Hf();Xh(this,b);if(b){b=Qh.j;var c=b.da,d=b.rf;requestAnimationFrame(function(){a.j.addClass(c);a.j.qa()&&(a.j.addClass(d),Yh(a))})}};Qh.prototype.layout=function(){var a=this;this.A&&cancelAnimationFrame(this.A);this.A=requestAnimationFrame(function(){Yh(a);a.A=0})};function Vh(a){requestAnimationFrame(function(){a.j.addClass(Qh.j.Ke)})}function Wh(a){requestAnimationFrame(function(){a.j.removeClass(Qh.j.Ke)})} function Rh(){return{Qd:void 0,og:!1,ad:!1,ie:!1,Ae:!1,Jb:!1}}function Xh(a,b){if(b){b=t(Nh);for(var c=b.next();!c.done;c=b.next())a.j.ca(c.value,a.L);a.j.qa()&&a.j.Wg(a.X)}a.j.ca("focus",a.T);a.j.ca("blur",a.R)}function Zh(a,b){if(b.type==="keydown")a.j.ca("keyup",a.v);else{b=t(Oh);for(var c=b.next();!c.done;c=b.next())a.j.Vg(c.value,a.v)}}function $h(a){a.j.ya("keyup",a.v);for(var b=t(Oh),c=b.next();!c.done;c=b.next())a.j.Tf(c.value,a.v)} function Th(a,b){if(!a.j.Fg()){var c=a.o;if(!c.ad){var d=a.J;d&&b!==void 0&&d.type!==b.type||(c.ad=!0,c.ie=b===void 0,c.Qd=b,c.Ae=c.ie?!1:b!==void 0&&(b.type==="mousedown"||b.type==="touchstart"||b.type==="pointerdown"),b!==void 0&&Ph.length>0&&Ph.some(function(e){return a.j.Mf(e)})?ai(a):(b!==void 0&&(Ph.push(b.target),Zh(a,b)),c.Jb=b!==void 0&&b.type==="keydown"?a.j.Yb():!0,c.Jb&&bi(a),requestAnimationFrame(function(){Ph=[];c.Jb||b===void 0||b.key!==" "&&b.keyCode!==32||(c.Jb=b!==void 0&&b.type=== "keydown"?a.j.Yb():!0,c.Jb&&bi(a));c.Jb||(a.o=Rh())})))}}}function bi(a){var b=Qh.m,c=b.qj;b=b.pj;var d=Qh.j,e=d.Re;d=d.Qe;var f=Qh.o.ei;Yh(a);var g="",h="";a.j.qa()||(h=ci(a),g=h.jk,h=h.Kj,g=g.x+"px, "+g.y+"px",h=h.x+"px, "+h.y+"px");a.j.Gb(c,g);a.j.Gb(b,h);clearTimeout(a.D);clearTimeout(a.G);di(a);a.j.removeClass(e);a.j.nc();a.j.addClass(d);a.D=setTimeout(function(){a.M()},f)} function ci(a){var b=a.o,c=b.Qd;if(b.Ae){var d=a.j.lg(),e=a.j.nc();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{jk:c,Kj:{x:a.l.width/2-a.m/2,y:a.l.height/2-a.m/2}}}function Sh(a){var b=Qh.j.Re,c=a.o,d=c.ad;!c.og&&d||!a.B||(di(a),a.j.addClass(b),a.G=setTimeout(function(){a.j.removeClass(b)},Kh.oi))} function di(a){a.j.removeClass(Qh.j.Qe);a.B=!1;a.j.nc()}function ai(a){a.J=a.o.Qd;a.o=Rh();setTimeout(function(){return a.J=void 0},Qh.o.ej)}function Uh(a){var b=a.o;if(b.ad){var c=Object.assign({},b);b.ie?(requestAnimationFrame(function(){ei(a,c)}),ai(a)):($h(a),requestAnimationFrame(function(){a.o.og=!0;ei(a,c);ai(a)}))}}function ei(a,b){var c=b.Ae;b=b.Jb;(c||b)&&Sh(a)} function Yh(a){a.l=a.j.nc();var b=Math.max(a.l.height,a.l.width);a.I=a.j.qa()?b:Math.sqrt(Math.pow(a.l.width,2)+Math.pow(a.l.height,2))+Qh.o.Li;b=Math.floor(b*Qh.o.yi);a.j.qa()&&b%2!==0?a.m=b-1:a.m=b;a.H=""+a.I/a.m;b=Qh.m;var c=b.rj,d=b.sj,e=b.nj;a.j.Gb(b.oj,a.m+"px");a.j.Gb(e,a.H);a.j.qa()&&(a.C={left:Math.round(a.l.width/2-a.m/2),top:Math.round(a.l.height/2-a.m/2)},a.j.Gb(c,a.C.left+"px"),a.j.Gb(d,a.C.top+"px"))} p.Object.defineProperties(Qh,{j:{configurable:!0,enumerable:!0,get:function(){return Ih}},m:{configurable:!0,enumerable:!0,get:function(){return Jh}},o:{configurable:!0,enumerable:!0,get:function(){return Kh}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},Hf:function(){return!0},nc:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},Mf:function(){return!0},Tf:function(){},ya:function(){},Aj:function(){},lg:function(){return{x:0,y:0}},Yb:function(){return!0}, Fg:function(){return!0},qa:function(){return!0},Vg:function(){},ca:function(){},Wg:function(){},removeClass:function(){},Gb:function(){}}}}});function fi(){O.apply(this,arguments);this.disabled=!1}r(fi,O);function gi(a){var b=b===void 0?{qa:void 0}:b;a=new fi(a);b.qa!==void 0&&(a.ye=b.qa);return a} function hi(a){return{addClass:function(b){a.root.classList.add(b)},Hf:function(){return Mh()},nc:function(){return a.root.getBoundingClientRect()},Mf:function(b){return a.root.contains(b)},Tf:function(b,c){document.documentElement.removeEventListener(b,c,Eh())},ya:function(b,c){a.root.removeEventListener(b,c,Eh())},Aj:function(b){window.removeEventListener("resize",b)},lg:function(){return{x:window.pageXOffset,y:window.pageYOffset}},Yb:function(){return Hh(a.root,":active")},Fg:function(){return!!a.disabled}, qa:function(){return!!a.ye},Vg:function(b,c){document.documentElement.addEventListener(b,c,Eh())},ca:function(b,c){a.root.addEventListener(b,c,Eh())},Wg:function(b){window.addEventListener("resize",b)},removeClass:function(b){a.root.classList.remove(b)},Gb:function(b,c){a.root.style.setProperty(b,c)}}}fi.prototype.layout=function(){this.j.layout()};fi.prototype.Y=function(){return new Qh(hi(this))};fi.prototype.Ba=function(){this.qa="mdcRippleIsUnbounded"in this.root.dataset}; p.Object.defineProperties(fi.prototype,{ye:{configurable:!0,enumerable:!0,get:function(){return!!this.qa},set:function(a){this.qa=!!a;a=this.j;var b=Qh.j.rf;this.qa?a.j.addClass(b):a.j.removeClass(b)}}});var ii={Ei:"mdc-floating-label--float-above",Fi:"mdc-floating-label--required",Ck:"mdc-floating-label--hide-required-marker",Bd:"mdc-floating-label--shake",da:"mdc-floating-label"};function ji(a){N.call(this,Object.assign({},ji.l,a));var b=this;this.l=function(){b.j.removeClass(ji.j.Bd)}}r(ji,N);ji.prototype.init=function(){this.j.ca("animationend",this.l)};ji.prototype.Ra=function(){return this.j.Ra()};function ki(a,b){var c=ji.j,d=c.Ei;c=c.Bd;b?a.j.addClass(d):(a.j.removeClass(d),a.j.removeClass(c))}function li(a,b){var c=ji.j.Fi;b?a.j.addClass(c):a.j.removeClass(c)} p.Object.defineProperties(ji,{j:{configurable:!0,enumerable:!0,get:function(){return ii}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Ra:function(){return 0},ca:function(){},ya:function(){}}}}});function mi(){O.apply(this,arguments)}r(mi,O);mi.prototype.Ra=function(){return this.j.Ra()}; mi.prototype.Y=function(){var a=this;return new ji({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(){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},ca:function(b,c){qh(a,b,c)},ya:function(b,c){rh(a,b,c)}})};var ni={Ji:".mdc-notched-outline__notch"},oi={Ii:8},pi={gf:"mdc-notched-outline--no-label",Id:"mdc-notched-outline--notched",Ki:"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 qi(a){N.call(this,Object.assign({},qi.l,a))}r(qi,N);function ri(a,b){var c=qi.j.Id;b>0&&(b+=oi.Ii);a.j.rh(b);a.j.addClass(c)}p.Object.defineProperties(qi,{m:{configurable:!0,enumerable:!0,get:function(){return ni}},j:{configurable:!0,enumerable:!0,get:function(){return pi}},o:{configurable:!0,enumerable:!0,get:function(){return oi}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},rh:function(){},pe:function(){}}}}});function si(){O.apply(this,arguments)}r(si,O);si.prototype.Ba=function(){this.l=this.root.querySelector(ni.Ji);var a=this.root.querySelector("."+ji.j.da);a?(a.style.transitionDuration="0s",this.root.classList.add(pi.Ki),requestAnimationFrame(function(){a.style.transitionDuration=""})):this.root.classList.add(pi.gf)}; si.prototype.Y=function(){var a=this;return new qi({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},rh:function(b){a.l.style.setProperty("width",b+"px")},pe:function(){a.l.style.removeProperty("width")}})};var ti={da:"mdc-text-field-character-counter"},ui={Kc:"."+ti.da};function vi(a){N.call(this,Object.assign({},vi.l,a))}r(vi,N);vi.prototype.kd=function(a,b){a=Math.min(a,b);this.j.fa(a+" / "+b);this.j.kd(a,b)};p.Object.defineProperties(vi,{j:{configurable:!0,enumerable:!0,get:function(){return ti}},m:{configurable:!0,enumerable:!0,get:function(){return ui}},l:{configurable:!0,enumerable:!0,get:function(){return{fa:function(){},kd:function(){}}}}});function wi(){O.apply(this,arguments)}r(wi,O);wi.prototype.Y=function(){var a=this;return new vi({fa:function(b){a.root.textContent=b},kd:function(){}})};p.Object.defineProperties(wi.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var xi={sd:"aria-controls",rb:"aria-describedby",zi:".mdc-text-field__input",cb:".mdc-floating-label",Cd:".mdc-text-field__icon--leading",Dd:".mdc-line-ripple",Jd:".mdc-notched-outline",Pi:".mdc-text-field__affix--prefix",cj:".mdc-text-field__affix--suffix",hj:".mdc-text-field__icon--trailing"},yi={Qa:"mdc-text-field--disabled",ub:"mdc-text-field--focused",si:"mdc-text-field-helper-line",wb:"mdc-text-field--invalid",Di:"mdc-text-field--label-floating",gf:"mdc-text-field--no-label",Hd:"mdc-text-field--outlined", da:"mdc-text-field",fj:"mdc-text-field--textarea",tj:"mdc-text-field--with-leading-icon",Pk:"mdc-text-field--with-trailing-icon",Ok:"mdc-text-field--with-internal-counter"},zi={Ad:.75},Ai="pattern min max required step minlength maxlength".split(" "),Bi="color date datetime-local month range time week".split(" ");var Ci=["mousedown","touchstart"],Di=["click","keydown"]; function Ei(a,b){b=b===void 0?{}:b;N.call(this,Object.assign({},Ei.l,a));var c=this;this.m=this.Ca=!1;this.V=b.V;this.yb=b.yb;this.ia=b.ia;this.Fb=b.Fb;this.valid=!this.j.hasClass(Ei.j.wb);this.v=function(){Fi(c)};this.A=function(){c.Ca=!1;c.j.Qf();var d=c.pa();Gi(c,d);Hi(c,c.Ca);c.j.va()&&(c.Da(c.l),c.j.ib(c.l),Ii(c,c.l),c.j.Fc(c.o));c.l||(c.m=!1)};this.B=function(){c.m||Fi(c);Ji(c,c.ba().value.length)};this.C=function(d){c.nd(d)};this.G=function(){var d=c.j.ba();d&&d.disabled||(c.m=!0)};this.H= function(d){Ki(c,d)}}r(Ei,N);k=Ei.prototype;k.init=function(){this.j.va()&&this.ba().required&&this.j.Db(!0);this.j.Ca()?this.v():this.j.va()&&this.l&&(this.Da(!0),this.j.ib(!0),Ii(this,!0));this.j.Cc("focus",this.v);this.j.Cc("blur",this.A);this.j.Cc("input",this.B);for(var a=t(Ci),b=a.next();!b.done;b=a.next())this.j.Cc(b.value,this.C);a=t(Di);for(b=a.next();!b.done;b=a.next())this.j.Xg(b.value,this.G);this.j.Yg(this.H);Ji(this,this.ba().value.length)}; function Ki(a,b){b.some(function(c){return Ai.indexOf(c)>-1?(Gi(a,!0),a.j.Db(a.ba().required),!0):!1});b.indexOf("maxlength")>-1&&Ji(a,a.ba().value.length)}k.Da=function(a){this.j.Vb()&&this.j.va()&&(a?(a=this.j.sc()*zi.Ad,this.j.Da(a)):this.j.mc())};function Fi(a){a.Ca=!0;Hi(a,a.Ca);a.j.yf();a.j.va()&&(a.Da(a.l),a.j.ib(a.l),Ii(a,a.l),a.j.Fc(a.o));!a.V||!a.V.j.hasClass(Li.Ve)&&a.V.j.hasClass(Li.fc)&&a.valid||a.V.j.removeAttr(Mi.Pa)} k.nd=function(a){if(!this.Ta()&&!this.j.Vb()){var b=a.touches;a=b?b[0]:a;b=a.target.getBoundingClientRect();this.j.mh(a.clientX-b.left)}};k.pa=function(){return this.ba().validity.valid};k.Ta=function(){return this.ba().disabled};function Ji(a,b){if(a.yb){var c=a.ba().maxLength;if(c===-1)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");a.yb.kd(b,c)}} function Gi(a,b){var c=Ei.j.wb;b?a.j.removeClass(c):a.j.addClass(c);if(a.V){c=a.V;var d=c.j.hasClass(Li.Ve);(b=c.j.hasClass(Li.fc)&&!b)?(c.j.removeAttr(Mi.Pa),c.j.za(Mi.Xa)==="alert"?Ni(c):c.j.ja(Mi.Xa,"alert")):c.j.removeAttr(Mi.Xa);d||b||c.hide();a.V.j.hasClass(Li.fc)&&(b=a.V.isVisible(),c=a.V.Va(),b&&c?a.j.kh(xi.rb,c):a.j.eh(xi.rb))}}function Hi(a,b){var c=Ei.j.ub;b?a.j.addClass(c):a.j.removeClass(c)}function Ii(a,b){var c=Ei.j.Di;b?a.j.addClass(c):a.j.removeClass(c)} k.ba=function(){return(this.j?this.j.ba():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}};p.Object.defineProperties(Ei.prototype,{D:{configurable:!0,enumerable:!0,get:function(){return Bi.indexOf(this.ba().type)>=0}},l:{configurable:!0,enumerable:!0,get:function(){return this.D||this.Ca||!!this.ba().value||this.ba().validity.badInput||!1}},o:{configurable:!0,enumerable:!0,get:function(){return!this.Ca&&!this.pa()&&!!this.ba().value}}}); p.Object.defineProperties(Ei,{j:{configurable:!0,enumerable:!0,get:function(){return yi}},m:{configurable:!0,enumerable:!0,get:function(){return xi}},o:{configurable:!0,enumerable:!0,get:function(){return zi}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},kh:function(){},eh:function(){},Xg:function(){},Bj:function(){},Cc:function(){},zj:function(){},Yg:function(){return new MutationObserver(function(){})},Cj:function(){}, ba:function(){return null},Ca:function(){return!1},yf:function(){},Qf:function(){},mh:function(){},Fc:function(){},ib:function(){},Db:function(){},va:function(){return!1},sc:function(){return 0},Vb:function(){return!1},Da:function(){},mc:function(){}}}}});var Li={Ve:"mdc-text-field-helper-text--persistent",fc:"mdc-text-field-helper-text--validation-msg",da:"mdc-text-field-helper-text"},Mi={Pa:"aria-hidden",Xa:"role",Kc:"."+Li.da};function Oi(a){N.call(this,Object.assign({},Oi.l,a))}r(Oi,N);Oi.prototype.Va=function(){return this.j.za("id")};Oi.prototype.isVisible=function(){return this.j.za(Mi.Pa)!=="true"};Oi.prototype.fa=function(a){this.j.fa(a)};Oi.prototype.hide=function(){this.j.ja(Mi.Pa,"true")};function Ni(a){a.j.removeAttr(Mi.Xa);requestAnimationFrame(function(){a.j.ja(Mi.Xa,"alert")})} p.Object.defineProperties(Oi,{j:{configurable:!0,enumerable:!0,get:function(){return Li}},m:{configurable:!0,enumerable:!0,get:function(){return Mi}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},za:function(){return null},ja:function(){},removeAttr:function(){},fa:function(){}}}}});function Pi(){O.apply(this,arguments)}r(Pi,O);Pi.prototype.Y=function(){var a=this;return new Oi({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)},za:function(b){return a.root.getAttribute(b)},ja:function(b,c){th(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},fa:function(b){a.root.textContent=b}})};p.Object.defineProperties(Pi.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var Qi={xd:"MDCTextField:icon",yd:"button"},Ri={da:"mdc-text-field__icon"};var Si=["click","keydown"];function Ti(a){N.call(this,Object.assign({},Ti.l,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.Ac()}}r(Ti,N);Ti.prototype.init=function(){this.l=this.j.za("tabindex");for(var a=t(Si),b=a.next();!b.done;b=a.next())this.j.ca(b.value,this.m)};function Ui(a,b){a.l&&(b?(a.j.ja("tabindex","-1"),a.j.removeAttr("role")):(a.j.ja("tabindex",a.l),a.j.ja("role",Qi.yd)))} Ti.prototype.fa=function(a){this.j.fa(a)};p.Object.defineProperties(Ti,{m:{configurable:!0,enumerable:!0,get:function(){return Qi}},j:{configurable:!0,enumerable:!0,get:function(){return Ri}},l:{configurable:!0,enumerable:!0,get:function(){return{za:function(){return null},ja:function(){},removeAttr:function(){},fa:function(){},ca:function(){},ya:function(){},Ac:function(){}}}}});function Vi(){O.apply(this,arguments)}r(Vi,O);Vi.prototype.Y=function(){var a=this;return new Ti({za:function(b){return a.root.getAttribute(b)},ja:function(b,c){th(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},fa:function(b){a.root.textContent=b},ca:function(b,c){qh(a,b,c)},ya:function(b,c){rh(a,b,c)},Ac:function(){sh(a,Ti.m.xd,{},!0)}})};p.Object.defineProperties(Vi.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});function Wi(){O.apply(this,arguments)}r(Wi,O);k=Wi.prototype; k.bb=function(a,b,c,d,e,f,g){a=a===void 0?function(l,m){return new fi(l,m)}:a;b=b===void 0?function(l){return new Dh(l)}:b;c=c===void 0?function(l){return new Pi(l)}:c;d=d===void 0?function(l){return new wi(l)}:d;e=e===void 0?function(l){return new Vi(l)}:e;f=f===void 0?function(l){return new mi(l)}:f;g=g===void 0?function(l){return new si(l)}:g;this.input=this.root.querySelector(xi.zi);var h=this.root.querySelector(xi.cb);this.label=h?f(h):null;this.l=(f=this.root.querySelector(xi.Dd))?b(f):null; this.m=(b=this.root.querySelector(xi.Jd))?g(b):null;f=Oi.m;this.V=(f=(b=(g=this.root.nextElementSibling)&&g.classList.contains(yi.si))&&g&&g.querySelector(f.Kc))?c(f):null;c=vi.m;f=this.root.querySelector(c.Kc);!f&&b&&g&&(f=g.querySelector(c.Kc));this.yb=f?d(f):null;this.ia=(d=this.root.querySelector(xi.Cd))?e(d):null;this.Fb=(d=this.root.querySelector(xi.hj))?e(d):null;this.prefix=this.root.querySelector(xi.Pi);this.suffix=this.root.querySelector(xi.cj);this.sa=Xi(this,a)}; k.Ba=function(){this.disabled=this.input.disabled};k.focus=function(){this.input.focus()};k.layout=function(){this.j.Da(this.j.l)};k.Y=function(){var a=Object.assign({},Yi(this),Zi(this),$i(this),aj(this),bj(this));return new Ei(a,{yb:this.yb?this.yb.l:void 0,V:this.V?this.V.l:void 0,ia:this.ia?this.ia.l:void 0,Fb:this.Fb?this.Fb.l:void 0})}; function Yi(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)},Xg:function(b,c){qh(a,b,c)},Bj:function(b,c){rh(a,b,c)},Yg: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},Cj:function(b){b.disconnect()}}} function Zi(a){return{ba:function(){return a.input},kh:function(b,c){th(a.input,b,c)},eh:function(b){a.input.removeAttribute(b)},Ca:function(){return document.activeElement===a.input},Cc:function(b,c){a.input.addEventListener(b,c,Eh())},zj:function(b,c){a.input.removeEventListener(b,c,Eh())}}} function $i(a){return{ib:function(b){a.label&&ki(a.label.j,b)},sc:function(){return a.label?a.label.Ra():0},va:function(){return!!a.label},Fc:function(b){if(a.label){var c=a.label.j,d=ji.j.Bd;b?c.j.addClass(d):c.j.removeClass(d)}},Db:function(b){a.label&&li(a.label.j,b)}}}function aj(a){return{yf:function(){a.l&&Ch(a.l.j)},Qf:function(){a.l&&a.l.j.j.addClass(Ah.hc)},mh:function(b){a.l&&a.l.Eb(b)}}} function bj(a){return{mc:function(){if(a.m){var b=a.m.j;b.j.removeClass(qi.j.Id);b.j.pe()}},Vb:function(){return!!a.m},Da:function(b){a.m&&ri(a.m.j,b)}}}function Xi(a,b){var c=a.root.classList.contains(yi.Hd);if(a.root.classList.contains(yi.fj)||c)return null;c=Object.assign({},hi(a),{Yb:function(){return Hh(a.input,":active")},ca:function(d,e){a.input.addEventListener(d,e,Eh())},ya:function(d,e){a.input.removeEventListener(d,e,Eh())}});return b(a.root,new Qh(c))} p.Object.defineProperties(Wi.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.j.ba().value},set:function(a){var b=this.j;b.ba().value!==a&&(b.ba().value=a);Ji(b,a.length);a=b.pa();Gi(b,a);b.j.va()&&(b.Da(b.l),b.j.ib(b.l),Ii(b,b.l),b.j.Fc(b.o))}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.j.Ta()},set:function(a){var b=this.j;b.ba().disabled=a;var c=Ei.j,d=c.Qa;c=c.wb;a?(b.j.addClass(d),b.j.removeClass(c)):b.j.removeClass(d);b.ia&&Ui(b.ia,a);b.Fb&&Ui(b.Fb, a)}},valid:{configurable:!0,enumerable:!0,get:function(){return this.j.pa()},set:function(a){var b=this.j;b.valid=a;Gi(b,a);a=!a&&!b.Ca&&!!b.ba().value;b.j.va()&&b.j.Fc(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 cj(a,b){var c=Ff(),d=new bf;a=Ld(d,1,a).fa(b);b=z(c,cf,4);Ad(b,1,df,a);Q(c)}window.onerror=function(a,b,c){cj(3,"Script error in "+b+" (line "+c+"): "+a)};function dj(){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 Q(a){switch(dj()){case 1:window.cefQuery({request:JSON.stringify(Qc(a)),il:!1,hl:function(){},gl:function(f,g){return console.log(JSON.stringify(Qc(a)),g)}});break;case 2:var b,c;(b=window.chrome)==null||(c=b.webview)==null||c.postMessage(JSON.stringify(Qc(a)));break;case 3:var d,e;(d=window.webkit)==null||(e=d.messageHandlers)==null||e.postMessageListener.postMessage(JSON.stringify(Qc(a)));break;default:console.log("Unsupported browser.")}} function ej(a){if(y(a,Jf,1)){var b=z(a,Jf,1);b=B(b,1)||"";var c=z(a,Jf,1);c=Fd(c,2);a=z(a,Jf,1);a=Fd(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 R(a){a.toggleClass("hidden",!1)} function S(a){a.toggleClass("hidden",!0)}function fj(a){a&&a.classList.contains("hidden")&&a.classList.toggle("hidden")}function gj(a){a&&(a.classList.contains("hidden")||a.classList.toggle("hidden"))}function hj(a){for(;a.lastChild;)a.removeChild(a.lastChild)}function ij(a,b){a.onclick=b;a.onkeypress=function(c){var d=c.keyCode;d!=32&&d!=13||b(c)}}var T=new mh,jj=new Set(T.j.v);jj.add("id");T.j=new bh(T.j.o,T.j.j,jj,T.j.l,T.j.m);var kj=new Set(T.j.v);kj.add("class"); T.j=new bh(T.j.o,T.j.j,kj,T.j.l,T.j.m);for(var lj=new Set(["class","id"]),mj=new Set,nj=new Map,oj=new Map,pj=t(lj),qj=pj.next();!qj.done;qj=pj.next()){var rj=qj.value;T.j.v.has(rj)&&mj.add(rj);T.j.l.has(rj)&&nj.set(rj,T.j.l.get(rj))} for(var sj=t(T.j.j.entries()),tj=sj.next();!tj.done;tj=sj.next()){for(var uj=t(tj.value),vj=uj.next().value,wj=uj.next().value,xj=vj,yj=new Map,zj=t(wj.entries()),Aj=zj.next();!Aj.done;Aj=zj.next()){var Bj=t(Aj.value),Cj=Bj.next().value,Dj=Bj.next().value,Ej=Cj,Fj=Dj;lj.has(Ej)&&yj.set(Ej,Fj)}oj.set(xj,yj)}T.j=new bh(T.j.o,oj,mj,nj,T.j.m);var Gj=["data-file"]; if(Gj===void 0){var Hj=new Set(T.j.m);Hj.add("data-");T.j=new bh(T.j.o,T.j.j,T.j.v,T.j.l,Hj)}else{for(var Ij=new Set(T.j.v),Jj=t(Gj),Kj=Jj.next();!Kj.done;Kj=Jj.next()){var Lj=Kj.value;if(Lj.indexOf("data-")!==0)throw Error("data attribute: "+Lj+' does not begin with the prefix "data-"');Ij.add(Lj)}T.j=new bh(T.j.o,T.j.j,Ij,T.j.l,T.j.m)}if(T.l)throw Error("this sanitizer has already called build");T.l=!0;var fh=new function(a,b){this.l=a;this.j=b}(T.j,T.m); function Mj(a,b){if(b!==null&&b!==void 0){typeof b==="string"&&(b=eh(b));if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("");a.innerHTML=Lg(b)}}function Nj(a,b){b!==null&&b!==void 0&&(typeof b==="string"&&(b=eh(b)),a.html(Lg(b).toString()));return a} function Oj(a){if(a){for(var b=t(a.querySelectorAll(".mdc-button")),c=b.next();!c.done;c=b.next())gi(c.value);b=t(a.querySelectorAll(".mdc-line-ripple"));for(c=b.next();!c.done;c=b.next())new Dh(c.value);a=t(a.querySelectorAll(".mdc-text-field"));for(b=a.next();!b.done;b=a.next())new Wi(b.value)}}function Pj(a){a=a.clone();Oj(a[0]);return a};function U(){var a=new Qd;Td(a,"no_user");return a}function Qj(){this.map=new Map}k=Qj.prototype;k.set=function(a,b){a&&(a=Sd(a))&&this.map.set(a,b)};k.get=function(a){return a?Rj(this,Sd(a)):null};function Rj(a,b){return b?a.map.get(b):null}k.delete=function(a){a?a=(a=Sd(a))?this.map.delete(a):!1:a=!1;return a};k.has=function(a){a?a=(a=Sd(a))?this.map.has(a):!1:a=!1;return a}; k.keys=function(){var a=this.map.keys(),b={},c=(b.next=function(){var d=a.next();if(!d.done){var e=new Qd;Td(e,d.value);d.value=e}return d},b[Symbol.iterator]=function(){return c},b);return c};k.values=function(){return this.map.values()};Qj.prototype[Symbol.iterator]=function(){var a=this.map[Symbol.iterator]();return{next:function(){var b=a.next();if(!b.done){var c=t(b.value),d=c.next().value;c=c.next().value;var e=new Qd;Td(e,d);b.value=[e,c]}return b}}};Qj.prototype.clear=function(){this.map.clear()}; function Sj(a,b){return a&&b?rc(x(a,1))==rc(x(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 Tj(){this.j=new Map}Tj.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)};Tj.prototype.cancel=function(a){var b=this.j.get(a);b&&(cancelAnimationFrame(b),this.j.delete(a))};var Uj={animation:{nb:"-webkit-animation",pb:"animation"},transform:{nb:"-webkit-transform",pb:"transform"},transition:{nb:"-webkit-transition",pb:"transition"}},Vj={Qk:{Nc:"animation",nb:"webkitAnimationEnd",pb:"animationend"},Rk:{Nc:"animation",nb:"webkitAnimationIteration",pb:"animationiteration"},Sk:{Nc:"animation",nb:"webkitAnimationStart",pb:"animationstart"},ll:{Nc:"transition",nb:"webkitTransitionEnd",pb:"transitionend"}}; function xk(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"transform"in Uj){var b=Uj.transform,c=b.pb;b=b.nb;return c in a.document.createElement("div").style?c:b}return"transform"}function yk(){var a=window;if(a.document&&typeof a.document.createElement==="function"&&"animationend"in Vj){var b=Vj.animationend,c=b.pb,d=b.nb;return b.Nc in a.document.createElement("div").style?c:d}return"animationend"};var zk=new Set;zk.add("Backspace");zk.add("Enter");zk.add("Spacebar");zk.add("PageUp");zk.add("PageDown");zk.add("End");zk.add("Home");zk.add("ArrowLeft");zk.add("ArrowUp");zk.add("ArrowRight");zk.add("ArrowDown");zk.add("Delete");zk.add("Escape");zk.add("Tab");var Ak=new Map;Ak.set(8,"Backspace");Ak.set(13,"Enter");Ak.set(32,"Spacebar");Ak.set(33,"PageUp");Ak.set(34,"PageDown");Ak.set(35,"End");Ak.set(36,"Home");Ak.set(37,"ArrowLeft");Ak.set(38,"ArrowUp");Ak.set(39,"ArrowRight");Ak.set(40,"ArrowDown"); Ak.set(46,"Delete");Ak.set(27,"Escape");Ak.set(9,"Tab");var Bk=new Set;Bk.add("PageUp");Bk.add("PageDown");Bk.add("End");Bk.add("Home");Bk.add("ArrowLeft");Bk.add("ArrowUp");Bk.add("ArrowRight");Bk.add("ArrowDown");function Ck(a){var b=a.key;return zk.has(b)?b:(a=Ak.get(a.keyCode))?a:"Unknown"};var Dk=typeof window!=="undefined"; function Ek(a){N.call(this,Object.assign({},Ek.l,a));var b=this;this.A=!1;this.H=this.D=this.o=0;this.v=this.B=this.I=this.G=this.m=null;this.gb=[];this.hb=[];this.fb=new Tj;this.M=function(c){b.l&&(c.relatedTarget===null||Fk(b,c.relatedTarget))||b.hide()};this.R=function(c){b.l&&b.C&&Gk(b,c.target)||b.hide()};this.T=function(c){if(Ck(c)==="Escape"){var d=b.j.ae(),e=!1;b.j.fd(d)&&(e=b.j.pd(d));e&&b.j.Vf();b.hide();c.stopPropagation()}};this.ma=function(){b.show()};this.na=function(){Hk(b)};this.ga= function(c){Gk(b,c.relatedTarget)||c.relatedTarget===null&&b.J||b.hide()};this.xa=function(){b.C||b.hide()};this.L=function(){Ik(b)}}r(Ek,N);k=Ek.prototype;k.init=function(){this.l=this.j.hasClass("mdc-tooltip--rich");this.C=this.j.getAttribute("data-mdc-tooltip-persistent")==="true";this.J=!!this.j.be("aria-expanded")&&this.j.be("aria-haspopup")==="dialog";this.X=this.l&&this.j.getAttribute("data-mdc-tooltip-has-caret")==="true"}; function Jk(a){a.A?a.show():(Kk(a),a.v=setTimeout(function(){a.show()},500))}function Lk(a){a.v=setTimeout(function(){a.show()},500);a.j.La("contextmenu",a.ne)}k.ne=function(a){a.preventDefault()};function Fk(a,b){return a.j.fd(b)&&a.j.pd(b)}function Gk(a,b){return a.j.fd(b)&&(a.j.pd(b)||a.j.Ef(b))}function Mk(a,b){Fk(a,b.relatedTarget)||(a.v=setTimeout(function(){a.show()},500))}function Nk(a){Ok(a);a.B=setTimeout(function(){a.hide()},600)} function Hk(a){Ok(a);a.B=setTimeout(function(){a.hide()},600)}function Ik(a){a.fb.request("poll_anchor",function(){var b=a.j.ce();if(b&&a.m){var c=a.j.Ab();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.ee(),a.l?Pk(a):Qk(a))}})} k.show=function(){var a=this;Kk(this);Ok(this);if(!this.A){this.A=!0;this.j.removeAttribute("aria-hidden");this.l&&(this.J&&this.j.re("aria-expanded","true"),this.j.Bb("focusout",this.ga));this.C||(this.j.Bb("mouseenter",this.ma),this.j.Bb("mouseleave",this.na));this.j.removeClass("mdc-tooltip--hide");this.j.addClass("mdc-tooltip--showing");Rk(this)&&!this.l&&this.j.addClass("mdc-tooltip--multiline");this.m=this.j.ce();this.G=this.j.ee();this.l?Pk(this):Qk(this);this.j.Tg("blur",this.M);this.j.oe("click", this.R);this.j.oe("keydown",this.T);this.j.La("scroll",this.xa);this.j.La("resize",this.L);for(var b=t(this.gb),c=b.next();!c.done;c=b.next())c=c.value,c();this.I=requestAnimationFrame(function(){Sk(a);a.j.addClass("mdc-tooltip--shown");a.j.addClass("mdc-tooltip--showing-transition")})}}; k.hide=function(){Kk(this);Ok(this);if(this.A){this.I&&cancelAnimationFrame(this.I);this.A=!1;this.j.setAttribute("aria-hidden","true");this.j.Sb("focusout",this.ga);this.l&&this.J&&this.j.re("aria-expanded","false");this.C||(this.j.Sb("mouseenter",this.ma),this.j.Sb("mouseleave",this.na));Sk(this);this.j.addClass("mdc-tooltip--hide");this.j.addClass("mdc-tooltip--hide-transition");this.j.removeClass("mdc-tooltip--shown");this.j.Rf("blur",this.M);this.j.Ud("click",this.R);this.j.Ud("keydown",this.T); this.j.Ia("scroll",this.xa);this.j.Ia("resize",this.L);this.j.Ia("contextmenu",this.ne);for(var a=t(this.hb),b=a.next();!b.done;b=a.next())b=b.value,b()}};function Sk(a){a.j.removeClass("mdc-tooltip--showing-transition");a.j.removeClass("mdc-tooltip--hide-transition")}function Rk(a){a=a.j.Ka();return a.height>24&&a.width>=200}function Qk(a){var b=Tk(a,a.m),c=b.top,d=b.left;a.j.ve((Dk?xk():"transform")+"-origin",b.O+" "+b.U);a.j.ob("top",c+"px");a.j.ob("left",d+"px")} function Pk(a){a.j.ob("width","");a.j.ob("left","-320px");var b=Number(a.j.Qc("width").slice(0,-2));a.j.ob("width",Math.min(Math.max(a.j.jb()-16,40),isFinite(b)?b:320)+"px");if(a.X){var c=a.m;a.j.Rd();var d=a.j.jg();if(c&&d){b=d.width/.8;d=d.height/.8/2;var e=a.j.Ka();var f=e.width;var g=!a.j.wc(),h=c.left+c.width/2,l=c.left-(f+4+d),m=c.right+4+d,n=h-(24+b/2),w=h-(f-24-b/2);f=new Map([[1,g?n:w],[2,h-f/2],[3,g?w:n],[5,g?m:l],[4,g?l:m]]);g=e.height;h=c.top+c.height/2;g=new Map([[1,c.top-(4+g+d)],[2, c.bottom+4+d],[3,h-(24+b/2)],[4,h-g/2],[5,h-(g-24-b/2)]]);h=new Map;l=new Map;m=new Map([[1,[1,2,3]],[2,[1,2,3]],[3,[4,5]],[4,[4,5]],[5,[4,5]]]);n=t(m.keys());for(w=n.next();!w.done;w=n.next()){w=w.value;var E=g.get(w);if(E+a.j.Ka().height+8<=a.j.Ab()&&E>=8)for(var J=t(m.get(w)),H=J.next();!H.done;H=J.next()){var P=H.value;H=f.get(P);H+a.j.Ka().width<=a.j.jb()-8&&H>=8&&(P=Uk(P,w),h.set(P,{Kb:H,Lb:E}))}if(E+a.j.Ka().height<=a.j.Ab()&&E>=0)for(J=t(m.get(w)),H=J.next();!H.done;H=J.next())P=H.value,H= f.get(P),H+a.j.Ka().width<=a.j.jb()&&H>=0&&(P=Uk(P,w),l.set(P,{Kb:H,Lb:E}))}f=h.size?h:l;f.size<1&&(g=!a.j.wc(),c.left<0?(f=8+d,g=g?3:1):(f=a.j.jb()-(e.width+8+d),g=g?1:3),c.top<0?(c=8+d,e=2):(c=a.j.Ab()-(e.height+8+d),e=1),e=Uk(g,e),f=new Map([[e,{Kb:f,Lb:c}]]));f=Vk(a,f);c=f.Kb;e=f.Lb;if(b=Wk(a,f.position,{Kf:b,Tk:d})){a.j.Rd();a.j.dc(b.Ga,b.Oa);a.j.dc(b.Fa,b.Na);a.j.dc("transform","rotate("+b.rotation+"deg) skewY("+b.Ea+"deg) scaleX("+Math.cos(Math.PI/180*b.Ea)+")");a.j.dc("transform-origin",b.Fa+ " "+b.Ga);d=t(b.Ha);for(f=d.next();!f.done;f=d.next())a.j.dc(f.value,"0");b={U:b.U,O:b.O}}else b={U:0,O:0};b={U:b.U,O:b.O,top:e,left:c}}else b={position:0,top:0,left:0}}else b=Tk(a,a.m);d=b;b=d.top;c=d.left;a.j.ve((Dk?xk():"transform")+"-origin",d.O+" "+d.U);var ba,ja;d=c-((ja=(ba=a.G)==null?void 0:ba.left)!=null?ja:0);var Y,wa;ba=b-((wa=(Y=a.G)==null?void 0:Y.top)!=null?wa:0);a.j.ob("top",ba+"px");a.j.ob("left",d+"px")} function Tk(a,b){if(!b)return{top:0,left:0};var c=a.j.Ka(),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.D===3&&g.push(d);g=a.Dj.apply(a,oa(g));e=a.D===1&&g.has(f)?{ea:f,U:"bottom"}:a.D===2&&g.has(e)?{ea:e,U:"top"}:a.D===3&&g.has(d)?{ea:d,U:"center"}:g.has(e)?{ea:e,U:"top"}:g.has(f)?{ea:f,U:"bottom"}:{ea:e,U:"top"};a=Xk(a,b,c.width);return{top:e.ea,U:e.U,left:a.ea,O:a.O}} function Xk(a,b,c){var d=!a.j.wc();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 l=b.left-(c+4);g=b.right+4;var m=d?l:g;l=d?g:l;g=d?"left":"right";d=d?"right":"left"}var n=[e,h,f];a.o===4?n.push(m):a.o===5&&n.push(l);var w=a.l?a.Uf(e,f):a.Uf.apply(a,oa(n));return a.o===1&&w.has(e)?{ea:e,O:g}:a.o===3&&w.has(f)?{ea:f,O:d}:a.o===2&&w.has(h)?{ea:h,O:"center"}:a.o===4&&w.has(m)? {ea:m,O:d}:a.o===5&&w.has(l)?{ea:l,O:g}:(e=(a.l?[{ea:f,O:d},{ea:e,O:g}]:[{ea:h,O:"center"},{ea:e,O:g},{ea:f,O:d}]).find(function(E){return w.has(E.ea)}))?e:b.left<0?{ea:8,O:"left"}:{ea:a.j.jb()-(c+8),O:"right"}}k.Uf=function(){for(var a=new Set,b=new Set,c=t(ta.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.Ka().width<=this.j.jb()-8&&d>=8?a.add(d):d+this.j.Ka().width<=this.j.jb()&&d>=0&&b.add(d);return a.size?a:b}; k.Dj=function(){for(var a=new Set,b=new Set,c=t(ta.apply(0,arguments)),d=c.next();!d.done;d=c.next())d=d.value,d+this.j.Ka().height+8<=this.j.Ab()&&d>=8?a.add(d):d+this.j.Ka().height<=this.j.Ab()&&d>=0&&b.add(d);return a.size?a:b};function Vk(a,b){if(b.has(a.H)){var c=b.get(a.H);return{position:a.H,Kb:c.Kb,Lb:c.Lb}}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,Kb:c.Kb,Lb:c.Lb}} function Uk(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 Wk(a,b,c){var d=!a.j.wc(),e=a.j.Qc("width");a=a.j.Qc("height");if(e&&a&&c){var f="calc(("+e+" - "+c.Kf+"px) / 2)";c="calc(("+a+" - "+c.Kf+"px) / 2)";var g="calc("+e+" - 24px)",h="calc("+a+" - 24px)",l=["border-bottom-right-radius","border-top-left-radius"],m=["border-bottom-left-radius","border-top-right-radius"];switch(b){case 11:return{Ga:"top",Fa:"left",Oa:"0",Na:f,rotation:-35,Ea:-20,O:f,U:"0",Ha:l};case 12:return{Ga:"top",Fa:d?"right":"left",Oa:"0",Na:"24px",rotation:d?35:-35,Ea:d?20: -20,O:d?g:"24px",U:"0",Ha:d?m:l};case 10:return{Ga:"top",Fa:d?"left":"right",Oa:"0",Na:"24px",rotation:d?-35:35,Ea:d?-20:20,O:d?"24px":g,U:"0",Ha:d?l:m};case 7:return{Ga:"top",Fa:d?"left":"right",Oa:"24px",Na:"0",rotation:d?55:-55,Ea:d?-20:20,O:d?"0":e,U:"24px",Ha:d?l:m};case 8:return{Ga:"top",Fa:d?"left":"right",Oa:c,Na:"0",rotation:d?55:-55,Ea:d?-20:20,O:d?"0":e,U:c,Ha:d?l:m};case 9:return{Ga:"bottom",Fa:d?"left":"right",Oa:"24px",Na:"0",rotation:d?-55:55,Ea:d?20:-20,O:d?"0":e,U:h,Ha:d?m:l};case 4:return{Ga:"top", Fa:d?"right":"left",Oa:"24px",Na:"0",rotation:d?-55:55,Ea:d?20:-20,O:d?e:"0",U:"24px",Ha:d?m:l};case 5:return{Ga:"top",Fa:d?"right":"left",Oa:c,Na:"0",rotation:d?-55:55,Ea:d?20:-20,O:d?e:"0",U:c,Ha:d?m:l};case 6:return{Ga:"bottom",Fa:d?"right":"left",Oa:"24px",Na:"0",rotation:d?55:-55,Ea:d?-20:20,O:d?e:"0",U:h,Ha:d?l:m};case 2:return{Ga:"bottom",Fa:"left",Oa:"0",Na:f,rotation:35,Ea:20,O:f,U:a,Ha:m};case 3:return{Ga:"bottom",Fa:d?"right":"left",Oa:"0",Na:"24px",rotation:d?-35:35,Ea:d?-20:20,O:d?g: "24px",U:a,Ha:d?l:m};default:case 1:return{Ga:"bottom",Fa:d?"left":"right",Oa:"0",Na:"24px",rotation:d?35:-35,Ea:d?20:-20,O:d?"24px":g,U:a,Ha:d?m:l}}}}function Ok(a){a.v&&(clearTimeout(a.v),a.v=null)}function Kk(a){a.B&&(clearTimeout(a.B),a.B=null)} p.Object.defineProperties(Ek,{l:{configurable:!0,enumerable:!0,get:function(){return{getAttribute:function(){return null},setAttribute:function(){},removeAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},Qc:function(){return""},ob:function(){},ve:function(){},jb:function(){return 0},Ab:function(){return 0},Ka:function(){return{width:0,height:0}},ce:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},ee:function(){return{top:0,right:0, bottom:0,left:0,width:0,height:0}},be:function(){return null},re:function(){return null},wc:function(){return!1},Ef:function(){return!1},pd:function(){return!1},Vf:function(){},Bb:function(){},Sb:function(){},Tg:function(){},Rf:function(){},oe:function(){},Ud:function(){},La:function(){},Ia:function(){},Og:function(){},Rg:function(){},jg:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},dc:function(){},Rd:function(){},ae:function(){return null},fd:function(){return!1}}}}});var Yk=pa(["aria-"]),Zk=[new Mg(Yk[0].toLowerCase())];function $k(){O.apply(this,arguments)}r($k,O);$k.prototype.bb=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}; $k.prototype.Ba=function(){var a=this;this.H=this.j.l;this.G=this.j.C;this.A=function(){Jk(a.j)};this.o=function(b){Mk(a.j,b)};this.B=function(){Nk(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.Og():c||b.j.Rg()};this.m=function(){var b=a.j;b.A?b.hide():b.show()};this.D=function(){Lk(a.j)}; this.C=function(){var b=a.j;Ok(b);b.A||b.j.Ia("contextmenu",b.ne)};this.H&&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.D),this.l.addEventListener("touchend",this.C));qh(this,"transitionend",this.v)};$k.prototype.hide=function(){this.j.hide()}; $k.prototype.Y=function(){var a=this;return new Ek({getAttribute:function(b){return a.root.getAttribute(b)},setAttribute:function(b,c){Ng(Zk,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)},Qc:function(b){return window.getComputedStyle(a.root).getPropertyValue(b)},ob:function(b,c){a.root.style.setProperty(b,c)},ve:function(b, c){var d;(d=a.root.querySelector(".mdc-tooltip__surface-animation"))==null||d.style.setProperty(b,c)},jb:function(){return window.innerWidth},Ab:function(){return window.innerHeight},Ka:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},ce:function(){return a.l?a.l.getBoundingClientRect():null},ee:function(){var b,c;return(c=(b=a.root.parentElement)==null?void 0:b.getBoundingClientRect())!=null?c:null},be:function(b){return a.l?a.l.getAttribute(b):null},re:function(b,c){a.l&& Ng(Zk,a.l,b,c)},wc:function(){return getComputedStyle(a.root).direction==="rtl"},Ef:function(b){var c;return!((c=a.l)==null||!c.contains(b))},pd:function(b){return a.root.contains(b)},Vf:function(){var b;(b=a.l)==null||b.focus()},Bb:function(b,c){a.root instanceof HTMLElement&&a.root.addEventListener(b,c)},Sb:function(b,c){a.root instanceof HTMLElement&&a.root.removeEventListener(b,c)},Tg:function(b,c){var d;(d=a.l)==null||d.addEventListener(b,c)},Rf:function(b,c){var d;(d=a.l)==null||d.removeEventListener(b, c)},oe:function(b,c){document.body.addEventListener(b,c)},Ud:function(b,c){document.body.removeEventListener(b,c)},La:function(b,c){window.addEventListener(b,c)},Ia:function(b,c){window.removeEventListener(b,c)},Og:function(){sh(a,"MDCTooltip:hidden",{})},Rg:function(){sh(a,"MDCTooltip:shown",{})},jg:function(){var b=a.root.querySelector(".mdc-tooltip__caret-surface-top");return b?b.getBoundingClientRect():null},dc: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))},Rd: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"))},ae:function(){return document.activeElement},fd:function(b){return b instanceof Element}})};function al(a,b){var c={qk: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");Mj(d,b.replace(/\//g,"/<wbr>").replace(/\\/g,"\\<wbr>"));a.appendChild(d);document.body.appendChild(a);this.j=new $k(a);c&&(b=this.j.j,a=c.qk,d=c.nl,c=c.ml, b.X&&c?b.H=c:(a&&(b.o=a),d&&(b.D=d)))}al.prototype.remove=function(){var a=document.getElementById(this.id);a&&a.remove();this.j=null};al.prototype.hide=function(){this.j.hide()};var bl=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var cl=/<[^>]*>|&[^;]+;/g;function dl(a,b){return b?a.replace(cl,""):a} var el=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),fl=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),gl=/^http:\/\/.*/,hl=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*$"), il=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$"),jl=/\s+/,kl=/[\d\u06f0-\u06f9]/;function ll(a,b){var c=0,d=0,e=!1;a=dl(a,b).split(jl);for(b=0;b<a.length;b++){var f=a[b];fl.test(dl(f))?(c++,d++):gl.test(f)?e=!0:el.test(dl(f))?d++:kl.test(f)&&(e=!0)}return d==0?e?1:0:c/d>.4?-1:1};function ml(){var a=1;this.j=typeof a=="number"?a>0?1:a<0?-1:null:a==null?null:a?-1:1}ml.prototype.l=ll;ml.prototype.mark=function(){switch(this.j){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var nl={},ol={},pl={},ql={};function rl(){throw Error("Do not instantiate directly");}rl.prototype.oc=null;rl.prototype.zb=function(){return this.content};rl.prototype.toString=function(){return this.content};rl.prototype.wh=function(){if(this.Td!==nl)throw Error("Sanitized content was not of kind HTML.");return Kg(this.toString())};function sl(){rl.call(this)}ya(sl,rl);sl.prototype.Td=nl;function tl(){rl.call(this)}ya(tl,rl);tl.prototype.Td=ql;tl.prototype.oc=1;function ul(a){if(a!=null)switch(a.oc){case 1:return 1;case -1:return-1;case 0:return 0}return null}function vl(a){return wl(a,nl)?a:a instanceof Jg?xl(Lg(a).toString()):xl(String(String(a)).replace(yl,zl),ul(a))}var xl=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.oc=d);return c}}(sl),Al=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(tl); function Bl(a){return a instanceof rl?!!a.zb():!!a}function Cl(a){return Dl(String(a),function(){return""}).replace(El,"<")}var Fl=RegExp.prototype.hasOwnProperty("sticky"),Gl=new RegExp((Fl?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Fl?"gy":"g"); function Dl(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,l=0;l<d;){switch(e){case 0:var m=a.indexOf("<",l);if(m<0){if(c.length===0)return a;c.push(a.substring(l));l=d}else c.push(a.substring(l,m)),h=m,l=m+1,Fl?(Gl.lastIndex=l,m=Gl.exec(a)):(Gl.lastIndex=0,m=Gl.exec(a.substring(l))),m?(f=["<",m[0]],g=m[1],e=1,l+=m[0].length):c.push("<");break;case 1:m=a.charAt(l++);switch(m){case "'":case '"':var n=a.indexOf(m,l);n<0?l=d:(f.push(m,a.substring(l,n+1)),l=n+1);break;case ">":f.push(m);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(m)}break;default:throw Error();}e===1&&l>=d&&(l=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")}function V(a){return wl(a,nl)?Hl(Cl(a.zb())):String(a).replace(yl,zl)}function Il(a){wl(a,ql)?a=a.zb():(a=String(a),a=Jl.test(a)?a:"zSoyz");return a}function Kl(a){wl(a,ql)&&(a=a.zb());return(a&&!a.startsWith(" ")?" ":"")+a}var Ll={}; function Ml(a){var b=Ll[1]||(Ll[1]=new ml),c=Kg(String(a));var d=!0,e=ul(a);e!=null?a=e:(d=d||wl(a,nl),d=ll(a+"",d),a!=null&&a.oc!==void 0&&(a.oc=d),a=d);a==null&&(a=b.l(Lg(c).toString(),!0));d=(d=void 0,d==void 0);var f;(e=a!=0&&a!=b.j)?(e&&(f=a==-1?"rtl":"ltr"),f=Wg("span",{dir:f},c)):f=c;c=Lg(c).toString();b=d&&(Number(a)*Number(b.j)<0||b.j==1&&il.test(dl(c,!0))||b.j==-1&&hl.test(dl(c,!0)))?b.j==1?"\u200e":"\u200f":"";f=Qg([f,b]);return Lg(f).toString()} function wl(a,b){return a!=null&&a.Td===b}var Nl={"\x00":"�","\t":"	","\n":" ","\v":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function zl(a){return Nl[a]} var Ol={"\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 Pl(a){return Ol[a]} var yl=/[\x00\x22\x26\x27\x3c\x3e]/g,Ql=/[\x00\x22\x27\x3c\x3e]/g,Rl=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Sl=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Tl=/[\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,Ul=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Jl=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i; function Hl(a){return String(a).replace(Ql,zl)}var El=/</g;var Vl=0;function Wl(){return"c"+Vl++};function Xl(){this.j=xa.document||document}k=Xl.prototype;k.ae=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};k.appendChild=function(a,b){a.appendChild(b)};k.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}; k.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};k.hg=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};function Yl(a){var b;a==null?b=null:b=sb(a)?Number(a):String(a);return b};/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function Zl(a,b,c){(b=b(c||$l,void 0))&&b.l&&a?b.l(a):(b=am(b),a.innerHTML=Lg(b))} function bm(a){a:{var b=a||$l;var c=b.S;a=b.attributes;var d=b.icon;b="mdc-button__icon"+(c?" "+c:"");c=xl;wl(d,ol)||wl(d,pl)?d=String(d).replace(Tl,Pl):(d=String(d),d=Ul.test(d)?d.replace(Tl,Pl):"about:invalid#zSoyz");d='<img src="'+V(d)+'"';a=Al('class="'+V(b!=null?b:"")+"\" aria-hidden='true'"+(Bl(a)?Kl(Il(a)):""));a=c(d+Kl(a)+">");a=xl(""+a);c=za||(za=new Xl);a&&a.j?c=a.j():(c=c.j,b="DIV",c.contentType==="application/xhtml+xml"&&(b=b.toLowerCase()),c=c.createElement(b),a=am(a),c.innerHTML=Lg(a)); if(c.childNodes.length==1&&(a=c.firstChild,a.nodeType==1))break a;a=c}return a}function am(a){var b=typeof a;return b=="object"&&a!=null||b=="function"?a.wh&&(a=a.wh(),a instanceof Jg)?a:Og("zSoyz"):Og(String(a))}var $l={};var cm={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34, "Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd", "RUB"],SAR:[2,"SAR","SAR"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var dm={gi:".",Ue:",",Mi:"%",tf:"0",Oi:"+",ff:"-",ni:"E",Ni:"\u2030",wi:"\u221e",Hi:"NaN",fi:"#,##0.###",Kk:"#E0",Hk:"#,##0%",yk:"\u00a4#,##0.00",Pe:"USD"},em=dm;em=dm;function fm(){this.B=40;this.j=1;this.l=3;this.C=this.m=0;this.M=!1;this.J=this.I="";this.D=em.ff;this.G="";this.o=1;this.A=!1;this.v=[];this.H=this.L=!1;var a=em.fi,b=[0];this.I=gm(this,a,b);for(var c=b[0],d=-1,e=0,f=0,g=0,h=-1,l=a.length,m=!0;b[0]<l&&m;b[0]++)switch(a.charAt(b[0])){case "#":f>0?g++:e++;h>=0&&d<0&&h++;break;case "0":if(g>0)throw Error('Unexpected "0" in pattern "'+a+'"');f++;h>=0&&d<0&&h++;break;case ",":h>0&&this.v.push(h);h=0;break;case ".":if(d>=0)throw Error('Multiple decimal separators in pattern "'+ a+'"');d=e+f+g;break;case "E":if(this.H)throw Error('Multiple exponential symbols in pattern "'+a+'"');this.H=!0;this.C=0;b[0]+1<l&&a.charAt(b[0]+1)=="+"&&(b[0]++,this.M=!0);for(;b[0]+1<l&&a.charAt(b[0]+1)=="0";)b[0]++,this.C++;if(e+f<1||this.C<1)throw Error('Malformed exponential pattern "'+a+'"');m=!1;break;default:b[0]--,m=!1}f==0&&e>0&&d>=0&&(f=d,f==0&&f++,g=e-f,e=f-1,f=1);if(d<0&&g>0||d>=0&&(d<e||d>e+f)||h==0)throw Error('Malformed pattern "'+a+'"');g=e+f+g;this.l=d>=0?g-d:0;d>=0&&(this.m=e+ f-d,this.m<0&&(this.m=0));this.j=(d>=0?d:g)-e;this.H&&(this.B=e+this.j,this.l==0&&this.j==0&&(this.j=1));this.v.push(Math.max(0,h));this.L=d==0||d==g;c=b[0]-c;this.J=gm(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.o!=1&&(this.A=!0),this.D=gm(this,a,b),b[0]+=c,this.G=gm(this,a,b)):(this.D+=this.I,this.G+=this.J)} fm.prototype.format=function(a){if(this.m>this.l)throw Error("Min value must be less than max value");if(isNaN(a))return em.Hi;var b=[];var c=hm;a=im(a,-c.Gj);var d=a<0||a==0&&1/a<0;d?c.Kg?b.push(c.Kg):(b.push(c.prefix),b.push(this.D)):(b.push(c.prefix),b.push(this.I));if(isFinite(a))if(a*=d?-1:1,a*=this.o,this.H){var e=a;if(e==0)jm(this,e,this.j,b),km(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=im(e,-f);var g=this.j;this.B>1&&this.B>this.j?(g=f%this.B,g<0&&(g=this.B+g),e=im(e, g),f-=g,g=1):this.j<1?(f++,e=im(e,-1)):(f-=this.j-1,e=im(e,this.j-1));jm(this,e,g,b);km(this,f,b)}}else jm(this,a,this.j,b);else b.push(em.wi);d?c.Lg?b.push(c.Lg):(isFinite(a)&&b.push(c.suffix),b.push(this.G)):(isFinite(a)&&b.push(c.suffix),b.push(this.J));return b.join("")}; function jm(a,b,c,d){if(a.m>a.l)throw Error("Min value must be less than max value");d||(d=[]);var e=im(b,a.l);e=Math.round(e);if(isFinite(e)){var f=Math.floor(im(e,-a.l));e=Math.floor(e-im(f,a.l));if(e<0||e>=im(1,a.l))f=Math.round(b),e=0}else f=b,e=0;b={ak:f,Mj:e};var g=b.ak;e=b.Mj;var h=a.m>0||e>0||!1;b=a.m;h&&(b=a.m);var l="";for(f=g;f>1E20;)l="0"+l,f=Math.round(im(f,-1));l=f+l;var m=em.gi;f=em.tf.codePointAt(0);var n=l.length,w=0;if(g>0||c>0){for(g=n;g<c;g++)d.push(String.fromCodePoint(f));if(a.v.length>= 2)for(c=1;c<a.v.length;c++)w+=a.v[c];c=n-w;if(c>0){g=a.v;w=n=0;for(var E,J=em.Ue,H=l.length,P=0;P<H;P++)if(d.push(String.fromCodePoint(f+Number(l.charAt(P)))),H-P>1)if(E=g[w],P<c){var ba=c-P;(E===1||E>0&&ba%E===1)&&d.push(J)}else w<g.length&&(P===c?w+=1:E===P-c-n+1&&(d.push(J),n+=E,w+=1))}else{c=l;l=a.v;g=em.Ue;E=c.length;J=[];for(n=l.length-1;n>=0&&E>0;n--){w=l[n];for(H=0;H<w&&E-H-1>=0;H++)J.push(String.fromCodePoint(f+Number(c.charAt(E-H-1))));E-=w;E>0&&J.push(g)}d.push.apply(d,J.reverse())}}else h|| d.push(String.fromCodePoint(f));(a.L||h)&&d.push(m);h=String(e);e=h.split("e+");if(e.length==2){if(h=parseFloat(e[0])){m=h;if(isFinite(m)){for(c=0;(m/=10)>=1;)c++;m=c}else m=m>0?m:0;m=-m-1;h=m<-1?h&&isFinite(h)?im(Math.round(im(h,-1)),1):h:h&&isFinite(h)?im(Math.round(im(h,m)),-m):h}h=String(h);h=h.replace(".","");h+=bl("0",parseInt(e[1],10)-h.length+1)}a.l+1>h.length&&(h="1"+bl("0",a.l-h.length)+h);for(a=h.length;h.charAt(a-1)=="0"&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCodePoint(f+Number(h.charAt(b))))} function km(a,b,c){c.push(em.ni);b<0?(b=-b,c.push(em.ff)):a.M&&c.push(em.Oi);b=""+b;for(var d=em.tf,e=b.length;e<a.C;e++)c.push(d);a=d.codePointAt(0)-lm;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+b.codePointAt(d)))}var lm="0".codePointAt(0); function gm(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var g=b.charAt(c[0]);if(g=="'")c[0]+1<f&&b.charAt(c[0]+1)=="'"?(c[0]++,d+="'"):e=!e;else if(e)d+=g;else switch(g){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<f&&b.charAt(c[0]+1)=="\u00a4"?(c[0]++,d+=em.Pe):(g=em.Pe,d+=g in cm?cm[g][1]:g);break;case "%":if(!a.A&&a.o!=1)throw Error("Too many percent/permill");if(a.A&&a.o!=100)throw Error("Inconsistent use of percent/permill characters");a.o=100;a.A=!1;d+=em.Mi; break;case "\u2030":if(!a.A&&a.o!=1)throw Error("Too many percent/permill");if(a.A&&a.o!=1E3)throw Error("Inconsistent use of percent/permill characters");a.o=1E3;a.A=!1;d+=em.Ni;break;default:d+=g}}return d}var hm={Gj:0,Kg:"",Lg:"",prefix:"",suffix:""};function im(a,b){if(!a||!isFinite(a)||b==0)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))};/* SPDX-License-Identifier: Apache-2.0 */ var mm=Object.prototype.hasOwnProperty;function nm(){}nm.prototype=Object.create(null);function om(a,b,c){a=a.style;if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(mm.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}}function pm(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 qm(){var a=new nm;a.__default=pm;a.style=om;return a}qm();var rm=qm();rm.checked=function(a,b,c){c==null?(a.removeAttribute("checked"),a.checked=!1):(a.setAttribute("checked",String(c)),a.checked=!(c===!1||c==="false"))};rm.value=function(a,b,c){c==null?(a.removeAttribute("value"),a.value=""):(a.setAttribute("value",String(c)),a.value=String(c))};rm.muted=function(a,b,c){c==null?(a.removeAttribute("muted"),a.muted=!1):(a.setAttribute("muted",String(c)),a.muted=!0)};function sm(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.ariaLabel&&this.j.setAttribute("aria-label",this.l.ariaLabel);this.l.role&&this.j.setAttribute("role",this.l.role);this.l.S&&this.j.classList.add.apply(this.j.classList,oa(this.l.S));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=bm({icon:this.l.j});a.setAttribute("alt","");a.classList.add("dfs-icon-button__icon");this.l.m&&a.classList.add.apply(a.classList,oa(this.l.m));this.l.o&&a.classList.add("flip-in-rtl");this.l.color&&a.classList.add(tm(this.l.color)); this.j.appendChild(a);a=document.createElement("span");a.classList.add("mdc-icon-button__touch");this.j.appendChild(a);this.sa=gi(this.j);this.sa.ye=!0;this.sa.layout();this.o=this.l.l;this.j.addEventListener("click",function(){c.o&&c.o()});this.m=null}function um(a,b){a.j.setAttribute("aria-label",b);a.layout()}sm.prototype.show=function(){fj(this.root);this.layout()};sm.prototype.hide=function(){gj(this.root)};sm.prototype.layout=function(){this.sa.layout()}; function vm(a,b){var c=a.root.id+"-tooltip";a.j.setAttribute("aria-describedby",c);a.m=new al(c,b);a.j.addEventListener("blur",function(){a.m&&a.m.hide()})} function tm(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 wm(a,b){new sm(a,b)}function xm(){this.color=this.S=this.ariaLabel=null;this.j="";this.m=null;this.o=!1;this.role=this.l=null};var X={jc:"mdc-list-item--activated",Z:"mdc-list-item",Ic:"mdc-list-item--disabled",Jc:"mdc-list-item--selected",af:"mdc-list-item__text",Ed:"mdc-list-item__primary-text",da:"mdc-list"},ym={},zm=(ym[X.jc]="mdc-list-item--activated",ym[X.Z]="mdc-list-item",ym[X.Ic]="mdc-list-item--disabled",ym[X.Jc]="mdc-list-item--selected",ym[X.Ed]="mdc-list-item__primary-text",ym[X.da]="mdc-list",ym),Am={},Bm=(Am[X.jc]="mdc-deprecated-list-item--activated",Am[X.Z]="mdc-deprecated-list-item",Am[X.Ic]="mdc-deprecated-list-item--disabled", Am[X.Jc]="mdc-deprecated-list-item--selected",Am[X.af]="mdc-deprecated-list-item__text",Am[X.Ed]="mdc-deprecated-list-item__primary-text",Am[X.da]="mdc-deprecated-list",Am),Cm={Ce:"MDCList:action",Yi:"MDCList:selectionChange",Lh:"aria-checked",Mh:'[role="checkbox"][aria-checked="true"]',Oh:'[role="radio"][aria-checked="true"]',Ge:"aria-current",rk:"aria-disabled",Sh:"aria-orientation",Th:"horizontal",Uh:'[role="checkbox"]',He:"aria-selected",Ph:'[role="listbox"], [role="menu"]',Rh:'[aria-multiselectable="true"]', Le:'input[type="checkbox"], input[type="radio"]',vd:'input[type="checkbox"]',Zh:"\n ."+X.Z+" button:not(:disabled),\n ."+X.Z+" a,\n ."+Bm[X.Z]+" button:not(:disabled),\n ."+Bm[X.Z]+" a\n ",ii:".mdc-deprecated-list",pi:"\n ."+X.Z+" button:not(:disabled),\n ."+X.Z+" a,\n ."+X.Z+' input[type="radio"]:not(:disabled),\n .'+X.Z+' input[type="checkbox"]:not(:disabled),\n .'+Bm[X.Z]+" button:not(:disabled),\n ."+Bm[X.Z]+" a,\n ."+Bm[X.Z]+' input[type="radio"]:not(:disabled),\n .'+ Bm[X.Z]+' input[type="checkbox"]:not(:disabled)\n ',Ri:'input[type="radio"]',Xi:'[aria-selected="true"], [aria-current="true"]'},Dm={N:-1,lj:300};var Em=["input","button","textarea","select"];function Fm(a){var b=a.target;b&&Em.indexOf(b.tagName.toLowerCase())===-1&&a.preventDefault()};function Gm(a,b){for(var c=new Map,d=0;d<a;d++){var e=b(d).trim();if(e){var f=e[0].toLowerCase();c.has(f)||c.set(f,[]);c.get(f).push({text:e.toLowerCase(),index:d})}}c.forEach(function(g){g.sort(function(h,l){return h.index-l.index})});return c}function Hm(a,b){var c=a.le,d=a.ha,e=a.Ma,f=a.oa,g=a.xe;a=a.Xb;clearTimeout(b.If);b.If=setTimeout(function(){b.Wa=""},Dm.lj);b.Wa+=c;c=b.Wa.length===1?Im(e,f,a,b):Jm(e,a,b);c===-1||g||d(c);return c} function Im(a,b,c,d){var e=d.Wa[0];a=a.get(e);if(!a)return-1;if(e===d.Nf&&a[d.Ua].index===b){d.Ua=(d.Ua+1)%a.length;var f=a[d.Ua].index;if(!c(f))return f}d.Nf=e;e=-1;for(f=0;f<a.length;f++)if(!c(a[f].index)){e=f;break}for(;f<a.length;f++)if(a[f].index>b&&!c(a[f].index)){e=f;break}return e!==-1?(d.Ua=e,a[d.Ua].index):-1} function Jm(a,b,c){a=a.get(c.Wa[0]);if(!a)return-1;var d=a[c.Ua];if(d.text.lastIndexOf(c.Wa,0)===0&&!b(d.index))return d.index;d=(c.Ua+1)%a.length;for(var e=-1;d!==c.Ua;){var f=a[d],g=f.text.lastIndexOf(c.Wa,0)===0;f=!b(f.index);if(g&&f){e=d;break}d=(d+1)%a.length}return e!==-1?(c.Ua=e,a[c.Ua].index):-1} function Km(a,b){var c=a.event,d=a.Gg,e=a.oa,f=a.ha,g=a.Ma;a=a.Xb;var h=Ck(c)==="ArrowLeft",l=Ck(c)==="ArrowUp",m=Ck(c)==="ArrowRight",n=Ck(c)==="ArrowDown",w=Ck(c)==="Home",E=Ck(c)==="End",J=Ck(c)==="Enter",H=Ck(c)==="Spacebar";c.altKey||c.ctrlKey||c.metaKey||h||l||m||n||w||E||J||(H||c.key.length!==1?H&&(d&&Fm(c),d&&b.Wa.length>0&&Hm({ha:f,oa:e,le:" ",Ma:g,xe:!1,Xb:a},b)):(Fm(c),Hm({ha:f,oa:e,le:c.key.toLowerCase(),Ma:g,xe:!1,Xb:a},b)))};var Lm=["Alt","Control","Meta","Shift"];function Mm(a){var b=new Set(a?Lm.filter(function(c){return a.getModifierState(c)}):[]);return function(c){return c.every(function(d){return b.has(d)})&&c.length===b.size}}function Nm(a){N.call(this,Object.assign({},Nm.l,a));this.G=!1;this.B=!0;this.o=!1;this.oa=this.l=Dm.N;this.J=this.I=!1;this.H=null;this.A=this.m=!1;this.C=null;this.v=!1;this.D={If:0,Nf:"",Ua:0,Wa:""};this.Ma=new Map}r(Nm,N);k=Nm.prototype; k.layout=function(){this.j.ua()!==0&&(this.j.ng(0)?(this.m=!0,this.l=[]):this.j.qg(0)?this.A=!0:Om(this),this.v&&(this.Ma=Gm(this.j.ua(),this.j.uc)))};function Om(a){var b=Pm(a);b!==Dm.N&&(a.j.xc(b,X.jc)&&(a.I=!0),a.o=!0,a.l=b)}function Pm(a){for(var b=Dm.N,c=a.j.ua(),d=0;d<c;d++){var e=a.j.xc(d,X.jc);if(a.j.xc(d,X.Jc)||e){b=d;break}}return b}k.Zb=function(){return this.v&&this.D.Wa.length>0};k.Ja=function(){return this.l}; k.ka=function(a,b){b=b===void 0?{}:b;if(Qm(this,a))if(this.m)Rm(this,a,b);else if(this.A){b=b===void 0?{}:b;var c=Sm(this);this.j.Dc(a,!0);if(this.l!==a||b.Yd)this.l!==Dm.N&&this.j.Aa(this.l,c,"false"),this.j.Aa(a,c,"true"),this.l=a,b.ac&&!b.Yd&&this.j.bc([a])}else if(b=b===void 0?{}:b,this.l!==a||b.Yd){c=X.Jc;this.I&&(c=X.jc);this.l!==Dm.N&&this.j.bh(this.l,c);this.l===Dm.N&&a!==Dm.N&&(this.H=this.j.ag(a,Cm.Ge));var d=this.H!==null,e=d?Cm.Ge:Cm.He;this.l!==Dm.N&&this.j.Aa(this.l,e,"false");a!==Dm.N&& this.j.Aa(a,e,d?this.H:"true");Tm(this,a);a!==Dm.N&&this.j.Bf(a,c);this.l=a;b.ac&&!b.Yd&&this.j.bc([a])}};function Um(a,b){b>=0&&(a.j.Aa(b,"tabindex","-1"),a.j.we(b,"-1"));setTimeout(function(){if(!a.j.yg()){var c=Vm(a);Tm(a,c)}},0)}function Wm(a,b){return a.j.xc(b,X.Ic)} function Xm(a,b,c,d){var e=Ck(b)==="ArrowLeft",f=Ck(b)==="ArrowUp",g=Ck(b)==="ArrowRight",h=Ck(b)==="ArrowDown",l=Ck(b)==="Home",m=Ck(b)==="End",n=Ck(b)==="Enter",w=Ck(b)==="Spacebar";g=a.B&&h||!a.B&&g;f=a.B&&f||!a.B&&e;h=b.key==="A"||b.key==="a";var E=Mm(b);if(a.j.Ag())(f||m)&&E([])?(b.preventDefault(),Ym(a)):(g||l)&&E([])?(b.preventDefault(),Zm(a,-1)):f&&E(["Shift"])&&a.m?(b.preventDefault(),n=Ym(a),n!==-1&&$m(a,n,!1)):g&&E(["Shift"])&&a.m&&(b.preventDefault(),n=Zm(a,-1),n!==-1&&$m(a,n,!1)),a.v&& Km({event:b,ha:function(H){a.ha(H)},oa:-1,Gg:c,Ma:a.Ma,Xb:function(H){return Wm(a,H)}},a.D);else{e=a.j.eg();if(e===-1&&(e=d,e<0))return;if(g&&E([]))Fm(b),Zm(a,e);else if(f&&E([]))Fm(b),an(a,e);else if(g&&E(["Shift"])&&a.m)Fm(b),n=Zm(a,e),n!==-1&&$m(a,n,!1);else if(f&&E(["Shift"])&&a.m)Fm(b),n=an(a,e),n!==-1&&$m(a,n,!1);else if(l&&E([]))Fm(b),Zm(a,-1);else if(m&&E([]))Fm(b),Ym(a);else if(l&&E(["Control","Shift"])&&a.m){Fm(b);if(Wm(a,e))return;Zm(a,-1);bn(a,0,e,e)}else if(m&&E(["Control","Shift"])&& a.m){Fm(b);if(Wm(a,e))return;Ym(a);bn(a,e,a.j.ua()-1,e)}else if(h&&E(["Control"])&&a.m)b.preventDefault(),cn(a,a.l===Dm.N?[]:a.l);else if((n||w)&&(E([])||E(["Alt"]))){if(c){var J=b.target;if(J&&J.tagName==="A"&&n)return;Fm(b);if(Wm(a,e))return;a.Zb()||((a.o||a.m||a.A)&&$m(a,e,!1),a.j.yc(e))}}else if((n||w)&&E(["Shift"])&&a.m){if((d=b.target)&&d.tagName==="A"&&n)return;Fm(b);if(Wm(a,e))return;a.Zb()||(bn(a,(J=a.C)!=null?J:e,e,e),a.j.yc(e))}a.v&&Km({event:b,ha:function(H){a.ha(H)},oa:a.oa,Gg:c,Ma:a.Ma, Xb:function(H){return Wm(a,H)}},a.D)}}function Zm(a,b){var c=a.j.ua(),d=b,e=null;do{d++;if(d>=c)if(a.G)d=0;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(Wm(a,d));a.ha(d);return d}function an(a,b){var c=a.j.ua(),d=b,e=null;do{d--;if(d<0)if(a.G)d=c-1;else return b;if(d===e)return-1;var f=void 0;e=(f=e)!=null?f:d}while(Wm(a,d));a.ha(d);return d}function Ym(a){return an(a,a.j.ua())}function Sm(a){return a.J?Cm.He:Cm.Lh} function Rm(a,b,c){c=c===void 0?{}:c;var d=a.l;d=c.ac?new Set(d===Dm.N?[]:d):null;for(var e=Sm(a),f=[],g=0;g<a.j.ua();g++)if(!c.me||!Wm(a,g)){var h=void 0,l=(h=d)==null?void 0:h.has(g);h=b.indexOf(g)>=0;h!==l&&f.push(g);a.j.Dc(g,h);a.j.Aa(g,e,h?"true":"false")}a.l=c.me?dn(a,b):b;c.ac&&f.length&&a.j.bc(f)} function dn(a,b){var c=(a.l===Dm.N?[]:a.l).filter(function(d){return Wm(a,d)});b=b.filter(function(d){return!Wm(a,d)});return[].concat(oa(new Set([].concat(oa(b),oa(c))))).sort(function(d,e){return d-e})} function bn(a,b,c,d){a.C=d;var e=new Set(a.l===Dm.N?[]:a.l);d=!(e==null?0:e.has(d));b=t([b,c].sort());var f=b.next().value;b=b.next().value;c=Sm(a);for(var g=[];f<=b;f++)if(!Wm(a,f)){var h=e.has(f);d!==h&&(g.push(f),a.j.Dc(f,d),a.j.Aa(f,c,""+d),d?e.add(f):e.delete(f))}g.length&&(a.l=[].concat(oa(e)),a.j.bc(g))} function Tm(a,b){a.oa===Dm.N&&b!==0&&b!==Dm.N?a.j.Aa(0,"tabindex","-1"):a.oa>=0&&a.oa!==b&&a.j.Aa(a.oa,"tabindex","-1");a.l instanceof Array||a.l===b||a.oa===Dm.N||a.j.Aa(a.l,"tabindex","-1");b!==Dm.N&&a.j.Aa(b,"tabindex","0")} function Vm(a){var b=en(a);if(a.j.ua()===0)return Dm.N;if(!(a.o||a.m||a.A))return Math.max(a.oa,b);if(typeof a.l==="number"&&a.l!==Dm.N)return a.l;if(a.l instanceof Array&&a.l.length>0){var c=[].concat(oa(a.l)).sort(function(e,f){return e-f});c=t(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Wm(a,d))return d}return b}function en(a){for(var b=a.j.ua(),c=0;c<b&&Wm(a,c);)c++;return c===b?Dm.N:c} function Qm(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 fn(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 fn(a,b)||a.o&&b===Dm.N}return!1}function fn(a,b){a=a.j.ua();return b>=0&&b<a} function $m(a,b,c){a.C=b;a.m?(gn(a,b,c),a.j.bc([b])):a.ka(b,{ac:!0})}function gn(a,b,c){var d=Sm(a),e=a.j.vg(b);c?c=e:(c=!e,a.j.Dc(b,c));a.j.Aa(b,d,c?"true":"false");d=a.l===Dm.N?[]:a.l.slice();c?d.push(b):d=d.filter(function(f){return f!==b});a.l=d}k.ha=function(a){this.j.ha(a);this.oa=a};function hn(a){for(var b=a.j.ua(),c=0,d=0;d<b;d++)Wm(a,d)||c++;return c} function cn(a,b){var c=hn(a),d=a.j.ua();if(b.filter(function(f){return!Wm(a,f)}).length>=c)Rm(a,[],{ac:!0,me:!0});else{c=[];for(var e=0;e<d;e++)(!Wm(a,e)||b.indexOf(e)>-1)&&c.push(e);Rm(a,c,{ac:!0,me:!0})}}k.qb=function(a,b,c){var d=this;return Hm({ha:function(e){d.ha(e)},oa:b?b:this.oa,le:a,Ma:this.Ma,xe:c===void 0?!1:c,Xb:function(e){return Wm(d,e)}},this.D)}; p.Object.defineProperties(Nm,{m:{configurable:!0,enumerable:!0,get:function(){return Cm}},j:{configurable:!0,enumerable:!0,get:function(){return X}},o:{configurable:!0,enumerable:!0,get:function(){return Dm}},l:{configurable:!0,enumerable:!0,get:function(){return{Bf:function(){},ha:function(){},ag:function(){return null},eg:function(){return 0},ua:function(){return 0},ng:function(){return!1},qg:function(){return!1},vg:function(){return!1},yg:function(){return!1},Ag:function(){return!1},xc:function(){return!1}, yc:function(){},bc:function(){},bh:function(){},Aa:function(){},Dc:function(){},we:function(){},uc:function(){return""}}}}});function jn(){O.apply(this,arguments)}r(jn,O);k=jn.prototype;k.Ba=function(){(this.v="evolution"in this.root.dataset)?this.m=zm:Hh(this.root,Cm.ii)?this.m=Bm:this.m=Object.values(X).reduce(function(a,b){a[b]=b;return a},{});this.C=this.Qj.bind(this);this.D=this.Tj.bind(this);this.L=this.Rj.bind(this);this.M=this.Sj.bind(this);qh(this,"keydown",this.D);qh(this,"click",this.C);qh(this,"focusin",this.L);qh(this,"focusout",this.M);this.layout();kn(this);ln(this)}; k.layout=function(){this.J=this.root.getAttribute(Cm.Sh)!==Cm.Th;var a=Cm.pi,b=this.root.querySelectorAll("."+this.m[X.Z]+":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.J=!0);this.j.layout()}; function mn(a,b){var c=b.querySelector("."+a.m[X.Ed]);if(a.v||c){var d;return(d=c==null?void 0:c.textContent)!=null?d:""}return(a=b.querySelector("."+a.m[X.af]))&&a.textContent||""} function kn(a){a.B=Hh(a.root,Cm.Ph);if(a.v&&a.B){var b=Array.from(a.root.querySelectorAll(Cm.Xi),function(c){return a.l.indexOf(c)});Hh(a.root,Cm.Rh)?a.o=b:b.length>0&&(a.o=b[0])}else b=a.root.querySelector(Cm.Oh),a.root.querySelectorAll(Cm.Uh).length?a.o=Array.from(a.root.querySelectorAll(Cm.Mh),function(c){return a.l.indexOf(c)}):b&&(a.o=a.l.indexOf(b))}k.qb=function(a,b){return this.j.qb(a,b,!0)}; k.Y=function(){var a=this;return new Nm({Bf:function(b,c){(b=a.l[b])&&b.classList.add(a.m[c])},ha:function(b){var c;(c=a.l[b])==null||c.focus()},ag:function(b,c){return a.l[b].getAttribute(c)},eg:function(){return a.l.indexOf(document.activeElement)},ua:function(){return a.l.length},uc:function(b){return mn(a,a.l[b])},ng:function(b){return!!a.l[b].querySelector(Cm.vd)},qg:function(b){return!!a.l[b].querySelector(Cm.Ri)},vg:function(b){return a.l[b].querySelector(Cm.vd).checked},yg:function(){return a.root!== document.activeElement&&a.root.contains(document.activeElement)},Ag:function(){return document.activeElement===a.root},xc:function(b,c){return a.l[b].classList.contains(a.m[c])},yc:function(b){sh(a,Cm.Ce,{index:b},!0)},bc:function(b){sh(a,Cm.Yi,{Uk:b},!0)},bh:function(b,c){(b=a.l[b])&&b.classList.remove(a.m[c])},Aa:function(b,c,d){(b=a.l[b])&&th(b,c,d)},Dc:function(b,c){b=a.l[b].querySelector(Cm.Le);b.checked=c;c=document.createEvent("Event");c.initEvent("change",!0,!0);b.dispatchEvent(c)},we:function(b, c){Array.prototype.forEach.call(a.l[b].querySelectorAll(Cm.Zh),function(d){d.tabIndex=Number(c)})}})};function ln(a){if(a.v&&a.B&&!a.root.querySelector("."+a.m[X.Z]+'[tabindex="0"]')){if(a.o instanceof Array&&a.o.length>0)var b=a.o[0];else typeof a.o==="number"&&a.o!==Dm.N?b=a.o:(b=a.root.querySelector("."+a.m[X.Z]+":not(."+a.m[X.Ic]+")"),b=b===null?-1:nn(a,b));b!==-1&&(a.l[b].tabIndex=0)}}function nn(a,b){return(b=Gh(b,"."+a.m[X.Z]+", ."+a.m[X.da]))&&Hh(b,"."+a.m[X.Z])?a.l.indexOf(b):-1} k.Rj=function(a){a=nn(this,a.target);var b=this.j;a>=0&&(b.oa=a,b.j.Aa(a,"tabindex","0"),b.j.we(a,"0"))};k.Sj=function(a){a=nn(this,a.target);Um(this.j,a)};k.Tj=function(a){var b=nn(this,a.target);Xm(this.j,a,a.target.classList.contains(this.m[X.Z]),b)};k.Qj=function(a){var b=nn(this,a.target),c=this.j,d=Hh(a.target,Cm.Le);a=Mm(a);if(b!==Dm.N&&!Wm(c,b))if(a([]))(c.o||c.m||c.A)&&$m(c,b,d),c.j.yc(b);else if(c.m&&a(["Shift"])){var e;bn(c,(e=c.C)!=null?e:b,b,b);c.j.yc(b)}}; p.Object.defineProperties(jn.prototype,{J:{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[X.Z]))}},A:{configurable:!0,enumerable:!0,set:function(a){this.j.G=a}},I:{configurable:!0,enumerable:!0,get:function(){return this.j.Zb()}},G:{configurable:!0,enumerable:!0,set:function(a){var b=this.j;if(b.v=a)b.Ma=Gm(b.j.ua(),b.j.uc)}},H:{configurable:!0,enumerable:!0,set:function(a){var b=this.j; if(b.o=a)Om(b),b.l=Pm(b)}},o:{configurable:!0,enumerable:!0,get:function(){return this.j.Ja()},set:function(a){this.j.ka(a)}}});var on={Fd:"mdc-menu-item--selected",ef:"mdc-menu__selection-group",da:"mdc-menu"},pn={ec:"aria-checked",sk:"aria-disabled",vd:'input[type="checkbox"]',bf:".mdc-list,.mdc-deprecated-list",kf:"MDCMenu:selected",Zi:"data-menu-item-skip-restore-focus"},qn={Bk:-1};function rn(a){N.call(this,Object.assign({},rn.l,a));this.l=1;this.m=-1}r(rn,N);rn.prototype.Ja=function(){return this.m};rn.prototype.ka=function(a){var b=this.j.Ub();if(!(a>=0&&a<b))throw Error("MDCMenuFoundation: No list item at specified index.");if(!this.j.ke(a))throw Error("MDCMenuFoundation: No selection group at specified index.");b=this.j.ig(a);b>=0&&(this.j.Zg(b,pn.ec),this.j.dh(b,on.Fd));this.j.Cf(a,on.Fd);this.j.zf(a,pn.ec,"true");this.m=a}; p.Object.defineProperties(rn,{j:{configurable:!0,enumerable:!0,get:function(){return on}},m:{configurable:!0,enumerable:!0,get:function(){return pn}},o:{configurable:!0,enumerable:!0,get:function(){return qn}},l:{configurable:!0,enumerable:!0,get:function(){return{Cf:function(){},dh:function(){},zf:function(){},Zg:function(){},bg:function(){return null},Ij:function(){return!1},Sd:function(){},dg:function(){return-1},Qg:function(){},Ub:function(){return 0},ha:function(){},Wf:function(){},ig:function(){return-1}, ke:function(){return!1}}}}});var sn={Ch:"mdc-menu-surface--anchor",Ee:"mdc-menu-surface--animating-closed",Fe:"mdc-menu-surface--animating-open",Se:"mdc-menu-surface--fixed",Xe:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",da:"mdc-menu-surface"},tn={sb:"MDCMenuSurface:closed",tb:"MDCMenuSurface:closing",eb:"MDCMenuSurface:opened",Nb:"MDCMenuSurface:opening",Ak:'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"])'}, un={jj:120,ij:75,cf:32,Dh:.67,gj:30};function vn(a){N.call(this,Object.assign({},vn.l,a));this.A=this.v=!1;this.D=this.H=this.B=0;this.o=8;this.l={top:0,right:0,bottom:0,left:0};this.position={x:0,y:0}}r(vn,N);k=vn.prototype;k.init=function(){var a=vn.j,b=a.da;a=a.OPEN;if(!this.j.hasClass(b))throw Error(b+" class required in root element.");this.j.hasClass(a)&&(this.v=!0);this.C=this.Uj.bind(this);this.j.La("resize",this.C)};k.te=function(a){this.B=a}; k.open=function(){var a=this;this.v||(this.j.mb(),this.j.jh(),this.j.addClass(vn.j.Fe),requestAnimationFrame(function(){a.G=a.j.de();wn(a);a.j.addClass(vn.j.OPEN);a.H=setTimeout(function(){a.H=0;a.j.removeClass(vn.j.Fe);a.j.Pg()},un.jj)}),this.v=!0,this.j.La("resize",this.C))}; k.close=function(a){var b=this;a=a===void 0?!1:a;this.v&&(this.j.lb(),this.j.Ia("resize",this.C),this.j.addClass(vn.j.Ee),requestAnimationFrame(function(){b.j.removeClass(vn.j.OPEN);b.j.removeClass(vn.j.Xe);b.D=setTimeout(function(){b.D=0;b.j.removeClass(vn.j.Ee);b.j.Ng()},un.ij)}),this.v=!1,a||xn(this))};k.Uj=function(){this.G=this.j.de();wn(this)}; function wn(a){var b=a.j.Yf(),c=a.j.cg(),d=a.j.kg(),e=a.j.mg();b||(b={top:a.position.y,right:a.position.x,bottom:a.position.y,left:a.position.x,width:0,height:0});a.m={xb:b,wj:c,uh:a.G,ze:{top:b.top,right:d.width-b.right,bottom:d.height-b.bottom,left:b.left},nk:d,pk:e};b=8;c=a.m;d=c.ze;e=c.xb;c=c.uh;var f=vn.o.cf;if(a.o&1){var g=d.top-f+a.l.bottom;f=d.bottom-f-a.l.bottom}else 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.Bg();var h=!!(a.o&8);f=!!(a.o&4)||!!(b& 4);h=g&&h?!f:f;if(h){var l=d.left+e.width+a.l.left;d=d.right-a.l.left}else l=d.left+a.l.left,d=d.right+e.width-a.l.left;e=l-c.width>0;c=d-c.width>0;var m=!!(b&8)&&!!(b&4);if(c&&m&&g||!e&&m)b^=4;else if(e&&h&&g||e&&!h&&f||!c&&l>=d)b|=4;a.B>0?c=a.B:(d=a.m.ze,c=!!(a.o&1),e=vn.o.cf,b&1?(d=d.top+a.l.top-e,c||(d+=a.m.xb.height)):(d=d.bottom-a.l.bottom+a.m.xb.height-e,c&&(d-=a.m.xb.height)),c=d);d=b&1?"bottom":"top";e=b&4?"right":"left";g=a.m.xb;f=!!(a.o&1);g=b&1?f?g.height-a.l.top:-a.l.bottom:f?g.height+ a.l.bottom:a.l.top;h=a.m;f=h.xb;h=h.uh;l={};m=a.m.xb;var n=!!(a.o&4);b&4?(m=n?m.width-a.l.left:a.l.right,m=a.A?m-(a.m.nk.width-a.m.wj.width):m):m=n?m.width-a.l.right:a.l.left;g=(l[e]=m,l[d]=g,l);f.width/h.width>un.Dh&&(e="center");if(a.A)for(h=a.m,f=h.pk,h=h.ze,l=Object.keys(g),l=t(l),m=l.next();!m.done;m=l.next())m=m.value,n=g[m]||0,n+=h[m],a.A||(n=m==="top"?n+f.y:m==="bottom"?n-f.y:m==="left"?n+f.x:n-f.x),g[m]=n;a.j.nd(e+" "+d);a.j.setPosition(g);a.j.te(c?c+"px":"");b&1||a.j.addClass(vn.j.Xe)} function xn(a){var b=a.j.Ca(),c=a.j.hg?a.j.hg():document;c=c.activeElement&&a.j.ge(c.activeElement);(b||c)&&setTimeout(function(){a.j.hh()},un.gj)} p.Object.defineProperties(vn,{j:{configurable:!0,enumerable:!0,get:function(){return sn}},m:{configurable:!0,enumerable:!0,get:function(){return tn}},o:{configurable:!0,enumerable:!0,get:function(){return un}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},Vj:function(){return!1},ge:function(){return!1},Ca:function(){return!1},Bg:function(){return!1},de:function(){return{height:0,width:0}},Yf:function(){return null}, kg:function(){return{height:0,width:0}},cg:function(){return{height:0,width:0}},mg:function(){return{x:0,y:0}},setPosition:function(){},te:function(){},nd:function(){},jh:function(){},hh:function(){},Ng:function(){},lb:function(){},Pg:function(){},mb:function(){},La:function(){},Ia:function(){}}}}});function yn(){O.apply(this,arguments)}r(yn,O); yn.prototype.Ba=function(){var a=this,b=this.root.parentElement;this.l=b&&b.classList.contains(sn.Ch)?b:null;this.root.classList.contains(sn.Se)&&(this.root.classList.add(sn.Se),this.j.A=!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.ge(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})};qh(this,"keydown",this.v); qh(this,tn.eb,this.B);qh(this,tn.sb,this.A)};yn.prototype.open=function(){this.j.open()};yn.prototype.close=function(a){this.j.close(a===void 0?!1:a)}; yn.prototype.Y=function(){var a=this;return new vn({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)},Vj:function(){return!!a.l},Ng:function(){sh(a,vn.m.sb,{})},lb:function(){sh(a,vn.m.tb,{})},Pg:function(){sh(a,vn.m.eb,{})},mb:function(){sh(a,vn.m.Nb,{})},ge:function(b){return a.root.contains(b)},Bg:function(){return getComputedStyle(a.root).getPropertyValue("direction")==="rtl"},nd:function(b){a.root.style.setProperty(xk()+ "-origin",b)},Ca:function(){return document.activeElement===a.root},jh:function(){a.m=document.activeElement},hh:function(){a.root.contains(document.activeElement)&&a.m&&a.m.focus&&a.m.focus()},de:function(){return{width:a.root.offsetWidth,height:a.root.offsetHeight}},Yf:function(){return a.l?a.l.getBoundingClientRect():null},kg:function(){return{width:window.innerWidth,height:window.innerHeight}},cg:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},mg: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":""},te:function(b){a.root.style.maxHeight=b},La:function(b,c){window.addEventListener(b,c)},Ia:function(b,c){window.removeEventListener(b,c)}})};function zn(){O.apply(this,arguments)}r(zn,O);k=zn.prototype;k.bb=function(a,b){a=a===void 0?function(c){return new yn(c)}:a;b=b===void 0?function(c){return new jn(c)}:b;this.J=a;this.I=b}; k.Ba=function(){var a=this;this.m=this.J(this.root);var b=this.root.querySelector(pn.bf);b?(this.list=this.I(b),this.list.A=!0):this.list=null;this.A=function(c){var d=c.keyCode;c.key!=="Tab"&&d!==9||a.j.j.Sd(!0)};this.v=function(c){var d=a.j;c=d.j.dg(a.l[c.detail.index]);if(!(c<0)){d.j.Qg({index:c});var e=d.j.bg(c,pn.Zi)==="true";d.j.Sd(e);d.j.ke(c)&&d.ka(c)}};this.B=function(){var c=a.j;switch(c.l){case 2:c.j.ha(0);break;case 3:c.j.ha(c.j.Ub()-1);break;case 0:break;default:c.j.Wf()}};qh(this.m, vn.m.eb,this.B);qh(this,"keydown",this.A);qh(this,Nm.m.Ce,this.v)};k.qb=function(a,b){return this.list?this.list.qb(a,b):-1};k.layout=function(){this.list&&this.list.layout()};k.ka=function(a){this.j.ka(a)};k.uc=function(a){return(a=a<this.l.length?this.l[a]:null)&&this.list?mn(this.list,a)||"":""}; k.Y=function(){var a=this;return new rn({Cf:function(b,c){a.l[b].classList.add(c)},dh:function(b,c){a.l[b].classList.remove(c)},zf:function(b,c,d){th(a.l[b],c,d)},Zg:function(b,c){a.l[b].removeAttribute(c)},bg:function(b,c){return a.l[b].getAttribute(c)},Ij:function(b,c){return b.classList.contains(c)},Sd:function(b){a.m.close(b)},dg:function(b){return a.l.indexOf(b)},Qg:function(b){sh(a,pn.kf,{index:b.index,item:a.l[b.index]})},Ub:function(){return a.l.length},ha:function(b){a.l[b].focus()},Wf:function(){a.root.querySelector(pn.bf).focus()}, ke:function(b){return!!Gh(a.l[b],"."+on.ef)},ig:function(b){return(b=Gh(a.l[b],"."+on.ef).querySelector("."+on.Fd))?a.l.indexOf(b):-1}})}; p.Object.defineProperties(zn.prototype,{open:{configurable:!0,enumerable:!0,get:function(){return this.m.j.v},set:function(a){a?this.m.open():this.m.close()}},H:{configurable:!0,enumerable:!0,get:function(){return this.list?this.list.A:!1},set:function(a){this.list&&(this.list.A=a)}},C:{configurable:!0,enumerable:!0,set:function(a){this.list&&(this.list.G=a)}},G:{configurable:!0,enumerable:!0,get:function(){return this.list?this.list.I:!1}},l:{configurable:!0,enumerable:!0,get:function(){return this.list? this.list.l:[]}},D:{configurable:!0,enumerable:!0,set:function(a){this.list&&(this.list.H=a)}},o:{configurable:!0,enumerable:!0,get:function(){return this.list?this.list.o:Dm.N},set:function(a){this.list&&(this.list.o=a)}}});function An(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 zn(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.la(function(){c.menu.open=!1});c.j&&c.j.setAttribute("aria-expanded","true")}); a.addEventListener("MDCMenuSurface:closed",function(){c.j&&Bn(c);c.A.W();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)}}An.prototype.remove=function(){this.root.remove()};function Cn(a,b){a.v=b}An.prototype.open=function(){this.menu.open=!0}; An.prototype.close=function(){this.menu.open=!1}; function Dn(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");gi(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 En(a){if(!a.m.has("divider")){var b=document.createElement("li");b.classList.add("mdc-deprecated-list-divider");b.classList.add("dfs-list-divider");b.setAttribute("role","separator");b.setAttribute("aria-hidden","true");a.m.set("divider",b);a.l.appendChild(b);a.menu.layout()}}function Fn(a,b){a.j=b;a.j.setAttribute("aria-haspopup","menu");Bn(a)} function Bn(a){a.j&&a.j.addEventListener("click",a.o);a.j&&a.j.addEventListener("keypress",a.o)};function Gn(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 Hn(a,b){Gn(a.find("#user-photo"),B(b,3)||"");a.find("#user-email").text(B(b,2)||"");Nj(a.find("#user-quota"),B(b,5));Fd(b,12)?a.addClass("disabled-opacity"):a.removeClass("disabled-opacity")} function In(a,b,c,d,e){this.H=a;this.j=b;this.o=this.j.K();this.I=Sd(this.o)+"-tooltip";this.v=$(document.createElement("div"));this.v.addClass("account-card-placeholder-in-list");this.v.appendTo(d);this.m=e;this.l=null;this.template=c;this.C=this.D=this.A=this.B=this.G=this.menu=null;Jn(this,b)} function Jn(a,b){a.j=b;Kn(a);a.l=Pj(a.template).removeAttr("id");Fd(a.j,8,!0)&&(a.B=Ln(a));Fd(a.j,9,!0)&&(a.A=Mn(a));Fd(a.j,6)&&(a.D=Nn(a));y(a.j,ff,11)&&(a.C=On(a));if(Fd(a.j,10,!0))a.l.find("#manage-storage").removeClass("hidden").find("a").on("click",function(){});R(a.l);Hn(a.l,a.j);a.l.find("#user-email").attr("aria-describedby",a.I);Fd(a.j,12)&&a.l.find("#account-info").addClass("disabled-opacity");a.l.appendTo(a.v);a.G=new al(a.I,B(a.j,7)||"");a.m&&(Fd(a.j,8,!0)&&vm(a.B,B(a.m,3)||""),Fd(a.j, 9,!0)&&vm(a.A,B(a.m,4)||""),Fd(a.j,6)&&vm(a.D,B(a.m,5)||""),y(a.j,ff,11)&&vm(a.C,hf(z(a.j,ff,11))||""))}function Kn(a){a.G&&a.G.remove();a.l&&a.l.remove()}In.prototype.layout=function(){this.B&&this.B.layout();this.A&&this.A.layout();this.D&&this.D.layout();this.C&&this.C.layout()}; function Ln(a){var b=new xm;b.j="ic_folder_with_drive_logo_outline.svg";b.color="grey";b.S=["SmallIconButton"];a.m&&(b.ariaLabel=B(a.m,3)||"",b.role="link");b.l=function(){};var c=a.l.find("#open-mount-point-button")[0];c.id="open-mount-point-button"+Sd(a.o);return new sm(c,b)} function Mn(a){var b=new xm;b.j="drive_logo_grey_20px.svg";b.color="grey";b.S=["SmallIconButton"];a.m&&(b.ariaLabel=B(a.m,4)||"",b.role="link");b.l=function(){};var c=a.l.find("#drive-link-button")[0];c.id="drive-link-button"+Sd(a.o);return new sm(c,b)} function Nn(a){var b=new xm;b.j="photos_logo_grey_20px.svg";b.color="grey";b.S=["SmallIconButton"];a.m&&(b.ariaLabel=B(a.m,5)||"",b.role="link");b.l=function(){};var c=a.l.find("#photos-link-button")[0];c.id="photos-link-button"+Sd(a.o);return new sm(c,b)} function On(a){var b=new xm;b.j="ic_more_vert_grey600_24dp.svg";b.color="grey";b.S=["SmallIconButton"];b=new sm(a.l.find("#overflow-menu-button")[0],b);a.menu=new An(a,a.l.find(".dfs-menu-anchor")[0]);Cn(a.menu,function(){});for(var c=t(gf(z(a.j,ff,11))),d=c.next();!d.done;d=c.next()){d=d.value;var e=Yl(oc(x(d,1)))||0;Dn(a.menu,e.toString(),B(d,2)||"")}Fn(a.menu,b.j);return b}In.prototype.la=function(a){this.H.la(a)};In.prototype.W=function(){this.H.W()}; function Pn(a,b){var c=c===void 0?null:c;this.v=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.B=new Qj;this.C=new jf;this.j=new Qn;this.D=!1;this.A=new Rn(this,this.l.find("#account-select-menu-anchor")[0], this.l.find("#account-select-menu-item-template"));a=new xm;a.j="ic_account_circle_googblue_24dp.svg";a.m=["face-view-user-photo","blueIcon"];this.G=new sm(this.l.find("#account-switcher-face-view-button")[0],a)} function Sn(a,b){b&&(a.o=b,a.l.find("#add-account-label").text(B(a.o,1)||""),a.l.find("#all-view-label").text(B(a.o,2)||""),um(a.G,B(b,6)||""),vm(a.G,B(b,6)||""),a.l.find("#account-switcher-normal-view-button").attr("aria-label",B(a.o,6)||""),a.l.find("#account-switcher-all-view-button").attr("aria-label",B(a.o,6)||""),a.l.find("#disabled-add-account-label").text(B(a.o,7)||""),a.l.find("#disabled-add-account-sublabel").text(B(a.o,8)||""),a.l.find("#manage-storage a").text(B(a.o,9)||""),b=a.A,a=a.o)&& (b.A=B(a,1)||"",b.B=B(a,7)||"",b.C=B(a,8)||"",b.D=B(a,10)||"")} function Tn(a,b){a.j=b;if(Un(a))switch(a.j.style){case 1:Vn(a);b=a.l.find("#account-switcher-normal-view");Hn(b,a.C);var c=a.l.find("#account-switcher-normal-view-button");Wn(a,c);c=a.A;c.l&&(c.menu.m.l=b[0]);R(a.l.find("#account-switcher-normal-view"));break;case 2:Vn(a);b=a.l.find("#account-switcher-face-view");Gn(b.find("img"),B(a.C,3)||"");c=b.find("button");Wn(a,c);c=a.A;c.l&&(c.menu.m.l=b[0]);R(a.l.find("#account-switcher-face-view"));break;case 3:Xn(a),R(a.l.find("#account-switcher-all-view"))}} function Un(a){if(!a.j.style)return console.log("No Style selected for AccountSwitcher."),!1;if(a.j.style==3&&a.j.l)return console.log("An AccountToken can not be set in allView."),!1;if(a.j.m&&!a.m.attr("id"))return console.log("Full root must have id for auto close to work."),!1;if(!a.j.j||Lf(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.l)return console.log("No selectedAccountToken was provided to the AccountSwitcher."), !1;for(var b=!1,c=t(Lf(a.j.j)),d=c.next();!d.done;d=c.next())if(d=d.value,Sj(d.K(),a.j.l)){a.C=d;b=!0;break}return b?!0:(console.log("selected AccountToken: "+a.j.l+" does not have a account in: "+JSON.stringify(Lf(a.j.j))),!1)} function Xn(a){var b=a.l.find("#account-switcher-all-view"),c=b.find(".single-account-view");b=b.find(".multi-account-view");if(Lf(a.j.j).length<1)S(c),S(b);else{if(Lf(a.j.j).length==1)R(c),S(b),Hn(c,Lf(a.j.j)[0]);else{S(c);R(b);c=a.l.find("#all-view-imgs");c.empty();b=1;for(var d=t(Lf(a.j.j)),e=d.next(),f={};!e.done;f={Hb:void 0},e=d.next()){e=e.value;f.Hb=Pj(a.l.find("#all-view-img-template")).removeAttr("id");R(f.Hb);if(F(e,3))f.Hb.find(".all-view-img").attr("src",B(e,3)||"").removeClass("blueIcon").on("error", function(g){return function(){g.Hb.find(".all-view-img").attr("src","ic_account_circle_googblue_24dp.svg");g.Hb.find(".all-view-img").addClass("blueIcon")}}(f));f.Hb.css("z-index",b);b++;f.Hb.appendTo(c)}}a.l.find("#account-switcher-all-view-button").off("click").on("click",function(){Yn(a)});c=t(a.B.keys());for(b=c.next();!b.done;b=c.next())Zn(a,b.value);c=t(Lf(a.j.j));for(b=c.next();!b.done;b=c.next())$n(a,b.value);c=a.m.find("#full-root-add-account-container");c.empty();a.j.v||(a.j.o?(b=Pj(a.l.find("#account-switcher-add-account-template")).removeAttr("id"), R(b),b.on("click",function(){a.v.Hc();a.j.m&&ao(a)}),b.appendTo(c)):(b=Pj(a.l.find("#account-switcher-disabled-add-account-template")).removeAttr("id"),b.prop("disabled",!0),R(b),b.on("click",function(){a.v.Hc();a.j.m&&ao(a)}),b.appendTo(c)))}}function $n(a,b){if(!a.B.has(b.K())){var c=a.l.find("#account-switcher-account-template"),d=a.m.find("#full-root-account-container");c=new In(a.v,b,c,d,a.o);a.B.set(b.K(),c)}}function Zn(a,b){var c=a.B.get(b);Kn(c);c.v.remove();a.B.delete(b)} function Wn(a,b){b.off("click").on("click",function(){bo(a);b.off("click")})} function Vn(a){var b=a.A,c=a.C,d=a.j.j,e=a.j.o;a=a.j.v;if(b.l)for(;b.j.firstChild;)b.j.removeChild(b.j.firstChild);else co(b);b.o=d;var f=document.createElement("div");f.classList.add("mdc-elevation-overlay");b.j.appendChild(f);f=eo(b,c);f.find(".account-select-menu-item-checkmark").removeClass("hidden").attr("aria-label",b.D);f.appendTo(b.j);if(Lf(d).length>1||!a)f=document.createElement("li"),f.classList.add("mdc-deprecated-list-divider"),f.setAttribute("role","separator"),b.j.appendChild(f);d= t(Lf(d));for(f=d.next();!f.done;f=d.next())f=f.value,f.K()!=c.K()&&eo(b,f).appendTo(b.j);a||(e?(c=Pj(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),gi(c[0])):(c=Pj(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),gi(c[0])),c.appendTo(b.j));b.menu.layout()}function bo(a){a.A.open();a.v.la(function(){a.A.close()})}function ao(a){a.D=!1;a.j.m&&($("body").off("click"),S(a.m))}Pn.prototype.cc=function(){this.l.find("#account-switcher-face-view-button button")[0].click()}; Pn.prototype.Rb=function(){this.A.close()};Pn.prototype.focus=function(){if(this.D)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 Yn(a){if(!a.D){a.D=!0;R(a.m);for(var b=t(a.B.values()),c=b.next();!c.done;c=b.next())c.value.layout();a.j.m&&setTimeout(function(){fo(a)},0)}}function fo(a){$("body").on("click",function(b){b.target==a.m[0]||$(b.target).parents("#"+a.m.attr("id")).length>0||(b.stopPropagation(),ao(a))})}function Qn(){this.style=this.l=this.j=null;this.m=this.v=this.o=!1}function Rn(a,b,c){this.m=a;this.v=b;this.template=c;this.l=!1;this.D=this.C=this.B=this.A="";this.menu=this.j=this.o=null} Rn.prototype.open=function(){this.l&&(this.menu.open=!0)};Rn.prototype.close=function(){this.l&&(this.menu.open=!1)}; function co(a){a.v.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")a.m.v.Hc();else{c=new Qd;Td(c,d);d=t(Lf(a.o));for(var e=d.next();!e.done;e=d.next())if(e=e.value,Sj(c,e.K())){c=a.m;e!=c.C&&c.v.Ye(e);break}}});b.addEventListener("MDCMenuSurface:closed", function(){var c=a.m;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&&(Wn(c,c.l.find(d)),c.v.W())});a.v.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 zn(b);a.menu.j.l=2;a.l=!0} function eo(a,b){a=Pj(a.template).removeAttr("id").attr("data-on-menu-item-select",Rd(b.K())||"").addClass("account-select-menu-item").removeClass("hidden");Gn(a.find(".mdc-deprecated-list-item__graphic"),B(b,3)||"");a.find(".mdc-deprecated-list-item__graphic").addClass("account-select-menu-item-user-photo");a.find(".menu-item-title").text(B(b,2)||"");Nj(a.find(".menu-item-subtitle"),B(b,5));Fd(b,12)?a.addClass("mdc-deprecated-list-item--disabled"):a.removeClass("mdc-deprecated-list-item--disabled"); gi(a[0]);return a};function go(a,b){var c=this;this.root=a;this.m=b;this.A=!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.S&&this.j.classList.add.apply(this.j.classList,oa(this.m.S));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&&Mj(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"]);this.m.l&&(this.l.set("fill",["Gm3Button","Gm3FillButton"]),this.l.set("hairline",["Gm3Button","Gm3OutlinedButton"]),this.l.set("text",["Gm3Button","Gm3TextButton"]));a=document.createElement("span");a.classList.add("dfs-focus-ring");this.j.appendChild(a);ho(this);this.sa=gi(this.j);this.sa.layout();this.v=this.m.j; this.j.addEventListener("click",function(){c.A||(c.A=!0,c.v&&c.v(),setTimeout(function(){c.A=!1},500))})}function io(a,b){Mj(a.o,b);a.layout()}function jo(a,b){a.j.setAttribute("aria-label",b)}function ko(a,b){a.v=b}go.prototype.show=function(){fj(this.root);this.layout()};go.prototype.hide=function(){gj(this.root)};function lo(a){a.j.setAttribute("disabled",!0)}function mo(a){a.j.removeAttribute("disabled")}go.prototype.layout=function(){this.sa.layout()}; go.prototype.focus=function(){var a=this;setTimeout(function(){a.j.focus({preventScroll:!1,Vk:!0})},200)}; function ho(a){a.j.classList.remove("mdc-button--unelevated","mdc-button--outlined","Gm3FillButton","Gm3OutlinedButton","Gm3TextButton");switch(a.m.type){case "fill":a.j.classList.add.apply(a.j.classList,["mdc-button--unelevated"].concat(oa(a.l.get("fill"))));break;case "hairline":a.j.classList.add.apply(a.j.classList,["mdc-button--outlined"].concat(oa(a.l.get("hairline"))));break;case "filled_hairline":a.j.classList.add.apply(a.j.classList,["mdc-button--outlined"].concat(oa(a.l.get("filled_hairline")))); break;case "protected":a.j.classList.add.apply(a.j.classList,["mdc-button--raised"].concat(oa(a.l.get("protected"))));break;case "text":a.j.classList.add.apply(a.j.classList,oa(a.l.get("text")));break;case "grey_ink_text":a.j.classList.add.apply(a.j.classList,oa(a.l.get("grey_ink_text")));break;default:console.assert(!1,"button type must be defined.")}} function no(a,b){D(b,1)&&(A(b,1)?a.show():a.hide());D(b,2)&&(A(b,2)?mo(a):lo(a));if(Ed(b,3)!=null)a:{switch(Id(b,3)){case 1:a.m.type="fill";break;case 2:a.m.type="hairline";break;case 3:a.m.type="text";break;default:console.assert(!1,"proto button type must be defined.");break a}ho(a)}b.va()&&io(a,B(b,4)||"");D(b,5)&&(Fd(b,5)?a.j.setAttribute("role","link"):a.j.removeAttribute("role"))}function Z(){this.j=this.S=this.label=this.type=null;this.l=!1};var oo={Eh:"mdc-checkbox--anim-checked-indeterminate",Fh:"mdc-checkbox--anim-checked-unchecked",Hh:"mdc-checkbox--anim-indeterminate-checked",Ih:"mdc-checkbox--anim-indeterminate-unchecked",Jh:"mdc-checkbox--anim-unchecked-checked",Kh:"mdc-checkbox--anim-unchecked-indeterminate",uk:"mdc-checkbox__background",vk:"mdc-checkbox--checked",wk:"mdc-checkbox__checkmark",xk:"mdc-checkbox__checkmark-path",Qa:"mdc-checkbox--disabled",We:"mdc-checkbox--indeterminate",Fk:"mdc-checkbox__mixedmark",Gk:"mdc-checkbox__native-control", da:"mdc-checkbox",Wi:"mdc-checkbox--selected",mj:"mdc-checkbox--upgraded"},po={ec:"aria-checked",Nh:"mixed",ci:"data-indeterminate",Gd:".mdc-checkbox__native-control",pf:"checked",kj:"indeterminate",qf:"init",Nd:"unchecked"},qo={Gh:250};function ro(a){N.call(this,Object.assign({},ro.l,a));this.o=po.qf;this.l="";this.m=0;this.v=!1}r(ro,N);ro.prototype.init=function(){this.o=so(this);to(this);this.j.addClass(oo.mj)};function uo(a){a.v&&(clearTimeout(a.m),a.m=setTimeout(function(){a.j.removeClass(a.l);a.v=!1},qo.Gh))} function vo(a){if(a.j.pg()){var b=a.o,c=so(a);if(b!==c){to(a);var d=oo.Wi;c===po.Nd?a.j.removeClass(d):a.j.addClass(d);a.l.length>0&&(clearTimeout(a.m),a.j.qc(),a.j.removeClass(a.l));a:{d=po.qf;var e=po.pf,f=po.Nd,g=ro.j,h=g.Jh,l=g.Kh,m=g.Fh,n=g.Eh,w=g.Hh;g=g.Ih;switch(b){case d:b=c===f?"":c===e?w:g;break a;case f:b=c===e?h:l;break a;case e:b=c===f?m:n;break a;default:b=c===e?w:g}}a.l=b;a.o=c;a.j.ug()&&a.l.length>0&&(a.j.addClass(a.l),a.v=!0)}}} function so(a){var b=po.kj,c=po.pf,d=po.Nd;return a.j.he()?b:a.j.P()?c:d}function to(a){a.j.he()?a.j.qh(po.ec,po.Nh):a.j.gh(po.ec)} p.Object.defineProperties(ro,{j:{configurable:!0,enumerable:!0,get:function(){return oo}},m:{configurable:!0,enumerable:!0,get:function(){return po}},o:{configurable:!0,enumerable:!0,get:function(){return qo}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},qc:function(){},pg:function(){return!1},ug:function(){return!1},P:function(){return!1},he:function(){return!1},removeClass:function(){},gh:function(){},qh:function(){},Ec:function(){}}}}});var wo=["checked","indeterminate"];function xo(){O.apply(this,arguments);this.v=yo(this)}r(xo,O);xo.prototype.bb=function(){var a=po.ci;zo(this).indeterminate=zo(this).getAttribute(a)==="true";zo(this).removeAttribute(a)};xo.prototype.Ba=function(){var a=this;this.m=function(){vo(a.j)};this.l=function(){uo(a.j)};zo(this).addEventListener("change",this.m);qh(this,yk(),this.l);Ao(this)}; xo.prototype.Y=function(){var a=this;return new ro({addClass:function(b){a.root.classList.add(b)},qc:function(){return a.root.offsetWidth},pg:function(){return!!zo(a)},ug:function(){return!!a.root.parentNode},P:function(){return a.checked},he:function(){return a.o},removeClass:function(b){a.root.classList.remove(b)},gh:function(b){zo(a).removeAttribute(b)},qh:function(b,c){th(zo(a),b,c)},Ec:function(b){zo(a).disabled=b}})}; function yo(a){var b=Object.assign({},hi(a),{ya:function(c,d){zo(a).removeEventListener(c,d,Eh())},Yb:function(){return Hh(zo(a),":active")},qa:function(){return!0},ca:function(c,d){zo(a).addEventListener(c,d,Eh())}});return new fi(a.root,new Qh(b))} function Ao(a){for(var b=zo(a),c=Object.getPrototypeOf(b),d=t(wo),e=d.next(),f={};!e.done;f={Tb:void 0},e=d.next()){e=e.value;f.Tb=Object.getOwnPropertyDescriptor(c,e);if(!Bo(f.Tb))break;Object.defineProperty(b,e,{configurable:f.Tb.configurable,enumerable:f.Tb.enumerable,get:f.Tb.get,set:function(g){return function(h){g.Tb.set.call(b,h);vo(a.j)}}(f)})}}function zo(a){var b=po.Gd;a=a.root.querySelector(b);if(!a)throw Error("Checkbox component requires a "+b+" element");return a} p.Object.defineProperties(xo.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return this.v}},checked:{configurable:!0,enumerable:!0,get:function(){return zo(this).checked},set:function(a){zo(this).checked=a}},o:{configurable:!0,enumerable:!0,get:function(){return zo(this).indeterminate},set:function(a){zo(this).indeterminate=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return zo(this).disabled},set:function(a){var b=this.j;b.j.Ec(a);a?b.j.addClass(oo.Qa):b.j.removeClass(oo.Qa)}}, value:{configurable:!0,enumerable:!0,get:function(){return zo(this).value},set:function(a){zo(this).value=a}}});function Bo(a){return!!a&&typeof a.set==="function"};var Co={da:"mdc-form-field"},Do={cb:".mdc-form-field > label"};function Eo(a){N.call(this,Object.assign({},Eo.l,a));var b=this;this.click=function(){Fo(b)}}r(Eo,N);Eo.prototype.init=function(){this.j.ca("click",this.click)};function Fo(a){a.j.xf();requestAnimationFrame(function(){a.j.Pf()})}p.Object.defineProperties(Eo,{j:{configurable:!0,enumerable:!0,get:function(){return Co}},m:{configurable:!0,enumerable:!0,get:function(){return Do}},l:{configurable:!0,enumerable:!0,get:function(){return{xf:function(){},Pf:function(){},ya:function(){},ca:function(){}}}}});function Go(){O.apply(this,arguments)}r(Go,O);Go.prototype.Y=function(){var a=this;return new Eo({xf:function(){a.input&&a.input.sa&&Th(a.input.sa.j)},Pf:function(){a.input&&a.input.sa&&Uh(a.input.sa.j)},ya:function(b,c){var d;(d=a.root.querySelector(Eo.m.cb))==null||d.removeEventListener(b,c)},ca:function(b,c){var d;(d=a.root.querySelector(Eo.m.cb))==null||d.addEventListener(b,c)}})};var Ho=1; function Io(a,b,c,d){var e=this;b=b===void 0?"":b;c=c===void 0?!1:c;d=d===void 0?!1:d;var f=f===void 0?"":f;this.root=a;a="dfs-checkbox-"+Ho++;var g=document.createElement("div");g.id=a+"-form";g.classList.add("dfs-checkbox-form");g.classList.add("mdc-form-field");g.classList.add("GmFormField");var h=document.createElement("div");h.classList.add("mdc-checkbox");h.classList.add("GmCheckbox");g.appendChild(h);this.input=document.createElement("input");this.input.type="checkbox";this.input.id=a;this.input.classList.add("mdc-checkbox__native-control"); h.appendChild(this.input);var l=document.createElement("div");l.classList.add("mdc-checkbox__background");h.appendChild(l);var m=document.createElementNS("http://www.w3.org/2000/svg","svg");m.classList.add("mdc-checkbox__checkmark");m.setAttribute("viewBox","0 0 24 24");l.appendChild(m);var n=document.createElementNS("http://www.w3.org/2000/svg","path");n.classList.add("mdc-checkbox__checkmark-path");n.setAttribute("fill","none");n.setAttribute("d","M1.73,12.91 8.1,19.28 22.79,4.59");m.appendChild(n); m=document.createElement("div");m.classList.add("mdc-checkbox__mixedmark");l.appendChild(m);l=document.createElement("div");l.classList.add("mdc-checkbox__ripple");h.appendChild(l);l=document.createElement("span");l.classList.add("dfs-focus-ring");h.appendChild(l);this.l=document.createElement("label");this.l.id=a+"-label";this.l.classList.add("dfs-checkbox-label");Mj(this.l,b);this.l.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.l),this.m=document.createElement("label"),this.m.id=a+"-sublabel",this.m.classList.add("dfs-checkbox-sublabel"),this.m.classList.add("gmTypographyBody2"),Mj(this.m,f),b.appendChild(this.m),g.appendChild(b)):g.appendChild(this.l);this.root.appendChild(g);this.j=new xo(h);(new Go(g)).input=this.j;c&&(this.j.checked=!0);this.o=null;this.input.addEventListener("change",function(){e.o&&e.o(e.P())},!1)}function Jo(a,b){a.o=b} function Ko(a,b){b&&Mj(a.l,b)}function Lo(a,b){b&&Mj(a.m,b)}function Mo(a,b){a.input.setAttribute("aria-label",b)}Io.prototype.P=function(){return this.j.checked};function No(a){a.j.checked=!0}function Oo(a){a.j.checked=!1}Io.prototype.focus=function(){this.input.focus()};function Po(a){a.j.disabled=!0;a.root.classList.add("dfs-checkbox-disabled")}function Qo(a){a.j.disabled=!1;a.root.classList.remove("dfs-checkbox-disabled")}Io.prototype.layout=function(){this.j.sa.layout()};var Ro={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",Mb:"mdc-dialog--opening",hf:"mdc-dialog--scrollable",jf:"mdc-dialog-scroll-lock",Md:"mdc-dialog--stacked",ri:"mdc-dialog--fullscreen",Ld:"mdc-dialog-scroll-divider-header",Kd:"mdc-dialog-scroll-divider-footer",Nk:"mdc-dialog__surface-scrim--shown",Mk:"mdc-dialog__surface-scrim--showing",Lk:"mdc-dialog__surface-scrim--hiding",Ui:"mdc-dialog__scrim--hidden"},So={Be:"data-mdc-dialog-action",Wh:"data-mdc-dialog-button-default",Xh:".mdc-dialog__button", sb:"MDCDialog:closed",Ne:"close",tb:"MDCDialog:closing",Oe:".mdc-dialog__container",bi:".mdc-dialog__content",zk:"destroy",xi:"data-mdc-dialog-initial-focus",eb:"MDCDialog:opened",Nb:"MDCDialog:opening",Vi:".mdc-dialog__scrim",dj:"textarea, .mdc-menu .mdc-list-item, .mdc-menu .mdc-deprecated-list-item",nf:".mdc-dialog__surface"},To={ji:75,ki:150};function Uo(a){N.call(this,Object.assign({},Uo.l,a));var b=this;this.C=this.B=!1;this.l=this.m=0;this.A=this.v=So.Ne;this.o=!0;this.lc=!1;this.I=So.dj;this.D=new Tj;this.H=function(){Vo(b)};this.G=function(){b.layout()};this.J=function(){b.layout()}}r(Uo,N);k=Uo.prototype;k.init=function(){this.j.hasClass(Ro.Md)&&(this.o=!1);this.C=this.j.hasClass(Ro.ri)}; k.open=function(a){var b=this;this.B=!0;this.j.mb();this.j.addClass(Ro.Mb);this.C&&this.j.Ug("scroll",this.H);a&&a.Xk&&this.j.addClass(Ro.Ui);this.j.La("resize",this.G);this.j.La("orientationchange",this.J);Wo(this,function(){b.j.addClass(Ro.OPEN);a&&a.cl||b.j.Af(Ro.jf);b.layout();b.l=setTimeout(function(){Xo(b);b.j.qd(b.j.rc());b.j.Bc()},To.ki)})}; k.close=function(a){var b=this;a=a===void 0?"":a;this.B&&(this.B=!1,this.j.lb(a),this.j.addClass(Ro.CLOSING),this.j.removeClass(Ro.OPEN),this.j.ah(Ro.jf),this.C&&this.j.Sf("scroll",this.H),this.j.Ia("resize",this.G),this.j.Ia("orientationchange",this.J),cancelAnimationFrame(this.m),this.m=0,clearTimeout(this.l),this.l=setTimeout(function(){b.j.jd();Xo(b);b.j.zc(a)},To.ji))}; k.layout=function(){var a=this;this.D.request("poll_layout_change",function(){if(a.o){a.j.removeClass(Ro.Md);var b=a.j.lc();b&&a.j.addClass(Ro.Md);b!==a.lc&&(a.j.ih(),a.lc=b)}a.j.removeClass(Ro.hf);a.j.wg()&&(a.j.addClass(Ro.hf),a.C&&(Yo(a),Zo(a)))})};k.Ai=function(a){this.j.Xd(a.target,So.Vi)&&this.A!==""?this.close(this.A):(a=this.j.Zd(a))&&this.close(a)}; k.Ci=function(a){var b=a.key==="Enter"||a.keyCode===13;b&&!this.j.Zd(a)&&(a=a.composedPath?a.composedPath()[0]:a.target,a=this.I?!this.j.Xd(a,this.I):!0,b&&a&&this.j.Lf())};k.Bi=function(a){a.key!=="Escape"&&a.keyCode!==27||this.v===""||this.close(this.v)};function Vo(a){a.D.request("poll_scroll_position",function(){Yo(a);Zo(a)})}function Xo(a){a.l=0;a.j.removeClass(Ro.Mb);a.j.removeClass(Ro.CLOSING)} function Wo(a,b){cancelAnimationFrame(a.m);a.m=requestAnimationFrame(function(){a.m=0;clearTimeout(a.l);a.l=setTimeout(b,0)})}function Yo(a){a.j.Dg()?a.j.hasClass(Ro.Ld)&&a.j.removeClass(Ro.Ld):a.j.addClass(Ro.Ld)}function Zo(a){a.j.Cg()?a.j.hasClass(Ro.Kd)&&a.j.removeClass(Ro.Kd):a.j.addClass(Ro.Kd)} p.Object.defineProperties(Uo,{j:{configurable:!0,enumerable:!0,get:function(){return Ro}},m:{configurable:!0,enumerable:!0,get:function(){return So}},o:{configurable:!0,enumerable:!0,get:function(){return To}},l:{configurable:!0,enumerable:!0,get:function(){return{Af:function(){},addClass:function(){},lc:function(){return!1},Lf:function(){},Xd:function(){return!1},Zd:function(){return""},rc:function(){return null},hasClass:function(){return!1},wg:function(){return!1},zc:function(){},lb:function(){}, Bc:function(){},mb:function(){},jd:function(){},ah:function(){},removeClass:function(){},ih:function(){},qd:function(){},Ug:function(){},Sf:function(){},Dg:function(){return!1},Cg:function(){return!1},La:function(){},Ia:function(){}}}}});function $o(a){var b=new Set;[].forEach.call(a,function(c){return b.add(c.offsetTop)});return b.size>1};function ap(a,b){b=b===void 0?{}:b;this.root=a;this.j=b;this.l=null}ap.prototype.qd=function(){var a=bp(this.root);if(a.length===0)throw Error("FocusTrap: Element must have at least one focusable child.");this.l=document.activeElement instanceof HTMLElement?document.activeElement:null;cp(this.root);if(!this.j.jl){var b=this.j.Xj,c=0;b&&(c=Math.max(a.indexOf(b),0));a[c].focus()}}; ap.prototype.jd=function(){Array.from(this.root.querySelectorAll(".mdc-dom-focus-sentinel")).forEach(function(a){a.parentElement.removeChild(a)});!this.j.kl&&this.l&&this.l.focus()};function cp(a){var b=dp(),c=dp();b.addEventListener("focus",function(){var d=bp(a);d.length>0&&d[d.length-1].focus()});c.addEventListener("focus",function(){var d=bp(a);d.length>0&&d[0].focus()});a.insertBefore(b,a.children[0]);a.appendChild(c)} function bp(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){var c=b.getAttribute("aria-disabled")==="true"||b.getAttribute("disabled")!=null||b.getAttribute("hidden")!=null||b.getAttribute("aria-hidden")==="true";c=b.tabIndex>=0&&b.getBoundingClientRect().width>0&&!b.classList.contains("mdc-dom-focus-sentinel")&&!c;var d=!1;c&&(b=getComputedStyle(b),d=b.display==="none"||b.visibility==="hidden");return c&&!d})} function dp(){var a=document.createElement("div");a.setAttribute("tabindex","0");a.setAttribute("aria-hidden","true");a.classList.add("mdc-dom-focus-sentinel");return a};var ep=Uo.m;function fp(){O.apply(this,arguments)}r(fp,O);k=fp.prototype;k.bb=function(a){a=a===void 0?function(c,d){return new ap(c,d)}:a;var b=this.root.querySelector(ep.Oe);if(!b)throw Error("Dialog component requires a "+ep.Oe+" container element");this.B=b;this.content=this.root.querySelector(ep.bi);this.buttons=Array.from(this.root.querySelectorAll(ep.Xh));this.m=this.root.querySelector("["+ep.Wh+"]");this.J=a;this.I=[];a=t(this.buttons);for(b=a.next();!b.done;b=a.next())this.I.push(new fi(b.value))}; k.Ba=function(){var a=this;this.v=(0,this.J)(this.B,{Xj:this.rc()||void 0});this.D=this.j.Ai.bind(this.j);this.G=this.j.Ci.bind(this.j);this.o=this.j.Bi.bind(this.j);this.M=function(){document.addEventListener("keydown",a.o)};this.L=function(){document.removeEventListener("keydown",a.o)};qh(this,"click",this.D);qh(this,"keydown",this.G);qh(this,ep.Nb,this.M);qh(this,ep.tb,this.L)};k.layout=function(){this.j.layout()};k.open=function(){this.j.open()}; k.close=function(a){this.j.close(a===void 0?"":a)}; k.Y=function(){var a=this;return new Uo({Af:function(b){document.body.classList.add(b)},addClass:function(b){a.root.classList.add(b)},lc:function(){return $o(a.buttons)},Lf:function(){a.m&&!a.m.disabled&&a.m.click()},Xd:function(b,c){return b?Hh(b,c):!1},Zd:function(b){return b.target?(b=Gh(b.target,"["+ep.Be+"]"))&&b.getAttribute(ep.Be):""},rc:function(){return a.rc()},hasClass:function(b){return a.root.classList.contains(b)},wg:function(){var b=a.content;return b?b.scrollHeight>b.offsetHeight:!1}, zc:function(b){sh(a,ep.sb,b?{action:b}:{})},lb:function(b){sh(a,ep.tb,b?{action:b}:{})},Bc:function(){sh(a,ep.eb,{})},mb:function(){sh(a,ep.Nb,{})},jd:function(){a.v.jd()},ah:function(b){document.body.classList.remove(b)},removeClass:function(b){a.root.classList.remove(b)},ih:function(){a.buttons.reverse();a.buttons.forEach(function(b){b.parentElement.appendChild(b)})},qd:function(){a.v.qd()},Ug:function(b,c){a.content instanceof HTMLElement&&a.content.addEventListener(b,c)},Sf:function(b,c){a.content instanceof HTMLElement&&a.content.removeEventListener(b,c)},Dg:function(){var b=a.content;return b?b.scrollTop===0:!1},Cg:function(){var b=a.content;return b?Math.ceil(b.scrollHeight-b.scrollTop)===b.clientHeight:!1},La:function(b,c){window.addEventListener(b,c)},Ia:function(b,c){window.removeEventListener(b,c)}})};k.rc=function(){return this.root.querySelector("["+ep.xi+"]")}; p.Object.defineProperties(fp.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j.B}},C:{configurable:!0,enumerable:!0,get:function(){return this.j.v},set:function(a){this.j.v=a}},H:{configurable:!0,enumerable:!0,get:function(){return this.j.A},set:function(a){this.j.A=a}},A:{configurable:!0,enumerable:!0,get:function(){return this.j.o},set:function(a){this.j.o=a}}});var gp=1; function hp(a,b){var c=this;this.root=a;this.v=b;this.B=0;if(this.v.m){if(!this.root.classList.contains("dfs-dialog")){console.assert(!1,"unable to attach DFSDialog. The root element must have the dfs-dialog class.");return}this.root.classList.add("mdc-dialog");a=this.root.querySelector(".dfs-dialog-container");if(!a){console.assert(!1,"unable to attach DFSDialog. The root element must have a child with the dfs-dialog-container class.");return}a.classList.add("mdc-dialog__container");this.j=a.querySelector(".dfs-dialog-surface"); if(!this.j){console.assert(!1,"unable to attach DFSDialog. The container element must have a child with the dfs-dialog-surface class.");return}if(!this.j.hasAttribute("aria-describedby")){console.assert(!1,"unable to attach DFSDialog. The surface element must have the aria-describedby attribute.");return}if(!this.j.hasAttribute("aria-labelledby")){console.assert(!1,"unable to attach DFSDialog. The surface element must have the aria-labelledby attribute.");return}this.j.classList.add("mdc-dialog__surface"); this.j.setAttribute("role","alertdialog");this.j.setAttribute("aria-modal","true");this.j.setAttribute("tabindex","-1");if(!this.j.querySelector(".dfs-dialog-header-container")){console.assert(!1,"unable to attach DFSDialog. The surface element must have a child with the mdc-elevation-overlay class.");return}(this.o=this.j.querySelector(".dfs-dialog-header-container"))&&this.v.l&&this.o.classList.add("mdc-dialog__title");this.m=this.j.querySelector(".dfs-dialog-content");if(!this.m){console.assert(!1, "unable to attach DFSDialog. The surface element must have a child with the dfs-dialog-content class.");return}this.m.classList.add("mdc-dialog__content");this.l=this.j.querySelector(".dfs-dialog-actions");if(!this.l){console.assert(!1,"unable to attach DFSDialog. The surface element must have a child with the dfs-dialog-actions class.");return}this.l.classList.add("mdc-dialog__actions");a=this.l.querySelectorAll(".mdc-button");if(a.length==0){console.assert(!1,"unable to attach DFSDialog. The dialog actions must have a child that is a button."); return}a.forEach(function(d){return d.classList.add("mdc-dialog__button")});a=this.root.querySelector(".dfs-dialog-scrim");if(!a){console.assert(!1,"unable to attach DFSDialog. The root element must have a child with the dfs-dialog-scrim class.");return}a.classList.add("mdc-dialog__scrim")}else this.root.classList.add("mdc-dialog"),this.root.classList.add("dfs-dialog"),this.A=gp++,a="dfs-dialog-content-"+this.A,b=document.createElement("div"),b.classList.add("mdc-dialog__container"),b.classList.add("dfs-dialog-container"), this.root.appendChild(b),this.j=document.createElement("div"),this.j.classList.add("mdc-dialog__surface"),this.j.classList.add("dfs-dialog-surface"),this.v.j&&this.j.classList.add.apply(this.j.classList,oa(this.v.j)),this.j.setAttribute("role","alertdialog"),this.j.setAttribute("aria-modal","true"),this.j.setAttribute("aria-describedby",a),this.j.setAttribute("tabindex","-1"),b.appendChild(this.j),b=document.createElement("div"),b.classList.add("mdc-elevation-overlay"),this.j.appendChild(b),this.o= document.createElement("div"),this.o.classList.add("dfs-dialog-header-container"),this.v.l&&this.o.classList.add("mdc-dialog__title"),this.j.appendChild(this.o),this.m=document.createElement("div"),this.m.id=a,this.m.classList.add("mdc-dialog__content"),this.m.classList.add("dfs-dialog-content"),this.j.appendChild(this.m),this.l=document.createElement("div"),this.l.classList.add("mdc-dialog__actions"),this.l.classList.add("dfs-dialog-actions"),this.j.appendChild(this.l),a=document.createElement("div"), a.classList.add("mdc-dialog__scrim"),a.classList.add("dfs-dialog-scrim"),this.root.appendChild(a);this.v.l&&this.root.classList.add("Gm3Dialog","Gm3AlertDialog");this.dialog=new fp(this.root);this.dialog.C="";this.dialog.H="";this.dialog.A=!1;this.root.addEventListener("MDCDialog:opened",function(){c.j.focus()})} function ip(a,b,c,d){b=b===void 0?null:b;c=c===void 0?null:c;d=d===void 0?!1:d;var e=document.createElement("div");e.classList.add("dfs-dialog-header-element");b&&(e.classList.add("dfs-dialog-header-text"),a.v.l&&e.classList.add("mdc-dialog__title-text"),Mj(e,b),d&&(b="dfs-dialog-title-"+a.A,e.id=b,a.j.setAttribute("aria-labelledby",b)));if(c)for(c=t(c),b=c.next();!b.done;b=c.next())e.classList.add(b.value);a.o.appendChild(e);return e} function jp(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;var d=document.createElement("div");d.classList.add("dfs-dialog-content-element");b&&(d.classList.add("dfs-dialog-content-text"),Mj(d,b));if(c)for(b=t(c),c=b.next();!c.done;c=b.next())d.classList.add(c.value);a.m.appendChild(d);return d} function kp(a,b){var c=document.createElement("div");b.S?b.S.push("mdc-dialog__button"):b.S=["mdc-dialog__button"];b.l=a.v.l;a.l.appendChild(c);a.B++>0&&c.classList.add("dfs-dialog-button");return new go(c,b)}hp.prototype.reset=function(){this.o&&hj(this.o);this.m&&hj(this.m);this.l&&hj(this.l);this.j.removeAttribute("aria-labelledby")};hp.prototype.open=function(){this.dialog.open()};hp.prototype.close=function(){this.dialog.close()};function lp(){this.j=null;this.l=this.m=!1};function mp(a,b,c,d,e){var f="";c=Al('class="'+V("mdc-floating-label")+(d?" "+V("mdc-floating-label--required"):"")+(e?" "+V("mdc-floating-label--hide-required-marker"):"")+(c!=null&&c?" "+V("mdc-floating-label--float-above"):"")+'" jscontroller="'+V("Tpj7Pb")+'" jsname="'+(V("V67aGc")+'"'));c=Al(""+c);f+='<span id="'+V(b)+'"'+Kl(Il(c))+(Bl()?Kl(Il()):"")+">"+vl(a)+"</span>";return xl(f)};function np(a,b,c){var d='<span class="'+V("mdc-text-field-character-counter")+" "+V("mdcTextfieldCharactercounterRoot")+'" jscontroller="'+V("Fo7lub")+'" jsname="'+(V("bn57Zb")+'" data-atid="')+V(a)+'"',e=" ssk='"+V("6:bn57Zb")+"'>";c=c==null?0:c.length;var f=(new fm).format(c);f=vl(f);f='<span aria-hidden="true">'+Ml(f)+"/";var g=(new fm).format(b);g=vl(g);a=f+Ml(g)+'</span><span class="'+V("mdcTextfieldCharactercounterVisuallyHidden")+'" id="'+V(a)+'">'+vl(""+c+" of "+b+" characters entered")+ '</span><span class="'+V("mdcTextfieldCharactercounterVisuallyHidden")+'" aria-live="assertive">';c=b-c;var h;c===0||c===5||c===10||c===15?h=vl(""+c+" of "+b+" characters remaining"):h="";b=xl(a+(h+"</span>"));return xl(d+(e+b+"</span>"))};function op(a,b,c,d){return xl('<span class="'+V("mdc-text-field__affix")+" "+(b?V("mdc-text-field__affix--suffix"):V("mdc-text-field__affix--prefix"))+'"'+(c!=null?' jsname="'+V(c)+'"':"")+(d?' id="'+V(d)+'"':"")+">"+vl(a)+"</span>")} function pp(a){var b=a.sg,c=a.Ig,d=a.ik,e=a.hk,f=a.je,g=a.rg,h=a.jsname,l=a.S,m=a.Mc,n=a.label,w=a.Jg,E=a.Vc,J=a.type,H=a.value,P=a.Sa,ba=a.pa,ja=a.vc,Y=a.cd,wa=a.maxLength,Db=a.uf,Kb=a.gd,Fc=a.Uc,Sb=a.Ta,Xa=a.zg,Lb=a.ia,kb=a.xh,lb=a.yh,Sc=a.attributes,ic=a.ed,Gc=a.prefix,tb=a.gk,W=a.suffix,jc=a.kk,Tc=a.Hg,Eb=a.xg,Uc=a.Pc,kc=a.Oc,Tb=a.od,Ra=a.fk,Ba=a.bd,Md=a.Xc,Le=a.Yc,lc=a.Wc,Me=a.tg;a=a.Zc;d='<div jscontroller="'+(Md&&Ba===0?V(Md):V("EF8pe"))+'" jsshadow class="'+V("textField")+(l!=null?" "+V(l): "")+'"'+(!kc&&m?' data-idom-container-class="'+V(m)+'"':"")+(d?' data-provided-aria-labelledby="'+V(d)+'"':"")+(e?' data-provided-aria-describedby="'+V(e)+'"':"")+(h!=null?' jsname="'+V(h)+'"':"")+(Uc?Kl(Al("data-enable-skip='true'")):"")+(kc?Kl(Al("data-disable-idom='true'")):"")+(Tb?Kl(Al("data-sync-idom-state='true'")):"")+(Bl(Sc)?Kl(Il(Sc)):"")+(Ra&&H?' jsaction="'+V("rcuQ6b")+":"+V("sRXACc")+'"':"")+">";J=J==="color"||J==="date"||J==="datetime-local"||J==="month"||J==="range"||J==="time"||J=== "week"||H?!0:!1;d+='<label class="'+V("mdc-text-field")+" "+V("mdc-text-field--upgraded")+" "+V("mdc-ripple-upgraded")+((ba!=null?ba:1)?"":" "+V("mdc-text-field--invalid"))+(c?" "+V("mdc-text-field--textarea"):"")+(n==null?" "+V("mdc-text-field--no-label"):"")+(Sb?" "+V("mdc-text-field--disabled"):"")+(Xa?" "+V("mdc-text-field--outlined"):" "+V("mdc-text-field--filled"))+(Bl(Lb)?" "+V("mdc-text-field--with-leading-icon"):"")+(Bl(kb)?" "+V("mdc-text-field--with-trailing-icon"):"")+(ic?" "+V("mdc-text-field--end-aligned"): "")+(Tc?" "+V("mdc-text-field--ltr-text"):"")+(J?" "+V("mdc-text-field--label-floating"):"")+(wa==null||!c||Eb||Ra?"":" "+V("mdc-text-field--with-internal-counter"))+(m!=null?" "+V(m):"")+'" jsaction="click:'+V("cOuCgd")+"; keydown:"+V("I481le")+';" jsname="'+V("vhZMvf")+'"'+(E?' for="'+V(E)+'"':"")+">"+(Xa?"":'<span class="'+V("mdc-text-field__ripple")+'"></span>');Xa?Bl(a)&&Ba===0?d+=vl(a):(m=""+mp(n!=null?n:"",w!=null?w:"",J,Kb,Fc),w=xl(m),m=d,n=n!=null?w:null,n=xl('<span jscontroller="'+V("bTi8wc")+ '" class="'+V("mdc-notched-outline")+(J!=null&&J?" "+V("mdc-notched-outline--notched"):"")+(Bl(n)?"":" "+V("mdc-notched-outline--no-label"))+'" jsname="'+(V("B9mpmd")+'"><span class="')+V("mdc-notched-outline__leading")+'"></span>'+(n!=null?'<span class="'+V("mdc-notched-outline__notch")+'" jsname="'+V("FMODoe")+'">'+vl(n)+"</span>":"")+'<span class="'+V("mdc-notched-outline__trailing")+'"></span></span>'),d=m+n):n!=null&&(d+=Bl(Me)&&Ba===0?vl(Me):mp(n,w!=null?w:"",J,Kb,Fc));b=""+(Bl(Lb)?vl(Lb):"")+ (Gc?op(Gc,void 0,"qdIk2c",tb):"")+vl(b)+(W?op(W,!0,"iJ4yB",jc):"")+(Bl(kb)?lb?"<span jsslot>"+vl(kb)+"</span>":vl(kb):"")+(wa==null||Db==null||!c||Eb||Ra?"":Bl(lc)&&Ba===0?vl(lc):np(Db,wa,H));Lb=xl(b);b=d;f=c&&f?'<span class="'+V("mdc-text-field__resizer")+'">'+Lb+"</span>":Lb;var mc;Xa?mc="":mc=xl('<span class="'+V("mdc-line-ripple")+'" jscontroller="'+V("gNYsTc")+'" jsaction="transitionend:'+V("Zdx3Re")+'" jsname="'+(V("Yj6Lhf")+'"></span>'));Xa=f+mc+"</label>";if(P!=null||wa!=null||Ra){mc='<div class="'+ V("mdc-text-field-helper-line")+'" jsname="'+V("hRAxDc")+'">';if(P!=null)if(Bl(Le)&&Ba===0)g=vl(Le);else{var nc=nc===void 0?!0:nc;g=xl('<p id="'+V(g!=null?g:"")+'" class="'+V("mdc-text-field-helper-text")+(ja!=null&&ja?" "+V("mdc-text-field-helper-text--validation-msg"):"")+(Y!=null&&Y?" "+V("mdc-text-field-helper-text--persistent"):"")+'" jscontroller="'+V("eM1C7d")+'" jsname="'+(V("xl1FBb")+'"')+(Y||ja&&!nc?"":' aria-hidden="true"')+">"+vl(P)+"</p>")}else g="";c=mc+g+(wa==null||Db==null||c&&!Eb&& !Ra?"":Bl(lc)&&Ba===0?vl(lc):np(Db,wa,H))+"</div>"}else c="";return xl(b+(Xa+c+"</div>"))} function qp(a,b,c,d,e,f,g,h,l,m,n,w,E,J,H,P,ba,ja,Y){l=l!=null?l:!0;J=!(!d||J&&!H&&l);H=c!=null&&b!=null;a='id="'+V(a)+'" jsname="'+V("YPqjbf")+'" class="'+V("mdc-text-field__input")+" "+V(E!=null?E:"")+'" jsaction="'+(ba!==0?"focus:"+V("AHmuwe")+";":"")+(P!==0&&ba!==0?"blur:"+V("O22p3e")+";":"")+"input:"+V("YPqjbf")+"; mousedown:"+V("UX7yZ")+"; mouseup:"+V("lbsD7e")+"; pointerdown:"+V("QJflP")+"; pointerup:"+V("HxTfMe")+"; touchstart:"+V("p6p2H")+"; touchend:"+V("yfqBxc")+';"'+(d?' aria-controls="'+ V(d)+'"':"");g!=null||H||J||ja||Y?(b=(ja?ja:"")+(Y?" "+Y:"")+(J?" "+(d!=null?d:""):"")+(H?" "+(b!=null?b:""):"")+(g?" "+g:""),wl(b,nl)?(b=Cl(b.zb()),b=String(b).replace(Sl,zl)):b=String(b).replace(Rl,zl),b=" aria-describedby="+b):b="";a+=b+(f?' aria-labelledby="'+V(f)+'"':"")+(e?' aria-label="'+V(e)+'"':"")+(l?"":' aria-invalid="true"')+(h!=null?' placeholder="'+V(h)+'"':"")+(m?" disabled":"")+(n?" required":"")+(c!=null?' maxlength="'+V(c)+'"':"")+(Bl(w)?Kl(Il(w)):"");return Al(a)};function rp(a){a=a||{};var b=a.Oc,c=a.od,d=a.Fj,e=a.label,f=a.mk,g=a.ariaLabel,h=a.vj,l=a.uj,m=a.jsname,n=a.S,w=a.Mc,E=a.Zj,J=a.Vc,H=a.type,P=a.placeholder,ba=a.value,ja=a.Sa,Y=a.pa,wa=a.vc,Db=a.cd,Kb=a.maxLength,Fc=a.Ta,Sb=a.gd,Xa=a.Uc,Lb=a.ia,kb=a.xh,lb=a.yh,Sc=a.attributes,ic=a.Yj,Gc=a.Yk,tb=a.ed,W=a.Zk,jc=a.al,Tc=a.prefix,Eb=a.suffix,Uc=a.Hg,kc=a.Pc;b=b===void 0?!1:b;var Tb=c===void 0?!1:c,Ra=c=xl;w=sp(a.Ej)+(w?" "+w:"");d=d===void 0?!0:d;var Ba=a.bd,Md=a.Xc,Le=a.Yc,lc=a.ek,Me=a.Wc,mc=a.ck,nc= a.dk;a=a.Zc;var Nd="";nc=e!=null?Ba===0?nc:f!=null?f+"-label":Wl():null;J=J!=null?J:Wl();var Nf="qdIk2c"+Wl(),gh="iJ4yB"+Wl();lc=Ba===0?lc:ja!=null?f!=null?f+"-help-text":Wl():null;f=Ba===0?mc:Kb!=null?f!=null?f+"-counter-text":Wl():null;mc=Nd;Nd=xl;var Of="";E=""+qp(J,f,Kb,lc,g,h!=null?h:g?null:""+(nc!=null?nc:""),l,P,Y,Fc,Sb,ic,E,wa,Db,W,jc,Tc?Nf:null,Eb?gh:null);E=Al(E);Of+='<input type="'+V(H!=null?H:"text")+'" value="'+V(ba!=null?ba:"")+'"'+Kl(Il(E))+(Gc?"":' autocomplete="off"')+">";Gc=xl(Of); Nd=mc+pp({ik:h,hk:l,Ig:!1,ariaLabel:g,jsname:m,S:n,Mc:w,label:e,Jg:nc,Vc:J,type:H,value:ba,Sa:ja,pa:Y,vc:wa,cd:Db,maxLength:Kb,rg:lc,uf:f,gd:Sb,Uc:Xa,Ta:Fc,zg:!0,ia:Lb,xh:kb,yh:lb,attributes:Sc,ed:tb,prefix:Tc,gk:Nf,suffix:Eb,kk:gh,Hg:Uc,Pc:kc,Oc:b,od:Tb,Fj:d,placeholder:P,sg:Nd(""+Gc),bd:Ba,Xc:Md,Yc:Le,Wc:Me,tg:void 0,Zc:a});e=xl(Nd);e=Ra(e);return c(e)} function tp(a){a=a||{};var b=a.je,c=a.Pc,d=a.Oc,e=a.od,f=a.label,g=a.mk,h=a.ariaLabel,l=a.vj,m=a.uj,n=a.jsname,w=a.S,E=a.Mc,J=a.Zj,H=a.Vc,P=a.placeholder,ba=a.value,ja=a.Sa,Y=a.pa,wa=a.vc,Db=a.cd,Kb=a.maxLength,Fc=a.Ta,Sb=a.gd,Xa=a.Uc,Lb=a.xg,kb=a.rows,lb=a.cols,Sc=a.attributes,ic=a.Yj,Gc=a.ed;d=d===void 0?!1:d;e=e===void 0?!1:e;var tb=a.Ej,W=a.bd,jc=a.Xc,Tc=a.Yc,Eb=a.ek,Uc=a.Wc,kc=a.ck,Tb=a.dk,Ra=a.Zc;a=xl;E=sp(tb)+" GmTextarea"+(tb!==0?" GmTextareaDarkTheme":"")+(E?" "+E:"");tb=b===void 0?!0:b; b=xl;tb=tb===void 0?!0:tb;var Ba="";Tb=f!=null?W===0?Tb:g!=null?g+"-label":Wl():null;H=H!=null?H:Wl();Eb=W===0?Eb:ja!=null?g!=null?g+"-help-text":Wl():null;g=W===0?kc:Kb!=null?g!=null?g+"-counter-text":Wl():null;kc=Ba;Ba=xl;l=l!=null?l:h?null:Tb;ic=Al(Bl(ic)?Il(ic):"");m=""+qp(H,g,Kb,Eb,h,l,m,P,Y,Fc,Sb,ic,J,wa,Db);m=Al(m);kb='<textarea rows="'+V(kb!=null?kb:1)+'" cols="'+V(lb!=null?lb:"")+'"'+Kl(Il(m))+">";lb=ba!=null?ba:"";lb=wl(lb,nl)?Hl(lb.zb()):String(lb).replace(yl,zl);kb=xl(kb+lb+"</textarea>"); Ba=kc+pp({ariaLabel:h,je:tb,rg:Eb,jsname:n,S:w,Mc:E,label:f,Jg:Tb,Vc:H,value:ba,Sa:ja,pa:Y,vc:wa,cd:Db,maxLength:Kb,uf:g,gd:Sb,Uc:Xa,Ta:Fc,zg:!0,attributes:Sc,ed:Gc,xg:Lb,Pc:c,Oc:d,od:e,fk:void 0,placeholder:P,Ig:!0,sg:Ba(""+kb),bd:W,Xc:jc,Yc:Tc,Wc:Uc,tg:void 0,Zc:Ra});c=xl(Ba);c=b(c);return a(c)}function sp(a){return"GmTextFieldOutlined"+(a!==0?" GmOutlinedTextFieldDarkTheme":"")};function up(a,b){var c=this;this.root=a;this.j=b;this.input=null;a={};this.j.m&&(a.label=this.j.m,a.ariaLabel=this.j.m);this.j.ariaLabel&&(a.ariaLabel=this.j.ariaLabel);this.j.j&&(a.suffix=this.j.j,a.ariaLabel&&(a.ariaLabel+=" "+this.j.j));this.j.Sa&&(a.Sa=this.j.Sa,a.vc=!0);this.j.inputType&&(a.type=this.j.inputType);this.j.o?(a.rows=8,a.cols=40,a.je=!1,Zl(this.root,tp,a),this.input=this.root.querySelector("textarea")):(Zl(this.root,rp,a),this.input=this.root.querySelector("input"));this.j.pattern&& (this.input.pattern=this.j.pattern);this.j.min&&(this.input.min=this.j.min);this.j.max&&(this.input.max=this.j.max);if(a=this.root.querySelector(".mdc-text-field"))this.l=new Wi(a),this.l.required=this.j.required,this.j.l&&this.input.addEventListener("input",function(){c.j.l()}),this.j.v&&this.input.addEventListener("focus",function(){c.j.v()}),this.j.C&&this.input.addEventListener("blur",function(){c.j.C()}),this.j.A&&this.input.addEventListener("keydown",function(d){return c.j.A(d)}),this.j.B&& this.input.addEventListener("paste",function(d){return c.j.B(d)})}function vp(a,b){a.l.value=b}k=up.prototype;k.Ta=function(){return this.l.disabled};k.focus=function(){this.l.focus()};k.valid=function(){this.l.valid=!0};k.pa=function(){return this.l.valid};k.scrollIntoView=function(){this.input.scrollIntoView()};function wp(){this.C=this.v=this.l=null;this.o=this.required=!1;this.max=this.min=this.inputType=this.pattern=this.Sa=this.j=this.B=this.A=this.m=this.ariaLabel=null};function xp(a,b){var c=this;this.root=a;this.A=b;b=new lp;b.j=["casita-feedback-dialog"];b.l=!1;this.dialog=new hp(a,b);this.l=new Map;this.j=this.v=this.o=this.m=null;a.addEventListener("MDCDialog:opened",function(){for(var d=t(c.l.values()),e=d.next();!e.done;e=d.next())e.value.layout()})} function yp(a,b){if(b){zp(a);var c=ip(a.dialog,null,["horizontal-container"]),d=new Image;d.src="ic_drive_fs_logo.svg";d.classList.add("casita-feedback-drive-logo");d.setAttribute("aria-hidden","true");var e=document.createElement("div");e.classList.add("casita-feedback-title");Mj(e,B(b,1)||"");c.appendChild(d);c.appendChild(e);c=0;d=t(kd(b,2,rc,jd()));for(e=d.next();!e.done;e=d.next()){e=e.value;var f=document.createElement("div");f.classList.add("casita-feedback-checkbox");jp(a.dialog).appendChild(f); e=new Io(f,e);Jo(e,function(){Ap(a)});a.l.set(c++,e)}c=document.createElement("div");c.classList.add("casita-feedback-other-feedback-title");Mj(c,B(b,7)||"");jp(a.dialog).appendChild(c);c=new wp;c.o=!0;c.m=B(b,3)||"";c.l=function(){Ap(a)};d=document.createElement("div");d.classList.add("casita-feedback-other-feedback");jp(a.dialog).appendChild(d);a.m=new up(d,c);c=new Z;c.type="text";c.label=B(b,4)||"";c.j=function(){Bp()};a.o=kp(a.dialog,c);c.type="text";c.label=B(b,5)||"";c.j=function(){var g=new fe; C(g,2,ge,!0);Cp(g)};a.v=kp(a.dialog,c);c.type="fill";c.label=B(b,6)||"";c.j=function(){Dp(a)};a.j=kp(a.dialog,c);lo(a.j);Ep(a.A,function(){a.o&&Bp()});a.dialog.open()}}function zp(a){a.dialog.reset();a.l.clear();a.o=null;a.v=null;a.j=null}function Bp(){var a=new fe;C(a,1,ge,!0);Cp(a)}function Dp(a){a.m.l.disabled=!0;lo(a.o);lo(a.v);lo(a.j);var b="#CasitaOptOut\n";a.l.forEach(function(c,d){Po(c);c.P()&&(b+=d+",")});a.m&&(b+="\n"+a.m.l.value);a=new fe;td(a,3,ge,qc(b));Cp(a)} function Ap(a){setTimeout(function(){lo(a.j);a.l.forEach(function(b){b.P()&&mo(a.j)});a.m.l.value&&mo(a.j)},0)};var dq={wd:"mdc-linear-progress--closed",Me:"mdc-linear-progress--closed-animation-off",zd:"mdc-linear-progress--indeterminate",Jk:"mdc-linear-progress--reversed",rd:"mdc-linear-progress--animation-ready"},Xq={Pa:"aria-hidden",Ie:"aria-valuemax",Je:"aria-valuemin",ud:"aria-valuenow",Vh:".mdc-linear-progress__buffer-bar",Te:"flex-basis",Qi:".mdc-linear-progress__primary-bar"};function Yq(a){N.call(this,Object.assign({},Yq.l,a));this.m=null}r(Yq,N);k=Yq.prototype;k.init=function(){var a=this;this.l=!this.j.hasClass(dq.zd);this.j.addClass(dq.rd);this.progress=0;this.o=1;this.m=this.j.Ff(function(b){if(!a.l){b=t(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c.contentRect&&Zq(a,c.contentRect.width)}});!this.l&&this.m&&Zq(this,this.j.Ra())}; k.Cb=function(a){(this.l=a)?(this.j.removeClass(dq.zd),this.j.setAttribute(Xq.ud,this.progress.toString()),this.j.setAttribute(Xq.Ie,"1"),this.j.setAttribute(Xq.Je,"0"),$q(this,this.progress),this.j.se(Xq.Te,this.o*100+"%")):(this.m&&Zq(this,this.j.Ra()),this.j.addClass(dq.zd),this.j.removeAttribute(Xq.ud),this.j.removeAttribute(Xq.Ie),this.j.removeAttribute(Xq.Je),$q(this,1),this.j.se(Xq.Te,"100%"))};k.ld=function(a){this.progress=a;this.l&&($q(this,a),this.j.setAttribute(Xq.ud,a.toString()))}; k.open=function(){this.j.removeClass(dq.wd);this.j.removeClass(dq.Me);this.j.removeAttribute(Xq.Pa)};k.close=function(){this.j.addClass(dq.wd);this.j.setAttribute(Xq.Pa,"true")};function $q(a,b){a.j.sh(typeof window!=="undefined"?xk():"transform","scaleX("+b+")")} function Zq(a,b){var c=b*.8367142,d=b*2.00611057,e=b*.37651913,f=b*.84386165;b*=1.60277782;a.j.wa("--mdc-linear-progress-primary-half",c+"px");a.j.wa("--mdc-linear-progress-primary-half-neg",-c+"px");a.j.wa("--mdc-linear-progress-primary-full",d+"px");a.j.wa("--mdc-linear-progress-primary-full-neg",-d+"px");a.j.wa("--mdc-linear-progress-secondary-quarter",e+"px");a.j.wa("--mdc-linear-progress-secondary-quarter-neg",-e+"px");a.j.wa("--mdc-linear-progress-secondary-half",f+"px");a.j.wa("--mdc-linear-progress-secondary-half-neg", -f+"px");a.j.wa("--mdc-linear-progress-secondary-full",b+"px");a.j.wa("--mdc-linear-progress-secondary-full-neg",-b+"px");a.j.removeClass(dq.rd);a.j.qc();a.j.addClass(dq.rd)} p.Object.defineProperties(Yq,{j:{configurable:!0,enumerable:!0,get:function(){return dq}},m:{configurable:!0,enumerable:!0,get:function(){return Xq}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},Ff:function(){return null},qc:function(){},Ra:function(){return 0},hasClass:function(){return!1},se:function(){return null},sh:function(){return null},wa:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}}}});function ar(){O.apply(this,arguments)}r(ar,O);ar.prototype.open=function(){this.j.open()};ar.prototype.close=function(){this.j.close()};ar.prototype.Ba=function(){var a=this;this.root.addEventListener("transitionend",function(){var b=a.j;b.j.hasClass(dq.wd)&&b.j.addClass(dq.Me)})}; ar.prototype.Y=function(){var a=this;return new Yq({addClass:function(b){a.root.classList.add(b)},qc:function(){a.root.getBoundingClientRect()},se:function(b,c){var d=a.root.querySelector(Yq.m.Vh);d&&d.style.setProperty(b,c)},sh:function(b,c){var d=a.root.querySelector(Yq.m.Qi);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){th(a.root, b,c)},wa:function(b,c){a.root.style.setProperty(b,c)},Ff:function(b){var c=window.ResizeObserver;return c?(b=new c(b),b.observe(a.root),b):null},Ra:function(){return a.root.offsetWidth}})};p.Object.defineProperties(ar.prototype,{l:{configurable:!0,enumerable:!0,set:function(a){this.j.Cb(a)}},progress:{configurable:!0,enumerable:!0,set:function(a){this.j.ld(a)}}});function br(a,b){function c(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)}b=b===void 0?!0:b;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);c("primary");c("secondary");this.j=new ar(d);this.root.appendChild(d);this.j.l=b} br.prototype.ld=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)};br.prototype.Cb=function(a){this.j.l=a};br.prototype.wa=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")}};var cr={Gd:".mdc-radio__native-control"},dr={Qa:"mdc-radio--disabled",da:"mdc-radio"};function er(a){N.call(this,Object.assign({},er.l,a))}r(er,N);p.Object.defineProperties(er,{j:{configurable:!0,enumerable:!0,get:function(){return dr}},m:{configurable:!0,enumerable:!0,get:function(){return cr}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},Ec:function(){}}}}});function fr(){O.apply(this,arguments);this.m=gr(this)}r(fr,O);fr.prototype.Y=function(){var a=this;return new er({addClass:function(b){a.root.classList.add(b)},removeClass:function(b){a.root.classList.remove(b)},Ec:function(b){return a.l.disabled=b}})};function gr(a){var b=Object.assign({},hi(a),{ca:function(c,d){a.l.addEventListener(c,d,Eh())},ya:function(c,d){a.l.removeEventListener(c,d,Eh())},Yb:function(){return!1},qa:function(){return!0}});return new fi(a.root,new Qh(b))} p.Object.defineProperties(fr.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this.l.checked},set:function(a){this.l.checked=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.l.disabled},set:function(a){var b=this.j,c=er.j.Qa;b.j.Ec(a);a?b.j.addClass(c):b.j.removeClass(c)}},value:{configurable:!0,enumerable:!0,get:function(){return this.l.value},set:function(a){this.l.value=a}},sa:{configurable:!0,enumerable:!0,get:function(){return this.m}},l:{configurable:!0, enumerable:!0,get:function(){var a=er.m.Gd,b=this.root.querySelector(a);if(!b)throw Error("Radio component requires a "+a+" element");return b}}});var hr=1,ir=1;function jr(a){this.root=a;this.j=[];this.m="dfs-radio-group-"+hr++;this.l=null}function kr(a,b){b=new lr(a,b);a.j.push(b);return b}jr.prototype.hide=function(){this.root.classList.contains("hidden")||this.root.classList.toggle("hidden")};jr.prototype.show=function(){this.root.classList.contains("hidden")&&this.root.classList.toggle("hidden")};jr.prototype.clear=function(){for(;this.root.lastChild;)this.root.removeChild(this.root.lastChild);this.j=[]}; function mr(a){a=t(a.j);for(var b=a.next();!b.done;b=a.next())nr(b.value)}function or(a,b){a.l=b}jr.prototype.layout=function(){for(var a=t(this.j.values()),b=a.next();!b.done;b=a.next())b.value.layout()}; function lr(a,b){var c=this;this.C=a;this.l=b;this.D=ir++;a="dfs-radio-input-"+this.D;b="dfs-radio-label-"+this.D;var d=document.createElement("div");d.classList.add("mdc-form-field","GmFormField","GmRadioFormField","dfs-form-field");this.C.root.appendChild(d);var e=document.createElement("div");e.classList.add("mdc-radio","mdc-radio--touch","GmRadio","dfs-radio");this.l.S&&e.classList.add.apply(e.classList,oa(this.l.S));d.appendChild(e);this.v=document.createElement("input");this.v.id=a;this.v.classList.add("mdc-radio__native-control", "dfs-radio-input");this.v.type="radio";this.v.name=this.C.m;this.v.setAttribute("aria-labelledby",b);this.v.value=this.l.data;e.appendChild(this.v);this.v.addEventListener("change",function(){if(c.j.checked){for(var h=c.C,l=c.l.data,m=t(h.j),n=m.next();!n.done;n=m.next())n=n.value,n.m!=null&&(n.l.data==l?n.m&&n.m.slideDown():n.m&&n.m.slideUp());h.l&&h.l(l)}});var f=document.createElement("div");f.classList.add("mdc-radio__background");e.appendChild(f);var g=document.createElement("div");g.classList.add("mdc-radio__outer-circle"); f.appendChild(g);g=document.createElement("div");g.classList.add("mdc-radio__inner-circle");f.appendChild(g);f=document.createElement("div");f.classList.add("mdc-radio__ripple");e.appendChild(f);f=document.createElement("div");f.classList.add("mdc-radio__focus-ring");e.appendChild(f);f=document.createElement("span");f.classList.add("dfs-focus-ring");e.appendChild(f);f=d;this.l.button&&(f=document.createElement("div"),f.classList.add("radio-button-content-container"),d.appendChild(f));this.A=document.createElement("div"); this.A.classList.add("label-container");f.appendChild(this.A);this.B=document.createElement("label");this.B.id=b;this.B.classList.add("mdc-label","radio-text","dfs-radio-label");this.B.setAttribute("for",a);this.B.textContent=this.l.label;this.A.appendChild(this.B);this.o=null;this.l.j&&(this.o=document.createElement("div"),this.o.classList.add("gmTypographyCaption","radio-text","dfs-radio-subtitle"),this.l.l&&this.o.classList.add.apply(this.o.classList,oa(this.l.l)),Mj(this.o,this.l.j),this.A.append(this.o)); this.m=null;this.j=new fr(e);this.G=new Go(d);this.G.input=this.j;this.l.checked&&(this.j.checked=!0);this.l.button&&f.appendChild(this.l.button)}function pr(a,b){a.m!==null&&a.m.remove();a.m=b;a.m&&($(a.A).append(a.m),qr(a))}function rr(a,b){b&&(a.B.textContent=b)}k=lr.prototype;k.md=function(a){a&&this.o&&Mj(this.o,a)};function sr(a,b){b&&a.o&&(hj(a.o),a.o.appendChild(b))}k.select=function(){this.j.checked=!0};function nr(a){a.j.disabled=!0;a.A.classList.add("label-container--disabled")} function tr(a){a.j.disabled=!1;a.A.classList.remove("label-container--disabled")}k.focus=function(){this.v.focus()};k.click=function(){this.v.click()};function qr(a){a.m&&(a.j.checked?a.m.show():a.m.hide())}k.layout=function(){this.j.sa.layout()};function ur(){this.label="";this.j=null;this.checked=!1;this.data="";this.l=this.button=this.S=null};var vr={De:"mdc-select--activated",Qa:"mdc-select--disabled",ub:"mdc-select--focused",wb:"mdc-select--invalid",df:"mdc-select__menu--invalid",Hd:"mdc-select--outlined",Ob:"mdc-select--required",da:"mdc-select",tj:"mdc-select--with-leading-icon"},wr={sd:"aria-controls",rb:"aria-describedby",tk:"aria-selected",Yh:"MDCSelect:change",ui:'input[type="hidden"]',cb:".mdc-floating-label",Cd:".mdc-select__icon",Dd:".mdc-line-ripple",Gi:".mdc-select__menu",Jd:".mdc-notched-outline",lf:".mdc-select__selected-text", mf:".mdc-select__anchor",sf:"data-value"},xr={Ad:.75,N:-1,ai:330};function yr(a,b){b=b===void 0?{}:b;N.call(this,Object.assign({},yr.l,a));var c=this;this.l=this.disabled=!1;this.v=xr.N;this.A=0;this.o=!1;this.ia=b.ia;this.V=b.V;var d,e;this.m=((d=this.j.fe(wr.rb))==null?void 0:(e=d.split(" "))==null?void 0:e.filter(function(f){var g;return f!==((g=c.V)==null?void 0:g.Va())&&f!==""}))||[]}r(yr,N);k=yr.prototype;k.Ja=function(){return this.j.Ja()}; k.ka=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;a>=this.j.Ub()||(this.j.ka(a),a===xr.N?this.j.ue(""):this.j.ue(this.j.gg(a).trim()),b&&this.j.Rb(),c||this.v===a||(this.layout(),this.j.Mg(zr(this)),this.j.hasClass(vr.Ob)&&Ar(this,this.pa())),this.v=a)};function Br(a,b,c){a.ka(a.j.tc().indexOf(b),!1,c===void 0?!1:c)}function zr(a){var b=a.j.Ja();a=a.j.tc();return b!==xr.N?a[b]:""} function Cr(a,b){a.disabled=b;a.disabled?(a.j.addClass(vr.Qa),a.j.Rb()):a.j.removeClass(vr.Qa);a.ia&&(b=a.ia,b.l&&(a.disabled?(b.j.ja("tabindex","-1"),b.j.removeAttr("role")):(b.j.ja("tabindex",b.l),b.j.ja("role",Dr.yd))));a.disabled?a.j.qe("tabindex"):a.j.ab("tabindex","0");a.j.ab("aria-disabled",a.disabled.toString())}k.cc=function(){this.j.addClass(vr.De);this.j.cc();this.l=!0;this.j.ab("aria-expanded","true")}; k.layout=function(){if(this.j.va()){var a=this.j.hasClass(vr.ub);a=zr(this).length>0||a;var b=this.j.hasClass(vr.Ob);this.Da(a);this.j.ib(a);this.j.Db(b)}};function Er(a){a.ka(a.j.tc().indexOf(zr(a)),!1,!0)}k.Da=function(a){if(this.j.Vb()){var b=this.j.hasClass(vr.ub);a?(a=xr.Ad,a*=this.j.sc(),this.j.Da(a)):b||this.j.mc()}};function Ar(a,b){a.j.ab("aria-invalid",(!b).toString());b?(a.j.removeClass(vr.wb),a.j.fh(vr.df)):(a.j.addClass(vr.wb),a.j.Df(vr.df));Fr(a,b)} k.pa=function(){return this.j.hasClass(vr.Ob)&&!this.j.hasClass(vr.Qa)?this.Ja()!==xr.N&&(this.Ja()!==0||!!zr(this)):!0};k.init=function(){var a=this.j.Zf();a&&(this.j.oh(a),this.j.nh(9));this.j.ph(!1);Cr(this,this.j.hasClass(vr.Qa));Fr(this,!this.j.hasClass(vr.wb));this.layout();Er(this)};function Gr(a){a.j.removeClass(vr.ub);a.layout();a.j.Of();a.j.hasClass(vr.Ob)&&Ar(a,a.pa())} function Fr(a,b){if(a.V){var c=a.V;if(c.j.hasClass(Hr.fc)){var d=c.j.hasClass(Hr.ti);!b||d?(c.j.removeAttr(Ir.Pa),b?c.j.removeAttr(Ir.Xa):c.j.ja(Ir.Xa,"alert")):(c.j.removeAttr(Ir.Xa),c.hide())}b=a.V.isVisible();c=a.V.Va();b&&c?a.j.ab(wr.rb,[].concat(oa(a.m),[c]).join(" ")):a.m.length>0?a.j.ab(wr.rb,a.m.join(" ")):a.j.qe(wr.rb)}}function Jr(a){clearTimeout(a.A);a.A=setTimeout(function(){a.o=!1},xr.ai);a.o=!0} p.Object.defineProperties(yr,{j:{configurable:!0,enumerable:!0,get:function(){return vr}},o:{configurable:!0,enumerable:!0,get:function(){return xr}},m:{configurable:!0,enumerable:!0,get:function(){return wr}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},wf:function(){},Of:function(){},Ja:function(){return-1},ka:function(){},va:function(){return!1},ib:function(){},sc:function(){return 0},Db:function(){},Vb:function(){return!1}, Da:function(){},mc:function(){},Eb:function(){},Mg:function(){},ue:function(){},Eg:function(){return!1},fe:function(){return""},ab:function(){},qe:function(){},Df:function(){},fh:function(){},cc:function(){},Rb:function(){},Zf:function(){return null},oh:function(){},nh:function(){},ph:function(){},Xf:function(){},Ub:function(){return 0},tc:function(){return[]},gg:function(){return""},Zb:function(){return!1},qb:function(){return-1}}}}});var Ir={Pa:"aria-hidden",Xa:"role"},Hr={fc:"mdc-select-helper-text--validation-msg",ti:"mdc-select-helper-text--validation-msg-persistent"};function Kr(a){N.call(this,Object.assign({},Kr.l,a))}r(Kr,N);Kr.prototype.Va=function(){return this.j.za("id")};Kr.prototype.isVisible=function(){return this.j.za(Ir.Pa)!=="true"};Kr.prototype.fa=function(a){this.j.fa(a)};Kr.prototype.hide=function(){this.j.ja(Ir.Pa,"true")}; p.Object.defineProperties(Kr,{j:{configurable:!0,enumerable:!0,get:function(){return Hr}},m:{configurable:!0,enumerable:!0,get:function(){return Ir}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},ja:function(){},za:function(){return null},removeAttr:function(){},fa:function(){}}}}});function Lr(){O.apply(this,arguments)}r(Lr,O);Lr.prototype.Y=function(){var a=this;return new Kr({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)},za:function(b){return a.root.getAttribute(b)},ja:function(b,c){th(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},fa:function(b){a.root.textContent=b}})};p.Object.defineProperties(Lr.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var Dr={xd:"MDCSelect:icon",yd:"button"};var Mr=["click","keydown"];function Nr(a){N.call(this,Object.assign({},Nr.l,a));var b=this;this.l=null;this.m=function(c){var d=c.key==="Enter"||c.keyCode===13;(c.type==="click"||d)&&b.j.Ac()}}r(Nr,N);Nr.prototype.init=function(){this.l=this.j.za("tabindex");for(var a=t(Mr),b=a.next();!b.done;b=a.next())this.j.ca(b.value,this.m)};Nr.prototype.fa=function(a){this.j.fa(a)}; p.Object.defineProperties(Nr,{m:{configurable:!0,enumerable:!0,get:function(){return Dr}},l:{configurable:!0,enumerable:!0,get:function(){return{za:function(){return null},ja:function(){},removeAttr:function(){},fa:function(){},ca:function(){},ya:function(){},Ac:function(){}}}}});function Or(){O.apply(this,arguments)}r(Or,O);Or.prototype.Y=function(){var a=this;return new Nr({za:function(b){return a.root.getAttribute(b)},ja:function(b,c){th(a.root,b,c)},removeAttr:function(b){a.root.removeAttribute(b)},fa:function(b){a.root.textContent=b},ca:function(b,c){qh(a,b,c)},ya:function(b,c){rh(a,b,c)},Ac:function(){sh(a,Nr.m.xd,{},!0)}})};p.Object.defineProperties(Or.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return this.j}}});function Pr(){O.apply(this,arguments)}r(Pr,O);k=Pr.prototype; k.bb=function(a,b,c,d,e,f){a=a===void 0?function(h){return new mi(h)}:a;b=b===void 0?function(h){return new Dh(h)}:b;c=c===void 0?function(h){return new si(h)}:c;d=d===void 0?function(h){return new zn(h)}:d;e=e===void 0?function(h){return new Or(h)}:e;f=f===void 0?function(h){return new Lr(h)}:f;this.l=this.root.querySelector(wr.mf);this.C=this.root.querySelector(wr.lf);this.m=this.root.querySelector(wr.ui);if(!this.C)throw Error("MDCSelect: Missing required element: The following selector must be present: '"+(wr.lf+ "'"));if(this.l.hasAttribute(wr.sd)){var g=document.getElementById(this.l.getAttribute(wr.sd));g&&(this.V=f(g))}Qr(this,d);this.label=(d=this.root.querySelector(wr.cb))?a(d):null;this.o=(a=this.root.querySelector(wr.Dd))?b(a):null;this.v=(b=this.root.querySelector(wr.Jd))?c(b):null;if(c=this.root.querySelector(wr.Cd))this.ia=e(c);this.root.classList.contains(vr.Hd)||(this.sa=Rr(this))}; k.Ba=function(){var a=this;this.I=function(){var b=a.j;b.j.addClass(vr.ub);b.layout();b.j.wf()};this.G=function(){var b=a.j;b.l||Gr(b)};this.H=function(b){a.l.focus();var c=a.j,d=b.target.getBoundingClientRect();b=(b.touches?b.touches[0].clientX:b.clientX)-d.left;c.disabled||c.o||(Jr(c),c.l?c.j.Rb():(c.j.Eb(b),c.cc()))};this.J=function(b){var c=a.j;if(!c.l&&c.j.hasClass(vr.ub)){var d=Ck(b)==="Enter",e=Ck(b)==="Spacebar",f=Ck(b)==="ArrowUp",g=Ck(b)==="ArrowDown";if(!b.ctrlKey&&!b.metaKey&&(!e&&b.key&& b.key.length===1||e&&c.j.Zb()))d=c.j.qb(e?" ":b.key,c.Ja()),d>=0&&c.ka(d),b.preventDefault();else if(d||e||f||g)c.cc(),b.preventDefault()}};this.R=function(b){a.j.ka(b.detail.index,!0)};this.T=function(){var b=a.j;if(b.j.tc().length!==0){var c=b.Ja();b.j.Xf(c>=0?c:0)}};this.L=function(){var b=a.j;b.j.removeClass(vr.De);b.l=!1;b.j.Eg()||Gr(b)};this.M=function(){a.j.j.ab("aria-expanded","false")};this.l.addEventListener("focus",this.I);this.l.addEventListener("blur",this.G);this.l.addEventListener("click", this.H);this.l.addEventListener("keydown",this.J);qh(this.menu,tn.sb,this.L);qh(this.menu,tn.tb,this.M);qh(this.menu,tn.eb,this.T);qh(this.menu,pn.kf,this.R);this.m&&(this.m.value?(Br(this.j,this.m.value,!0),this.j.layout()):this.m.value=this.value)};k.ka=function(a,b){this.j.ka(a,!0,b===void 0?!1:b)};k.layout=function(){this.j.layout()};function Sr(a){Er(a.j);a.menu.layout();a.D=a.menu.l.map(function(b){return b.getAttribute(wr.sf)||""});a.m&&(a.m.value=a.value)} k.Y=function(){var a=Object.assign({},Tr(this),Ur(this),Vr(this),Wr(this));return new yr(a,{V:this.V?this.V.l:void 0,ia:this.ia?this.ia.l:void 0})};function Qr(a,b){a.B=a.root.querySelector(wr.Gi);a.menu=b(a.B);a.menu.C=!0;a.menu.D=!0;a.D=a.menu.l.map(function(c){return c.getAttribute(wr.sf)||""})}function Rr(a){var b=Object.assign({},hi({root:a.l}),{ca:function(c,d){a.l.addEventListener(c,d)},ya:function(c,d){a.l.removeEventListener(c,d)}});return new fi(a.l,new Qh(b))} function Tr(a){return{Wk:function(b,c){return b.getAttribute(c)},ue:function(b){a.C.textContent=b;b=a.menu.o;b!==-1&&(b=b instanceof Array?b[0]:b,(b=a.menu.l[b])&&a.C.setAttribute("aria-label",b.getAttribute("aria-label")||""))},Eg:function(){return document.activeElement===a.l},fe:function(b){return a.l.getAttribute(b)},ab:function(b,c){th(a.l,b,c)},qe:function(b){a.l.removeAttribute(b)},Df:function(b){a.B.classList.add(b)},fh:function(b){a.B.classList.remove(b)},cc:function(){a.menu.open=!0},Rb:function(){a.menu.open= !1},Zf:function(){return a.root.querySelector(wr.mf)},oh:function(b){a.menu.m.l=b},nh:function(b){a.menu.m.j.o=b},ph:function(b){a.menu.H=b},Ja:function(){var b=a.menu.o;return b instanceof Array?b[0]:b},ka:function(b){a.menu.o=b},Xf:function(b){var c;(c=a.menu.l[b])==null||c.focus()},Ub:function(){return a.menu.l.length},tc:function(){return a.D},gg:function(b){return a.menu.uc(b)},Zb:function(){return a.menu.G},qb:function(b,c){return a.menu.qb(b,c)}}} function Ur(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)},Eb:function(b){a.o&&a.o.Eb(b)},wf:function(){a.o&&Ch(a.o.j)},Of:function(){a.o&&a.o.j.j.addClass(Ah.hc)},Mg:function(b){a.m&&(a.m.value=b);sh(a,wr.Yh,{value:b,index:a.A},!0)}}} function Vr(a){return{Vb:function(){return!!a.v},Da:function(b){a.v&&ri(a.v.j,b)},mc:function(){if(a.v){var b=a.v.j;b.j.removeClass(qi.j.Id);b.j.pe()}}}}function Wr(a){return{va:function(){return!!a.label},ib:function(b){a.label&&ki(a.label.j,b)},sc:function(){return a.label?a.label.Ra():0},Db:function(b){a.label&&li(a.label.j,b)}}} p.Object.defineProperties(Pr.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return zr(this.j)},set:function(a){Br(this.j,a)}},A:{configurable:!0,enumerable:!0,get:function(){return this.j.Ja()},set:function(a){this.j.ka(a,!0)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.j.disabled},set:function(a){Cr(this.j,a);this.m&&(this.m.disabled=a)}},valid:{configurable:!0,enumerable:!0,set:function(a){Ar(this.j,a)},get:function(){return this.j.pa()}},required:{configurable:!0, enumerable:!0,set:function(a){var b=this.j;a?b.j.addClass(vr.Ob):b.j.removeClass(vr.Ob);b.j.ab("aria-required",a.toString());b.j.Db(a)},get:function(){return this.j.j.fe("aria-required")==="true"}}});function Xr(a,b){this.root=a;this.id=b;this.m=null;a=document.createElement("div");a.setAttribute("id",this.id);a.classList.add("mdc-select");a.classList.add("mdc-select--filled");a.classList.add("drive-letter-menu-width");b=document.createElement("div");b.classList.add("mdc-select__anchor");b.classList.add("drive-letter-menu-width");b.setAttribute("role","button");b.setAttribute("aria-haspopup","listbox");b.setAttribute("aria-labelledby",this.id+"-label");var c=document.createElement("span");c.classList.add("mdc-select__ripple"); b.appendChild(c);c=document.createElement("span");c.classList.add("mdc-select__selected-text-container");this.A=document.createElement("span");this.A.setAttribute("id",this.id+"-value");this.A.classList.add("mdc-select__selected-text");c.appendChild(this.A);b.appendChild(c);c=document.createElement("span");c.classList.add("mdc-select__dropdown-icon");var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttribute("width","10px");d.setAttribute("height","5px");d.setAttribute("viewBox", "7 10 10 5");d.setAttribute("focusable","false");var e=document.createElementNS("http://www.w3.org/2000/svg","polygon");e.classList.add("mdc-select__dropdown-icon-inactive");e.setAttribute("stroke","10nonepx");e.setAttribute("fill-rule","evenodd");e.setAttribute("points","7 10 12 15 17 10");d.appendChild(e);e=document.createElementNS("http://www.w3.org/2000/svg","polygon");e.classList.add("mdc-select__dropdown-icon-active");e.setAttribute("stroke","10nonepx");e.setAttribute("fill-rule","evenodd"); e.setAttribute("points","7 15 12 10 17 15");d.appendChild(e);c.appendChild(d);b.appendChild(c);this.m=document.createElement("span");this.m.setAttribute("id",this.id+"-label");this.m.classList.add("mdc-floating-label");this.m.classList.add("mdc-floating-label--float-above");b.appendChild(this.m);c=document.createElement("span");c.classList.add("mdc-line-ripple");b.appendChild(c);a.appendChild(b);b=document.createElement("div");b.setAttribute("id",this.id+"-menu");b.classList.add("dfs-select-menu"); b.classList.add("GmMenu");b.classList.add("GmMenuSurface");b.classList.add("mdc-menu");b.classList.add("mdc-select__menu");b.classList.add("mdc-menu-surface");b.classList.add("drive-letter-menu-width");b.setAttribute("role","listbox");this.l=document.createElement("ul");this.l.setAttribute("id",this.id+"-list");this.l.classList.add("GmDeprecatedList");this.l.classList.add("mdc-deprecated-list");c=document.createElement("div");c.classList.add("mdc-elevation-overlay");this.l.appendChild(c);b.appendChild(this.l); a.appendChild(b);this.o=document.createElement("li");this.o.setAttribute("tabindex","0");this.o.classList.add("mdc-deprecated-list-item");this.o.classList.add("thin-list-item");this.o.setAttribute("role","option");b=document.createElement("span");b.classList.add("mdc-deprecated-list-item__ripple");this.o.appendChild(b);b=document.createElement("span");b.classList.add("mdc-deprecated-list-item__text");this.o.appendChild(b);this.root.appendChild(a);this.v=null;this.j=new Pr(a);qh(this.j,"MDCSelect:change", this,!1)}Xr.prototype.handleEvent=function(){this.v&&this.v(this.j.value.trim())};function Yr(a,b){a.v=b}function Zr(a,b){b&&a.m&&(a.m.innerText=b)}Xr.prototype.select=function(a,b){if(a){for(var c=-1,d=this.l.querySelectorAll(".mdc-deprecated-list-item"),e=0;e<d.length;e++)if(d[e].textContent==a){c=e;break}c>=0&&c!=this.j.A?this.j.ka(c,b===void 0?!1:b):c!=this.j.A&&console.log("No such value in select: "+JSON.stringify(a))}}; Xr.prototype.clear=function(){hj(this.l);var a=document.createElement("div");a.classList.add("mdc-elevation-overlay");this.l.appendChild(a)};Xr.prototype.layout=function(){this.j.layout()};function $r(a,b,c,d,e){var f=this;this.root=a;this.o=b;this.j=ad(d);this.m=e;this.l=null;this.I=!1;this.A=this.G=this.D=this.v=this.H=null;Fd(this.m,33)?(this.l=new Xr(this.root.find("#drive-letter-picker")[0],"drive-letter-picker-select-"+Sd(c)),Zr(this.l,B(this.m,8)),Yr(this.l,function(){Kd(f.j,1,f.l.j.value.trim());as(f,f.j);bs(f.o.m)}),this.v=new jr(this.root.find("#mount-point-option-radio-group-container")[0]),or(this.v,function(g){if(g=="drive")Jd(f.j,7,!0),f.I&&Kd(f.j,1,f.l.j.value.trim()); else if(g=="folder"){Jd(f.j,7,!1);g=f.j;var h=f.root.find("#mount-point-path").text();Kd(g,1,h)}bs(f.o.m)}),a=new ur,a.label=B(this.m,81)||"",a.data="drive",a.j=B(this.m,82),this.D=kr(this.v,a),pr(this.D,this.root.find("#drive-letter-picker")),a=new ur,a.label=B(this.m,83)||"",a.data="folder",a.j=B(this.m,84),this.G=kr(this.v,a),pr(this.G,this.root.find("#mount-point-picker")),this.layout()):this.root.find("#drive-letter-picker").remove();Fd(this.m,78)&&(this.A=new Io(cs(this.o,this.root.find("#show-mount-point-in-sidebar"))[0], B(this.m,79)),Jo(this.A,function(g){var h=z(f.j,je,6);Jd(h,1,g);bs(f.o.m)}));this.B=ds(this);this.C=es(this);io(this.B,B(this.m,30)||"");io(this.C,B(this.m,26)||"");fs(this,d)} function fs(a,b){a.j=ad(b);if(b=A(a.j,3))a.l&&(a.l.j.disabled=!0),a.v&&mr(a.v);a.H=a.root.find("#mount-point-picker-title");a.H.text(B(a.m,9)||"");b?(a.B.hide(),a.C.hide()):a.root.find("#mount-point-overridden-by-administrator").remove();Fd(a.m,35)&&(lo(a.B),lo(a.C));if(F(a.j,4)){b=B(a.j,4);var c=a.root.find("#mount-point-moved-notification");Nj(c.find(".notification-description"),b);c.find("#mount-point-moved-learn-more").attr("href","javascript:void(0);").on("click",function(){var d=new $e;C(d, 9,af,!0);var e=gs(a.o);Bf(L(e),d);Q(e)});c.find("#file-provider-mount-point-controlled-learn-more").attr("href","javascript:void(0);").on("click",function(){var d=new $e;C(d,17,af,!0);var e=gs(a.o);Bf(L(e),d);Q(e)})}else a.root.find("#mount-point-moved-notification").remove();as(a,a.j);a.A?(ke(z(a.j,je,6))?No(a.A):Oo(a.A),le(z(a.j,je,6))?Po(a.A):a.root.find("#show-mount-point-in-sidebar-overridden-by-administrator").remove()):a.root.find("#show-mount-point-in-sidebar-overridden-by-administrator").remove()} function as(a,b){if(b){if(a.l){var c=F(b,9)?B(b,9):B(b,2);!F(b,1)||D(b,7)&&!A(b,7)||(c=B(b,1));c!=void 0&&(a.l.select(c,!0),a.l.layout())}if(a.H){var d=c=b.m?rc(x(b,10)):rc(x(b,2));!F(b,1)||D(b,7)&&A(b,7)||(d=B(b,1));d!=c?a.B.show():a.B.hide();a.root.find("#mount-point-path").text(d||"")}if(a.v){b=(F(b,1)?A(b,7):A(b,8))?a.D:a.G;c=b.j.disabled==1;try{tr(b),b.select(),qr(a.D),qr(a.G)}finally{c&&nr(b)}}}} function hs(a,b){if(a.l&&kd(b,1,rc,jd())){a.l.clear();b=new Set(kd(b,1,rc,jd()));b=[].concat(oa(b)).sort();b=t(b);for(var c=b.next();!c.done;c=b.next()){var d=a.l;if(c=c.value){var e=d.o.cloneNode(!0);e.children[1].innerText=c;e.setAttribute("data-value",c);d.l.appendChild(e)}}Sr(a.l.j);as(a,a.j);a.I=!0}}$r.prototype.layout=function(){this.v&&this.v.layout();this.A&&this.A.layout();this.root.outerHeight()}; function ds(a){var b=new Z;b.type="text";b.j=function(){gd(a.j,1);if(A(a.j,8)){var c=a.j,d=rc(x(a.j,10));Kd(c,1,d);Jd(a.j,7,!1)}as(a,a.j);bs(a.o.m);c=a.o.m;is(c);js(c)};return new go(a.root.find("#reset-mount-point-button")[0],b)}function es(a){var b=new Z;b.type="text";b.j=function(){var c=new $e;C(c,3,af,!0);var d=gs(a.o);Bf(L(d),c);Q(d)};return new go(a.root.find("#change-mount-point-button")[0],b)};function ks(a,b){var c=this;this.H=a;this.root=b;this.l=new jr(this.root.find("#sign-out-confirmation-radio-group")[0]);or(this.l,function(d){ls(c,d)});this.A=this.root.find("#signout-confirmation-action-button");this.A.on("click",function(){if(c.B){ms(c);var d=new wf;C(d,5,xf,!0);var e=M();K(e,c.j.K());Cf(L(e),d);Q(e)}else c.m==0&&(c.m=3),d=new wf,Od(d,2,xf,c.m),e=M(),K(e,c.j.K()),Cf(L(e),d),Q(e)});this.I=this.root.find("#signout-confirmation-secondary-button");this.I.on("click",function(){if(c.B){c.m= 3;var d=new wf;Od(d,2,xf,c.m);var e=M();K(e,c.j.K());Cf(L(e),d);Q(e)}else ns(c)});this.o=new br(this.root.find("#signout-progress-bar")[0]);a=new lp;a.m=!0;b=this.root.find("#sign-out-confirmation-dialog-root")[0];this.v=new hp(b,a);b.addEventListener("MDCDialog:opened",function(){c.l.layout()});this.m=0;this.j=null;this.B=!1;this.C=this.G=this.D=null} function ls(a,b){b=+b;var c=!1,d="",e="",f=B(a.j,16)||"",g=!1;switch(b){case 3:c=!0;d=B(a.j,8)||"";e=B(a.j,3)||"";g=!1;break;case 2:c=!1;d="";e=B(a.j,3)||"";g=!0;break;case 1:c=!1;d="";e=B(a.j,3)||"";g=!1;break;default:cj(3,"Error: no feature mode found for mode: "+b)}var h=a.root.find("#signout-warning-icon");c?(h.attr("aria-label",B(a.j,13)||""),R(h)):S(h);R($("#pending-uploads-image-container"));a.root.find("#signout-warning-message").text(d);a.root.find("#signout-confirmation-information").text(f); a.m=b;os(a,e);g?a.D.show():a.D.hide()}function ps(a){a.B=!1;R($("#pending-uploads-image-container"));a.root.find("#signout-confirmation-title").text(B(a.j,1)||"");Nj(a.root.find("#signout-confirmation-message"),B(a.j,2));Nj(a.root.find("#signout-confirmation-information"),B(a.j,16)||"");os(a,B(a.j,3));qs(a,B(a.j,4));a.l.hide();a.l.clear();$("#signout-progress-bar").addClass("hidden");a.A.prop("disabled",!1);a.o.Cb(!0)} function rs(a){ps(a);if(sd(a.j,11,tc).size>0){var b=!0;sd(a.j,11,tc).forEach(function(c,d){var e=new ur;e.label=c;e.data=d.toString();d==2&&F(a.j,14)?(c=document.createElement("div"),c.setAttribute("id","change-pending-upload-destination-button"),c.classList.add("radio-button-content"),e.button=c,e.j=B(a.j,15)||"",e.l=["customized-path-subtitle"],d=new Z,d.type="text",d.label=B(a.j,14)||"",d.j=function(){ls(a,2);var f=new wf;C(f,6,xf,!0);var g=M();K(g,a.j.K());Cf(L(g),f);Q(g)},a.D=new go(c,d),a.D.hide(), a.G=kr(a.l,e),ss(a),b&&(b=!1,a.G.click())):(e=kr(a.l,e),b&&(b=!1,e.click()))});a.l.show()}ts(a)} function us(a){os(a,B(a.j,3));qs(a,B(a.j,4));a.root.find("#title-warning-icon").attr("aria-label",B(a.j,13)||"");R(a.root.find("#title-warning-icon"));S($("#pending-uploads-image-container"));a.root.find("#signout-confirmation-title").text(B(a.j,1)||"");Nj(a.root.find("#signout-confirmation-message"),B(a.j,2));Nj(a.root.find("#signout-confirmation-information"),B(a.j,16)||"");a.l.hide();a.A.prop("disabled",!1);a.root.find("#open-folder-link").attr("href","javascript: void(0)").on("click",function(){var b= new wf;C(b,4,xf,!0);var c=M();K(c,a.j.K());Cf(L(c),b);Q(c)})}function os(a,b){b||(b="");a.root.find("#signout-confirmation-action-button-label").text(b)}function qs(a,b){b||(b="");a.root.find("#signout-confirmation-secondary-button-label").text(b)}function ns(a){var b=new wf;C(b,3,xf,!0);var c=M();K(c,a.j.K());Cf(L(c),b);Q(c);ms(a);b=new wf;C(b,5,xf,!0);c=M();K(c,a.j.K());Cf(L(c),b);Q(c)}function ts(a){a.v.dialog.l||(a.v.open(),Ep(a.H,function(){ns(a)}))} function ms(a){a.v.dialog.l&&(vs(a.H.L),a.v.close(),a.B=!1,$("#signout-progress-bar").addClass("hidden"),a.o.Cb(!0),a.o.ld(0),a.root.find("#signout-confirmation-action-button").prop("disabled",!1),S($("#pending-uploads-image-container")),Nj(a.root.find("#signout-confirmation-message"),""),Nj(a.root.find("#signout-confirmation-information"),""),S(a.root.find("#title-warning-icon")),a.m=0,a.root.find("#signout-warning-message").text(""),S(a.root.find("#signout-warning-icon")))} function ss(a){var b=a.root.find(".customized-path-subtitle");a.C&&(b.removeAttr("aria-describedby"),a.C.remove(),a.C=null);var c=parseInt(b.prop("scrollWidth"),10),d=parseInt(b.width(),10);c<=d||(b.attr("aria-describedby","customized-path-subtitle-tooltip-id"),a.C=new al("customized-path-subtitle-tooltip-id",B(a.j,15)||""))};function ws(a,b,c,d,e,f){var g=this;this.root=a;this.m=b;this.I=c;this.j=ad(d);this.l=e;this.M=f;this.Tc=Fd(d,11);this.Tc||(a=z(d,qe,1),this.D=new $r(this.root.find("#mount-point-settings"),this,this.I,a,this.l));this.root.find(".drive-account-settings-header .account-settings-header-label").text(B(this.l,60)||"");re(z(this.j,qe,1))&&S(this.root.find("#mount-point-settings"));me(z(this.j,je,2))?S(this.root.find("#drive-dot-settings")):(this.root.find("#drive-dot-settings-title").text(B(this.l,10)|| ""),this.v=new Io(cs(this,this.root.find("#enable-drive-dot-checkbox"))[0],B(this.l,11)||""),Jo(this.v,function(){bs(g.m)}));me(z(this.j,je,7))?S(this.root.find("#smb-spotlight-settings")):(this.root.find("#smb-spotlight-settings-title").text(B(this.l,86)||""),this.root.find("#smb-spotlight-settings-info").text(B(this.l,66)||""),this.A=new Io(cs(this,this.root.find("#enable-smb-spotlight-checkbox"))[0],B(this.l,67)||""),Jo(this.A,function(){bs(g.m)}));re(z(this.j,qe,1))&&me(z(this.j,je,2))&&me(z(this.j, je,7))&&S(this.root.find(".drive-account-settings-header"));this.M?(R(this.root.find("#photos-settings")),R(this.root.find(".photos-account-settings-header")),this.root.find(".photos-account-settings-header .account-settings-header-label").text(B(this.l,61)||""),R(this.root.find("#photos-upload-size-settings")),this.root.find("#photos-upload-size-settings-title").text(B(this.l,41)||""),this.L=new jr(this.root.find("#photos-upload-size-settings-radio-group")[0]),or(this.L,function(){bs(g.m)}),a=new ur, a.label=B(this.l,45)||"",a.j=B(this.l,46)||"",this.R=kr(this.L,a),a=new ur,a.label=B(this.l,42)||"",a.j=B(this.l,43)||"",a.checked=!0,this.ga=kr(this.L,a),R(this.root.find("#photos-filtering-settings")),this.root.find("#photos-filtering-settings-title").text(B(this.l,56)||""),this.H=new Io(cs(this,this.root.find("#upload-screenshots-checkbox"))[0],B(this.l,57)||""),Jo(this.H,function(){bs(g.m)}),this.G=new Io(cs(this,this.root.find("#upload-raw-files-checkbox"))[0],B(this.l,58)||""),Jo(this.G,function(){bs(g.m)}), A(this.l,53)?(this.root.find("#apple-photos-library-setting-title").text(B(this.l,54)||""),this.ta=new Io(cs(this,this.root.find("#apple-photos-library-setting-checkbox"))[0],B(this.l,55)),Jo(this.ta,function(){bs(g.m);g.root.find("#apple-photos-library-setting-checkbox input")}),this.J=this.root.find("#apple-photos-library-setting-checkbox-subtitle"),Nj(this.J,B(this.l,59)).find("a").attr("href","javascript:void(0);").on("click",function(){xs(g.m)})):this.root.find("#apple-photos-library-setting").remove()): (S(this.root.find("#photos-settings")),S(this.root.find(".photos-account-settings-header")),this.root.find("#apple-photos-library-setting").remove());te(ze(this.j))&&S(this.root.find("#photos-upload-size-settings"));me(z(this.j,je,4))&&S(this.root.find("#photos-upload-screenshots-settings"));me(z(this.j,je,5))&&S(this.root.find("#photos-upload-raw-files-settings"));te(ze(this.j))&&me(z(this.j,je,4))&&me(z(this.j,je,5))&&(S(this.root.find("#photos-settings")),S(this.root.find(".photos-account-settings-header"))); pe(z(this.j,ne,9))?S(this.root.find("#cache-size-limit-settings")):(this.root.find("#cache-size-limit-title").text(B(e,97)||""),this.root.find("#cache-size-limit-info").text(B(e,98)||""),ys(this),this.o=new Io(cs(this,this.root.find("#cache-size-limit-checkbox"))[0],B(this.l,99)||""),Jo(this.o,function(h){h?(zs(g),g.B.focus(),g.B.input.setSelectionRange(0,g.B.l.value.length)):(As(g),vp(g.B,""));Bs(g.m)}),a=new wp,a.o=!1,a.required=!0,a.ariaLabel=B(e,100)||"",a.j=B(e,101)||"",a.Sa=B(e,102)||"",a.inputType= "number",a.min=1,a.max=1E8,a.l=function(){Bs(g.m)},this.B=new up(this.root.find("#cache-size-limit-input")[0],a));xe(z(this.j,ue,8))?S(this.root.find("#cache-precache-settings")):(R(this.root.find("#cache-precache-settings")),this.root.find("#cache-precache-settings-title").text(B(this.l,103)||""),this.root.find("#cache-precache-settings-info").text(B(this.l,104)||""),this.C=new jr(this.root.find("#cache-precache-settings-radio-group")[0]),or(this.C,function(){bs(g.m)}),a=new ur,a.label=B(this.l, 106)||"",b=new ur,b.label=B(this.l,107)||"",c=new ur,c.label=B(this.l,108)||"",b.checked=!0,this.ma=kr(this.C,a),this.X=kr(this.C,b),this.T=kr(this.C,c));pe(z(this.j,ne,9))&&xe(z(this.j,ue,8))&&S(this.root.find("#cache-settings"));this.na=Cs(this,this.I);if(Fd(this.j,10,!0))this.root.find("#manage-storage").removeClass("hidden").find("a").on("click",function(){var h=g.I;if(h){var l=new $e;C(l,13,af,!0);var m=M();Bf(L(m),l);K(m,h);Q(m)}});this.root.find(".notification-info-icon").attr("aria-label", B(e,72)||"");this.root.find(".notification-error-icon").attr("aria-label",B(e,96)||"");Ds(this,d)}function cs(a,b){a=b.attr("id")+"-"+Sd(a.I);b.attr("id",a);return b} function Ds(a,b){a.j=ad(b);if(F(a.j,6)){var c=a.root.find("#account-info-notification");Nj(c.find(".notification-description"),B(a.j,6)).find("a").attr("href","javascript:void(0);").on("click",function(){var d=new $e;C(d,14,af,!0);var e=M();K(e,a.I);Bf(L(e),d);Q(e)})}else a.root.find("#account-info-notification").remove();a.Tc||(b=z(b,qe,1),fs(a.D,b),a.v&&(ke(z(a.j,je,2))?Oo(a.v):No(a.v)),a.A&&(ke(z(a.j,je,7))?No(a.A):Oo(a.A)),a.o&&(oe(z(a.j,ne,9))?(Po(a.o),a.B.l.disabled=!0):a.root.find("#cache-size-limit-overridden-by-administrator").remove(), b=z(a.j,ne,9),A(b,2)&&hc(x(b,1))!=null?(No(a.o),zs(a),vp(a.B,Gd(b,1).toString())):(Oo(a.o),As(a))),a.C&&(we(z(a.j,ue,8))?mr(a.C):a.root.find("#cache-precache-settings-overridden-by-administrator").remove(),b=ve(z(a.j,ue,8)),b==3?a.T.select():b==2?a.X.select():a.ma.select()),a.M&&(Es(a),ke(z(a.j,je,4))?No(a.H):Oo(a.H),ke(z(a.j,je,5))?No(a.G):Oo(a.G),le(z(a.j,je,4))?Po(a.H):a.root.find("#upload-screenshots-overridden-by-administrator").remove(),le(z(a.j,je,5))?Po(a.G):a.root.find("#upload-raw-files-overridden-by-administrator").remove()), le(z(a.j,je,2))?a.v&&Po(a.v):a.root.find("#enable-drive-dot-overridden-by-administrator").remove(),le(z(a.j,je,7))?a.A&&Po(a.A):a.root.find("#enable-smb-spotlight-overridden-by-administrator").remove())}function ys(a){var b=new Z;b.type="text";b.label=B(a.l,112)||"";b.j=function(){var c=new $e;C(c,19,af,!0);var d=M();K(d,U());Bf(L(d),c);Q(d)};new go(a.root.find("#view-cache-storage-button")[0],b)}function Fs(a){return a.ta&&a.ta.P()} function Es(a){var b=ze(a.j);Ed(b,1)==2?a.R.select():a.ga.select();b=ze(a.j);A(b,2)&&mr(a.L)} function Gs(a,b,c){var d=a.root.find("#user-photo"),e=B(b,3);d.attr("alt",c);if(e)d.attr("src",e||"").removeClass("blueIcon").on("error",function(){d.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon")});else d.attr("src","ic_account_circle_googblue_24dp.svg").addClass("blueIcon");a.root.find("#user-email").text(B(b,2)||"");Nj(a.root.find("#user-quota-details"),B(b,5));a.root.find("#manage-storage a").text(B(a.l,65)||"");F(b,13)&&jo(a.na,B(b,13)||"")} ws.prototype.layout=function(){this.Tc||(this.L&&this.L.layout(),this.D&&this.D.layout(),this.v&&this.v.layout(),this.A&&this.A.layout(),this.H&&this.H.layout(),this.G&&this.G.layout(),this.ta&&this.ta.layout(),this.o&&this.o.layout(),this.C&&this.C.layout())};function Cs(a,b){var c=new Z;c.type="text";c.label=B(a.l,28)||"";c.j=function(){var d=new wf;C(d,1,xf,!0);var e=M();K(e,b);Cf(L(e),d);Q(e)};return new go(a.root.find("#sign-out-button")[0],c)}function gs(a){var b=M();K(b,a.I);return b} ws.prototype.scrollIntoView=function(){this.root[0].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})};function zs(a){No(a.o);R(a.root.find("#cache-size-limit-input"))}function As(a){Oo(a.o);S(a.root.find("#cache-size-limit-input"))} function Hs(a){var b=$("#advanced-settings"),c=this;this.L=a;this.root=b;this.I=new Io(this.root.find("#enable-autostart-checkbox")[0]);Jo(this.I,function(){bs(c)});this.o=new Io(this.root.find("#enable-file-provider-opt-out-checkbox")[0]);Jo(this.o,function(d){bs(c);var e=new $e;C(e,20,af,d);d=M();K(d,U());Bf(L(d),e);Q(d)});this.A=new Io(this.root.find("#download-rate-checkbox")[0]);Jo(this.A,function(d){d?Is(c):(vp(c.C,""),Js(c));Bs(c)});this.C=null;this.B=new Io(this.root.find("#upload-rate-checkbox")[0]); Jo(this.B,function(d){d?Ks(c):(vp(c.G,""),Ls(c));Bs(c)});this.G=null;this.J=new Io(this.root.find("#prompt-devices-checkbox")[0]);Jo(this.J,function(){bs(c)});this.H=new Io(this.root.find("#automatic-error-reporting-checkbox")[0]);Jo(this.H,function(){bs(c)});this.na=[];this.T=new jr(this.root.find("#network-settings-proxy-radio-group")[0]);or(this.T,function(){bs(c)});a=new ur;a.checked=!0;this.Gf=kr(this.T,a);this.Od=kr(this.T,new ur);this.Wj=new ks(this,this.root.find("#signout-confirmation-root")); this.j=null;this.l=new Qj;this.v=null;this.kc=!1;this.fb=null;this.Jf="";this.xa=new Gf;this.gb=Ms(this);this.hb=Ns(this);this.Pj=Os(this);this.ma=Ps(this);this.ma.hide();this.M=Qs(this);this.M.hide();this.X=Rs(this);this.Nj=Ss(this);this.ga=Ts(this);this.R=Us(this);this.D=new Io(this.root.find("#hotkey-settings-checkbox")[0]);Jo(this.D,function(d){Vs(c,d)});a=new wp;a.o=!1;a.v=function(){c.m.input.setSelectionRange(0,c.m.l.value.length);var d=new $e;C(d,15,af,!0);var e=M();K(e,U());Bf(L(e),d);Q(e)}; a.C=function(){var d=new $e;C(d,16,af,!0);var e=M();K(e,U());Bf(L(e),d);Q(e)};a.A=function(d){var e=d.keyCode||d.charCode;dj()!=2&&e!=8&&e!=46&&e!=37&&e!=38&&e!=39&&e!=40||d.preventDefault()};a.B=function(d){d.preventDefault()};this.m=new up(this.root.find("#search-hotkey-settings-value")[0],a);new br(this.root.find("#advanced-settings-popover-progress")[0],!1);this.Pb=U();this.Pd=new Map;Ws(this,[]);a=new lp;a.m=!0;this.vf=new hp(this.root.find("#advanced-settings-popover-dialog-root")[0],a);this.Hj= Xs();this.Lj=Ys();this.yj=new xp(this.root.find("#casita-feedback-dialog")[0],this)} function Zs(a,b){xd(b,Ud,3,jd()).length>0&&Ws(a,xd(b,Ud,3,jd(db)));if(y(b,Zf,4)){var c=z(b,Zf,4).K(),d=z(b,Zf,4);d=B(d,2)||"";c&&d&&(c=a.l.get(c))&&(c=c.D,Kd(c.j,1,d),as(c,c.j),bs(a),is(a),js(a))}D(b,5)&&(d=A(b,5),a.kc=!!d,a.kc?(a.M.show(),a.ma.show(),R(a.root.find("#pending-changes-label")),a.X.hide()):(a.M.hide(),a.ma.hide(),S(a.root.find("#pending-changes-label")),a.X.show()));y(b,Qd,6)&&(d=z(b,Qd,6))&&($s(a,d),bs(a));F(b,7)&&(d=B(b,7)||"",a.root.find("#content-cache-path").text(d),bs(a),is(a), js(a));D(b,8)&&(Fd(b,8)?R(a.root.find("#content-cache-path-warning-message")):S(a.root.find("#content-cache-path-warning-message")));hc(x(b,9))!=null&&a.reset();F(b,10)&&(vp(a.m,B(b,10)||""),a.m.input.setSelectionRange(0,a.m.l.value.length),a.D.focus());hc(x(b,11))!=null&&a.root.find("#search-hotkey-input").data("hot-key-code",Gd(b,11)||"");D(b,13)&&(A(b,13)?Po(a.o):Qo(a.o));D(b,15)&&(A(b,15)?No(a.o):Oo(a.o),bs(a));if(d=a.j&&hc(x(b,11))!=null)d=hc(x(b,11)),c=Qe(I(a.j)),c=rc(x(c,1)),d=d!=c;d&&bs(a); hc(x(b,14))!=null&&a.H.focus();y(b,Xf,16)&&(a=a.yj,b=z(b,Xf,16),y(b,Wf,1)&&yp(a,z(b,Wf,1)),D(b,2)&&A(b,2)&&(vs(a.A.L),a.dialog.close()))} function at(a,b){if(b){a.v=b;um(a.gb,B(b,50)||"");vm(a.gb,B(b,115)||"");a.root.find("#remove-ignored-device-icon").attr("alt",B(b,51)||"");a.root.find("#advanced-settings-title").text(B(b,49)||"");a.root.find("#ignored-devices-title").text(B(b,1)||"");a.root.find("#ignored-devices-subtitle").text(B(b,2)||"");io(a.Nj,B(b,4)||"");a.root.find("#no-ignored-devices-subtitle").text(B(b,3)||"");a.root.find("#remove-ignored-device-button").attr("aria-label",B(b,6)||"");io(a.M,B(b,47)||"");io(a.X,B(b,48)|| "");io(a.ma,B(b,25)||"");io(a.Pj,B(b,116)||"");a.root.find("#reset-content-cache-button").text()==""?S(a.root.find("#reset-content-cache-button")):R(a.root.find("#reset-content-cache-button"));a.root.find("#pending-changes-label").text(B(b,62)||"");io(a.hb,B(b,26)||"");a.root.find("#network-settings-ok-button-label").text(B(b,24)||"");A(b,32)?(a.root.find("#autostart-settings-title").text(B(b,12)||""),Ko(a.I,B(b,13))):S(a.root.find("#autostart-settings"));A(b,109)?(a.root.find("#file-provider-opt-out-title").text(B(b, 118)||""),Ko(a.o,B(b,110)),Nj(a.root.find("#file-provider-opt-out-warning-message"),B(a.v,111)||"").find("a").on("click",function(){var d=new $e;C(d,18,af,!0);var e=M();K(e,U());Bf(L(e),d);Q(e)}).attr("href","javascript:void(0);")):S(a.root.find("#file-provider-opt-out-settings"));a.root.find("#content-cache-picker-title").text(B(b,7)||"");a.root.find("#proxy-settings-title").text(B(b,14)||"");rr(a.Od,B(b,16)||"");rr(a.Gf,B(b,15)||"");a.root.find("#bandwidth-settings-title").text(B(b,17)||"");Ko(a.A, B(b,19)||"");Mo(a.A,B(b,19)||"");Ko(a.B,B(b,20)||"");Mo(a.B,B(b,20)||"");var c=new wp;c.required=!0;c.inputType="number";c.min=1;c.max=1E8;c.ariaLabel=B(a.v,19)||"";c.j=B(a.v,40)||"";c.Sa=B(a.v,73)||"";c.l=function(){Bs(a)};a.C=new up(a.root.find("#download-rate-input")[0],c);c=new wp;c.required=!0;c.inputType="number";c.min=1;c.max=1E8;c.ariaLabel=B(a.v,20)||"";c.j=B(a.v,40)||"";c.Sa=B(a.v,73)||"";c.l=function(){Bs(a)};a.G=new up(a.root.find("#upload-rate-input")[0],c);a.root.find(".overridden-by-administrator").text(B(b, 39)||"");A(b,70)?(a.root.find("#hotkey-settings-title").text(B(b,68)||""),Ko(a.D,B(b,69)||""),Mo(a.D,B(b,69)||""),a.root.find("#search-hotkey-info").text(B(b,71)||""),R(a.root.find("#hotkey-settings"))):S(a.root.find("#hotkey-settings"));A(b,52)&&S(a.root.find("#ignored-devices"));Fd(b,36,!0)||S(a.root.find("#content-cache-settings"));a.root.find("#notifications-settings-title").text(B(b,63)||"");a.root.find("#content-cache-path-warning-message").text(B(b,95)||"");Ko(a.J,B(b,64));a.root.find("#automatic-error-reporting-title").text(B(b, 113)||"");Ko(a.H,B(b,114)||"");y(b,ag,117)?bt(a,z(b,ag,117)):S(a.root.find("#casita-ui-banner"))}}function bt(a,b){b&&F(b,1)?(a.root.addClass("not-scrollable"),a.root.find("#advanced-settings-body").addClass("scroll-enabled"),a.root.find("#casita-ui-banner-title").text(B(b,1)||""),a.root.find("#casita-ui-banner-message").text(B(b,2)||""),no(a.Hj,z(b,If,3)),no(a.Lj,z(b,If,4))):S(a.root.find("#casita-ui-banner"))} function ct(a,b,c){if(b){a.fb=b;a.Jf=c;b=t(Lf(b));for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.K();if(e){e=a.l.get(e);if(!e)return;Gs(e,d,c)}}$s(a,a.Pb)}} Hs.prototype.show=function(){R(this.root);js(this);this.T.layout();this.I.layout();this.o.layout();this.A.layout();this.B.layout();this.J.layout();this.D.layout();for(var a=t(this.l),b=a.next();!b.done;b=a.next())b=t(b.value),b.next(),b.next().value.layout();this.root.find("#advanced-settings-title").focus();if(this.root.find("#advanced-settings-body").hasClass("scroll-enabled")){a=Number(this.root.height());b=Number(this.root.find(".header-container").height());var c=Number(this.root.find("#advanced-settings-banner").height()); this.root.find("#advanced-settings-body").height(a-b-c)}};Hs.prototype.hide=function(){S(this.root);is(this)};function js(a){if(!a.root.hasClass("hidden")){for(var b=t(a.l),c=b.next();!c.done;c=b.next()){var d=t(c.value);c=d.next().value;d=d.next().value;dt(a,d.root.find("#user-email")[0],Rd(c)+"-user-email");dt(a,d.root.find("#mount-point-path")[0],Rd(c)+"-mount-point-path")}dt(a,a.root.find("#content-cache-path")[0],"content-cache-path-tooltip")}} function dt(a,b,c){b&&b.scrollWidth>b.clientWidth&&(b.setAttribute("aria-describedby",c),a.Pd.set(b,new al(c,b.textContent)))}function is(a){for(var b=t(a.Pd.entries()),c=b.next();!c.done;c=b.next()){var d=t(c.value);c=d.next().value;d=d.next().value;c.removeAttribute("aria-describedby");d.remove()}a.Pd=new Map} function et(a,b){if(b){a.j=b;is(a);rd(a.j,2,ye,uc).forEach(function(f,g){if(g&&a.l.map.has(g))Ds(Rj(a.l,g),f);else{var h=new Qd;Td(h,g);g=a.l;var l=g.set,m=Pj(a.root.find("#account-specific-settings-template")).removeAttr("id");R(m);m.appendTo(a.root.find("#account-specific-settings-container"));var n=a.v;if(a.xa){var w=rd(a.xa,2,Pd,uc).get(Rd(h)||"");w=!!w&&Fd(w,4,!0)}else cj(3,"accountAdminSettings value is uninitialized"),w=!1;f=new ws(m,a,h,f,n,w);l.call(g,h,f)}});a.root.find("#content-cache-path, #content-cache-path-tooltip").text(Ee(Je(I(a.j)))|| "");Fe(Je(I(a.j)))?(a.root.find("#content-cache-picker").prop("disabled",!0),lo(a.hb)):a.root.find("#content-cache-path-overridden-by-administrator").remove();ke(Ne(I(a.j)))?No(a.I):Oo(a.I);le(Ne(I(a.j)))?Po(a.I):a.root.find("#enable-autostart-overridden-by-administrator").remove();ke(Re(I(a.j)))?No(a.o):Oo(a.o);le(Re(I(a.j)))?Po(a.o):a.root.find("#enable-file-provider-opt-out-overridden-by-administrator").remove();b=Oe(I(a.j));ke(b)?No(a.J):Oo(a.J);le(b)?Po(a.J):a.root.find("#prompt-devices-overridden-by-administrator").remove(); b=Qe(I(a.j));Ee(b)?ft(a):gt(a);a.root.find("#search-hotkey-input").data("hot-key-code",Ce(Pe(I(a.j)))||"");vp(a.m,Ee(b)||"");ht(a);var c=new Qj;rd(a.j,2,ye,uc).forEach(function(f,g){f=ze(f);g&&c.map.set(g,f)});it(a.L.l,c);b=Se(I(a.j));var d=a.root.find("#automatic-error-reporting-overridden-by-administrator"),e=a.root.find("#automatic-error-reporting");ke(b)?No(a.H):Oo(a.H);le(b)?(Po(a.H),R(d)):S(d);me(b)?S(e):R(e);bs(a);js(a)}} function ht(a){ke(Ke(I(a.j)))?a.Od.select():a.Gf.select();if(le(Ke(I(a.j))))mr(a.T);else{a.root.find("#proxy-settings-overridden-by-administrator").remove();for(var b=t(a.T.j),c=b.next();!c.done;c=b.next())tr(c.value)}b=He(I(a.j));Dd(b)!=null?(Is(a),b=a.C,c=He(I(a.j)),c=Dd(c,ed),vp(b,c.toString())):(Js(a),vp(a.C,""));b=He(I(a.j));A(b,2)?(a.C.l.disabled=!0,Po(a.A)):(a.root.find("#download-rate-overridden").remove(),Qo(a.A));b=Ie(I(a.j));Dd(b)!=null?(Ks(a),b=a.G,c=Ie(I(a.j)),c=Dd(c,ed),vp(b,c.toString())): (Ls(a),vp(a.G,""));b=Ie(I(a.j));A(b,2)?(a.G.l.disabled=!0,Po(a.B)):(a.root.find("#upload-rate-overridden").remove(),Qo(a.B))}Hs.prototype.reset=function(){et(this,this.j);ct(this,this.fb,this.Jf);var a=this.Pb;a&&($s(this,a),bs(this));Bs(this);this.kc=!1};function Is(a){No(a.A);R(a.root.find("#download-rate-input"))}function Js(a){Oo(a.A);S(a.root.find("#download-rate-input"))}function Ks(a){No(a.B);R(a.root.find("#upload-rate-input"))}function Ls(a){Oo(a.B);S(a.root.find("#upload-rate-input"))} function ft(a){No(a.D);R(a.root.find("#search-hotkey-input"))}function gt(a){Oo(a.D);S(a.root.find("#search-hotkey-input"))}function Vs(a,b){b?(ft(a),a.m.focus(),a.m.scrollIntoView(),a.m.input.setSelectionRange(0,a.m.l.value.length)):(gt(a),vp(a.m,""),a.root.find("#search-hotkey-input").data("hot-key-code",""),bs(a))} function Ws(a,b){a.na=b;if(b.length==0)S(a.root.find("#ignored-devices-container")),S(a.root.find("#ignored-devices-subtitle")),R(a.root.find("#no-ignored-devices-subtitle"));else{R(a.root.find("#ignored-devices-container"));R(a.root.find("#ignored-devices-subtitle"));S(a.root.find("#no-ignored-devices-subtitle"));a.root.find("#ignored-devices-list").empty();b=t(b);for(var c=b.next(),d={};!c.done;d={Wd:void 0},c=b.next()){d.Wd=c.value;c=Pj(a.root.find("#ignored-device-item-template")).removeAttr("id"); R(c);c.appendTo(a.root.find("#ignored-devices-list"));c.find("#ignored-device-name-label").text(B(d.Wd,2)||"");var e=new xm;e.j="ic_close_grey600_24dp.svg";e.color="grey";e.ariaLabel=B(a.v,6)||"";e.l=function(f){return function(){var g=f.Wd.Oj()||"";if(g){var h=new Ze;Bd(h,pc,g,rc);g=new $e;Ad(g,1,af,h);h=M();K(h,U());Bf(L(h),g);Q(h)}else cj(3,"An ignored device did not have a MediaID set.")}}(d);wm(c.find("#remove-ignored-device-button")[0],e)}}} function jt(a){if(a.na){var b=a.na.map(function(d){return B(d,1)});a.na=[];a=new Ze;b=t(b);for(var c=b.next();!c.done;c=b.next())Bd(a,pc,c.value,rc);b=new $e;Ad(b,1,af,a);a=M();K(a,U());Bf(L(a),b);Q(a)}} function kt(a){var b=ad(a.j),c=a.A.P(),d=Number(a.C.l.value),e=a.B.P(),f=Number(a.G.l.value),g=Je(I(b)),h=a.root.find("#content-cache-path").text().trim();Kd(g,1,h);g=Ke(I(b));Jd(g,1,a.Od.j.checked);c?(c=He(I(b)),gd(c,1,d==null?d:Vb(d))):(d=He(I(b)),gd(d,1));e?(e=Ie(I(b)),gd(e,1,f==null?f:Vb(f))):(f=Ie(I(b)),gd(f,1));f=Ne(I(b));Jd(f,1,a.I.P());f=Oe(I(b));Jd(f,1,a.J.P());f=t(a.l);for(e=f.next();!e.done;e=f.next())if(e=t(e.value),c=e.next().value,g=e.next().value,!g.Tc){e=rd(b,2,ye,uc);d=e.set;c=Rd(c)|| "";h=g.j;var l=ad(g.D.j);zd(h,1,l);h=ad(g.j);g.v&&(l=z(h,je,2),Jd(l,1,!g.v.P()));g.A&&(l=z(h,je,7),Jd(l,1,g.A.P()));g.R&&(l=ze(h),Ld(l,1,g.R.j.checked?2:1));g.M&&(l=z(h,je,4),Jd(l,1,g.H.P()),l=z(h,je,5),Jd(l,1,g.G.P()));if(g.o){l=g.o.P();var m=z(h,ne,9);Jd(m,2,l);l?(l=Number(g.B.l.value),m=z(h,ne,9),gd(m,1,dc(l))):(l=z(h,ne,9),gd(l,1))}g.C&&(l=z(h,ue,8),Ld(l,1,g.T.j.checked?3:g.X.j.checked?2:1));d.call(e,c,h)}a.D.P()?(f=Number(a.root.find("#search-hotkey-input").data("hot-key-code")),e=Pe(I(b)),gd(e, 1,dc(f))):(f=Pe(I(b)),gd(f,1,dc(0)));f=Qe(I(b));Kd(f,1,a.m.l.value);f=Re(I(b));Jd(f,1,a.o.P());f=Se(I(b));Jd(f,1,a.H.P());return b} function lt(a,b){a=a.Wj;if(Ed(b,9)!=null)var c=!1;else{if(F(b,15)&&a.G){c=a.j;var d=B(b,15);Kd(c,15,d);a.G.md(B(b,15));ss(a)}F(b,16);c=!0}if(!c)if(Ed(b,9)!=null)switch(a.j=b,Id(a.j,9)){case 2:rs(a);break;case 3:if(!a.v.dialog.l)break;switch(a.m){case 3:console.assert(!1,"delete unsynced files should not have in-progress state");break;case 2:a.A.prop("disabled",!0);a.root.find("#signout-confirmation-action-button-label").text(B(a.j,3)||"");mr(a.l);$("#signout-progress-bar").removeClass("hidden");a.o.ld(x(a.j, 10,void 0,ed,Ob));break;case 1:a.A.prop("disabled",!0);a.root.find("#signout-confirmation-action-button-label").text(B(a.j,3)||"");mr(a.l);$("#signout-progress-bar").removeClass("hidden");a.o.Cb(!1);break;default:cj(3,"Error: fail to find a feature mode for "+a.m)}break;case 4:if(!a.v.dialog.l)break;a.B=!0;us(a);break;case 1:ps(a),$("#signout-progress-bar").removeClass("hidden"),a.A.prop("disabled",!0),a.o.Cb(!1),ts(a)}else cj(3,"Signout confirmation has an invalid state: "+Id(a.j,9))} function Ep(a,b){mt(a.L,b)}function Bs(a){setTimeout(function(){var b=!a.A.P()||a.C.Ta()||a.C.pa();var c=(!a.B.P()||a.G.Ta()||a.G.pa())&&b;b=t(a.l);for(var d=b.next();!d.done;d=b.next())d=t(d.value),d.next(),d=d.next().value,c&&(c=d,c=c.o?!c.o.P()||c.B.Ta()||c.B.pa():!0);c?(mo(a.M),mo(a.X)):(lo(a.M),lo(a.X));bs(a)},0)}function nt(a){var b=new Ye,c=kt(a);zd(b,1,c);c=U();zd(b,3,c);a=t(a.l);for(c=a.next();!c.done;c=a.next()){c=t(c.value);var d=c.next().value;Fs(c.next().value)&&zd(b,3,d)}return b} function ot(a){var b=new $e;a=nt(a);Ad(b,4,af,a);a=M();K(a,U());Bf(L(a),b);Q(a)}function bs(a){if(a.j){var b=new Xe,c=kt(a);zd(b,1,c);a=pt(a);zd(b,2,a);a=new $e;Ad(a,5,af,b);b=M();K(b,U());Bf(L(b),a);Q(b)}}function $s(a,b){if(b){a.Pb=b;for(var c=t(a.l),d=c.next();!d.done;d=c.next()){var e=t(d.value);d=e.next().value;e=e.next().value;Sj(d,b)?(d=e,A(d.l,53)?d.ta&&No(d.ta):cj(3,"Attempted to display Apple Photos Library root as enabled, but canSyncApl is false.")):e.ta&&Oo(e.ta)}pt(a)}} function pt(a){for(var b=U(),c=t(a.l),d=c.next();!d.done;d=c.next()){d=t(d.value);var e=d.next().value;Fs(d.next().value)&&(b=e)}c=Sj(b,U());d="";if(!c){e=t(Lf(a.fb));for(var f=e.next();!f.done;f=e.next())f=f.value,Sj(f.K(),b)&&(d=B(f,2))}a=t(a.l);for(e=a.next();!e.done;e=a.next()){f=t(e.value);e=f.next().value;f=f.next().value;e=c||Sj(e,b);var g=d;e?(f.ta&&Qo(f.ta),f.J&&S(f.J)):(f.ta&&Po(f.ta),f.J&&(R(f.J),f.J.find("a").text(g)))}return b} function xs(a){a=t(a.l);for(var b=a.next();!b.done;b=a.next())if(b=t(b.value),b.next(),b=b.next().value,Fs(b)){b.ta.focus();break}}function qt(a,b){a=a.l.get(b);a.D.C.focus();a.scrollIntoView()}function rt(a){a.hb.focus();a.root.find("#content-cache-settings")[0].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}function st(a,b){b&&(tt(a,b),mt(a.L,function(){ut()}),a.vf.open())} function tt(a,b){if(b){var c=a.root.find("#advanced-settings-popover-dialog-root"),d=c.find("#advanced-settings-popover-title");D(b,9)&&A(b,9)?(d.addClass("advanced-settings-popover-text-align-center"),d.removeClass("advanced-settings-popover-text-align-left")):(d.addClass("advanced-settings-popover-text-align-left"),d.removeClass("advanced-settings-popover-text-align-center"));F(b,3)?(d.text(B(b,3)||""),R(d)):S(d);d=c.find("#advanced-settings-popover-content-container");d.empty();if(kd(b,4,rc,jd()).length> 0){for(var e=t(kd(b,4,rc,jd())),f=e.next();!f.done;f=e.next()){f=f.value;var g=document.createElement("div");D(b,8)&&A(b,8)?g.classList.add("advanced-settings-popover-content-long"):g.classList.add("advanced-settings-popover-content");D(b,9)&&A(b,9)?(g.classList.add("advanced-settings-popover-text-align-center"),g.classList.remove("advanced-settings-popover-text-align-left")):(g.classList.add("advanced-settings-popover-text-align-left"),g.classList.remove("advanced-settings-popover-text-align-center")); d.append(g);Mj(g,f);if(f=g.querySelector("a"))f.href="javascript:void(0);",f.addEventListener("click",function(){vt()})}R(d)}else S(d);F(b,5)?(io(a.ga,B(b,5)||""),a.ga.show()):a.ga.hide();F(b,6)?(io(a.R,B(b,6)||""),a.R.show(),a.R.focus()):a.R.hide();D(b,7)&&(A(b,7)?(lo(a.ga),lo(a.R),R(c.find("#advanced-settings-popover-progress")),R(c.find("#advanced-settings-popover-pending-scrim"))):(mo(a.ga),mo(a.R),S(c.find("#advanced-settings-popover-progress")),S(c.find("#advanced-settings-popover-pending-scrim")))); D(b,8)&&A(b,8)?(c.find(".advanced-settings-popover-dialog-surface").addClass("file-provider-opt-out-loading-container"),a.root.find("#advanced-settings-popover-footer-container")[0].classList.add("hidden")):a.root.find("#advanced-settings-popover-footer-container")[0].classList.remove("hidden");a=a.root.find("#advanced-settings-popover-warning-container");if(F(b,10)){if(c.find(".advanced-settings-popover-dialog-surface").addClass("file-provider-opt-out-confirmation-container"),a[0].classList.remove("hidden"), Nj(a.find(".notification-description"),B(b,10)),c=a[0].querySelector("a"))c.href="javascript:void(0);",c.addEventListener("click",function(){vt()})}else c.find(".advanced-settings-popover-dialog-surface").removeClass("file-provider-opt-out-confirmation-container"),a[0].classList.add("hidden");c=document.getElementById("advanced-settings-popover-spinner");D(b,8)&&A(b,8)?(c.classList.remove("hidden"),c.setAttribute("tabindex","0")):c.classList.add("hidden")}} function vt(){var a=new $e;C(a,12,af,!0);var b=M();K(b,U());Bf(L(b),a);Q(b)}function ut(){var a=new $e;C(a,10,af,!0);var b=M();K(b,U());Bf(L(b),a);Q(b)}function Ms(a){var b=new xm;b.j="ic_keyboard_backspace_grey600_24dp.svg";b.color="grey";b.S=["advanced-settings-back-button"];b.o=!0;b.l=function(){var c=M();K(c,U());var d=L(c);Od(d,15,Af,2);Q(c)};return new sm(a.root.find("#advanced-settings-back-button")[0],b)} function Ns(a){var b=new Z;b.type="text";b.S=["change-button"];b.j=function(){var c=new $e;C(c,2,af,!0);var d=M();K(d,U());Bf(L(d),c);Q(d)};return new go(a.root.find("#change-content-cache-button")[0],b)}function Os(a){var b=new Z;b.type="text";b.S=["reset-button"];b.j=function(){var c=new $e;C(c,21,af,!0);var d=M();K(d,U());Bf(L(d),c);Q(d)};return new go(a.root.find("#reset-content-cache-button")[0],b)} function Ss(a){var b=new Z;b.type="text";b.j=function(){jt(a)};return new go(a.root.find("#forget-all-ignored-devices-button")[0],b)}function Ps(a){var b=new Z;b.type="text";b.j=function(){wt()};return new go(a.root.find("#cancel-button")[0],b)}function Qs(a){var b=new Z;b.type="fill";b.j=function(){ot(a)};return new go(a.root.find("#save-button")[0],b)}function Rs(a){var b=new Z;b.type="fill";b.j=function(){ot(a)};return new go(a.root.find("#done-button")[0],b)} function Us(a){var b=new Z;b.type="fill";b.j=function(){var c=new Xe,d=kt(a);zd(c,1,d);d=pt(a);zd(c,2,d);d=new $e;Ad(d,11,af,c);c=M();K(c,U());Bf(L(c),d);Q(c)};return new go(a.root.find("#advanced-settings-popover-proceed-button")[0],b)}function Ts(a){var b=new Z;b.type="text";b.j=function(){ut()};return new go(a.root.find("#advanced-settings-popover-cancel-button")[0],b)}function xt(a){var b=new $e;Ad(b,22,af,a);a=M();K(a,U());Bf(L(a),b);Q(a)} function Xs(){var a=new Z;a.type="fill";a.l=!1;a.j=function(){var b=new he;C(b,1,ie,!0);xt(b)};return new go($("#casita-ui-banner-primary-button")[0],a)}function Ys(){var a=new Z;a.type="text";a.l=!1;a.j=function(){var b=new he;C(b,2,ie,!0);xt(b)};return new go($("#casita-ui-banner-secondary-button")[0],a)}function Cp(a){var b=new he;Ad(b,3,ie,a);xt(b)};function yt(a,b){var c=this;this.root=a;this.j=b;this.config=null;this.root.find("#dialog-greeter-cancel-button").on("click",function(){c.config&&c.config.j&&c.config.j()});this.root.find("#dialog-greeter-ok-button").on("click",function(){c.config&&c.config.l&&c.config.l()});a=new lp;a.m=!0;this.dialog=new hp(this.root.find("#dialog-greeter-dialog-root")[0],a)}yt.prototype.open=function(a){var b=this;a&&(this.close(),this.config=a,zt(this),this.dialog.open(),this.j.la(function(){b.close()}))}; yt.prototype.close=function(){this.dialog.dialog.l&&(this.j.W(),this.dialog.close())}; function zt(a){if(a.config){a.root.find("#dialog-greeter-title").text(a.config.title||"");a.root.find("#dialog-greeter-subtitle").text(a.config.o||"");a.root.find(".dialog-greeter-feature-chip").text(a.config.B||"");a.root.find("#dialog-greeter-cancel-button-label").text(a.config.v||"");a.root.find("#dialog-greeter-ok-button-label").text(a.config.A||"");for(var b=a.root.find("#dialog-greeter-feature-container")[0];b.firstChild;)b.removeChild(b.firstChild);for(var c=t(a.config.m),d=c.next();!d.done;d= c.next()){d=d.value;var e=Pj(a.root.find("#dialog-greeter-feature-template")).removeAttr("id").removeClass("hidden");e.find(".dialog-greeter-feature-icon").attr("src",d.image||"");e.find(".dialog-greeter-feature-title").text(d.title||"");d.j&&e.find(".dialog-greeter-feature-subtitle").append(d.j);e.appendTo(b)}}}function At(a,b,c){this.image=a;this.title=b;this.j=c}function Bt(a){if(!a)return null;var b=document.createElement("span");b.textContent=a;return b} function Ct(){this.o=this.title=null;this.m=[];this.l=this.A=this.j=this.v=this.B=null};function Dt(a,b){var c=this;this.root=a;this.l=b;this.j=0;this.config=null;this.root.find("#dialog-tour-modal-back-button").on("click",function(){c.j!=0&&(c.j--,Et(c),c.root.find("#dialog-tour-dialog-surface").trigger("focus"))});this.root.find("#dialog-tour-modal-next-button").on("click",function(){c.j>=c.config.j.length-1?Ft(c):(c.j++,Et(c),c.root.find("#dialog-tour-dialog-surface").trigger("focus"))});this.root.find(".dialog-tour-modal-close-button").on("click",function(){Ft(c)});a=new lp;a.m= !0;this.dialog=new hp(this.root.find("#dialog-tour-dialog-root")[0],a)}function Gt(a,b){b&&(Ft(a),a.config=b,Ht(a),a.root.find(".dialog-tour-modal-close-button").attr("aria-label",a.config.m||""),a.j=0,It(a),a.dialog.open(),a.l.la(function(){Ft(a)}),setTimeout(function(){R(a.root.find("#dialog-tour-dialog-root"));R(a.root.find("#dialog-tour-transparent-scrim"));R(a.root.find("#dialog-tour-modal-triangle"));Et(a)},100))} function Ft(a){a.dialog.dialog.l&&(Jt(a),a.l.W(),a.dialog.close(),S(a.root.find("#dialog-tour-dialog-root")),S(a.root.find("#dialog-tour-transparent-scrim")),S(a.root.find("#dialog-tour-modal-triangle")))} function Et(a){a.root.find("#dialog-tour-modal-title").text(a.config.j[a.j].title||"");a.root.find("#dialog-tour-modal-subtitle").text(a.config.j[a.j].m||"");a:{var b=a.root.find("#dialog-tour-dialog-surface");b.css({top:"",left:"",transform:""});var c=a.config.j[a.j],d=c.l[0].getBoundingClientRect(),e=b[0].getBoundingClientRect(),f=d.top,g=d.left,h=0;switch(c.j){case "right":h=d.width+40;c=-((e.height-d.height)/2);break;case "left":h=-(e.width+40);c=-((e.height-d.height)/2);break;case "bottom_right":h= -(e.width-d.width);c=d.height+25;break;case "bottom_left":c=d.height+25;break;default:console.assert(!1,"unable to update modal position for an unknown position type.");break a}f+c<0&&(c+=Math.abs(f+c));b.css({top:f,left:g,transform:"translateX("+h+"px) translateY("+c+"px)"})}a.root.find(".dialog-tour-modal-bullet").removeClass("dialog-tour-modal-bullet-selected");a.root.find("#dialog-tour-modal-bullet-"+a.j).addClass("dialog-tour-modal-bullet-selected");b=a.root.find("#dialog-tour-modal-back-button"); a.j==0?S(b):(a.root.find("#dialog-tour-modal-back-button-label").text(a.config.l||""),R(b));b=a.root.find("#dialog-tour-modal-next-button-label");a.j>=a.config.j.length-1?b.text(a.config.o||""):b.text(a.config.v||"");b=a.root.find("#dialog-tour-modal-triangle");b.removeClass("dialog-tour-modal-triangle-for-right-position");b.removeClass("dialog-tour-modal-triangle-for-left-position");b.removeClass("dialog-tour-modal-triangle-for-bottom-position");b.css({top:"",left:""});f=a.config.j[a.j];g=f.l[0].getBoundingClientRect(); h=g.top+g.height/2;c=g.left+g.width/2;switch(f.j){case "left":b.addClass("dialog-tour-modal-triangle-for-left-position");b.css("top",h);b.css("left",g.left-40);break;case "right":b.addClass("dialog-tour-modal-triangle-for-right-position");b.css("top",h);b.css("left",g.right+40);break;case "bottom_left":case "bottom_right":b.addClass("dialog-tour-modal-triangle-for-bottom-position");b.css("top",g.bottom+25);b.css("left",c);break;default:console.assert(!1,"unable to update triangle position for unknown type.")}Jt(a); a.config.j[a.j].l.addClass("dialog-tour-selected-element");b=a.root.find("#dialog-tour-transparent-scrim");a=a.config.j[a.j].l[0].getBoundingClientRect();b.css({top:a.top,left:a.left,height:a.height,width:a.width})}function Jt(a){a=t(a.config.j);for(var b=a.next();!b.done;b=a.next())b.value.l.removeClass("dialog-tour-selected-element")} function It(a){var b=a.root.find("#dialog-tour-modal-bullets");b.empty();for(var c=0;c<a.config.j.length;c++){var d=Pj(a.root.find("#dialog-tour-modal-bullet-template")).removeAttr("id").removeClass("hidden");d.attr("id","dialog-tour-modal-bullet-"+c);d.appendTo(b)}} function Ht(a){if($("html").attr("dir")=="rtl"){a=t(a.config.j);for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.j){case "left":b.j="right";break;case "right":b.j="left";break;case "bottom_left":b.j="bottom_right";break;case "bottom_right":b.j="bottom_left";break;default:console.assert(!1,"unable to update modal position type for RTL.");return}}}function Kt(a,b,c,d){this.l=a;this.j=b;this.title=c;this.m=d}function Lt(){this.j=[];this.m=this.o=this.v=this.l=null};function Mt(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 Nt(a,b){a.j.push(b)};function Ot(a,b){b=$("<a></a>").attr("id",a.attr("id").toString()).text(a.text().toString()).attr("href","javascript:void(0);").on("click",b);a.replaceWith(b)}function Pt(a){var b=$("<span></span>").attr("id",a.attr("id").toString()).text(a.text().toString());a.replaceWith(b)} function Qt(a,b){var c=this;this.root=a;this.m=b;this.v=new jr(this.root.find("#my-drive-sync-option-radio-group-container")[0]);a=new ur;a.j=" ";this.o=kr(this.v,a);a=new ur;a.j=" ";this.j=kr(this.v,a);or(this.v,function(){c.A&&(c.o.j.checked?c.A("stream"):c.j.j.checked&&c.A("mirror"))});this.B=null;this.C="default";Rt(this,this.C);this.D=this.A=null;a=new lp;a.j=["offline-access-dialog"];this.l=new hp(this.root.find("#offline-access-dialog-root")[0],a)} function St(a,b){if(b){a.B=b;rr(a.o,B(b,1));var c=document.createElement("ul");c.classList.add("sync-option-subtitle-list","stream-option-subtitle-list");Tt(a,B(b,2)||"").appendTo(c);Tt(a,B(b,3)||"").appendTo(c);Tt(a,B(b,4)||"").appendTo(c);sr(a.o,c);a.root.find(".stream-option-subtitle-list").find("#stream-offline-link").attr("href","javascript:void(0);").on("click",function(){Ut(a)});rr(a.j,B(b,5));c=document.createElement("ul");c.classList.add("sync-option-subtitle-list","mirror-option-subtitle-list"); Tt(a,B(b,6)||"").appendTo(c);Tt(a,B(b,7)||"").appendTo(c);var d=Tt(a,B(b,8)||""),e=document.createElement("a");e.id="mirror-offline-link";d.find("span").append(" ").append(e);d.appendTo(c);sr(a.j,c);a.root.find(".mirror-option-subtitle-list").find("#mirror-offline-link").attr("href","javascript:void(0);").on("click",function(){a.D&&a.D(a.C)});ip(a.l,null,["offline-access-dialog-header-img"]).setAttribute("aria-hidden",!0);ip(a.l,B(b,9),["offline-access-dialog-text"],!0);jp(a.l,B(b,10),["offline-access-dialog-text"]); c=new Z;c.type="text";c.label=B(b,11)||"";c.j=function(){var f=a.m,g=new qf;C(g,5,rf,!0);var h=M();K(h,f.l);Df(L(h),g);Q(h)};kp(a.l,c);c=new Z;c.type="text";c.label=B(b,12)||"";c.j=function(){a.l.close();a.m.W()};kp(a.l,c)}} function Vt(a,b){if(b){if(D(b,1)){var c=a.root.find("#stream-access-link");A(b,1)?Ot(c,function(){var d=a.m,e=new qf;C(e,16,rf,!0);var f=M();K(f,d.l);Df(L(f),e);Q(f)}):Pt(c)}D(b,2)&&(c=a.root.find("#mirror-access-link"),A(b,2)?Ot(c,function(){var d=a.m,e=new qf;C(e,17,rf,!0);var f=M();K(f,d.l);Df(L(f),e);Q(f)}):Pt(c))}} function Wt(a,b){switch(b){case "stream":a.j.j.checked=!1;a.o.select();break;case "mirror":a.o.j.checked=!1;a.j.select();break;case "not_selected":a.o.j.checked=!1;a.j.j.checked=!1;break;default:console.assert(!1,"unable to select unknown syncing option.")}}function Xt(a,b){a.A=b}function Yt(a,b){a.D=b} function Rt(a,b){if(a.B){var c=a.root.find(".mirror-option-subtitle-list #mirror-offline-link");switch(b){case "default":c.text("");S(c);break;case "choose":c.text(B(a.B,13)||"");R(c);break;default:console.assert(!1,"unable to set mirror subtitle for an unknown type.");return}a.C=b}}Qt.prototype.layout=function(){this.v.layout()}; function Tt(a,b){a=Pj(a.root.find("#sync-option-subtitle-list-item-template")).removeAttr("id").removeClass("hidden");Nj(a.find(".sync-option-subtitle-list-item-label"),b);return a}function Ut(a){a.l.open();a.m.la(function(){a.l.close();a.m.W()})};function Zt(a,b,c,d){var e=this;this.m=a;this.j=b;this.root=c;this.l=d;a=new lp;a.j=["my-drive-directory-picker-dialog"];this.v=new hp(this.root.find("#my-drive-directory-picker-dialog-root")[0],a);a=new lp;a.j=["mirror-uploads-in-progress-dialog"];this.A=new hp(this.root.find("#mirror-uploads-in-progress-dialog-root")[0],a);this.B=new hp(this.root.find("#switch-to-streaming-confirmation-dialog-root")[0],new lp);this.I=this.C=this.G=this.H=null;$t(this);this.o=new Qt(this.root.find(".my-drive-sync-option-select-root"), this);St(this.o,z(b,Uf,11));Xt(this.o,function(f){var g=f=="mirror";f=new qf;C(f,6,rf,g);g=M();K(g,e.l);Df(L(g),f);Q(g)});Yt(this.o,function(f){if(f=="choose"){f=new qf;C(f,14,rf,!0);var g=M();K(g,e.l);Df(L(g),f);Q(g)}});this.L=au(this);this.D=null;this.J=new yt(this.root.find("#my-drive-onboarding-root"),this)} function bu(a,b){if(b){D(b,3)&&(A(b,3)?Wt(a.o,"stream"):Wt(a.o,"mirror"));D(b,4)&&(A(b,4)?cu(a):du(a));if(F(b,14)&&a.H){Mj(a.H,B(b,14));var c=a.H.querySelector("a");c&&(c.href="javascript:void(0);",c.addEventListener("click",function(){var d=new qf;C(d,2,rf,!0);var e=M();K(e,a.l);Df(L(e),d);Q(e)}))}F(b,6)&&(c=a.H.querySelector("a"))&&Mj(c,B(b,6));D(b,7)&&(A(b,7)?a.G&&mo(a.G):a.G&&lo(a.G));D(b,10)&&(A(b,10)?eu(a):fu(a));F(b,11)&&a.I&&(Mj(a.I,B(b,11)),c=a.I.querySelector("a"))&&(c.href="javascript:void(0);", c.addEventListener("click",function(){var d=new qf;C(d,12,rf,!0);var e=M();K(e,a.l);Df(L(e),d);Q(e)}));if(F(b,8))if(B(b,8)){if(c=a.C.querySelector("div"))Mj(c,B(b,8)||""),fj(a.C)}else gj(a.C);D(b,9)&&(A(b,9)?gu(a.m):hu(a.m));D(b,12)&&(A(b,12)?iu(a):ju(a));D(b,13)&&(A(b,13)?Rt(a.o,"choose"):Rt(a.o,"default"));y(b,Tf,15)&&Vt(a.o,z(b,Tf,15))}}k=Zt.prototype; k.show=function(){R(this.root);this.D&&this.D.remove();var a="open-google-drive-tooltip-"+Sd(this.l);this.L.j.setAttribute("aria-describedby",a);this.D=new al(a,B(this.j,27)||"");this.o.layout()}; function ku(a){var b=new Ct;b.title=B(a.j,30);b.o=B(a.j,31);b.m.push(new At("ic_cloud_24px.svg",B(a.j,32),Bt(B(a.j,33))),new At("ic_folder_with_drive_logo_outline.svg",B(a.j,34),Bt(B(a.j,35))));b.v=B(a.j,28);b.j=function(){var c=new qf;C(c,15,rf,!0);var d=M();K(d,U());Df(L(d),c);Q(d)};b.A=B(a.j,29);b.l=function(){a.J.close()};a.J.open(b)}k.hide=function(){S(this.root);this.D&&this.D.remove()};k.la=function(a){this.m.la(a)};k.W=function(){this.m.W()}; k.cancel=function(){var a=new qf;C(a,10,rf,!0);var b=M();K(b,this.l);Df(L(b),a);Q(b)}; function $t(a){if(a.j){a.root.find(".google-drive-settings-title").text(B(a.j,1)||"");a.root.find(".google-drive-settings-subtitle").text(B(a.j,2)||"");Nj(a.root.find(".google-drive-access-title"),B(a.j,9));a.v.reset();ip(a.v,B(a.j,12),null,!0);a.H=jp(a.v,null,["my-drive-directory-picker-subtitle"]);var b=jp(a.v,null,["my-drive-directory-picker-link-container"]),c=document.createElement("a");Mj(c,B(a.j,14));c.href="javascript:void(0);";c.addEventListener("click",function(){var d=new qf;C(d,1,rf,!0); var e=M();K(e,a.l);Df(L(e),d);Q(e)});b.appendChild(c);a.C=jp(a.v,null,["my-drive-directory-picker-warning"]);gj(a.C);b=document.createElement("img");b.setAttribute("aria-label",B(a.j,36)||"");a.C.appendChild(b);a.C.appendChild(document.createElement("div"));b=new Z;b.type="text";b.label=B(a.j,15)||"";b.j=function(){lu(a)};kp(a.v,b);b=new Z;b.type="text";b.label=B(a.j,16)||"";b.j=function(){var d=new qf;C(d,8,rf,!0);var e=M();K(e,a.l);Df(L(e),d);Q(e)};a.G=kp(a.v,b);a.root.find(".streaming-info-banner-icon").attr("aria-label", B(a.j,37)||"");a.root.find(".streaming-info-banner-text").text(B(a.j,18)||"");Nj(a.root.find(".streaming-info-banner-subtext"),B(a.j,19)).find("a").attr("href","javascript:void(0);").on("click",function(){var d=new qf;C(d,3,rf,!0);var e=M();K(e,a.l);Df(L(e),d);Q(e)});a.A.reset();ip(a.A,null,["mirror-uploads-in-progress-dialog-header-img"]);ip(a.A,B(a.j,20),null,!0);a.I=jp(a.A,null,["mirror-uploads-in-progress-dialog-content"]);b=new Z;b.type="text";b.label=B(a.j,21)||"";b.j=function(){mu(a)};kp(a.A, b);b=new Z;b.type="text";b.label=B(a.j,22)||"";b.j=function(){fu(a)};kp(a.A,b);a.B.reset();ip(a.B,B(a.j,23),null,!0);jp(a.B,B(a.j,24));b=new Z;b.type="text";b.label=B(a.j,25)||"";b.j=function(){nu(a,!1)};kp(a.B,b);b=new Z;b.type="text";b.label=B(a.j,26)||"";b.j=function(){nu(a,!0)};kp(a.B,b)}}function cu(a){a.v.open();a.m.la(function(){lu(a)})}function lu(a){var b=new qf;C(b,7,rf,!0);var c=M();K(c,a.l);Df(L(c),b);Q(c)}function du(a){a.v.close();a.m.W()} function eu(a){ju(a);a.A.open();a.m.la(function(){mu(a)})}function fu(a){a.m.W();a.A.close()}function mu(a){var b=new qf;C(b,11,rf,!0);var c=M();K(c,a.l);Df(L(c),b);Q(c)}function iu(a){a.B.open();a.m.la(function(){nu(a,!1)})}function ju(a){a.B.dialog.l&&(a.B.close(),a.m.W())}function au(a){var b=new Z;b.type="filled_hairline";b.label=B(a.j,17)||"";b.j=function(){var c=new qf;C(c,4,rf,!0);var d=M();K(d,a.l);Df(L(d),c);Q(d)};return new go(a.root.find("#open-google-drive-button")[0],b)} function nu(a,b){var c=new qf;C(c,13,rf,b);b=M();K(b,a.l);Df(L(b),c);Q(b)};function ou(a,b){var c=new pu;this.root=a;this.j=b;this.v=c;b=new lp;b.j=["merge-folder-dialog"];b.l=this.v.j;this.dialog=new hp(a,b);this.l=this.m=this.o=null}function qu(a,b){y(b,Rf,1)&&ru(a,z(b,Rf,1));D(b,2)&&A(b,2)&&(a.j.W(),a.dialog.close(),su(a.j));D(b,3)&&A(b,3)&&(a.j.W(),a.dialog.close())} function ru(a,b){if(b&&Ed(b,1)!=null&&Id(b,1)!==1){tu(a);var c=null,d=null;Id(b,1)===3&&(c=["merge-folder-error-dialog-header-text"],d=["merge-folder-error-dialog-header-img"]);var e=B(b,2)||"",f=B(b,3)||"",g=B(b,4)||"",h=B(b,5)||"";b=B(b,6)||"";d&&ip(a.dialog,null,d);ip(a.dialog,e,c,!0);jp(a.dialog,f);g&&(c=new Z,c.type="text",c.label=g,c.j=function(){uu(a)},a.o=kp(a.dialog,c));h&&(g=new Z,g.type="text",g.label=h,g.j=function(){var l=new nf;C(l,2,of,!0);vu(a.j,l)},a.m=kp(a.dialog,g));b&&(h=new Z, h.type="text",h.label=b,h.j=function(){wu(a)},a.l=kp(a.dialog,h));a.j.la(function(){a.o?uu(a):a.l&&wu(a)});a.dialog.open();xu(a)}else su(a.j)}function yu(a,b,c){var d=new nf,e=new mf;Kd(e,1,b);Kd(e,2,c);Ad(d,1,of,e);vu(a.j,d)}function tu(a){a.dialog.reset();a.o=null;a.m=null;a.l=null}function uu(a){var b=new nf;C(b,3,of,!0);vu(a.j,b)}function wu(a){var b=new nf;C(b,4,of,!0);vu(a.j,b)}function xu(a){a.m?a.m.focus():a.l&&a.l.focus()}function pu(){this.j=!1};function zu(a,b){var c=this;console.assert(typeof a.attr("id")!=="undefined","the root element of PhotosUploadSettings must have an id");this.root=a;this.m=b;this.v=this.C=this.B=this.l=null;a=this.root.find("#photos-upload-settings-dialog-root")[0];this.j=new hp(a,new lp);this.A=0;this.o=null;a.addEventListener("MDCDialog:opened",function(){c.l.layout()})} function Au(a,b){if(b){a.j.reset();ip(a.j,B(b,1),null,!0);var c=jp(a.j);a.l=new jr(c);c=new ur;c.label=B(b,2)||"";c.j=B(b,3)||"";a.B=kr(a.l,c);c=new ur;c.label=B(b,4)||"";c.j=B(b,5)||"";a.C=kr(a.l,c);or(a.l,function(){a.B.j.checked&&a.A==2||a.C.j.checked&&a.A==1?lo(a.v):mo(a.v)});c=new Z;c.type="text";c.label=B(b,6)||"";c.j=function(){a.j.close();a.m.W()};kp(a.j,c);c=new Z;c.type="text";c.label=B(b,7)||"";c.j=function(){a.o&&(a.B.j.checked?Bu(a.m,a.o,2):Bu(a.m,a.o,1))};a.v=kp(a.j,c)}} zu.prototype.open=function(a,b){var c=this;this.o=a;Ed(b,1)==2?(this.A=2,this.B.select()):(this.A=1,this.C.select());A(b,2)&&mr(this.l);lo(this.v);this.j.open();this.m.la(function(){c.j.close();c.m.W()})};function Cu(a,b){return Pg([Wg("img",{src:b?"drive_logo_24px.svg":"photos_logo_24px.svg",alt:""}),Wg("span",{"class":"syncing-option-label gmTypographySubtitle2"},a||"")])} function Du(a,b){function c(){Eu(d)}var d=this;this.root=a;this.v=b;a=this.root.find("#root-configurator-dialog-root")[0];b=new lp;b.m=!0;this.hb=new hp(a,b);b=new lp;b.j=["stop-syncing-root-confirmation-dialog"];this.G=new hp(this.root.find("#stop-syncing-root-confirmation-dialog-root")[0],b);this.R=new ou(this.root.find("#merge-folder-dialog-root")[0],this);this.j=null;this.root.find("#cancel-add-root-button").on("click",function(){d.done()});this.I=this.root.find("#save-root-button");this.I.on("click", c);this.X=this.root.find("#done-root-button");this.X.on("click",c);this.m=new Io(this.root.find("#drive-destination-checkbox")[0],"",!1,!0);Jo(this.m,function(){Fu(d)});this.l=new Io(this.root.find("#photos-destination-checkbox")[0],"",!1,!0);Jo(this.l,function(){Fu(d)});this.kc=new br(this.root.find("#indeterminate-progress-bar")[0]);this.kc.Cb(!1);this.Pb=new Map;this.title=this.root.find("#root-title");this.ma=this.root.find("#root-configurator-size-label");this.ga=this.root.find("#root-configurator-content-description"); this.na=this.root.find("#root-configurator-new-root-spinner");this.xa=this.root.find("#photos-disabled-notification-banner");this.T=Gu(this);this.B=this.A=this.H=!1;this.D=this.root.find("#photos-deprecation-warning-banner");b=new lp;b.j=["photos-deprecation-confirmation-dialog"];b.l=!0;this.C=new hp(this.root.find("#photos-deprecation-confirmation-dialog-root")[0],b);this.fb=new Pn(this,$("#root-configurator-account-switcher"));this.L=this.gb=null;this.o=new Mf;this.J=this.M=null;a.addEventListener("MDCDialog:opened", function(){d.m.layout();d.l.layout()})}k=Du.prototype;k.open=function(){this.hb.open();this.L&&(this.title.removeAttr("aria-describedby"),this.L.remove(),this.L=null);var a=this.title[0];a.scrollWidth>a.clientWidth&&(this.title.attr("aria-describedby","root-configurator-tooltip-id"),this.L=new al("root-configurator-tooltip-id",this.title.text().toString()))};k.close=function(){this.hb.close()}; function Hu(a,b){b&&(a.o=b,a.root.find("#root-configurator-title").text(B(b,1)||""),a.root.find("#temp-destination-label").text(""),a.root.find("#both-destination-label").text(""),a.root.find("#cancel-add-root-button-label").text(B(b,6)||""),a.root.find("#save-root-button-label").text(B(b,7)||""),a.root.find("#done-root-button-label").text(B(b,8)||""),a.root.find("#root-configurator-scrim").attr("aria-label",B(b,23)||""),a.l&&Ko(a.l,Cu(B(b,9),!1)),a.l&&Lo(a.l,B(b,10)),a.root.find("#nas-notification-message").text(B(b, 17)||""),a.root.find("#root-configurator-account-switcher-label").text(B(b,22)||""),Nj(a.root.find("#root-destination-options-label"),B(b,18)).find("a").addClass("gmTypographySubhead2").attr("href","javascript:void(0);").on("click",function(){Iu()}),a.Pb.set("DOUBLE_QUOTA_WARNING",B(b,16)||""),y(b,Hf,15)&&Sn(a.fb,z(b,Hf,15)),Ju(a))}function Ku(a,b){a=rd(a.j.C,2,Pd,uc).get(Rd(b)||"");return!!a&&Fd(a,4,!0)} function Lu(a){if(a.l)if(Ku(a,Mu(a)))if(R(a.root.find("#photos-destination-container")),a.j.D||a.j.j&&y(a.j.j,ng,16)){var b=a.j.D?a.j.D:z(a.j.j,ng,16);a.T.hide();Po(a.l);Nj(a.xa.find("#photos-disabled-notification-message"),B(b,2)||"");F(b,3)&&(a.T.show(),io(a.T,B(b,3)||""),ko(a.T,function(){var c=a.v,d=Id(b,1),e=M();K(e,c.l);c=new uf;Od(c,19,vf,d);zf(L(e),c);Q(e)}));R(a.xa)}else a.B||a.A||(Qo(a.l),S(a.xa));else a.l.P()&&Oo(a.l),S(a.root.find("#photos-destination-container"))} function Gu(a){var b=new Z;b.type="fill";return new go(a.root.find("#photos-disabled-notification-action-button")[0],b)} function Nu(a,b){a.j=b;console.log(a.j);if(Ou(a)){if(a.j.j){Pu(a);b=a.j.j;Qu(a);Ru(a,Id(b,8));Su(a,Id(b,8));a.title.text(B(b,4)||"");a.ma.text(B(b,5)||"");a.ga.text(B(b,15)||"");S(a.root.find("#cancel-add-root-button"));S(a.root.find(".stop-syncing-label"));a.B||a.A||Tu(a,b);b.kb()&&Ed(b,13)!=3&&a.m&&No(a.m);b.Wb()&&Ed(b,14)!=3&&a.l?(No(a.l),a.H=!0):a.H=!1;if(a.B||a.A)Po(a.l),a.D.addClass("red-warning-theme"),a.H&&(Qo(a.l),a.B&&!a.A&&a.D.removeClass("red-warning-theme")),R(a.D);Fu(a)}else if(Pu(a), b=a.j.m){Qu(a);Ru(a,a.j.o||1);Su(a,a.j.o);a.j.o!=3&&a.m&&No(a.m);a.title.text(b);Uu(a);if(a.B||a.A)Po(a.l),a.D.addClass("red-warning-theme"),R(a.D);Fu(a)}Lu(a);S(a.I);S(a.X);a.j.G?R(a.I):R(a.X)}else console.log("RootConfigurator could not validate options:"),console.log(a.j)}function Mu(a){return a.j.l?a.j.l:a.j.j?a.j.j.K():a.gb.K()} function Vu(a){a.v.m.W();a.J&&a.J.prop("disabled",!1);a.J=null;S(a.root.find("#indeterminate-progress-bar"));S(a.root.find("#root-configurator-scrim"));a.M&&a.M.focus();a.M=null}function su(a){a.j.j?Wu(a,a.j.j):Xu(a,a.j.m,a.j.v,a.j.l,a.j.o||1)}function vu(a,b){var c=Mu(a);a=M();K(a,c);c=new uf;Ad(c,9,vf,b);zf(L(a),c);Q(a)} function Fu(a){var b=a.m&&a.m.P(),c=a.l&&a.l.P();b||c?a.I.prop("disabled",!1):a.I.prop("disabled",!0);if(b&&c&&!a.B&&!a.A){var d=a.Pb.get("DOUBLE_QUOTA_WARNING"),e=a.root.find("#warning-banner-message");d?(e.text(d),R(e)):S(e);R(a.root.find("#warning-banner"))}else Yu(a);a.A&&(b||(Oo(a.l),Po(a.l)),c||Po(a.l))}function Yu(a){a.root.find("#warning-banner-message").text("");S(a.root.find("#warning-banner"))} function Qu(a){Yu(a);a.title.text("");a.ma.text("");a.ga.text("");S(a.na);a.m&&Oo(a.m);a.l&&Oo(a.l);a.C&&Zu(a);S(a.root.find("#root-configurator-account-switcher"));S(a.root.find("#folder-root-icon"));S(a.root.find("#usb-root-icon"));S(a.root.find("#nas-root-icon"));R(a.root.find("#cancel-add-root-button"));S(a.D)} function Ou(a){if(!a.j)return console.log("RootConfigurator.Options must be passed to populate."),!1;var b=rd(a.j.C,2,Pd,uc);if(a.j.l&&!b.has(Rd(a.j.l)||""))return console.log("Selected account is missing in the admin settings map."),!1;if(a.j.j&&y(a.j.j,Qd,9)&&!b.has(Rd(a.j.j.K())||""))return console.log("SyncRoot account is missing in the admin settings map."),!1;b=a.j.v!=null&&a.j.m&&a.j.l;return a.j.j||b?!!a.j.j+0+(a.j.v!=null||a.j.m!=null||a.j.l!=null)>1?(console.log("RootConfigurator was provided with ambiguous options."), !1):!0:(console.log("RootConfigurator must be populated with an existing UISyncRoot or a new rootPath, rootTitle, and accountToken."),!1)} function Tu(a,b){var c="",d="";d=b.kb()&&b.Wb();Ed(b,8)==2?(c=B(a.o,20)||"",d=B(a.o,12)||""):d?(c=B(a.o,21)||"",d=B(a.o,13)||""):b.kb()&&a.m?(c=B(a.o,19)||"",d=B(a.o,11)||""):(c=B(a.o,20)||"",d=B(a.o,12)||"");a.G.reset();ip(a.G,c,null,!0);jp(a.G,B(a.j.j,10)||"");b=new Z;b.type="text";b.label=B(a.o,6)||"";b.j=function(){$u(a)};kp(a.G,b);b=new Z;b.type="text";b.label=d;b.j=function(){if(a.j.j){var e=[];if(a.j.j.kb()){var f=Yl(oc(x(a.j.j,2)));f!=null&&e.push(f)}a.j.j.Wb()&&(f=Yl(oc(x(a.j.j,3))),f!=null&& e.push(f));$u(a);f=M();K(f,U());var g=new tf;e=t(e);for(var h=e.next();!h.done;h=e.next())Bd(g,Yb,h.value,hc);e=new uf;Ad(e,2,vf,g);zf(L(f),e);Q(f);a.done()}else cj(3,"Remove Root attempted for new Root.")};kp(a.G,b)} function Ju(a){a.C.reset();ip(a.C,B(a.o,24)||"",["photos-deprecation-confirmation-dialog-header"],!0);jp(a.C,B(a.o,25)||"");var b=new Z;b.type="text";b.label=B(a.o,26)||"";b.j=function(){Zu(a)};b=kp(a.C,b).j;b.classList.add("photos-deprecation-confirmation-dialog-back-button-margin");b=new Z;b.type="fill";b.l=!0;b.label=B(a.o,27)||"";b.j=function(){a.H=!1;Eu(a);Po(a.l);Zu(a)};b=kp(a.C,b).j;b.classList.add("photos-deprecation-confirmation-dialog-continue-button-margin")} function Uu(a){a.j.B||a.j.A?(S(a.na),a.j.B&&a.ma.text(a.j.B),a.j.A&&a.ga.text(a.j.A)):R(a.na)}function Pu(a){a.A=a.v.I;a.B=a.v.D;Nj(a.D.find("#photos-deprecation-warning-banner-message"),a.v.L).find("a").on("click",function(){av(a.v)}).addClass("gmTypographySubhead2").attr("href","javascript:void(0);");a.A&&a.l.m.classList.add("hidden")} function Ru(a,b){if(b)switch(b){case 1:R(a.root.find("#folder-root-icon"));break;case 2:R(a.root.find("#usb-root-icon"));break;case 3:R(a.root.find("#nas-root-icon"));break;case 0:R(a.root.find("#folder-root-icon"))}}function Eu(a){if(a.j.j&&a.j.j.kb()||!a.m||!a.m.P())var b=!1;else a.j.j?yu(a.R,B(a.j.j,11)||"",B(a.j.j,4)||""):yu(a.R,a.j.v,a.j.m),bv(a),b=!0;b||(a.j.j?Wu(a,a.j.j):Xu(a,a.j.m,a.j.v,a.j.l,a.j.o||1))} function bv(a){a.M=document.activeElement;a.J=a.root.find("#root-configurator-dialog-root").find("a, input, textarea, select, button");a.J.prop("disabled",!0);R(a.root.find("#indeterminate-progress-bar"));R(a.root.find("#root-configurator-scrim"));cv(a.v,function(){})} function Wu(a,b){var c=a.m&&a.m.P(),d=a.l&&a.l.P();if(a.H&&!d){if(a.A){a.H=!1;Eu(a);Po(a.l);return}if(a.B){dv(a);return}}if(c||d||a.B||a.A){var e=new pf,f=rc(x(b,4));Kd(e,1,f);f=new Xd;if(b.kb()){var g=oc(x(b,2));gd(f,1,dc(g))}b.Wb()&&(g=oc(x(b,3)),gd(f,2,dc(g)));Jd(f,3,c);Jd(f,4,d);zd(e,2,f);c=b.K();b=M();K(b,c);c=new uf;Ad(c,4,vf,e);zf(L(b),c);Q(b);a.done()}else ev(a)} function Xu(a,b,c,d,e){if(d&&b&&c){var f=[];if(a.m&&a.m.P()){var g=new Vd;Kd(g,7,b);td(g,1,Wd,qc(c));Ld(g,4,e);Ld(g,3,1);zd(g,5,d);f.push(g)}a.l&&a.l.P()&&(g=new Vd,Kd(g,7,b),td(g,1,Wd,qc(c)),Ld(g,4,e),Ld(g,3,2),zd(g,5,d),f.push(g));b=M();K(b,d);d=new sf;f=t(f);for(c=f.next();!c.done;c=f.next()){g=d;e=c.value;var h=Vd;cd(g);c=g.F;g=wd(g,c,c[u]|0,h,1,2,!0);e=e!=null?e:new h;g.push(e);var l=h=g===Sa?7:g[u]|0;(e=ab(e))?(h&=-9,g.length===1&&(h&=-4097)):h|=4096;h!==l&&Ua(g,h);e||dd(c)}f=new uf;Ad(f,1, vf,d);zf(L(b),f);Q(b);a.done()}}function ev(a){a.G.open();cv(a.v,function(){$u(a)})}function $u(a){a.v.m.W();a.G.close()}function dv(a){a.C.open();cv(a.v,function(){Zu(a)})}function Zu(a){a.v.m.W();a.C.close()}k.done=function(){this.j=null;var a=M();K(a,U());var b=new uf;C(b,13,vf,!0);zf(L(a),b);Q(a)}; function Su(a,b){b&&(a.m&&(b==2?(Ko(a.m,Cu(B(a.o,4),!0)),Lo(a.m,B(a.o,5))):(Ko(a.m,Cu(B(a.o,2),!0)),Lo(a.m,B(a.o,3)))),b==3?(a.m&&Po(a.m),R(a.root.find("#nas-notification-banner"))):(a.m&&Qo(a.m),S(a.root.find("#nas-notification-banner"))))}k.Ye=function(a){var b=this.fb;a&&(b.j.l=a.K(),Tn(b,b.j));this.gb=a;Lu(this);Fu(this)};k.Hc=function(){};k.la=function(a){cv(this.v,a)};k.W=function(){this.v.m.W()}; function fv(){this.o=this.l=this.m=this.v=this.j=null;this.C=new Gf;this.G=!0;this.A=this.B=this.D=null};function gv(a,b,c,d){a=Pj(a).removeAttr("id");R(a);if(!b.K())return null;a.find("#root-title-label").text(B(b,4)||"");c=c?B(b,6):B(b,7);a.find("#root-size-label").text(c||"");Ed(b,8)==1?R(a.find("#root-folder-icon").removeAttr("id")):Ed(b,8)==3?R(a.find("#root-nas-icon").removeAttr("id")):Ed(b,8)==4?R(a.find("#root-apl-icon").removeAttr("id")):R(a.find("#root-usb-icon").removeAttr("id"));a.on("click",d);a.on("keypress",function(e){var f=e.keyCode;f!=32&&f!=13||d(e)});return a} function hv(a,b,c,d,e){this.m=a;this.j=null;b&&(this.j=b);this.root=c;this.l=d;this.ga=e;this.T=iv(this);this.X=jv(this);this.na=kv(this);this.xa=lv(this);this.ma=mv(this);this.M=[];this.J=new Map;this.G=new Map;this.H=new Set;this.C=null;this.A=[];this.B=[];this.o=new Du(this.root.find("#root-configurator-root"),this);this.D=this.I=!1;this.L="";this.R=this.root.find("#photos-deprecation-warning-banner");nv(this);ov(this);this.v=null}hv.prototype.show=function(){R(this.root)};hv.prototype.hide=function(){S(this.root)}; function pv(a,b,c,d){function e(g){a.v=g.target;g=M();K(g,b.K());var h=new uf,l=b.Va()||"";td(h,14,vf,qc(l));zf(L(g),h);Q(g)}if(b.kb()&&(a.A.push(b),Id(b,13)!=3)){var f=gv(c,b,!0,e);f&&(f.appendTo(a.root.find("#drive-roots-list")),qv(a,f,b.K(),b.Rc(),B(b,11)||""),a.H.has(b.Rc())?rv(f):sv(f),a.G.set(b.Rc(),f))}a.ga&&b.Wb()&&(a.B.push(b),tv(a,d),Id(b,14)!=3&&(c=b.fg()==4?gv(c,b,!1,function(){var g=M();K(g,U());var h=L(g);C(h,20,Af,!0);Q(g)}):gv(c,b,!1,e)))&&(c.appendTo(a.root.find("#photos-roots-list")), qv(a,c,b.K(),b.Sc(),B(b,11)||""),a.H.has(b.Sc())?rv(c):sv(c),a.G.set(b.Sc(),c))} function uv(a,b){F(b,1)&&Nj(a.root.find("#drive-roots-header-subtitle"),B(b,1)||"").find("a").on("click",function(){var d=M();K(d,a.l);var e=new uf;C(e,6,vf,!0);zf(L(d),e);Q(d)}).attr("href","javascript:void(0);");if(F(b,2)){var c=a.root.find("#photos-roots-header-subtitle-oq");Nj(c,B(b,2)||"").find("a").on("click",function(){var d=a.m,e=a.l,f=a.C;f&&d.L.open(e,f)}).attr("href","javascript:void(0);")}F(b,3)&&(c=a.root.find("#photos-roots-header-subtitle-hq"),Nj(c,B(b,3)||"").find("a").on("click", function(){var d=a.m,e=a.l,f=a.C;f&&d.L.open(e,f)}).attr("href","javascript:void(0);"))}function cv(a,b){a.m.la(b)}function av(a){var b=M();K(b,a.l);a=new uf;C(a,20,vf,!0);zf(L(b),a);Q(b)}function vv(a){a.o.open();a.m.la(function(){a.o.done()})}function rv(a){R(a.find("#root-warning-icon"));S(a.find("#root-warning-icon-placeholder"))}function sv(a){S(a.find("#root-warning-icon"));R(a.find("#root-warning-icon-placeholder"))} function qv(a,b,c,d,e){e&&(c=Rd(c)+"-"+d,b.find("#root-title-label").attr("aria-describedby",c),a.M.push(new al(c,e)),document.getElementById(c).classList.add("root-card-tooltip"))}function tv(a,b){var c=a.root.find("#photos-roots-header-subtitle-oq"),d=a.root.find("#photos-roots-header-subtitle-hq");S(c);S(d);b&&(a.C=b,Ed(a.C,1)==2?R(d):R(c))} function ov(a){var b=a.root.find("#drive-roots-header"),c=a.root.find("#drive-roots-list"),d=a.root.find("#photos-roots-header"),e=a.root.find("#photos-roots-list");if(a.A.length==0&&a.B.length==0)R(a.root.find("#no-roots-view")),S(a.root.find("#roots-view"));else{S(a.root.find("#no-roots-view"));R(a.root.find("#roots-view"));if(a.A.length==0)S(b),S(c);else{a:if(a.A.length==0)var f=!1;else{f=t(a.A);for(var g=f.next();!g.done;g=f.next())if(Ed(g.value,13)!=3){f=!1;break a}f=!0}f?(f=Pj(a.root.find("#empty-root-card-template")).removeAttr("id"), R(f),f.appendTo(c),R(b),R(c),R(a.root.find("#empty-drive-roots-header-subtitle")),S(a.root.find("#drive-roots-header-subtitle"))):(R(b),R(c),R(a.root.find("#drive-roots-header-subtitle")),S(a.root.find("#empty-drive-roots-header-subtitle")))}if(a.I)S(d),S(e);else if(a.B.length==0)S(d),S(e),a.D&&S(a.R);else{a:if(a.B.length==0)b=!1;else{b=t(a.B);for(c=b.next();!c.done;c=b.next())if(Ed(c.value,14)!=3){b=!1;break a}b=!0}b?(R(d),R(e),R(a.root.find("#empty-photos-roots-header-subtitle")),S(a.root.find("#photos-roots-header-subtitle-oq")), S(a.root.find("#photos-roots-header-subtitle-hq"))):(R(d),R(e),S(a.root.find("#empty-photos-roots-header-subtitle")),tv(a,a.C));a.D&&R(a.R)}}}function wv(a){var b=M();K(b,a.l);a=new uf;C(a,3,vf,!0);zf(L(b),a);Q(b)} function xv(a,b,c){if(b){b=t(b);for(var d=b.next(),e={};!d.done;e={aa:void 0,Ya:void 0},d=b.next()){e.Ya=d.value;e.aa=Pj(a.root.find("#notification-template")).removeAttr("id");F(e.Ya,3)?e.aa.find(".notification-title").text(B(e.Ya,3)||""):e.aa.find(".notification-title").remove();F(e.Ya,4)?(Nj(e.aa.find(".notification-description"),B(e.Ya,4)),e.aa.find("#out-of-quota").attr("href","javascript:void(0);").on("click",function(){var h=M();K(h,a.l);var l=new uf;C(l,8,vf,!0);zf(L(h),l);Q(h)}),e.aa.find("#almost-out-of-quota").attr("href", "javascript:void(0);").on("click",function(){var h=M();K(h,a.l);var l=new uf;C(l,16,vf,!0);zf(L(h),l);Q(h)}),e.aa.find("#clean-up-out-of-quota").attr("href","javascript:void(0);").on("click",function(){var h=M();K(h,a.l);var l=new uf;C(l,17,vf,!0);zf(L(h),l);Q(h)}),e.aa.find("#clean-up-almost-out").attr("href","javascript:void(0);").on("click",function(){var h=M();K(h,a.l);var l=new uf;C(l,18,vf,!0);zf(L(h),l);Q(h)}),e.aa.find("#free-storage-learn-more").attr("href","javascript:void(0);").on("click", function(){var h=M();K(h,a.l);var l=new uf;C(l,15,vf,!0);zf(L(h),l);Q(h)}),e.aa.find("#change-upload-size").attr("href","javascript:void(0);").on("click",function(){var h=a.m,l=a.l,m=a.m.J.get(a.l);m&&h.L.open(l,m)})):e.aa.find(".notification-description").remove();d=e.aa.find(".notification-info-icon");var f=e.aa.find(".notification-warning-icon"),g=e.aa.find(".notification-error-icon");S(d);S(g);S(f);switch(Id(e.Ya,2)){case 2:R(f);e.aa.addClass("warning-notification");break;case 1:R(d);e.aa.addClass("info-notification"); break;case 3:R(g),e.aa.addClass("error-notification")}e.aa.appendTo(c);a.J.set(Gd(e.Ya,1)||0,e.aa);R(e.aa);d=e.aa.find(".dismiss-notification-button");if(!Fd(e.Ya,6,!0)){S(d);break}f=new xm;f.j="ic_close_grey600_24dp.svg";f.color="grey";a.j&&(f.ariaLabel=B(a.j,8)||"");f.l=function(h){return function(){var l=h.Ya.Va(),m=M();K(m,a.l);var n=new uf;td(n,5,vf,dc(l));zf(L(m),n);Q(m)}}(e);wm(d[0],f)}}} hv.prototype.focus=function(){this.v?(this.v.focus(),this.v=null):this.root.find("#no-roots-view")[0].classList.contains("hidden")?this.T.j.focus():this.X.j.focus()};function Iu(){var a=M();K(a,U());var b=new uf;C(b,7,vf,!0);zf(L(a),b);Q(a)}function yv(a,b){var c=M();K(c,a.l);a=new uf;Od(a,10,vf,b);zf(L(c),a);Q(c)} function iv(a){var b=new Z;b.type="filled_hairline";a.j&&(b.label=B(a.j,2)||"");b.S=["choose-folder-button"];b.j=function(){a.v=a.T.j;wv(a)};return new go(a.root.find("#create-backup-choose-folder-button")[0],b)}function jv(a){var b=new Z;b.type="fill";a.j&&(b.label=B(a.j,2)||"");b.S=["choose-folder-button"];b.j=function(){a.v=a.X.j;wv(a)};return new go(a.root.find("#no-roots-choose-folder-button")[0],b)} function kv(a){var b=new xm;b.j="ic_close_grey600_24dp.svg";b.color="grey";b.S=["dismiss-notification-button"];a.j&&(b.ariaLabel=B(a.j,8)||"");b.l=function(){yv(a,1)};return new sm(a.root.find("#dismiss-nas-notification-button")[0],b)}function lv(a){var b=new xm;b.j="ic_close_grey600_24dp.svg";b.color="grey";b.S=["dismiss-notification-button"];a.j&&(b.ariaLabel=B(a.j,8)||"");b.l=function(){yv(a,2)};return new sm(a.root.find("#dismiss-usb-notification-button")[0],b)} function mv(a){var b=new xm;b.j="ic_close_grey600_24dp.svg";b.color="grey";b.S=["dismiss-notification-button"];a.j&&(b.ariaLabel=B(a.j,8)||"");b.l=function(){yv(a,3)};return new sm(a.root.find("#dismiss-double-upload-notification-button")[0],b)} function nv(a){if(a.j){Hu(a.o,z(a.j,Mf,1));Nj(a.root.find("#roots-lists-subtitle"),B(a.j,7)).find("a").on("click",function(){Iu()}).attr("href","javascript:void(0);");a.root.find("#drive-roots-header-title").text(B(a.j,3)||"");a.root.find("#empty-drive-roots-header-subtitle").text(B(a.j,12)||"");a.root.find("#photos-roots-header-title").text(B(a.j,4)||"");a.root.find("#empty-photos-roots-header-subtitle").text(B(a.j,13)||"");a.root.find("#no-roots-title").text(B(a.j,5)||"");Nj(a.root.find("#no-roots-subtitle"), B(a.j,6)).find("a").on("click",function(){var c=M();K(c,U());var d=new uf;C(d,11,vf,!0);zf(L(c),d);Q(c)}).attr("href","javascript:void(0);");var b=a.root.find("#root-notifications-list");b.find("#nas-notification .notification-description").text(B(a.j,9)||"");b.find("#usb-notification .notification-description").text(B(a.j,10)||"");b.find("#double-upload-notification .notification-description").text(B(a.j,11)||"");a.root.find(".notification-info-icon").attr("aria-label",B(a.j,14)||"");a.root.find(".notification-warning-icon").attr("aria-label", B(a.j,15)||"");a.root.find(".notification-error-icon").attr("aria-label",B(a.j,16)||"");a.I=A(a.j,17);a.D=A(a.j,18);a.L=B(a.j,19)||"";Nj(a.root.find("#photos-deprecation-warning-banner-message"),a.L).find("a").on("click",function(){av(a)}).addClass("gmTypographySubhead2").attr("href","javascript:void(0);")}};function zv(){} function Av(a){var b=this;this.root=$("#main-view");this.o=new Qj;this.m=new Qj;this.R=new Qj;this.C=a;this.H=new Pn(this,this.root.find("#account-switcher"));this.B=new An(this,this.root.find("#preferences-help-menu-anchor")[0]);Cn(this.B,function(c){switch(c){case "open_help":c=M();K(c,U());var d=L(c);C(d,9,Af,!0);Q(c);break;case "start_tour":b.I.open(Bv(b));break;case "send_feedback":c=M();K(c,U());d=L(c);C(d,10,Af,!0);Q(c);break;default:console.assert(!1,"unknown preferences help menu item")}});this.T= Cv(this);Fn(this.B,this.T.j);this.L=new zu(this.root.find("#photos-upload-settings-root"),this);this.xa=new Dt(this.root.find("#dialog-tour-anchor"),this);this.I=new yt(this.root.find("#dialog-greeter-anchor"),this);this.j=null;this.v=this.root.find("#my-computer-tab");ij(this.v[0],function(){Dv(2)});this.G=this.root.find("#google-drive-tab");ij(this.G[0],function(){Dv(1)});this.ga=Ev(this);this.ma=Fv(this);this.na=Gv(this);a=new lp;a.j=["pending-sign-in-dialog"];this.A=new hp(this.root.find("#pending-sign-in-dialog-root")[0], a);this.l=this.J=null;this.D=new Gf;this.M=new Qj;this.X=!1} function Hv(a,b){if(b){a.l=b;a.root.find("#product-name").text(B(b,9)||"");Nj(a.root.find("#inner-wordmark-container"),B(b,18));a.root.find("#my-computer-tab-sublabel").text(B(b,6)||"");a.root.find("#google-drive-tab-label").text(B(b,7)||"");a.root.find("#google-drive-tab-sublabel").text(B(b,8)||"");um(a.T,B(b,11)||"");vm(a.T,B(b,11)||"");um(a.ga,B(b,12)||"");vm(a.ga,B(b,12)||"");io(a.na,B(b,16)||"");io(a.ma,B(b,17)||"");a.root.find("#main-view-footer #pending-changes-label").text(B(b,19)||"");a.A.reset(); ip(a.A,B(a.l,20),null,!0);jp(a.A,B(a.l,21));jp(a.A).classList.add("spinner","pending-sign-in-spinner");var c=new Z;c.type="text";c.label=B(a.l,22)||"";c.j=function(){Iv()};kp(a.A,c);Sn(a.H,z(b,Hf,1));Au(a.L,z(b,hg,3));Dn(a.B,"open_help",B(b,13)||"");Dn(a.B,"start_tour",B(b,14)||"");En(a.B);Dn(a.B,"send_feedback",B(b,15)||"")}}function it(a,b){a.J=b;b=t(a.o);for(var c=b.next();!c.done;c=b.next()){c=t(c.value);var d=c.next().value;tv(c.next().value,a.J.get(d))}} function Jv(a,b){b.forEach(function(c,d){d&&a.M.map.set(d,c)})}function Kv(a,b){return a.D?rd(a.D,2,Pd,uc).get(Rd(b)||"")||null:(cj(3,"accountAdminSettings value is uninitialized"),null)} function Lv(a,b){if(b){for(var c=t(a.o.values()),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=t(d.M),f=e.next();!f.done;f=e.next())f.value.remove();d.M=[];d.A=[];d.B=[];d.root.find("#drive-roots-list").empty();d.root.find("#photos-roots-list").empty()}c=a.root.find("#root-card-template");b=t(b);for(d=b.next();!d.done;d=b.next())d=d.value,e=d.K(),(f=a.o.get(e))?pv(f,d,c,a.J.get(e)):cj(3,"Received Root with no account in account map.");a=t(a.o.values());for(b=a.next();!b.done;b=a.next())ov(b.value)}} function Bv(a){var b=z(a.l,ug,4),c=new Ct;c.B=B(b,9);c.v=B(b,10);c.j=function(){a.I.close()};c.A=B(b,11);c.l=function(){a.I.close();var d=a.xa,e=z(a.l,ug,4),f=new Lt;f.l=B(e,18);f.v=B(e,19);f.o=B(e,20);f.m=B(e,21);a.v.hasClass("hidden")||f.j.push(new Kt(a.v,"right",B(e,12),B(e,13)));f.j.push(new Kt(a.G,"right",B(e,14),B(e,15)));var g=a.root.find("#account-switcher");g.hasClass("hidden")||f.j.push(new Kt(g,"bottom_right",B(e,16),B(e,17)));Gt(d,f)};c.title=B(b,1);c.o=B(b,2);c.m.push(new At("ic_folder_24px.svg", B(b,3),Bt(B(b,4))),new At("ic_folder_with_drive_logo_outline.svg",B(b,5),Bt(B(b,6))),new At("ic_account_circle_24dp.svg",B(b,7),Bt(B(b,8))));return c}Av.prototype.la=function(a){mt(this.C,a)};Av.prototype.W=function(){vs(this.C)};function gu(a){a.root.find("#preferences-main-view").addClass("show-footer")}function hu(a){a.root.find("#preferences-main-view").removeClass("show-footer")}Av.prototype.Ye=function(a){if(a){var b=M();K(b,U());var c=L(b);Ad(c,19,Af,a);Q(b)}}; function Mv(a,b){if(b){var c=a.H;b&&(c.j.l=b.K(),Tn(c,c.j));a.j=b;b=a.j.K();c=t(a.o);for(var d=c.next();!d.done;d=c.next()){var e=t(d.value);d=e.next().value;e=e.next().value;Sj(d,b)?e.show():e.hide()}c=t(a.m);for(d=c.next();!d.done;d=c.next())e=t(d.value),d=e.next().value,e=e.next().value,Sj(d,b)?e.show():e.hide();c=a.root.find("#account-info-notification");a.M.has(b)?(c.find(".notification-description").text(a.M.get(b)),c.find(".notification-error-icon").attr("aria-label",B(a.l,23)||""),c.show()): c.hide();Nv(a);b=a.R.get(a.j.K())||"";a.root.find("#my-computer-tab-label").text(b);a.root.find("#roots-lists-title").text(b)}}function Nv(a){if(a.j){var b=a.j.K();b&&((b=Kv(a,b))&&Fd(b,5,!0)?R(a.v):S(a.v))}}Av.prototype.Hc=function(){var a=M();K(a,U());var b=L(a);C(b,6,Af,!0);Q(a)};function Ov(a){a.G.removeClass("selected-tab");a.v.addClass("selected-tab");R(a.root.find("#roots-body"));var b=a.m.get(a.j.K());b&&b.hide();S(a.root.find("#google-drive-body"));a.v.focus()} function Pv(a){a.v.removeClass("selected-tab");a.G.addClass("selected-tab");S(a.root.find("#roots-body"));R(a.root.find("#google-drive-body"));var b=a.m.get(a.j.K());if(b&&(b.show(),a.X)){ku(b);b=M();K(b,U());var c=L(b);C(c,13,Af,!0);Q(b)}a.G.focus()}function Bu(a,b,c){a=nt(a.C.j);var d=z(a,Te,1);d=rd(d,2,ye,uc);b=ze(d.get(Rd(b)||""));Ld(b,1,c);c=new $e;Ad(c,4,af,a);a=M();K(a,U());Bf(L(a),c);Q(a)}function Iv(){var a=M();K(a,U());var b=L(a);C(b,14,Af,!0);Q(a)} function Qv(a){a.A.open();mt(a.C,function(){Iv()})}function Cv(a){var b=new xm;b.j="ic_help_outline_grey600_24dp.svg";b.color="grey";return new sm(a.root.find("#preferences-help-button")[0],b)}function Ev(a){var b=new xm;b.j="ic_settings_grey_24dp.svg";b.color="grey";b.l=function(){Dv(3)};return new sm(a.root.find("#advanced-settings-button")[0],b)} function Fv(a){var b=new Z;b.type="text";b.j=function(){if(a.root.find("#google-drive-body")[0].classList.contains("hidden")){var c=M();K(c,a.j.K());var d=L(c);C(d,12,Af,!0);Q(c)}else(c=a.m.get(a.j.K()))&&c.cancel()};return new go(a.root.find("#main-view-footer #cancel-button")[0],b)} function Gv(a){var b=new Z;b.type="fill";b.j=function(){if(a.root.find("#google-drive-body")[0].classList.contains("hidden")){var c=M();K(c,a.j.K());var d=L(c);C(d,11,Af,!0);Q(c)}else if(c=a.m.get(a.j.K())){d=new qf;C(d,9,rf,!0);var e=M();K(e,c.l);Df(L(e),d);Q(e)}};return new go(a.root.find("#main-view-footer #save-button")[0],b)};var Rv={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",Mb:"mdc-snackbar--opening"},Sv={Bh:".mdc-snackbar__action",sb:"MDCSnackbar:closed",tb:"MDCSnackbar:closing",di:"mdcSnackbarLabelText",mi:".mdc-snackbar__dismiss",cb:".mdc-snackbar__label",eb:"MDCSnackbar:opened",Nb:"MDCSnackbar:opening",Si:"action",Ti:"dismiss",Ik:"secondary-action",nf:".mdc-snackbar__surface"},Tv={hi:5E3,We:-1,Dk:1E4,Ek:4E3,aj:75,bj:150,Qh:1E3};var Uv=Rv.Mb,Vv=Rv.OPEN,Wv=Rv.CLOSING,Xv=Sv.Si,Yv=Sv.Ti;function Zv(a){N.call(this,Object.assign({},Zv.l,a));this.v=!1;this.o=this.l=this.m=0;this.A=Tv.hi}r(Zv,N);Zv.prototype.open=function(){var a=this;clearTimeout(this.o);this.o=0;this.v=!0;this.j.mb();this.j.removeClass(Wv);this.j.addClass(Uv);this.j.Lc();$v(this,function(){a.j.addClass(Vv);a.l=setTimeout(function(){var b=a.A;aw(a);a.j.Bc();b!==Tv.We&&(a.o=setTimeout(function(){a.close(Yv)},b))},Tv.bj)})}; Zv.prototype.close=function(a){var b=this;a=a===void 0?"":a;this.v&&(cancelAnimationFrame(this.m),this.m=0,clearTimeout(this.o),this.o=0,this.v=!1,this.j.lb(a),this.j.addClass(Rv.CLOSING),this.j.removeClass(Rv.OPEN),this.j.removeClass(Rv.Mb),clearTimeout(this.l),this.l=setTimeout(function(){aw(b);b.j.zc(a)},Tv.aj))};function aw(a){a.l=0;a.j.removeClass(Rv.Mb);a.j.removeClass(Rv.CLOSING)} function $v(a,b){cancelAnimationFrame(a.m);a.m=requestAnimationFrame(function(){a.m=0;clearTimeout(a.l);a.l=setTimeout(b,0)})}p.Object.defineProperties(Zv,{j:{configurable:!0,enumerable:!0,get:function(){return Rv}},m:{configurable:!0,enumerable:!0,get:function(){return Sv}},o:{configurable:!0,enumerable:!0,get:function(){return Tv}},l:{configurable:!0,enumerable:!0,get:function(){return{addClass:function(){},Lc:function(){},zc:function(){},lb:function(){},Bc:function(){},mb:function(){},removeClass:function(){}}}}});var bw=Tv.Qh,cw=Sv.di;function dw(a,b){b=b===void 0?a:b;var c=a.getAttribute("aria-live"),d=b.textContent.trim();if(d&&c){a.setAttribute("aria-live","off");b.textContent="";var e=document.createElement("span");e.setAttribute("style","display: inline-block; width: 0; height: 1px;");e.textContent="\u00a0";b.appendChild(e);b.dataset[cw]=d;setTimeout(function(){a.setAttribute("aria-live",c);delete b.dataset[cw];b.textContent=d},bw)}};var ew=Sv.nf,fw=Sv.cb,gw=Sv.Bh,hw=Sv.mi,iw=Sv.Nb,jw=Sv.eb,kw=Sv.tb,lw=Sv.sb;function mw(){O.apply(this,arguments)}r(mw,O);k=mw.prototype;k.bb=function(a){this.Lc=(a===void 0?function(){return dw}:a)()}; k.Ba=function(){var a=this;this.C=this.root.querySelector(ew);this.l=this.root.querySelector(fw);this.m=this.root.querySelector(gw);this.o=function(b){var c=a.j;b.key!=="Escape"&&b.keyCode!==27||c.close(Yv)};this.A=function(b){b=b.target;Gh(b,gw)?a.j.close(Xv):Gh(b,hw)&&a.j.close(Yv)};qh(this,"keydown",this.o);this.C.addEventListener("click",this.A)};k.open=function(){this.j.open()};k.close=function(a){this.j.close(a===void 0?"":a)}; k.Y=function(){var a=this;return new Zv({addClass:function(b){a.root.classList.add(b)},Lc:function(){a.Lc(a.l)},zc:function(b){sh(a,lw,b?{reason:b}:{})},lb:function(b){sh(a,kw,b?{reason:b}:{})},Bc:function(){sh(a,jw,{})},mb:function(){sh(a,iw,{})},removeClass:function(b){a.root.classList.remove(b)}})}; p.Object.defineProperties(mw.prototype,{B:{configurable:!0,enumerable:!0,get:function(){return this.l.textContent},set:function(a){this.l.textContent=a}},v:{configurable:!0,enumerable:!0,get:function(){return this.m.textContent},set:function(a){this.m.textContent=a}}});function nw(){this.root=$("#snackbar-view");this.j=new Map} function ow(a,b){if(b){b=xd(b,Pf,1,jd());b=t(b);for(var c=b.next(),d={};!c.done;d={Gc:void 0},c=b.next())if(c=c.value,d.Gc=Yl(oc(x(c,1)))||0,!a.j.has(d.Gc)){var e=Pj(a.root.find("#snackbar-template")).removeAttr("id");e.addClass("dfs-snackbar");var f=new mw(e[0]);f.B=B(c,2)||"";a.root.find("#snackbar-view").append(e);F(c,3)?f.v=B(c,3)||"":e.find("#snackbar-action-button").remove();e.find("#snackbar-dismiss-button").attr("aria-label",B(c,4)||"");e[0].addEventListener("MDCSnackbar:closing",function(g){return function(h){h= h.detail.reason;if(h==="action"){h=g.Gc;var l=new kf;td(l,1,lf,dc(h));pw(l)}else h=="dismiss"&&(h=g.Gc,l=new kf,td(l,2,lf,dc(h)),pw(l))}}(d));f.open();a.j.set(d.Gc,e)}}};function qw(){this.l=new Av(this);this.m=new Mt(function(){wt()});this.j=new Hs(this);Oj(document.documentElement);this.M=new nw;this.I=this.J=this.L=!1;this.B=null;this.A=new hp($("#reboot-requested-dialog-root")[0],new lp);this.o=new hp($("#confirmation-popover-root")[0],new lp);this.v=new hp($("#error-message-dialog-root")[0],new lp);this.H=null;var a=new lp;a.j=["pending-action"];this.C=new hp($("#pending-action-root")[0],a);this.D=new Set;this.G=new Set}r(qw,zv); qw.prototype.zh=function(a,b,c){var d=Bg(a),e=Bg(b),f=Bg(c);ej(d);ej(e);if(y(d,zg,10)){var g=z(d,zg,10);if(y(g,xg,1)){var h=z(g,xg,1);rw(this,h);Hv(this.l,z(h,wg,14));at(this.j,z(h,eg,15));var l;if(l=y(h,wg,14)){var m=z(h,wg,14);l=!!A(m,10)}this.I=l}if(D(g,17)&&A(g,17)&&!this.J){for(var n=this.m,w=[].concat(oa(n.j)).reverse(),E=t(w),J=E.next();!J.done;J=E.next()){var H=J.value;H()}n.j=[];this.j.reset();var P=this.l;P.H.Rb();P.B.close();document.activeElement.blur()}if(D(g,18)&&A(g,18)){var ba=this.l; ba.I.open(Bv(ba))}y(g,Qf,14)&&ow(this.M,z(g,Qf,14));if(y(g,Gf,13)){var ja=z(g,Gf,13);if(ja){this.l.D=ja;var Y=this.j;Y.xa=ja;S(Y.root.find("#ignored-devices"));S(Y.root.find("#prompt-devices-checkbox"));S(Y.root.find("#prompt-devices-overridden-by-administrator"));S(Y.root.find("#notifications-settings"));for(var wa=t(rd(ja,2,Pd,uc)),Db=wa.next();!Db.done;Db=wa.next()){var Kb=t(Db.value);Kb.next();var Fc=Kb.next().value;if(Fd(Fc,6,!0)){R(Y.root.find("#ignored-devices"));R(Y.root.find("#prompt-devices-checkbox")); R(Y.root.find("#prompt-devices-overridden-by-administrator"));R(Y.root.find("#notifications-settings"));break}}}}sd(g,23,uc).size>0&&Jv(this.l,sd(g,23,uc));if(y(g,$f,3)){var Sb=this.j,Xa=z(g,$f,3);if(Xa){y(Xa,Te,12)&&et(Sb,z(Xa,Te,12));for(var Lb=rd(Xa,1,Vf,uc),kb=t(Lb.keys()),lb=kb.next();!lb.done;lb=kb.next()){var Sc=lb.value,ic=Rj(Sb.l,Sc);if(ic){var Gc=ic,tb=Lb.get(Sc);tb&&tb&&hs(Gc.D,tb)}}y(Xa,Yf,2)&&st(Sb,z(Xa,Yf,2));Zs(Sb,Xa)}}if(y(g,Kf,7)&&Lf(z(g,Kf,7)).length>0){var W=this.l,jc=z(g,Kf,7), Tc=this.I;if(jc){W.o.clear();W.root.find("#roots-body").empty();for(var Eb=t(W.m.values()),Uc=Eb.next();!Uc.done;Uc=Eb.next())Uc.value.hide();W.root.find("#google-drive-body").empty();W.j=Lf(jc)[0];for(var kc=t(Lf(jc)),Tb=kc.next();!Tb.done;Tb=kc.next()){var Ra=Tb.value.K();if(Ra){var Ba=Pj(W.root.find("#root-container-template")).removeAttr("id");Sj(Ra,W.j.K())&&R(Ba);var Md=W.o,Le=Md.set,lc=Ra,Me=W,mc=z(W.l,vg,5),nc=Ba,Nd=Ra,Nf=Kv(W,Ra);var gh=!!Nf&&Fd(Nf,4,!0);Le.call(Md,lc,new hv(Me,mc,nc,Nd, gh));Ba.appendTo(W.root.find("#roots-body"));var Of=Pj(W.root.find("#google-drive-settings-template")).removeAttr("id");Of.appendTo(W.root.find("#google-drive-body"));var Wj=new Zt(W,z(W.l,gg,2),Of,Ra),uw=Wj,Fp=Kv(W,Ra),Gp=uw.o;Fp&&(Fd(Fp,7,!0)?tr(Gp.j):nr(Gp.j));Sj(Ra,W.j.K())&&Wj.show();W.m.set(Ra,Wj)}}Nv(W);if(Lf(jc).length>1||Tc){var Yd=new Qn;Yd.j=jc;Yd.l=W.j.K();Yd.style=2;Yd.o=Tc;Yd.m=!0;Yd.v=A(W.l,24)||!1;Tn(W.H,Yd);R($("#account-switcher"))}else S($("#account-switcher"));Mv(W,W.j)}var vw= this.j,ww=z(g,Kf,7),xw=z(g,Kf,7);var yw=B(xw,2);ct(vw,ww,yw||"")}D(g,19)&&A(g,19)&&(this.L=!0,this.j.gb.hide());if(y(g,tg,2)){var Mb=this.l,fb=z(g,tg,2);if(fb){y(fb,jf,7)&&Mv(Mb,z(fb,jf,7));if(y(fb,jg,1))for(var Hp=kg(z(fb,jg,1)),Ip=t(Hp.keys()),Xj=Ip.next();!Xj.done;Xj=Ip.next()){var Jp=Xj.value,Kp=Rj(Mb.m,Jp);if(Kp){var zw=Kp,Aw=Hp.get(Jp);bu(zw,Aw)}}D(fb,2)&&(A(fb,2)?gu(Mb):hu(Mb));if(y(fb,rg,3))for(var Lp=sg(z(fb,rg,3)),Mp=t(Lp.keys()),Yj=Mp.next();!Yj.done;Yj=Mp.next()){var Np=Yj.value,Op=Rj(Mb.o, Np);if(Op){var ld=Op,Gb=Lp.get(Np);if(Gb){xd(Gb,mg,4,jd()).length>0&&xv(ld,xd(Gb,mg,4,jd()),ld.root.find("#account-notifications-list"));if(y(Gb,ee,5)){var Pp=void 0,Ue=ld,Ve=z(Gb,ee,5);if(Ve){var Zj=Ue.root.find("#root-notifications-list");A(Ve,1)&&(R(Zj.find("#nas-notification")),Ue.na.layout());A(Ve,2)&&(R(Zj.find("#usb-notification")),Ue.xa.layout());if(y(Ve,ce,3)){var Qp=Zj.find("#double-upload-notification"),Rp=Qp.find(".notification-title"),Bw=Rp.text,Cw=z(Ve,ce,3);Pp=B(Cw,2);Bw.call(Rp,Pp|| "");for(var Sp=t(de(z(Ve,ce,3))),ak=Sp.next();!ak.done;ak=Sp.next()){var Tp=ak.value,Up=Ue.G.get(Tp);Up&&(Ue.H.add(Tp),rv(Up))}R(Qp);Ue.ma.layout()}}}if(y(Gb,og,6)){var bk=ld,Zd=z(Gb,og,6),ck=B(Zd,2)||"",dk=B(Zd,1)||"",ek=Zd.K(),Vp=Id(Zd,4),Wp=B(Zd,6)||"",Xp=B(Zd,7)||"",Yp=z(Zd,ng,8)||null;cj(1,"Opening new Mirror Root modal with title: '"+ck+"', path: '"+dk+"', token: '"+Sd(ek)+"', rootMedium: '"+Vp+"', photosDisabledNotification: "+Yp+", sizeLabel: '"+Wp+"', contentDescription: '"+Xp+"'");if(ck&& dk&&ek){var Hc=new fv;Hc.m=ck;Hc.v=dk;Hc.l=ek;Hc.o=Vp;Hc.C=bk.m.D;Hc.G=!1;Hc.D=Yp;Hc.B=Wp;Hc.A=Xp;Nu(bk.o,Hc);vv(bk)}}if(y(Gb,Sf,7)){var Zp=ld.o,Dw=z(Gb,Sf,7);Vu(Zp);qu(Zp.R,Dw)}if(y(Gb,pg,8)){var fk=ld,uh=z(Gb,pg,8);if(uh){cj(1,'Opening existing Mirror Root modal with title: "'+B(uh,4)+'" token: '+Sd(uh.K()));var vh=new fv;vh.j=uh;vh.C=fk.m.D;vh.G=!1;Nu(fk.o,vh);vv(fk)}}D(Gb,9)&&A(Gb,9)&&ld.o.done();uv(ld,Gb)}}}D(fb,4)&&(Mb.X=A(fb,4));D(fb,5)&&(A(fb,5)?Qv(Mb):(Mb.A.close(),vs(Mb.C)));if(y(fb,lg, 6)){var Ew=z(fb,lg,6);var $p=sd(Ew,1,uc);for(var aq=t($p.keys()),gk=aq.next();!gk.done;gk=aq.next()){var bq=gk.value,Fw=Mb.R,cq=bq,Gw=$p.get(bq)||"";cq&&Fw.map.set(cq,Gw)}Mv(Mb,Mb.j)}y(fb,jf,7)&&Mv(Mb,z(fb,jf,7))}}xd(g,pg,4,jd()).length>0&&Lv(this.l,xd(g,pg,4,jd(db)));sw(this,g)}if(y(e,zg,10)){var $d=z(e,zg,10);if(y($d,$f,3)){var wh=this.j,ae=z($d,$f,3);if(ae){y(ae,Te,12)&&et(wh,z(ae,Te,12));for(var eq=rd(ae,1,Vf,uc),fq=t(eq.keys()),hk=fq.next();!hk.done;hk=fq.next()){var gq=hk.value,hq=Rj(wh.l,gq); if(hq){var Hw=hq,ik=eq.get(gq);ik&&ik&&hs(Hw.D,ik)}}y(ae,Yf,2)&&tt(wh,z(ae,Yf,2));Zs(wh,ae)}}if(y($d,tg,2)){var Xb=this.l,vb=z($d,tg,2);if(vb){y(vb,jf,7)&&Mv(Xb,z(vb,jf,7));if(y(vb,jg,1))for(var iq=kg(z(vb,jg,1)),jq=t(iq.keys()),jk=jq.next();!jk.done;jk=jq.next()){var kq=jk.value,lq=Rj(Xb.m,kq);lq&&bu(lq,iq.get(kq))}D(vb,2)&&(A(vb,2)?gu(Xb):hu(Xb));if(y(vb,rg,3))for(var mq=sg(z(vb,rg,3)),nq=t(mq.keys()),kk=nq.next();!kk.done;kk=nq.next()){var oq=kk.value,pq=Rj(Xb.o,oq);if(pq){var bg=pq,Ic=mq.get(oq); if(Ic){if(y(Ic,ee,5)){var qq=void 0,Iw=bg,lk=z(Ic,ee,5);if(lk&&y(lk,ce,3)){var rq=Iw.root.find("#root-notifications-list #double-upload-notification .notification-title"),Jw=rq.text,Kw=z(lk,ce,3);qq=B(Kw,2);Jw.call(rq,qq||"")}}if(y(Ic,og,6)){var Lw=bg,sq=z(Ic,og,6),cg=Lw.o,Mw=B(sq,6)||"",Nw=B(sq,7)||"";cg.j&&!cg.j.j&&(cg.j.B=Mw,cg.j.A=Nw,Uu(cg))}D(Ic,9)&&A(Ic,9)&&bg.o.done();if(y(Ic,Sf,7)){var tq=bg.o,Ow=z(Ic,Sf,7);Vu(tq);qu(tq.R,Ow)}uv(bg,Ic)}}}D(vb,4)&&(Xb.X=A(vb,4));D(vb,5)&&(A(vb,5)?Qv(Xb):(Xb.A.close(), vs(Xb.C)));if(y(vb,lg,6)){var Pw=z(vb,lg,6);var uq=sd(Pw,1,uc);for(var vq=t(uq.keys()),mk=vq.next();!mk.done;mk=vq.next()){var wq=mk.value,Qw=Xb.R,xq=wq,Rw=uq.get(wq)||"";xq&&Qw.map.set(xq,Rw)}Mv(Xb,Xb.j)}}}xd($d,pg,4,jd()).length>0&&Lv(this.l,xd($d,pg,4,jd(db)));sw(this,$d)}if(y(f,zg,10)){var md=z(f,zg,10);if(y(md,Qf,14)){var yq=this.M,zq=z(md,Qf,14);if(zq)for(var Sw=xd(zq,Pf,1,jd()),Aq=t(Sw),nk=Aq.next();!nk.done;nk=Aq.next()){var Bq=Yl(oc(x(nk.value,1)))||0;yq.j.get(Bq).remove();yq.j.delete(Bq)}}if(y(md, tg,2)){var Cq=this.l,dg=z(md,tg,2);if(dg){if(y(dg,jg,1))for(var Dq=kg(z(dg,jg,1)),Eq=t(Dq.keys()),ok=Eq.next();!ok.done;ok=Eq.next()){var Fq=ok.value,Gq=Rj(Cq.m,Fq);if(Gq){var Hq=Gq;Dq.get(Fq)&&Hq.D&&Hq.D.remove()}}if(y(dg,rg,3))for(var Iq=sg(z(dg,rg,3)),Jq=t(Iq.keys()),pk=Jq.next();!pk.done;pk=Jq.next()){var Kq=pk.value,Lq=Rj(Cq.o,Kq);if(Lq){var xh=Lq,be=Iq.get(Kq);if(be){if(xd(be,mg,4,jd()).length>0){var Mq=xh,Nq=xd(be,mg,4,jd());if(Nq)for(var Oq=t(Nq),qk=Oq.next();!qk.done;qk=Oq.next()){var Pq= qk.value,Qq=Mq.J.get(Gd(Pq,1)||0);Qq&&(Qq.remove(),Mq.J.delete(Gd(Pq,1)||0))}}if(y(be,ee,5)){var rk=xh,We=z(be,ee,5);if(We){var sk=rk.root.find("#root-notifications-list");A(We,1)&&S(sk.find("#nas-notification"));A(We,2)&&S(sk.find("#usb-notification"));if(y(We,ce,3)){for(var Rq=t(de(z(We,ce,3))),tk=Rq.next();!tk.done;tk=Rq.next()){var Sq=tk.value,Tq=rk.G.get(Sq);Tq&&(rk.H.delete(Sq),sv(Tq))}var Tw=z(We,ce,3);hc(x(Tw,1))!=null&&S(sk.find("#double-upload-notification"))}}}if(y(be,og,6)){var uk=xh; uk.m.W();uk.o.close();uk.focus()}if(y(be,pg,8)){var vk=xh;vk.m.W();vk.o.close();vk.focus()}}}}}}if(y(md,$f,3)){var yh=this.j,zh=z(md,$f,3);if(zh){for(var Uq=rd(zh,1,Vf,uc),Vq=t(Uq.keys()),wk=Vq.next();!wk.done;wk=Vq.next()){var Wq=wk.value;Rj(yh.l,Wq)&&Uq.get(Wq)}y(zh,Yf,2)&&(yh.vf.close(),vs(yh.L));xd(zh,Ud,3,jd()).length>0&&Ws(yh,[])}}xd(md,pg,4,jd()).length>0&&Lv(this.l,[]);y(md,fg,5)&&(this.o.close(),vs(this))}}; function sw(a,b){D(b,8)&&(a.J=A(b,8));y(b,yg,6)&<(a.j,z(b,yg,6));F(b,10)&&B(b,10)&&a.H&&(Mj(a.H,B(b,10)||""),a.v.open(),Nt(a.m,function(){a.v.close();a.m.j.pop()}));D(b,11)&&(A(b,11)?(a.A.open(),Nt(a.m,function(){tw()})):(a.A.close(),a.m.j.pop()));y(b,fg,5)&&Uw(a,z(b,fg,5));if(Ed(b,12)!=null){var c=a.B;a.B=Id(b,12);a.L||c!=3||a.B==3||a.B==0||(a.G.forEach(function(d){clearTimeout(d)}),a.G.clear(),Vw(a));switch(a.B){case 1:Pv(a.l);break;case 2:Ov(a.l);break;case 3:a.D.forEach(function(d){clearTimeout(d)}), a.D.clear(),Ww(a,c!=null&&c!=0)}}Yl(oc(x(b,9)))&&xs(a.j);Yl(oc(x(b,15)))&&Vs(a.j,!0);D(b,16)&&(A(b,16)?a.C.open():a.C.close());F(b,20)&&(c=new Qd,Td(c,B(b,20)||""),qt(a.j,c));Yl(oc(x(b,21)))&&rt(a.j);F(b,22)&&(c=new Qd,Td(c,B(b,22)||""),a.j.l.get(c).ta.focus())} function rw(a,b){if(b){a.A.reset();ip(a.A,B(b,8),null,!0);var c=new Z;c.type="text";c.label=B(b,9)||"";c.j=function(){tw()};kp(a.A,c);c=new Z;c.type="fill";c.label=B(b,10)||"";c.j=function(){var d=M();K(d,U());var e=L(d);C(e,3,Af,!0);Q(d)};kp(a.A,c);a.v.reset();a.H=ip(a.v,null,["error-message-dialog-header-text"],!0);c=new Z;c.type="fill";c.label=B(b,11)||"";c.j=function(){a.v.close();a.m.j.pop()};kp(a.v,c);a.C.reset();b=document.createElement("div");b.classList.add("spinner");b.setAttribute("tabindex", "0");jp(a.C,null).appendChild(b)}}function tw(){var a=M();K(a,U());var b=L(a);C(b,7,Af,!0);Q(a)}function vs(a){a.m.j.pop()}function mt(a,b){Nt(a.m,b)}function pw(a){var b=M();K(b,U());var c=L(b);Ad(c,21,Af,a);Q(b)} function Uw(a,b){if(b){a.o.reset();ip(a.o,B(b,2),null,!0);F(b,3)&&jp(a.o,B(b,3));if(F(b,4)){var c=new Z;c.type="text";c.label=B(b,4)||"";c.j=function(){var d=M();K(d,U());var e=L(d);C(e,16,Af,!0);Q(d)};kp(a.o,c)}c=new Z;c.type="text";c.label=B(b,5)||"";c.j=function(){var d=M();K(d,U());var e=L(d);C(e,17,Af,!0);Q(d)};kp(a.o,c);a.o.open();mt(a,function(){var d=M();K(d,U());var e=L(d);C(e,18,Af,!0);Q(d)})}}function wt(){var a=M();K(a,U());var b=L(a);C(b,4,Af,!0);Q(a)} function Vw(a){$("#main-view").addClass("main-view-slide-in").removeClass("main-view-slide-out").removeClass("hidden");$("#advanced-settings").addClass("advanced-settings-slide-out").removeClass("advanced-settings-slide-in");var b=setTimeout(function(){a.D.delete(b);a.j.hide()},500);a.D.add(b)}function Dv(a){var b=M();K(b,U());var c=L(b);Od(c,15,Af,a);Q(b)} function Ww(a,b){var c="advanced-settings-slide-in";if(b===void 0||b){var d=setTimeout(function(){a.G.delete(d);$("#main-view").addClass("hidden")},500);a.G.add(d)}else c+="-no-animation",$("#main-view").addClass("hidden");$("#main-view").addClass("main-view-slide-out").removeClass("main-view-slide-in");$("#advanced-settings").addClass(c).removeClass("advanced-settings-slide-out");a.j.show()}qw.prototype.updateViewDiff=qw.prototype.zh; (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=Ff();c=z(b,cf,4);C(c,2,df,!0);Q(b);a()},!1)})(function(){var a=new qw;window.updateViewDiff=function(b,c,d){a.zh(b,c,d)}});}).call(this);