(function(){var m,aa=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b0;){var a=this.properties_.pop();if(a in this.object_)return a}return null};ra.prototype.getNext=ra.prototype.getNext;var sa=function(a){this.context_=new z;this.program_=a}; sa.prototype.next_=function(a){qa(this.context_);if(this.context_.yieldAllIterator_)return ta(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return ua(this)};var va=function(a,b){qa(a.context_);var c=a.context_.yieldAllIterator_;if(c)return ta(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return ua(a)}; sa.prototype.throw_=function(a){qa(this.context_);if(this.context_.yieldAllIterator_)return ta(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return ua(this)}; var ta=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);pa(e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(g){return a.context_.yieldAllIterator_=null,a.context_.throw_(g),ua(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return ua(a)},ua=function(a){for(;a.context_.nextAddress;)try{var b=a.program_(a.context_);if(b)return a.context_.isRunning_=!1,{value:b.value,done:!1}}catch(c){a.context_.yieldResult=void 0,a.context_.throw_(c)}a.context_.isRunning_= !1;if(a.context_.abruptCompletion_){b=a.context_.abruptCompletion_;a.context_.abruptCompletion_=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}},wa=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return va(a,b)};this[Symbol.iterator]=function(){return this}},xa=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done? d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})},ya=function(a){return xa(new wa(new sa(a)))},za=function(){for(var a=Number(this),b=[],c=a;c>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); t("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Aa(ka(this))}});return a});var Aa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}; t("Promise",function(a){function b(){this.batch_=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.asyncExecute=function(g){if(this.batch_==null){this.batch_=[];var h=this;this.asyncExecuteFunction(function(){h.executeBatch_()})}this.batch_.push(g)};var d=da.setTimeout;b.prototype.asyncExecuteFunction=function(g){d(g,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var h=0;h=f}}); var Ca=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cb.size)return!1;for(var c=this.keys(),d=c.next();!d.done;){if(!b.has(d.value))return!1;d=c.next()}return!0}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Da=Da||{},A=this||self,Ea=function(a,b,c){a=a.split(".");c=c||A;for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},Fa=function(a,b){var c=B("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},B=function(a,b){a=a.split(".");b=b||A;for(var c=0;c2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},Ma=function(a,b,c){Ma=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!= -1?Ka:La;return Ma.apply(null,arguments)},Na=function(a){return a},Oa=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=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=0)&&Array.prototype.splice.call(a,b,1);return c}function hb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}a=2;a===void 0&&(a=0);if(!lb)for(lb={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;e<5;e++){var f=c.concat(d[e].split(""));kb[e]=f;for(var g=0;g>2];k=a[(k& 3)<<4|l>>4];l=a[(l&15)<<2|h>>6];h=a[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(b.length-f){case 2:g=b[f+1],h=a[(g&15)<<2]||d;case 1:b=b[f],c[e]=""+a[b>>2]+a[(b&3)<<4|g>>4]+h+d}return c.join("")};function nb(){return typeof BigInt==="function"};var ob=typeof Symbol==="function"&&typeof Symbol()==="symbol";function pb(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 qb=pb("jas",void 0,!0),rb=pb(void 0,Symbol()),tb=pb(void 0,"0ub"),ub=pb(void 0,"0ubs"),vb=pb(void 0,"0actk"),wb=pb("m_m","messagePrototypeMarker",!0),xb=pb();Math.max.apply(Math,la(Object.values({IS_REPEATED_FIELD:1,IS_IMMUTABLE_ARRAY:2,IS_API_FORMATTED:4,ONLY_MUTABLE_VALUES:8,UNFROZEN_SHARED:16,MUTABLE_REFERENCES_ARE_OWNED:32,CONSTRUCTED:64,HAS_MESSAGE_ID:128,FROZEN_ARRAY:256,STRING_FORMATTED:512,GBIGINT_FORMATTED:1024,HAS_WRAPPER:2048,MUTABLE_SUBSTRUCTURES:4096,KNOWN_MAP_ARRAY:8192})));var yb={internalArrayState:{value:0,configurable:!0,writable:!0,enumerable:!1}},zb=Object.defineProperties,D=ob?qb:"internalArrayState",Ab,Bb=[];F(Bb,7);Ab=Object.freeze(Bb); function Cb(a,b){ob||D in a||zb(a,yb);a[D]|=b}function F(a,b){ob||D in a||zb(a,yb);a[D]=b};var Db={};function Eb(a,b){return b===void 0?a.copyOnWrite!==Fb&&!!(2&(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[D]|0)):!!(2&b)&&a.copyOnWrite!==Fb}var Fb={},Gb=Object.freeze({});function Hb(a){return a};function Ib(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a};var Jb=Ib(function(a){return typeof a==="number"}),Kb=Ib(function(a){return typeof a==="string"}),Lb=Ib(function(a){return typeof a==="boolean"}),Mb=Ib(function(a){return typeof a==="bigint"});var Nb=typeof A.BigInt==="function"&&typeof A.BigInt(0)==="bigint";function G(a){var b=a;if(Kb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Jb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Nb?BigInt(a):a=Lb(a)?a?"1":"0":Kb(a)?a.trim()||"0":String(a)} var Ob=Ib(function(a){return Nb?Mb(a):Kb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Ub=Ib(function(a){return Nb?a>=Pb&&a<=Qb:a[0]==="-"?Rb(a,Sb):Rb(a,Tb)}),Sb=Number.MIN_SAFE_INTEGER.toString(),Pb=Nb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Tb=Number.MAX_SAFE_INTEGER.toString(),Qb=Nb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Rb(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;H=b;I=(a-b)/4294967296>>>0}function Wb(a){if(a<0){Vb(0-a);var b=v(Xb(H,I));a=b.next().value;b=b.next().value;H=a>>>0;I=b>>>0}else Vb(a)}function Yb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else nb()?c=""+(BigInt(b)<>>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+Zb(c)+Zb(a));return c} function Zb(a){a=String(a);return"0000000".slice(a.length)+a}function $b(){var a=H,b=I;b&2147483648?nb()?a=""+(BigInt(b|0)<>>0)):(b=v(Xb(a,b)),a=b.next().value,b=b.next().value,a="-"+Yb(a,b)):a=Yb(a,b);return a}function Xb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function ac(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var bc=void 0;function cc(a){a=Error(a);ac(a,"warning");return a}function dc(a,b){if(a!=null){var c;var d=(c=bc)!=null?c:bc={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),ac(a,"incident"),Za(a))}};function ec(a){return Array.prototype.slice.call(a)};var fc=typeof BigInt==="function"?BigInt.asIntN:void 0,hc=Number.isSafeInteger,ic=Number.isFinite,jc=Math.trunc;function kc(a){return a.displayName||a.name||"unknown type name"}var lc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function mc(a){switch(typeof a){case "bigint":return!0;case "number":return ic(a);case "string":return lc.test(a);default:return!1}}function nc(a){if(!ic(a))throw cc("enum");return a|0}function oc(a){return a==null?a:ic(a)?a|0:void 0} function pc(a){if(typeof a!=="number")throw cc("int32");if(!ic(a))throw cc("int32");return a|0} function qc(a){var b=void 0;b!=null||(b=bb?1024:0);if(!mc(a))throw cc("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return rc(a);case "bigint":return String(fc(64,a));default:return sc(a)}case 1024:switch(c){case "string":return tc(a);case "bigint":return G(fc(64,a));default:return uc(a)}case 0:switch(c){case "string":return rc(a);case "bigint":return G(fc(64,a));default:return vc(a)}default:throw Error("Unknown format requested type for int64");}} function wc(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;if(a.length<16)Wb(Number(a));else if(nb())a=BigInt(a),H=Number(a&BigInt(4294967295))>>>0,I=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");I=H=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),I*=1E6,H=H*1E6+d,H>=4294967296&&(I+=Math.trunc(H/4294967296),I>>>=0,H>>>=0);b&&(b=v(Xb(H,I)),a=b.next().value,b=b.next().value,H=a,I=b)}return $b()} function vc(a){mc(a);a=jc(a);if(!hc(a)){Wb(a);var b=H,c=I;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:Yb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function sc(a){mc(a);a=jc(a);hc(a)?a=String(a):(Wb(a),a=$b());return a}function rc(a){mc(a);var b=jc(Number(a));if(hc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return wc(a)} function tc(a){var b=jc(Number(a));if(hc(b))return G(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return nb()?G(fc(64,BigInt(a))):G(wc(a))}function uc(a){return hc(a)?G(vc(a)):G(sc(a))}function xc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return G(fc(64,a));if(mc(a))return b==="string"?tc(a):uc(a)}function yc(a){if(typeof a!=="string")throw Error();return a}function zc(a){if(a!=null&&typeof a!=="string")throw Error();return a} function Ac(a){return a==null||typeof a==="string"?a:void 0};var Bc={reviveIntoImmutable:!0};function Cc(a,b,c){var d=d===void 0?!1:d;if(Na(xb)&&Na(rb)&&c===xb){c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=c[rb];if(!e)return;if(e=e.reviveUnknownFields)try{e(c,b,Bc);return}catch(f){Za(f)}}d&&(a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,(d=Na(rb))&&d in a&&(a=a[d])&&delete a[b])}function Dc(a,b){var c=Na(rb),d;ob&&c&&((d=a[c])==null?void 0:d[b])!=null&&dc(tb,3)}function Ec(a,b){b<100||dc(ub,1)};function Fc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Na(rb),g;!e&&ob&&f&&(g=a[f])&&g.forEachUnknownField(Ec);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),n=l?b&128?0:-1:void 0;if(!(b&1)){var q=h&&a[h-1];q!=null&&typeof q==="object"&&q.constructor===Object?(h--,g=h):q=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=Gc)!=null?r:Hb)(g-n,n,a,q,void 0)+n}}b=void 0;for(e=0;e=g){var p=e-n,w=void 0;((w=b)!=null?w:b={})[p]=r}else f[e]=r;if(q)for(var E in q)a= q[E],a!=null&&(a=c(a,d))!=null&&(h=+E,e=void 0,l&&!Number.isNaN(h)&&(e=h+n)=1024)throw Error("pvtlmt");for(var k in h)f= +k,f1024)throw Error("spvt");e=e&-16760833|(k&1023)<<14}}}F(a,e|64|d);return a}function Kc(){if(ab)throw Error("carr");dc(vb,5)};function Lc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[D]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Mc(a,c,!1,b&&!(c&16)):(Cb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[wb]===Db)return b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[D]|0,Eb(a,c)?a:Nc(a,b,c)?Oc(a,b):Mc(b,c)}function Oc(a,b,c){a=new a.constructor(b);c&&(a.copyOnWrite=Fb);a.noLegacyNull=Fb;return a} function Mc(a,b,c,d){d!=null||(d=!!(34&b));a=Fc(a,b,Lc,d);d=32;c&&(d|=2);b=b&16769217|d;F(a,b);return a}function Pc(a){if(a.copyOnWrite!==Fb)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=Mc(b,b[D]|0);Cb(b,2048);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0}function Qc(a){if(!Pc(a)&&Eb(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[D]|0))throw Error();} function Rc(a,b){b===void 0&&(b=a[D]|0);b&32&&!(b&4096)&&F(a,b|4096)}function Nc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(F(b,c|2),a.copyOnWrite=Fb,!0):!1};var Sc=G(0),Tc={},Vc=function(a,b,c,d,e){Object.isExtensible(a);b=Uc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c,e);if(b!==null||d&&a.noLegacyNull!==Fb)return b},Uc=function(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}}, Xc=function(a,b,c){Qc(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;Wc(a,a[D]|0,b,c)};function Wc(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[D]|0)>>14&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b} function Yc(a,b,c,d,e){var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[D]|0;d=Eb(a,g)?1:d;e=!!e||d===3;d===2&&Pc(a)&&(f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[D]|0);a=Uc(f,b);var h=Array.isArray(a)?a:Ab;var k=h===Ab?7:h[D]|0;a=k;2&g&&(a|=2);var l=a|1;a=4&l?!1:!0;if(a){4&l&&(h=ec(h),k=0,l=Zc(l,g),g=Wc(f,g,b,h));for(var n=0,q=0;n=a.length)throw Error();return a[c]},ed=function(a){return Yc(a,4,oc,void 0===Gb?2:4)},O=function(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Ga(c)+": "+c);return K(a,b,c,!1)};var Q=function(a,b,c){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a,b,c)};Q.prototype.toJSON=function(){return Ic(this)};var fd=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");Cb(b,32);return new a(b)}; Q.prototype.getExtension=function(a){Dc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);Cc(this,a.fieldIndex,a.lazyParse);return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,void 0===Gb?2:4,a.hasMessageId):a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,void 0===Gb?2:4,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,a.hasMessageId)}; Q.prototype.hasExtension=function(a){Dc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);Cc(this,a.fieldIndex,a.lazyParse);if(a.ctor){var b=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=bd(b,b[D]|0,a.ctor,a.fieldIndex,a.hasMessageId)!==void 0}else Dc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex),Cc(this,a.fieldIndex,a.lazyParse),a=a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex, null,a.hasMessageId),a=(a===null?void 0:a)!==void 0;return a};Q.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b=a[D]|0;return Nc(this,a,b)?Oc(this,a,!0):new this.constructor(Mc(a,b,!1))};Q.prototype[wb]=Db;Q.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};function gd(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function hd(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var id="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function jd(a,b){for(var c,d,e=1;e0)d(f);else{a:{if(f&&typeof f.length=="number"){if(Ja(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}eb(g?hb(f):f,d)}}},Ed=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}, Hd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},zd=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},yd=function(a){this.document_=a||A.document||document};m=yd.prototype;m.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};m.createElement=function(a){return Ed(this.document_,a)};m.createTextNode=function(a){return this.document_.createTextNode(String(a))};m.getWindow=function(){return this.document_.defaultView}; m.appendChild=function(a,b){a.appendChild(b)};m.append=function(a,b){Dd(zd(a),a,arguments)};m.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; m.removeNode=Hd;m.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};var T=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Id=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};Id.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};Id.prototype.put=function(a){this.reset_(a);this.occupants_1)));g=g.next)e||(f=g);e&&(c.state_==0&&d==1?fe(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):ge(c),he(c,e,3,b)))}a.parent_=null}else Vd(a,3,b)},ce=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||ie(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_= b;a.callbackEntriesTail_=b},be=function(a,b,c,d){var e=Yd(null,null,null);e.child=new U(function(f,g){e.onFulfilled=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.onRejected=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof ee?g(h):f(k)}catch(l){g(l)}}:g});e.child.parent_=a;ce(a,e);return e.child};U.prototype.unblockAndFulfill_=function(a){this.state_=0;Vd(this,2,a)};U.prototype.unblockAndReject_=function(a){this.state_=0;Vd(this,3,a)}; var Vd=function(a,b,c){if(a.state_==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.state_=1;a:{var d=c,e=a.unblockAndFulfill_,f=a.unblockAndReject_;if(d instanceof U){de(d,e,f,a);var g=!0}else if(Ud(d))d.then(e,f,a),g=!0;else{if(Ja(d))try{var h=d.then;if(typeof h==="function"){je(d,h,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}g||(a.result_=c,a.state_=b,a.parent_=null,ie(a),b!=3||c instanceof ee||ke(a,c))}},je=function(a,b,c,d,e){var f=!1,g=function(k){f||(f= !0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},ie=function(a){a.executing_||(a.executing_=!0,Qd(a.executeCallbacks_,a))},ge=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};U.prototype.executeCallbacks_=function(){for(var a;a=ge(this);)he(this,a,this.state_,this.result_);this.executing_=!1}; var he=function(a,b,c,d){if(c==3&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,le(b,c,d);else try{b.always?b.onFulfilled.call(b.context):le(b,c,d)}catch(e){me.call(null,e)}Xd.put(b)},le=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},ke=function(a,b){a.hadUnhandledRejection_=!0;Qd(function(){a.hadUnhandledRejection_&&me.call(null,b)})},me=Za,ee=function(a){C.call(this, a)};Oa(ee,C);ee.prototype.name="cancel";var $d=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var V=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0}; V.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof V&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,b.branches_<=0&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new ne(this),oe(this),pe(this,!1,a))}};V.prototype.continue_=function(a,b){this.blocked_=!1;pe(this,a,b)}; var pe=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;qe(a)},oe=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new re(a);a.silentlyCanceled_=!1}};V.prototype.callback=function(a){oe(this);pe(this,!0,a)};V.prototype.addCallback=function(a,b){return se(this,a,null,b)};V.prototype.finally=function(a){var b=this;return te(new Promise(function(c,d){se(b,function(e){a();c(e)},function(e){a();d(e)})}))}; var se=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=T(b):(b=T(b),c=T(c)));a.sequence_.push([b,c,d]);e&&qe(a);return a};V.prototype.then=function(a,b,c){var d,e,f=new U(function(g,h){e=g;d=h});se(this,e,function(g){g instanceof ne?f.cancel():d(g);return ue},this);return f.then(a,b,c)};V.prototype.$goog_Thenable=!0; var ve=function(a){return fb(a.sequence_,function(b){return typeof b[1]==="function"})},ue={},qe=function(a){if(a.unhandledErrorId_&&a.fired_&&ve(a)){var b=a.unhandledErrorId_,c=we[b];c&&(A.clearTimeout(c.id_),delete we[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],g=e[1];e=e[2];if(f=a.hadError_?g:f)try{var h=f.call(e||a.defaultScope_,b);h===ue&&(h=void 0);h!==void 0&&(a.hadError_= a.hadError_&&(h==b||h instanceof Error),a.result_=b=h);if(Ud(b)||typeof A.Promise==="function"&&b instanceof A.Promise)d=!0,a.blocked_=!0}catch(k){b=k,a.hadError_=!0,ve(a)||(c=!0)}}a.result_=b;d&&(h=Ma(a.continue_,a,!0),d=Ma(a.continue_,a,!1),b instanceof V?(se(b,h,d),b.blocking_=!0):b.then(h,d));c&&(b=new xe(b),we[b.id_]=b,a.unhandledErrorId_=b.id_)},te=function(a){var b=new V;a.then(function(c){b.callback(c)},function(c){oe(b);pe(b,!1,c)});return b},re=function(){C.call(this)};Oa(re,C); re.prototype.message="Deferred has already fired";re.prototype.name="AlreadyCalledError";var ne=function(){C.call(this)};Oa(ne,C);ne.prototype.message="Deferred was canceled";ne.prototype.name="CanceledError";var xe=function(a){this.id_=A.setTimeout(Ma(this.throwError,this),0);this.error_=a};xe.prototype.throwError=function(){delete we[this.id_];throw this.error_;};var we={};var Ce=function(){var a=Ta("https://apis.google.com/js/client.js"),b={},c=b.document||document,d=Ua(a).toString(),e=(new yd(c)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},g=new V(ye,f),h=null,k=b.timeout!=null?b.timeout:5E3;k>0&&(h=window.setTimeout(function(){ze(e,!0);var l=new Ae(1,"Timeout reached for loading script "+d);oe(g);pe(g,!1,l)},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(ze(e,b.cleanupWhenDone|| !1,h),g.callback(null))};e.onerror=function(){ze(e,!0,h);var l=new Ae(0,"Error while loading script "+d);oe(g);pe(g,!1,l)};f=b.attributes||{};jd(f,{type:"text/javascript",charset:"UTF-8"});Cd(e,f);wd(e,a);Be(c).appendChild(e);return g},Be=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},ye=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&ze(a,!0,this.timeout_)}},ze=function(a,b,c){c!=null&&A.clearTimeout(c);a.onload= function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Hd(a)},0)},Ae=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);C.call(this,c);this.code=a};Oa(Ae,C);var De=function(a){var b=a.serverUrl;var c=a.apiKey;a=a.authUser===void 0?0:a.authUser;this.serverUrl_=b;this.apiKey_=c;this.authUser_=a};De.prototype.get=function(a,b){return Ee(this,"GET",a,null,b)}; var Ee=function(a,b,c,d,e){var f,g,h,k,l;return ya(function(n){if(n.nextAddress==1)return n.yield(Fe(),2);f=B("gapi.client");g=B("gapi.config");h=Ge();k=f.getToken();f.setToken(null);g.update("googleapis.config/auth/useFirstPartyAuth",!0);g.update("googleapis.config/auth/useFirstPartyAuthV2",!0);g.update("client/xd4",!1);g.update("client/cors",!1);g.update("client/apiKey",a.apiKey_);l=f.request({root:a.serverUrl_,path:c,method:b,body:d?JSON.stringify(Ic(d)):void 0,headers:{"Content-Type":"application/json+protobuf", "X-Goog-Api-Key":a.apiKey_,"X-Goog-AuthUser":a.authUser_}}).then(function(q){try{return fd(e,q.body)}catch(r){}});He(h);f.setToken(k);return n.return(l)})},Ge=function(){var a=B("gapi.config"),b={};b["googleapis.config/auth/useFirstPartyAuth"]=a.get("googleapis.config/auth/useFirstPartyAuth");b["googleapis.config/auth/useFirstPartyAuthV2"]=a.get("googleapis.config/auth/useFirstPartyAuthV2");b["client/xd4"]=a.get("client/xd4");b["client/cors"]=a.get("client/cors");b["client/apiKey"]=a.get("client/apiKey"); return b},He=function(a){for(var b=B("gapi.config"),c=v(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.update(d,a[d])},Fe=function(){return B("gapi.load")?Ie():Ce().then(function(){return Ie()},function(a){return Zd("Failed initializing gapi.\nGapi error: "+a)})},Ie=function(){var a=ae(),b=B("gapi.client");if(b)a.resolve(b);else try{B("gapi.load")("client",{callback:function(){a.resolve(B("gapi.client"))}})}catch(c){a.reject("Failed loading gapi library: client")}return a.promise};var W=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(W,Q);W.prototype.getSeconds=function(){var a=a===void 0?Sc:a;var b=bb?Vc(this,1,void 0,void 0,xc):xc(Vc(this,1));return b!=null?b:a};W.prototype.setSeconds=function(a){a=a==null?a:qc(a);return K(this,1,a,"0")};var Je=function(){var a=(new W).setSeconds((new Date).getTimezoneOffset()*-60);return K(a,2,pc(0),0)};var Ke=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ke,Q);Ke.prototype.getTimezoneOffset=function(){return L(this,W,3)};Ke.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Le=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Le,Q);Le.prototype.setPlatform=function(a){return K(this,1,a==null?a:nc(a),0)};Le.prototype.setSupportedCapabilityList=function(a){return ad(this,3,a,nc)};Le.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:pc(a),0)};var Me=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Me,Q);Me.prototype.setDeviceInfo=function(a){return M(this,Ke,1,a)};Me.prototype.setLibraryInfo=function(a){return M(this,Le,2,a)};var Ne=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ne,Q);Ne.prototype.getAllowedCompletionStyleList=function(){return ed(this)};var Oe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Oe,Q);var Pe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Pe,Q);Pe.prototype.getPromptDelay=function(){return L(this,Oe,1)};Pe.prototype.getAllowedPromptStyleList=function(){return ed(this)};var Qe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Qe,Q);Qe.prototype.getLanguage=function(){return cd(this,8)};Qe.prototype.getCompletion=function(){return L(this,Ne,2)};Qe.prototype.getDisplaySettings=function(){return L(this,Pe,3)};var Re=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Re,Q);Re.prototype.setIsScheduledSurvey=function(a){return O(this,1,a)};var Se=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Se,Q);var Te=function(a){return cd(a,1)};var Ue=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ue,Q);m=Ue.prototype;m.setTriggerId=function(a){return K(this,1,zc(a),"")};m.setLanguageList=function(a){return ad(this,2,a,yc)};m.getLanguage=function(){return dd(this,2)};m.setTestingMode=function(a){return O(this,3,a)};m.getSurveyId=function(){return cd(this,4)};m.setSurveyId=function(a){Xc(this,4,zc(a))};var Ve=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ve,Q);Ve.prototype.setTriggerContext=function(a){return M(this,Ue,1,a)};Ve.prototype.setClientContext=function(a){return M(this,Me,2,a)};Ve.prototype.setScheduledSurveyContext=function(a){M(this,Re,3,a)};var We=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(We,Q);m=We.prototype;m.getSession=function(){return L(this,Se,1)};m.getSurveyPayload=function(){return L(this,Qe,2)};m.getError=function(a){return dd(this,4,a)};m.getSurveyId=function(){return cd(this,5)};m.setSurveyId=function(a){K(this,5,zc(a),"")};var Xe=function(){this.actions_={}};Xe.prototype.register=function(a,b,c){this.actions_[a]={callback:b,isApplicable:c||Sd}};Xe.prototype.execute=function(a,b){(a=this.actions_[a])&&a.isApplicable()&&a.callback.apply(null,b||[])};Xe.prototype.isApplicable=function(a){a=this.actions_[a];return!!a&&a.isApplicable()};Xe.prototype.register=Xe.prototype.register;var Ye=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ye,Q);var Ze=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ze,Q);Ze.prototype.setDirection=function(a){return K(this,8,zc(a),"")};var $e=function(a){return function(b){return fd(a,b)}}(Ze);function af(a){if(!a)return null;a=Ac(Vc(a,4,void 0,Tc));return a===null||a===void 0?null:Ta(a)};var bf=x([""]),cf=x(["https://www.google.com/tools/feedback/help_panel_binary.js"]); function df(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=c.document,g=a.nonce,h=$e(b);h=L(h,Ye,10)?af(L(h,Ye,10))||S(bf):S(cf);var k=Ad(f).createElement("SCRIPT");g&&k.setAttribute("nonce",g);k.onload=function(){c.startHelpCard({apiKey:"",context:a.helpCenterContext,directToGetHelp:!1,enableSendFeedback:!1,helpApiData:{helpApiConfig:a,productWindow:c},helpcenter:e,helpPanelStartTimeMs:a.helpPanelStartTimeMs,helpPanelTheme:a.helpPanelTheme,locale:a.locale, nd4cSettingsIsEnabled:!1,onOpenHelpPanelCallback:d,serverData:b})};wd(k,h);f.body.appendChild(k)};var ef=x(["https://www.google.com/tools/feedback/"]),ff=x(["http://localhost.corp.google.com/inapp/"]),gf=x(["http://localhost.proxy.googlers.com/inapp/"]),hf=x(["https://asx-frontend-autopush.corp.google.com/inapp/"]),jf=x(["https://asx-frontend-autopush.corp.google.com/tools/feedback/"]),kf=x(["https://asx-frontend-autopush.corp.google.co.uk/inapp/"]),lf=x(["https://asx-frontend-autopush.corp.google.co.uk/tools/feedback/"]),mf=x(["https://asx-frontend-autopush.corp.google.de/inapp/"]),nf=x(["https://asx-frontend-autopush.corp.google.de/tools/feedback/"]), of=x(["https://asx-frontend-autopush.corp.youtube.com/tools/feedback/"]),pf=x(["https://asx-frontend-autopush.corp.youtube.com/inapp/"]),qf=x(["https://asx-help-frontend-autopush.corp.youtube.com/tools/feedback/"]),rf=x(["https://asx-help-frontend-autopush.corp.youtube.com/inapp/"]),sf=x(["https://asx-frontend-staging.corp.google.com/inapp/"]),tf=x(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),uf=x(["https://support.google.com/inapp/"]),vf=x(["https://sandbox.google.com/inapp/"]), wf=x(["https://sandbox.google.com/tools/feedback/"]),xf=x(["https://www.google.cn/tools/feedback/"]),yf=x(["https://help.youtube.com/tools/feedback/"]),zf=x(["https://asx-frontend-staging.corp.google.com/inapp/"]),Af=x(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),Bf=x(["https://localhost.corp.google.com/inapp/"]),Cf=x(["https://localhost.proxy.googlers.com/inapp/"]),Df=S(ef),Ef=[S(ff),S(gf)],Ff=[S(hf),S(jf),S(kf),S(lf),S(mf),S(nf),S(of),S(pf),S(qf),S(rf)],Gf=[S(sf),S(tf)],Hf= [Df,S(uf),S(vf),S(wf),S(xf),S(yf),S(zf),S(Af),S(Bf),S(Cf)];la(Ef);la(Ff);la(Gf);la(Hf);var If=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};If.prototype.disposed_=!1;If.prototype.isDisposed=function(){return this.disposed_};If.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};If.prototype[Symbol.dispose]=function(){this.dispose()};If.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Jf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Jf.prototype.stopPropagation=function(){this.propagationStopped_=!0};Jf.prototype.preventDefault=function(){this.defaultPrevented=!0};var Kf=function(){if(!A.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};A.addEventListener("test",c,b);A.removeEventListener("test",c,b)}catch(d){}return a}();function Lf(a,b){Jf.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.timeStamp=0;this.event_=null;a&&this.init(a,b)}Oa(Lf,Jf); Lf.prototype.init=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;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=ib||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= ib||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp= a.timeStamp;this.event_=a;a.defaultPrevented&&Lf.superClass_.preventDefault.call(this)};Lf.prototype.stopPropagation=function(){Lf.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Lf.prototype.preventDefault=function(){Lf.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Qf="closure_listenable_"+(Math.random()*1E6|0);var Rf=0;function Sf(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Rf;this.removed=this.callOnce=!1}var Tf=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Uf(a){this.src=a;this.listeners={};this.typeCount_=0}Uf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var g=Vf(a,b,d,e);g>-1?(b=a[g],c||(b.callOnce=!1)):(b=new Sf(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b}; Uf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Vf(e,b,c,d);return b>-1?(Tf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Wf=function(a,b){var c=b.type;c in a.listeners&&gb(a.listeners[c],b)&&(Tf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--))}; Uf.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Vf(a,b,c,d));return e>-1?a[e]:null};Uf.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return hd(this.listeners,function(f){for(var g=0;g>>0),bg=function(a){if(typeof a==="function")return a;a[jg]||(a[jg]=function(b){return a.handleEvent(b)});return a[jg]};var kg=function(){If.call(this);this.eventTargetListeners_=new Uf(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Oa(kg,If);kg.prototype[Qf]=!0;m=kg.prototype;m.addEventListener=function(a,b,c,d){ag(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){hg(this,a,b,c,d)}; m.dispatchEvent=function(a){var b=this.parentEventTarget_;if(b){var c=[];for(var d=1;b;b=b.parentEventTarget_)c.push(b),++d}b=this.actualEventTarget_;d=a.type||a;if(typeof a==="string")a=new Jf(a,b);else if(a instanceof Jf)a.target=a.target||b;else{var e=a;a=new Jf(d,b);jd(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.propagationStopped_&&f>=0;f--){var g=a.currentTarget=c[f];e=lg(g,d,!0,a)&&e}a.propagationStopped_||(g=a.currentTarget=b,e=lg(g,d,!0,a)&&e,a.propagationStopped_||(e=lg(g,d,!1,a)&&e));if(c)for(f= 0;!a.propagationStopped_&&f=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var X=function(){kg.call(this);this.headers=new Map;this.active_=!1;this.xhr_=null;this.lastUri_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.progressEventsEnabled_=this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};Oa(X,kg); var pg=/^https?$/i,qg=["POST","PUT"],rg=[],sg=function(a,b,c,d,e,f){var g=new X;rg.push(g);b&&g.listen("complete",b);g.eventTargetListeners_.add("ready",g.cleanupSend_,!0,void 0,void 0);f&&(g.timeoutInterval_=Math.max(0,f));g.withCredentials_=!0;g.send(a,c,d,e)};m=X.prototype;m.cleanupSend_=function(){this.dispose();gb(rg,this)};m.setTrustToken=function(a){this.trustToken_=a};m.setAttributionReporting=function(a){this.attributionReportingOptions_=a}; m.send=function(a,b,c,d){if(this.xhr_)throw Error("[goog.net.XhrIo] Object is active with another request="+this.lastUri_+"; newUri="+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.errorDispatched_=!1;this.active_=!0;this.xhr_=new XMLHttpRequest;this.xhr_.onreadystatechange=T(Ma(this.onReadyStateChange_,this));this.progressEventsEnabled_&&"onprogress"in this.xhr_&&(this.xhr_.onprogress=T(Ma(function(g){this.onProgressHandler_(g,!0)},this)),this.xhr_.upload&&(this.xhr_.upload.onprogress=T(Ma(this.onProgressHandler_, this))));try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(g){this.error_(5,g);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=v(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()}); e=A.FormData&&a instanceof A.FormData;!(db(qg,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=v(c);for(d=b.next();!d.done;d=b.next())c=v(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(g){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(g){}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),this.timeoutId_=null),this.timeoutInterval_>0&&(this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(g){this.error_(5,g)}};m.timeout_=function(){typeof Da!="undefined"&&this.xhr_&&(this.dispatchEvent("timeout"),this.abort(8))}; m.error_=function(){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);tg(this);ug(this)};var tg=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};X.prototype.abort=function(){this.xhr_&&this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ug(this))}; X.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),ug(this,!0));X.superClass_.disposeInternal.call(this)};X.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)vg(this);else this.onReadyStateChangeEntryPoint_()};X.prototype.onReadyStateChangeEntryPoint_=function(){vg(this)}; var vg=function(a){if(a.active_&&typeof Da!="undefined")if(a.inSend_&&wg(a)==4)setTimeout(a.onReadyStateChange_.bind(a),0);else if(a.dispatchEvent("readystatechange"),wg(a)==4){a.active_=!1;try{try{var b=wg(a)>2?a.xhr_.status:-1}catch(g){b=-1}a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.lastUri_).match(ng)[1]||null;!f&&A.self&&A.self.location&&(f=A.self.location.protocol.slice(0,-1));e=!pg.test(f? f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"),a.dispatchEvent("success")):tg(a)}finally{ug(a)}}};X.prototype.onProgressHandler_=function(a,b){this.dispatchEvent(xg(a,"progress"));this.dispatchEvent(xg(a,b?"downloadprogress":"uploadprogress"))}; var xg=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ug=function(a,b){if(a.xhr_){a.timeoutId_&&(clearTimeout(a.timeoutId_),a.timeoutId_=null);var c=a.xhr_;a.xhr_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};X.prototype.isActive=function(){return!!this.xhr_}; var wg=function(a){return a.xhr_?a.xhr_.readyState:0},yg=function(a){if(a.xhr_){a=a.xhr_.responseText;a.indexOf(")]}'\n")==0&&(a=a.substring(5));a:{if(A.JSON)try{var b=A.JSON.parse(a);break a}catch(c){}b=mg(a)}return b}};X.prototype.getResponseHeader=function(a){if(this.xhr_&&wg(this)==4)return a=this.xhr_.getResponseHeader(a),a===null?void 0:a};X.prototype.getAllResponseHeaders=function(){return this.xhr_&&wg(this)>=2?this.xhr_.getAllResponseHeaders()||"":""};var zg=x([""]),Ag=x(["https://www.google.com/tools/feedback/help_panel_binary.js"]);function Bg(a,b,c,d,e,f){return ya(function(g){return g.return(new Promise(function(h){sg(""+a+"/repeater_help_panel?locale="+b+"&helpContext="+c+"&productId="+d+"&helpcenter="+e+"&openingMode="+f,function(k){k=k.target;var l=null;try{l=fd(Ze,JSON.stringify(yg(k)))}catch(n){}h(l)})}))})} function Cg(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=$e(b),g=a.helpPanelMode||0,h=a.fixedHelpPanelContainer,k=a.customHelpPanelContainer;h&&g!==1?h=void 0:g!==1||h&&!N(f,5)||(g=0,h=void 0);k&&g!==2?g=2:g!==2||k&&!a.anchor||(g=0,k=void 0);var l=a.minimizeMode;g!==2||l&&l!==0?g===1&&(l=2):l=2;var n=a.openingMode;if(a.directToGetHelp)n=2;else if(a.supportContentUrl||a.defaultHelpArticleId)n=3;var q=c.document,r=a.nonce,p=L(f,Ye,10)?af(L(f,Ye,10))|| S(zg):S(Ag),w=B("document.location.href",c);a.helpCenterContext||a.context||!w||(a.context=w.substring(0,1200));w=!0;if(d){var E=JSON.stringify(d);(w=E.length<=1200)&&(a.psdJson=E)}w||(d={invalidPsd:!0});var P=a.helpPanelTheme;a.helpPanelTheme===2&&(P=c.matchMedia&&c.matchMedia("(prefers-color-scheme: dark)").matches?1:0);w=Ad(q).createElement("SCRIPT");r&&w.setAttribute("nonce",r);w.onload=function(){c.startHelpPanel({helpcenter:e,apiKey:"testpage",channel:a.channel,context:a.context||a.helpCenterContext|| c.location.href,defaultHelpArticleFragment:a.defaultHelpArticleFragment,defaultHelpArticleId:a.defaultHelpArticleId,defaultHelpArticleHelpcenterPath:a.defaultHelpArticleHelpcenterPath,directToGetHelp:a.directToGetHelp||!1,openToHelpGuideEntryButtonId:a.openToHelpGuideEntryButtonId,enableHelpGuideMaximize:a.enableHelpGuideMaximize,enableHelpGuideConversationalAi:a.enableHelpGuideConversationalAi,enableHelpGuideHumanChat:a.enableHelpGuideHumanChat,internalHelpCenter:cd(f,12),enableSendFeedback:a.enableSendFeedback|| !1,helpPanelTheme:P,locale:a.locale,nd4cSettingsIsEnabled:a.nd4cSettingsIsEnabled||!1,nd4cSettingsCountryCode:a.nd4cSettingsCountryCode||"",serverData:b,supportContentUrl:a.supportContentUrl,symptom:a.symptom,helpApiData:{helpApiConfig:a,frdProductData:a.frdProductData,productData:d,productWindow:c},helpPanelMode:g,onPromotedProductLinkClickCallback:a.onPromotedProductLinkClickCallback,fixedHelpPanelContainer:h,customHelpPanelContainer:k,openingMode:n,onMinimizeCallback:a.onMinimizeCallback,onGseEventCallback:a.onGseEventCallback, minimizeMode:l||0,helpFlowSessionId:a.helpFlowSessionId||a.supportVisitId,helpGuideHelpCenterEmbedEntryPoint:a.helpGuideHelpCenterEmbedEntryPoint,helpGuideCommonEmbedEntryPoint:a.helpGuideCommonEmbedEntryPoint,helpGuideStartingFlow:a.helpGuideStartingFlow,gseSessionOptions:a.gseSessionOptions,helpPanelStartTimeMs:a.helpPanelStartTimeMs,disableEndUserCredentials:a.disableEndUserCredentials,gsePageUrl:a.gsePageUrl,mendelIds:a.mendelIds,productDeepLinkRegex:a.productDeepLinkRegex,onProductDeepLinkClickCallback:a.onProductDeepLinkClickCallback, supportJourneyId:a.supportJourneyId})};wd(w,p);q.body.appendChild(w)};for(var Dg={en:["en-us"],ar:["ar-eg"],zh:["zh-cn","zh-hans","zh-hans-cn"],"zh-tw":["zh-hant","zh-hant-tw"],nl:["nl-nl"],"en-gb":[],fr:["fr-fr"],de:["de-de"],it:["it-it"],ja:["ja-jp"],ko:["ko-kr"],pl:["pl-pl"],pt:["pt-br"],ru:["ru-ru"],es:["es-es"],th:["th-th"],tr:["tr-tr"],"es-419":[],bg:["bg-bg"],ca:["ca-es"],hr:["hr-hr"],cs:["cs-cz"],da:["da-dk"],fil:["fil-ph","tl","tl-ph"],fi:["fi-fi"],el:["el-gr"],iw:["he","he-il","iw-il"],hi:["hi-in"],hu:["hu-hu"],id:["id-id","in","in-id"],lv:["lv-lv"],lt:["lt-lt"], no:["no-no","nb","nb-no"],"pt-pt":[],ro:["ro-ro","mo"],sr:["sr-rs","sr-cyrl-rs"],sk:["sk-sk"],sl:["sl-sl"],sv:["sv-se"],uk:["uk-ua"],vi:["vi-vn"],fa:["fa-ir"],af:["af-za"],bn:["bn-in"],et:["et-ee"],is:["is-is"],ms:["ms-my"],mr:["mr-in"],sw:["sw-tz"],ta:["ta-in"],sq:["sq-al"],hy:["hy-am"],az:["az-az"],my:["my-mm"],ka:["ka-ge"],kk:["kk-kz"],km:["km-kh"],lo:["lo-la"],mk:["mk-mk"],mn:["mn-mn"],ne:["ne-np"],si:["si-lk"],am:["am-et"],gu:["gu-in"],kn:["kn-in"],ml:["ml-in"],te:["te-in"],ur:["ur-pk"],ky:["ky-kg"], pa:["pa-in"],uz:["uz-uz"],"sr-latn":["sh"],"fr-ca":["fr-ca"]},Eg={},Fg=v(Object.keys(Dg)),Gg=Fg.next();!Gg.done;Gg=Fg.next()){var Hg=Gg.value;Eg[Hg]=Hg;for(var Ig=v(Dg[Hg]),Jg=Ig.next();!Jg.done;Jg=Ig.next())Eg[Jg.value]=Hg};var Kg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Kg,Q);Kg.prototype.getTimezoneOffset=function(){return L(this,W,3)};Kg.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Lg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Lg,Q);Lg.prototype.setPlatform=function(a){return K(this,1,a==null?a:nc(a),0)};Lg.prototype.setSupportedCapabilityList=function(a){return ad(this,3,a,nc)};Lg.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:pc(a),0)};var Mg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Mg,Q);Mg.prototype.setDeviceInfo=function(a){return M(this,Kg,1,a)};Mg.prototype.setLibraryInfo=function(a){return M(this,Lg,2,a)};var Ng=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Ng,Q);Ng.prototype.getAllowedCompletionStyleList=function(){return ed(this)};var Og=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Og,Q);var Pg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Pg,Q);Pg.prototype.getPromptDelay=function(){return L(this,Og,1)};Pg.prototype.getAllowedPromptStyleList=function(){return ed(this)};var Qg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Qg,Q);Qg.prototype.getLanguage=function(){return cd(this,8)};Qg.prototype.getCompletion=function(){return L(this,Ng,2)};Qg.prototype.getDisplaySettings=function(){return L(this,Pg,3)};var Rg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Rg,Q);Rg.prototype.setIsScheduledSurvey=function(a){return O(this,1,a)};var Sg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Sg,Q);var Tg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Tg,Q);var Ug=function(a){return N(a,1)},Vg=function(a){var b=new Tg;return O(b,1,a)};var Wg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Wg,Q);m=Wg.prototype;m.setTriggerId=function(a){return K(this,1,zc(a),"")};m.setLanguageList=function(a){return ad(this,2,a,yc)};m.getLanguage=function(){return dd(this,2)};m.setTestingMode=function(a){return O(this,3,a)};m.getSurveyId=function(){return cd(this,4)};m.setSurveyId=function(a){Xc(this,4,zc(a))};var Xg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Xg,Q);var Yg=function(a,b){return K(a,1,zc(b),"")};Xg.prototype.setApiKey=function(a){return K(this,2,zc(a),"")};Xg.prototype.setPlatform=function(a){return K(this,3,a==null?a:nc(a),0)};var Zg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(Zg,Q);var $g=function(a,b){return M(a,Tg,1,b)};var ah=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(ah,Q);ah.prototype.setTriggerContext=function(a){return M(this,Wg,1,a)};ah.prototype.setClientContext=function(a){return M(this,Mg,2,a)};ah.prototype.setScheduledSurveyContext=function(a){M(this,Rg,3,a)};var bh=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};u(bh,Q);m=bh.prototype;m.getSession=function(){return L(this,Sg,1)};m.getSurveyPayload=function(){return L(this,Qg,2)};m.getError=function(a){return dd(this,4,a)};m.getSurveyId=function(){return cd(this,5)};m.setSurveyId=function(a){K(this,5,zc(a),"")};var ch=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 d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};function dh(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}function b(q){for(var r=g,p=0;p<64;p+=4)r[p/4]=q[p]<<24|q[p+1]<<16|q[p+2]<<8|q[p+3];for(p=16;p<80;p++)q=r[p-3]^r[p-8]^r[p-14]^r[p-16],r[p]=(q<<1|q>>>31)&4294967295;q=e[0];var w=e[1],E=e[2],P=e[3],sb=e[4];for(p=0;p<80;p++){if(p<40)if(p<20){var na=P^w&(E^P);var Ha=1518500249}else na=w^E^P,Ha=1859775393;else p<60?(na=w&E|P&(w|E),Ha=2400959708):(na=w^E^P,Ha=3395469782);na=((q<<5|q>>>27)&4294967295)+ na+sb+Ha+r[p]&4294967295;sb=P;P=E;E=(w<<30|w>>>2)&4294967295;w=q;q=na}e[0]=e[0]+q&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+E&4294967295;e[3]=e[3]+P&4294967295;e[4]=e[4]+sb&4294967295}function c(q,r){if(typeof q==="string"){q=unescape(encodeURIComponent(q));for(var p=[],w=0,E=q.length;w=56;p--)f[p]=r&255,r>>>=8;b(f);for(p=r=0;p<5;p++)for(var w=24;w>=0;w-=8)q[r++]=e[p]>>w&255;return q}for(var e=[],f=[],g=[],h=[128],k=1;k<64;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,digestString:function(){for(var q=d(),r="",p=0;p=0;b--)this.remove(a[b])};var ih=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0?(e=Fh(b!=null?b:"")+"/aloha_form_properties?productId="+a,sg(e,function(f){f=f.target;var g=null;try{g=fd(nh,JSON.stringify(yg(f)))}catch(h){f=new nh,g=mh(),g=O(g,7,!0),g=O(g,10,!0),g=O(g,12,!0),g=O(g,13,!1),g=O(g,14,!0),g=O(g,15,!0),g=O(g,20,!1),g=M(f,lh,1,g)}d(g)},"GET","",{},2E3)):e(Error("Invalid product id: "+a))}))})} function Fh(a){return oh(a)?a:"https://www.google.com/tools/feedback"};var Gh=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||A,e=d.document,f=a.nonce||vd(d.document);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var g=B("document.location.href",d);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(b&&JSON&&JSON.stringify){var h=JSON.stringify(b);(g=h.length<=1200)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d, b);else{d=c+"/load.js?";for(var k in a)b=a[k],b==null||Ja(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=Ad(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);wd(a,Ta(d));e.body.appendChild(a)}},Hh=function(a,b,c,d){var e,f;return ya(function(g){e=c||A;var h=a.serverEnvironment==="DEV",k=c||A;k=a.nonce||vd(k.document);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale, disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0, submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);f=h;return g.yield(Dh(f,d,e),0)})},Ih=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//, "");ud(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Gh(a,b,c):Eh(a.productId,a.feedbackServerUri).then(function(e){e=L(e,lh,1);var f=!jb||(e==null?void 0:e.getEnableMweb()),g=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&g?Hh(a,b,c,e).catch(function(h){!h||h instanceof uh||Gh(a,b,c)}):Gh(a,b,c)},function(e){!e||e instanceof uh||Gh(a,b,c)})}catch(e){Hh(a,b,c,null).catch(function(f){!f||f instanceof uh||Gh(a,b,c)})}}; Ea("userfeedback.api.startFeedback",Ih);function Jh(a,b){var c=nd(a);if(!Kh.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Lh,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof md?nd(d):encodeURIComponent(String(d))});return Ta(a)}var Lh=/%{(\w+)}/g,Kh=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i");function Mh(){}Mh.prototype.next=function(){return Nh};var Nh={done:!0,value:void 0};Mh.prototype.__iterator__=function(){return this};function Oh(a){if(a instanceof Mh)return a;if(typeof a.__iterator__=="function")return a.__iterator__(!1);if(Ia(a)){var b=0,c=new Mh;c.next=function(){for(;;){if(b>=a.length)return Nh;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");};function Ph(a){this.elements_={};if(a)for(var b=0;b1||f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?(Y(b),b.path_=d):c=a.queryData_.toString()!=="";c?Zh(b,a.queryData_.clone()):c=!!a.fragment_;c&&(a=a.fragment_,Y(b),b.fragment_=a);return b};Wh.prototype.clone=function(){return new Wh(this)}; var Xh=function(a,b,c){Y(a);a.scheme_=c?$h(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a},Yh=function(a,b){Y(a);if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.port_=b}else a.port_=null},Zh=function(a,b,c){Y(a);b instanceof ai?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=bi(b,gi)),a.queryData_=new ai(b,a.ignoreCase_))};Wh.prototype.getQuery=function(){return this.queryData_.toString()}; Wh.prototype.removeParameter=function(a){Y(this);this.queryData_.remove(a);return this};var Y=function(a){if(a.isReadOnly_)throw Error("Tried to modify a read-only Uri");};Wh.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var $h=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},bi=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,hi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},hi=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ci=/[#\/\?@]/g,ei=/[#\?:]/g,di=/[#\?]/g,gi=/[#\?@]/g,fi=/#/g,ai=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},ii=function(a){a.keyMap_||(a.keyMap_= new Map,a.count_=0,a.encodedQuery_&&og(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};m=ai.prototype;m.add=function(a,b){ii(this);this.encodedQuery_=null;a=ji(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};m.remove=function(a){ii(this);a=ji(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1}; m.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};m.isEmpty=function(){ii(this);return this.count_==0};m.containsKey=function(a){ii(this);a=ji(this,a);return this.keyMap_.has(a)};m.forEach=function(a,b){ii(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; m.getKeys=function(){ii(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d0?String(a[0]):b}; m.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c0&&(this.encodedQuery_=null,this.keyMap_.set(ji(this,d),hb(b)),this.count_+=b.length))},this));this.ignoreCase_=a};ai.prototype.extend=function(a){for(var b=0;b0?b.preferredSurveyLanguageList:[a.locale_]; h=(new Wg).setTriggerId(b.triggerId).setLanguageList(h).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!=""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&h.setSurveyId(b.surveyIdForTestingMode);f=(new ah).setTriggerContext(h).setClientContext((new Mg).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&f.setScheduledSurveyContext((new Rg).setIsScheduledSurvey(c));d=Ee(d,"POST",e,f,bh)}else d=cj(a,b,c);return d},function(){return cj(a,b,c)})},bj=function(a,b){var c= [],d=ch(A==null?void 0:A.location.href);var e=[];var f;(f=A.__SAPISID||A.__APISID||A.__3PSAPISID||A.__1PSAPISID||A.__OVERRIDE_SID)?f=!0:(typeof document!=="undefined"&&(f=new hh,f=f.get("SAPISID")||f.get("APISID")||f.get("__Secure-3PAPISID")||f.get("__Secure-1PAPISID")),f=!!f);f&&(f=(d=d.indexOf("https:")==0||d.indexOf("chrome-extension:")==0||d.indexOf("chrome-untrusted://new-tab-page")==0||d.indexOf("moz-extension:")==0)?A.__SAPISID:A.__APISID,f||typeof document==="undefined"||(f=new hh,f=f.get(d? "SAPISID":"APISID")||f.get("__Secure-3PAPISID")),(f=f?fh(f,d?"SAPISIDHASH":"APISIDHASH",c):null)&&e.push(f),d&&((d=jh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",c))&&e.push(d),(c=jh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",c))&&e.push(c)));e=e.length==0?null:e.join(" ");b.thirdPartyDomainSupportEnabled!=void 0&&b.thirdPartyDomainSupportEnabled&&(a.thirdPartyDomainSupportEnabled_=!0,e=!1);return e?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous"},cj=function(a,b,c){var d=new De({serverUrl:b.nonProd? "https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.apiKey_,authUser:b.authuser}),e=bj(a,b),f=Je();f=(new Ke).setTimezoneOffset(f);var g=(new Le).setPlatform(1).setLibraryVersionInt(438217234).setSupportedCapabilityList([1,2]);a=b.preferredSurveyLanguageList&&b.preferredSurveyLanguageList.length>0?b.preferredSurveyLanguageList:[a.locale_];a=(new Ue).setTriggerId(b.triggerId).setLanguageList(a).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!= ""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&a.setSurveyId(b.surveyIdForTestingMode);b=(new Ve).setTriggerContext(a).setClientContext((new Me).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&b.setScheduledSurveyContext((new Re).setIsScheduledSurvey(c));return Ee(d,"POST",e,b,We)},xi=function(a){return typeof a=="string"&&!!a.match(/^[A-Za-z0-9]+$/)},zi=function(a){try{var b=parseInt,c=a.getDisplaySettings().getPromptDelay();var d=L(c,W,1);var e=b(kh(d.getSeconds()),10); isNaN(e)&&(e=0)}catch(k){e=0}try{b=parseInt;var f=a.getDisplaySettings().getPromptDelay();var g=L(f,W,2);var h=b(kh(g.getSeconds()),10);isNaN(h)&&(h=0)}catch(k){h=0}return Math.floor(Math.random()*(h-e+1))+e},Ci=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&Eg[c.language.toLowerCase()]?Eg[c.language.toLowerCase()]:Eg[a.locale_.toLowerCase()];e=e&&e.replace("-","_");e==="fa"&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!dj("https://www.gstatic.com/uservoice/surveys/resources/"+ d+"/js/survey/survey_binary__"+f+".js")&&ej();window.hatsNextGlobalObject?fj(b,c):(e=document.createElement("script"),d=S(pi,d,f),wd(e,d),e.type="text/javascript",e.onload=function(){return fj(b,c)},e.onerror=function(){b.listener&&b.listener.surveyPrompted&&b.listener.surveyPrompted(c,{reason:"Failed to load survey binary"})},e.setAttribute("data-survey-binary",""),a.nonce_&&e.setAttribute("nonce",a.nonce_),document.querySelector("[data-survey-binary]")||document.body.appendChild(e))},fj=function(a, b){a:{var c="triggerCutoffTime";a.parentDomElementId!=null&&a.parentDomElementId!=""&&(c+="_"+a.parentDomElementId);if(window.hatsNextGlobalObject&&window.hatsNextGlobalObject[c]){if(window.hatsNextGlobalObject[c]>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey was triggered before the most recent survey event. Please re-trigger the survey."});c=!1;break a}}else if(ri>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b, {reason:"Survey must be triggered after initializing the help API."});c=!1;break a}c=Date.now()-b.triggerRequestTime;c>864E5?(a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey must be triggered within the last 24 hours. Survey was triggered "+(c+" ms ago.")}),c=!1):c=!0}if(c){var d,e,f;window.hatsNextGlobalObject.initSurvey({surveyTriggerResponse:b.surveyData,nonprod:b.nonProd,darkMode:a.colorScheme==2,seamlessMode:a.seamlessMode,zIndex:a.customZIndex,triggerRequestTime:b.triggerRequestTime, authuser:a.authuser,apiKey:b.apiKey,locale:b.language,customLogoAltText:a.customLogoAltText,customLogoUrl:a.customLogoUrl,productData:a.productData,listener:a.listener,surveyData:b,surveyMetadata:b.surveyMetadata,promptStyle:(d=a.promptStyle)!=null?d:1,completionStyle:(e=a.completionStyle)!=null?e:1,defaultStyle:(f=a.defaultStyle)!=null?f:0,parentDomElementId:a.parentDomElementId,persistCompletionCard:a.persistCompletionCard,hidePrivacyBanner:a.hidePrivacyBanner,hideInlineSurveyBorder:a.hideInlineSurveyBorder, hideInlineSurveyBackground:a.hideInlineSurveyBackground,feedback1pEnabled:b.feedback1pEnabled,thirdPartyDomainSupportEnabled:b.thirdPartyDomainSupportEnabled})}},$i=function(){var a=B("help.globals.actions",top);a||(a=new Xe,Ea("help.globals.actions",a,top));return a},dj=function(a){return[].concat(la(document.getElementsByTagName("script"))).find(function(b){return b&&b.getAttribute("src")===a})},ej=function(){[].concat(la(document.getElementsByTagName("script"))).forEach(function(a){var b;if(a== null?0:(b=a.getAttribute("src"))==null?0:b.match(ti))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},Bi=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(a==null?0:(b=a.getAttribute("href"))==null?0:b.match(si))&&a.parentNode.removeChild(a)})},ui=function(a){if(!a)return"";try{return mb(JSON.stringify(Ic(a)))}catch(b){return console.log("Failed to serialize and encode proto: ",b),""}},Ai=function(a){return[].concat(la(document.querySelectorAll("link[rel=stylesheet]"))).find(function(b){return b&& b.getAttribute("href")===a})};Z.prototype.isHelpActionApplicable=Z.prototype.isHelpActionApplicable;Z.prototype.executeHelpAction=Z.prototype.executeHelpAction;Z.prototype.registerHelpAction=Z.prototype.registerHelpAction;Z.prototype.scheduleSurvey=Z.prototype.scheduleSurvey;Z.prototype.dismissSurvey=Z.prototype.dismissSurvey;Z.prototype.presentSurvey=Z.prototype.presentSurvey;Z.prototype.requestSurvey=Z.prototype.requestSurvey;Z.prototype.loadChatSupport=Z.prototype.loadChatSupport; Z.prototype.startHelpCard=Z.prototype.startHelpCard;Z.prototype.startHelp=Z.prototype.startHelp;Z.prototype.updateContext=Z.prototype.updateContext;Z.prototype.updateProductData=Z.prototype.updateProductData;Z.prototype.startFeedback=Z.prototype.startFeedback;Ea("help.service.Lazy",Z);Ea("help.service.Lazy.create",function(a,b){return new Z(a,b)});}).call(this);