(function(){var m,aa=function(a){var b=0;return function(){return b>>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}); v("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=f}}); var Ba=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&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)}},Ka=function(a,b,c){Ka=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ia:Ja;return Ka.apply(null, arguments)},La=function(a){return a},Ma=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 db(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(!hb)for(hb={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;e<5;e++){var f=c.concat(d[e].split(""));gb[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("")};var jb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function kb(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 lb=kb("jas",void 0,!0),mb=kb(void 0,Symbol()),nb=kb(void 0,"0ub"),ob=kb(void 0,"0ubs"),qb=kb(void 0,"0actk"),rb=kb("m_m","messagePrototypeMarker",!0),sb=kb();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})));var tb={internalArrayState:{value:0,configurable:!0,writable:!0,enumerable:!1}},ub=Object.defineProperties,E=jb?lb:"internalArrayState",vb,wb=[];F(wb,7);vb=Object.freeze(wb); function xb(a,b){jb||E in a||ub(a,tb);a[E]|=b}function F(a,b){jb||E in a||ub(a,tb);a[E]=b};function yb(){return typeof BigInt==="function"};var zb={};function Ab(a,b){return b===void 0?a.copyOnWrite!==Bb&&!!(2&(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0)):!!(2&b)&&a.copyOnWrite!==Bb}var Bb={},Cb=Object.freeze({});function Db(a){return a};function Eb(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a};var Fb=Eb(function(a){return typeof a==="number"}),Gb=Eb(function(a){return typeof a==="string"}),Hb=Eb(function(a){return typeof a==="boolean"}),Ib=Eb(function(a){return typeof a==="bigint"});var Jb=typeof B.BigInt==="function"&&typeof B.BigInt(0)==="bigint";function G(a){var b=a;if(Gb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Fb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Jb?BigInt(a):a=Hb(a)?a?"1":"0":Gb(a)?a.trim()||"0":String(a)} var Kb=Eb(function(a){return Jb?Ib(a):Gb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Qb=Eb(function(a){return Jb?a>=Lb&&a<=Mb:a[0]==="-"?Nb(a,Ob):Nb(a,Pb)}),Ob=Number.MIN_SAFE_INTEGER.toString(),Lb=Jb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Pb=Number.MAX_SAFE_INTEGER.toString(),Mb=Jb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Nb(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 Sb(a){if(a<0){Rb(0-a);var b=x(Tb(H,I));a=b.next().value;b=b.next().value;H=a>>>0;I=b>>>0}else Rb(a)}function Ub(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else yb()?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+Vb(c)+Vb(a));return c} function Vb(a){a=String(a);return"0000000".slice(a.length)+a}function Wb(){var a=H,b=I;b&2147483648?yb()?a=""+(BigInt(b|0)<>>0)):(b=x(Tb(a,b)),a=b.next().value,b=b.next().value,a="-"+Ub(a,b)):a=Ub(a,b);return a}function Tb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Xb(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var Yb=void 0;function Zb(a){a=Error(a);Xb(a,"warning");return a}function $b(a,b){if(a!=null){var c;var d=(c=Yb)!=null?c:Yb={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),Xb(a,"incident"),Xa(a))}};function ac(a){return Array.prototype.slice.call(a)};var bc=typeof BigInt==="function"?BigInt.asIntN:void 0,cc=Number.isSafeInteger,dc=Number.isFinite,ec=Math.trunc;function fc(a){return a.displayName||a.name||"unknown type name"}var hc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function ic(a){switch(typeof a){case "bigint":return!0;case "number":return dc(a);case "string":return hc.test(a);default:return!1}}function jc(a){if(!dc(a))throw Zb("enum");return a|0}function kc(a){return a==null?a:dc(a)?a|0:void 0} function lc(a){if(typeof a!=="number")throw Zb("int32");if(!dc(a))throw Zb("int32");return a|0} function mc(a){var b=0;b=b===void 0?0:b;if(!ic(a))throw Zb("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return nc(a);case "bigint":return String(bc(64,a));default:return oc(a)}case 1024:switch(c){case "string":return pc(a);case "bigint":return G(bc(64,a));default:return qc(a)}case 0:switch(c){case "string":return nc(a);case "bigint":return G(bc(64,a));default:return rc(a)}default:throw Error("Unknown format requested type for int64");}} function sc(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337} function tc(a){if(sc(a))return a;if(a.length<16)Sb(Number(a));else if(yb())a=BigInt(a),H=Number(a&BigInt(4294967295))>>>0,I=Number(a>>BigInt(32)&BigInt(4294967295));else{var 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=x(Tb(H,I)),a=b.next().value,b=b.next().value,H=a,I=b)}return Wb()} function rc(a){ic(a);a=ec(a);if(!cc(a)){Sb(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:Ub(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function oc(a){ic(a);a=ec(a);if(cc(a))a=String(a);else{var b=String(a);sc(b)?a=b:(Sb(a),a=Wb())}return a}function nc(a){ic(a);var b=ec(Number(a));if(cc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return tc(a)} function pc(a){var b=ec(Number(a));if(cc(b))return G(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return yb()?G(bc(64,BigInt(a))):G(tc(a))}function qc(a){return cc(a)?G(rc(a)):G(oc(a))}function uc(a){if(typeof a!=="string")throw Error();return a}function vc(a){if(a!=null&&typeof a!=="string")throw Error();return a}function wc(a){return a==null||typeof a==="string"?a:void 0};function xc(a,b){var c=La(mb),d;jb&&c&&((d=a[c])==null?void 0:d[b])!=null&&$b(nb,3)}var yc={reviveIntoImmutable:!0};function zc(a,b,c){var d=d===void 0?!1:d;if(La(sb)&&La(mb)&&c===sb){c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=c[mb];if(!e)return;if(e=e.reviveUnknownFields)try{e(c,b,yc);return}catch(f){Xa(f)}}d&&(a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,(d=La(mb))&&d in a&&(a=a[d])&&delete a[b])};function Ac(a,b,c,d){var e=d!==void 0;d=!!d;var f=La(mb),g;!e&&jb&&f&&(g=a[f])&&g.forEachUnknownField(Bc);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 p=h&&a[h-1];p!=null&&typeof p==="object"&&p.constructor===Object?(h--,g=h):p=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=Cc)!=null?r:Db)(g-n,n,a,p)+n}}b=void 0;for(e=0;e=g){var q=e-n,t=void 0;((t=b)!=null?t:b={})[q]=r}else f[e]=r;if(p)for(var A in p)a=p[A], a!=null&&(a=c(a,d))!=null&&(h=+A,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&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);F(a,e);return a}function Fc(){$b(qb,5)};function Gc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[E]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Hc(a,c,!1,b&&!(c&16)):(xb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[rb]===zb)return b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[E]|0,Ab(a,c)?a:Hc(b,c)}function Hc(a,b,c,d){d!=null||(d=!!(34&b));a=Ac(a,b,Gc,d);d=32;c&&(d|=2);b=b&8380609|d;F(a,b);return a} function Ic(a){if(a.copyOnWrite!==Bb)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=Hc(b,b[E]|0);xb(b,2048);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0}function Jc(a){if(!Ic(a)&&Ab(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0))throw Error();};var Kc=G(0),Lc={},Nc=function(a,b,c,d){Object.isExtensible(a);b=Mc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c);if(b!==null||d&&a.noLegacyNull!==Bb)return b},Mc=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}},Pc= function(a,b,c){Jc(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;Oc(a,a[E]|0,b,c)};function Oc(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[E]|0)>>13&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b} function Qc(a,b,c,d,e){var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0;d=Ab(a,g)?1:d;e=!!e||d===3;d===2&&Ic(a)&&(f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0);a=Mc(f,b);var h=Array.isArray(a)?a:vb;var k=h===vb?7:h[E]|0;a=k;2&g&&(a|=2);var l=a|1;a=4&l?!1:!0;if(a){4&l&&(h=ac(h),k=0,l=Rc(l,g),g=Oc(f,g,b,h));for(var n=0,p=0;n=a.length)throw Error();return a[c]},Xc=function(a){return Qc(a,4,kc,void 0===Cb?2:4)},P=function(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Ea(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 Ec(this)};var Yc=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");xb(b,32);return new a(b)}; Q.prototype.getExtension=function(a){xc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);zc(this,a.fieldIndex,a.lazyParse);return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,void 0===Cb?2:4,a.hasMessageId):a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,void 0===Cb?2:4,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,a.hasMessageId)}; Q.prototype.hasExtension=function(a){xc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);zc(this,a.fieldIndex,a.lazyParse);if(a.ctor){var b=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=Uc(b,b[E]|0,a.ctor,a.fieldIndex,a.hasMessageId)!==void 0}else xc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex),zc(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;return new this.constructor(Hc(a,a[E]|0,!1))};Q.prototype[rb]=zb;Q.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};function Zc(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function $c(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var ad="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function bd(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}ab(g?db(f):f,d)}}},wd=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}, xd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},rd=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},qd=function(a){this.document_=a||B.document||document};m=qd.prototype;m.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};m.createElement=function(a){return wd(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){vd(rd(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=xd;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 yd=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};yd.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};yd.prototype.put=function(a){this.reset_(a);this.occupants_1)));g=g.next)e||(f=g);e&&(c.state_==0&&d==1?Yd(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):Zd(c),$d(c,e,3,b)))}a.parent_=null}else Nd(a,3,b)},Vd=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||ae(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_= b;a.callbackEntriesTail_=b},Ud=function(a,b,c,d){var e=Qd(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 Xd?g(h):f(k)}catch(l){g(l)}}:g});e.child.parent_=a;Vd(a,e);return e.child};U.prototype.unblockAndFulfill_=function(a){this.state_=0;Nd(this,2,a)};U.prototype.unblockAndReject_=function(a){this.state_=0;Nd(this,3,a)}; var Nd=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){Wd(d,e,f,a);var g=!0}else if(Md(d))d.then(e,f,a),g=!0;else{if(Ha(d))try{var h=d.then;if(typeof h==="function"){be(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,ae(a),b!=3||c instanceof Xd||ce(a,c))}},be=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)}},ae=function(a){a.executing_||(a.executing_=!0,Id(a.executeCallbacks_,a))},Zd=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=Zd(this);)$d(this,a,this.state_,this.result_);this.executing_=!1}; var $d=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,de(b,c,d);else try{b.always?b.onFulfilled.call(b.context):de(b,c,d)}catch(e){ee.call(null,e)}Pd.put(b)},de=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},ce=function(a,b){a.hadUnhandledRejection_=!0;Id(function(){a.hadUnhandledRejection_&&ee.call(null,b)})},ee=Xa,Xd=function(a){D.call(this, a)};Ma(Xd,D);Xd.prototype.name="cancel";var Sd=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){var b=fe;this.sequence_=[];this.onCancelFunction_=b;this.defaultScope_=a||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 ge(this),he(this),ie(this,!1,a))}};V.prototype.continue_=function(a,b){this.blocked_=!1;ie(this,a,b)}; var ie=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;je(a)},he=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new ke(a);a.silentlyCanceled_=!1}};V.prototype.callback=function(a){he(this);ie(this,!0,a)};V.prototype.addCallback=function(a,b){return le(this,a,null,b)};V.prototype.finally=function(a){var b=this;return new Promise(function(c,d){le(b,function(e){a();c(e)},function(e){a();d(e)})})}; var le=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&&je(a);return a};V.prototype.then=function(a,b,c){var d,e,f=new U(function(g,h){e=g;d=h});le(this,e,function(g){g instanceof ge?f.cancel():d(g);return me},this);return f.then(a,b,c)};V.prototype.$goog_Thenable=!0; var ne=function(a){return bb(a.sequence_,function(b){return typeof b[1]==="function"})},me={},je=function(a){if(a.unhandledErrorId_&&a.fired_&&ne(a)){var b=a.unhandledErrorId_,c=oe[b];c&&(B.clearTimeout(c.id_),delete oe[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===me&&(h=void 0);h!==void 0&&(a.hadError_= a.hadError_&&(h==b||h instanceof Error),a.result_=b=h);if(Md(b)||typeof B.Promise==="function"&&b instanceof B.Promise)d=!0,a.blocked_=!0}catch(k){b=k,a.hadError_=!0,ne(a)||(c=!0)}}a.result_=b;d&&(h=Ka(a.continue_,a,!0),d=Ka(a.continue_,a,!1),b instanceof V?(le(b,h,d),b.blocking_=!0):b.then(h,d));c&&(b=new pe(b),oe[b.id_]=b,a.unhandledErrorId_=b.id_)},ke=function(){D.call(this)};Ma(ke,D);ke.prototype.message="Deferred has already fired";ke.prototype.name="AlreadyCalledError";var ge=function(){D.call(this)}; Ma(ge,D);ge.prototype.message="Deferred was canceled";ge.prototype.name="CanceledError";var pe=function(a){this.id_=B.setTimeout(Ka(this.throwError,this),0);this.error_=a};pe.prototype.throwError=function(){delete oe[this.id_];throw this.error_;};var oe={};var te=function(){var a=Ra("https://apis.google.com/js/client.js"),b={},c=b.document||document,d=Sa(a).toString(),e=(new qd(c)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},g=new V(f),h=null,k=b.timeout!=null?b.timeout:5E3;k>0&&(h=window.setTimeout(function(){qe(e,!0);var l=new re(1,"Timeout reached for loading script "+d);he(g);ie(g,!1,l)},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(qe(e,b.cleanupWhenDone||!1, h),g.callback(null))};e.onerror=function(){qe(e,!0,h);var l=new re(0,"Error while loading script "+d);he(g);ie(g,!1,l)};f=b.attributes||{};bd(f,{type:"text/javascript",charset:"UTF-8"});ud(e,f);od(e,a);se(c).appendChild(e);return g},se=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},fe=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&qe(a,!0,this.timeout_)}},qe=function(a,b,c){c!=null&&B.clearTimeout(c);a.onload= function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){xd(a)},0)},re=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);D.call(this,c);this.code=a};Ma(re,D);var ue=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};ue.prototype.get=function(a,b){return ve(this,"GET",a,null,b)}; var ve=function(a,b,c,d,e){var f,g,h,k,l;return ya(function(n){if(n.nextAddress==1)return ra(n,we(),2);f=C("gapi.client");g=C("gapi.config");h=xe();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(Ec(d)):void 0,headers:{"Content-Type":"application/json+protobuf", "X-Goog-Api-Key":a.apiKey_,"X-Goog-AuthUser":a.authUser_}}).then(function(p){try{return Yc(e,p.body)}catch(r){}});ye(h);f.setToken(k);return n.return(l)})},xe=function(){var a=C("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},ye=function(a){for(var b=C("gapi.config"),c=x(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.update(d,a[d])},we=function(){return C("gapi.load")?ze():te().then(function(){return ze()},function(a){return Rd("Failed initializing gapi.\nGapi error: "+a)})},ze=function(){var a=Td(),b=C("gapi.client");if(b)a.resolve(b);else try{C("gapi.load")("client",{callback:function(){a.resolve(C("gapi.client"))}})}catch(c){a.reject("Failed loading gapi library: client")}return a.promise};var W=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(W,Q);W.prototype.getSeconds=function(){var a=a===void 0?Kc:a;var b=Nc(this,1);var c=typeof b;b=b==null?b:c==="bigint"?G(bc(64,b)):ic(b)?c==="string"?pc(b):qc(b):void 0;return b!=null?b:a};W.prototype.setSeconds=function(a){a=a==null?a:mc(a);return K(this,1,a,"0")};var Ae=function(){var a=(new W).setSeconds((new Date).getTimezoneOffset()*-60);return K(a,2,lc(0),0)};var Be=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Be,Q);Be.prototype.getTimezoneOffset=function(){return L(this,W,3)};Be.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Ce=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ce,Q);Ce.prototype.setPlatform=function(a){return K(this,1,a==null?a:jc(a),0)};Ce.prototype.setSupportedCapabilityList=function(a){return Tc(this,3,a,jc)};Ce.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:lc(a),0)};var De=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(De,Q);De.prototype.setDeviceInfo=function(a){return M(this,Be,1,a)};De.prototype.setLibraryInfo=function(a){return M(this,Ce,2,a)};var Ee=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ee,Q);Ee.prototype.getAllowedCompletionStyleList=function(){return Xc(this)};var Fe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Fe,Q);var Ge=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ge,Q);Ge.prototype.getPromptDelay=function(){return L(this,Fe,1)};Ge.prototype.getAllowedPromptStyleList=function(){return Xc(this)};var He=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(He,Q);He.prototype.getLanguage=function(){return Vc(this,8)};He.prototype.getCompletion=function(){return L(this,Ee,2)};He.prototype.getDisplaySettings=function(){return L(this,Ge,3)};var Ie=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ie,Q);Ie.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Je=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Je,Q);var Ke=function(a){return Vc(a,1)};var Le=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Le,Q);m=Le.prototype;m.setTriggerId=function(a){return K(this,1,vc(a),"")};m.setLanguageList=function(a){return Tc(this,2,a,uc)};m.getLanguage=function(){return Wc(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Vc(this,4)};m.setSurveyId=function(a){Pc(this,4,vc(a))};var Me=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Me,Q);Me.prototype.setTriggerContext=function(a){return M(this,Le,1,a)};Me.prototype.setClientContext=function(a){return M(this,De,2,a)};Me.prototype.setScheduledSurveyContext=function(a){M(this,Ie,3,a)};var Ne=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ne,Q);m=Ne.prototype;m.getSession=function(){return L(this,Je,1)};m.getSurveyPayload=function(){return L(this,He,2)};m.getError=function(a){return Wc(this,4,a)};m.getSurveyId=function(){return Vc(this,5)};m.setSurveyId=function(a){K(this,5,vc(a),"")};var Oe=function(){this.actions_={}};Oe.prototype.register=function(a,b,c){this.actions_[a]={callback:b,isApplicable:c||Kd}};Oe.prototype.execute=function(a,b){(a=this.actions_[a])&&a.isApplicable()&&a.callback.apply(null,b||[])};Oe.prototype.isApplicable=function(a){a=this.actions_[a];return!!a&&a.isApplicable()};Oe.prototype.register=Oe.prototype.register;var Pe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Pe,Q);var Qe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Qe,Q);Qe.prototype.setDirection=function(a){return K(this,8,vc(a),"")};var Re=function(a){return function(b){return Yc(a,b)}}(Qe);function Se(a){if(!a)return null;a=wc(Nc(a,4,void 0,Lc));return a===null||a===void 0?null:Ra(a)};var Te=y([""]),Ue=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]); function Ve(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=c.document,g=a.nonce,h=Re(b);h=L(h,Pe,10)?Se(L(h,Pe,10))||S(Te):S(Ue);var k=sd(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})};od(k,h);f.body.appendChild(k)};var We=y(["https://www.google.com/tools/feedback/"]),Xe=y(["http://localhost.corp.google.com/inapp/"]),Ye=y(["http://localhost.proxy.googlers.com/inapp/"]),Ze=y(["https://asx-frontend-autopush.corp.google.com/inapp/"]),$e=y(["https://asx-frontend-autopush.corp.google.com/tools/feedback/"]),af=y(["https://asx-frontend-autopush.corp.google.co.uk/inapp/"]),bf=y(["https://asx-frontend-autopush.corp.google.co.uk/tools/feedback/"]),cf=y(["https://asx-frontend-autopush.corp.google.de/inapp/"]),df=y(["https://asx-frontend-autopush.corp.google.de/tools/feedback/"]), ef=y(["https://asx-frontend-autopush.corp.youtube.com/tools/feedback/"]),ff=y(["https://asx-frontend-autopush.corp.youtube.com/inapp/"]),gf=y(["https://asx-help-frontend-autopush.corp.youtube.com/tools/feedback/"]),hf=y(["https://asx-help-frontend-autopush.corp.youtube.com/inapp/"]),jf=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),kf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),lf=y(["https://support.google.com/inapp/"]),mf=y(["https://sandbox.google.com/inapp/"]), nf=y(["https://sandbox.google.com/tools/feedback/"]),of=y(["https://www.google.cn/tools/feedback/"]),pf=y(["https://help.youtube.com/tools/feedback/"]),qf=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),rf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),sf=y(["https://localhost.corp.google.com/inapp/"]),tf=y(["https://localhost.proxy.googlers.com/inapp/"]),uf=S(We),vf=[S(Xe),S(Ye)],wf=[S(Ze),S($e),S(af),S(bf),S(cf),S(df),S(ef),S(ff),S(gf),S(hf)],xf=[S(jf),S(kf)],yf= [uf,S(lf),S(mf),S(nf),S(of),S(pf),S(qf),S(rf),S(sf),S(tf)];la(vf);la(wf);la(xf);la(yf);var zf=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};zf.prototype.disposed_=!1;zf.prototype.isDisposed=function(){return this.disposed_};zf.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};zf.prototype[Symbol.dispose]=function(){this.dispose()};zf.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Af=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Af.prototype.stopPropagation=function(){this.propagationStopped_=!0};Af.prototype.preventDefault=function(){this.defaultPrevented=!0};var Bf=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();var Cf=function(a,b){Af.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)};Ma(Cf,Af); Cf.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=eb||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= eb||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&&Cf.superClass_.preventDefault.call(this)};Cf.prototype.stopPropagation=function(){Cf.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Cf.prototype.preventDefault=function(){Cf.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Hf="closure_listenable_"+(Math.random()*1E6|0);var If=0;var Jf=function(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=++If;this.removed=this.callOnce=!1},Kf=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Lf(a){this.src=a;this.listeners={};this.typeCount_=0}Lf.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=Mf(a,b,d,e);g>-1?(b=a[g],c||(b.callOnce=!1)):(b=new Jf(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b}; Lf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Mf(e,b,c,d);return b>-1?(Kf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Nf=function(a,b){var c=b.type;c in a.listeners&&cb(a.listeners[c],b)&&(Kf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--))}; Lf.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Mf(a,b,c,d));return e>-1?a[e]:null};Lf.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return $c(this.listeners,function(f){for(var g=0;g>>0),Tf=function(a){if(typeof a==="function")return a;a[ag]||(a[ag]=function(b){return a.handleEvent(b)});return a[ag]};var bg=function(){zf.call(this);this.eventTargetListeners_=new Lf(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Ma(bg,zf);bg.prototype[Hf]=!0;m=bg.prototype;m.addEventListener=function(a,b,c,d){Sf(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Zf(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 Af(a,b);else if(a instanceof Af)a.target=a.target||b;else{var e=a;a=new Af(d,b);bd(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=cg(g,d,!0,a)&&e}a.propagationStopped_||(g=a.currentTarget=b,e=cg(g,d,!0,a)&&e,a.propagationStopped_||(e=cg(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(){bg.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};Ma(X,bg); var gg=/^https?$/i,hg=["POST","PUT"],ig=[],jg=function(a,b,c,d,e,f){var g=new X;ig.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();cb(ig,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(Ka(this.onReadyStateChange_,this));this.progressEventsEnabled_&&"onprogress"in this.xhr_&&(this.xhr_.onprogress=T(Ka(function(g){this.onProgressHandler_(g,!0)},this)),this.xhr_.upload&&(this.xhr_.upload.onprogress=T(Ka(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=x(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=B.FormData&&a instanceof B.FormData;!($a(hg,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=x(c);for(d=b.next();!d.done;d=b.next())c=x(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 Ca!="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);kg(this);lg(this)};var kg=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"),lg(this))}; X.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),lg(this,!0));X.superClass_.disposeInternal.call(this)};X.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)mg(this);else this.onReadyStateChangeEntryPoint_()};X.prototype.onReadyStateChangeEntryPoint_=function(){mg(this)}; var mg=function(a){if(a.active_&&typeof Ca!="undefined")if(a.inSend_&&ng(a)==4)setTimeout(a.onReadyStateChange_.bind(a),0);else if(a.dispatchEvent("readystatechange"),ng(a)==4){a.active_=!1;try{try{var b=ng(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(eg)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!gg.test(f? f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"),a.dispatchEvent("success")):kg(a)}finally{lg(a)}}};X.prototype.onProgressHandler_=function(a,b){this.dispatchEvent(og(a,"progress"));this.dispatchEvent(og(a,b?"downloadprogress":"uploadprogress"))}; var og=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},lg=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 ng=function(a){return a.xhr_?a.xhr_.readyState:0},pg=function(a){if(a.xhr_){a=a.xhr_.responseText;a.indexOf(")]}'\n")==0&&(a=a.substring(5));a:{if(B.JSON)try{var b=B.JSON.parse(a);break a}catch(c){}b=dg(a)}return b}};X.prototype.getResponseHeader=function(a){if(this.xhr_&&ng(this)==4)return a=this.xhr_.getResponseHeader(a),a===null?void 0:a};X.prototype.getAllResponseHeaders=function(){return this.xhr_&&ng(this)>=2?this.xhr_.getAllResponseHeaders()||"":""};var qg=y([""]),rg=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]);function sg(a,b,c,d,e,f){return ya(function(g){return g.return(new Promise(function(h){jg(""+a+"/repeater_help_panel?locale="+b+"&helpContext="+c+"&productId="+d+"&helpcenter="+e+"&openingMode="+f,function(k){k=k.target;var l=null;try{l=Yc(Qe,JSON.stringify(pg(k)))}catch(n){}h(l)})}))})} function tg(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=Re(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 p=c.document,r=a.nonce,q=L(f,Pe,10)?Se(L(f,Pe,10))|| S(qg):S(rg),t=C("document.location.href",c);a.helpCenterContext||a.context||!t||(a.context=t.substring(0,1200));t=!0;if(d){var A=JSON.stringify(d);(t=A.length<=1200)&&(a.psdJson=A)}t||(d={invalidPsd:!0});var O=a.helpPanelTheme;a.helpPanelTheme===2&&(O=c.matchMedia&&c.matchMedia("(prefers-color-scheme: dark)").matches?1:0);t=sd(p).createElement("SCRIPT");r&&t.setAttribute("nonce",r);t.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:Vc(f,12),enableSendFeedback:a.enableSendFeedback|| !1,helpPanelTheme:O,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})};od(t,q);p.body.appendChild(t)};for(var ug={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"]},vg={},wg=x(Object.keys(ug)),xg=wg.next();!xg.done;xg=wg.next()){var yg=xg.value;vg[yg]=yg;for(var zg=x(ug[yg]),Ag=zg.next();!Ag.done;Ag=zg.next())vg[Ag.value]=yg};var Bg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Bg,Q);Bg.prototype.getTimezoneOffset=function(){return L(this,W,3)};Bg.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Cg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Cg,Q);Cg.prototype.setPlatform=function(a){return K(this,1,a==null?a:jc(a),0)};Cg.prototype.setSupportedCapabilityList=function(a){return Tc(this,3,a,jc)};Cg.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:lc(a),0)};var Dg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Dg,Q);Dg.prototype.setDeviceInfo=function(a){return M(this,Bg,1,a)};Dg.prototype.setLibraryInfo=function(a){return M(this,Cg,2,a)};var Eg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Eg,Q);Eg.prototype.getAllowedCompletionStyleList=function(){return Xc(this)};var Fg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Fg,Q);var Gg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Gg,Q);Gg.prototype.getPromptDelay=function(){return L(this,Fg,1)};Gg.prototype.getAllowedPromptStyleList=function(){return Xc(this)};var Hg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Hg,Q);Hg.prototype.getLanguage=function(){return Vc(this,8)};Hg.prototype.getCompletion=function(){return L(this,Eg,2)};Hg.prototype.getDisplaySettings=function(){return L(this,Gg,3)};var Ig=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ig,Q);Ig.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Jg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Jg,Q);var Kg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Kg,Q);var Lg=function(a){return N(a,1)},Mg=function(a){var b=new Kg;return P(b,1,a)};var Ng=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ng,Q);m=Ng.prototype;m.setTriggerId=function(a){return K(this,1,vc(a),"")};m.setLanguageList=function(a){return Tc(this,2,a,uc)};m.getLanguage=function(){return Wc(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Vc(this,4)};m.setSurveyId=function(a){Pc(this,4,vc(a))};var Og=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Og,Q);var Pg=function(a,b){return K(a,1,vc(b),"")};Og.prototype.setApiKey=function(a){return K(this,2,vc(a),"")};Og.prototype.setPlatform=function(a){return K(this,3,a==null?a:jc(a),0)};var Qg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Qg,Q);var Rg=function(a,b){return M(a,Kg,1,b)};var Sg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Sg,Q);Sg.prototype.setTriggerContext=function(a){return M(this,Ng,1,a)};Sg.prototype.setClientContext=function(a){return M(this,Dg,2,a)};Sg.prototype.setScheduledSurveyContext=function(a){M(this,Ig,3,a)};var Tg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Tg,Q);m=Tg.prototype;m.getSession=function(){return L(this,Jg,1)};m.getSurveyPayload=function(){return L(this,Hg,2)};m.getError=function(a){return Wc(this,4,a)};m.getSurveyId=function(){return Vc(this,5)};m.setSurveyId=function(a){K(this,5,vc(a),"")};var Ug=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 Vg(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}function b(p){for(var r=g,q=0;q<64;q+=4)r[q/4]=p[q]<<24|p[q+1]<<16|p[q+2]<<8|p[q+3];for(q=16;q<80;q++)p=r[q-3]^r[q-8]^r[q-14]^r[q-16],r[q]=(p<<1|p>>>31)&4294967295;p=e[0];var t=e[1],A=e[2],O=e[3],pb=e[4];for(q=0;q<80;q++){if(q<40)if(q<20){var ma=O^t&(A^O);var Ga=1518500249}else ma=t^A^O,Ga=1859775393;else q<60?(ma=t&A|O&(t|A),Ga=2400959708):(ma=t^A^O,Ga=3395469782);ma=((p<<5|p>>>27)&4294967295)+ ma+pb+Ga+r[q]&4294967295;pb=O;O=A;A=(t<<30|t>>>2)&4294967295;t=p;p=ma}e[0]=e[0]+p&4294967295;e[1]=e[1]+t&4294967295;e[2]=e[2]+A&4294967295;e[3]=e[3]+O&4294967295;e[4]=e[4]+pb&4294967295}function c(p,r){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var q=[],t=0,A=p.length;t=56;q--)f[q]=r&255,r>>>=8;b(f);for(q=r=0;q<5;q++)for(var t=24;t>=0;t-=8)p[r++]=e[q]>>t&255;return p}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 p=d(),r="",q=0;q=0;b--)this.remove(a[b])};var $g=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f=a.length)return Ch;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");};function Eh(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?Ph(b,a.queryData_.clone()):c=!!a.fragment_;c&&(a=a.fragment_,Y(b),b.fragment_=a);return b};Mh.prototype.clone=function(){return new Mh(this)}; var Nh=function(a,b,c){Y(a);a.scheme_=c?Qh(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a},Oh=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},Ph=function(a,b,c){Y(a);b instanceof Rh?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=Sh(b,Xh)),a.queryData_=new Rh(b,a.ignoreCase_))};Mh.prototype.getQuery=function(){return this.queryData_.toString()}; Mh.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");};Mh.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Qh=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Sh=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Yh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Yh=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Th=/[#\/\?@]/g,Vh=/[#\?:]/g,Uh=/[#\?]/g,Xh=/[#\?@]/g,Wh=/#/g,Rh=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},Zh=function(a){a.keyMap_||(a.keyMap_= new Map,a.count_=0,a.encodedQuery_&&fg(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};m=Rh.prototype;m.add=function(a,b){Zh(this);this.encodedQuery_=null;a=$h(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){Zh(this);a=$h(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(){Zh(this);return this.count_==0};m.containsKey=function(a){Zh(this);a=$h(this,a);return this.keyMap_.has(a)};m.forEach=function(a,b){Zh(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; m.getKeys=function(){Zh(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($h(this,d),db(b)),this.count_+=b.length))},this));this.ignoreCase_=a};Rh.prototype.extend=function(a){for(var b=0;b0?b.preferredSurveyLanguageList:[a.locale_]; h=(new Ng).setTriggerId(b.triggerId).setLanguageList(h).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!=""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&h.setSurveyId(b.surveyIdForTestingMode);f=(new Sg).setTriggerContext(h).setClientContext((new Dg).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&f.setScheduledSurveyContext((new Ig).setIsScheduledSurvey(c));d=ve(d,"POST",e,f,Tg)}else d=Ti(a,b,c);return d},function(){return Ti(a,b,c)})},Si=function(a,b){var c= [],d=Ug(String(B.location.href));var e=[];var f;(f=B.__SAPISID||B.__APISID||B.__3PSAPISID||B.__1PSAPISID||B.__OVERRIDE_SID)?f=!0:(typeof document!=="undefined"&&(f=new Zg,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)?B.__SAPISID:B.__APISID,f||typeof document==="undefined"||(f=new Zg,f=f.get(d?"SAPISID": "APISID")||f.get("__Secure-3PAPISID")),(f=f?Xg(f,d?"SAPISIDHASH":"APISIDHASH",c):null)&&e.push(f),d&&((d=ah("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",c))&&e.push(d),(c=ah("__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"},Ti=function(a,b,c){var d=new ue({serverUrl:b.nonProd? "https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.apiKey_,authUser:b.authuser}),e=Si(a,b),f=Ae();f=(new Be).setTimezoneOffset(f);var g=(new Ce).setPlatform(1).setLibraryVersionInt(438217234).setSupportedCapabilityList([1,2]);a=b.preferredSurveyLanguageList&&b.preferredSurveyLanguageList.length>0?b.preferredSurveyLanguageList:[a.locale_];a=(new Le).setTriggerId(b.triggerId).setLanguageList(a).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!= ""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&a.setSurveyId(b.surveyIdForTestingMode);b=(new Me).setTriggerContext(a).setClientContext((new De).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&b.setScheduledSurveyContext((new Ie).setIsScheduledSurvey(c));return ve(d,"POST",e,b,Ne)},ni=function(a){return typeof a=="string"&&!!a.match(/^[A-Za-z0-9]+$/)},pi=function(a){try{var b=parseInt,c=a.getDisplaySettings().getPromptDelay();var d=L(c,W,1);var e=b(bh(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(bh(g.getSeconds()),10);isNaN(h)&&(h=0)}catch(k){h=0}return Math.floor(Math.random()*(h-e+1))+e},si=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&vg[c.language.toLowerCase()]?vg[c.language.toLowerCase()]:vg[a.locale_.toLowerCase()];e=e&&e.replace("-","_");e==="fa"&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!Ui("https://www.gstatic.com/uservoice/surveys/resources/"+ d+"/js/survey/survey_binary__"+f+".js")&&Vi();window.hatsNextGlobalObject?Wi(b,c):(e=document.createElement("script"),d=S(fi,d,f),od(e,d),e.type="text/javascript",e.onload=function(){return Wi(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))},Wi=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(hi>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})}},Qi=function(){var a=C("help.globals.actions",top);a||(a=new Oe,Da("help.globals.actions",a,top));return a},Ui=function(a){return[].concat(la(document.getElementsByTagName("script"))).find(function(b){return b&&b.getAttribute("src")===a})},Vi=function(){[].concat(la(document.getElementsByTagName("script"))).forEach(function(a){var b;if(a== null?0:(b=a.getAttribute("src"))==null?0:b.match(ji))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},ri=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(a==null?0:(b=a.getAttribute("href"))==null?0:b.match(ii))&&a.parentNode.removeChild(a)})},ki=function(a){if(!a)return"";try{return ib(JSON.stringify(Ec(a)))}catch(b){return console.log("Failed to serialize and encode proto: ",b),""}},qi=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;Da("help.service.Lazy",Z);Da("help.service.Lazy.create",function(a,b){return new Z(a,b)});}).call(this);