/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var k=this||self,u=function(a,b){a=a.split(".");for(var c=k,e;a.length&&(e=a.shift());)a.length||b===void 0?c=c[e]&&c[e]!==Object.prototype[e]?c[e]:c[e]={}:c[e]=b},w=function(a,b){function c(){}c.prototype=b.prototype;a.C=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.B=function(e,d,h){for(var p=Array(arguments.length-2),m=2;m0:!1};var fa=da().toLowerCase().indexOf("webkit")!=-1&&!N("Edge")&&N("Mobile");var ha=N("Safari")&&!((O()?M("Chromium"):(N("Chrome")||N("CriOS"))&&(O()||!N("Edge"))||N("Silk"))||(O()?0:N("Coast"))||(O()?0:N("Opera"))||(O()?0:N("Edge"))||(O()?M("Microsoft Edge"):N("Edg/"))||(O()?M("Opera"):N("OPR"))||N("Firefox")||N("FxiOS")||N("Silk")||N("Android"))&&!(N("iPhone")&&!N("iPod")&&!N("iPad")||N("iPad")||N("iPod"));var ka=function(a){var b=window;fa&&ha&&b?(b.focus(),ia(b,a,0)):(a.close(),ja(a))},ia=function(a,b,c){a.setTimeout(function(){b.closed||c==5?ja(b):(b.close(),c++,ia(a,b,c))},1E3)},ja=function(a){if(!a.closed&&a.document&&a.document.body)if(a=a.document.body,A(a!=null,"goog.dom.setTextContent expects a non-null value for node"),"textContent"in a)a.textContent="Please close this window.";else if(a.nodeType==3)a.data="Please close this window.";else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!= a.firstChild;)a.removeChild(A(a.lastChild));a.firstChild.data="Please close this window."}else{for(var b;b=a.firstChild;)a.removeChild(b);A(a,"Node cannot be null or undefined.");a.appendChild((a.nodeType==9?a:a.ownerDocument||a.document).createTextNode("Please close this window."))}};var la=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);a="";var e=b.indexOf(":");if(e!=-1){var d=b.substring(e+1);b=b.substring(0,e);if(c==="http"&&d!=="80"||c==="https"&&d!=="443")a=":"+d}return c+"://"+b+a};function ma(){function a(){d[0]=1732584193;d[1]=4023233417;d[2]=2562383102;d[3]=271733878;d[4]=3285377520;v=q=0}function b(g){for(var l=p,f=0;f<64;f+=4)l[f/4]=g[f]<<24|g[f+1]<<16|g[f+2]<<8|g[f+3];for(f=16;f<80;f++)g=l[f-3]^l[f-8]^l[f-14]^l[f-16],l[f]=(g<<1|g>>>31)&4294967295;g=d[0];var n=d[1],r=d[2],t=d[3],R=d[4];for(f=0;f<80;f++){if(f<40)if(f<20){var x=t^n&(r^t);var I=1518500249}else x=n^r^t,I=1859775393;else f<60?(x=n&r|t&(n|r),I=2400959708):(x=n^r^t,I=3395469782);x=((g<<5|g>>>27)&4294967295)+x+ R+I+l[f]&4294967295;R=t;t=r;r=(n<<30|n>>>2)&4294967295;n=g;g=x}d[0]=d[0]+g&4294967295;d[1]=d[1]+n&4294967295;d[2]=d[2]+r&4294967295;d[3]=d[3]+t&4294967295;d[4]=d[4]+R&4294967295}function c(g,l){if(typeof g==="string"){g=unescape(encodeURIComponent(g));for(var f=[],n=0,r=g.length;n=56;f--)h[f]=l&255,l>>>=8;b(h);for(f=l=0;f<5;f++)for(var n=24;n>=0;n-=8)g[l++]=d[f]>>n&255;return g}for(var d=[],h=[],p=[],m=[128],C=1;C<64;++C)m[C]=0;var q,v;a();return{reset:a,update:c,digest:e,digestString:function(){for(var g=e(),l="",f=0;f=0))return null;a=this.u;if(!a)return null;a=a.split("|");return a.length<=b?null:a[b]||null}; var qa=function(a,b,c){a=new Q(a,b,c);a.evaluate();return a},S=function(a,b,c){c=c||ra(this);var e=null;if(a){a=String(a);var d=a.indexOf(".");d!=-1&&(e=a.substr(d+1))}b=qa(c,b,e).i;if(a==null||a=="")a=b==a;else if(b==null||b.length!=a.length)a=!1;else{e=c=0;for(d=a.length;e