You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
155 lines
79 KiB
155 lines
79 KiB
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var n,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?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;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},q=ca(this),u=function(a,b){if(b)a:{var c=q;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
u("Symbol",function(a){if(a)return a;var b=function(f,g){this.Zb=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.Zb};var c="jscomp_symbol_"+(1E9*Math.random()>>>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});
|
|
u("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<b.length;c++){var d=q[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return da(aa(this))}})}return a});
|
|
var da=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},v=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ea=function(a){if(!(a instanceof Array)){a=v(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},fa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ha;
|
|
if("function"==typeof Object.setPrototypeOf)ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var la=ha,x=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.qa=b.prototype},na=function(){this.za=!1;this.X=null;this.Yb=void 0;this.Aa=1;this.Jb=this.ec=0;this.ta=null},oa=function(a){if(a.za)throw new TypeError("Generator is already running");a.za=!0};na.prototype.Ba=function(a){this.Yb=a};
|
|
na.prototype.Ha=function(a){this.ta={kc:a,pc:!0};this.Aa=this.ec||this.Jb};na.prototype.return=function(a){this.ta={return:a};this.Aa=this.Jb};var qa=function(a){var b=pa();a.Aa=2;return{value:b}},ra=function(a){this.h=new na;this.zc=a};ra.prototype.Ba=function(a){oa(this.h);if(this.h.X)return sa(this,this.h.X.next,a,this.h.Ba);this.h.Ba(a);return ta(this)};
|
|
var ua=function(a,b){oa(a.h);var c=a.h.X;if(c)return sa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.h.return);a.h.return(b);return ta(a)};ra.prototype.Ha=function(a){oa(this.h);if(this.h.X)return sa(this,this.h.X["throw"],a,this.h.Ba);this.h.Ha(a);return ta(this)};
|
|
var sa=function(a,b,c,d){try{var e=b.call(a.h.X,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.h.za=!1,e;var f=e.value}catch(g){return a.h.X=null,a.h.Ha(g),ta(a)}a.h.X=null;d.call(a.h,f);return ta(a)},ta=function(a){for(;a.h.Aa;)try{var b=a.zc(a.h);if(b)return a.h.za=!1,{value:b.value,done:!1}}catch(c){a.h.Yb=void 0,a.h.Ha(c)}a.h.za=!1;if(a.h.ta){b=a.h.ta;a.h.ta=null;if(b.pc)throw b.kc;return{value:b.return,done:!0}}return{value:void 0,
|
|
done:!0}},va=function(a){this.next=function(b){return a.Ba(b)};this.throw=function(b){return a.Ha(b)};this.return=function(b){return ua(a,b)};this[Symbol.iterator]=function(){return this}},wa=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())})};
|
|
u("Promise",function(a){function b(){this.U=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.Db=function(g){if(null==this.U){this.U=[];var h=this;this.Eb(function(){h.lc()})}this.U.push(g)};var d=q.setTimeout;b.prototype.Eb=function(g){d(g,0)};b.prototype.lc=function(){for(;this.U&&this.U.length;){var g=this.U;this.U=[];for(var h=0;h<g.length;++h){var k=g[h];g[h]=null;try{k()}catch(l){this.bc(l)}}}this.U=null};b.prototype.bc=function(g){this.Eb(function(){throw g;
|
|
})};var e=function(g){this.j=0;this.s=void 0;this.na=[];this.Nb=!1;var h=this.kb();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.kb=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.Hc),reject:g(this.wb)}};e.prototype.Hc=function(g){if(g===this)this.wb(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.Lc(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=
|
|
!1}h?this.Gc(g):this.Kb(g)}};e.prototype.Gc=function(g){var h=void 0;try{h=g.then}catch(k){this.wb(k);return}"function"==typeof h?this.Mc(h,g):this.Kb(g)};e.prototype.wb=function(g){this.Wb(2,g)};e.prototype.Kb=function(g){this.Wb(1,g)};e.prototype.Wb=function(g,h){if(0!=this.j)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.j);this.j=g;this.s=h;2===this.j&&this.Ic();this.oc()};e.prototype.Ic=function(){var g=this;d(function(){if(g.vc()){var h=q.console;"undefined"!==
|
|
typeof h&&h.error(g.s)}},1)};e.prototype.vc=function(){if(this.Nb)return!1;var g=q.CustomEvent,h=q.Event,k=q.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=q.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.s;return k(g)};e.prototype.oc=function(){if(null!=this.na){for(var g=0;g<this.na.length;++g)f.Db(this.na[g]);
|
|
this.na=null}};var f=new b;e.prototype.Lc=function(g){var h=this.kb();g.Ma(h.resolve,h.reject)};e.prototype.Mc=function(g,h){var k=this.kb();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(g,h){function k(t,p){return"function"==typeof t?function(w){try{l(t(w))}catch(D){m(D)}}:p}var l,m,r=new e(function(t,p){l=t;m=p});this.Ma(k(g,l),k(h,m));return r};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.Ma=function(g,h){function k(){switch(l.j){case 1:g(l.s);
|
|
break;case 2:h(l.s);break;default:throw Error("Unexpected state: "+l.j);}}var l=this;null==this.na?f.Db(k):this.na.push(k);this.Nb=!0};e.resolve=c;e.reject=function(g){return new e(function(h,k){k(g)})};e.race=function(g){return new e(function(h,k){for(var l=v(g),m=l.next();!m.done;m=l.next())c(m.value).Ma(h,k)})};e.all=function(g){var h=v(g),k=h.next();return k.done?c([]):new e(function(l,m){function r(w){return function(D){t[w]=D;p--;0==p&&l(t)}}var t=[],p=0;do t.push(void 0),p++,c(k.value).Ma(r(t.length-
|
|
1),m),k=h.next();while(!k.done)})};return e});u("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});var y=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
|
|
u("WeakMap",function(a){function b(){}function c(k){var l=typeof k;return"object"===l&&null!==k||"function"===l}function d(k){if(!y(k,f)){var l=new b;ba(k,f,{value:l})}}function e(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof b)return m;Object.isExtensible(m)&&d(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),m=new a([[k,2],[l,3]]);if(2!=m.get(k)||3!=m.get(l))return!1;m.delete(k);m.set(l,4);return!m.has(k)&&4==m.get(l)}catch(r){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(k){this.L=(g+=Math.random()+1).toString();if(k){k=v(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};h.prototype.set=function(k,l){if(!c(k))throw Error("Invalid WeakMap key");d(k);if(!y(k,f))throw Error("WeakMap key fail: "+k);k[f][this.L]=l;return this};h.prototype.get=function(k){return c(k)&&y(k,f)?k[f][this.L]:void 0};h.prototype.has=function(k){return c(k)&&y(k,f)&&y(k[f],this.L)};
|
|
h.prototype.delete=function(k){return c(k)&&y(k,f)&&y(k[f],this.L)?delete k[f][this.L]:!1};return h});
|
|
u("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(v([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||"s"!=m.value[1])return!1;m=l.next();return m.done||4!=m.value[0].x||"t"!=m.value[1]||!l.next().done?!1:!0}catch(r){return!1}}())return a;var b=new WeakMap,c=function(h){this.ua={};this.u=
|
|
f();this.size=0;if(h){h=v(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this.ua[l.id]=[]);l.m?l.m.value=k:(l.m={next:this.u,P:this.u.P,head:this.u,key:h,value:k},l.list.push(l.m),this.u.P.next=l.m,this.u.P=l.m,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.m&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.ua[h.id],h.m.P.next=h.m.next,h.m.next.P=h.m.P,h.m.head=null,
|
|
this.size--,!0):!1};c.prototype.clear=function(){this.ua={};this.u=this.u.P=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).m};c.prototype.get=function(h){return(h=d(this,h).m)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=this.entries(),m;!(m=l.next()).done;)m=
|
|
m.value,h.call(k,m[1],m[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++g,b.set(k,l)):l="p_"+k;var m=h.ua[l];if(m&&y(h.ua,l))for(h=0;h<m.length;h++){var r=m[h];if(k!==k&&r.key!==r.key||k===r.key)return{id:l,list:m,index:h,m:r}}return{id:l,list:m,index:-1,m:void 0}},e=function(h,k){var l=h.u;return da(function(){if(l){for(;l.head!=h.u;)l=l.P;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};
|
|
l=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.P=h.next=h.head=h},g=0;return c});var xa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};u("Array.prototype.keys",function(a){return a?a:function(){return xa(this,function(b){return b})}});
|
|
u("Array.prototype.values",function(a){return a?a:function(){return xa(this,function(b,c){return c})}});u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
|
|
u("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});u("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
|
|
u("String.prototype.includes",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(b,c||0)}});
|
|
var ya=ya||{},z=this||self,A=function(a,b,c){a=a.split(".");c=c||z;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},B=function(a,b){a=a.split(".");b=b||z;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},C=function(){},za=function(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return"array"==b||"object"==b&&"number"==typeof a.length},
|
|
E=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Aa=function(a,b,c){return a.call.apply(a.bind,arguments)},Ba=function(a,b,c){if(!a)throw Error();if(2<arguments.length){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)}},F=function(a,b,c){F=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
|
|
Aa:Ba;return F.apply(null,arguments)},G=function(a,b){function c(){}c.prototype=b.prototype;a.qa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.hd=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}},Ca=function(a){return a};function H(a){if(Error.captureStackTrace)Error.captureStackTrace(this,H);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}G(H,Error);H.prototype.name="CustomError";var Da;var Ea=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Fa=function(a,b){return a<b?-1:a>b?1:0};function Ga(){var a=z.navigator;return a&&(a=a.userAgent)?a:""}function I(a){return-1!=Ga().indexOf(a)};var Ha=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ia=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Ja=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,
|
|
b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};function Ka(a,b){b=Ha(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}function La(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};var Ma=function(a){Ma[" "](a);return a};Ma[" "]=C;var Oa=function(a){var b=Na;return Object.prototype.hasOwnProperty.call(b,9)?b[9]:b[9]=a(9)};var Pa=I("Opera"),Qa=I("Trident")||I("MSIE"),Ra=I("Edge"),Sa=I("Gecko")&&!(-1!=Ga().toLowerCase().indexOf("webkit")&&!I("Edge"))&&!(I("Trident")||I("MSIE"))&&!I("Edge"),Ta=-1!=Ga().toLowerCase().indexOf("webkit")&&!I("Edge"),Ua;
|
|
a:{var Va="",Wa=function(){var a=Ga();if(Sa)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ra)return/Edge\/([\d\.]+)/.exec(a);if(Qa)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ta)return/WebKit\/(\S+)/.exec(a);if(Pa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Wa&&(Va=Wa?Wa[1]:"");if(Qa){var Xa,Ya=z.document;Xa=Ya?Ya.documentMode:void 0;if(null!=Xa&&Xa>parseFloat(Va)){Ua=String(Xa);break a}}Ua=Va}
|
|
var Za=Ua,Na={},$a=function(){return Oa(function(){for(var a=0,b=Ea(String(Za)).split("."),c=Ea("9").split("."),d=Math.max(b.length,c.length),e=0;0==a&&e<d;e++){var f=b[e]||"",g=c[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;a=Fa(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||Fa(0==f[2].length,0==g[2].length)||Fa(f[2],g[2]);f=f[3];g=g[3]}while(0==a)}return 0<=a})};var ab={},bb=null;var cb="function"===typeof Uint8Array;var db="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(void 0):void 0;function J(a){Object.isFrozen(a)||(db?a[db]|=1:void 0!==a.Wa?a.Wa|=1:Object.defineProperties(a,{Wa:{value:1,configurable:!0,writable:!0,enumerable:!1}}));return a};function eb(a){return null!==a&&"object"===typeof a&&a.constructor===Object}var fb;function gb(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(cb&&null!=a&&a instanceof Uint8Array){var b;void 0===b&&(b=0);if(!bb){bb={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));ab[e]=f;for(var g=0;g<f.length;g++){var h=f[g];void 0===bb[h]&&(bb[h]=g)}}}b=ab[b];c=Array(Math.floor(a.length/3));d=b[64]||"";for(e=f=0;f<a.length-2;f+=3){var k=a[f],l=a[f+
|
|
1];h=a[f+2];g=b[k>>2];k=b[(k&3)<<4|l>>4];l=b[(l&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}return c.join("")}}return a};function hb(a,b){if(null!=a)return Array.isArray(a)||eb(a)?ib(a,b):b(a)}function ib(a,b){if(Array.isArray(a)){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=hb(a[d],b);if(b=Array.isArray(a))a=db?a[db]:a.Wa,b=(null==a?0:a)&1;b&&J(c);return c}c={};for(d in a)c[d]=hb(a[d],b);return c}function jb(a){if(a&&"object"==typeof a&&a.toJSON)return a.toJSON();a=gb(a);return Array.isArray(a)?ib(a,jb):a}function kb(a){return cb&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};var lb;function nb(a,b){lb=b;a=new a(b);lb=null;return a};var K=function(a,b,c){var d=lb;lb=null;a||(a=d);d=this.constructor.nd;a||(a=d?[d]:[]);this.ga=(d?0:-1)-(this.constructor.md||0);this.G=null;this.F=a;a:{d=this.F.length;a=d-1;if(d&&(d=this.F[a],eb(d))){this.oa=a-this.ga;this.I=d;break a}void 0!==b&&-1<b?(this.oa=Math.max(b,a+1-this.ga),this.I=null):this.oa=Number.MAX_VALUE}if(c)for(b=0;b<c.length;b++)a=c[b],a<this.oa?(a+=this.ga,(d=this.F[a])?Array.isArray(d)&&J(d):this.F[a]=ob):(pb(this),(d=this.I[a])?Array.isArray(d)&&J(d):this.I[a]=ob)},ob=Object.freeze(J([])),
|
|
pb=function(a){var b=a.oa+a.ga;a.F[b]||(a.I=a.F[b]={})},qb=function(a,b,c){return-1===b?null:b>=a.oa?a.I?a.I[b]:void 0:(void 0===c?0:c)&&a.I&&a.I[b]?a.I[b]:a.F[b+a.ga]},sb=function(a,b,c){c=void 0===c?!1:c;var d=qb(a,b,c);null==d&&(d=ob);d===ob&&(d=J(d.slice()),rb(a,b,d,c));return d},rb=function(a,b,c,d){(void 0===d?0:d)||b>=a.oa?(pb(a),a.I[b]=c):a.F[b+a.ga]=c;return a},tb=function(a,b,c){var d=void 0===d?!1:d;return rb(a,b,null==c?J([]):Array.isArray(c)?J(c):c,d)};
|
|
function ub(a,b,c,d){c!==d?rb(a,b,c):rb(a,b,void 0,!1);return a}var L=function(a,b,c,d,e){if(-1===c)return null;a.G||(a.G={});var f=a.G[c];if(f)return f;e=qb(a,c,void 0===e?!1:e);if(null==e&&!d)return f;b=new b(e);return a.G[c]=b},vb=function(a,b,c){var d;a.G||(a.G={});var e=c?c.F:c;a.G[b]=c;return rb(a,b,e,void 0===d?!1:d)};K.prototype.toJSON=function(){var a=this.F;return fb?a:ib(a,jb)};function wb(a,b){return gb(b)}
|
|
var xb=function(a){fb=!0;try{return JSON.stringify(a.toJSON(),wb)}finally{fb=!1}},yb=function(a,b){return nb(a,b?JSON.parse(b):null)};K.prototype.toString=function(){return this.F.toString()};K.prototype.getExtension=function(a){return a.kd(this)};K.prototype.clone=function(){var a=this.constructor,b=ib(this.F,kb);a=nb(a,b);zb(a,this);return a};
|
|
function zb(a,b){b.Mb&&(a.Mb=b.Mb.slice());var c=b.G;if(c){b=b.I;for(var d in c){var e=c[d];if(e){var f=!(!b||!b[d]),g=+d;if(Array.isArray(e)){if(e.length){var h=a,k=e[0].constructor;h.G||(h.G={});var l=h.G[g];if(!l){f=sb(h,g,void 0===f?!1:f);l=[];for(var m=0;m<f.length;m++)l[m]=new k(f[m]);h.G[g]=l}g=l;for(h=0;h<Math.min(g.length,e.length);h++)zb(g[h],e[h])}}else(g=L(a,e.constructor,g,void 0,f))&&zb(g,e)}}}}var Ab=function(a,b){a=qb(a,b);return null==a?"":a};var Bb;var Eb=function(a,b){this.Xb=a===Cb&&b||"";this.$b=Db};Eb.prototype.Ua=!0;Eb.prototype.Qa=function(){return this.Xb};var Fb=function(a){return a instanceof Eb&&a.constructor===Eb&&a.$b===Db?a.Xb:"type_error:Const"},M=function(a){return new Eb(Cb,a)},Db={},Cb={};var Hb=function(a,b){this.vb=b===Gb?a:""};Hb.prototype.Ua=!0;Hb.prototype.Qa=function(){return this.vb.toString()};Hb.prototype.toString=function(){return this.vb+""};
|
|
var Ib=function(a){return a instanceof Hb&&a.constructor===Hb?a.vb:"type_error:TrustedResourceUrl"},Mb=function(a,b){var c=Fb(a);if(!Jb.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Kb,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 Eb?Fb(d):encodeURIComponent(String(d))});return Lb(a)},Kb=/%{(\w+)}/g,Jb=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)",
|
|
"i"),Gb={},Lb=function(a){if(void 0===Bb){var b=null;var c=z.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("uf-la#html",{createHTML:Ca,createScript:Ca,createScriptURL:Ca})}catch(d){z.console&&z.console.error(d.message)}Bb=b}a=(b=Bb)?b.createScriptURL(a):a;return new Hb(a,Gb)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};var Nb=function(){return!0};function Ob(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function Pb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Rb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Qb.length;f++)c=Qb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var N=function(a,b){this.ub=b===Sb?a:""};N.prototype.Ua=!0;N.prototype.Qa=function(){return this.ub.toString()};N.prototype.toString=function(){return this.ub.toString()};
|
|
var Tb=function(a){return a instanceof N&&a.constructor===N?a.ub:"type_error:SafeUrl"},Ub=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),Vb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Wb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Xb=function(a){if(a instanceof N)return a;a="object"==typeof a&&a.Ua?
|
|
a.Qa():String(a);if(Wb.test(a))a=new N(a,Sb);else{a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(Vb);a=b&&Ub.test(b[1])?new N(a,Sb):null}return a},Sb={},Yb=new N("about:invalid#zClosurez",Sb);var $b=function(a){var b=Zb(a.ownerDocument&&a.ownerDocument.defaultView);b&&a.setAttribute("nonce",b)},Zb=function(a){return ac("script[nonce]",a)},bc=/^[\w+/_-]+[=]{0,2}$/,ac=function(a,b){b=(b||z).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&bc.test(a)?a:"":""};var dc=function(a,b){Ob(b,function(c,d){c&&"object"==typeof c&&c.Ua&&(c=c.Qa());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:cc.hasOwnProperty(d)?a.setAttribute(cc[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},cc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",
|
|
width:"width"},ec=function(a,b,c){function d(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):h)}for(var e=1;e<c.length;e++){var f=c[e];if(!za(f)||E(f)&&0<f.nodeType)d(f);else{a:{if(f&&"number"==typeof f.length){if(E(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Ia(g?La(f):f,d)}}},fc=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},
|
|
gc=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},hc=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},ic=function(a){this.N=a||z.document||document};n=ic.prototype;n.getElementsByTagName=function(a,b){return(b||this.N).getElementsByTagName(String(a))};n.createElement=function(a){return fc(this.N,a)};n.createTextNode=function(a){return this.N.createTextNode(String(a))};n.getWindow=function(){var a=this.N;return a.parentWindow||a.defaultView};
|
|
n.appendChild=function(a,b){a.appendChild(b)};n.append=function(a,b){ec(hc(a),a,arguments)};n.canHaveChildren=function(a){if(1!=a.nodeType)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};
|
|
n.removeNode=gc;n.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var kc=function(a,b){this.sc=100;this.hc=a;this.Fc=b;this.Ya=0;this.u=null};kc.prototype.get=function(){if(0<this.Ya){this.Ya--;var a=this.u;this.u=a.next;a.next=null}else a=this.hc();return a};kc.prototype.put=function(a){this.Fc(a);this.Ya<this.sc&&(this.Ya++,a.next=this.u,this.u=a)};var lc,mc=function(){var a=z.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!I("Presto")&&(a=function(){var e=fc(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=F(function(k){if(("*"==h||k.origin==h)&&k.data==g)this.port1.onmessage()},
|
|
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!I("Trident")&&!I("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Gb;c.Gb=null;e()}};return function(e){d.next={Gb:e};d=d.next;b.port2.postMessage(0)}}return function(e){z.setTimeout(e,0)}};function nc(a){z.setTimeout(function(){throw a;},0)};var oc=function(){this.cb=this.sa=null};oc.prototype.add=function(a,b){var c=pc.get();c.set(a,b);this.cb?this.cb.next=c:this.sa=c;this.cb=c};oc.prototype.remove=function(){var a=null;this.sa&&(a=this.sa,this.sa=this.sa.next,this.sa||(this.cb=null),a.next=null);return a};var pc=new kc(function(){return new qc},function(a){return a.reset()}),qc=function(){this.next=this.scope=this.ob=null};qc.prototype.set=function(a,b){this.ob=a;this.scope=b;this.next=null};
|
|
qc.prototype.reset=function(){this.next=this.scope=this.ob=null};var vc=function(a,b){rc||sc();tc||(rc(),tc=!0);uc.add(a,b)},rc,sc=function(){if(z.Promise&&z.Promise.resolve){var a=z.Promise.resolve(void 0);rc=function(){a.then(wc)}}else rc=function(){var b=wc;"function"!==typeof z.setImmediate||z.Window&&z.Window.prototype&&!I("Edge")&&z.Window.prototype.setImmediate==z.setImmediate?(lc||(lc=mc()),lc(b)):z.setImmediate(b)}},tc=!1,uc=new oc,wc=function(){for(var a;a=uc.remove();){try{a.ob.call(a.scope)}catch(b){nc(b)}pc.put(a)}tc=!1};var xc=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var P=function(a){this.j=0;this.s=void 0;this.ha=this.V=this.v=null;this.Ra=this.nb=!1;if(a!=C)try{var b=this;a.call(void 0,function(c){O(b,2,c)},function(c){O(b,3,c)})}catch(c){O(this,3,c)}},yc=function(){this.next=this.context=this.ma=this.Ca=this.Y=null;this.Ka=!1};yc.prototype.reset=function(){this.context=this.ma=this.Ca=this.Y=null;this.Ka=!1};
|
|
var zc=new kc(function(){return new yc},function(a){a.reset()}),Ac=function(a,b,c){var d=zc.get();d.Ca=a;d.ma=b;d.context=c;return d},Bc=function(){var a=new P(C);O(a,2,void 0);return a},Cc=function(a){return new P(function(b,c){c(a)})},Ec=function(){var a,b,c=new P(function(d,e){a=d;b=e});return new Dc(c,a,b)};P.prototype.then=function(a,b,c){return Fc(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};P.prototype.$goog_Thenable=!0;
|
|
P.prototype.Ga=function(a,b){return Fc(this,null,a,b)};P.prototype.catch=P.prototype.Ga;P.prototype.cancel=function(a){if(0==this.j){var b=new Gc(a);vc(function(){Hc(this,b)},this)}};
|
|
var Hc=function(a,b){if(0==a.j)if(a.v){var c=a.v;if(c.V){for(var d=0,e=null,f=null,g=c.V;g&&(g.Ka||(d++,g.Y==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.j&&1==d?Hc(c,b):(f?(d=f,d.next==c.ha&&(c.ha=d),d.next=d.next.next):Ic(c),Jc(c,e,3,b)))}a.v=null}else O(a,3,b)},Lc=function(a,b){a.V||2!=a.j&&3!=a.j||Kc(a);a.ha?a.ha.next=b:a.V=b;a.ha=b},Fc=function(a,b,c,d){var e=Ac(null,null,null);e.Y=new P(function(f,g){e.Ca=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.ma=c?function(h){try{var k=
|
|
c.call(d,h);void 0===k&&h instanceof Gc?g(h):f(k)}catch(l){g(l)}}:g});e.Y.v=a;Lc(a,e);return e.Y};P.prototype.Tc=function(a){this.j=0;O(this,2,a)};P.prototype.Uc=function(a){this.j=0;O(this,3,a)};
|
|
var O=function(a,b,c){if(0==a.j){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.j=1;a:{var d=c,e=a.Tc,f=a.Uc;if(d instanceof P){Lc(d,Ac(e||C,f||null,a));var g=!0}else if(xc(d))d.then(e,f,a),g=!0;else{if(E(d))try{var h=d.then;if("function"===typeof h){Mc(d,h,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}g||(a.s=c,a.j=b,a.v=null,Kc(a),3!=b||c instanceof Gc||Nc(a,c))}},Mc=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)}},Kc=function(a){a.nb||(a.nb=!0,vc(a.mc,a))},Ic=function(a){var b=null;a.V&&(b=a.V,a.V=b.next,b.next=null);a.V||(a.ha=null);return b};P.prototype.mc=function(){for(var a;a=Ic(this);)Jc(this,a,this.j,this.s);this.nb=!1};
|
|
var Jc=function(a,b,c,d){if(3==c&&b.ma&&!b.Ka)for(;a&&a.Ra;a=a.v)a.Ra=!1;if(b.Y)b.Y.v=null,Oc(b,c,d);else try{b.Ka?b.Ca.call(b.context):Oc(b,c,d)}catch(e){Pc.call(null,e)}zc.put(b)},Oc=function(a,b,c){2==b?a.Ca.call(a.context,c):a.ma&&a.ma.call(a.context,c)},Nc=function(a,b){a.Ra=!0;vc(function(){a.Ra&&Pc.call(null,b)})},Pc=nc,Gc=function(a){H.call(this,a)};G(Gc,H);Gc.prototype.name="cancel";var Dc=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 Q=function(a){var b=Qc;this.$a=[];this.Qb=b;this.Ib=a||null;this.ya=this.ia=!1;this.s=void 0;this.yb=this.dc=this.ib=!1;this.bb=0;this.v=null;this.jb=0};Q.prototype.cancel=function(a){if(this.ia)this.s instanceof Q&&this.s.cancel();else{if(this.v){var b=this.v;delete this.v;a?b.cancel(a):(b.jb--,0>=b.jb&&b.cancel())}this.Qb?this.Qb.call(this.Ib,this):this.yb=!0;this.ia||(a=new Rc(this),Sc(this),Tc(this,!1,a))}};Q.prototype.Hb=function(a,b){this.ib=!1;Tc(this,a,b)};
|
|
var Tc=function(a,b,c){a.ia=!0;a.s=c;a.ya=!b;Uc(a)},Sc=function(a){if(a.ia){if(!a.yb)throw new Vc(a);a.yb=!1}};Q.prototype.callback=function(a){Sc(this);Tc(this,!0,a)};var Wc=function(a,b,c){a.$a.push([b,c,void 0]);a.ia&&Uc(a)};Q.prototype.then=function(a,b,c){var d,e,f=new P(function(g,h){e=g;d=h});Wc(this,e,function(g){g instanceof Rc?f.cancel():d(g)});return f.then(a,b,c)};Q.prototype.$goog_Thenable=!0;
|
|
var Xc=function(a){return Ja(a.$a,function(b){return"function"===typeof b[1]})},Uc=function(a){if(a.bb&&a.ia&&Xc(a)){var b=a.bb,c=Yc[b];c&&(z.clearTimeout(c.L),delete Yc[b]);a.bb=0}a.v&&(a.v.jb--,delete a.v);b=a.s;for(var d=c=!1;a.$a.length&&!a.ib;){var e=a.$a.shift(),f=e[0],g=e[1];e=e[2];if(f=a.ya?g:f)try{var h=f.call(e||a.Ib,b);void 0!==h&&(a.ya=a.ya&&(h==b||h instanceof Error),a.s=b=h);if(xc(b)||"function"===typeof z.Promise&&b instanceof z.Promise)d=!0,a.ib=!0}catch(k){b=k,a.ya=!0,Xc(a)||(c=!0)}}a.s=
|
|
b;d&&(h=F(a.Hb,a,!0),d=F(a.Hb,a,!1),b instanceof Q?(Wc(b,h,d),b.dc=!0):b.then(h,d));c&&(b=new Zc(b),Yc[b.L]=b,a.bb=b.L)},Vc=function(){H.call(this)};G(Vc,H);Vc.prototype.message="Deferred has already fired";Vc.prototype.name="AlreadyCalledError";var Rc=function(){H.call(this)};G(Rc,H);Rc.prototype.message="Deferred was canceled";Rc.prototype.name="CanceledError";var Zc=function(a){this.L=z.setTimeout(F(this.Sc,this),0);this.Oa=a};Zc.prototype.Sc=function(){delete Yc[this.L];throw this.Oa;};
|
|
var Yc={};var cd=function(a){var b={},c=b.document||document,d=Ib(a).toString(),e=(new ic(c)).createElement("SCRIPT"),f={Vb:e,Ia:void 0},g=new Q(f),h=null,k=null!=b.timeout?b.timeout:5E3;0<k&&(h=window.setTimeout(function(){$c(e,!0);var l=new ad(1,"Timeout reached for loading script "+d);Sc(g);Tc(g,!1,l)},k),f.Ia=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||($c(e,b.jd||!1,h),g.callback(null))};e.onerror=function(){$c(e,!0,h);var l=new ad(0,"Error while loading script "+
|
|
d);Sc(g);Tc(g,!1,l)};f=b.attributes||{};Rb(f,{type:"text/javascript",charset:"UTF-8"});dc(e,f);e.src=Ib(a);$b(e);bd(c).appendChild(e);return g},bd=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},Qc=function(){if(this&&this.Vb){var a=this.Vb;a&&"SCRIPT"==a.tagName&&$c(a,!0,this.Ia)}},$c=function(a,b,c){null!=c&&z.clearTimeout(c);a.onload=C;a.onerror=C;a.onreadystatechange=C;b&&window.setTimeout(function(){gc(a)},0)},ad=function(a,b){var c=
|
|
"Jsloader error (code #"+a+")";b&&(c+=": "+b);H.call(this,c);this.code=a};G(ad,H);var dd=function(a){var b=a.apiKey,c=void 0===a.authUser?0:a.authUser;this.Kc=a.Jc;this.T=b;this.cc=c};dd.prototype.get=function(a,b){return ed(this,"GET",a,null,b)};
|
|
var ed=function(a,b,c,d,e){var f,g,h,k,l;return wa(new va(new ra(function(m){if(1==m.Aa)return qa(m);f=B("gapi.client");g=B("gapi.config");h=fd();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.T);l=f.request({root:a.Kc,path:c,method:b,body:d?xb(d):void 0,headers:{"Content-Type":"application/json+protobuf","X-Goog-Api-Key":a.T,
|
|
"X-Goog-AuthUser":a.cc}}).then(function(r){try{return yb(e,r.body)}catch(t){}});gd(h);f.setToken(k);return m.return(l)})))},fd=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},gd=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])},pa=function(){return B("gapi.load")?hd():cd(Lb(Fb(M("https://apis.google.com/js/client.js")))).then(function(){return hd()},function(a){return Cc("Failed initializing gapi.\nGapi error: "+a)})},hd=function(){var a=Ec(),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 R=function(a){K.call(this,a)};x(R,K);R.prototype.getSeconds=function(){var a=qb(this,1);return null==a?0:a};R.prototype.setSeconds=function(a){return ub(this,1,a,0)};var id=function(a){K.call(this,a)};x(id,K);var jd=function(a){K.call(this,a)};x(jd,K);jd.prototype.getTimezoneOffset=function(){return L(this,R,3)};var ld=function(a){K.call(this,a,-1,kd)};x(ld,K);var kd=[3];var nd=function(a){K.call(this,a,-1,md)};x(nd,K);var md=[4];var pd=function(a){K.call(this,a,-1,od)};x(pd,K);var qd=function(a){K.call(this,a)};x(qd,K);var od=[4];var sd=function(a){K.call(this,a,-1,rd)};x(sd,K);var rd=[5,7];var td=function(a){K.call(this,a)};x(td,K);var vd=function(a){K.call(this,a,-1,ud)};x(vd,K);var ud=[2];var wd=function(a){K.call(this,a)};x(wd,K);var yd=function(a){K.call(this,a,-1,xd)};x(yd,K);var xd=[4];var zd=function(){this.hb={}};zd.prototype.register=function(a,b,c){this.hb[a]={callback:b,Xa:c||Nb}};zd.prototype.execute=function(a,b){(a=this.hb[a])&&a.Xa()&&a.callback.apply(null,b||[])};zd.prototype.Xa=function(a){a=this.hb[a];return!!a&&a.Xa()};zd.prototype.register=zd.prototype.register;A("help.common.helpapiservice.Environment.PROD","https://clients6.google.com",void 0);A("help.common.helpapiservice.Environment.STAGING","https://content-googleapis-staging.sandbox.google.com",void 0);A("help.common.helpapiservice.Environment.TEST","https://content-googleapis-test.sandbox.google.com",void 0);var Ad={ad:"GHELP_SEARCH",$c:"GHELP_AUTOCOMPLETE",bd:"GHELP_SUGGEST",Zc:"GHELP_ARTICLE",dd:"LINK",cd:"HELPCENTER",Xc:"EMAIL",Vc:"CHAT",Yc:"FORUM",ed:"MARKETING",fd:"ONEBOX",Wc:"CUSTOM",AUTO:"AUTO",gd:"TESTING"};var Cd=function(a){K.call(this,a,-1,Bd)};x(Cd,K);var Bd=[4];/*
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
function Dd(a,b){a.src=Ib(b);var c;b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document;var d=null===(c=b.querySelector)||void 0===c?void 0:c.call(b,"script[nonce]");(c=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};var Ed=function(){this.wa=this.wa;this.Za=this.Za};Ed.prototype.wa=!1;Ed.prototype.isDisposed=function(){return this.wa};Ed.prototype.va=function(){if(this.Za)for(;this.Za.length;)this.Za.shift()()};var Fd=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ea=!1};Fd.prototype.stopPropagation=function(){this.Ea=!0};Fd.prototype.preventDefault=function(){this.defaultPrevented=!0};var Gd=function(){if(!z.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{z.addEventListener("test",C,b),z.removeEventListener("test",C,b)}catch(c){}return a}();var S=function(a,b){Fd.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.xa=null;a&&this.init(a,b)};G(S,Fd);var Hd={2:"touch",3:"pen",4:"mouse"};
|
|
S.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;if(b=a.relatedTarget){if(Sa){a:{try{Ma(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=
|
|
d.screenY||0):(this.offsetX=Ta||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Ta||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=
|
|
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Hd[a.pointerType]||"";this.state=a.state;this.xa=a;a.defaultPrevented&&S.qa.preventDefault.call(this)};S.prototype.stopPropagation=function(){S.qa.stopPropagation.call(this);this.xa.stopPropagation?this.xa.stopPropagation():this.xa.cancelBubble=!0};S.prototype.preventDefault=function(){S.qa.preventDefault.call(this);var a=this.xa;a.preventDefault?a.preventDefault():a.returnValue=!1};var Id="closure_listenable_"+(1E6*Math.random()|0);var Jd=0;var Kd=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Sa=e;this.key=++Jd;this.Fa=this.La=!1},Ld=function(a){a.Fa=!0;a.listener=null;a.proxy=null;a.src=null;a.Sa=null};var Md=function(a){this.src=a;this.o={};this.Ja=0};Md.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.o[f];a||(a=this.o[f]=[],this.Ja++);var g=Nd(a,b,d,e);-1<g?(b=a[g],c||(b.La=!1)):(b=new Kd(b,this.src,f,!!d,e),b.La=c,a.push(b));return b};Md.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.o))return!1;var e=this.o[a];b=Nd(e,b,c,d);return-1<b?(Ld(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.o[a],this.Ja--),!0):!1};
|
|
var Od=function(a,b){var c=b.type;c in a.o&&Ka(a.o[c],b)&&(Ld(b),0==a.o[c].length&&(delete a.o[c],a.Ja--))};Md.prototype.pb=function(a,b,c,d){a=this.o[a.toString()];var e=-1;a&&(e=Nd(a,b,c,d));return-1<e?a[e]:null};Md.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Pb(this.o,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};
|
|
var Nd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Fa&&f.listener==b&&f.capture==!!c&&f.Sa==d)return e}return-1};var Pd="closure_lm_"+(1E6*Math.random()|0),Qd={},Rd=0,Td=function(a,b,c,d,e){if(d&&d.once)Sd(a,b,c,d,e);else if(Array.isArray(b))for(var f=0;f<b.length;f++)Td(a,b[f],c,d,e);else c=Ud(c),a&&a[Id]?a.listen(b,c,E(d)?!!d.capture:!!d,e):Vd(a,b,c,!1,d,e)},Vd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=E(e)?!!e.capture:!!e,h=Wd(a);h||(a[Pd]=h=new Md(a));c=h.add(b,c,d,g,f);if(!c.proxy){d=Xd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Gd||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
|
|
d,e);else if(a.attachEvent)a.attachEvent(Yd(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Rd++}},Xd=function(){var a=Zd,b=function(c){return a.call(b.src,b.listener,c)};return b},Sd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Sd(a,b[f],c,d,e);else c=Ud(c),a&&a[Id]?a.H.add(String(b),c,!0,E(d)?!!d.capture:!!d,e):Vd(a,b,c,!0,d,e)},$d=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
|
|
0;f<b.length;f++)$d(a,b[f],c,d,e);else d=E(d)?!!d.capture:!!d,c=Ud(c),a&&a[Id]?a.H.remove(String(b),c,d,e):a&&(a=Wd(a))&&(b=a.pb(b,c,d,e))&&ae(b)},ae=function(a){if("number"!==typeof a&&a&&!a.Fa){var b=a.src;if(b&&b[Id])Od(b.H,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yd(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Rd--;(c=Wd(b))?(Od(c,a),0==c.Ja&&(c.src=null,b[Pd]=null)):Ld(a)}}},Yd=function(a){return a in Qd?
|
|
Qd[a]:Qd[a]="on"+a},Zd=function(a,b){if(a.Fa)a=!0;else{b=new S(b,this);var c=a.listener,d=a.Sa||a.src;a.La&&ae(a);a=c.call(d,b)}return a},Wd=function(a){a=a[Pd];return a instanceof Md?a:null},be="__closure_events_fn_"+(1E9*Math.random()>>>0),Ud=function(a){if("function"===typeof a)return a;a[be]||(a[be]=function(b){return a.handleEvent(b)});return a[be]};var T=function(){Ed.call(this);this.H=new Md(this);this.ac=this;this.tb=null};G(T,Ed);T.prototype[Id]=!0;n=T.prototype;n.addEventListener=function(a,b,c,d){Td(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){$d(this,a,b,c,d)};
|
|
n.dispatchEvent=function(a){var b=this.tb;if(b){var c=[];for(var d=1;b;b=b.tb)c.push(b),++d}b=this.ac;d=a.type||a;if("string"===typeof a)a=new Fd(a,b);else if(a instanceof Fd)a.target=a.target||b;else{var e=a;a=new Fd(d,b);Rb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ea&&0<=f;f--){var g=a.currentTarget=c[f];e=ce(g,d,!0,a)&&e}a.Ea||(g=a.currentTarget=b,e=ce(g,d,!0,a)&&e,a.Ea||(e=ce(g,d,!1,a)&&e));if(c)for(f=0;!a.Ea&&f<c.length;f++)g=a.currentTarget=c[f],e=ce(g,d,!1,a)&&e;return e};
|
|
n.va=function(){T.qa.va.call(this);if(this.H){var a=this.H,b=0,c;for(c in a.o){for(var d=a.o[c],e=0;e<d.length;e++)++b,Ld(d[e]);delete a.o[c];a.Ja--}}this.tb=null};n.listen=function(a,b,c,d){return this.H.add(String(a),b,!1,c,d)};var ce=function(a,b,c,d){b=a.H.o[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.Fa&&g.capture==c){var h=g.listener,k=g.Sa||g.src;g.La&&Od(a.H,g);e=!1!==h.call(k,d)&&e}}return e&&!d.defaultPrevented};
|
|
T.prototype.pb=function(a,b,c,d){return this.H.pb(String(a),b,c,d)};T.prototype.hasListener=function(a,b){return this.H.hasListener(void 0!==a?String(a):void 0,b)};var de=function(a){try{return z.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};var ee=function(){};ee.prototype.Fb=null;var ge=function(a){var b;(b=a.Fb)||(b={},fe(a)&&(b[0]=!0,b[1]=!0),b=a.Fb=b);return b};var he,ie=function(){};G(ie,ee);var je=function(a){return(a=fe(a))?new ActiveXObject(a):new XMLHttpRequest},fe=function(a){if(!a.Lb&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Lb=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Lb};he=new ie;var ke=function(a,b,c){if("function"===typeof a)c&&(a=F(a,c));else if(a&&"function"==typeof a.handleEvent)a=F(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:z.setTimeout(a,b||0)};var le=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),me=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){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 U=function(a){T.call(this);this.headers=new Map;this.fb=a||null;this.S=!1;this.eb=this.g=null;this.sb="";this.ba=this.qb=this.Va=this.mb=!1;this.zb=0;this.ab=null;this.Ub="";this.Bb=this.Ac=this.Cb=!1;this.Ab=null};G(U,T);var ne=/^https?$/i,oe=["POST","PUT"],pe=[],qe=function(a,b){var c=new U;pe.push(c);b&&c.listen("complete",b);c.H.add("ready",c.fc,!0,void 0,void 0);c.Cb=!0;c.send(a,void 0,void 0,void 0)};U.prototype.fc=function(){this.wa||(this.wa=!0,this.va());Ka(pe,this)};
|
|
U.prototype.setTrustToken=function(a){this.Ab=a};
|
|
U.prototype.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.sb+"; newUri="+a);b=b?b.toUpperCase():"GET";this.sb=a;this.mb=!1;this.S=!0;this.g=this.fb?je(this.fb):je(he);this.eb=this.fb?ge(this.fb):ge(he);this.g.onreadystatechange=F(this.Sb,this);this.Ac&&"onprogress"in this.g&&(this.g.onprogress=F(function(g){this.Rb(g,!0)},this),this.g.upload&&(this.g.upload.onprogress=F(this.Rb,this)));try{this.qb=!0,this.g.open(b,String(a),!0),this.qb=
|
|
!1}catch(g){this.Oa(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("function"===typeof d.keys&&"function"===typeof d.get){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=z.FormData&&a instanceof z.FormData;!(0<=Ha(oe,b))||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.g.setRequestHeader(d,c);this.Ub&&(this.g.responseType=this.Ub);"withCredentials"in this.g&&this.g.withCredentials!==this.Cb&&(this.g.withCredentials=this.Cb);if("setTrustToken"in this.g&&this.Ab)try{this.g.setTrustToken(this.Ab)}catch(g){}try{re(this),0<this.zb&&((this.Bb=se(this.g))?(this.g.timeout=this.zb,this.g.ontimeout=F(this.Ia,this)):this.ab=ke(this.Ia,
|
|
this.zb,this)),this.Va=!0,this.g.send(a),this.Va=!1}catch(g){this.Oa(5,g)}};var se=function(a){return Qa&&$a()&&"number"===typeof a.timeout&&void 0!==a.ontimeout};U.prototype.Ia=function(){"undefined"!=typeof ya&&this.g&&(this.dispatchEvent("timeout"),this.abort(8))};U.prototype.Oa=function(){this.S=!1;this.g&&(this.ba=!0,this.g.abort(),this.ba=!1);te(this);ue(this)};var te=function(a){a.mb||(a.mb=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
U.prototype.abort=function(){this.g&&this.S&&(this.S=!1,this.ba=!0,this.g.abort(),this.ba=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ue(this))};U.prototype.va=function(){this.g&&(this.S&&(this.S=!1,this.ba=!0,this.g.abort(),this.ba=!1),ue(this,!0));U.qa.va.call(this)};U.prototype.Sb=function(){this.isDisposed()||(this.qb||this.Va||this.ba?ve(this):this.wc())};U.prototype.wc=function(){ve(this)};
|
|
var ve=function(a){if(a.S&&"undefined"!=typeof ya&&(!a.eb[1]||4!=we(a)||2!=xe(a)))if(a.Va&&4==we(a))ke(a.Sb,0,a);else if(a.dispatchEvent("readystatechange"),4==we(a)){a.S=!1;try{var b=xe(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=0===b){var f=String(a.sb).match(le)[1]||null;if(!f&&z.self&&z.self.location){var g=z.self.location.protocol;f=g.substr(0,g.length-1)}e=!ne.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success")):te(a)}finally{ue(a)}}};U.prototype.Rb=function(a,b){this.dispatchEvent(ye(a,"progress"));this.dispatchEvent(ye(a,b?"downloadprogress":"uploadprogress"))};
|
|
var ye=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ue=function(a,b){if(a.g){re(a);var c=a.g,d=a.eb[0]?C:null;a.g=null;a.eb=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},re=function(a){a.g&&a.Bb&&(a.g.ontimeout=null);a.ab&&(z.clearTimeout(a.ab),a.ab=null)},we=function(a){return a.g?a.g.readyState:0},xe=function(a){try{return 2<we(a)?a.g.status:-1}catch(b){return-1}};
|
|
U.prototype.getResponseHeader=function(a){if(this.g&&4==we(this))return a=this.g.getResponseHeader(a),null===a?void 0:a};U.prototype.getAllResponseHeaders=function(){return this.g&&4==we(this)?this.g.getAllResponseHeaders()||"":""};function ze(a){return wa(new va(new ra(function(b){return b.return(new Promise(function(c){qe(a+"/repeater_help_panel",function(d){var e=d.target;d=null;try{var f=JSON,g=f.stringify;if(e.g){var h=e.g.responseText;0==h.indexOf(")]}'\n")&&(h=h.substring(5));b:{if(z.JSON)try{var k=z.JSON.parse(h);break b}catch(l){}k=de(h)}}else k=void 0;d=yb(Cd,g.call(f,k))}catch(l){}c(d)})}))})))}
|
|
function Ae(a,b,c,d){var e=c.document,f=a.nonce,g=B("document.location.href",c);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(d){var h=JSON.stringify(d);(g=1200>=h.length)&&(a.psdJson=h)}g||(d={invalidPsd:!0});g=(e?new ic(hc(e)):Da||(Da=new ic)).createElement("SCRIPT");f&&g.setAttribute("nonce",f);g.onload=function(){c.startHelpPanel({helpcenter:a.helpCenterPath.split("/")[1],apiKey:"testpage",channel:a.channel,defaultHelpArticleFragment:a.defaultHelpArticleFragment,defaultHelpArticleId:a.defaultHelpArticleId,
|
|
defaultHelpArticleHelpcenterPath:a.defaultHelpArticleHelpcenterPath,directToGetHelp:a.directToGetHelp||!1,enableSendFeedback:a.enableSendFeedback||!1,helpPanelTheme:a.helpPanelTheme,locale:a.locale,nd4cSettingsIsEnabled:a.nd4cSettings?a.nd4cSettings.IsEnabled:!1,nd4cSettingsCountryCode:a.nd4cSettings?a.nd4cSettings.CountryCode:"",serverData:b,supportContentUrl:a.supportContentUrl,symptom:a.symptom,helpApiData:{helpApiConfig:a,productData:d,productWindow:c}})};Dd(g,Lb(Fb(M("https://www.gstatic.com/support/help/staging/main_frame/help_panel_staging_binary.js"))));
|
|
e.body.appendChild(g)};for(var Be={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"]},Ce={},De=v(Object.keys(Be)),Ee=De.next();!Ee.done;Ee=De.next()){var Fe=Ee.value;Ce[Fe]=Fe;for(var Ge=v(Be[Fe]),He=Ge.next();!He.done;He=Ge.next())Ce[He.value]=Fe};var Ie=function(a){this.N=a||{cookie:""}};n=Ie.prototype;n.isEnabled=function(){if(!z.navigator.cookieEnabled)return!1;if(!this.rb())return!0;this.set("TESTCOOKIESENABLED","1",{Ob:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
|
|
n.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.od;d=c.pd||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Ob}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===h&&(h=-1);this.N.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(0>h?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
|
|
n.get=function(a,b){for(var c=a+"=",d=(this.N.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Ea(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};n.remove=function(a,b,c){var d=this.Na(a);this.set(a,"",{Ob:0,path:b,domain:c});return d};n.Pa=function(){return Je(this).keys};n.K=function(){return Je(this).values};n.rb=function(){return!this.N.cookie};n.Na=function(a){return void 0!==this.get(a)};n.clear=function(){for(var a=Je(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
|
|
var Je=function(a){a=(a.N.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Ea(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var Ke=new Ie("undefined"==typeof document?null:document);var Le=function(){var a=(Ke.get("GuidedHelpResume")||"").split(":"),b=a[2];a:{for(c in Ad)if(Ad[c]==b){var c=!0;break a}c=!1}return{$:parseInt(a[0],10)||0,W:a[1]||"",source:(c?b:void 0)||"CUSTOM"}};var Me=function(a){if(a.K&&"function"==typeof a.K)return a.K();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b},Ne=function(a){if(a.Pa&&"function"==typeof a.Pa)return a.Pa();if(!a.K||"function"!=typeof a.K){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());
|
|
if(!("undefined"!==typeof Set&&a instanceof Set)){if(za(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},Oe=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(za(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Ne(a),e=Me(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};var V=function(a,b){this.O=this.ea=this.R="";this.pa=null;this.aa=this.M="";this.D=this.rc=!1;if(a instanceof V){this.D=void 0!==b?b:a.D;Pe(this,a.R);var c=a.ea;X(this);this.ea=c;c=a.O;X(this);this.O=c;Qe(this,a.pa);c=a.M;X(this);this.M=c;Re(this,a.A.clone());a=a.aa;X(this);this.aa=a}else a&&(c=String(a).match(le))?(this.D=!!b,Pe(this,c[1]||"",!0),a=c[2]||"",X(this),this.ea=Se(a),a=c[3]||"",X(this),this.O=Se(a,!0),Qe(this,c[4]),a=c[5]||"",X(this),this.M=Se(a,!0),Re(this,c[6]||"",!0),a=c[7]||"",X(this),
|
|
this.aa=Se(a)):(this.D=!!b,this.A=new Te(null,this.D))};V.prototype.toString=function(){var a=[],b=this.R;b&&a.push(Ue(b,Ve,!0),":");var c=this.O;if(c||"file"==b)a.push("//"),(b=this.ea)&&a.push(Ue(b,Ve,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.pa,null!=c&&a.push(":",String(c));if(c=this.M)this.O&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ue(c,"/"==c.charAt(0)?We:Xe,!0));(c=this.A.toString())&&a.push("?",c);(c=this.aa)&&a.push("#",Ue(c,Ye));return a.join("")};
|
|
V.prototype.resolve=function(a){var b=this.clone(),c=!!a.R;c?Pe(b,a.R):c=!!a.ea;if(c){var d=a.ea;X(b);b.ea=d}else c=!!a.O;c?(d=a.O,X(b),b.O=d):c=null!=a.pa;d=a.M;if(c)Qe(b,a.pa);else if(c=!!a.M){if("/"!=d.charAt(0))if(this.O&&!this.M)d="/"+d;else{var e=b.M.lastIndexOf("/");-1!=e&&(d=b.M.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];"."==h?d&&g==e.length&&f.push(""):
|
|
".."==h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?(X(b),b.M=d):c=""!==a.A.toString();c?Re(b,a.A.clone()):c=!!a.aa;c&&(a=a.aa,X(b),b.aa=a);return b};V.prototype.clone=function(){return new V(this)};
|
|
var Pe=function(a,b,c){X(a);a.R=c?Se(b,!0):b;a.R&&(a.R=a.R.replace(/:$/,""));return a},Qe=function(a,b){X(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.pa=b}else a.pa=null},Re=function(a,b,c){X(a);b instanceof Te?(a.A=b,a.A.xb(a.D)):(c||(b=Ue(b,Ze)),a.A=new Te(b,a.D))};V.prototype.getQuery=function(){return this.A.toString()};V.prototype.removeParameter=function(a){X(this);this.A.remove(a);return this};
|
|
var X=function(a){if(a.rc)throw Error("Tried to modify a read-only Uri");};V.prototype.xb=function(a){this.D=a;this.A&&this.A.xb(a)};
|
|
var Se=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ue=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,$e),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$e=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ve=/[#\/\?@]/g,Xe=/[#\?:]/g,We=/[#\?]/g,Ze=/[#\?@]/g,Ye=/#/g,Te=function(a,b){this.l=this.i=null;this.B=a||null;this.D=!!b},Y=function(a){a.i||(a.i=new Map,a.l=0,a.B&&me(a.B,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g,
|
|
" ")),c)}))};n=Te.prototype;n.add=function(a,b){Y(this);this.B=null;a=af(this,a);var c=this.i.get(a);c||this.i.set(a,c=[]);c.push(b);this.l+=1;return this};n.remove=function(a){Y(this);a=af(this,a);return this.i.has(a)?(this.B=null,this.l-=this.i.get(a).length,this.i.delete(a)):!1};n.clear=function(){this.i=this.B=null;this.l=0};n.rb=function(){Y(this);return 0==this.l};n.Na=function(a){Y(this);a=af(this,a);return this.i.has(a)};
|
|
n.forEach=function(a,b){Y(this);this.i.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};n.Pa=function(){Y(this);for(var a=Array.from(this.i.values()),b=Array.from(this.i.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};n.K=function(a){Y(this);var b=[];if("string"===typeof a)this.Na(a)&&(b=b.concat(this.i.get(af(this,a))));else{a=Array.from(this.i.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
|
|
n.set=function(a,b){Y(this);this.B=null;a=af(this,a);this.Na(a)&&(this.l-=this.i.get(a).length);this.i.set(a,[b]);this.l+=1;return this};n.get=function(a,b){if(!a)return b;a=this.K(a);return 0<a.length?String(a[0]):b};
|
|
n.toString=function(){if(this.B)return this.B;if(!this.i)return"";for(var a=[],b=Array.from(this.i.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.K(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.B=a.join("&")};n.clone=function(){var a=new Te;a.B=this.B;this.i&&(a.i=new Map(this.i),a.l=this.l);return a};var af=function(a,b){b=String(b);a.D&&(b=b.toLowerCase());return b};
|
|
Te.prototype.xb=function(a){a&&!this.D&&(Y(this),this.B=null,this.i.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.remove(d),0<b.length&&(this.B=null,this.i.set(af(this,d),La(b)),this.l+=b.length))},this));this.D=a};Te.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Oe(arguments[b],function(c,d){this.add(d,c)},this)};var bf={},cf=Lb(Fb(M("https://ssl.gstatic.com/inproduct_help/guidedhelp/guide_inproduct.js"))),ef=function(a,b){return df({ra:b.ra,document:b.document,Z:b.Z||"https://clients6.google.com",apiKey:b.apiKey,ka:b.ka,locale:b.locale}).then(function(){return B("help.guide.loadFlow")(a,b.W,b.Dc,b.ic,b.source||"CUSTOM",b.document,b.Nc)})},gf=function(a,b,c,d,e,f,g,h,k,l){a=l||window.top.location;if(!ff(a).$)return!1;k=k||"";h=h||void 0;d=d||void 0;a=ff(a||window.top.location);(a.$?ef(a.$,{apiKey:k,document:g,
|
|
Z:h,ka:b,locale:c,source:a.source,W:a.W,ra:d}):Cc()).Ga(C);return!0},ff=function(a){a=a instanceof V?a.clone():new V(a,void 0);var b=a.A.get("ghstartsource")||"";return{$:parseInt(a.A.get("ghstartflowid"),10)||0,W:a.A.get("ghstartstepid")||"",source:{helpcenter:"HELPCENTER",email:"EMAIL",chat:"CHAT",forum:"FORUM",marketing:"MARKETING",onebox:"ONEBOX",testing:"TESTING"}[b]||"LINK"}},df=function(a){window.guidedhelp=window.guidedhelp||{};if(window.guidedhelp.loaded)var b=Bc();else hf||(hf=cd(cf).then()),
|
|
b=hf;return b.then(function(){B("help.guide.init")(a.ka,a.locale,a.ra,a.document,a.Z,a.apiKey,bf)})},hf=null,jf=function(a,b,c,d,e,f,g,h,k){if(!Le().$)return!1;a=k||"";g=g||void 0;h=h||void 0;d=d||void 0;e=Le();e.$?(Ke.remove("GuidedHelpResume","/",""),b=ef(e.$,{apiKey:a,document:g,Z:h,ka:b,locale:c,Dc:!1,W:e.W||void 0,ra:d,source:e.source})):b=Cc();b.Ga(C);return!0};
|
|
A("hgb.loadFlow",function(a,b,c,d,e,f,g,h,k,l,m,r,t){ef(a,{apiKey:r||"",ic:k||!1,document:l||void 0,Z:m||void 0,ka:c,locale:d,ra:e||void 0,Nc:t||!1,source:"CUSTOM",W:h||void 0}).Ga(C)},void 0);A("hgb.resumeCookiedFlow",jf,void 0);A("hgb.startFlowFromUrl",gf,void 0);var kf=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if("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"!==c)throw Error("Invalid URI scheme in origin: "+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};function lf(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;m=l=0}function b(r){for(var t=g,p=0;64>p;p+=4)t[p/4]=r[p]<<24|r[p+1]<<16|r[p+2]<<8|r[p+3];for(p=16;80>p;p++)r=t[p-3]^t[p-8]^t[p-14]^t[p-16],t[p]=(r<<1|r>>>31)&4294967295;r=e[0];var w=e[1],D=e[2],W=e[3],jc=e[4];for(p=0;80>p;p++){if(40>p)if(20>p){var ma=W^w&(D^W);var mb=1518500249}else ma=w^D^W,mb=1859775393;else 60>p?(ma=w&D|W&(w|D),mb=2400959708):(ma=w^D^W,mb=3395469782);ma=((r<<5|r>>>27)&4294967295)+
|
|
ma+jc+mb+t[p]&4294967295;jc=W;W=D;D=(w<<30|w>>>2)&4294967295;w=r;r=ma}e[0]=e[0]+r&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+W&4294967295;e[4]=e[4]+jc&4294967295}function c(r,t){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var p=[],w=0,D=r.length;w<D;++w)p.push(r.charCodeAt(w));r=p}t||(t=r.length);p=0;if(0==l)for(;p+64<t;)b(r.slice(p,p+64)),p+=64,m+=64;for(;p<t;)if(f[l++]=r[p++],m++,64==l)for(l=0,b(f);p+64<t;)b(r.slice(p,p+64)),p+=64,m+=64}function d(){var r=
|
|
[],t=8*m;56>l?c(h,56-l):c(h,64-(l-56));for(var p=63;56<=p;p--)f[p]=t&255,t>>>=8;b(f);for(p=t=0;5>p;p++)for(var w=24;0<=w;w-=8)r[t++]=e[p]>>w&255;return r}for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,m;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),t="",p=0;p<r.length;p++)t+="0123456789ABCDEF".charAt(Math.floor(r[p]/16))+"0123456789ABCDEF".charAt(r[p]%16);return t}}};var nf=function(a,b,c){var d=String(z.location.href);return d&&a&&b?[b,mf(kf(d),a,c||null)].join(" "):null},mf=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],Ia(d,function(h){e.push(h)}),of(e.join(" "));var f=[],g=[];Ia(c,function(h){g.push(h.key);f.push(h.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];Ia(d,function(h){e.push(h)});a=of(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")},of=function(a){var b=
|
|
lf();b.update(a);return b.digestString().toLowerCase()};var pf={};var qf=function(a){return!!pf.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},rf=function(a,b,c,d){(a=z[a])||(a=(new Ie(document)).get(b));return a?nf(a,c,d):null};var sf=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||z,e=d.document,f=a.nonce||Zb(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){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=1200>=h.length)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//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],null==b||E(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=(e?new ic(hc(e)):Da||(Da=new ic)).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Dd(a,Lb(d));e.body.appendChild(a)}};A("userfeedback.api.startFeedback",function(a,b,c){sf(a,b,c)},void 0);var tf="StopIteration"in z?z.StopIteration:{message:"StopIteration",stack:""},uf=function(){};uf.prototype.uc=function(){throw tf;};uf.prototype.next=function(){return vf};var vf={done:!0,value:void 0};uf.prototype.gb=function(){return this};
|
|
var wf=function(a){if(a instanceof uf)return a;if("function"==typeof a.gb)return a.gb(!1);if(za(a)){var b=0,c=new uf;c.next=function(){for(;;){if(b>=a.length)return vf;if(b in a)return{value:a[b++],done:!1};b++}};var d=c.next;c.uc=function(){var e=d.call(c);if(e.done)throw tf;return e.value};return c}throw Error("Not implemented");};var yf=function(a){this.C={};if(a)for(var b=0;b<a.length;b++)this.C[xf(a[b])]=null;for(var c in Object.prototype);},zf={},xf=function(a){return a in zf||32==String(a).charCodeAt(0)?" "+a:a},Af=function(a){return 32==a.charCodeAt(0)?a.substr(1):a};n=yf.prototype;n.add=function(a){this.C[xf(a)]=null};n.clear=function(){this.C={}};n.clone=function(){var a=new yf,b;for(b in this.C)a.C[b]=null;return a};n.contains=function(a){return xf(a)in this.C};n.has=function(a){return this.contains(a)};
|
|
n.forEach=function(a,b){for(var c in this.C)a.call(b,Af(c),void 0,this)};n.values=Object.keys?function(){return Object.keys(this.C).map(Af,this)}:function(){var a=[],b;for(b in this.C)a.push(Af(b));return a};n.K=function(){return this.values()};n.rb=function(){for(var a in this.C)return!1;return!0};n.delete=function(a){a=xf(a);return a in this.C?(delete this.C[a],!0):!1};n.remove=function(a){return this.delete(a)};n.gb=function(){return wf(this.K())};new yf("head HEAD link LINK style STYLE meta META defs DEFS script SCRIPT html HTML base BASE colgroup COLGROUP col COL wbr WBR content CONTENT slot SLOT".split(" "));new yf("svg SVG polygon POLYGON g G br BR".split(" "));var Bf=function(a,b){a=new V(a);return void 0===b||b?Pe(a,a.R||location.protocol).toString():Pe(a,"http").toString()};var Cf=function(a,b){var c=a||{};a=c.serverUri;var d=a+"/%{resource}";b={resource:b};c=c.https;var e=[M("//www.google.com/tools/feedback/%{resource}"),M("https://www.google.com/tools/feedback/%{resource}"),M("https://support.google.com/inapp/%{resource}"),M("https://sandbox.google.com/inapp/%{resource}"),M("https://feedback2-test.corp.google.com/inapp/%{resource}"),M("https://feedback2-test.corp.googleusercontent.com/inapp/%{resource}"),M("https://sandbox.google.com/tools/feedback/%{resource}"),M("https://feedback2-test.corp.google.com/tools/feedback/%{resource}"),
|
|
M("https://feedback2-test.corp.googleusercontent.com/tools/feedback/%{resource}"),M("https://www.google.cn/tools/feedback/%{resource}")].filter(function(f){return Fb(f)==d})[0];if(e)return Mb(e,b);a=Bf(a,void 0===c||!!c);a=Tb(Xb(a)||Yb);return Mb(M("//www.google.com/tools/feedback/%{resource}"),b)};var Df=function(a,b){var c=a.serverUri||"//www.google.com/tools/feedback";z.GOOGLE_HELP_SESSION_ARGUMENTS=arguments;var d=fc(document,"SCRIPT");c=Cf({serverUri:c},M("session_load.js"));Dd(d,c);window.document.body.appendChild(d)};A("userfeedback.api.help.resumeOpenHelpSession",Df,void 0);A("userfeedback.api.help.startHelpWithChatSupport",function(a,b){a.flow="help";sf(a,b,void 0)},void 0);var Ef=function(a,b){Df(a,b);var c=a.serverUri||"//www.google.com/tools/feedback";z.GOOGLE_HELP_CHAT_ARGUMENTS=arguments;var d=fc(document,"SCRIPT");c=Cf({serverUri:c},M("chat_load.js"));Dd(d,c);window.document.body.appendChild(d)};A("userfeedback.api.help.loadChatSupport",Ef,void 0);var Ff=Date.now(),Gf=/uservoice\/surveys\/resources\/(non)?prod\/js\/survey\/survey_(dark|light)_(ltr|rtl)/gi,Hf=/uservoice\/surveys\/resources\/(non)?prod\/js\/survey\/survey_binary__/gi,Z=function(a,b){this.yc=a;this.Tb=b.receiverUri;this.la=b.locale||b.locale||"en".replace(/-/g,"_");this.J=b.window||b.window||top;this.Da=b.productData||b.productData||{};this.lb=b.Z||b.environment||"https://clients6.google.com";this.Ta=b.ld||b.helpCenterPath||"";this.T=b.apiKey||b.apiKey||"";this.Cc=b.renderApiUri||
|
|
b.renderApiUri||"";this.Pb=b.nonce||b.nonce||Zb(this.J)};Z.prototype.Oc=function(a){If();sf(Jf(this,a),this.Da,this.J)};
|
|
Z.prototype.Pc=function(a,b){b=b||{};ef(a,{apiKey:this.T,document:this.J.document,Z:this.lb,ka:this.Ta,locale:this.la,W:b.stepId,source:b.source,ra:b.theme}).Ga(C);window.guidedhelp||(window.guidedhelp={});window.guidedhelp.onError=window.guidedhelp.onError||b.onerror;window.guidedhelp.onFlowDismiss=window.guidedhelp.onFlowDismiss||b.ondismiss;window.guidedhelp.onFlowStepSet=window.guidedhelp.onFlowStepSet||b.onstepenter;window.guidedhelp.onFlowLoadSuccess=window.guidedhelp.onFlowLoadSuccess||b.onload};
|
|
Z.prototype.Rc=function(){var a=B("help.guide.dismissFlow");a&&a()};Z.prototype.Qc=function(a){var b=this,c=Kf(this,a||{});try{ze(this.Tb||"https://www.google.com/tools/feedback").then(function(d){var e;!(e=c.forceNewHelpPanel)&&(e=d)&&(e=qb(d,3),e=null==e?e:!!e,e=null==e?!1:e);e?(gc(document.getElementById("help_panel_main_frame")),Ae(c,xb(d),b.J,b.Da)):(If(),sf(c,b.Da,b.J))})}catch(d){If(),sf(c,this.Da,this.J)}};
|
|
var Jf=function(a,b){b=b||{};return{bucket:b.bucket,locale:a.la,callback:b.onend||C,serverUri:b.serverUri||a.Tb,productId:a.yc,productVersion:b.productVersion,authuser:b.authuser,abuseLink:b.abuseLink,customZIndex:b.customZIndex,flow:"wizard",enableAnonymousFeedback:b.enableAnonymousFeedback,allowNonLoggedInFeedback:b.allowNonLoggedInFeedback,tinyNoPointer:b.tinyNoPointer,disableScreenshotAtStartup:b.disableScreenshotAtStartup}},Kf=function(a,b){var c=b||{};b=Jf(a,b);Rb(b,{anchor:c.anchor,channel:c.channel,
|
|
contactBucket:c.contactBucket,flow:"help",helpCenterContext:c.context,helpCenterPath:a.Ta,enableSendFeedback:c.enableSendFeedback||!1,enableCache:c.enableCache,defaultHelpArticleId:c.defaultHelpArticleId,supportContentUrl:c.supportContentUrl,helpPanelTheme:c.helpPanelTheme,nd4cSettingsIsEnabled:c.nd4cSettings?c.nd4cSettings.isEnabled:!1,nd4cSettingsCountryCode:c.nd4cSettings?c.nd4cSettings.countryCode:"",defaultHelpArticleFragment:c.defaultHelpArticleFragment,newApi:!0,suggestHost:c.suggestHost,renderApiUri:a.Cc,
|
|
symptom:c.symptom,directToGetHelp:c.directToGetHelp||!1,forceNewHelpPanel:c.forceNewHelpPanel||!1,startedFromHelpApi:!0,domain:a.J.location.protocol+"//"+a.J.location.host,onCloseCallback:c.onCloseCallback});return b};n=Z.prototype;n.tc=function(a){var b=a||{};a=Kf(this,a);Rb(a,{escalationJSONString:b.escalationJSONString});Ef(a,this.Da)};
|
|
n.Ec=function(a){var b=Date.now();Lf(this,a).then(function(c,d){var e=L(d,sd,2);if(e){var f=Mf(e),g;L(d,td,1)&&Ab(L(d,td,1),1)&&(g=Ab(L(d,td,1),1));var h={surveyData:{surveyData:xb(d),triggerRequestTime:b,apiKey:this.T,nonProd:a.nonProd,language:Ab(e,8),libraryVersion:364747075,surveyMetadata:{triggerId:a.triggerId,sessionId:g,surveyId:Ab(d,5)}},triggerId:a.triggerId,surveyError:null};setTimeout(function(){return c(h)},1E3*f)}else h={surveyData:null,triggerId:a.triggerId,surveyError:{reason:"No eligible surveys."}},
|
|
c(h)}.bind(this,a.callback),function(c){var d="";try{d=JSON.stringify(c)}catch(e){d="message: "+c.message+", stack: "+c.stack}a.callback({surveyData:null,triggerId:a.triggerId,surveyError:{reason:"Failed to trigger survey: "+d}})})};
|
|
n.xc=function(a){if(a.surveyData){var b=a.surveyData&&a.surveyData.surveyData&&a.surveyData.surveyData.surveyData?a.surveyData.surveyData:a.surveyData;switch(a.defaultStyle){case 1:var c;a.promptStyle=null!=(c=a.promptStyle)?c:2;var d;a.completionStyle=null!=(d=a.completionStyle)?d:2;break;default:var e;a.promptStyle=null!=(e=a.promptStyle)?e:1;var f;a.completionStyle=null!=(f=a.completionStyle)?f:1}c=L(yb(yd,b.surveyData),sd,2);a:if(d=a.promptStyle,e=sb(L(c,pd,3),4),d){switch(d){case 1:d=e.includes(1);
|
|
break a;case 2:d=e.includes(2);break a}d=!1}else d=!0;if(d){a:if(d=a.completionStyle,c=sb(L(c,nd,2),4),d){switch(d){case 1:c=c.includes(1);break a;case 2:c=c.includes(2);break a}c=!1}else c=!0;if(c){c=b.nonProd?"nonprod":"prod";d=2===a.colorScheme?"dark":"light";e=document.body;a:{f=hc(e);if(f.defaultView&&f.defaultView.getComputedStyle&&(f=f.defaultView.getComputedStyle(e,null))){f=f.direction||f.getPropertyValue("direction")||"";break a}f=""}f="rtl"==(f||(e.currentStyle?e.currentStyle.direction:
|
|
null)||e.style&&e.style.direction)?"rtl":"ltr";2!==a.completionStyle||Nf("https://gstatic.com/uservoice/surveys/resources/"+c+"/js/survey/survey_"+d+"_"+f+".css")||(Of(),e=document.createElement("link"),c=Mb(M("https://gstatic.com/uservoice/surveys/resources/%{env}/js/survey/survey_%{mode}_%{dir}.css"),{env:c,mode:d,dir:f}),e.rel="stylesheet",e.href=Ib(c).toString(),(c=ac('style[nonce],link[rel="stylesheet"][nonce]',e.ownerDocument&&e.ownerDocument.defaultView))&&e.setAttribute("nonce",c),document.head.appendChild(e));
|
|
Pf(this,a,b)}else a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid completion style"})}else a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid prompt style"})}};n.jc=function(a){window.hatsNextGlobalObject&&window.hatsNextGlobalObject.dismissSurvey&&window.hatsNextGlobalObject.dismissSurvey(a.surveyMetadata)};n.Bc=function(a,b,c){Qf().register(a,b,c)};n.nc=function(a,b){Qf().execute(a,b)};n.qc=function(a){return Qf().Xa(a)};
|
|
var Lf=function(a,b){var c=new dd({Jc:b.nonProd?"https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.T,authUser:b.authuser}),d=[];var e=void 0===e?!1:e;var f=kf(String(z.location.href)),g=[];var h=e;h=void 0===h?!1:h;var k=z.__SAPISID||z.__APISID||z.__3PSAPISID||z.__OVERRIDE_SID;qf(h)&&(k=k||z.__1PSAPISID);if(k)h=!0;else{var l=new Ie(document);k=l.get("SAPISID")||l.get("APISID")||l.get("__Secure-3PAPISID")||l.get("SID");qf(h)&&(k=k||l.get("__Secure-1PAPISID"));
|
|
h=!!k}h&&(h=(f=0==f.indexOf("https:")||0==f.indexOf("chrome-extension:")||0==f.indexOf("moz-extension:"))?z.__SAPISID:z.__APISID,h||(h=new Ie(document),h=h.get(f?"SAPISID":"APISID")||h.get("__Secure-3PAPISID")),(h=h?nf(h,f?"SAPISIDHASH":"APISIDHASH",d):null)&&g.push(h),f&&qf(e)&&((e=rf("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",d))&&g.push(e),(d=rf("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",d))&&g.push(d)));g=(0==g.length?0:g.join(" "))?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous";
|
|
d=(new R).setSeconds(-60*(new Date).getTimezoneOffset());d=ub(d,2,0,0);e=new jd;d=vb(e,3,d);e=new ld;e=ub(e,1,1,0);e=ub(e,4,364747075,0);e=tb(e,3,[1,2]);f=b.preferredSurveyLanguageList&&0<b.preferredSurveyLanguageList.length?b.preferredSurveyLanguageList:[a.la];a=new wd;h=new vd;h=ub(h,1,b.triggerId,"");f=tb(h,2,f);b=ub(f,3,!!b.enableTestingMode,!1);b=vb(a,1,b);a=new id;a=vb(a,1,d);a=vb(a,2,e);b=vb(b,2,a);return ed(c,"POST",g,b,yd)},Mf=function(a){try{var b=parseInt(L(L(L(a,pd,3),qd,1),R,1).getSeconds(),
|
|
10);isNaN(b)&&(b=0)}catch(d){b=0}try{var c=parseInt(L(L(L(a,pd,3),qd,1),R,2).getSeconds(),10);isNaN(c)&&(c=0)}catch(d){c=0}return Math.floor(Math.random()*(c-b+1))+b},Pf=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&Ce[c.language.toLowerCase()]?Ce[c.language.toLowerCase()]:Ce[a.la.toLowerCase()];e=e&&e.replace("-","_");"fa"===e&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!Rf("https://www.gstatic.com/uservoice/surveys/resources/"+d+"/js/survey/survey_binary__"+
|
|
f+".js")&&Sf();window.hatsNextGlobalObject?Tf(b,c):(e=document.createElement("script"),d=Mb(M("https://www.gstatic.com/uservoice/surveys/resources/%{env}/js/survey/survey_binary__%{locale}.js"),{env:d,locale:f}),Dd(e,d),e.type="text/javascript",e.onload=function(){return Tf(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.Pb&&e.setAttribute("nonce",a.Pb),document.querySelector("[data-survey-binary]")||
|
|
document.body.appendChild(e))},Tf=function(a,b){a:{if(window.hatsNextGlobalObject&&window.hatsNextGlobalObject.triggerCutoffTime){if(window.hatsNextGlobalObject.triggerCutoffTime>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."});var c=!1;break a}}else if(Ff>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;864E5<c?(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:2==a.colorScheme,seamlessMode:a.seamlessMode,zIndex:a.customZIndex,triggerRequestTime:b.triggerRequestTime,authuser:a.authuser,apiKey:b.apiKey,locale:b.language,
|
|
customLogoUrl:a.customLogoUrl,productData:a.productData,listener:a.listener,surveyData:b,surveyMetadata:b.surveyMetadata,promptStyle:null!=(d=a.promptStyle)?d:1,completionStyle:null!=(e=a.completionStyle)?e:1,defaultStyle:null!=(f=a.defaultStyle)?f:0})}},If=function(){var a=window.GOOGLE_FEEDBACK_DESTROY_FUNCTION;a&&a()},Qf=function(){var a=B("help.globals.actions",top);a||(a=new zd,A("help.globals.actions",a,top));return a},Rf=function(a){return[].concat(ea(document.getElementsByTagName("script"))).find(function(b){return b&&
|
|
b.getAttribute("src")===a})},Sf=function(){[].concat(ea(document.getElementsByTagName("script"))).forEach(function(a){var b;if(null==a?0:null==(b=a.getAttribute("src"))?0:b.match(Hf))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},Of=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(null==a?0:null==(b=a.getAttribute("href"))?0:b.match(Gf))&&a.parentNode.removeChild(a)})},Nf=function(a){return[].concat(ea(document.querySelectorAll("link[rel=stylesheet]"))).find(function(b){return b&&
|
|
b.getAttribute("href")===a})};A("help.service.Lazy",Z,void 0);Z.prototype.isHelpActionApplicable=Z.prototype.qc;Z.prototype.executeHelpAction=Z.prototype.nc;Z.prototype.registerHelpAction=Z.prototype.Bc;Z.prototype.dismissSurvey=Z.prototype.jc;Z.prototype.presentSurvey=Z.prototype.xc;Z.prototype.requestSurvey=Z.prototype.Ec;Z.prototype.loadChatSupport=Z.prototype.tc;Z.prototype.startHelp=Z.prototype.Qc;Z.prototype.stopGuide=Z.prototype.Rc;Z.prototype.startGuide=Z.prototype.Pc;
|
|
Z.prototype.startFeedback=Z.prototype.Oc;Z.create=function(a,b){a=new Z(a,b);jf("",a.Ta,a.la,null,null,null,a.J.document,a.lb,a.T)||gf("",a.Ta,a.la,null,null,null,a.J.document,a.lb,a.T,a.J.location);return a};}).call(this);
|