Path: blob/master/phs/UberEats-Phishing/iframe_data/3200859437-idpiframe.js
996 views
/*12Copyright The Closure Library Authors.3SPDX-License-Identifier: Apache-2.04*/5var m,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ca;6if("function"==typeof Object.setPrototypeOf)ca=Object.setPrototypeOf;else{var da;a:{var ea={a:!0},fa={};try{fa.__proto__=ea;da=fa.a;break a}catch(a){}da=!1}ca=da?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}7var ha=ca,ia=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(ha)ha(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.nb=b.prototype},ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ka=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&8global,a];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}return globalThis},q=ka(this),la=function(a,b){if(b){var c=q;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ja(c,a,{configurable:!0,writable:!0,value:b})}},ma=function(){ma=function(){};q.Symbol||(q.Symbol=na)},oa=function(a,b){this.Wb=a;ja(this,"description",{configurable:!0,writable:!0,value:b})};oa.prototype.toString=function(){return this.Wb};9var na=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new oa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),qa=function(){ma();var a=q.Symbol.iterator;a||(a=q.Symbol.iterator=q.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ja(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pa(aa(this))}});qa=function(){}},pa=function(a){qa();a={next:a};a[q.Symbol.iterator]=function(){return this};return a},10t=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};11la("WeakMap",function(a){function b(){}function c(k){var l=typeof k;return"object"===l&&null!==k||"function"===l}function d(k){if(!t(k,g)){var l=new b;ja(k,g,{value:l})}}function e(k){var l=Object[k];l&&(Object[k]=function(p){if(p instanceof b)return p;d(p);return l(p)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),p=new a([[k,2],[l,3]]);if(2!=p.get(k)||3!=p.get(l))return!1;p.delete(k);p.set(l,4);return!p.has(k)&&4==p.get(l)}catch(r){return!1}}())return a;12var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,h=function(k){this.na=(f+=Math.random()+1).toString();if(k){k=n(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};h.prototype.set=function(k,l){if(!c(k))throw Error("Invalid WeakMap key");d(k);if(!t(k,g))throw Error("WeakMap key fail: "+k);k[g][this.na]=l;return this};h.prototype.get=function(k){return c(k)&&t(k,g)?k[g][this.na]:void 0};h.prototype.has=function(k){return c(k)&&t(k,g)&&t(k[g],13this.na)};h.prototype.delete=function(k){return c(k)&&t(k,g)&&t(k[g],this.na)?delete k[g][this.na]:!1};return h});14la("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(n([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),p=l.next();if(p.done||p.value[0]!=h||"s"!=p.value[1])return!1;p=l.next();return p.done||4!=p.value[0].x||"t"!=p.value[1]||!l.next().done?!1:!0}catch(r){return!1}}())return a;qa();var b=new WeakMap,c=function(h){this.ka={};this.R=15g();this.size=0;if(h){h=n(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this.ka[l.id]=[]);l.v?l.v.value=k:(l.v={next:this.R,S:this.R.S,head:this.R,key:h,value:k},l.list.push(l.v),this.R.S.next=l.v,this.R.S=l.v,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.v&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.ka[h.id],h.v.S.next=h.v.next,h.v.next.S=h.v.S,h.v.head=null,16this.size--,!0):!1};c.prototype.clear=function(){this.ka={};this.R=this.R.S=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).v};c.prototype.get=function(h){return(h=d(this,h).v)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=this.entries(),p;!(p=l.next()).done;)p=17p.value,h.call(k,p[1],p[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var p=h.ka[l];if(p&&t(h.ka,l))for(h=0;h<p.length;h++){var r=p[h];if(k!==k&&r.key!==r.key||k===r.key)return{id:l,list:p,index:h,v:r}}return{id:l,list:p,index:-1,v:void 0}},e=function(h,k){var l=h.R;return pa(function(){if(l){for(;l.head!=h.R;)l=l.S;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};18l=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.S=h.next=h.head=h},f=0;return c});19la("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;qa();var b=function(c){this.N=new Map;20if(c){c=n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.N.size};b.prototype.add=function(c){c=0===c?0:c;this.N.set(c,c);this.size=this.N.size;return this};b.prototype.delete=function(c){c=this.N.delete(c);this.size=this.N.size;return c};b.prototype.clear=function(){this.N.clear();this.size=0};b.prototype.has=function(c){return this.N.has(c)};b.prototype.entries=function(){return this.N.entries()};b.prototype.values=function(){return this.N.values()};b.prototype.keys=b.prototype.values;21b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.N.forEach(function(g){return c.call(d,g,g,e)})};return b});22la("Promise",function(a){function b(){this.T=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.yb=function(f){if(null==this.T){this.T=[];var h=this;this.zb(function(){h.tc()})}this.T.push(f)};var d=q.setTimeout;b.prototype.zb=function(f){d(f,0)};b.prototype.tc=function(){for(;this.T&&this.T.length;){var f=this.T;this.T=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(l){this.ic(l)}}}this.T=null};b.prototype.ic=function(f){this.zb(function(){throw f;23})};var e=function(f){this.ua=0;this.ib=void 0;this.ea=[];var h=this.Qa();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.Qa=function(){function f(l){return function(p){k||(k=!0,l.call(h,p))}}var h=this,k=!1;return{resolve:f(this.Yc),reject:f(this.hb)}};e.prototype.Yc=function(f){if(f===this)this.hb(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.fd(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;default:h=!1}h?24this.Xc(f):this.Eb(f)}};e.prototype.Xc=function(f){var h=void 0;try{h=f.then}catch(k){this.hb(k);return}"function"==typeof h?this.gd(h,f):this.Eb(f)};e.prototype.hb=function(f){this.Ub(2,f)};e.prototype.Eb=function(f){this.Ub(1,f)};e.prototype.Ub=function(f,h){if(0!=this.ua)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.ua);this.ua=f;this.ib=h;this.uc()};e.prototype.uc=function(){if(null!=this.ea){for(var f=0;f<this.ea.length;++f)g.yb(this.ea[f]);this.ea=null}};var g=25new b;e.prototype.fd=function(f){var h=this.Qa();f.xa(h.resolve,h.reject)};e.prototype.gd=function(f,h){var k=this.Qa();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(f,h){function k(I,V){return"function"==typeof I?function(jb){try{l(I(jb))}catch(kb){p(kb)}}:V}var l,p,r=new e(function(I,V){l=I;p=V});this.xa(k(f,l),k(h,p));return r};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.xa=function(f,h){function k(){switch(l.ua){case 1:f(l.ib);break;26case 2:h(l.ib);break;default:throw Error("Unexpected state: "+l.ua);}}var l=this;null==this.ea?g.yb(k):this.ea.push(k)};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var l=n(f),p=l.next();!p.done;p=l.next())c(p.value).xa(h,k)})};e.all=function(f){var h=n(f),k=h.next();return k.done?c([]):new e(function(l,p){function r(jb){return function(kb){I[jb]=kb;V--;0==V&&l(I)}}var I=[],V=0;do I.push(void 0),V++,c(k.value).xa(r(I.length-271),p),k=h.next();while(!k.done)})};return e});28var u=this||self,ra=function(){},sa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&29!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ua=function(a,b){function c(){}c.prototype=b.prototype;a.nb=b.prototype;a.prototype=new c;a.prototype.constructor=a};var va=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,va);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};ua(va,Error);va.prototype.name="CustomError";var wa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");va.call(this,c+a[d])};ua(wa,va);wa.prototype.name="AssertionError";30var xa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new wa(""+e,g||[]);},v=function(a,b,c){a||xa("",null,b,Array.prototype.slice.call(arguments,2));return a},ya=function(a,b){throw new wa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},za=function(a,b,c){"string"!==typeof a&&xa("Expected string but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2))};var Aa=Array.prototype.indexOf?function(a,b){v(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};var Ba=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Ca=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ka=function(a,b){if(b)a=a.replace(Da,"&").replace(Ea,"<").replace(Fa,">").replace(Ga,""").replace(Ha,"'").replace(Ia,"�");else{if(!Ja.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Da,"&"));-1!=a.indexOf("<")&&(a=a.replace(Ea,"<"));-1!=a.indexOf(">")&&(a=a.replace(Fa,">"));-1!=a.indexOf('"')&&(a=a.replace(Ga,"""));-1!=a.indexOf("'")&&(a=a.replace(Ha,31"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ia,"�"))}return a},Da=/&/g,Ea=/</g,Fa=/>/g,Ga=/"/g,Ha=/'/g,Ia=/\x00/g,Ja=/[\x00&<>"']/,La=function(a,b){return a<b?-1:a>b?1:0};var w;a:{var Ma=u.navigator;if(Ma){var Na=Ma.userAgent;if(Na){w=Na;break a}}w=""};var Oa=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};var Ra=function(a,b){this.mb=a===Pa&&b||"";this.fc=Qa};Ra.prototype.W=!0;Ra.prototype.V=function(){return this.mb};Ra.prototype.toString=function(){return"Const{"+this.mb+"}"};var Sa=function(a){if(a instanceof Ra&&a.constructor===Ra&&a.fc===Qa)return a.mb;ya("expected object of type Const, got '"+a+"'");return"type_error:Const"},Qa={},Pa={};var Ta=function(){this.bb=""};Ta.prototype.W=!0;Ta.prototype.V=function(){return this.bb.toString()};Ta.prototype.toString=function(){return"SafeScript{"+this.bb+"}"};Ta.prototype.X=function(a){this.bb=a;return this};(new Ta).X("");var Wa=function(a,b){this.fb=a===Ua&&b||"";this.ec=Va};m=Wa.prototype;m.W=!0;m.V=function(){return this.fb.toString()};m.Jb=!0;m.Va=function(){return 1};m.toString=function(){return"SafeUrl{"+this.fb+"}"};var Xa=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Va={},Ua={};var Ya=function(){this.eb=""};Ya.prototype.W=!0;Ya.prototype.V=function(){return this.eb};Ya.prototype.toString=function(){return"SafeStyle{"+this.eb+"}"};Ya.prototype.X=function(a){this.eb=a;return this};(new Ya).X("");var Za=function(){this.cb=""};Za.prototype.W=!0;Za.prototype.V=function(){return this.cb};Za.prototype.toString=function(){return"SafeStyleSheet{"+this.cb+"}"};Za.prototype.X=function(a){this.cb=a;return this};(new Za).X("");var x=function(){this.Ba="";this.dc=$a;this.Db=null};m=x.prototype;m.Jb=!0;m.Va=function(){return this.Db};m.W=!0;m.V=function(){return this.Ba.toString()};m.toString=function(){return"SafeHtml{"+this.Ba+"}"};32var ab=function(a){if(a instanceof x&&a.constructor===x&&a.dc===$a)return a.Ba;ya("expected object of type SafeHtml, got '"+a+"' of type "+sa(a));return"type_error:SafeHtml"},cb=function(a){if(a instanceof x)return a;var b="object"==typeof a,c=null;b&&a.Jb&&(c=a.Va());return bb(Ka(b&&a.W?a.V():String(a)),c)},$a={},bb=function(a,b){return(new x).X(a,b)};x.prototype.X=function(a,b){this.Ba=a;this.Db=b;return this};bb("<!DOCTYPE html>",0);var db=bb("",0);bb("<br>",0);var eb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=ab(db);return!b.parentElement}),fb=function(a){var b=document.location;a:{try{var c=b&&b.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||u;if(d.Element&&d.Location){var e=33d;break a}}catch(f){}e=null}if(e&&(!b||!(b instanceof e.Location)&&b instanceof e.Element)){if(ta(b))try{var g=b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b)}catch(f){g="<object could not be stringified>"}else g=void 0===b?"undefined":null===b?"null":typeof b;ya("Argument is not a Location (or a non-Element mock); got: %s",g)}a instanceof Wa||a instanceof Wa||(a="object"==typeof a&&a.W?a.V():String(a),v(Xa.test(a),"%s does not match the safe URL pattern",a)||(a="about:invalid#zClosurez"),34a=new Wa(Ua,a));a instanceof Wa&&a.constructor===Wa&&a.ec===Va?a=a.fb:(ya("expected object of type SafeUrl, got '"+a+"' of type "+sa(a)),a="type_error:SafeUrl");b.href=a};var gb=function(a){gb[" "](a);return a};gb[" "]=ra;var hb=-1!=w.indexOf("Opera"),ib=-1!=w.indexOf("Trident")||-1!=w.indexOf("MSIE"),lb=-1!=w.indexOf("Edge"),mb=-1!=w.indexOf("Gecko")&&!(-1!=w.toLowerCase().indexOf("webkit")&&-1==w.indexOf("Edge"))&&!(-1!=w.indexOf("Trident")||-1!=w.indexOf("MSIE"))&&-1==w.indexOf("Edge"),nb=-1!=w.toLowerCase().indexOf("webkit")&&-1==w.indexOf("Edge"),ob=function(){var a=u.document;return a?a.documentMode:void 0},pb;35a:{var qb="",rb=function(){var a=w;if(mb)return/rv:([^\);]+)(\)|;)/.exec(a);if(lb)return/Edge\/([\d\.]+)/.exec(a);if(ib)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(nb)return/WebKit\/(\S+)/.exec(a);if(hb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();rb&&(qb=rb?rb[1]:"");if(ib){var sb=ob();if(null!=sb&&sb>parseFloat(qb)){pb=String(sb);break a}}pb=qb}var tb=pb,ub={},vb;vb=u.document&&ib?ob():void 0;var wb={},xb=null;var yb=function(){this.u=-1};var zb=function(a,b,c){this.u=-1;this.F=a;this.u=c||a.u||16;this.Lb=Array(this.u);this.ab=Array(this.u);a=b;a.length>this.u&&(this.F.update(a),a=this.F.digest(),this.F.reset());for(c=0;c<this.u;c++)b=c<a.length?a[c]:0,this.Lb[c]=b^92,this.ab[c]=b^54;this.F.update(this.ab)};ua(zb,yb);zb.prototype.reset=function(){this.F.reset();this.F.update(this.ab)};zb.prototype.update=function(a,b){this.F.update(a,b)};36zb.prototype.digest=function(){var a=this.F.digest();this.F.reset();this.F.update(this.Lb);this.F.update(a);return this.F.digest()};var Ab=function(){this.u=64;this.o=Array(4);this.kc=Array(this.u);this.Fa=this.ja=0;this.reset()};ua(Ab,yb);Ab.prototype.reset=function(){this.o[0]=1732584193;this.o[1]=4023233417;this.o[2]=2562383102;this.o[3]=271733878;this.Fa=this.ja=0};37var Bb=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.o[0];c=a.o[1];e=a.o[2];var g=a.o[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>3815);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|39f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<405&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=41e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;42e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|43f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+443873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&454294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&464294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+g&4294967295};47Ab.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.u,d=this.kc,e=this.ja,g=0;g<b;){if(0==e)for(;g<=c;)Bb(this,a,g),g+=this.u;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.u){Bb(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.u){Bb(this,d);e=0;break}}this.ja=e;this.Fa+=b};48Ab.prototype.digest=function(){var a=Array((56>this.ja?this.u:2*this.u)-this.ja);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Fa;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};var Cb=function(a,b,c){for(;0<=(b=a.indexOf("hl",b))&&b<c;){var d=a.charCodeAt(b-1);if(38==d||63==d)if(d=a.charCodeAt(b+2),!d||61==d||38==d||35==d)return b;b+=3}return-1},Db=/#|$/,Eb=/[?&]($|#)/,Fb=function(a){var b=document.location.href;for(var c=b.search(Db),d=0,e,g=[];0<=(e=Cb(b,d,c));)g.push(b.substring(d,e)),d=Math.min(b.indexOf("&",e)+1||c,c);g.push(b.substr(d));b=g.join("").replace(Eb,"$1");(a="hl"+(null!=a?"="+encodeURIComponent(String(a)):""))?(c=b.indexOf("#"),0>c&&(c=b.length),d=b.indexOf("?"),490>d||d>c?(d=c,e=""):e=b.substring(d+1,c),b=[b.substr(0,d),e,b.substr(c)],c=b[1],b[1]=a?c?c+"&"+a:a:c,a=b[0]+(b[1]?"?"+b[1]:"")+b[2]):a=b;return a};var Gb={rd:!0},y=function(){throw Error("Do not instantiate directly");};y.prototype.Pa=null;y.prototype.toString=function(){return this.content};var Hb=function(){y.call(this)};ua(Hb,y);Hb.prototype.aa=Gb;var Ib=function(a){var b=null!=a&&a.aa===Gb;b&&v(a.constructor===Hb);return b};var Jb=Object.freeze||function(a){return a};var Kb=function(a){if(null!=a)switch(a.Pa){case 1:return 1;case -1:return-1;case 0:return 0}return null},Mb=function(a){return Ib(a)?a:a instanceof x?z(ab(a).toString(),a.Va()):z(Lb(String(a)),Kb(a))},z=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.Pa=d);return c}}(Hb),A=function(a){return Ib(a)?String(String(a.content).replace(Nb,"").replace(Ob,"<")).replace(Pb,Qb):Lb(a)},Rb=function(a,b){a||(a=b instanceof Function?b.displayName||50b.name||"unknown type name":b instanceof Object?b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b):null===b?"null":typeof b,ya("expected param origin of type string, but got "+a+"."));return b},Lb=function(a){a=String(a);return a=Ka(a,void 0)},Sb={"\x00":"�","\t":"	","\n":" ","\x0B":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ",51"\u2028":"
","\u2029":"
"},Qb=function(a){return Sb[a]},Pb=/[\x00\x22\x27\x3c\x3e]/g,Nb=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Ob=/</g;var Tb=function(a){var b=document;return"string"===typeof a?b.getElementById(a):a};var Vb=function(a,b,c,d){v(b,"Soy template may not be null.");c=b(c||Ub,void 0,d);if(ta(c))if(c instanceof y){if(c.aa!==Gb)throw Error("Sanitized content was not of kind HTML.");b=c.toString();c=c.Pa;d=new Ra(Pa,"Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value.");za(Sa(d),"must provide justification");v(!/^[\s\xa0]*$/.test(Sa(d)),"must provide non-empty justification");b=bb(b,c||null)}else ya("Soy template output is unsafe for use as HTML: "+c),b=cb("zSoyz");else b=cb(String(c));52a=v(a);if(eb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=ab(b)},Ub={};var Wb=function(){var a='<div class="'+A("dialog-header")+'"><div class="'+A("google-icon")+'">';var b=z('<svg class="'+A("icon")+'" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="#4285F4" d="M45.12 24.5c0-1.56-.14-3.06-.4-4.5H24v8.51h11.84c-.51 2.75-2.06 5.08-4.39 6.64v5.52h7.11c4.16-3.83 6.56-9.47 6.56-16.17z"/><path fill="#34A853" d="M24 46c5.94 0 10.92-1.97 14.56-5.33l-7.11-5.52c-1.97 1.32-4.49 2.1-7.45 2.1-5.73 0-10.58-3.87-12.31-9.07H4.34v5.7C7.96 41.07 15.4 46 24 46z"/><path fill="#FBBC05" d="M11.69 28.18C11.25 26.86 11 25.45 11 24s.25-2.86.69-4.18v-5.7H4.34C2.85 17.09 2 20.45 2 24c0 3.55.85 6.91 2.34 9.88l7.35-5.7z"/><path fill="#EA4335" d="M24 10.75c3.23 0 6.13 1.11 8.41 3.29l6.31-6.31C34.91 4.18 29.93 2 24 2 15.4 2 7.96 6.93 4.34 14.12l7.35 5.7c1.73-5.2 6.58-9.07 12.31-9.07z"/><path fill="none" d="M2 2h44v44H2z"/></svg>');53return z(a+b+"</div><p>Continue with Google</p></div>")},Xb=function(a){var b=z,c='<div class="'+A("dialog-footer")+'">',d=a.Ra;a=a.languages;var e='<div id="language_selector" class="'+A("language-selector")+'"><div class="'+A("language-selected")+'">';if((d instanceof y?d.content:d)&&(a instanceof y?a.content:a)){for(var g="",f=a.length,h=0;h<f;h++){var k=a[h],l=k.code;g+=(l&&d&&l.Jc&&d.Jc?l.aa!==d.aa?0:l.toString()===d.toString():l instanceof y&&d instanceof y?l.aa!=d.aa?0:l.toString()==d.toString():54l==d)?""+k.displayName:""}e+="<div>"+Mb(g)+"</div>"}e+='<div class="'+A("chevron")+'"></div></div><div id="language_list" class="'+A("language-list")+'">';if(a)for(d=a.length,g=0;g<d;g++)f=a[g],e+='<div class="'+A("language-option")+'" data-languagecode="'+A(f.code)+'">'+Mb(f.displayName)+"</div>";a=z(e+"</div></div>");c+=a;a='<ul class="'+A("footer-menu")+'"><li class="'+A("menu-item")+'"><a class="'+A("menu-content")+'" href="#">';a=a+'Help</a></li><li class="'+(A("menu-item")+'"><a class="'+A("menu-content")+55'" href="#">');a=a+'Privacy</a></li><li class="'+(A("menu-item")+'"><a class="'+A("menu-content")+'" href="#">');a=z(a+"Terms</a></li></ul>");return b(c+a+"</div>")};var Yb=function(a,b,c){b=c||b;var d=Rb("string"===typeof a.origin,a.origin);a=z;c='<div class="'+A("dialog-container dialog-modal")+'"><div class="'+A("dialog inflated-dialog")+'"><div class="'+A("dialog-body")+'">'+Wb()+'<div class="'+A("dialog-content")+'">';var e='<h1 class="'+A("title")+'">';e=z(e+"You'll need to give Safari permission to continue</h1>");c+=e;e=Rb("string"===typeof d,d);d='<div class="'+A("consent-form")+'"><p class="'+A("consent-text")+'">';e="In order to continue with your Google Account, Safari will ask if it's ok for Google to use cookies on "+56(Mb(e)+".");d=z(d+e+"</p></div>");c+=d;d='<div class="'+A("button-group")+'"><div class="'+A("button button-cancel")+'" id="confirm_no">';d=d+'Cancel</div><div class="'+(A("button button-confirm")+'" id="confirm_yes">');d=z(d+"Continue</div></div>");return a(c+d+"</div></div>"+Xb(b)+"</div></div>")};Yb.kd="oauth2.gsi.soy.itp.newgrant.dialog";var Zb=function(a,b,c){b=c||b;var d=Rb("string"===typeof a.origin,a.origin);a=z;c='<div class="'+A("dialog-container dialog-modal")+'"><div class="'+A("dialog")+'"><div class="'+A("dialog-body")+'">'+Wb()+'<div class="'+A("dialog-content")+'">';var e=Rb("string"===typeof d,d);d='<h1 class="'+A("title")+'">';e="Do you still want Safari to let Google use cookies on "+(Mb(e)+"?");d=z(d+e+"</h1>");c+=d;d='<div class="'+A("button-group button-group-high")+'"><div class="'+A("button button-cancel")+'" id="confirm_no">';57d=d+'No thanks</div><div class="'+(A("button button-confirm")+'" id="confirm_yes">');d=z(d+"Yes</div></div>");return a(c+d+"</div></div>"+Xb(b)+"</div></div>")};Zb.kd="oauth2.gsi.soy.itp.regrant.dialog";var $b;($b=!ib)||($b=9<=Number(vb));var ac=$b,bc;58if(bc=ib){var cc;if(Object.prototype.hasOwnProperty.call(ub,"9"))cc=ub["9"];else{for(var dc=0,ec=Ca(String(tb)).split("."),fc=Ca("9").split("."),gc=Math.max(ec.length,fc.length),hc=0;0==dc&&hc<gc;hc++){var ic=ec[hc]||"",jc=fc[hc]||"";do{var kc=/(\d*)(\D*)(.*)/.exec(ic)||["","","",""],lc=/(\d*)(\D*)(.*)/.exec(jc)||["","","",""];if(0==kc[0].length&&0==lc[0].length)break;dc=La(0==kc[1].length?0:parseInt(kc[1],10),0==lc[1].length?0:parseInt(lc[1],10))||La(0==kc[2].length,0==lc[2].length)||La(kc[2],lc[2]);59ic=kc[3];jc=lc[3]}while(0==dc)}cc=ub["9"]=0<=dc}bc=!cc}var mc=bc,nc=function(){if(!u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{u.addEventListener("test",ra,b),u.removeEventListener("test",ra,b)}catch(c){}return a}();var oc=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.gb=!1};oc.prototype.stopPropagation=function(){this.gb=!0};oc.prototype.preventDefault=function(){this.defaultPrevented=!0};var pc;pc=nb?"webkitTransitionEnd":hb?"otransitionend":"transitionend";var B=function(a,b){oc.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ma=null;a&&this.H(a,b)};ua(B,oc);var qc=Jb({2:"touch",3:"pen",4:"mouse"});60B.prototype.H=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(mb){a:{try{gb(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=61d.screenY||0):(this.offsetX=nb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=nb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=62a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:qc[a.pointerType]||"";this.state=a.state;this.ma=a;a.defaultPrevented&&this.preventDefault()};B.prototype.stopPropagation=function(){B.nb.stopPropagation.call(this);this.ma.stopPropagation?this.ma.stopPropagation():this.ma.cancelBubble=!0};63B.prototype.preventDefault=function(){B.nb.preventDefault.call(this);var a=this.ma;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,mc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var rc="closure_listenable_"+(1E6*Math.random()|0),sc=0;var tc=function(a,b,c,d,e){this.listener=a;this.Ca=null;this.src=b;this.type=c;this.capture=!!d;this.i=e;this.key=++sc;this.sa=this.Oa=!1},uc=function(a){a.sa=!0;a.listener=null;a.Ca=null;a.src=null;a.i=null};var vc=function(a){this.src=a;this.I={};this.Ga=0};vc.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.I[g];a||(a=this.I[g]=[],this.Ga++);var f=wc(a,b,d,e);-1<f?(b=a[f],c||(b.Oa=!1)):(b=new tc(b,this.src,g,!!d,e),b.Oa=c,a.push(b));return b};vc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.I))return!1;var e=this.I[a];b=wc(e,b,c,d);return-1<b?(uc(e[b]),v(null!=e.length),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.I[a],this.Ga--),!0):!1};64vc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Oa(this.I,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var wc=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.sa&&g.listener==b&&g.capture==!!c&&g.i==d)return e}return-1};var xc="closure_lm_"+(1E6*Math.random()|0),yc={},zc=0,Bc=function(a,b,c,d,e){if(d&&d.once)return Ac(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)Bc(a,b[g],c,d,e);return null}c=Cc(c);return a&&a[rc]?C(a,b,c,ta(d)?!!d.capture:!!d):Dc(a,b,c,!1,d,e)},Dc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=ta(e)?!!e.capture:!!e,h=Ec(a);h||(a[xc]=h=new vc(a));c=h.add(b,c,d,f,g);if(c.Ca)return c;d=Fc();c.Ca=d;d.src=a;d.listener=c;if(a.addEventListener)nc||(e=f),void 0===e&&(e=65!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Gc(b.toString()),d);else if(a.addListener&&a.removeListener)v("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");zc++;return c},Fc=function(){var a=Hc,b=ac?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)Ac(a,66b[g],c,d,e);return null}c=Cc(c);return a&&a[rc]?a.qd(b,c,ta(d)?!!d.capture:!!d,e):Dc(a,b,c,!0,d,e)},Ic=function(a){if("number"!==typeof a&&a&&!a.sa){var b=a.src;if(b&&b[rc])b.sd(a);else{var c=a.type,d=a.Ca;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Gc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);zc--;if(c=Ec(b)){d=a.type;if(d in c.I){var e=c.I[d],g=Aa(e,a),f;if(f=0<=g)v(null!=e.length),Array.prototype.splice.call(e,g,1);f&&(uc(a),0==c.I[d].length&&67(delete c.I[d],c.Ga--))}0==c.Ga&&(c.src=null,b[xc]=null)}else uc(a)}}},Gc=function(a){return a in yc?yc[a]:yc[a]="on"+a},Kc=function(a,b,c,d){var e=!0;if(a=Ec(a))if(b=a.I[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.sa&&(g=Jc(g,d),e=e&&!1!==g)}return e},Jc=function(a,b){var c=a.listener,d=a.i||a.src;a.Oa&&Ic(a);return c.call(d,b)},Hc=function(a,b){if(a.sa)return!0;if(!ac){if(!b)a:{b=["window","event"];for(var c=u,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;68break a}b=c}d=b;b=new B(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(f){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.gb&&0<=e;e--){b.currentTarget=d[e];var g=Kc(d[e],a,!0,b);c=c&&g}for(e=0;!b.gb&&e<d.length;e++)b.currentTarget=d[e],g=Kc(d[e],a,!1,b),c=c&&g}return c}return Jc(a,new B(b,this))},Ec=function(a){a=a[xc];return a instanceof vc?a:null},69Lc="__closure_events_fn_"+(1E9*Math.random()>>>0),Cc=function(a){v(a,"Listener can not be null.");if("function"==sa(a))return a;v(a.handleEvent,"An object listener must have handleEvent method.");a[Lc]||(a[Lc]=function(b){return a.handleEvent(b)});return a[Lc]};var Mc=function(){this.za=new Set},C=function(a,b,c,d){b=Bc(b,c,d);a.za.add(b);return b},Nc=function(a,b){Ic(b);a.za.delete(b)};var Oc=function(){this.za=new Set;this.Bb=null};ia(Oc,Mc);var Pc=function(a,b){if(a.Bb)throw Error("Component already rendered.");a.Bb=b};var Qc=function(){this.za=new Set;this.Y=this.kb=this.Da=null;this.Rb=!1};ia(Qc,Mc);Qc.prototype.register=function(a,b){var c=this;if(this.Rb)throw Error("LanguageSelectorModel is already registered.");this.Rb=!0;this.kb=a;this.Y=b;this.Ob=C(this,this.kb,"click",function(){return Rc(c)})};70var Rc=function(a){a.Y.style.visibility="visible";a.Y.style.opacity=1;Nc(a,a.Ob);a.Lc=C(a,document,"mouseup",function(b){return Sc(a,b)})},Sc=function(a,b){a.Da=b.target.getAttribute("data-languagecode");if(null!=a.Da||b.target!=a.Y)Nc(a,a.Lc),a.Kc=C(a,a.Y,pc,function(){return Tc(a)}),a.Y.style.opacity=0},Tc=function(a){Nc(a,a.Kc);a.Y.style.visibility="hidden";a.Ob=C(a,a.kb,"click",function(){return Rc(a)});if(null!=a.Da){var b=Fb(a.Da);fb(b)}};var Uc=function(a){var b=a.origin,c=a.Ra;a=a.languages;Oc.call(this);this.h=b;this.Cb=c;this.Pb=a};ia(Uc,Oc);Uc.prototype.Vc=function(a,b,c){Pc(this,a);Vb(a,Yb,{origin:this.h},{Ra:this.Cb,languages:this.Pb});a=Tb("confirm_yes");C(this,a,"click",function(){(void 0==document.hasStorageAccess?Promise.resolve():document.requestStorageAccess()).then(function(){return b()},function(){return c()})});a=Tb("confirm_no");C(this,a,"click",function(){return c()});Vc(this)};71Uc.prototype.Wc=function(a,b,c){Pc(this,a);Vb(a,Zb,{origin:this.h},{Ra:this.Cb,languages:this.Pb});a=Tb("confirm_yes");C(this,a,"click",function(){return b()});a=Tb("confirm_no");C(this,a,"click",function(){return c()});Vc(this)};var Vc=function(a){void 0==a.Nb&&(a.Nb=new Qc);var b=Tb("language_selector"),c=Tb("language_list");a.Nb.register(b,c)};var Wc,Xc,Yc=void 0,D=function(a){try{return u.JSON.parse.call(u.JSON,a)}catch(b){return!1}},E=function(a){return Object.prototype.toString.call(a)},Zc=E(0),$c=E(new Date(0)),ad=E(!0),bd=E(""),cd=E({}),dd=E([]),ed=function(a,b){if(b)for(var c=0,d=b.length;c<d;++c)if(a===b[c])throw new TypeError("Converting circular structure to JSON");d=typeof a;if("undefined"!==d){c=Array.prototype.slice.call(b||[],0);c[c.length]=a;b=[];var e=E(a);if(null!=a&&"function"===typeof a.toJSON&&(Object.prototype.hasOwnProperty.call(a,72"toJSON")||(e!==dd||a.constructor!==Array&&a.constructor!==Object)&&(e!==cd||a.constructor!==Array&&a.constructor!==Object)&&e!==bd&&e!==Zc&&e!==ad&&e!==$c))return ed(a.toJSON.call(a),c);if(null==a)b[b.length]="null";else if(e===Zc)a=Number(a),isNaN(a)||isNaN(a-a)?a="null":-0===a&&0>1/a&&(a="-0"),b[b.length]=String(a);else if(e===ad)b[b.length]=String(!!Number(a));else{if(e===$c)return ed(a.toISOString.call(a),c);if(e===dd&&E(a.length)===Zc){b[b.length]="[";var g=0;for(d=Number(a.length)>>0;g<d;++g)g&&73(b[b.length]=","),b[b.length]=ed(a[g],c)||"null";b[b.length]="]"}else if(e==bd&&E(a.length)===Zc){b[b.length]='"';g=0;for(c=Number(a.length)>>0;g<c;++g)d=String.prototype.charAt.call(a,g),e=String.prototype.charCodeAt.call(a,g),b[b.length]="\b"===d?"\\b":"\f"===d?"\\f":"\n"===d?"\\n":"\r"===d?"\\r":"\t"===d?"\\t":"\\"===d||'"'===d?"\\"+d:31>=e?"\\u"+(e+65536).toString(16).substr(1):32<=e&&65535>=e?d:"\ufffd";b[b.length]='"'}else if("object"===d){b[b.length]="{";d=0;for(g in a)Object.prototype.hasOwnProperty.call(a,74g)&&(e=ed(a[g],c),void 0!==e&&(d++&&(b[b.length]=","),b[b.length]=ed(g),b[b.length]=":",b[b.length]=e));b[b.length]="}"}else return}return b.join("")}},fd=/[\0-\x07\x0b\x0e-\x1f]/,gd=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/,hd=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/,id=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/,jd=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g,kd=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g,ld=/[ \t\n\r]+/g,75md=/[^"]:/,nd=/""/g,od=/true|false|null/g,pd=/00/,qd=/[\{]([^0\}]|0[^:])/,rd=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/,sd=/[^\[,:][\[\{]/,td=/^(\{|\}|\[|\]|,|:|0)+/,ud=/\u2028/g,vd=/\u2029/g,wd=function(a){a=String(a);if(fd.test(a)||gd.test(a)||hd.test(a)||id.test(a))return!1;var b=a.replace(jd,'""');b=b.replace(kd,"0");b=b.replace(ld,"");if(md.test(b))return!1;b=b.replace(nd,"0");b=b.replace(od,"0");if(pd.test(b)||qd.test(b)||rd.test(b)||sd.test(b)||!b||(b=b.replace(td,"")))return!1;a=a.replace(ud,"\\u2028").replace(vd,76"\\u2029");b=void 0;try{b=Yc?[D(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return b&&1===b.length?b[0]:!1},xd=function(){var a=((u.document||{}).scripts||[]).length;if((void 0===Wc||void 0===Yc||Xc!==a)&&-1!==Xc){Wc=Yc=!1;Xc=-1;try{try{Yc=!!u.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===u.JSON.stringify.call(u.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===D("true")&&3===D('[{"a":3}]')[0].a}catch(b){}Wc=Yc&&!D("[00]")&&77!D('"\u0007"')&&!D('"\\0"')&&!D('"\\v"')}finally{Xc=a}}},yd=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString(),zd=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),78":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),"Z"].join("")};Date.prototype.toISOString=yd?zd:Date.prototype.toISOString;var Ad,Bd=!1,F=function(a){try{Bd&&window.console&&window.console.log&&window.console.log(a)}catch(b){}},G=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},H=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},Cd=function(a){return"[object Function]"===Object.prototype.toString.call(a)},Dd=79function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(null===d||void 0===d)d="";b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))}return b.join("&")},Ed=function(a){var b=window.location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")},Fd=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";},Gd=function(a,80b){a=(a||"").split(" ");b=(b||"").split(" ");for(var c=0;c<b.length;c++)if(b[c]&&0>G(a,b[c]))return!1;return!0},Hd=function(){if("undefined"!=typeof Ad)return Ad;a:{try{if(window.localStorage){var a=window.localStorage;break a}}catch(b){}a=void 0}if(!a)return Ad=!1;try{a.setItem("test","test"),a.removeItem("test"),Ad=!0}catch(b){Ad=!1}return Ad},Id=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)},Jd=function(){return Object.hasOwnProperty.call(window,81"ActiveXObject")&&!window.ActiveXObject},Kd=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},Ld=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b},Md=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")},J=window.JSON,82K=function(a){this.qb=a||[];this.G={}};K.prototype.addEventListener=function(a,b){if(!(0<=G(this.qb,a)))throw"Unrecognized event type: "+a;if(!Cd(b))throw"The listener for event '"+a+"' is not a function.";this.G[a]||(this.G[a]=[]);0>G(this.G[a],b)&&this.G[a].push(b)};K.prototype.removeEventListener=function(a,b){if(!(0<=G(this.qb,a)))throw"Unrecognized event type: "+a;Cd(b)&&this.G[a]&&this.G[a].length&&(b=G(this.G[a],b),0<=b&&this.G[a].splice(b,1))};83K.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=G(this.qb,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.G[b]&&this.G[b].length)for(var c=0,d=this.G[b].length;c<d;c++)this.G[b][c](a)};J={parse:function(a){a="["+String(a)+"]";-1===Xc?a=!1:(xd(),a=(Wc?D:wd)(a));if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){-1!==Xc?(xd(),a=Yc?u.JSON.stringify.call(u.JSON,a):ed(a)):a=void 0;return a}};var L={od:{}},M=M||{};M.Na="APISID";M.Ma="SAPISID";M.Ka="__Secure-3PAPISID";M.M=function(a){a=encodeURIComponent(a);var b=M.Fb();if(b&&(a=b.match("(^|;) ?"+a+"=([^;]*)(;|$)"))&&2<a.length&&(a=a[2]))return decodeURIComponent(a)};M.Ta=function(a){var b;(a=M.M(a))&&(b=String(Nd(a)));return b};M.Fb=function(){return document.cookie};M.cd=function(a){document.cookie=a};L=L||{};84L.Hc=function(a,b,c){if(!0===L.Ya)a();else{var d=2,e=function(){d--;0==d&&(L.Ya=!0,a())},g=function(f){b(f)};switch(Od()){case "sessionStorage":L.va=new Pd;L.va.H(e,g);if(c)try{L.va.clear()}catch(f){}break;case "inMemoryStorage":L.va=new Qd;L.va.H(e,g);break;default:c=Error("Unsupported storage type: "+Od());b(c);return}switch(Rd()){case "localStorage":L.fa=new Sd;L.fa.H(e,g);break;case "indexedDb":L.fa=new Td;L.fa.H(e,g);break;case "cookieStorage":L.fa=new Ud;L.fa.H(e,g);break;default:c=Error("Unsupported storage type: "+85Rd()),b(c)}}};L.Hb=function(){if(!L.Ya)throw Error("Storages are not initialized yet!");return L.fa};L.Ec=function(){if(!L.Ya)throw Error("Storages are not initialized yet!");return L.va};var Sd=function(){};m=Sd.prototype;m.H=function(a,b){Hd()?(this.la=window.localStorage,a()):b&&b(Error("localStorage is not available in the current environment."))};m.getItem=function(a,b){b(this.la.getItem(a))};m.setItem=function(a,b,c){void 0===b||null===b?this.la.removeItem(a):this.la.setItem(a,b);c&&c()};86m.removeItem=function(a,b){this.la.removeItem(a);b&&b()};m.clear=function(a){this.la.clear();a&&a()};var Td=function(){};m=Td.prototype;m.H=function(a,b){var c=this,d=window.indexedDB.open("oauth");d.onsuccess=function(e){c.ya=e.target.result;a()};d.onupgradeneeded=function(e){e.target.result.createObjectStore("oauth")};d.onerror=function(e){e=e.target.errorCode;b&&b(Error("IndexedDb initialization failed: "+e))}};87m.getItem=function(a,b){var c=this.ya.transaction("oauth","readwrite").objectStore("oauth").get(a);c.onsuccess=function(){b(c.result)}};m.setItem=function(a,b,c){var d=this.ya.transaction("oauth","readwrite").objectStore("oauth");if(void 0===b||null===b)d["delete"](a);else d.put(b,a);d.transaction.oncomplete=function(){c&&c()}};m.removeItem=function(a,b){var c=this.ya.transaction("oauth","readwrite").objectStore("oauth");c["delete"](a);c.transaction.oncomplete=function(){b&&b()}};88m.clear=function(a){var b=this.ya.transaction("oauth","readwrite").objectStore("oauth");b.clear();b.transaction.oncomplete=function(){a&&a()}};var Qd=function(){};m=Qd.prototype;m.H=function(a){this.Ea={};a()};m.getItem=function(a,b){b(this.Ea[a]||null)};m.setItem=function(a,b,c){this.Ea[a]=b;c&&c()};m.removeItem=function(a,b){delete this.Ea[a];b&&b()};m.clear=function(a){this.Ea={};a&&a()};var Pd=function(){};m=Pd.prototype;m.H=function(a,b){Hd()?(this.ta=window.sessionStorage,a()):b&&b(Error("sessionStorage is not available in the current environment."))};89m.getItem=function(a,b){b(this.ta.getItem(a))};m.setItem=function(a,b,c){void 0===b||null===b?this.ta.removeItem(a):this.ta.setItem(a,b);c&&c()};m.removeItem=function(a,b){this.ta.removeItem(a);b&&b()};m.clear=function(a){this.ta.clear();a&&a()};var Ud=function(){this.Oc=N.Yb};m=Ud.prototype;m.H=function(a,b){navigator.cookieEnabled?a():b&&b(Error("Cookies are not enabled in current environment."))};m.getItem=function(a,b){for(var c=null,d=Vd(a),e=0;e<d.length;e++)if(d[e].key==a){c=d[e].value;break}b(c)};90m.setItem=function(a,b,c){var d=N.Ua(a.split(N.m)[0]);if(d){var e=Wd(d);b={key:a,value:b};for(var g=0;g<e.length;g++)if(e[g].key==a){e.splice(g,1);break}e.push(b);Xd(this,d,e)}c&&c()};m.removeItem=function(a,b){for(var c=Vd(a),d=0;d<c.length;d++)if(c[d].key==a){c.splice(d,1);break}(a=N.Ua(a.split(N.m)[0]))&&Xd(this,a,c);b&&b()};m.clear=function(a){L.nc();a&&a()};91var Vd=function(a){return(a=N.Ua(a.split(N.m)[0]))?Wd(a):[]},Wd=function(a){a=M.M(a);return L.pc(a||null)},Xd=function(a,b,c){var d=L.sc(c);d.length>a.Oc?(c.splice(0,1),0<c.length?Xd(a,b,c):F("Failed to write Cookie based cache due to the big size.")):L.Tb(b,d)};L.oc=function(a){try{return atob(a)}catch(b){return a}};L.rc=function(a){try{return btoa(a)}catch(b){return a}};92L.pc=function(a){if(!a)return[];a=L.oc(a);try{return J.parse(a).items||[]}catch(b){return F("Error while parsing items from cookie:"+b.message),[]}};L.sc=function(a){return L.rc(J.stringify({items:a}))};L.Tb=function(a,b){var c=window.location.hostname,d=window.location.pathname;a=encodeURIComponent(a)+"="+encodeURIComponent(b)+"; domain="+c+";";-1!=navigator.userAgent.toLowerCase().indexOf("msie")||Jd()||(a+=" path="+d+";");"https:"==window.location.protocol&&(a+=" secure;");M.cd(a)};93L.nc=function(){var a=N.Ia,b=M.Fb();if(b){b=b.replace(/((?:^|\s*;)[^=]+)(?=;|$)|^\s*|\s*(?:=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:=[^;]*)?;\s*/);for(var c=0;c<b.length;c++){var d=decodeURIComponent(b[c]);0==d.indexOf(a)&&L.Tb(d,"")}}};var Yd=function(a){this.Mb=a;K.call(this,["storageValueChanged"])};H(Yd,K);var Zd=function(a,b){L.Hb().getItem(a.Mb,b)};Yd.prototype.addListener=function(a){this.addEventListener("storageValueChanged",a)};94Yd.prototype.start=function(){var a=this;Zd(this,function(b){a.Sc=b;a.Qb=0;a.Za=window.setInterval($d(a),200)})};Yd.prototype.stop=function(){void 0!==this.Za&&(clearInterval(this.Za),this.Za=void 0)};95var $d=function(a){return function(){a.Qb++;Zd(a,function(b){b!=a.Sc?(a.dispatchEvent({type:"storageValueChanged",key:a.Mb,newValue:b}),a.stop()):1500<=a.Qb&&a.stop()})}},Nd=function(a){var b=0,c;if(a){var d=0;for(c=a.length;d<c;d++){var e=a.charCodeAt(d);b=(b<<5)-b+e;b|=0}}return b},O=function(a){return!!a&&0<=a.indexOf(N.m)},ae=function(a,b){if(!a&&!b)return!0;if(!a||!b)return!1;a=a.extraQueryParams;b=b.extraQueryParams;if(!a&&!b)return!0;if(!a||!b||Object.keys&&Object.keys(a).length!=Object.keys(b).length)return!1;96for(var c in a)if(a[c]!==b[c])return!1;if(!Object.keys)for(c in b)if(a[c]!==b[c])return!1;return!0},N=N||{};N.Xb=100;N.xb="/oauth2/sessionstate/action/updateState";N.rb="/oauth2/sessionstate/action/checkOrigin";N.vb="/oauth2/permission/action/refresh";N.ub="/oauth2/permission/action/code";N.La="/oauth2/permission/action/listSessions";N.cc="/o/oauth2/revoke";N.wa="response_type login_hint client_id origin scope ss_domain authuser hd enable_serial_consent include_granted_scopes nonce".split(" ");97N.$b="login_hint client_id origin scope ss_domain authuser hd enable_serial_consent include_granted_scopes".split(" ");N.ac="client_id origin scope ss_domain authuser hd enable_serial_consent".split(" ");N.m="::";N.Ja="_ss_";N.tb="_tr_";N.ia="oauth2_ss";N.sb="oauth2_cs";N.wb="oauth2_tr";N.Zb="oauth2_is";N.ha="oauth2_ar";N.Ia="oauth2c_";N.Yb=1500;N.nd=function(){var a={Ja:1,tb:2,ia:3,sb:4,wb:5,ha:6},b;for(b in a)if(a=N[b],!a||0<=a.indexOf(N.m))throw"Invalid value for 'oauth2.spi."+b+"'.";};N.nd();98N.bc=512;N.hc=function(a){var b;(b=void 0===a.hint)||(b=a.hint,b=(""===b?!0:b?"string"==typeof b||"object"==typeof b&&b.constructor===String:!1)&&a.hint.length<=N.bc);return!a.id&&b};N.Cc=function(){var a=M.M("https:"==window.location.protocol?M.Ma:M.Na);a||(a=M.M(M.Ka));return a};N.Ua=function(a){switch(a){case N.ha:return N.Ia+N.ha;case N.ia:return N.Ia+N.ia;default:return null}};99var Rd=function(){return(Md()||Kd())&&!Hd()||Jd()&&!window.indexedDB?"cookieStorage":Jd()?"indexedDb":"localStorage"},Od=function(){return!Md()&&!Kd()||Hd()?"sessionStorage":"inMemoryStorage"};M=M||{};M.Ha="cookieValueChanged";var be=function(a){this.Ic=a;K.call(this,[M.Ha])};H(be,K);be.prototype.M=function(){return M.M(M.Na)||M.M(M.Ma)||M.M(M.Ka)};var P=function(){return M.Ta(M.Na)||M.Ta(M.Ma)||M.Ta(M.Ka)};be.prototype.addListener=function(a){this.addEventListener(M.Ha,a)};100var ee=function(a){ce(a);a.Aa=a.M();a.ob=window.setInterval(de(a),a.Ic);F("IDP Session Cookie monitor is started.")},ce=function(a){void 0!==a.ob&&(window.clearInterval(a.ob),a.ob=void 0,F("IDP Session Cookie monitor is stoped."))},de=function(a){return function(){var b=a.M();if(a.Aa!=b){var c={type:M.Ha,newHash:b&&Nd(b),oldHash:a.Aa&&Nd(a.Aa)};a.Aa=b;a.dispatchEvent(c)}}},fe=function(a){this.h=a;this.Vb=void 0},ge=function(a,b,c){var d=N.cc,e=new XMLHttpRequest;e.onreadystatechange=function(){if(4==101e.readyState&&200==e.status){var h;e.responseText&&(h=J.parse(e.responseText));c(h)}else 4==e.readyState&&0==e.status?c({error:"network_error"}):4==e.readyState&&c({error:"server_error",error_subtype:e.responseText})};e.open("POST",d,!0);e.setRequestHeader("Content-type","application/x-www-form-urlencoded");var g="xsrfToken=";a.Vb&&(g+=a.Vb);if(b)for(var f in b)f&&b[f]&&(g+="&"+f+"="+encodeURIComponent(b[f]));F("Call "+d+" with postData: "+g);e.send(g)},he=function(a,b,c,d){var e=new XMLHttpRequest;102e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var f;if(e.responseText&&(f=J.parse(e.responseText))){var h=f;if(h.error){h.thrown_by="server";try{h.error=h.error.toLowerCase()}catch(k){}}}d(f)}else 4==e.readyState&&0==e.status?d({error:"network_error"}):4==e.readyState&&d({error:"server_error",error_subtype:e.responseText})};if(b=Dd(b))a+=0>a.indexOf("?")?"?":"&",a+=b;e.open("GET",a,!0);e.setRequestHeader("X-Requested-With","XmlHttpRequest");if(c)for(var g in c)if(c.hasOwnProperty(g)){b=103c[g];if(null===b||void 0===b)b="";e.setRequestHeader(g,b)}F("Call "+a+" with Get method.");e.send()},ie=function(a,b,c){he(N.rb,{origin:a.h,client_id:b},null,c)},je=function(a,b,c){b&&b.length?he(N.xb,{login_hint:b.join(" "),origin:a.h},null,c):c({activeHints:{}})},le=function(a,b,c){b.origin=a.h;0>N.wa.indexOf("enable_serial_consent")&&N.wa.push("enable_serial_consent");b=ke(b,N.wa);he(N.vb,b,null,c)},me=function(a,b,c){b.origin=a.h;b=ke(b,N.$b);he(N.ub,b,null,c)},ne=function(a,b,c){b.origin=a.h;104b=ke(b,N.ac);he(N.La,b,null,c)},oe=function(a,b,c){ge(a,{token:b},c)},ke=function(a,b){for(var c={},d=0;d<b.length;d++){var e=b[d];void 0!==a[e]&&null!==a[e]&&(c[e]=a[e])}return c};L=L||{};var pe=function(){};pe.prototype.D=function(){return!1};var qe={};L.Uc=function(){var a=new re;if(!a)throw"policy cannot be empty.";if(L.Kb("DEFAULT"))throw"Duplicate policyName [DEFAULT].";qe.DEFAULT=a};L.Kb=function(a){for(var b in qe)if(a==b)return!0;return!1};L.Gb=function(a){return a&&L.Kb(a)?a:"DEFAULT"};105L.zc=function(a){return qe[L.Gb(a)]};L.D=function(a,b,c,d){return L.zc(d).D(a,b,c)};L.pd=function(a,b,c,d){if(!L.D(a,b,c,d))throw"permission_error";};var se=function(){};H(se,pe);se.prototype.D=function(a,b,c){a=c?this.Wa(a):this.Xa(a);return 0<=G(a,b)};106se.prototype.Xa=function(a){var b=[];if(a&&(b.push(a),"http://"==a.substring(0,7)||"https://"==a.substring(0,8))){var c=document.createElement("a");c.href=a;a!=c.protocol+"//"+c.hostname&&b.push(c.protocol+"//"+c.hostname);"https:"==c.protocol&&b.push("http://"+c.hostname)}return b};107se.prototype.Wa=function(a){var b=[];if(a){b.push(a);var c=document.createElement("a");c.href=a;if("http:"==c.protocol||"https:"==c.protocol)for(a=c.hostname.split(".");1<a.length;)b.push(c.protocol+"//"+a.join(".")),"https:"==c.protocol&&b.push("http://"+a.join(".")),a.shift()}return b};var re=function(){};H(re,pe);re.prototype.D=function(a,b,c){a=c?this.Wa(a):this.Xa(a);return 0<=G(a,b)};108re.prototype.Xa=function(a){var b=[];if(a&&(b.push(a),"https://"==a.substring(0,8))){var c=document.createElement("a");c.href=a;""!=c.port&&0!=c.port&&443!=c.port||b.push("http://"+c.hostname)}return b};109re.prototype.Wa=function(a){var b=[];if(a){var c=document.createElement("a");c.href=a;if("https:"==c.protocol&&(""==c.port||0==c.port||443==c.port)||"http:"==c.protocol&&(""==c.port||0==c.port||80==c.port))for(a=c.hostname.split(".");1<a.length;)b.push(c.protocol+"//"+a.join(".")),"https:"==c.protocol&&b.push("http://"+a.join(".")),a.shift();else b.push(a)}return b};L.Uc();var Q=function(){};Q.prototype.$a=function(){return!0};var R=function(a){return a.$a()?L.Ec():L.Hb()};110Q.prototype.l=function(){throw Error("unimplemented abstract method");};Q.prototype.da=function(){throw Error("unimplemented abstract method");};Q.prototype.A=function(){throw Error("unimplemented abstract method");};Q.prototype.B=function(){throw Error("unimplemented abstract method");};var S=function(){};H(S,Q);111S.prototype.A=function(a,b,c){var d=this,e=this.l(a);R(this).getItem(e,function(g){if(g)try{var f=J.parse(g);if(f.cookieHash!=b){R(d).removeItem(e,function(){c(void 0)});return}var h=f&&f.cachedValue}catch(k){}c(h)})};S.prototype.B=function(a,b,c,d){a=this.l(a);void 0===b||null===b?R(this).removeItem(a,d):(b=J.stringify({cookieHash:c,cachedValue:b}),R(this).setItem(a,b,d))};var te=function(){};H(te,Q);112te.prototype.A=function(a,b,c){R(this).getItem(this.l(a),function(d){if(d)try{var e=J.parse(d);var g=e&&e.cachedValue}catch(f){}c(g)})};te.prototype.B=function(a,b,c,d){a=this.l(a);void 0===b||null===b?R(this).removeItem(a,d):(b=J.stringify({cachedValue:b}),R(this).setItem(a,b,d))};var ue=function(){};H(ue,te);ue.prototype.$a=function(){return!1};ue.prototype.l=function(a){return[N.ha,a.origin,a.clientId,a.id].join(N.m)};113ue.prototype.da=function(a){var b={};a&&(a=a.split(N.m),4==a.length&&(b.origin=a[1],b.clientId=a[2],b.id=a[3]));return b};var ve=function(){};H(ve,S);ve.prototype.l=function(a){return[N.sb,a.origin,a.clientId].join(N.m)};ve.prototype.da=function(a){a=a.split(N.m);var b={};3==a.length&&(b.origin=a[1],b.clientId=a[2]);return b};var we=function(){};H(we,S);we.prototype.l=function(a){return[N.Zb,a.origin,a.clientId].join(N.m)};114we.prototype.A=function(a,b,c){var d=this;S.prototype.A.call(this,a,b,function(e){e&&e.expires_at?6E4>e.expires_at-(new Date).getTime()?R(d).removeItem(d.l(a),c):Gd(e.scope,a.scope)&&Gd(a.scope,e.scope)?(e.expires_in=Math.floor((e.expires_at-(new Date).getTime())/1E3),c&&c(e)):R(d).removeItem(d.l(a),c):c&&c(void 0)})};we.prototype.B=function(a,b,c,d){var e;b&&b.expires_at&&18E4<b.expires_at-(new Date).getTime()&&(e=b);S.prototype.B.call(this,a,e,c,d)};var xe=function(){};H(xe,te);115xe.prototype.$a=function(){return!1};xe.prototype.l=function(a){return[N.ia,a.domain,a.crossSubDomains?"1":"0",L.Gb(a.policy),a.id||N.Ja].join(N.m)};xe.prototype.da=function(a){a=a.split(N.m);var b={};5==a.length&&(b.domain=a[1],b.crossSubDomains="1"==a[2],b.policy=a[3],b.id=a[4]);"DEFAULT"==b.policy&&delete b.policy;b.id==N.Ja&&delete b.id;return b};var ye=function(a){this.Rc=a||N.wb};H(ye,S);ye.prototype.l=function(a){return[this.Rc,a.origin,a.clientId,a.id||N.tb].join(N.m)};116ye.prototype.A=function(a,b,c){var d=this;S.prototype.A.call(this,a,b,function(e){e&&e.ga&&e.ga.expires_at?a.loginHint!=e.ga.login_hint?R(d).removeItem(d.l(a),c):6E4>e.ga.expires_at-(new Date).getTime()?R(d).removeItem(d.l(a),c):Gd(e.ga.scope,a.scope)?Gd(e.responseType,a.responseType)?(e=e.ga,e.expires_in=Math.floor((e.expires_at-(new Date).getTime())/1E3),c&&c(e)):R(d).removeItem(d.l(a),c):R(d).removeItem(d.l(a),c):c&&c(void 0)})};117ye.prototype.B=function(a,b,c,d){var e;b&&b.expires_at&&18E4<b.expires_at-(new Date).getTime()&&(e={ga:b,responseType:a.responseType});S.prototype.B.call(this,a,e,c,d)};var ze=function(a,b){this.h=a;this.jb=b;this.Sa=!1;this.ra={};this.qa={};this.pa={}},Ae=function(a,b){if(!b)throw"message object cannot be null.";b.rpcToken=a.jb;b=J.stringify(b);F("IDP IFrame sends message: "+b);window.parent.postMessage(b,a.h)},T=function(a,b,c){b&&Ae(a,{id:b,result:c})};118ze.prototype.Tc=function(a){if(a.source==window.parent&&a.origin==this.h){F("IDP Session State IFrame receive message:"+a.data);try{var b=J.parse(a.data)}catch(d){return}if((b.rpcToken||this.jb)&&b.rpcToken!=this.jb)F("RPC token mismatch.");else if(b&&b.method&&("showDialog"==b.method||this.ra[b.method]))if("showDialog"==b.method)if(this.Sa)Ae(this,{id:b.id,error:"dialog_already_displayed"});else if(a=b.params,b.id&&a&&a.dialogType&&this.pa[a.dialogType]){var c=this.pa[a.dialogType];c.s&&!c.s(a)?119(F("Bad request."),Ae(this,{id:b.id,error:"bad_request"})):c.i(b)}else F("Bad dialog request.");else a=this.ra[b.method],a.O&&!b.id?F("Bad request."):a.s&&!a.s(b)?(F("Bad request."),Ae(this,{id:b.id,error:"bad_request"})):a.i(b);else F("Bad request.")}};120var U=function(a,b){if(b&&b.type&&a.qa[b.type]){var c=a.qa[b.type].filter;c&&!c(b)||Ae(a,{method:"fireIdpEvent",params:b})}else F("Invalid event type.")},Be=function(a){U(a,{type:"displayIFrame",Gc:!1,options:{fullScreen:!0}});a.Sa=!0},Ce=function(a){U(a,{type:"displayIFrame",Gc:!0});a.Sa=!1},De=function(a,b){a.ra={};a.qa={};a.pa={};if(b){if(b.w)for(var c=0;c<b.w.length;c++){var d=b.w[c];if(!d.method||!d.i)throw"Error in RPC policy: method or handler is empty.";if(a.ra[d.method])throw"Error in RPC policy: duplicate entry for RPC '"+121d.method+"'.";var e=d.method;a.ra[e]={i:d.i,O:d.O,s:d.s,method:e}}if(b.L)for(c=0;c<b.L.length;c++){d=b.L[c];if(!d.type)throw"Error in Event policy: type is empty.";if(a.qa[d.type])throw"Error in Event policy: duplicate entry for type '"+d.type+"'.";e=d.type;a.qa[e]={filter:d.filter,type:e}}if(b.ba)for(c=0;c<b.ba.length;c++){d=b.ba[c];if(!d.ca)throw"Error in Dialog policy: dialogType is empty.";if(a.pa[d.ca])throw"Error in Dialog policy: duplicate entry for dialogType '"+d.ca+"'.";e=d.ca;a.pa[e]={ca:e,122i:d.i,s:d.s}}}},Ee=function(a,b,c,d){U(a,{type:"sessionStateChanged",clientId:b,user:c,sessionState:d})},Fe=function(a){var b=new xe,c=N.ia+N.m;return function(d){if(d.key&&0===d.key.indexOf(c)){var e=b.da(d.key);if(L.D(a.h,e.domain,e.crossSubDomains,e.policy)){var g;if(d.newValue)try{var f=J.parse(d.newValue);f&&(g=f.cachedValue)}catch(h){return}U(a,{type:"sessionSelectorChanged",newValue:g,crossSubDomains:e.crossSubDomains,domain:e.domain,policy:e.policy,id:e.id})}}}},Ge=function(a){var b=new ue,123c=[N.ha,a.h].join(N.m)+N.m;return function(d){if(!d.key&&Id()){var e=null,g=[];for(d=0;d<window.localStorage.length;d++){var f=window.localStorage.key(d);if(0===f.indexOf(c))if(e)g.push(f);else{var h=window.localStorage.getItem(f);g.push(f);if(h){try{var k=J.parse(h)}catch(l){continue}k&&k.cachedValue&&(e=b.da(f),e={type:"authResult",clientId:e.clientId,id:e.id,authResult:k.cachedValue})}}}for(d=0;d<g.length;d++)window.localStorage.removeItem(g[d]);(k=e)&&U(a,k)}else if(d.key&&0===d.key.indexOf(c)&&124d.newValue){try{g=J.parse(d.newValue)}catch(l){return}g&&g.cachedValue&&(k=b.da(d.key),k={type:"authResult",clientId:k.clientId,id:k.id,authResult:g.cachedValue},U(a,k))}}},He=function(a,b){this.h=a;this.U=b;this.Ab=new ve;this.Sb=new xe;this.pb=new ye;this.Ib=new we},Ie=function(a,b,c,d,e){a.Ab.B({origin:a.h,clientId:b},{user:c.K,session:c.K?c.Z:void 0},d,e)},Je=function(a,b,c){a.Ab.A({origin:a.h,clientId:b},P(),c)},Ke=function(a,b,c,d,e,g,f){a.pb.A({loginHint:b,origin:a.h,clientId:c,responseType:d,125scope:e,id:g},P(),f)},Le=function(a,b,c,d,e,g,f){a.pb.B({origin:a.h,clientId:c,responseType:d,id:g},e,b,f)},Me=function(a,b,c){var d=a.pb;a={origin:a.h,clientId:b};R(d).removeItem(d.l(a),c)},Ne=function(a,b,c,d,e,g){if(!a.D(b,c,e))throw"Permission denied for '"+a.h+"' to read session selector for domain '"+b+"'.";a.Sb.A({domain:b,crossSubDomains:c,policy:e,id:d},void 0,function(f){g&&g(f)})},Oe=function(a,b,c,d,e,g,f){if(!a.D(b,c,g))throw"Permission denied for '"+a.h+"' to write session selector for domain '"+126b+"'.";a.Sb.B({domain:b,crossSubDomains:c,policy:g,id:e},d,void 0,f)};He.prototype.D=function(a,b,c){return L.D(this.h,a,b,c)};127var Pe=function(a,b,c,d){a.Ib.A({origin:a.h,clientId:b,scope:c},P(),d)},Qe=function(a,b,c,d,e){a.Ib.B({origin:a.h,clientId:c},d,b,e)},Re=function(a,b,c){this.$=a;this.g=b;this.j=c},Se=function(a,b,c){a.K?c&&void 0!==c[a.K]?(c=c[a.K],ae(a.Z,c)||(a.Z=c,Ie(a.j,a.$,a,b,function(){Ee(a.g,a.$,a.K,a.Z)}))):a.Z&&(a.Z=void 0,Ie(a.j,a.$,a,b,function(){Ee(a.g,a.$,a.K,void 0)})):b&&Ee(a.g,a.$,a.K,void 0)},Ue=function(a,b,c,d){this.U=a;this.g=b;this.J=c;this.j=d;this.oa=void 0;this.C={};this.lb=[];var e=this;128this.U.addListener(function(g){Te(e,g)})},Ve=function(a){var b=[],c;for(c in a.C){var d=a.C[c].K;d&&b.push(d)}return b},Te=function(a,b){if(b.newHash)je(a.J,Ve(a),function(d){for(var e in a.C)Se(a.C[e],b.newHash,d&&d.activeHints)});else for(var c in a.C)Se(a.C[c],b.newHash,void 0)},We=function(a,b,c,d,e){var g=a.C[b];g||(g=new Re(b,a.g,a.j),a.C[b]=g);a=g;b=c.login_hint;c=c.session_state;a.K!=b?(a.K=b,a.Z=b?c:void 0,Ie(a.j,a.$,a,d,e)):e&&e()},Xe=function(a,b,c){var d=a.C[b];d?c(!0):Je(a.j,b,function(e){e?129(d=new Re(b,a.g,a.j),a.C[b]=d,d.K=e.user,d.Z=e.session,c(!0)):ie(a.J,b,function(g){g&&g.valid?(g=new Re(b,a.g,a.j),a.C[b]=g,Ie(a.j,b,g,P(),function(){c(!0)})):c(!1)})})},Ye=function(a,b){Jd()||Ld()?a.lb.push(b):Fd(Id()?document:window,"storage",b)},W=function(a,b,c){this.h=a;this.mc=c;this.g=new ze(a,b);this.U=new be(N.Xb);this.J=new fe(a);this.j=new He(a,this.U);this.P=new Ue(this.U,this.g,this.J,this.j)};m=W.prototype;130m.start=function(){var a=this,b=function(){a.g.Tc.apply(a.g,arguments)},c=function(){U(a.g,{type:"idpReady"});F("Initialize IDP IFrame successfully.")},d=function(e){var g=window;if(g.removeEventListener)g.removeEventListener("message",b,!1);else if(g.detachEvent)g.detachEvent("onmessage",b);else throw"Remove event handler for message failed.";ce(a.U);U(a.g,{type:"idpError",error:e.message})};try{De(this.g,this.createPolicy()),Fd(window,"message",b),Ye(this.P,Fe(this.g)),Ye(this.P,Ge(this.g)),ee(this.U),131L.Hc(c,d,this.mc)}catch(e){d(e)}};m.Pc=function(a){var b=this;Xe(this.P,(a.params||{}).clientId,function(c){T(b.g,a.id,c)})};132m.yc=function(a){var b=a.params||{},c=this,d=function(r){T(c.g,a.id,r)},e=b.clientId,g=b.loginHint,f=b.request,h=b.sessionSelector;f.client_id=e;f.login_hint=g;f.ss_domain=h.domain;var k=P();if(k){var l=!!f.enable_serial_consent,p=function(r){r&&!r.error&&r.login_hint?(r.first_issued_at=(new Date).getTime(),r.expires_at=r.first_issued_at+1E3*r.expires_in,r.session_state||(r.session_state={}),l||r.scope||(r.scope=f.scope),b.skipCache?We(c.P,e,r,k,function(){d(r)}):Le(c.j,k,e,f.response_type,r,b.id,133function(){We(c.P,e,r,k,function(){d(r)})})):(r=r||{},d(r))};b.forceRefresh?le(this.J,f,p):Ke(this.j,g,e,f.response_type,f.scope,b.id,function(r){r&&18E4<r.expires_at-(new Date).getTime()?We(c.P,e,r,k,function(){d(r)}):le(c.J,f,p)})}else T(c.g,a.id,{error:"user_logged_out"})};m.Ac=function(a){var b=this,c=function(f){T(b.g,a.id,f)};if(P()){var d=a.params||{},e=d.request,g=d.sessionSelector;e.client_id=d.clientId;e.login_hint=d.loginHint;e.ss_domain=g.domain;me(this.J,e,c)}else c({error:"user_logged_out"})};134m.Zc=function(a){var b=a.params||{},c=b.clientId,d=this;oe(this.J,b.token,function(e){Me(d.j,c,function(){T(d.g,a.id,e)})})};m.ld=function(a){if(Jd()||Ld()){var b=a.params||{},c=(new ue).l({clientId:b.clientId,id:b.id,origin:b.origin});b=this.P;if(Jd()||Ld()){b.oa&&b.oa.stop();b.oa=new Yd(c);for(c=0;c<b.lb.length;c++)b.oa.addListener(b.lb[c]);b.oa.start()}}T(this.g,a.id,!0)};m.xc=function(a){var b=this,c=a.params||{};Ne(this.j,c.domain,c.crossSubDomains,c.id,c.policy,function(d){T(b.g,a.id,d)})};135m.dd=function(a){var b=a.params||{},c=b.hint,d=!!b.disabled,e=b.domain,g=b.crossSubDomains,f=b.id,h=b.policy,k=this;if(c||d)var l={hint:c,disabled:d};Oe(this.j,e,g,l,f,h,function(){U(k.g,{type:"sessionSelectorChanged",newValue:l,domain:e,crossSubDomains:g,id:f,policy:h});T(k.g,a.id,!0)})};136m.Mc=function(a){var b=a.params||{},c=this,d=function(l){T(c.g,a.id,l)},e=b.clientId,g=b.request,f=b.sessionSelector;g.client_id=e;g.response_type="id_token";g.ss_domain=f.domain;var h=P();if(h){var k=function(l){l&&!l.error?(l.first_issued_at=(new Date).getTime(),l.expires_at=l.first_issued_at+1E3*l.expires_in,l.scope=g.scope,Qe(c.j,h,e,l,function(){d(l)})):(l=l||{error:"No response returned from Server."},d(l))};b.forceRefresh?ne(this.J,g,k):Pe(this.j,e,g.scope,function(l){l?d(l):ne(c.J,g,k)})}else d({scope:g.scope,137sessions:[]})};m.lc=function(a){if(document.hasStorageAccess&&Cd(document.hasStorageAccess)){var b=this;document.hasStorageAccess().then(function(c){T(b.g,a.id,{hasAccess:c})},function(c){F("CheckStorageAccess failed: "+c);T(b.g,a.id,{hasAccess:!1})})}else T(this.g,a.id,{hasAccess:!0})};m.Qc=function(a){a=a&&a.params||{};return a.clientId&&!O(a.clientId)};138m.Fc=function(a){var b=a&&a.params||{};a=b.loginHint;var c=!O(b.id),d=b.clientId&&!O(b.clientId),e=!!b.request,g=e&&b.request.scope;(b=(e=e&&b.request.response_type)&&0<=b.request.response_type.indexOf("code"))&&F("Bad request: 'code' response_type is not supported.");return a&&c&&d&&g&&e&&!b};m.Bc=function(a){a=a&&a.params||{};var b=!O(a.id),c=a.clientId&&!O(a.clientId),d=!!a.request&&a.request.scope;return a.loginHint&&b&&c&&d};139m.Dc=function(a){a=a&&a.params||{};var b=a.domain&&!O(a.domain),c=!O(a.policy);return!O(a.id)&&b&&c&&this.j.D(a.domain,!!a.crossSubDomains,a.policy)};m.ed=function(a){a=a&&a.params||{};var b=a.domain&&!O(a.domain),c=!O(a.policy);return!O(a.id)&&b&&c&&this.j.D(a.domain,!!a.crossSubDomains,a.policy)&&N.hc(a)};m.Nc=function(a){a=a&&a.params||{};var b=a.clientId&&!O(a.clientId),c=!!a.request&&a.request.scope;return!O(a.id)&&b&&c};140m.$c=function(a){a=a&&a.params||{};var b=!!a.token,c=a.clientId&&!O(a.clientId);return!O(a.id)&&b&&c};m.md=function(a){a=a&&a.params||{};var b=a.origin&&!O(a.origin),c=a.id&&!O(a.id);return a.clientId&&!O(a.clientId)&&b&&c};m.bd=function(a){var b;if(b=a.clientId)a=a.clientId,b=!(!a||!this.P.C[a]);return b};m.jc=function(a){var b;if(b=a.clientId)b=a.clientId,b=!(!b||!this.P.C[b]);return b&&a.id&&a.authResult};m.qc=function(a){return!!a.hide||!!a.options};141m.ad=function(a){return a.domain&&this.j.D(a.domain,a.crossSubDomains,a.policy)};var X=function(a,b){return function(){return b.apply(a,arguments)}};W.prototype.createPolicy=function(){var a={w:[],L:[],ba:[]};Ze(this,a);return a};142var Ze=function(a,b){b.w.push({method:"monitorClient",i:X(a,a.Pc),O:!1,s:X(a,a.Qc)});b.w.push({method:"getTokenResponse",i:X(a,a.yc),O:!0,s:X(a,a.Fc)});b.w.push({method:"getOnlineCode",i:X(a,a.Ac),O:!0,s:X(a,a.Bc)});b.w.push({method:"getSessionSelector",i:X(a,a.xc),O:!0,s:X(a,a.Dc)});b.w.push({method:"setSessionSelector",i:X(a,a.dd),O:!1,s:X(a,a.ed)});b.w.push({method:"listIdpSessions",i:X(a,a.Mc),O:!0,s:X(a,a.Nc)});b.w.push({method:"revoke",i:X(a,a.Zc),s:X(a,a.$c)});b.w.push({method:"startPolling",143i:X(a,a.ld),s:X(a,a.md)});b.L.push({type:"idpReady"});b.L.push({type:"idpError"});b.L.push({type:"sessionStateChanged",filter:X(a,a.bd)});b.L.push({type:"sessionSelectorChanged",filter:X(a,a.ad)});b.L.push({type:"authResult",filter:X(a,a.jc)});b.L.push({type:"displayIFrame",filter:X(a,a.qc)});b.w.push({method:"checkStorageAccess",i:X(a,a.lc),O:!0})};var $e="client_id origin ss_domain scope privileged authuser".split(" ");N.wa="response_type login_hint client_id origin scope ss_domain authuser hd include_granted_scopes nonce spec_compliant".split(" ");var bf=function(a,b,c){b.origin=a.h;b.privileged=!0;b=ke(b,$e);he(N.La,b,af(a.h),function(d){c(d)})};144function af(a){var b={},c=N.Cc();if(c){if(!c)throw Error("Session cookie value cannot be empty.");c=new zb(new Ab,Ba(c));a=Ba(a);c.reset();c.update(a);a=c.digest();var d;c=sa(a);v("array"==c||"object"==c&&"number"==typeof a.length,"encodeByteArray takes an array as a parameter");void 0===d&&(d=0);if(!xb){xb={};c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");for(var e=["+/=","+/","-_=","-_.","-_"],g=0;5>g;g++){var f=c.concat(e[g].split(""));wb[g]=f;for(var h=0;h<f.length;h++){var k=145f[h],l=xb[k];void 0===l?xb[k]=h:v(l===h)}}}d=wb[d];c=[];for(e=0;e<a.length;e+=3){l=a[e];var p=(g=e+1<a.length)?a[e+1]:0;k=(f=e+2<a.length)?a[e+2]:0;h=l>>2;l=(l&3)<<4|p>>4;p=(p&15)<<2|k>>6;k&=63;f||(k=64,g||(p=64));c.push(d[h],d[l],d[p]||"",d[k]||"")}b["X-Csrf-Token"]=c.join("")}return b};var cf=function(){};H(cf,S);cf.prototype.l=function(a){a=void 0===a?{}:a;return["gsi_gs",void 0===a.origin?null:a.origin,void 0===a.clientId?null:a.clientId].join(N.m)};cf.prototype.A=function(a,b,c){var d=this;c=void 0===c?function(){}:c;S.prototype.A.call(this,a,b,function(e){e?!e.expires_at||e.expires_at<=(new Date).getTime()?R(d).removeItem(d.l(a),function(){return c(null)}):(e.expires_at=void 0,c(e)):c(null)})};146cf.prototype.B=function(a,b,c,d){b&&(b.expires_at=(new Date).getTime()+864E5);S.prototype.B.call(this,a,b,c,d)};W.prototype.vc=function(a){var b=this;a=void 0===a?{}:a;var c=a.id,d=void 0===a.params?{}:a.params,e=function(p){p&&p.sessions?(p=df(g,p.sessions),T(b.g,c,p)):T(b.g,c,null)},g=d.loginHint;delete d.loginHint;var f=P();if(f){a=d.clientId;var h=d.request;d=d.sessionSelector;h.client_id=a;h.ss_domain=d.domain;var k=new cf,l={clientId:a,origin:this.h};k.A(l,f,function(p){p?e(p):bf(b.J,h,function(r){!r||r.error?e(null):k.B(l,r,f,function(){e(r)})})})}else e(null)};147function df(a,b){if(!b.length)return null;var c=a.toLowerCase();b=n(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.login_hint){if(a===d.obfuscatedGaiaId)return d.login_hint;if(d.emails&&d.emails.length)for(var e=n(d.emails),g=e.next();!g.done;g=e.next())if(c===g.value.toLowerCase())return d.login_hint}return null}W.prototype.hd=function(a){ef(this,a,!1)};W.prototype.jd=function(a){ef(this,a,!0)};148var ef=function(a,b,c){document.requestStorageAccess&&Cd(document.requestStorageAccess)?document.hasStorageAccess().then(function(d){if(d)T(a.g,b.id,{hasAccess:!0});else{d=new Uc({origin:a.h});var e=document.getElementById("container");(c?d.Wc:d.Vc).call(d,e,function(){Ce(a.g);T(a.g,b.id,{hasAccess:!0})},function(){Ce(a.g);T(a.g,b.id,{hasAccess:!1})});Be(a.g)}},function(d){F("StorageAccess check failed: "+d);T(a.g,b.id,{hasAccess:!1})}):T(a.g,b.id,{hasAccess:!0})};W.prototype.wc=function(a){a=void 0===a?{}:a;a=void 0===a.params?{}:a.params;var b=!!a.clientId&&!O(a.clientId),c=!!a.request,d=!!a.sessionSelector;return!!a.loginHint&&b&&c&&d};W.prototype.createPolicy=function(){var a={w:[],ba:[],L:[]};Ze(this,a);a.w.push({method:"gsi:fetchLoginHint",i:X(this,this.vc),O:!0,s:X(this,this.wc)});a.ba.push({ca:"itpNewGrant",i:X(this,this.hd)});a.ba.push({ca:"itpRegrant",i:X(this,this.jd)});return a};N.xb="/o/oauth2/iframerpc?action=sessionState";N.rb="/o/oauth2/iframerpc?action=checkOrigin";N.vb="/o/oauth2/iframerpc?action=issueToken";N.ub="/o/oauth2/iframerpc?action=issueOnlineCode";N.La="/o/oauth2/iframerpc?action=listSessions";149var ff=function(){var a=Ed("origin");if(!a)throw"Failed to get parent origin from URL hash!";var b=Ed("rpcToken");if(!b)throw"Failed to get rpcToken from URL hash!";var c=!!Ed("clearCache"),d=Ed("debug");Bd="0"!=d&&!!d;(new W(a,b,c)).start()},gf=["lso","startIdpIFrame"],Y=u;gf[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+gf[0]);for(var Z;gf.length&&(Z=gf.shift());)gf.length||void 0===ff?Y=Y[Z]&&Y[Z]!==Object.prototype[Z]?Y[Z]:Y[Z]={}:Y[Z]=ff;150151152