(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},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)}},La=function(a,b,c){La=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ia:Ka;return La.apply(null, arguments)},Ma=function(a){return a},Na=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 Ob(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 Pb=Ib(function(a){return Nb?Mb(a):Kb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Vb=Ib(function(a){return Nb?a>=Qb&&a<=Rb:a[0]==="-"?Sb(a,Tb):Sb(a,Ub)}),Tb=Number.MIN_SAFE_INTEGER.toString(),Qb=Nb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Ub=Number.MAX_SAFE_INTEGER.toString(),Rb=Nb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Sb(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;G=b;H=(a-b)/4294967296>>>0}function Xb(a){if(a<0){Wb(0-a);var b=v(Yb(G,H));a=b.next().value;b=b.next().value;G=a>>>0;H=b>>>0}else Wb(a)}function Zb(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+$b(c)+$b(a));return c} function $b(a){a=String(a);return"0000000".slice(a.length)+a}function ac(){var a=G,b=H;b&2147483648?nb()?a=""+(BigInt(b|0)<>>0)):(b=v(Yb(a,b)),a=b.next().value,b=b.next().value,a="-"+Zb(a,b)):a=Zb(a,b);return a}function Yb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function bc(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var cc=void 0;function dc(a){a=Error(a);bc(a,"warning");return a}function ec(a,b){if(a!=null){var c;var d=(c=cc)!=null?c:cc={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),bc(a,"incident"),Ya(a))}};function fc(a){return Array.prototype.slice.call(a)};var hc=typeof BigInt==="function"?BigInt.asIntN:void 0,ic=Number.isSafeInteger,jc=Number.isFinite,kc=Math.trunc;function lc(a){return a.displayName||a.name||"unknown type name"}var mc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function nc(a){switch(typeof a){case "bigint":return!0;case "number":return jc(a);case "string":return mc.test(a);default:return!1}}function oc(a){if(!jc(a))throw dc("enum");return a|0}function pc(a){return a==null?a:jc(a)?a|0:void 0} function qc(a){if(typeof a!=="number")throw dc("int32");if(!jc(a))throw dc("int32");return a|0} function rc(a){var b=void 0;b!=null||(b=1024);if(!nc(a))throw dc("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return sc(a);case "bigint":return String(hc(64,a));default:return tc(a)}case 1024:switch(c){case "string":return uc(a);case "bigint":return Ob(hc(64,a));default:return vc(a)}case 0:switch(c){case "string":return sc(a);case "bigint":return Ob(hc(64,a));default:return wc(a)}default:throw Error("Unknown format requested type for int64");}} function xc(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)Xb(Number(a));else if(nb())a=BigInt(a),G=Number(a&BigInt(4294967295))>>>0,H=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");H=G=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)),H*=1E6,G=G*1E6+d,G>=4294967296&&(H+=Math.trunc(G/4294967296),H>>>=0,G>>>=0);b&&(b=v(Yb(G,H)),a=b.next().value,b=b.next().value,G=a,H=b)}return ac()} function wc(a){nc(a);a=kc(a);if(!ic(a)){Xb(a);var b=G,c=H;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:Zb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function tc(a){nc(a);a=kc(a);ic(a)?a=String(a):(Xb(a),a=ac());return a}function sc(a){nc(a);var b=kc(Number(a));if(ic(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return xc(a)} function uc(a){var b=kc(Number(a));if(ic(b))return Ob(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return nb()?Ob(hc(64,BigInt(a))):Ob(xc(a))}function vc(a){return ic(a)?Ob(wc(a)):Ob(tc(a))}function yc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return Ob(hc(64,a));if(nc(a))return b==="string"?uc(a):vc(a)}function zc(a){if(typeof a!=="string")throw Error();return a}function Ac(a){if(a!=null&&typeof a!=="string")throw Error();return a} function Bc(a){return a==null||typeof a==="string"?a:void 0};var Cc={reviveIntoImmutable:!0};function Dc(a,b,c){var d=d===void 0?!1:d;if(Ma(xb)&&Ma(rb)&&c===xb){c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=c[rb];if(!e)return;if(e=e.reviveUnknownFields)try{e(c,b,Cc);return}catch(f){Ya(f)}}d&&(a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,(d=Ma(rb))&&d in a&&(a=a[d])&&delete a[b])}function Ec(a,b){var c=Ma(rb),d;ob&&c&&((d=a[c])==null?void 0:d[b])!=null&&ec(tb,3)}function Fc(a,b){b<100||ec(ub,1)};function Gc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Ma(rb),g;!e&&ob&&f&&(g=a[f])&&g.forEachUnknownField(Fc);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=Hc)!=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 Lc(){if($a)throw Error("carr");ec(vb,5)};function Mc(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=Nc(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:Oc(a,b,c)?Pc(a,b):Nc(b,c)}function Pc(a,b,c){a=new a.constructor(b);c&&(a.copyOnWrite=Fb);a.noLegacyNull=Fb;return a} function Nc(a,b,c,d){d!=null||(d=!!(34&b));a=Gc(a,b,Mc,d);d=32;c&&(d|=2);b=b&16769217|d;F(a,b);return a}function Qc(a){if(a.copyOnWrite!==Fb)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=Nc(b,b[D]|0);Cb(b,2048);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0}function Rc(a){if(!Qc(a)&&Eb(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[D]|0))throw Error();} function Sc(a,b){b===void 0&&(b=a[D]|0);b&32&&!(b&4096)&&F(a,b|4096)}function Oc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(F(b,c|2),a.copyOnWrite=Fb,!0):!1};var Tc=Ob(0),Uc={},Wc=function(a,b,c,d,e){Object.isExtensible(a);b=Vc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c,e);if(b!==null||d&&a.noLegacyNull!==Fb)return b},Vc=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}}, Yc=function(a,b,c){Rc(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;Xc(a,a[D]|0,b,c)};function Xc(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 Zc(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&&Qc(a)&&(f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[D]|0);a=Vc(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=fc(h),k=0,l=$c(l,g),g=Xc(f,g,b,h));for(var n=0,q=0;n=a.length)throw Error();return a[c]},fd=function(a){return Zc(a,4,pc,void 0===Gb?2:4)},N=function(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Fa(c)+": "+c);return J(a,b,c,!1)};var O=function(a,b,c){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a,b,c)};O.prototype.toJSON=function(){return Jc(this)};var gd=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)}; O.prototype.getExtension=function(a){Ec(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);Dc(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)}; O.prototype.hasExtension=function(a){Ec(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);Dc(this,a.fieldIndex,a.lazyParse);if(a.ctor){var b=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=cd(b,b[D]|0,a.ctor,a.fieldIndex,a.hasMessageId)!==void 0}else Ec(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex),Dc(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};O.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b=a[D]|0;return Oc(this,a,b)?Pc(this,a,!0):new this.constructor(Nc(a,b,!1))};O.prototype[wb]=Db;O.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};function hd(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function id(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var jd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function kd(a,b){for(var c,d,e=1;e0)d(f);else{a:{if(f&&typeof f.length=="number"){if(Ha(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)}}},Hd=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}, Id=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Ad=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},zd=function(a){this.document_=a||A.document||document};m=zd.prototype;m.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};m.createElement=function(a){return Hd(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){Ed(Ad(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=Id;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 S=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Jd=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};Jd.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};Jd.prototype.put=function(a){this.reset_(a);this.occupants_1)));g=g.next)e||(f=g);e&&(c.state_==0&&d==1?ge(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):he(c),ie(c,e,3,b)))}a.parent_=null}else Wd(a,3,b)},de=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||je(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_= b;a.callbackEntriesTail_=b},ce=function(a,b,c,d){var e=Zd(null,null,null);e.child=new T(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 fe?g(h):f(k)}catch(l){g(l)}}:g});e.child.parent_=a;de(a,e);return e.child};T.prototype.unblockAndFulfill_=function(a){this.state_=0;Wd(this,2,a)};T.prototype.unblockAndReject_=function(a){this.state_=0;Wd(this,3,a)}; var Wd=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 T){ee(d,e,f,a);var g=!0}else if(Vd(d))d.then(e,f,a),g=!0;else{if(Ha(d))try{var h=d.then;if(typeof h==="function"){ke(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,je(a),b!=3||c instanceof fe||le(a,c))}},ke=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)}},je=function(a){a.executing_||(a.executing_=!0,Rd(a.executeCallbacks_,a))},he=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};T.prototype.executeCallbacks_=function(){for(var a;a=he(this);)ie(this,a,this.state_,this.result_);this.executing_=!1}; var ie=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,me(b,c,d);else try{b.always?b.onFulfilled.call(b.context):me(b,c,d)}catch(e){ne.call(null,e)}Yd.put(b)},me=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},le=function(a,b){a.hadUnhandledRejection_=!0;Rd(function(){a.hadUnhandledRejection_&&ne.call(null,b)})},ne=Ya,fe=function(a){C.call(this, a)};Na(fe,C);fe.prototype.name="cancel";var ae=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 */ function U(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} U.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof U&&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 oe(this),pe(this),qe(this,!1,a))}};U.prototype.continue_=function(a,b){this.blocked_=!1;qe(this,a,b)}; var qe=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;re(a)},pe=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new se(a);a.silentlyCanceled_=!1}};U.prototype.callback=function(a){pe(this);qe(this,!0,a)};U.prototype.addCallback=function(a,b){return te(this,a,null,b)};U.prototype.finally=function(a){var b=this;return ue(new Promise(function(c,d){te(b,function(e){a();c(e)},function(e){a();d(e)})}))}; var te=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=S(b):(b=S(b),c=S(c)));a.sequence_.push([b,c,d]);e&&re(a);return a};U.prototype.then=function(a,b,c){var d,e,f=new T(function(g,h){e=g;d=h});te(this,e,function(g){g instanceof oe?f.cancel():d(g);return ve},this);return f.then(a,b,c)};U.prototype.$goog_Thenable=!0; var we=function(a){return fb(a.sequence_,function(b){return typeof b[1]==="function"})},ve={},re=function(a){if(a.unhandledErrorId_&&a.fired_&&we(a)){var b=a.unhandledErrorId_,c=xe[b];c&&(A.clearTimeout(c.id_),delete xe[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===ve&&(h=void 0);h!==void 0&&(a.hadError_= a.hadError_&&(h==b||h instanceof Error),a.result_=b=h);if(Vd(b)||typeof A.Promise==="function"&&b instanceof A.Promise)d=!0,a.blocked_=!0}catch(k){b=k,a.hadError_=!0,we(a)||(c=!0)}}a.result_=b;d&&(h=La(a.continue_,a,!0),d=La(a.continue_,a,!1),b instanceof U?(te(b,h,d),b.blocking_=!0):b.then(h,d));c&&(b=new ye(b),xe[b.id_]=b,a.unhandledErrorId_=b.id_)},ue=function(a){var b=new U;a.then(function(c){b.callback(c)},function(c){pe(b);qe(b,!1,c)});return b},se=function(){C.call(this)};Na(se,C); se.prototype.message="Deferred has already fired";se.prototype.name="AlreadyCalledError";var oe=function(){C.call(this)};Na(oe,C);oe.prototype.message="Deferred was canceled";oe.prototype.name="CanceledError";var ye=function(a){this.id_=A.setTimeout(La(this.throwError,this),0);this.error_=a};ye.prototype.throwError=function(){delete xe[this.id_];throw this.error_;};var xe={};var De=function(){var a=Sa("https://apis.google.com/js/client.js"),b={},c=b.document||document,d=Ta(a).toString(),e=(new zd(c)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},g=new U(ze,f),h=null,k=b.timeout!=null?b.timeout:5E3;k>0&&(h=window.setTimeout(function(){Ae(e,!0);var l=new Be(1,"Timeout reached for loading script "+d);pe(g);qe(g,!1,l)},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(Ae(e,b.cleanupWhenDone|| !1,h),g.callback(null))};e.onerror=function(){Ae(e,!0,h);var l=new Be(0,"Error while loading script "+d);pe(g);qe(g,!1,l)};f=b.attributes||{};kd(f,{type:"text/javascript",charset:"UTF-8"});Dd(e,f);xd(e,a);Ce(c).appendChild(e);return g},Ce=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},ze=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&Ae(a,!0,this.timeout_)}},Ae=function(a,b,c){c!=null&&A.clearTimeout(c);a.onload= function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Id(a)},0)},Be=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);C.call(this,c);this.code=a};Na(Be,C);var Ee=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};Ee.prototype.get=function(a,b){return Fe(this,"GET",a,null,b)}; var Fe=function(a,b,c,d,e){var f,g,h,k,l;return ya(function(n){if(n.nextAddress==1)return n.yield(Ge(),2);f=B("gapi.client");g=B("gapi.config");h=He();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(Jc(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 gd(e,q.body)}catch(r){}});Ie(h);f.setToken(k);return n.return(l)})},He=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},Ie=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])},Ge=function(){return B("gapi.load")?Je():De().then(function(){return Je()},function(a){return $d("Failed initializing gapi.\nGapi error: "+a)})},Je=function(){var a=be(),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 V=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(V,O);V.prototype.getSeconds=function(){var a=a===void 0?Tc:a;var b=Wc(this,1,void 0,void 0,yc);return b!=null?b:a};V.prototype.setSeconds=function(a){a=a==null?a:rc(a);return J(this,1,a,"0")};var Ke=function(){var a=(new V).setSeconds((new Date).getTimezoneOffset()*-60);return J(a,2,qc(0),0)};var Le=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Le,O);Le.prototype.getTimezoneOffset=function(){return K(this,V,3)};Le.prototype.setTimezoneOffset=function(a){return L(this,V,3,a)};var Me=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Me,O);Me.prototype.setPlatform=function(a){return J(this,1,a==null?a:oc(a),0)};Me.prototype.setSupportedCapabilityList=function(a){return bd(this,3,a,oc)};Me.prototype.setLibraryVersionInt=function(a){return J(this,4,a==null?a:qc(a),0)};var Ne=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Ne,O);Ne.prototype.setDeviceInfo=function(a){return L(this,Le,1,a)};Ne.prototype.setLibraryInfo=function(a){return L(this,Me,2,a)};var Oe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Oe,O);Oe.prototype.getAllowedCompletionStyleList=function(){return fd(this)};var Pe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Pe,O);var Qe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Qe,O);Qe.prototype.getPromptDelay=function(){return K(this,Pe,1)};Qe.prototype.getAllowedPromptStyleList=function(){return fd(this)};var Re=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Re,O);Re.prototype.getLanguage=function(){return dd(this,8)};Re.prototype.getCompletion=function(){return K(this,Oe,2)};Re.prototype.getDisplaySettings=function(){return K(this,Qe,3)};var Se=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Se,O);Se.prototype.setIsScheduledSurvey=function(a){return N(this,1,a)};var Te=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Te,O);var Ue=function(a){return dd(a,1)};var Ve=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Ve,O);m=Ve.prototype;m.setTriggerId=function(a){return J(this,1,Ac(a),"")};m.setLanguageList=function(a){return bd(this,2,a,zc)};m.getLanguage=function(){return ed(this,2)};m.setTestingMode=function(a){return N(this,3,a)};m.getSurveyId=function(){return dd(this,4)};m.setSurveyId=function(a){Yc(this,4,Ac(a))};var We=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(We,O);We.prototype.setTriggerContext=function(a){return L(this,Ve,1,a)};We.prototype.setClientContext=function(a){return L(this,Ne,2,a)};We.prototype.setScheduledSurveyContext=function(a){L(this,Se,3,a)};var Xe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Xe,O);m=Xe.prototype;m.getSession=function(){return K(this,Te,1)};m.getSurveyPayload=function(){return K(this,Re,2)};m.getError=function(a){return ed(this,4,a)};m.getSurveyId=function(){return dd(this,5)};m.setSurveyId=function(a){J(this,5,Ac(a),"")};var Ye=function(){this.actions_={}};Ye.prototype.register=function(a,b,c){this.actions_[a]={callback:b,isApplicable:c||Td}};Ye.prototype.execute=function(a,b){(a=this.actions_[a])&&a.isApplicable()&&a.callback.apply(null,b||[])};Ye.prototype.isApplicable=function(a){a=this.actions_[a];return!!a&&a.isApplicable()};Ye.prototype.register=Ye.prototype.register;var Ze=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Ze,O);var $e=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u($e,O);$e.prototype.setDirection=function(a){return J(this,8,Ac(a),"")};var af=function(a){return function(b){return gd(a,b)}}($e);function bf(a){if(!a)return null;a=Bc(Wc(a,4,void 0,Uc));return a===null||a===void 0?null:Sa(a)};var cf=x([""]),df=x(["https://www.google.com/tools/feedback/help_panel_binary.js"]); function ef(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=c.document,g=a.nonce,h=af(b);h=K(h,Ze,10)?bf(K(h,Ze,10))||R(cf):R(df);var k=Bd(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})};xd(k,h);f.body.appendChild(k)};var ff=x(["https://www.google.com/tools/feedback/"]),gf=x(["http://localhost.corp.google.com/inapp/"]),hf=x(["http://localhost.proxy.googlers.com/inapp/"]),jf=x(["https://asx-frontend-autopush.corp.google.com/inapp/"]),kf=x(["https://asx-frontend-autopush.corp.google.com/tools/feedback/"]),lf=x(["https://asx-frontend-autopush.corp.google.co.uk/inapp/"]),mf=x(["https://asx-frontend-autopush.corp.google.co.uk/tools/feedback/"]),nf=x(["https://asx-frontend-autopush.corp.google.de/inapp/"]),of=x(["https://asx-frontend-autopush.corp.google.de/tools/feedback/"]), pf=x(["https://asx-frontend-autopush.corp.youtube.com/tools/feedback/"]),qf=x(["https://asx-frontend-autopush.corp.youtube.com/inapp/"]),rf=x(["https://asx-help-frontend-autopush.corp.youtube.com/tools/feedback/"]),sf=x(["https://asx-help-frontend-autopush.corp.youtube.com/inapp/"]),tf=x(["https://asx-frontend-staging.corp.google.com/inapp/"]),uf=x(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),vf=x(["https://support.google.com/inapp/"]),wf=x(["https://sandbox.google.com/inapp/"]), xf=x(["https://sandbox.google.com/tools/feedback/"]),yf=x(["https://www.google.cn/tools/feedback/"]),zf=x(["https://help.youtube.com/tools/feedback/"]),Af=x(["https://asx-frontend-staging.corp.google.com/inapp/"]),Bf=x(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),Cf=x(["https://localhost.corp.google.com/inapp/"]),Df=x(["https://localhost.proxy.googlers.com/inapp/"]),Ef=R(ff),Ff=[R(gf),R(hf)],Gf=[R(jf),R(kf),R(lf),R(mf),R(nf),R(of),R(pf),R(qf),R(rf),R(sf)],Hf=[R(tf),R(uf)],If= [Ef,R(vf),R(wf),R(xf),R(yf),R(zf),R(Af),R(Bf),R(Cf),R(Df)];la(Ff);la(Gf);la(Hf);la(If);function Jf(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_}Jf.prototype.disposed_=!1;Jf.prototype.isDisposed=function(){return this.disposed_};Jf.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};Jf.prototype[Symbol.dispose]=function(){this.dispose()};Jf.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Kf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Kf.prototype.stopPropagation=function(){this.propagationStopped_=!0};Kf.prototype.preventDefault=function(){this.defaultPrevented=!0};var Lf=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 Qf(a,b){Kf.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)}Na(Qf,Kf); Qf.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&&Qf.superClass_.preventDefault.call(this)};Qf.prototype.stopPropagation=function(){Qf.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Qf.prototype.preventDefault=function(){Qf.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Rf="closure_listenable_"+(Math.random()*1E6|0);var Sf=0;function Tf(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=++Sf;this.removed=this.callOnce=!1}var Uf=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Vf(a){this.src=a;this.listeners={};this.typeCount_=0}Vf.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=Wf(a,b,d,e);g>-1?(b=a[g],c||(b.callOnce=!1)):(b=new Tf(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b}; Vf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Wf(e,b,c,d);return b>-1?(Uf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Xf=function(a,b){var c=b.type;c in a.listeners&&gb(a.listeners[c],b)&&(Uf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--))}; Vf.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Wf(a,b,c,d));return e>-1?a[e]:null};Vf.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return id(this.listeners,function(f){for(var g=0;g>>0),cg=function(a){if(typeof a==="function")return a;a[kg]||(a[kg]=function(b){return a.handleEvent(b)});return a[kg]};function lg(){Jf.call(this);this.eventTargetListeners_=new Vf(this);this.actualEventTarget_=this;this.parentEventTarget_=null}Na(lg,Jf);lg.prototype[Rf]=!0;m=lg.prototype;m.addEventListener=function(a,b,c,d){bg(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){ig(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 Kf(a,b);else if(a instanceof Kf)a.target=a.target||b;else{var e=a;a=new Kf(d,b);kd(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=mg(g,d,!0,a)&&e}a.propagationStopped_||(g=a.currentTarget=b,e=mg(g,d,!0,a)&&e,a.propagationStopped_||(e=mg(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 W=function(){lg.call(this);this.headers=new Map;this.active_=!1;this.xhr_=null;this.lastError_=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};Na(W,lg); var qg=/^https?$/i,rg=["POST","PUT"],sg=[],tg=function(a,b,c,d,e,f){var g=new W;sg.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=W.prototype;m.cleanupSend_=function(){this.dispose();gb(sg,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.lastError_="";this.errorDispatched_=!1;this.active_=!0;this.xhr_=new XMLHttpRequest;this.xhr_.onreadystatechange=S(La(this.onReadyStateChange_,this));this.progressEventsEnabled_&&"onprogress"in this.xhr_&&(this.xhr_.onprogress=S(La(function(g){this.onProgressHandler_(g,!0)},this)),this.xhr_.upload&&(this.xhr_.upload.onprogress= S(La(this.onProgressHandler_,this))));try{X(this),this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(g){X(this);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(rg,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){X(this)}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(g){X(this)}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),this.timeoutId_=null),this.timeoutInterval_>0&&(X(this),this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),X(this),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(g){X(this),this.error_(5,g)}}; m.timeout_=function(){typeof Da!="undefined"&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",X(this),this.dispatchEvent("timeout"),this.abort(8))};m.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;ug(this);vg(this)};var ug=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}; W.prototype.abort=function(){this.xhr_&&this.active_&&(X(this),this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),vg(this))};W.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),vg(this,!0));W.superClass_.disposeInternal.call(this)}; W.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)wg(this);else this.onReadyStateChangeEntryPoint_()};W.prototype.onReadyStateChangeEntryPoint_=function(){wg(this)}; var wg=function(a){if(a.active_&&typeof Da!="undefined")if(a.inSend_&&xg(a)==4)setTimeout(a.onReadyStateChange_.bind(a),0);else if(a.dispatchEvent("readystatechange"),xg(a)==4){X(a);a.active_=!1;try{var b=X(a);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(og)[1]||null;!f&&A.self&&A.self.location&&(f=A.self.location.protocol.slice(0,-1));e=!qg.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"), a.dispatchEvent("success");else{try{var g=xg(a)>2?a.xhr_.statusText:""}catch(h){g=""}a.lastError_=g+" ["+X(a)+"]";ug(a)}}finally{vg(a)}}};W.prototype.onProgressHandler_=function(a,b){this.dispatchEvent(yg(a,"progress"));this.dispatchEvent(yg(a,b?"downloadprogress":"uploadprogress"))}; var yg=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},vg=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){}}};W.prototype.isActive=function(){return!!this.xhr_}; var xg=function(a){return a.xhr_?a.xhr_.readyState:0},X=function(a){try{return xg(a)>2?a.xhr_.status:-1}catch(b){return-1}},zg=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=ng(a)}return b}};W.prototype.getResponseHeader=function(a){if(this.xhr_&&xg(this)==4)return a=this.xhr_.getResponseHeader(a),a===null?void 0:a}; W.prototype.getAllResponseHeaders=function(){return this.xhr_&&xg(this)>=2?this.xhr_.getAllResponseHeaders()||"":""};var Ag=x([""]),Bg=x(["https://www.google.com/tools/feedback/help_panel_binary.js"]);function Cg(a,b,c,d,e,f){return ya(function(g){return g.return(new Promise(function(h){tg(""+a+"/repeater_help_panel?locale="+b+"&helpContext="+c+"&productId="+d+"&helpcenter="+e+"&openingMode="+f,function(k){k=k.target;var l=null;try{l=gd($e,JSON.stringify(zg(k)))}catch(n){}h(l)})}))})} function Dg(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=af(b),g=a.helpPanelMode||0,h=a.fixedHelpPanelContainer,k=a.customHelpPanelContainer;h&&g!==1?h=void 0:g!==1||h&&!M(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=K(f,Ze,10)?bf(K(f,Ze,10))|| R(Ag):R(Bg),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=Bd(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:dd(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,disableMobileFullScreen:a.disableMobileFullScreen,disableOpenInNewWindowLink:a.disableOpenInNewWindowLink,gsePageUrl:a.gsePageUrl, mendelIds:a.mendelIds,productDeepLinkRegex:a.productDeepLinkRegex,onProductDeepLinkClickCallback:a.onProductDeepLinkClickCallback,supportJourneyId:a.supportJourneyId})};xd(w,p);q.body.appendChild(w)};for(var Eg={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"]},Fg={},Gg=v(Object.keys(Eg)),Hg=Gg.next();!Hg.done;Hg=Gg.next()){var Ig=Hg.value;Fg[Ig]=Ig;for(var Jg=v(Eg[Ig]),Kg=Jg.next();!Kg.done;Kg=Jg.next())Fg[Kg.value]=Ig};var Lg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Lg,O);Lg.prototype.getTimezoneOffset=function(){return K(this,V,3)};Lg.prototype.setTimezoneOffset=function(a){return L(this,V,3,a)};var Mg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Mg,O);Mg.prototype.setPlatform=function(a){return J(this,1,a==null?a:oc(a),0)};Mg.prototype.setSupportedCapabilityList=function(a){return bd(this,3,a,oc)};Mg.prototype.setLibraryVersionInt=function(a){return J(this,4,a==null?a:qc(a),0)};var Ng=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Ng,O);Ng.prototype.setDeviceInfo=function(a){return L(this,Lg,1,a)};Ng.prototype.setLibraryInfo=function(a){return L(this,Mg,2,a)};var Og=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Og,O);Og.prototype.getAllowedCompletionStyleList=function(){return fd(this)};var Pg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Pg,O);var Qg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Qg,O);Qg.prototype.getPromptDelay=function(){return K(this,Pg,1)};Qg.prototype.getAllowedPromptStyleList=function(){return fd(this)};var Rg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Rg,O);Rg.prototype.getLanguage=function(){return dd(this,8)};Rg.prototype.getCompletion=function(){return K(this,Og,2)};Rg.prototype.getDisplaySettings=function(){return K(this,Qg,3)};var Sg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Sg,O);Sg.prototype.setIsScheduledSurvey=function(a){return N(this,1,a)};var Tg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Tg,O);var Ug=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Ug,O);var Vg=function(a){return M(a,1)},Wg=function(a){var b=new Ug;return N(b,1,a)};var Xg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Xg,O);m=Xg.prototype;m.setTriggerId=function(a){return J(this,1,Ac(a),"")};m.setLanguageList=function(a){return bd(this,2,a,zc)};m.getLanguage=function(){return ed(this,2)};m.setTestingMode=function(a){return N(this,3,a)};m.getSurveyId=function(){return dd(this,4)};m.setSurveyId=function(a){Yc(this,4,Ac(a))};var Yg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(Yg,O);var Zg=function(a,b){return J(a,1,Ac(b),"")};Yg.prototype.setApiKey=function(a){return J(this,2,Ac(a),"")};Yg.prototype.setPlatform=function(a){return J(this,3,a==null?a:oc(a),0)};var $g=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u($g,O);var ah=function(a,b){return L(a,Ug,1,b)};var bh=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(bh,O);bh.prototype.setTriggerContext=function(a){return L(this,Xg,1,a)};bh.prototype.setClientContext=function(a){return L(this,Ng,2,a)};bh.prototype.setScheduledSurveyContext=function(a){L(this,Sg,3,a)};var ch=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=I(a)};u(ch,O);m=ch.prototype;m.getSession=function(){return K(this,Tg,1)};m.getSurveyPayload=function(){return K(this,Rg,2)};m.getError=function(a){return ed(this,4,a)};m.getSurveyId=function(){return dd(this,5)};m.setSurveyId=function(a){J(this,5,Ac(a),"")};var dh=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 eh(){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 oa=P^w&(E^P);var Ja=1518500249}else oa=w^E^P,Ja=1859775393;else p<60?(oa=w&E|P&(w|E),Ja=2400959708):(oa=w^E^P,Ja=3395469782);oa=((q<<5|q>>>27)&4294967295)+ oa+sb+Ja+r[p]&4294967295;sb=P;P=E;E=(w<<30|w>>>2)&4294967295;w=q;q=oa}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 jh=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0?(e=Gh(b!=null?b:"")+"/aloha_form_properties?productId="+a,tg(e,function(f){f=f.target;var g=null;try{g=gd(oh,JSON.stringify(zg(f)))}catch(h){f=new oh,g=nh(),g=N(g,7,!0),g=N(g,10,!0),g=N(g,12,!0),g=N(g,13,!1),g=N(g,14,!0),g=N(g,15,!0),g=N(g,20,!1),g=L(f,mh,1,g)}d(g)},"GET","",{},2E3)):e(Error("Invalid product id: "+a))}))})} function Gh(a){return ph(a)?a:"https://www.google.com/tools/feedback"};var Hh=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||A,e=d.document,f=a.nonce||wd(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||Ha(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=Bd(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);xd(a,Sa(d));e.body.appendChild(a)}},Ih=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||wd(k.document);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId,microfeedbackScore:a.microfeedbackScore},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(Eh(f,d,e),0)})},Jh=function(a,b,c){try{if(a.flow==="help"){var d= a.helpCenterPath.replace(/^\//,"");vd(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Hh(a,b,c):Fh(a.productId,a.feedbackServerUri).then(function(e){e=K(e,mh,1);var f=!jb||(e==null?void 0:e.getEnableMweb()),g=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&g?Ih(a,b,c,e).catch(function(h){!h||h instanceof vh||Hh(a,b,c)}):Hh(a,b,c)},function(e){!e||e instanceof vh||Hh(a,b,c)})}catch(e){Ih(a,b,c,null).catch(function(f){!f||f instanceof vh||Hh(a,b,c)})}};Ea("userfeedback.api.startFeedback",Jh);function Kh(a,b){var c=od(a);if(!Lh.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Mh,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 nd?od(d):encodeURIComponent(String(d))});return Sa(a)}var Mh=/%{(\w+)}/g,Lh=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i");function Nh(){}Nh.prototype.next=function(){return Oh};var Oh={done:!0,value:void 0};Nh.prototype.__iterator__=function(){return this};function Ph(a){if(a instanceof Nh)return a;if(typeof a.__iterator__=="function")return a.__iterator__(!1);if(Ga(a)){var b=0,c=new Nh;c.next=function(){for(;;){if(b>=a.length)return Oh;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");};function Qh(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?$h(b,a.queryData_.clone()):c=!!a.fragment_;c&&(a=a.fragment_,Y(b),b.fragment_=a);return b};Xh.prototype.clone=function(){return new Xh(this)}; var Yh=function(a,b,c){Y(a);a.scheme_=c?ai(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a},Zh=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},$h=function(a,b,c){Y(a);b instanceof bi?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=ci(b,hi)),a.queryData_=new bi(b,a.ignoreCase_))};Xh.prototype.getQuery=function(){return this.queryData_.toString()}; Xh.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");};Xh.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var ai=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ci=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,ii),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ii=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},di=/[#\/\?@]/g,fi=/[#\?:]/g,ei=/[#\?]/g,hi=/[#\?@]/g,gi=/#/g,bi=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},ji=function(a){a.keyMap_||(a.keyMap_= new Map,a.count_=0,a.encodedQuery_&&pg(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};m=bi.prototype;m.add=function(a,b){ji(this);this.encodedQuery_=null;a=ki(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){ji(this);a=ki(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(){ji(this);return this.count_==0};m.containsKey=function(a){ji(this);a=ki(this,a);return this.keyMap_.has(a)};m.forEach=function(a,b){ji(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; m.getKeys=function(){ji(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(ki(this,d),hb(b)),this.count_+=b.length))},this));this.ignoreCase_=a};bi.prototype.extend=function(a){for(var b=0;b0?b.preferredSurveyLanguageList:[a.locale_]; h=(new Xg).setTriggerId(b.triggerId).setLanguageList(h).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!=""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&h.setSurveyId(b.surveyIdForTestingMode);f=(new bh).setTriggerContext(h).setClientContext((new Ng).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&f.setScheduledSurveyContext((new Sg).setIsScheduledSurvey(c));d=Fe(d,"POST",e,f,ch)}else d=fj(a,b,c);return d},function(){return fj(a,b,c)})},ej=function(a,b){var c= [],d=dh(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 ih,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 ih,f=f.get(d? "SAPISID":"APISID")||f.get("__Secure-3PAPISID")),(f=f?gh(f,d?"SAPISIDHASH":"APISIDHASH",c):null)&&e.push(f),d&&((d=kh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",c))&&e.push(d),(c=kh("__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"},fj=function(a,b,c){var d=new Ee({serverUrl:b.nonProd? "https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.apiKey_,authUser:b.authuser}),e=ej(a,b),f=Ke();f=(new Le).setTimezoneOffset(f);var g=(new Me).setPlatform(1).setLibraryVersionInt(438217234).setSupportedCapabilityList([1,2]);a=b.preferredSurveyLanguageList&&b.preferredSurveyLanguageList.length>0?b.preferredSurveyLanguageList:[a.locale_];a=(new Ve).setTriggerId(b.triggerId).setLanguageList(a).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!= ""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&a.setSurveyId(b.surveyIdForTestingMode);b=(new We).setTriggerContext(a).setClientContext((new Ne).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&b.setScheduledSurveyContext((new Se).setIsScheduledSurvey(c));return Fe(d,"POST",e,b,Xe)},yi=function(a){return typeof a=="string"&&!!a.match(/^[A-Za-z0-9]+$/)},Ai=function(a){try{var b=parseInt,c=a.getDisplaySettings().getPromptDelay();var d=K(c,V,1);var e=b(lh(d.getSeconds()),10); isNaN(e)&&(e=0)}catch(k){e=0}try{b=parseInt;var f=a.getDisplaySettings().getPromptDelay();var g=K(f,V,2);var h=b(lh(g.getSeconds()),10);isNaN(h)&&(h=0)}catch(k){h=0}return Math.floor(Math.random()*(h-e+1))+e},Di=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&Fg[c.language.toLowerCase()]?Fg[c.language.toLowerCase()]:Fg[a.locale_.toLowerCase()];e=e&&e.replace("-","_");e==="fa"&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!gj("https://www.gstatic.com/uservoice/surveys/resources/"+ d+"/js/survey/survey_binary__"+f+".js")&&hj();window.hatsNextGlobalObject?ij(b,c):(e=document.createElement("script"),d=R(qi,d,f),xd(e,d),e.type="text/javascript",e.onload=function(){return ij(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))},ij=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(si>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})}},cj=function(){var a=B("help.globals.actions",top);a||(a=new Ye,Ea("help.globals.actions",a,top));return a},gj=function(a){return[].concat(la(document.getElementsByTagName("script"))).find(function(b){return b&&b.getAttribute("src")===a})},hj=function(){[].concat(la(document.getElementsByTagName("script"))).forEach(function(a){var b;if(a== null?0:(b=a.getAttribute("src"))==null?0:b.match(ui))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},Ci=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(a==null?0:(b=a.getAttribute("href"))==null?0:b.match(ti))&&a.parentNode.removeChild(a)})},vi=function(a){if(!a)return"";try{return mb(JSON.stringify(Jc(a)))}catch(b){return console.log("Failed to serialize and encode proto: ",b),""}},Bi=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);