-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCopyright INTERNETISTART.NET.JS
278 lines (272 loc) · 133 KB
/
Copyright INTERNETISTART.NET.JS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
(function(){
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
'use strict';var t;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var 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};
function ca(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");}var da=ca(this);function y(a,b){if(b)a:{var c=da;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})}}
y("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.h=f;ba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.h};var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b});
y("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=da[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});y("Symbol.asyncIterator",function(a){return a?a:Symbol("Symbol.asyncIterator")});
function ea(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}function fa(a){return a.raw=a}function z(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function ha(a){if(!(a instanceof Array)){a=z(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function ia(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
var ja="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ia(d,e)&&(a[e]=d[e])}return a};y("Object.assign",function(a){return a||ja});var ka="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ma;
if("function"==typeof Object.setPrototypeOf)ma=Object.setPrototypeOf;else{var na;a:{var oa={a:!0},pa={};try{pa.__proto__=oa;na=pa.a;break a}catch(a){}na=!1}ma=na?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var qa=ma;
function A(a,b){a.prototype=ka(b.prototype);a.prototype.constructor=a;if(qa)qa(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.sa=b.prototype}function ra(){this.u=!1;this.o=null;this.i=void 0;this.h=1;this.m=this.l=0;this.H=this.j=null}function sa(a){if(a.u)throw new TypeError("Generator is already running");a.u=!0}ra.prototype.B=function(a){this.i=a};
function ta(a,b){a.j={Pa:b,Xa:!0};a.h=a.l||a.m}ra.prototype.return=function(a){this.j={return:a};this.h=this.m};function C(a,b,c){a.h=c;return{value:b}}ra.prototype.A=function(a){this.h=a};function ua(a,b,c){a.l=b;void 0!=c&&(a.m=c)}function va(a,b){a.l=0;a.m=b||0}function wa(a){a.l=0;var b=a.j.Pa;a.j=null;return b}function xa(a,b,c,d){d?a.H[d]=a.j:a.H=[a.j];a.l=b||0;a.m=c||0}
function za(a,b,c){c=a.H.splice(c||0)[0];(c=a.j=a.j||c)?c.Xa?a.h=a.l||a.m:void 0!=c.A&&a.m<c.A?(a.h=c.A,a.j=null):a.h=a.m:a.h=b}function Aa(a){this.h=new ra;this.i=a}function Ba(a,b){sa(a.h);var c=a.h.o;if(c)return Ca(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.h.return);a.h.return(b);return Da(a)}
function Ca(a,b,c,d){try{var e=b.call(a.h.o,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.h.u=!1,e;var f=e.value}catch(g){return a.h.o=null,ta(a.h,g),Da(a)}a.h.o=null;d.call(a.h,f);return Da(a)}function Da(a){for(;a.h.h;)try{var b=a.i(a.h);if(b)return a.h.u=!1,{value:b.value,done:!1}}catch(c){a.h.i=void 0,ta(a.h,c)}a.h.u=!1;if(a.h.j){b=a.h.j;a.h.j=null;if(b.Xa)throw b.Pa;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function Ea(a){this.next=function(b){sa(a.h);a.h.o?b=Ca(a,a.h.o.next,b,a.h.B):(a.h.B(b),b=Da(a));return b};this.throw=function(b){sa(a.h);a.h.o?b=Ca(a,a.h.o["throw"],b,a.h.B):(ta(a.h,b),b=Da(a));return b};this.return=function(b){return Ba(a,b)};this[Symbol.iterator]=function(){return this}}function Fa(a,b){b=new Ea(new Aa(b));qa&&a.prototype&&qa(b,a.prototype);return b}
function Ga(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())})}function D(a){return Ga(new Ea(new Aa(a)))}function Ha(a){var b=a[Symbol.asyncIterator];return void 0!==b?b.call(a):new Ia(z(a))}
function Ia(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})}function Ja(a,b){this.action=a;this.value=b}function Ka(a,b,c,d){this.method=a;this.h=b;this.resolve=c;this.reject=d}
function La(a){this.h=a;this.next=null}function Ma(){this.i=this.h=null}function Na(a){if(a.h)return a.h.h;throw Error("no frames in executionQueue");}function Oa(a){a.h&&(a.h=a.h.next,a.h||(a.i=null))}
function Pa(a){this.l=a;this.i=null;this.h=new Ma;this[Symbol.asyncIterator]=function(){return this};var b=this;this.o=function(c){var d=Na(b.h);!0===c.done?(b.i=null,d.method="next",d.h=c.value):(d.resolve({value:c.value,done:!1}),Oa(b.h));I(b)};this.m=function(c){Qa(b,c)};this.j=function(c){Ra(b,c)}}function Sa(a,b,c){return new Promise(function(d,e){var f=null===a.h.h,g=a.h;d=new La(new Ka(b,c,d,e));g.i?g.i.next=d:g.h=d;g.i=d;f&&I(a)})}Pa.prototype.next=function(a){return Sa(this,"next",a)};
Pa.prototype.return=function(a){return Sa(this,"return",new Ja(0,a))};Pa.prototype.throw=function(a){return Sa(this,"throw",a)};function I(a){if(null!==a.h.h)try{if(a.i){if(!a.i)throw Error("no delegate to perform execution");var b=Na(a.h);if(b.method in a.i)try{a.i[b.method](b.h).then(a.o,a.m).catch(a.j)}catch(c){Qa(a,c)}else a.i=null,I(a)}else Ta(a)}catch(c){Ra(a,c)}}
function Ta(a){var b=Na(a.h);try{var c=a.l[b.method](b.h);if(c.value instanceof Ja)switch(c.value.action){case 0:Promise.resolve(c.value.value).then(function(d){b.resolve({value:d,done:c.done});Oa(a.h);I(a)},function(d){b.reject(d);Oa(a.h);I(a)}).catch(a.j);break;case 1:a.i=Ha(c.value.value);b.method="next";b.h=void 0;I(a);break;case 2:Promise.resolve(c.value.value).then(function(d){b.method="next";b.h=d;I(a)},function(d){b.method="throw";b.h=d;I(a)}).catch(a.j);break;default:throw Error("Unrecognized AsyncGeneratorWrapper$ActionEnum");
}else b.resolve(c),Oa(a.h),I(a)}catch(d){b.reject(d),Oa(a.h),I(a)}}function Qa(a,b){var c=Na(a.h);a.i=null;c.method="throw";c.h=b;I(a)}function Ra(a,b){null!==a.h.h&&(Na(a.h).reject(b),Oa(a.h));a.i&&"return"in a.i&&(a.i["return"](void 0),a.i=null);a.l["return"](void 0);I(a)}function Ua(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
y("Promise",function(a){function b(g){this.h=0;this.j=void 0;this.i=[];this.u=!1;var h=this.l();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.h=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.i=function(g){if(null==this.h){this.h=[];var h=this;this.j(function(){h.m()})}this.h.push(g)};var e=da.setTimeout;c.prototype.j=function(g){e(g,0)};c.prototype.m=function(){for(;this.h&&this.h.length;){var g=this.h;this.h=[];for(var h=0;h<g.length;++h){var k=
g[h];g[h]=null;try{k()}catch(l){this.l(l)}}}this.h=null};c.prototype.l=function(g){this.j(function(){throw g;})};b.prototype.l=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.U),reject:g(this.m)}};b.prototype.U=function(g){if(g===this)this.m(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.ia(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.R(g):this.o(g)}};
b.prototype.R=function(g){var h=void 0;try{h=g.then}catch(k){this.m(k);return}"function"==typeof h?this.ja(h,g):this.o(g)};b.prototype.m=function(g){this.B(2,g)};b.prototype.o=function(g){this.B(1,g)};b.prototype.B=function(g,h){if(0!=this.h)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.h);this.h=g;this.j=h;2===this.h&&this.da();this.H()};b.prototype.da=function(){var g=this;e(function(){if(g.P()){var h=da.console;"undefined"!==typeof h&&h.error(g.j)}},1)};b.prototype.P=
function(){if(this.u)return!1;var g=da.CustomEvent,h=da.Event,k=da.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=da.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.j;return k(g)};b.prototype.H=function(){if(null!=this.i){for(var g=0;g<this.i.length;++g)f.i(this.i[g]);this.i=null}};var f=new c;
b.prototype.ia=function(g){var h=this.l();g.wa(h.resolve,h.reject)};b.prototype.ja=function(g,h){var k=this.l();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(x,E){return"function"==typeof x?function(w){try{l(x(w))}catch(n){m(n)}}:E}var l,m,u=new b(function(x,E){l=x;m=E});this.wa(k(g,l),k(h,m));return u};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.wa=function(g,h){function k(){switch(l.h){case 1:g(l.j);break;case 2:h(l.j);
break;default:throw Error("Unexpected state: "+l.h);}}var l=this;null==this.i?f.i(k):this.i.push(k);this.u=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=z(g),m=l.next();!m.done;m=l.next())d(m.value).wa(h,k)})};b.all=function(g){var h=z(g),k=h.next();return k.done?d([]):new b(function(l,m){function u(w){return function(n){x[w]=n;E--;0==E&&l(x)}}var x=[],E=0;do x.push(void 0),E++,d(k.value).wa(u(x.length-1),m),k=h.next();
while(!k.done)})};return b});
y("WeakMap",function(a){function b(k){this.h=(h+=Math.random()+1).toString();if(k){k=z(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return"object"===l&&null!==k||"function"===l}function e(k){if(!ia(k,g)){var l=new c;ba(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(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(u){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!ia(k,g))throw Error("WeakMap key fail: "+k);k[g][this.h]=l;return this};b.prototype.get=function(k){return d(k)&&ia(k,g)?k[g][this.h]:void 0};b.prototype.has=function(k){return d(k)&&ia(k,
g)&&ia(k[g],this.h)};b.prototype.delete=function(k){return d(k)&&ia(k,g)&&ia(k[g],this.h)?delete k[g][this.h]:!1};return b});
y("Map",function(a){function b(){var h={};return h.S=h.next=h.head=h}function c(h,k){var l=h.h;return ea(function(){if(l){for(;l.head!=h.h;)l=l.S;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;"object"==l||"function"==l?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h.i[l];if(m&&ia(h.i,l))for(h=0;h<m.length;h++){var u=m[h];if(k!==k&&u.key!==u.key||k===u.key)return{id:l,list:m,index:h,G:u}}return{id:l,list:m,
index:-1,G:void 0}}function e(h){this.i={};this.h=b();this.size=0;if(h){h=z(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}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(z([[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(u){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this.i[l.id]=[]);l.G?l.G.value=k:(l.G={next:this.h,S:this.h.S,head:this.h,key:h,value:k},l.list.push(l.G),this.h.S.next=l.G,this.h.S=l.G,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.G&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.i[h.id],h.G.S.next=h.G.next,h.G.next.S=h.G.S,h.G.head=null,this.size--,
!0):!1};e.prototype.clear=function(){this.i={};this.h=this.h.S=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).G};e.prototype.get=function(h){return(h=d(this,h).G)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=function(){return c(this,function(h){return h.value})};e.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)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});y("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}});
function Va(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}y("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Va(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
y("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Va(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});function Wa(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}
y("Array.prototype.entries",function(a){return a?a:function(){return Wa(this,function(b,c){return[b,c]})}});y("Array.prototype.keys",function(a){return a?a:function(){return Wa(this,function(b){return b})}});
y("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}});y("Array.prototype.values",function(a){return a?a:function(){return Wa(this,function(b,c){return c})}});
y("Set",function(a){function b(c){this.h=new Map;if(c){c=z(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.h.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(z([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=0===c?0:c;this.h.set(c,c);this.size=this.h.size;return this};b.prototype.delete=function(c){c=this.h.delete(c);this.size=this.h.size;return c};b.prototype.clear=function(){this.h.clear();this.size=0};b.prototype.has=function(c){return this.h.has(c)};b.prototype.entries=function(){return this.h.entries()};b.prototype.values=function(){return this.h.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.h.forEach(function(f){return c.call(d,f,f,e)})};return b});y("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ia(b,d)&&c.push([d,b[d]]);return c}});y("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
y("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}});y("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Va(this,b,"includes").indexOf(b,c||0)}});
y("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
y("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
y("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var g=c.exec(d);if(!g)return e=!0,{value:void 0,done:!0};""===g[0]&&(c.lastIndex+=1);return{value:g,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});
y("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});y("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ia(b,d)&&c.push(b[d]);return c}});var Xa=Xa||{},J=this||self;
function $a(a,b){a=a.split(".");var c=J;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[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}function ab(a,b){a=a.split(".");b=b||J;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b}function bb(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function cb(a,b,c){return a.call.apply(a.bind,arguments)}
function db(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)}}function eb(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?eb=cb:eb=db;return eb.apply(null,arguments)}
function fb(a,b){function c(){}c.prototype=b.prototype;a.sa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.xb=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)}}function gb(a){return a};function K(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,K);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}fb(K,Error);K.prototype.name="CustomError";var hb;function ib(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");K.call(this,c+a[d])}fb(ib,K);ib.prototype.name="AssertionError";var jb=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},kb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},lb=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 mb(a,b){b=jb(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};var nb,ob=ab("CLOSURE_FLAGS"),pb=ob&&ob[610401301];nb=null!=pb?pb:!1;function qb(){var a=J.navigator;return a&&(a=a.userAgent)?a:""}var rb,sb=J.navigator;rb=sb?sb.userAgentData||null:null;function tb(a){return nb?rb?rb.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}function L(a){return-1!=qb().indexOf(a)};function ub(){return nb?!!rb&&0<rb.brands.length:!1}function vb(){return ub()?!1:L("Trident")||L("MSIE")}function wb(){return ub()?tb("Chromium"):(L("Chrome")||L("CriOS"))&&!(ub()?0:L("Edge"))||L("Silk")};function xb(a){xb[" "](a);return a}xb[" "]=function(){};var yb=vb(),zb=L("Gecko")&&!(-1!=qb().toLowerCase().indexOf("webkit")&&!L("Edge"))&&!(L("Trident")||L("MSIE"))&&!L("Edge"),Ab=-1!=qb().toLowerCase().indexOf("webkit")&&!L("Edge"),Bb=Ab&&L("Mobile");try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};function Cb(){};function Eb(a,b){for(var c in a)b.call(void 0,a[c],c,a)}var Fb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Gb(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<Fb.length;f++)c=Fb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Hb;function Ib(a,b){this.h=a===Jb&&b||"";this.i=Kb}Ib.prototype.oa=!0;Ib.prototype.ha=function(){return this.h};function Lb(a){return a instanceof Ib&&a.constructor===Ib&&a.i===Kb?a.h:"type_error:Const"}var Kb={},Jb={};function Mb(a,b){this.h=b===Nb?a:""}Mb.prototype.toString=function(){return this.h+""};Mb.prototype.oa=!0;Mb.prototype.ha=function(){return this.h.toString()};function Ob(a){return a instanceof Mb&&a.constructor===Mb?a.h:"type_error:TrustedResourceUrl"}var Nb={};
function Pb(a){if(void 0===Hb){var b=null;var c=J.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:gb,createScript:gb,createScriptURL:gb})}catch(d){J.console&&J.console.error(d.message)}Hb=b}else Hb=b}a=(b=Hb)?b.createScriptURL(a):a;return new Mb(a,Nb)};function M(a,b){this.h=b===Qb?a:""}M.prototype.toString=function(){return this.h.toString()};M.prototype.oa=!0;M.prototype.ha=function(){return this.h.toString()};function Rb(a){return a instanceof M&&a.constructor===M?a.h:"type_error:SafeUrl"}var Sb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Tb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
function Ub(a){if(a instanceof M)return a;a="object"==typeof a&&a.oa?a.ha():String(a);Tb.test(a)?a=new M(a,Qb):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(Sb)?new M(a,Qb):null);return a}var Qb={},Vb=new M("about:invalid#zClosurez",Qb);var Wb={};function Xb(a,b){this.h=b===Wb?a:"";this.oa=!0}Xb.prototype.ha=function(){return this.h};Xb.prototype.toString=function(){return this.h.toString()};function Yb(a){return a instanceof Xb&&a.constructor===Xb?a.h:"type_error:SafeStyle"}
function Zb(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map($b).join(" "):$b(d),b+=c+":"+d+";")}return b?new Xb(b,Wb):ac}var ac=new Xb("",Wb);
function $b(a){if(a instanceof M)return'url("'+Rb(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof Ib)a=Lb(a);else{a=String(a);var b=a.replace(bc,"$1").replace(bc,"$1").replace(cc,"url");if(dc.test(b)){if(b=!ec.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&fc(a)}a=b?gc(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new ib("Value does not allow [{;}], got: %s.",[a]);return a}
function fc(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b}
var dc=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),cc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),bc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)","g"),ec=/\/\*/;
function gc(a){return a.replace(cc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,h,k){f=h;return k});b=(Ub(d)||Vb).ha();return c+f+b+f+e})};function hc(a,b){var c=ic(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=Ob(b)}var jc=/^[\w+/_-]+[=]{0,2}$/;function ic(a){a=(a||J).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&jc.test(a)?a:"":""};function kc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}kc.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};kc.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};kc.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};function lc(a,b){this.width=a;this.height=b}function mc(a){return a.width*a.height}lc.prototype.aspectRatio=function(){return this.width/this.height};lc.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};lc.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};lc.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function nc(a,b){Eb(b,function(c,d){c&&"object"==typeof c&&c.oa&&(c=c.ha());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:uc.hasOwnProperty(d)?a.setAttribute(uc[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var uc={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"};function vc(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}function wc(a){this.h=a||J.document||document}wc.prototype.appendChild=function(a,b){a.appendChild(b)};
wc.prototype.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};function xc(){this.m=this.m;this.u=this.u}xc.prototype.m=!1;xc.prototype.la=function(){if(this.u)for(;this.u.length;)this.u.shift()()};function yc(a,b){this.type=a;this.h=this.target=b;this.defaultPrevented=!1}yc.prototype.i=function(){this.defaultPrevented=!0};var zc=function(){if(!J.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{J.addEventListener("test",function(){},b),J.removeEventListener("test",function(){},b)}catch(c){}return a}();function Ac(a,b){yc.call(this,a?a.type:"");this.relatedTarget=this.h=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.j=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.h=b;if(b=a.relatedTarget){if(zb){a:{try{xb(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.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.key=a.key||"";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:Bc[a.pointerType]||"";this.state=a.state;this.j=a;a.defaultPrevented&&Ac.sa.i.call(this)}}fb(Ac,yc);var Bc={2:"touch",3:"pen",4:"mouse"};Ac.prototype.i=function(){Ac.sa.i.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var Cc="closure_listenable_"+(1E6*Math.random()|0);var Dc=0;function Ec(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.za=e;this.key=++Dc;this.qa=this.va=!1}function Fc(a){a.qa=!0;a.listener=null;a.proxy=null;a.src=null;a.za=null};function Gc(a){this.src=a;this.h={};this.i=0}Gc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.h[f];a||(a=this.h[f]=[],this.i++);var g=Hc(a,b,d,e);-1<g?(b=a[g],c||(b.va=!1)):(b=new Ec(b,this.src,f,!!d,e),b.va=c,a.push(b));return b};Gc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.h))return!1;var e=this.h[a];b=Hc(e,b,c,d);return-1<b?(Fc(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.h[a],this.i--),!0):!1};
function Ic(a,b){var c=b.type;c in a.h&&mb(a.h[c],b)&&(Fc(b),0==a.h[c].length&&(delete a.h[c],a.i--))}function Hc(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.qa&&f.listener==b&&f.capture==!!c&&f.za==d)return e}return-1};var Jc="closure_lm_"+(1E6*Math.random()|0),Kc={},Lc=0;function Mc(a,b,c,d,e){if(d&&d.once)Nc(a,b,c,d,e);else if(Array.isArray(b))for(var f=0;f<b.length;f++)Mc(a,b[f],c,d,e);else c=Oc(c),a&&a[Cc]?a.i.add(String(b),c,!1,bb(d)?!!d.capture:!!d,e):Pc(a,b,c,!1,d,e)}
function Pc(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=bb(e)?!!e.capture:!!e,h=Qc(a);h||(a[Jc]=h=new Gc(a));c=h.add(b,c,d,g,f);if(!c.proxy){d=Rc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)zc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Sc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Lc++}}
function Rc(){function a(c){return b.call(a.src,a.listener,c)}var b=Tc;return a}function Nc(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Nc(a,b[f],c,d,e);else c=Oc(c),a&&a[Cc]?a.i.add(String(b),c,!0,bb(d)?!!d.capture:!!d,e):Pc(a,b,c,!0,d,e)}
function Uc(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Uc(a,b[f],c,d,e);else(d=bb(d)?!!d.capture:!!d,c=Oc(c),a&&a[Cc])?a.i.remove(String(b),c,d,e):a&&(a=Qc(a))&&(b=a.h[b.toString()],a=-1,b&&(a=Hc(b,c,d,e)),(c=-1<a?b[a]:null)&&Vc(c))}
function Vc(a){if("number"!==typeof a&&a&&!a.qa){var b=a.src;if(b&&b[Cc])Ic(b.i,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Sc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Lc--;(c=Qc(b))?(Ic(c,a),0==c.i&&(c.src=null,b[Jc]=null)):Fc(a)}}}function Sc(a){return a in Kc?Kc[a]:Kc[a]="on"+a}function Tc(a,b){if(a.qa)a=!0;else{b=new Ac(b,this);var c=a.listener,d=a.za||a.src;a.va&&Vc(a);a=c.call(d,b)}return a}
function Qc(a){a=a[Jc];return a instanceof Gc?a:null}var Wc="__closure_events_fn_"+(1E9*Math.random()>>>0);function Oc(a){if("function"===typeof a)return a;a[Wc]||(a[Wc]=function(b){return a.handleEvent(b)});return a[Wc]};function Xc(){xc.call(this);this.i=new Gc(this);this.gb=this;this.ja=null}fb(Xc,xc);Xc.prototype[Cc]=!0;Xc.prototype.addEventListener=function(a,b,c,d){Mc(this,a,b,c,d)};Xc.prototype.removeEventListener=function(a,b,c,d){Uc(this,a,b,c,d)};
function Yc(a,b){var c,d=a.ja;if(d)for(c=[];d;d=d.ja)c.push(d);a=a.gb;d=b.type||b;if("string"===typeof b)b=new yc(b,a);else if(b instanceof yc)b.target=b.target||a;else{var e=b;b=new yc(d,a);Gb(b,e)}e=!0;if(c)for(var f=c.length-1;0<=f;f--){var g=b.h=c[f];e=Zc(g,d,!0,b)&&e}g=b.h=a;e=Zc(g,d,!0,b)&&e;e=Zc(g,d,!1,b)&&e;if(c)for(f=0;f<c.length;f++)g=b.h=c[f],e=Zc(g,d,!1,b)&&e}
Xc.prototype.la=function(){Xc.sa.la.call(this);if(this.i){var a=this.i,b=0,c;for(c in a.h){for(var d=a.h[c],e=0;e<d.length;e++)++b,Fc(d[e]);delete a.h[c];a.i--}}this.ja=null};function Zc(a,b,c,d){b=a.i.h[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.qa&&g.capture==c){var h=g.listener,k=g.za||g.src;g.va&&Ic(a.i,g);e=!1!==h.call(k,d)&&e}}return e&&!d.defaultPrevented};function $c(a,b){this.j=a;this.l=b;this.i=0;this.h=null}$c.prototype.get=function(){if(0<this.i){this.i--;var a=this.h;this.h=a.next;a.next=null}else a=this.j();return a};function ad(a,b){a.l(b);100>a.i&&(a.i++,b.next=a.h,a.h=b)};var bd;
function cd(){var a=J.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!L("Presto")&&(a=function(){var e=vc(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=eb(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&&!vb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Oa;c.Oa=null;e()}};return function(e){d.next={Oa:e};d=d.next;b.port2.postMessage(0)}}return function(e){J.setTimeout(e,0)}};function dd(a){J.setTimeout(function(){throw a;},0)};function ed(){this.i=this.h=null}ed.prototype.add=function(a,b){var c=fd.get();c.set(a,b);this.i?this.i.next=c:this.h=c;this.i=c};ed.prototype.remove=function(){var a=null;this.h&&(a=this.h,this.h=this.h.next,this.h||(this.i=null),a.next=null);return a};var fd=new $c(function(){return new gd},function(a){return a.reset()});function gd(){this.next=this.scope=this.h=null}gd.prototype.set=function(a,b){this.h=a;this.scope=b;this.next=null};gd.prototype.reset=function(){this.next=this.scope=this.h=null};var hd,id=!1,jd=new ed;function kd(a,b){hd||ld();id||(hd(),id=!0);jd.add(a,b)}function ld(){if(J.Promise&&J.Promise.resolve){var a=J.Promise.resolve(void 0);hd=function(){a.then(md)}}else hd=function(){var b=md;"function"!==typeof J.setImmediate||J.Window&&J.Window.prototype&&(ub()||!L("Edge"))&&J.Window.prototype.setImmediate==J.setImmediate?(bd||(bd=cd()),bd(b)):J.setImmediate(b)}}function md(){for(var a;a=jd.remove();){try{a.h.call(a.scope)}catch(b){dd(b)}ad(fd,a)}id=!1};function nd(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function od(a){this.h=0;this.u=void 0;this.l=this.i=this.j=null;this.m=this.o=!1;if(a!=Cb)try{var b=this;a.call(void 0,function(c){pd(b,2,c)},function(c){pd(b,3,c)})}catch(c){pd(this,3,c)}}function qd(){this.next=this.j=this.i=this.l=this.h=null;this.m=!1}qd.prototype.reset=function(){this.j=this.i=this.l=this.h=null;this.m=!1};var rd=new $c(function(){return new qd},function(a){a.reset()});function sd(a,b,c){var d=rd.get();d.l=a;d.i=b;d.j=c;return d}
od.prototype.then=function(a,b,c){return td(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};od.prototype.$goog_Thenable=!0;t=od.prototype;t.eb=function(a,b){return td(this,null,a,b)};t.catch=od.prototype.eb;t.cancel=function(a){if(0==this.h){var b=new ud(a);kd(function(){vd(this,b)},this)}};
function vd(a,b){if(0==a.h)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,f=null,g=c.i;g&&(g.m||(d++,g.h==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.h&&1==d?vd(c,b):(f?(d=f,d.next==c.l&&(c.l=d),d.next=d.next.next):wd(c),xd(c,e,3,b)))}a.j=null}else pd(a,3,b)}function yd(a,b){a.i||2!=a.h&&3!=a.h||zd(a);a.l?a.l.next=b:a.i=b;a.l=b}
function td(a,b,c,d){var e=sd(null,null,null);e.h=new od(function(f,g){e.l=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.i=c?function(h){try{var k=c.call(d,h);void 0===k&&h instanceof ud?g(h):f(k)}catch(l){g(l)}}:g});e.h.j=a;yd(a,e);return e.h}t.tb=function(a){this.h=0;pd(this,2,a)};t.ub=function(a){this.h=0;pd(this,3,a)};
function pd(a,b,c){if(0==a.h){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.h=1;a:{var d=c,e=a.tb,f=a.ub;if(d instanceof od){yd(d,sd(e||Cb,f||null,a));var g=!0}else if(nd(d))d.then(e,f,a),g=!0;else{if(bb(d))try{var h=d.then;if("function"===typeof h){Ad(d,h,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}g||(a.u=c,a.h=b,a.j=null,zd(a),3!=b||c instanceof ud||Bd(a,c))}}
function Ad(a,b,c,d,e){function f(k){h||(h=!0,d.call(e,k))}function g(k){h||(h=!0,c.call(e,k))}var h=!1;try{b.call(a,g,f)}catch(k){f(k)}}function zd(a){a.o||(a.o=!0,kd(a.ib,a))}function wd(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b}t.ib=function(){for(var a;a=wd(this);)xd(this,a,this.h,this.u);this.o=!1};
function xd(a,b,c,d){if(3==c&&b.i&&!b.m)for(;a&&a.m;a=a.j)a.m=!1;if(b.h)b.h.j=null,Cd(b,c,d);else try{b.m?b.l.call(b.j):Cd(b,c,d)}catch(e){Dd.call(null,e)}ad(rd,b)}function Cd(a,b,c){2==b?a.l.call(a.j,c):a.i&&a.i.call(a.j,c)}function Bd(a,b){a.m=!0;kd(function(){a.m&&Dd.call(null,b)})}var Dd=dd;function ud(a){K.call(this,a)}fb(ud,K);ud.prototype.name="cancel";function Ed(a,b,c){if("function"===typeof a)c&&(a=eb(a,c));else if(a&&"function"==typeof a.handleEvent)a=eb(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:J.setTimeout(a,b||0)}function Fd(a,b){var c=null;return(new od(function(d,e){c=Ed(function(){d(b)},a);-1==c&&e(Error("Failed to schedule timer."))})).eb(function(d){J.clearTimeout(c);throw d;})};/*
SPDX-License-Identifier: Apache-2.0
*/
var Gd;try{new URL("s://g"),Gd=!0}catch(a){Gd=!1}var Hd=Gd;function Id(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};function Jd(a){this.lb=a}function Kd(a){return new Jd(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var Ld=[Kd("data"),Kd("http"),Kd("https"),Kd("mailto"),Kd("ftp"),new Jd(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var Md=Pb(Lb(new Ib(Jb,"https://apis.google.com/js/client.js"))),Nd=!1;function Pd(){var a;return D(function(b){Nd||J.gapi||(a=vc(document,"SCRIPT"),a.src=Ob(Md),Id(a),a.type="text/javascript",a.async=!0,a.onerror=function(){a&&a.parentNode&&a.parentNode.removeChild(a);Nd=!1},document.body.appendChild(a),Nd=!0);return b.return(Qd())})}
function Qd(){var a;return D(function(b){return 1==b.h?(a=J.gapi)?C(b,new Promise(function(c,d){a.load("gapi.iframes",{callback:function(){c()},timeout:3E4,ontimeout:function(){d(Error("Timeout while trying to load GAPI frames library."))},onerror:function(e){d(Error(e?e.message:"Error while trying to load GAPI frames library."))}})}),0):C(b,Fd(100),4):b.return(Qd())})};!L("Android")||wb();wb();L("Safari")&&(wb()||(ub()?0:L("Coast"))||(ub()?0:L("Opera"))||(ub()?0:L("Edge"))||(ub()?tb("Microsoft Edge"):L("Edg/"))||ub()&&tb("Opera"));var Rd={},Sd=null;function Td(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Ud(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d}
function Ud(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),m=Sd[l];if(null!=m)return m;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}Vd();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),h=c(64);if(64===h&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}}
function Vd(){if(!Sd){Sd={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Rd[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Sd[f]&&(Sd[f]=e)}}}};var Wd="undefined"!==typeof Uint8Array,Xd=!yb&&"function"===typeof J.btoa;var Yd="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;function Zd(a,b){if(Yd)return a[Yd]|=b;if(void 0!==a.h)return a.h|=b;Object.defineProperties(a,{h:{value:b,configurable:!0,writable:!0,enumerable:!1}});return b}function $d(a){Yd?a[Yd]&&(a[Yd]&=-17):void 0!==a.h&&(a.h&=-17)}function N(a){var b;Yd?b=a[Yd]:b=a.h;return null==b?0:b}function ae(a,b){Yd?a[Yd]=b:void 0!==a.h?a.h=b:Object.defineProperties(a,{h:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a}
function be(a){Zd(a,1);return a}function ce(a){return!!(N(a)&2)}function de(a){Zd(a,18);return a}function ee(a){Zd(a,16);return a}function fe(a,b){ae(b,(a|0)&-51)}function ge(a,b){ae(b,(a|18)&-41)};var he={};function ie(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var je,ke=Object.freeze(ae([],23));function le(a){if(N(a.D)&2)throw Error();}function me(a){this.Ua=0;this.Na=a}me.prototype.next=function(){return this.Ua<this.Na.length?{done:!1,value:this.Na[this.Ua++]}:{done:!0,value:void 0}};me.prototype[Symbol.iterator]=function(){return this};function ne(a){var b=a.length;(b=b?a[b-1]:void 0)&&ie(b)?b.g=1:(b={},a.push((b.g=1,b)))};function oe(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.Ia===he)return a;if(!e)return c?d&2?(a=b[pe])?b=a:(a=new b,de(a.D),b=b[pe]=a):b=new b:b=void 0,b;e=c=N(a);0===e&&(e|=d&16);e|=d&2;e!==c&&ae(a,e);return new b(a)}var pe="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";function qe(a,b,c,d){d=void 0===d?re:d;c=N(a);c|=32;ae(a,c);this.i=c;this.j=(this.l=b)?se:te;this.o=d;this.h=b=new Map;for(d=0;d<a.length;d++)c=a[d],b.set(c[0],c[1]);this.size=b.size}function ue(a,b){b=void 0===b?ve:b;for(var c=we(a),d=0;d<c.length;d++){var e=c[d],f=a.h.get(c[d]);c[d]=[b(e),b(f)]}return c}function xe(a,b){b=void 0===b?ve:b;var c=[];a=a.h.entries();for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c}t=qe.prototype;
t.entries=function(){for(var a=we(this),b=0;b<a.length;b++){var c=a[b];a[b]=[c,this.get(c)]}return new me(a)};t.keys=function(){var a=we(this);return new me(a)};t.values=function(){for(var a=we(this),b=0;b<a.length;b++)a[b]=this.get(a[b]);return new me(a)};t.forEach=function(a,b){for(var c=we(this),d=0;d<c.length;d++){var e=c[d];a.call(b,this.get(e),e,this)}};
t.set=function(a,b){if(this.i&2)throw Error("Cannot mutate an immutable Map");var c=this.h;if(null==b)return c.delete(a),this;c.set(a,this.j(b,this.l,this.m,this.i));this.size=c.size;return this};t.get=function(a){var b=this.h;if(b.has(a)){var c=b.get(a),d=this.i,e=this.l;e&&Array.isArray(c)&&d&16&&ee(c);d=this.j(c,e,this.m,d);d!==c&&b.set(a,d);return d}};t.has=function(a){return this.h.has(a)};function we(a){return Array.from(a.h.keys()).sort(ye)}qe.prototype[Symbol.iterator]=function(){return this.entries()};
function ye(a,b){a=""+a;b=""+b;return a>b?1:a<b?-1:0}function se(a,b,c,d){a=oe(a,b,!0,d);c&&(a=ze(a));return a}function te(a){return a}function re(a){return a}function ve(a){return a};function Ae(a){var b=a.i+a.ea;return a.K||(a.K=a.D[b]={})}function Be(a,b,c){return-1===b?null:b>=a.i?a.K?a.K[b]:void 0:c&&a.K&&(c=a.K[b],null!=c)?c:a.D[b+a.ea]}function O(a,b,c,d){a.j&&(a.j=void 0);if(b>=a.i||d)return Ae(a)[b]=c,a;a.D[b+a.ea]=c;(c=a.K)&&b in c&&delete c[b];return a}
function Ce(a,b){var c=ce(a.D);var d=Be(a,b,!1);Array.isArray(d)||(d=ke);var e=N(d);e&1||be(d);c?e&2||de(d):e&16&&!(e&2)&&$d(d);e=N(d);if(!(e&4)){Object.isFrozen(d)&&(d=be(d.slice()),O(a,b,d,!1));for(var f=0,g=0;f<d.length;f++){var h=d[f];null!=h&&(d[g++]=h)}g<f&&(d.length=g);e|=5;c&&(e|=18);ae(d,e);e&2&&Object.freeze(d)}!c&&(e&2||Object.isFrozen(d))&&(d=Array.prototype.slice.call(d),Zd(d,5),O(a,b,d,!1));return d}var De;
function Ee(a,b,c){var d=!1;if(null==b){if(c)return De||(De=new qe(de([])));b=[]}else if(b.constructor===qe){if(0==(b.i&2)||c)return b;b=xe(b)}else Array.isArray(b)?d=ce(b):b=[];if(c){if(!b.length)return De||(De=new qe(de([])));d||(d=!0,de(b))}else if(d)for(d=!1,b=Array.prototype.slice.call(b),c=0;c<b.length;c++){var e=b[c]=Array.prototype.slice.call(b[c]);Array.isArray(e[1])&&(e[1]=de(e[1]))}d||(N(b)&32?$d(b):N(a.D)&16&&ee(b));d=new qe(b,void 0);O(a,2,d,!1);return d}
function Fe(a){a=Ee(a,Be(a,2),ce(a.D));return null==a?a:a}function Ge(a,b,c,d){le(a);c!==d?O(a,b,c):O(a,b,void 0,!1);return a}function He(a,b,c){var d=Be(a,1,c);b=oe(d,b,!1,N(a.D));b!==d&&null!=b&&O(a,1,b,c);return b}function Ie(a,b){var c=void 0===c?!1:c;b=He(a,b,c);if(null==b)return b;if(!ce(a.D)){var d=ze(b);d!==b&&(b=d,O(a,1,b,c))}return b}function P(a,b){a=Be(a,b);return null==a?"":a}function Q(a,b){a=Be(a,b);a=null==a?a:!!a;return null==a?!1:a}function R(a,b,c){return Ge(a,b,c,!1)};var Je;function Ke(a,b){Je=b;a=new a(b);Je=void 0;return a};function Le(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a)if(Array.isArray(a)){if(0!==(N(a)&128))return a=Array.prototype.slice.call(a),ne(a),a}else{if(Wd&&null!=a&&a instanceof Uint8Array){if(Xd){for(var b="";10240<a.length;)b+=String.fromCharCode.apply(null,a.subarray(0,10240)),a=a.subarray(10240);b+=String.fromCharCode.apply(null,a);a=btoa(b)}else{void 0===b&&(b=0);Vd();b=Rd[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=
a[e],h=a[e+1],k=a[e+2],l=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|l>>4]+k+d}a=c.join("")}return a}if(a instanceof qe)return ue(a)}}return a};function Me(a,b,c,d){if(null!=a){if(Array.isArray(a))a=Ne(a,b,c,void 0!==d);else if(ie(a)){var e={},f;for(f in a)e[f]=Me(a[f],b,c,d);a=e}else a=b(a,d);return a}}function Ne(a,b,c,d){var e=N(a);d=d?!!(e&16):void 0;a=Array.prototype.slice.call(a);for(var f=0;f<a.length;f++)a[f]=Me(a[f],b,c,d);c(e,a);return a}function Oe(a){return Me(a,Pe,Qe)}function Pe(a){return a.Ia===he?a.toJSON():a instanceof qe?ue(a,Oe):Le(a)}function Qe(a,b){a&128&&ne(b)};function Re(a,b,c){c=void 0===c?ge:c;if(null!=a){if(Wd&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=N(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return ae(a,d|18),a;a=Ne(a,Re,d&4?ge:c,!0);b=N(a);b&4&&b&2&&Object.freeze(a);return a}a.Ia===he?a=Se(a):a instanceof qe&&(b=de(xe(a,Re)),a=new qe(b,a.l,a.j,a.o));return a}}
function Te(a,b,c,d,e,f,g){if(a=a.h&&a.h[c]){d=N(a);d&2?d=a:(f=kb(a,Se),ge(d,f),Object.freeze(f),d=f);le(b);g=null==d?ke:be([]);if(null!=d){f=!!d.length;for(a=0;a<d.length;a++){var h=d[a];f=f&&!ce(h.D);g[a]=h.D}f=(f?8:0)|1;a=N(g);(a&f)!==f&&(Object.isFrozen(g)&&(g=Array.prototype.slice.call(g)),ae(g,a|f));b.h||(b.h={});b.h[c]=d}else b.h&&(b.h[c]=void 0);O(b,c,g,e)}else d=Re(d,f,g),le(b),O(b,c,d,e)}function Se(a){if(ce(a.D))return a;a=Ue(a,!0);de(a.D);return a}
function Ue(a,b){var c=a.D,d=ee([]),e=a.constructor.h;e&&d.push(e);e=a.K;if(e){d.length=c.length;var f={};d[d.length-1]=f}0!==(N(c)&128)&&ne(d);b=b||ce(a.D)?ge:fe;d=Ke(a.constructor,d);a.Wa&&(d.Wa=a.Wa.slice());f=!!(N(c)&16);for(var g=e?c.length-1:c.length,h=0;h<g;h++)Te(a,d,h-a.ea,c[h],!1,f,b);if(e)for(var k in e)Te(a,d,+k,e[k],!0,f,b);return d}function ze(a){if(!ce(a.D))return a;var b=Ue(a,!1);b.j=a;return b};function S(a,b,c,d){null==a&&(a=Je);Je=void 0;var e=this.constructor.h;if(null==a){a=e?[e]:[];var f=48;var g=!0;d&&(f|=128);ae(a,f)}else{if(!Array.isArray(a))throw Error();if(e&&e!==a[0])throw Error();f=Zd(a,0)|32;g=0!==(16&f);if(d){if(!(f&128)&&0<a.length){var h=a[a.length-1];if(ie(h)&&"g"in h){f|=128;delete h.g;var k=!0,l;for(l in h){k=!1;break}k&&a.pop()}else throw Error();}}else if(128&f)throw Error();ae(a,f)}this.ea=e?0:-1;this.h=void 0;this.D=a;a:{f=this.D.length;e=f-1;if(f&&(f=this.D[e],ie(f))){this.K=
f;this.i=e-this.ea;break a}void 0!==b&&-1<b?(this.i=Math.max(b,e+1-this.ea),this.K=void 0):this.i=Number.MAX_VALUE}if(!d&&this.K&&"g"in this.K)throw Error('Unexpected "g" flag in sparse object of message that is not a group type.');if(c){b=g&&!0;d=this.i;var m;for(g=0;g<c.length;g++)e=c[g],e<d?(e+=this.ea,(f=a[e])?Ve(f,b):a[e]=ke):(m||(m=Ae(this)),(f=m[e])?Ve(f,b):m[e]=ke)}}S.prototype.toJSON=function(){var a=this.D;return je?a:Ne(a,Pe,Qe)};
function We(a){je=!0;try{return JSON.stringify(a.toJSON(),Xe)}finally{je=!1}}function Ye(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return Ke(a,ee(b))}function Ve(a,b){if(Array.isArray(a)){var c=N(a),d=1;!b||c&2||(d|=16);(c&d)!==d&&ae(a,c|d)}}S.prototype.Ia=he;S.prototype.toString=function(){return this.D.toString()};function Xe(a,b){return Le(b)};function Ze(a){S.call(this,a)}A(Ze,S);function $e(a){var b=Ua.apply(1,arguments);if(0===b.length)return Pb(a[0]);for(var c=[a[0]],d=0;d<b.length;d++)c.push(encodeURIComponent(b[d])),c.push(a[d+1]);return Pb(c.join(""))};function af(a){S.call(this,a)}A(af,S);t=af.prototype;t.getEnableSsEngine=function(){return Q(this,2)};t.getEnableAwr=function(){return Q(this,3)};t.getEnableHelpSuggestions=function(){return Q(this,4)};t.getAlohaAutoGaRollout=function(){return Q(this,5)};t.getEnableConfigurator=function(){return Q(this,6)};t.getEnableMweb=function(){return Q(this,7)};t.getEnableCtlConsentCheckbox=function(){return Q(this,8)};t.getEnableIframe=function(){return Q(this,9)};
t.getEnableScreenshotNudge=function(){return Q(this,10)};t.getEnableWebStartupConfigEndpoint=function(){return Q(this,11)};t.getEnableJunkNudge=function(){return Q(this,12)};t.getEnableConfiguratorLocale=function(){return Q(this,13)};t.getEnableTinyNoPointer=function(){return Q(this,14)};t.getEnableSupportSessionLogging=function(){return Q(this,15)};function bf(a){S.call(this,a)}A(bf,S);function cf(a){return df.some(function(b){return b.test(a)})}var df=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var ef="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");
function ff(a){var b;return null==(b=a.formContent)?void 0:b.locale};var gf=fa(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function hf(a){var b=ff(a);b=(b&&ef.includes(b)?ff(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return $e(gf,a,b)};var jf;function kf(a,b,c){if(jf)return jf;var d=hf(a);return jf=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(e,f){var g=vc(document,"SCRIPT");g.src=Ob(d);Id(g);g.onload=function(){b.feedbackV2GlobalObject?e(b.feedbackV2GlobalObject):f("feedbackV2GlobalObject not found on window.")};g.onerror=function(){f("Feedback binary script tag failed to load: "+d.toString())};c.body.appendChild(g)})}
function lf(a,b,c,d,e){e=void 0===e?!0:e;var f,g,h,k,l;return D(function(m){switch(m.h){case 1:return f=Date.now(),C(m,kf(a,c,d),2);case 2:g=m.i;if(!(e||(null==(k=a.initializationData)?0:k.useNightlyRelease)||(null==(l=a.initializationData)?0:l.isLocalServer))){h=g.initializeFeedbackClient(a,f,b);m.A(3);break}return C(m,g.initializeFeedbackClientAsync(a,f,b),4);case 4:h=m.i;case 3:return h.initiateAloha(),m.return(h)}})}
function mf(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,g,h;return D(function(k){f=e=c||J;if(f.isFormOpened)throw g=Error("Form is either loading or already opened"),g.name="DuplicateFormError",g;f.isFormOpened=!0;a.callbacks=a.callbacks||{};h=a.callbacks.onClose||function(){};a.callbacks.onClose=function(l){f.isFormOpened=!1;h(l)};try{return k.return(lf(a,b,f,e.document,d))}catch(l){throw f.isFormOpened=!1,l;}})};function nf(a){try{return J.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);};function of(){}of.prototype.h=null;function pf(a){var b;(b=a.h)||(b={},qf(a)&&(b[0]=!0,b[1]=!0),b=a.h=b);return b};var rf;function sf(){}fb(sf,of);function tf(a){return(a=qf(a))?new ActiveXObject(a):new XMLHttpRequest}function qf(a){if(!a.i&&"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.i=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.i}rf=new sf;var uf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function vf(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," ")):"")}}};function wf(a){Xc.call(this);this.headers=new Map;this.R=a||null;this.j=!1;this.P=this.h=null;this.ia="";this.l=this.da=this.o=this.U=!1;this.H=0;this.B=null;this.Ma="";this.Da=this.Ea=!1}fb(wf,Xc);var xf=/^https?$/i,yf=["POST","PUT"],zf=[];function Af(a,b){var c=new wf;zf.push(c);b&&c.i.add("complete",b,!1,void 0,void 0);c.i.add("ready",c.hb,!0,void 0,void 0);c.H=2E3;c.Ea=!0;c.send(a,"GET","",{})}t=wf.prototype;t.hb=function(){this.m||(this.m=!0,this.la());mb(zf,this)};
t.send=function(a,b,c,d){if(this.h)throw Error("[goog.net.XhrIo] Object is active with another request="+this.ia+"; newUri="+a);b=b?b.toUpperCase():"GET";this.ia=a;this.U=!1;this.j=!0;this.h=this.R?tf(this.R):tf(rf);this.P=this.R?pf(this.R):pf(rf);this.h.onreadystatechange=eb(this.Za,this);try{this.da=!0,this.h.open(b,String(a),!0),this.da=!1}catch(g){Bf(this);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=z(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=J.FormData&&a instanceof J.FormData;!(0<=jb(yf,b))||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=z(c);for(d=b.next();!d.done;d=b.next())c=z(d.value),d=c.next().value,c=c.next().value,this.h.setRequestHeader(d,
c);this.Ma&&(this.h.responseType=this.Ma);"withCredentials"in this.h&&this.h.withCredentials!==this.Ea&&(this.h.withCredentials=this.Ea);try{Cf(this),0<this.H&&((this.Da=Df(this.h))?(this.h.timeout=this.H,this.h.ontimeout=eb(this.ta,this)):this.B=Ed(this.ta,this.H,this)),this.o=!0,this.h.send(a),this.o=!1}catch(g){Bf(this)}};function Df(a){return yb&&"number"===typeof a.timeout&&void 0!==a.ontimeout}t.ta=function(){"undefined"!=typeof Xa&&this.h&&(Yc(this,"timeout"),this.abort(8))};
function Bf(a){a.j=!1;a.h&&(a.l=!0,a.h.abort(),a.l=!1);Ef(a);Ff(a)}function Ef(a){a.U||(a.U=!0,Yc(a,"complete"),Yc(a,"error"))}t.abort=function(){this.h&&this.j&&(this.j=!1,this.l=!0,this.h.abort(),this.l=!1,Yc(this,"complete"),Yc(this,"abort"),Ff(this))};t.la=function(){this.h&&(this.j&&(this.j=!1,this.l=!0,this.h.abort(),this.l=!1),Ff(this,!0));wf.sa.la.call(this)};t.Za=function(){this.m||(this.da||this.o||this.l?Gf(this):this.rb())};t.rb=function(){Gf(this)};
function Gf(a){if(a.j&&"undefined"!=typeof Xa&&(!a.P[1]||4!=(a.h?a.h.readyState:0)||2!=Hf(a)))if(a.o&&4==(a.h?a.h.readyState:0))Ed(a.Za,0,a);else if(Yc(a,"readystatechange"),4==(a.h?a.h.readyState:0)){a.j=!1;try{var b=Hf(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.ia).match(uf)[1]||null;!f&&J.self&&J.self.location&&(f=J.self.location.protocol.slice(0,-1));e=!xf.test(f?f.toLowerCase():
"")}d=e}d?(Yc(a,"complete"),Yc(a,"success")):Ef(a)}finally{Ff(a)}}}function Ff(a,b){if(a.h){Cf(a);var c=a.h,d=a.P[0]?function(){}:null;a.h=null;a.P=null;b||Yc(a,"ready");try{c.onreadystatechange=d}catch(e){}}}function Cf(a){a.h&&a.Da&&(a.h.ontimeout=null);a.B&&(J.clearTimeout(a.B),a.B=null)}t.isActive=function(){return!!this.h};function Hf(a){try{return 2<(a.h?a.h.readyState:0)?a.h.status:-1}catch(b){return-1}};function If(a,b){return D(function(c){return c.return(new Promise(function(d){var e=Jf(null!=b?b:"")+"/aloha_form_properties?productId="+a;Af(e,function(f){var g=f.target;f=null;try{var h=JSON,k=h.stringify;if(g.h){var l=g.h.responseText;0==l.indexOf(")]}'\n")&&(l=l.substring(5));b:{if(J.JSON)try{var m=J.JSON.parse(l);break b}catch(u){}m=nf(l)}}else m=void 0;f=Ye(bf,k.call(h,m))}catch(u){k=new bf,m=new af,m=R(m,5,!0),m=R(m,2,!0),m=R(m,4,!1),m=R(m,8,!0),m=R(m,9,!0),m=R(m,7,!0),m=R(m,10,!0),m=R(m,12,
!0),m=R(m,13,!1),m=R(m,14,!0),m=R(m,15,!0),le(k),null==m&&(m=void 0),f=O(k,1,m)}d(f)})}))})}function Jf(a){return cf(a)?a:"https://www.google.com/tools/feedback"};function Kf(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||J,e=d.document,f=a.nonce||ic(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var g=ab("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.feedbackServerUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d,
b);else{d=c+"/load.js?";for(var k in a)b=a[k],null==b||bb(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=vc((e?new wc(9==e.nodeType?e:e.ownerDocument||e.document):hb||(hb=new wc)).h,"SCRIPT");f&&a.setAttribute("nonce",f);f=Pb(d);a.src=Ob(f);Id(a);e.body.appendChild(a)}}
function Lf(a,b,c,d){var e,f;D(function(g){e=c||J;var h="DEV"===a.serverEnvironment,k=c||J;k=a.nonce||ic(k);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,Fb:void 0,defaultFormInputValues:void 0,
defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,
enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);f=h;return C(g,mf(f,d,e),0)})}
function Mf(a,b,c){try{"submit"===a.flow||"help"===a.flow?Kf(a,b,c):If(a.productId,a.feedbackServerUri).then(function(d){d=Ie(d,af);var e=!Bb||(null==d?void 0:d.getEnableMweb()),f=!a.tinyNoPointer||(null==d?void 0:d.getEnableTinyNoPointer());!d||d.getAlohaAutoGaRollout()&&e&&f?Lf(a,b,c,d):Kf(a,b,c)},function(d){d&&"DuplicateFormError"!==d.name&&Kf(a,b,c)})}catch(d){Lf(a,b,c,null)}}$a("userfeedback.api.startFeedback",Mf);function Nf(a,b){var c={Ab:b.location.href};Fe(a).forEach(function(d,e){c[e]=d});return c};function Of(a){S.call(this,a)}A(Of,S);function Pf(a){S.call(this,a)}A(Pf,S);function Qf(){this.h=new Map}Qf.prototype.register=function(a,b){if(this.h.has(a))throw Error("Handler for "+a+" already exists.");this.h.set(a,b);this.iframe&&this.iframe.register(a,b,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)};Qf.prototype.unregister=function(a){this.h.delete(a);this.iframe&&this.iframe.unregister(a)};Qf.prototype.send=function(a,b,c){if(!this.iframe)throw Error("Iframe is not open. Tried to send '"+a+"'");this.iframe.send(a,b,c,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)};
function Rf(a){if(!a.iframe)throw Error("Iframe is not ready");for(var b=z(a.h.keys()),c=b.next();!c.done;c=b.next())a.iframe.unregister(c.value)}function Sf(a){this.h=new Map;this.i=a;this.j=!1}A(Sf,Qf);function Tf(a,b){a.i=Object.assign({},a.i,b)}
Sf.prototype.open=function(a){a=void 0===a?{}:a;var b=this,c;return D(function(d){if(1==d.h)return C(d,Pd(),2);if(3!=d.h){if(b.isOpen)throw Error("App is already open.");b.j=!0;c=b;return C(d,gapi.iframes.getContext().open(Object.assign({},b.i,a)),3)}c.iframe=d.i;if(!b.iframe)throw Error("Iframe is not ready");for(var e=z(b.h),f=e.next();!f.done;f=e.next()){var g=z(f.value);f=g.next().value;g=g.next().value;b.iframe.register(f,g,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}d.h=0})};
Sf.prototype.close=function(){var a=this;return D(function(b){if(!a.isOpen)throw Error("App is not open.");return b.return(new Promise(function(c,d){a.iframe?(Rf(a),a.iframe.close({},function(){a.iframe=void 0;a.j=!1;c()})):d("Iframe is not open.")}))})};da.Object.defineProperties(Sf.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this.j}}});function Uf(a){this.h=new Map;this.iframe=a||void 0}var Vf;A(Uf,Qf);
function Wf(){var a,b,c;return D(function(d){switch(d.h){case 1:return Vf?d.return(Vf):C(d,Pd(),2);case 2:a=gapi.iframes.getContext().getParentIframe();b=null;if(!a){d.A(3);break}return C(d,Promise.race([a.ping().then(function(){return a}),Fd(1E4,null)]),4);case 4:b=d.i;case 3:if(Vf)return d.return(Vf);c=new Uf(b);b&&(Vf=c);return d.return(c)}})};function Xf(a){this.name=a}Xf.prototype.removeListener=function(){var a=this,b;return D(function(c){if(1==c.h)return C(c,Wf(),2);b=c.i;b.unregister(a.name);c.h=0})};Xf.prototype.send=function(a,b){var c=this;return new Promise(function(d,e){try{a.iframe.send(c.name,b,function(f){f=z(f).next().value;d(f)})}catch(f){e(f)}})};function Yf(a){this.fa=Ze;this.h=new Xf(a)}Yf.prototype.removeListener=function(){var a=this;return D(function(b){return C(b,a.h.removeListener(),0)})};
Yf.prototype.send=function(a,b){var c=this,d;return D(function(e){if(1==e.h)return C(e,c.h.send(a,We(b)),2);d=e.i;return e.return(Ye(c.fa,d))})};function T(a){this.name=a}function U(a,b,c){b.iframe.register(a.name,c)}T.prototype.removeListener=function(a){a.iframe.unregister(this.name)};T.prototype.send=function(a){var b=this,c;return D(function(d){if(1==d.h)return C(d,Wf(),2);c=d.i;return d.return(new Promise(function(e,f){try{c.send(b.name,a,function(g){g=z(g).next().value;e(g)})}catch(g){f(g)}}))})};function Zf(a,b){this.name=a;this.i=b;this.fa=Ze;this.h=new T(this.name)}
function $f(a,b,c){U(a.h,b,function(d){var e,f;return D(function(g){if(1==g.h)return e=Ye(a.i,d),C(g,c(e),2);f=g.i;return g.return(We(f))})})}Zf.prototype.removeListener=function(a){this.h.removeListener(a)};Zf.prototype.send=function(a){var b=this,c;return D(function(d){if(1==d.h)return C(d,b.h.send(We(a)),2);c=d.i;return d.return(Ye(b.fa,c))})};function ag(a,b){this.name=a;this.j=void 0===b?!1:b;this.h=new T(this.name);this.i=new Xf(this.name)}ag.prototype.removeListener=function(){var a=this;return D(function(b){return C(b,a.i.removeListener(),0)})};ag.prototype.send=function(a){var b=this;return D(function(c){return c.return(b.h.send(a))})};function bg(a,b,c){return D(function(d){return 1==d.h?!a.j||b.isOpen?d.A(2):C(d,b.open(),2):d.return(a.i.send(b,c))})}function cg(a,b,c){U(a.h,b,function(d){return bg(a,c,d)})}
function dg(a,b){this.fa=Ze;this.h=new ag(a,void 0===b?!1:b)}dg.prototype.removeListener=function(){var a=this;return D(function(b){return C(b,a.h.removeListener(),0)})};dg.prototype.send=function(a){var b=this,c;return D(function(d){if(1==d.h)return C(d,b.h.send(We(a)),2);c=d.i;return d.return(Ye(b.fa,c))})};function eg(a,b,c){var d;return D(function(e){if(1==e.h)return C(e,bg(a.h,b,We(c)),2);d=e.i;return e.return(Ye(a.fa,d))})};function fg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}fg.prototype.contains=function(a){return a instanceof kc?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};function gg(a){return new lc(a.width,a.height)}
fg.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};fg.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
fg.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function hg(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}
function ig(a,b){a:{var c=9==b.nodeType?b:b.ownerDocument||b.document;if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(b,null))){c=c.display||c.getPropertyValue("display")||"";break a}c=""}c||(c=b.currentStyle?b.currentStyle.display:null);if("none"!=(c||b.style&&b.style.display))return a(b);c=b.style;var d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=a(b);c.display=d;c.position=f;c.visibility=e;return a}
function jg(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ab&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=hg(a),new lc(a.right-a.left,a.bottom-a.top)):new lc(b,c)};function kg(a){if(1==a.nodeType){var b=hg(a);b=new kc(b.left,b.top)}else b=a.changedTouches?a.changedTouches[0]:a,b=new kc(b.clientX,b.clientY);if(a.getBoundingClientRect){var c=ig(hg,a);c=new lc(c.right-c.left,c.bottom-c.top)}else c=null;a=c||ig(jg,a);return new fg(b.x,b.y,a.width,a.height)}
function lg(a){var b=!1;a.getAttribute("tabindex")||(b=!0,a.setAttribute("tabindex","-1"));a.focus();a.scrollIntoView({block:"nearest"});b&&a.addEventListener("blur",function(){a.removeAttribute("tabindex")},{once:!0})};function mg(a){S.call(this,a,-1,ng)}A(mg,S);var ng=[2];function og(a){S.call(this,a)}A(og,S);function pg(a){S.call(this,a,-1,qg)}A(pg,S);var qg=[1];function rg(a){S.call(this,a)}A(rg,S);function sg(a){S.call(this,a)}A(sg,S);function tg(a){S.call(this,a)}A(tg,S);var ug=[1,2];function vg(a){S.call(this,a)}A(vg,S);vg.prototype.setProjectId=function(a){return Ge(this,1,a,"")};function wg(a){S.call(this,a)}A(wg,S);function xg(a){S.call(this,a,-1,yg)}A(xg,S);var yg=[1];function zg(a){S.call(this,a)}A(zg,S);function Ag(a){S.call(this,a)}A(Ag,S);function Bg(a){S.call(this,a)}A(Bg,S);var Cg=new T("close"),Dg=new T("spotlight"),Eg=new T("spotlight-single"),Fg=new Yf("watcher"),Gg=new dg("walkthrough-load-tutorial",!0),Hg=new dg("set-tutorial-flags"),Ig=new T("walkthrough-is-open"),Jg=new Zf("walkthrough-feedback-start",Pf),Kg=new T("select-cloud-project"),Lg=new Yf("set-cloud-project"),Mg=new Xf("free-trial-status"),Ng=new T("page-navigation"),Og=new Zf("subsession-start",Ag),Pg=new Zf("subsession-end",Ag),Qg=new Zf("report-event",wg),Rg=new T("section-title"),Yg=new T("unsubmitted-content"),
Zg=new T("section-icon"),$g=new Xf("downstream-string"),ah=new T("upstream-string"),bh=new Xf("send-metrics-event"),ch=new T("create-cloud-project"),dh=new Xf("screen-size-changed"),eh=new T("enable-billing"),fh=new T("enable-api"),gh=new Zf("desired-api",pg),hh=new Yf("desired-api-result"),ih=new Xf("theme"),jh=new Xf("content-dir"),kh=new Zf("create-storage-file",og),lh=new T("menu-navigation"),mh=new T("upgrade-free-trial"),nh=new Xf("focus-container"),oh=new T("get-experiment-enabled"),ph=new Zf("autotest",
mg);var qh={element:{I:Element},id:{I:"string",optional:!0},url:{I:"string",optional:!0},content:{I:"string",optional:!0},language:{I:"string",optional:!0},authorMode:{I:"string",optional:!0},autoresume:{I:"string",optional:!0},learnPanel:{I:"string",optional:!0},onClose:{I:"function",optional:!0},onOpen:{I:"function",optional:!0},onSelectCloudProject:{I:"function",optional:!0},parseQueryParams:{I:"boolean",optional:!0},walkthroughCl:{I:"number",optional:!0}};
function rh(a){var b=[];Object.keys(qh).forEach(function(c){var d=a[c],e=qh[c],f=e.I;e.optional||void 0!==d?(void 0!==d&&"string"===typeof f&&typeof d!==f||void 0!==d&&"function"===typeof f&&!(d instanceof f))&&b.push("Option '"+c+"' requires type '"+f+"'.'"):b.push("Missing required option: '"+c+"'")});return b};var sh={tutorialId:"",tutorialUrl:"",tutorialName:"",tutorialContent:"",authorMode:!1,oics:!1,trailheadMode:!1,shouldOpenPanel:!0};function th(){var a=document.createElement("style");a.setAttribute("type","text/css");a.id="spotlight-disable-body-scroll";a.appendChild(document.createTextNode("body { overflow: hidden; }"));this.h=a};function uh(a,b){this.h=a;this.i=void 0===b?function(){}:b;this.h.j=this.i};function vh(a,b,c,d,e,f){a=wh(a);a.setAttribute("x",b.toString());a.setAttribute("y",c.toString());a.setAttribute("width",d.toString()||"0");a.setAttribute("height",e.toString()||"0");f&&(a.id=f);return a}function wh(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}var xh={top:"0",bottom:"0","z-index":"9999",left:"0",right:"0",width:"100%",height:"100%",position:"fixed",display:"block","pointer-events":"none"},yh=Object.assign({},xh,{opacity:"1"}),zh=Object.assign({},xh,{opacity:"0"});
function Ah(){var a=this;this.j=function(){};this.u="";this.B=[];this.l=function(){Bh(a);a.j()};this.m=function(d){"Escape"===d.key&&(Bh(a),a.j())};this.hidden=!0;this.i=document.createElement("div");this.i.id="walkthrough-spotlight-container";this.h=vh("svg",0,0,"100%","100%","walkthrough-spotlight-bg");Ch(this.h,zh);var b=wh("defs");this.o=vh("mask",0,0,8192,4096,"walkthrough-spotlight-mask");var c=vh("rect",0,0,8192,4096);Ch(c,{stroke:"none",fill:"#fff"});this.o.appendChild(c);b.appendChild(this.o);
this.h.appendChild(b);this.i.appendChild(this.h)}function Dh(a){(a=a.i.querySelector("#walkthrough-spotlight-covers"))&&a.remove()}function Bh(a){document.removeEventListener("click",a.l);document.removeEventListener("keydown",a.m,!0)}function Ch(a,b){b=Zb(b);a.style.cssText=Yb(b)};/*
Copyright 2020 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
function Eh(){return{v:{fb:[],ra:[]}}};function Fh(a){var b;return{Va:null!=(b=a.Va)?b:!1}};function Gh(a,b){var c,d,e,f;return null!=(f=null!=(e=null==(c=a.matches)?void 0:c.call(a,b))?e:null==(d=a.msMatchesSelector)?void 0:d.call(a,b))?f:a.webkitMatchesSelector(b)}function Hh(a,b){if(a.closest)return a.closest(b);for(;!Gh(a,b);){if(null===a.parentElement)return null;a=a.parentElement}return a};function Ih(a){return a.nodeType===Node.ELEMENT_NODE&&"http://www.w3.org/1999/xhtml"===a.namespaceURI}function Jh(a){return a.nodeType===Node.ELEMENT_NODE&&"http://www.w3.org/2000/svg"===a.namespaceURI}function V(a,b){return a.tagName.toLowerCase()===b};function Kh(a){if(!Ih(a))return!1;if("hidden"===window.getComputedStyle(a).visibility||null!==Hh(a,'[hidden],[aria-hidden="true"]'))return!0;for(;null!==a;){if("none"===window.getComputedStyle(a).display)return!0;a=a.parentElement}return!1};function Lh(a){var b,c;a=null!=(c=null==(b=a.getAttribute("aria-labelledby"))?void 0:b.split(" "))?c:[];b=[];c=z(a);for(a=c.next();!a.done;a=c.next())(a=document.getElementById(a.value))&&b.push(a);return b};var Mh=["email","tel","text","url","search"],Nh=["number","range"],Oh=["spinbutton","slider","progressbar","scrollbar"];
function Ph(a){var b,c=null!=(b=a.getAttribute("role"))?b:"";b=Oh.includes(c);if(c&&!b)return null;c=V(a,"input")&&Nh.includes(a.type)||V(a,"progress");if(b||c){if(a.hasAttribute("aria-valuetext"))return a.getAttribute("aria-valuetext");if(a.hasAttribute("aria-valuenow"))return a.getAttribute("aria-valuenow");if(V(a,"input"))return a.value;if(V(a,"progress"))return a.value.toString()}return null}
function Qh(a,b,c,d){var e=a.getAttribute("role");if(e&&"listbox"!==e&&"combobox"!==e)return null;if(V(a,"input")&&Mh.includes(a.type)&&(a.hasAttribute("list")||"combobox"===e))return a.value;var f=[];e&&"listbox"===e?f=Array.from(a.querySelectorAll('[role="option"][aria-selected="true"]')):V(a,"select")&&(f=Array.from(a.selectedOptions));return 0<f.length?f.map(function(g){return d(g,b,{v:c.v}).name}).filter(function(g){return""!==g}).join(" "):null}
function Rh(a,b,c,d){if(!Ih(a)||!c.v.aa)return null;var e;return(e=(e=a.getAttribute("role"))&&"textbox"!==e?null:V(a,"textarea")?a.value:V(a,"input")&&Mh.includes(a.type)&&!a.hasAttribute("list")?a.value:null)?e:(b=Qh(a,b,c,d))?b:(a=Ph(a))?a:null};var Sh="BUTTON INPUT METER OUTPUT PROGRESS SELECT TEXTAREA".split(" ");function Th(a,b,c,d){return Array.from(document.querySelectorAll("label")).filter(function(e){return void 0!==e.control?e.control===a:""!==e.htmlFor&&e.htmlFor===a.id?!0:""===e.htmlFor&&e.contains(a)?!0:!1}).map(function(e){return d(e,b,{ya:!0,v:c.v}).name}).filter(function(e){return""!==e}).join(" ")||null};var Uh={Ja:"button cell checkbox columnheader gridcell heading link menuitem menuitemcheckbox menuitemradio option radio row rowgroup rowheader switch tab tooltip tree treeitem".split(" "),tags:"button h1 h2 h3 h4 h5 h6 summary tbody tfoot thead".split(" ")},Vh={Ja:"alert alertdialog application article banner complementary dialog document feed figure form grid group img listbox log main marquee math menu menubar navigation radiogroup region scrollbar search searchbox separator slider spinbutton tablist tabpanel textbox timer toolbar treegrid".split(" "),
tags:"article aside body datalist dialog fieldset figure footer form header hr img input main math menu nav optgroup section select textarea".split(" ")},Wh={Ja:"contentinfo definition directory list note status table term".split(" "),tags:"dd details dl ol output table ul".split(" ")};
function Xh(a){switch(a){case "th":return function(b){return null!==Hh(b,"table")};case "td":return function(b){return null!==Hh(b,"table")};case "option":return function(b){return null!==Hh(b,"select,datalist")};case "a":return function(b){return b.hasAttribute("href")};case "area":return function(b){return b.hasAttribute("href")};case "link":return function(b){return b.hasAttribute("href")};default:return null}}
function Yh(a,b){var c,d,e=null!=(d=null==(c=a.getAttribute("role"))?void 0:c.trim().toLowerCase())?d:"";return b.Ja.includes(e)||b.tags.includes(a.nodeName.toLowerCase())?!0:!1}
function Zh(a,b){if(b.v.aa&&a.parentElement&&Yh(a.parentElement,Uh)&&Yh(a,Wh))return!0;if(Yh(a,Vh)){var c;return"menu"===(null==(c=a.getAttribute("role"))?void 0:c.toLowerCase())?!1:(V(a,"a")||V(a,"area")||V(a,"link"))&&a.hasAttribute("href")||(V(a,"input")||V(a,"select")||V(a,"textarea")||V(a,"button"))&&!a.hasAttribute("disabled")?!0:a.hasAttribute("tabindex")||a.isContentEditable}return Yh(a,Uh)?!0:(c=Xh(a.nodeName.toLowerCase()))&&c(a)||b.ya||b.v.aa?!0:!1}
function $h(a,b){b=window.getComputedStyle(a,b);a=b.content;b="block"===b.display;return'"'===a[0]&&'"'===a[a.length-1]||"'"===a[0]&&"'"===a[a.length-1]?b?" "+a.slice(1,-1)+" ":a.slice(1,-1):""}var ai="a abbr acronym b bdi bdo big button canvas cite code data datalist del dfn em embed i iframe img ins kbd label map mark meter noscript object output picture progress q ruby s samp script select slot small span strong sub sup template textarea time tt u var video wbr".split(" ");var bi="text password search tel email url".split(" ");var ci={"2A":function(a,b,c){var d=null;Kh(a)&&!c.ya&&(d="");return d},"2B":function(a,b,c,d){if(!Ih(a)||c.ya)return null;a=Lh(a);return 0===a.length?null:a.map(function(e){c.v.aa=!0;return d(e,b,{ya:!0,v:c.v}).name}).join(" ").trim()},"2C":function(a,b,c,d){if(a.nodeType!==Node.ELEMENT_NODE)return null;var e,f=null!=(e=a.getAttribute("aria-label"))?e:"";return""===f.trim()?null:c.v.aa&&(a=Rh(a,b,{v:c.v},d),null!==a)?a:f},"2D":function(a,b,c,d){if(Jh(a))for(var e=z(a.childNodes),f=e.next();!f.done;f=
e.next())if(f=f.value,Jh(f)&&V(f,"title"))return f.textContent;(e=!Ih(a))||(e=a.getAttribute("role"),e="presentation"===e||"none"===e||null===e&&V(a,"img")&&""===a.getAttribute("alt")?!0:!1);if(e)return null;if(Sh.includes(a.tagName)&&(e=Th(a,b,c,d)))return e;if(V(a,"input")){var g;e=null!=(g=a.getAttribute("type"))?g:"";if(g="button"!==e&&"submit"!==e&&"reset"!==e||!a.hasAttribute("value")?"submit"===e||"reset"===e?e:"image"===e&&a.hasAttribute("alt")?a.getAttribute("alt"):"image"!==e||a.hasAttribute("title")?
null:"Submit Query":a.value)return g}return V(a,"table")&&(g=a.querySelector("caption"))?(c.v.aa=!0,d(g,b,{v:c.v}).name):V(a,"figure")&&(g=a.querySelector("figcaption"))?(c.v.aa=!0,d(g,b,{v:c.v}).name):V(a,"fieldset")&&(g=a.querySelector("legend"))?(c.v.aa=!0,d(g,b,{v:c.v}).name):(b=a.getAttribute("alt"))&&(V(a,"img")||V(a,"area"))?b:null},"2E":Rh,"2F":function(a,b,c,d){if(!Ih(a)||!Zh(a,c))return null;var e=Array.from(a.childNodes),f=a.getAttribute("aria-owns");if(f){f=z(f.split(" "));for(var g=f.next();!g.done;g=
f.next())(g=document.getElementById(g.value))&&e.push(g)}f=[];e=z(e);for(g=e.next();!g.done;g=e.next())if(g=g.value,!c.v.fb.includes(g)){c.v.fb.push(g);c.v.aa=!0;var h=d(g,b,{v:c.v}).name;ai.includes(g.nodeName.toLowerCase())||g.nodeType===Node.TEXT_NODE?f.push(h):f.push(" "+h+" ")}b.Va&&(f.unshift($h(a,":before")),f.push($h(a,":after")));a=f.join("");return""===a.trim()?null:a},"2G":function(a){return a.nodeType===Node.TEXT_NODE?a.data:null},"2I":function(a){return Ih(a)?a.title?a.title:V(a,"input")&&
bi.includes(a.type)?a.placeholder:V(a,"textarea")&&a.hasAttribute("placeholder")?a.getAttribute("placeholder"):null:null}};function di(a,b,c){b=void 0===b?Fh({}):b;c=void 0===c?Eh():c;for(var d=z(Object.entries(ci)),e=d.next();!e.done;e=d.next()){var f=z(e.value);e=f.next().value;f=f.next().value;f=f(a,b,c,di);if(null!==f)return b=f.replace(/\s+/g," "),c.v.ra.push({Eb:e,node:a,text:b}),{name:b,ra:c.v.ra}}return{name:"",ra:c.v.ra}};/*
Copyright 2021 The Semantic Locators Authors
SPDX-License-Identifier: Apache-2.0
*/
function ei(a){throw Error("unexpected value "+a+"!");}function fi(a){if(gi())for(var b=1;b<a.length;b++)if(0<hi(a[b-1],a[b]))throw Error("Elements not passed in document order. Index "+(b-1)+" comes after index "+(b+". Elements: "+JSON.stringify(a)));}function hi(a,b){return a===b?0:a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}function ii(a){return a.filter(function(b,c){return a[c-1]!==b})}function W(a,b){return a.tagName.toLowerCase()===b}
function ji(a,b){if(gi()&&!a)throw a="Assertion failed",void 0!==b&&(a+=": "+b),Error(a);}function gi(){var a,b;return(null==(a=window)?void 0:null==(b=a.h)?void 0:b.vb)||!1};var ki=[],li=!1;function mi(a){ji(!li,"Already in a batch operation");li=!0;try{a()}finally{ji(li,"Not in a batch operation");li=!1;a=z(ki);for(var b=a.next();!b.done;b=a.next())b.value.clear()}}function ni(a){var b=new Map;ki.push(b);return function(){var c=Ua.apply(0,arguments);if(!li)return a.apply(null,ha(c));for(var d=b,e=z(c),f=e.next();!f.done;f=e.next())f=f.value,f=void 0!==f.Sa?f.Sa():f,d=oi(d,f,function(){return new Map});return oi(d,void 0,function(){return a.apply(null,ha(c))})}}
function oi(a,b,c){var d=a.get(b);void 0===d&&(d=c(),a.set(b,d));return d};function pi(){var a=Error.apply(this,arguments);this.message=a.message;"stack"in a&&(this.stack=a.stack)}A(pi,Error);function qi(){pi.apply(this,arguments)}A(qi,pi);function ri(){pi.apply(this,arguments)}A(ri,pi);var si=ni(function(a){var b=void 0===b?{}:b;b=void 0===b?{}:b;var c=void 0===c?Eh():c;return di(a,Fh(b),c).name.trim()});var ti="checked current disabled pressed selected colindex level posinset readonly rowindex".split(" ");var ui=new Set("alert alertdialog application directory feed grid log marquee menu menubar menuitem menuitemcheckbox menuitemradio note radiogroup scrollbar search switch tab tablist tabpanel timer toolbar tooltip tree treegrid treeitem".split(" ")),vi="button checkbox img math menuitemcheckbox menuitemradio progressbar radio scrollbar separator slider switch tab".split(" "),wi={article:{s:"article"},banner:{F:[{C:"header",conditions:[{type:1,Ra:'article,aside,main,nav,section,[role="article"],[role="complementary"],[role="main"],[role="navigation"],[role="region"]'}]}]},
button:{s:"button,summary",F:[{C:"input",conditions:[{type:5,propertyName:"type",values:["button","image","reset","submit"]}]}]},cell:{F:[{C:"td",conditions:[{type:6,tag:"table",role:"table"}]},{C:'th:not([scope="col"]):not([scope="colgroup"]):not([scope="row"]):not([scope="rowgroup"])',conditions:[{type:6,tag:"table",role:"table"},{type:8,Fa:!0},{type:7,xa:!0}]}]},checkbox:{F:[{C:"input",conditions:[{type:5,propertyName:"type",values:["checkbox"]}]}]},columnheader:{s:'th[scope="col"],th[scope="colgroup"]',
F:[{C:'th:not([scope="col"]):not([scope="colgroup"]):not([scope="row"]):not([scope="rowgroup"])',conditions:[{type:7,xa:!1}]}]},combobox:{s:"select:not([multiple]):not([size])",F:[{C:"select:not([multiple])",conditions:[{type:3,ua:"size",value:2}]},{C:"input[list]",conditions:[{type:5,propertyName:"type",values:["email","search","tel","text","url"]}]}]},complementary:{s:"aside"},contentinfo:{F:[{C:"footer",conditions:[{type:1,Ra:'article,aside,main,nav,section,[role="article"],[role="complementary"],[role="main"],[role="navigation"],[role="region"]'}]}]},
definition:{s:"dd"},dialog:{s:"dialog"},document:{s:"body"},figure:{s:"figure"},form:{F:[{C:"form",conditions:[{type:4}]}]},gridcell:{F:[{C:"td",conditions:[{type:6,tag:"table",role:"grid"}]},{C:"td",conditions:[{type:6,tag:"table",role:"treegrid"}]},{C:'th:not([scope="col"]):not([scope="colgroup"]):not([scope="row"]):not([scope="rowgroup"])',conditions:[{type:6,tag:"table",role:"treegrid"},{type:8,Fa:!0},{type:7,xa:!0}]}]},group:{s:"details,fieldset,optgroup"},heading:{s:"h1,h2,h3,h4,h5,h6"},img:{s:'img:not([alt]),img[alt]:not([alt=""])'},
link:{s:"a[href],area[href],link[href]"},list:{s:"menu,ol,ul"},listbox:{s:"datalist,select[multiple]",F:[{C:"select",conditions:[{type:2,ua:"size",value:1}]}]},listitem:{s:"li"},main:{s:"main"},math:{s:"math"},navigation:{s:"nav"},option:{s:"datalist > option,select > optgroup > option,select > option"},progressbar:{s:"progress"},radio:{F:[{C:"input",conditions:[{type:5,propertyName:"type",values:["radio"]}]}]},region:{F:[{C:"section",conditions:[{type:4}]}]},row:{s:"tr"},rowgroup:{s:"tbody,tfoot,thead"},
rowheader:{s:'th[scope="row"],th[scope="rowgroup"]',F:[{C:'th:not([scope="col"]):not([scope="colgroup"]):not([scope="row"]):not([scope="rowgroup"])',conditions:[{type:8,Fa:!1},{type:7,xa:!0}]}]},searchbox:{F:[{C:"input:not([list])",conditions:[{type:5,propertyName:"type",values:["search"]}]}]},separator:{s:"hr"},slider:{F:[{C:"input",conditions:[{type:5,propertyName:"type",values:["range"]}]}]},spinbutton:{F:[{C:"input",conditions:[{type:5,propertyName:"type",values:["number"]}]}]},status:{s:"output"},
table:{s:"table"},term:{s:"dfn,dt"},textbox:{s:"textarea",F:[{C:"input:not([list])",conditions:[{type:5,propertyName:"type",values:["email","tel","text","url"]}]}]}},xi={a:["link"],area:["link"],article:["article"],aside:["complementary"],body:["document"],button:["button"],datalist:["listbox"],dd:["definition"],details:["group"],dfn:["term"],dialog:["dialog"],dt:["term"],fieldset:["group"],figure:["figure"],footer:["contentinfo"],form:["form"],h1:["heading"],h2:["heading"],h3:["heading"],h4:["heading"],
h5:["heading"],h6:["heading"],header:["banner"],hr:["separator"],img:["img"],input:"button checkbox combobox radio searchbox slider spinbutton textbox".split(" "),li:["listitem"],link:["link"],main:["main"],math:["math"],menu:["list"],nav:["navigation"],ol:["list"],optgroup:["group"],option:["option"],output:["status"],progress:["progressbar"],section:["region"],select:["combobox","listbox"],summary:["button"],table:["table"],tbody:["rowgroup"],td:["cell","gridcell"],textarea:["textbox"],tfoot:["rowgroup"],
th:["cell","columnheader","gridcell","rowheader"],thead:["rowgroup"],tr:["row"],ul:["list"]},yi=["none","presentation"];function zi(a,b){a=Ai(a);b=Bi(a,b);return a.cells.slice(b.qb,b.nb+1).some(function(c){return c.some(Ci)})}function Di(a,b){a=Ai(a);b=Bi(a,b);var c=b.pb,d=b.mb;return a.cells.some(function(e){return e.slice(c,d+1).some(Ci)})}function Ei(a){this.cells=a=void 0===a?[]:a}function Fi(a,b,c){return Gi(a,c)[b]}function Gi(a,b){void 0===a.cells[b]&&(a.cells[b]=[]);return a.cells[b]}
function Bi(a,b){for(var c=a.width,d=a.height,e=-1,f=-1,g=0;g<a.height;g++){var h=Gi(a,g),k=h.indexOf(b);-1!==k&&(e=Math.max(e,h.lastIndexOf(b)),f=Math.max(f,g),c=Math.min(c,k),d=Math.min(d,g))}ji(e<a.width&&f<a.height&&-1<c&&-1<d,"Target cell not found in table");return{pb:c,qb:d,mb:e,nb:f}}Ei.prototype.concat=function(a){this.cells=this.cells.concat(a.cells)};
da.Object.defineProperties(Ei.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return this.cells.length}},width:{configurable:!0,enumerable:!0,get:function(){return Math.max.apply(Math,ha(this.cells.map(function(a){return a.length})))}}});
function Ai(a){var b=new Ei;null!==a.tHead&&b.concat(Hi(a.tHead.rows));for(var c=z(a.tBodies),d=c.next();!d.done;d=c.next())b.concat(Hi(d.value.rows));c=[];d=z(a.children);for(var e=d.next();!e.done;e=d.next())e=e.value,e.nodeType===Node.ELEMENT_NODE&&"http://www.w3.org/1999/xhtml"===e.namespaceURI&&W(e,"tr")&&c.push(e);b.concat(Hi(c));null!==a.tFoot&&b.concat(Hi(a.tFoot.rows));return b}
function Hi(a){for(var b=new Ei,c=[],d=0;d<a.length;d++){for(var e=0,f=z(a[d].cells),g=f.next();!g.done;g=f.next()){for(g=g.value;Fi(b,e,d)||c[e];){if(!Ci(Fi(b,e,d))&&c[e]){var h=e,k=c[e];Gi(b,d)[h]=k}e++}for(h=e;h<e+g.colSpan;h++)for(0===Ii(g)&&(c[h]=g,k=h,Gi(b,d)[k]=g),k=d;k<d+Ii(g);k++)if(!Ci(Fi(b,h,k))){var l=h;Gi(b,k)[l]=g}e+=g.colSpan}for(;e<b.width;e++)f=c[e],void 0===f||Ci(Fi(b,e,d))||(g=e,Gi(b,d)[g]=f)}return b}
function Ii(a){a=a.getAttribute("rowSpan");if(null===a||""===a.trim())return 1;a=Number(a);return isNaN(a)?1:a}function Ci(a){return void 0!==a&&W(a,"td")};function Ji(a,b,c,d){var e=Array.from(b.querySelectorAll('[role="'+a+'"]'));if(ui.has(a))return e.filter(function(k){return c||!Ki(k)}).filter(function(k){return d||null===(k.parentElement?Li(k.parentElement,Mi):null)});e=new Set(e);a=wi[a];var f=a.s;if(f){f=Ni(f,b);var g=z(f);for(f=g.next();!f.done;f=g.next())e.add(f.value)}var h;a=z(null!=(h=a.F)?h:[]);for(h=a.next();!h.done;h=a.next())for(h=h.value,h=Ni(h.C,b,h.conditions),h=z(h),f=h.next();!f.done;f=h.next())e.add(f.value);return Oi(e).filter(function(k){return c||
!Ki(k)}).filter(function(k){return d||null===(k.parentElement?Li(k.parentElement,Mi):null)}).sort(hi)}function Pi(a){var b=a.getAttribute("role");if(null!==b)return yi.includes(b)||!ui.has(b)&&!wi.hasOwnProperty(b)?null:b;var c;return(null!=(c=xi[a.tagName.toLowerCase()])?c:[]).find(function(d){return Qi(a,d)})||null}
function Ki(a){if("hidden"===window.getComputedStyle(a).visibility||null!==Li(a,'[aria-hidden="true"]'))return!0;for(;null!==a;){if("none"===window.getComputedStyle(a).display)return!0;a=a.parentElement}return!1}
function Ri(a,b){switch(b.type){case 2:var c=a.getAttribute(b.ua);return null!==c&&Number(c)>b.value;case 3:return c=a.getAttribute(b.ua),null!==c&&Number(c)<b.value;case 4:return a.hasAttribute("aria-label")||a.hasAttribute("aria-labelledby")&&a.getAttribute("aria-labelledby").split(" ").some(function(d){return void 0!==document.getElementById(d)});case 1:return null===Li(a,b.Ra);case 0:return a[b.propertyName]===b.value;case 5:return b.values.some(function(d){return d===a[b.propertyName]});case 6:c=
a.parentElement;if(null===c)return!1;c=Li(c,b.tag);return null!==c&&Pi(c)===b.role;case 8:return c=Li(a,"table"),null===c?!1:b.Fa===Di(c,a);case 7:return c=Li(a,"table"),null===c?!1:b.xa===zi(c,a);default:ei(b)}}function Si(a,b,c){var d=Li(a.parentElement,Ti(b));return null===d?null:c.flatMap(function(e){return Ji(e,d,!1,!1)}).filter(function(e){return d===Li(e.parentElement,Ti(b))}).sort(hi).indexOf(a)+1||null}
function Qi(a,b){b=wi[b];var c=b.s;if(c&&Ui(a,c))return!0;var d,e;return null!=(e=null==(d=b.F)?void 0:d.some(function(f){return Ui(a,f.C)&&f.conditions.every(function(g){return Ri(a,g)})}))?e:!1}var Mi=vi.map(Ti).join(",");
function Ti(a){var b='[role="'+a+'"]';if(wi.hasOwnProperty(a)){var c=wi[a];void 0!==c.s&&(b+=","+Vi(c.s));var d,e=z(null!=(d=c.F)?d:[]);for(d=e.next();!d.done;d=e.next())if("input"!==d.value.C)throw Error("Not implemented: closestWithRole called with a role which requires a condition to be checked. Role: "+a+"; Selector: "+c);}return b}function Ni(a,b,c){a=Array.from(b.querySelectorAll(Vi(a)));return c?a.filter(function(d){return c.every(function(e){return Ri(d,e)})}):a}
function Vi(a){return a.split(",").map(function(b){return b+":not([role])"}).join(",")}function Ui(a,b){var c,d,e,f;return null!=(f=null!=(e=null==(c=a.matches)?void 0:c.call(a,b))?e:null==(d=a.msMatchesSelector)?void 0:d.call(a,b))?f:a.webkitMatchesSelector(b)}function Li(a,b){if(a.closest)return a.closest(b);for(;!Ui(a,b);){if(null===a.parentElement)return null;a=a.parentElement}return a}function Oi(a){var b=[];a=z(a);for(var c=a.next();!c.done;c=a.next())b.push(c.value);return b};function Wi(a,b){if(a.hasAttribute("aria-"+b))return a.getAttribute("aria-"+b);switch(b){case "checked":return W(a,"input")&&["checkbox","radio"].includes(a.type)?a.checked.toString():null;case "current":return"false";case "disabled":return((W(a,"button")||W(a,"fieldset")||W(a,"input")||W(a,"optgroup")||W(a,"option")||W(a,"select")||W(a,"textarea"))&&a.disabled).toString();case "pressed":return"false";case "selected":return W(a,"option")?a.selected.toString():null;case "colindex":return(a=Si(a,"row",
["columnheader","cell"]))?String(a):null;case "level":return a=a.tagName.match(/^H([1-6])$/),null===a?null:a[1];case "rowindex":return(a=Si(a,"table",["row"]))?String(a):null;case "posinset":return b=Pi(a),"listitem"===b?(a=Si(a,"list",["listitem"]))?String(a):null:"treeitem"===b?(a=Si(a,"tree",["treeitem"]))?String(a):null:null;case "readonly":return(W(a,"input")&&a.readOnly||"false"===a.contentEditable).toString();default:ei(b)}};function Xi(a){return void 0!==a.X}function Yi(a){var b=a.map(Zi),c=Math.max.apply(Math,ha(b));a=a.filter(function(d,e){return b[e]===c});return{J:ii(a.flatMap(function(d){return d.J}).sort(hi)),V:a[0].V,ba:a[0].ba,Z:a[0].Z}}function Zi(a){var b,c=a.V.length;a=null!=(b=a.ba)?b:{};b=0;void 0!==a.role&&b++;void 0!==a.attributes&&(b+=a.attributes.length);void 0!==a.name&&b++;return c+b/50};function $i(a){fi(a);if(0===a.length)return[];var b=[a[0]];a=z(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[b.length-1].contains(c)||b.push(c);return b};function aj(a,b){this.Aa=a;this.pa=b;a=a.concat(b);b=z(a);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.role;if(!ui.has(d)&&!wi.hasOwnProperty(d))throw new ri("Invalid locator: "+this+(" Unknown role: "+c.role+". The list of valid roles can be found at https://www.w3.org/TR/wai-aria/#role_definitions"));if(c!==a[a.length-1]&&vi.includes(c.role))throw new ri("Invalid locator: "+this+(' The role "'+c.role+'" has presentational children. That means its descendants cannot have semantics, so an element with a role of ')+
(c.role+" may only be the final element of a Semantic Locator. https://www.w3.org/TR/wai-aria-practices/#children_presentational"));c=z(c.attributes);for(d=c.next();!d.done;d=c.next())if(d=d.value,!ti.includes(d.name))throw new ri("Invalid locator: "+this+(" Unsupported attribute: "+d.name+". Supported attributes: ")+ti);}}
aj.prototype.toString=function(a){for(var b=[],c=z(this.Aa),d=c.next();!d.done;d=c.next())b.push(d.value.toString(a));if(0<this.pa.length)for(b.push("outer"),c=z(this.pa),d=c.next();!d.done;d=c.next())b.push(d.value.toString(a));return b.join(" ")};aj.prototype.Sa=function(){return this.toString()};function bj(a,b,c){this.role=a;this.attributes=b;this.name=c}
bj.prototype.toString=function(a){var b="{"+this.role;if(this.name){b+=" ";var c=this.name;void 0===a&&(a=c.includes("'")&&!c.includes('"')?'"':"'");c=c.replace(new RegExp(a,"g"),"\\"+a);b+=a+c+a}a=z(this.attributes);for(c=a.next();!c.done;c=a.next())c=c.value,b+=" "+c.name+":"+c.value;return b+"}"};function cj(a,b,c,d){b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.message=a;this.X=c;this.location=d;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,cj)}A(cj,Error);
function dj(a,b){function c(g){return g.charCodeAt(0).toString(16).toUpperCase()}function d(g){return g.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(h){return"\\x0"+c(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+c(h)})}function e(g){return g.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,
"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(h){return"\\x0"+c(h)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(h){return"\\x"+c(h)})}function f(g){switch(g.type){case "literal":return'"'+d(g.text)+'"';case "class":var h=g.sb.map(function(k){return Array.isArray(k)?e(k[0])+"-"+e(k[1]):e(k)});return"["+(g.kb?"^":"")+h+"]";case "any":return"any character";case "end":return"end of input";case "other":return g.description}}return"Expected "+function(g){g=g.map(f);var h,k;g.sort();if(0<g.length){for(k=
h=1;h<g.length;h++)g[h-1]!==g[h]&&(g[k]=g[h],k++);g.length=k}switch(g.length){case 1:return g[0];case 2:return g[0]+" or "+g[1];default:return g.slice(0,-1).join(", ")+", or "+g[g.length-1]}}(a)+" but "+(b?'"'+d(b)+'"':"end of input")+" found."}
function ej(a){function b(p,r){return{type:"literal",text:p,ignoreCase:r}}function c(p,r,v){return{type:"class",sb:p,kb:r,ignoreCase:v}}function d(p){var r=oc[p],v;if(!r){for(v=p-1;!oc[v];)v--;r=oc[v];for(r={line:r.line,W:r.W};v<p;)10===a.charCodeAt(v)?(r.line++,r.W=1):r.W++,v++;oc[p]=r}return r}function e(p,r){var v=d(p),B=d(r);return{start:{offset:p,line:v.line,W:v.W},end:{offset:r,line:B.line,W:B.W}}}function f(p){q<la||(q>la&&(la=q,Od=[]),Od.push(p))}function g(){var p;var r=q;var v=[];for(p=
h();p!==n;)v.push(p),p=h();if(v!==n){p=q;if("outer"===a.substr(q,5)){var B="outer";q+=5}else B=n,0===F&&f(pc);B===n&&(B=null);if(B!==n)if(B=E(),B!==n){B=[];var G=h();if(G!==n)for(;G!==n;)B.push(G),G=h();else B=n;B!==n?p=B:(q=p,p=n)}else q=p,p=n;else q=p,p=n;p===n&&(p=null);p!==n?r=v=new aj(v,p||[]):(q=r,r=n)}else q=r,r=n;return r}function h(){var p;var r=q;if(123===a.charCodeAt(q)){var v="{";q++}else v=n,0===F&&f(Ya);if(v!==n)if(v=E(),v!==n)if(v=l(),v!==n){var B=E();if(B!==n){B=q;if(34===a.charCodeAt(q)){var G=
'"';q++}else G=n,0===F&&f(qc);if(G!==n){G=[];for(p=m();p!==n;)G.push(p),p=m();G!==n?(34===a.charCodeAt(q)?(p='"',q++):(p=n,0===F&&f(qc)),p!==n?B=G=G.join(""):(q=B,B=n)):(q=B,B=n)}else q=B,B=n;if(B===n)if(B=q,39===a.charCodeAt(q)?(G="'",q++):(G=n,0===F&&f(rc)),G!==n){G=[];for(p=u();p!==n;)G.push(p),p=u();G!==n?(39===a.charCodeAt(q)?(p="'",q++):(p=n,0===F&&f(rc)),p!==n?B=G=G.join(""):(q=B,B=n)):(q=B,B=n)}else q=B,B=n;B===n&&(B=null);if(B!==n)if(G=E(),G!==n){G=[];for(p=k();p!==n;)G.push(p),p=k();G!==
n?(p=E(),p!==n?(125===a.charCodeAt(q)?(p="}",q++):(p=n,0===F&&f(sc)),p!==n?(p=E(),p!==n?r=v=B?new bj(v,G,B):new bj(v,G):(q=r,r=n)):(q=r,r=n)):(q=r,r=n)):(q=r,r=n)}else q=r,r=n;else q=r,r=n}else q=r,r=n}else q=r,r=n;else q=r,r=n;else q=r,r=n;return r}function k(){var p=q;var r=E();if(r!==n)if(r=l(),r!==n){if(58===a.charCodeAt(q)){var v=":";q++}else v=n,0===F&&f(tc);if(v!==n){v=[];if(Sg.test(a.charAt(q))){var B=a.charAt(q);q++}else B=n,0===F&&f(Tg);if(B!==n)for(;B!==n;)v.push(B),Sg.test(a.charAt(q))?
(B=a.charAt(q),q++):(B=n,0===F&&f(Tg));else v=n;v!==n&&(v=v.join(""));v!==n?(B=E(),B!==n?p=r={name:r,value:v}:(q=p,p=n)):(q=p,p=n)}else q=p,p=n}else q=p,p=n;else q=p,p=n;return p}function l(){var p=[];if(H.test(a.charAt(q))){var r=a.charAt(q);q++}else r=n,0===F&&f(Ug);if(r!==n)for(;r!==n;)p.push(r),H.test(a.charAt(q))?(r=a.charAt(q),q++):(r=n,0===F&&f(Ug));else p=n;p!==n&&(p=p.join(""));return p}function m(){var p;var r=p=q;F++;if(34===a.charCodeAt(q)){var v='"';q++}else v=n,0===F&&f(qc);v===n&&(92===
a.charCodeAt(q)?(v="\\",q++):(v=n,0===F&&f(Db)));F--;v===n?r=void 0:(q=r,r=n);r!==n?(a.length>q?(v=a.charAt(q),q++):(v=n,0===F&&f(Vg)),v!==n?p=v:(q=p,p=n)):(q=p,p=n);p===n&&(p=q,92===a.charCodeAt(q)?(r="\\",q++):(r=n,0===F&&f(Db)),r!==n?(v=x(),v!==n?p=v:(q=p,p=n)):(q=p,p=n));return p}function u(){var p;var r=p=q;F++;if(39===a.charCodeAt(q)){var v="'";q++}else v=n,0===F&&f(rc);v===n&&(92===a.charCodeAt(q)?(v="\\",q++):(v=n,0===F&&f(Db)));F--;v===n?r=void 0:(q=r,r=n);r!==n?(a.length>q?(v=a.charAt(q),
q++):(v=n,0===F&&f(Vg)),v!==n?p=v:(q=p,p=n)):(q=p,p=n);p===n&&(p=q,92===a.charCodeAt(q)?(r="\\",q++):(r=n,0===F&&f(Db)),r!==n?(v=x(),v!==n?p=v:(q=p,p=n)):(q=p,p=n));return p}function x(){if(39===a.charCodeAt(q)){var p="'";q++}else p=n,0===F&&f(rc);p===n&&(34===a.charCodeAt(q)?(p='"',q++):(p=n,0===F&&f(qc)),p===n&&(92===a.charCodeAt(q)?(p="\\",q++):(p=n,0===F&&f(Db))));return p}function E(){F++;var p=[];if(Wg.test(a.charAt(q))){var r=a.charAt(q);q++}else r=n,0===F&&f(Xg);for(;r!==n;)p.push(r),Wg.test(a.charAt(q))?
(r=a.charAt(q),q++):(r=n,0===F&&f(Xg));F--;p===n&&0===F&&f(ik);return p}var w=void 0!==w?w:{};var n={},Za={wb:g},ya=g,pc=b("outer",!1),Ya=b("{",!1),sc=b("}",!1),tc=b(":",!1),H=/^[a-z]/,Ug=c([["a","z"]],!1,!1),Sg=/^[a-z0-9_]/,Tg=c([["a","z"],["0","9"],"_"],!1,!1),qc=b('"',!1),rc=b("'",!1),Db=b("\\",!1),Vg={type:"any"},ik={type:"other",description:"space"},Wg=/^[ \t]/,Xg=c([" ","\t"],!1,!1),q=0,oc=[{line:1,W:1}],la=0,Od=[],F=0;if(void 0!==w.La){if(!(w.La in Za))throw Error("Can't start parsing from rule \""+
w.La+'".');ya=Za[w.La]}w=ya();if(w!==n&&q===a.length)return w;w!==n&&q<a.length&&f({type:"end"});throw function(p,r,v){return new cj(dj(p,r),p,r,v)}(Od,la<a.length?a.charAt(la):null,la<a.length?e(la,la+1):e(la,la));};function fj(a){var b=void 0===b?document.body:b;try{var c=ej(a)}catch(e){if(e instanceof ri)throw e;var d;throw new ri('Failed to parse semantic locator "'+a+'". '+(null!=(d=e.message)?d:e));}if(gi()&&!(c instanceof aj))throw Error("parse("+a+") didn't return a SemanticLocator. Return value "+JSON.stringify(c));a=c;if(0===a.Aa.length&&0===a.pa.length)throw new ri("Locator is empty");b=gj(a,b);return void 0!==b.J?[]:b.X}
function gj(a,b){b=void 0===b?document.body:b;var c=void 0===c?!1:c;var d=void 0===d?!1:d;var e=null;li?e=hj(a,b,c,d):mi(function(){e=hj(a,b,c,d)});return e}var hj=ni(ij);function ij(a,b,c,d){b=jj(a.Aa,[b],c,d);if(void 0!==b.J||0===a.pa.length)return b;b=b.X.map(function(f){return jj(a.pa,[f],c,d)});var e=b.filter(Xi).flatMap(function(f){return $i(f.X)});return 0===e.length?(b=Yi(b),{V:a.Aa.concat(b.V),J:b.J,Z:b.Z,ba:b.ba}):{X:ii(e.sort(hi))}}
function jj(a,b,c,d){for(var e=0;e<a.length;e++){b=kj(a[e],b,c,d);if(void 0!==b.J)return{V:a.slice(0,e),J:b.J,Z:b.Z,ba:b.ba};b=b.X}return{X:b}}
function kj(a,b,c,d){b=$i(b);var e=b.flatMap(function(h){return Ji(a.role,h,c,d)});if(0===e.length)return{V:[],J:b,Z:{role:a.role}};var f=a.attributes;for(b={T:0};b.T<f.length;b={T:b.T},b.T++){var g=e.filter(function(h){return function(k){return Wi(k,f[h.T].name)===f[h.T].value}}(b));if(0===g.length)return{V:[],J:e,Z:{ua:f[b.T]},ba:{role:a.role,attributes:f.slice(0,b.T)}};e=g}if(a.name){b=e.filter(function(h){a:{var k=a.name;h=si(h);if("*"===k)throw new qi("* is invalid as an accessible name. To match any accessible name omit it from the locator e.g. {button}.");
var l=k.split("*");if(h.startsWith(l[0])&&h.endsWith(l[l.length-1])){k=0;l=z(l);for(var m=l.next();!m.done;m=l.next()){m=m.value;k=h.indexOf(m,k);if(-1===k){h=!1;break a}k+=m.length}h=!0}else h=!1}return h});if(0===b.length)return{V:[],J:e,Z:{name:a.name},ba:{role:a.role,attributes:a.attributes}};e=b}fi(e);return{X:e}};var lj=Object.freeze({padding:0,shape:"auto",bb:!1,target:"",internalBounds:[]}),mj=/\[aria-label\s*=\s*(['|"])(.*?)\1\]/g,nj=/text\((['|"])(.*?)\1\)/g,oj=/{[a-z]+?\s(['|"])(.*?)\1}/g;function pj(a,b){var c=this;var d=void 0===d?new Ah:d;var e=void 0===e?new th:e;this.window=a;this.Ca=b;this.l=d;this.o=e;this.h=new Map;this.m=this.clearSpotlights.bind(this);this.i=new uh(d,function(){c.clearSpotlights()});document.body.appendChild(qj())}
function rj(a){if(a.j)return a.j;a.j=new Promise(function(b,c){var d=new XMLHttpRequest;d.onreadystatechange=function(){if(d.readyState===d.DONE){var e=new Map;if(200===d.status)for(var f=JSON.parse(d.responseText),g=z(Object.keys(f)),h=g.next();!h.done;h=g.next())h=h.value,e.set(h,f[h]);else c(Error("Could not load translation JSON"));b(e)}};d.open("GET","https://walkthroughs.googleusercontent.com/tutorial/resources/registry/spotlight_translations.json");d.send()});return a.j}
pj.prototype.spotlight=function(a,b){b=void 0===b?lj:b;var c=this,d,e,f,g,h,k,l,m,u,x,E;return D(function(w){switch(w.h){case 1:d=Object.assign({},lj,b);if(e=c.Ca.get(d.target))return C(w,sj(e,a,d),16);f=tj(c,a,d);if(f.length){w.A(3);break}g=[].concat(ha(a.matchAll(mj)),ha(a.matchAll(nj)),ha(a.matchAll(oj)));ua(w,5,6);m=Ha(uj(c,a,g));case 8:return C(w,m.next(),11);case 11:k=w.i;if(k.done){w.A(6);break}u=k.value;f=tj(c,u,d);if(f.length){w.A(6);break}w.A(8);break;case 6:xa(w);va(w,12);if(!k||k.done||
!(l=m.return)){w.A(12);break}return C(w,l.call(m),12);case 12:xa(w,0,0,1);if(h)throw h.error;za(w,13,1);break;case 13:za(w,3);break;case 5:x=wa(w);h={error:x};w.A(6);break;case 16:f=w.i;case 3:f=f.filter(function(n){return 0<mc(gg(n.ka))});if(!(0<f.length)){w.A(17);break}vj(c,f,d.bb);e?e.focusElement(f[0].id):(E=f[0].ma,lg(E));return C(w,wj(c),17);case 17:return w.return(f.length)}})};
pj.prototype.clearSpotlights=function(){var a=this.i.h;if(!a.hidden){a.h.removeAttribute("visibility");Ch(a.h,zh);Dh(a);var b=a.i.querySelector("#walkthrough-spotlight-shading");b&&b.remove();a.hidden=!0}this.o.h.remove();a=z(this.h.values());for(b=a.next();!b.done;b=a.next()){b=z(b.value);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value.ma)||d.removeEventListener("click",this.m)}}this.h.clear()};
function vj(a,b,c){c&&(b=b.slice(0,1));b=z(b);for(c=b.next();!c.done;c=b.next()){c=c.value;a.h.has(c.id)||a.h.set(c.id,[]);a.h.get(c.id).push(c);var d=void 0;null==(d=c.ma)||d.addEventListener("click",a.m)}}
function sj(a,b,c){var d,e,f,g;return D(function(h){if(1==h.h){if(!a)return h.return([]);d=b.split(",");if(null==(f=c.internalBounds)?0:f.length)return e=c.internalBounds.map(function(k){return[new fg(k[0],k[1],k[2],k[3])]}),h.A(2);g=d.map(function(k){return a.boundsForElement(k).catch(function(){return[]})});return C(h,Promise.all(g),3)}2!=h.h&&(e=h.i);return h.return(e.flatMap(function(k,l){return k.map(function(m){var u=a.boundingBox;return{id:d[l],target:a,ka:new fg(m.left+u.left,m.top+u.top,
m.width,m.height),options:c}})}))})}function tj(a,b,c){if(b.startsWith("locator:"))return xj(a,b.slice(8)).map(function(d){return{id:b,ma:d,ka:kg(d),options:c}});b=b.startsWith("css:")?b.slice(4):b.split(",").map(yj).join(",");return zj(a,b).map(function(d){return{id:b,ma:d,ka:kg(d),options:c}})}
function wj(a){var b,c;return D(function(d){if(1==d.h){a.l.i.isConnected||document.body.append(a.l.i);if(!a.h.size)return d.return();document.body.appendChild(a.o.h);return C(d,Aj(a),2)}b=d.i;for(var e=a.i,f=z(e.h.B),g=f.next();!g.done;g=f.next())g.value.remove();f=z(b);for(var h=f.next();!h.done;h=f.next()){g=e.h;var k=h.value;h=wh("g");var l={animation:"zoom .25s linear forwards, pulse 1s ease-in .25s infinite","transform-box":"fill-box","transform-origin":"center"};if(k.Ha){var m=wh("circle");
var u=k.y||0,x=k.width||0,E=k.height||0;m.setAttribute("cx",""+((k.x||0)+x/2));m.setAttribute("cy",""+(u+E/2));m.setAttribute("r",""+Math.max(Math.sqrt(x*x+E*E)/2,25));l.transform="scale(2)"}else m=vh("rect",k.x,k.y,k.width,k.height),l.transform="scale(1.5)";u=Zb({stroke:"none",fill:"#000"});m.style.cssText=Yb(u);m.id="walkthrough-spotlight-"+k.id;h.appendChild(m);m=Zb(l);h.style.cssText=Yb(m);g.B.push(h);g.o.appendChild(h)}c=Bj(b);e=a.i;var w;f=(null==(w=a.window.location)?void 0:w.href.replace(a.window.location.hash,
""))||"";e.h.u=f;w=e.h;w.hidden&&(w.h.setAttribute("visibility","visible"),Ch(w.h,yh),f=w.h.querySelector("#walkthrough-spotlight-shading"),f||(f=w.u,g=vh("rect",0,0,"100%","100%","walkthrough-spotlight-shading"),g.setAttribute("mask","url('"+f+"#walkthrough-spotlight-mask')"),w.h.appendChild(g),f=g),Ch(f,{fill:"rgba(0, 0, 0, 0.5)"}),f.addEventListener("click",w.l),document.addEventListener("keydown",w.m,!0),w.hidden=!1);Dh(e.h);w=e.h;e=wh("g");e.id="walkthrough-spotlight-covers";Ch(e,{"pointer-events":"all"});
document.addEventListener("click",w.l);document.addEventListener("keydown",w.m,!0);f=z(c);for(m=f.next();!m.done;m=f.next())g=e,h=g.appendChild,m=m.value,k=wh("g"),l=vh("rect",m.x?m.x:0,m.y?m.y:0,m.width?m.width:0,m.height?m.height:0),Ch(l,{"pointer-events":m.active?"none":"all",stroke:"none",fill:"transparent"}),k.appendChild(l),h.call(g,k);w.h.appendChild(e);d.h=0})}function Aj(a){return Promise.all(Array.from(a.h.values()).flatMap(function(b){return b.map(function(c){return Cj(a,c)})}))}
function Cj(a,b){var c,d;return D(function(e){if(1==e.h)return C(e,Dj(b),2);c=e.i;d=b.options.padding||0;return e.return({id:b.id,Ha:a.Ha(b),x:c.left-d,y:c.top-d,width:c.width+2*d,height:c.height+2*d,Y:{left:c.left,right:c.left+c.width,top:c.top,bottom:c.top+c.height}})})}function Dj(a){return D(function(b){return a.target?b.return(a.ka):b.return(kg(a.ma))})}
pj.prototype.Ha=function(a){var b=a.ka;return"circle"===a.options.shape||"auto"===a.options.shape&&1E4>b.width*b.height&&.25<=b.height/b.width&&.25<=b.width/b.height};
function Bj(a){function b(k,l){return k-l}if(0===a.length)return[];var c=[0,999999],d=[0,999999];a.forEach(function(k){c.push(k.Y.left,k.Y.right);d.push(k.Y.top,k.Y.bottom)});c.sort(b);d.sort(b);for(var e=[],f={L:0};f.L<c.length-1;f={L:f.L},f.L++)for(var g={M:0};g.M<d.length-1;g={M:g.M},g.M++){var h=a.some(function(k,l){return function(m){return m.Y.top<=d[k.M]&&d[k.M+1]<=m.Y.bottom&&m.Y.left<=c[l.L]&&c[l.L+1]<=m.Y.right}}(g,f));e.push({id:f.L+":"+g.M,x:c[f.L],y:d[g.M],width:c[f.L+1]-c[f.L],height:d[g.M+
1]-d[g.M],active:h})}return e}
function xj(a,b){b=b.split(/(?:^|,\s*)((?:text|css|spotlight|semantic)\()/);for(var c=[],d=1;d<b.length;d+=2)c.push(b[d]+b[d+1]);b={};c=z(c);for(d=c.next();!d.done;b={O:b.O},d=c.next()){d=d.value;b.O=void 0;d=z(d.split("."));for(var e=d.next();!e.done;e=d.next()){e=Ej(a,e.value);if(!e.length)break;b.O?b.O.length&&(b.O=e.filter(function(f){return function(g){return f.O.some(function(h){return h.contains(g)})}}(b))):b.O=e}d=void 0;if(null==(d=b.O)?0:d.length)return b.O}return[]}
function Ej(a,b){var c=[];if(b=b.match(/([a-z]+)\((.*?)\)/))switch(b[1]){case "css":c=zj(a,b[2]);break;case "spotlight":c=zj(a,yj(b[2]));break;case "semantic":c=fj(b[2]);break;case "text":a=b[2].replaceAll('"',"").replaceAll("'",""),c=Fj(a)}return c.filter(function(d){return 0<mc(gg(kg(d)))})}
function Fj(a){for(var b=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null),c=[],d=b.nextNode();d;){var e=d.parentElement;d=b.nextNode();var f=void 0,g=void 0;(null==(f=e)?void 0:null==(g=f.innerText)?void 0:g.trim().toLowerCase())===a.toLowerCase()&&((f=e.closest('button,a,input,div[role="tab"]'))?c.push(f):e.closest("mat-checkbox")&&c.push(e))}return c}
function zj(a,b){var c=b.split(";");b=c.pop()||b;c=(c=c.reduce(function(d,e){var f;return null==d?void 0:null==(f=d.querySelector(e))?void 0:f.shadowRoot},a.window.document))||a.window.document;a=c.querySelectorAll(b);a.length||(b.includes("devshell-activate-button")?a=c.querySelectorAll("[id=pcc-utilities-menu-trigger]"):b.includes("[data-column-id=")&&(a=c.querySelectorAll(".cfctest-table-modifiers-column-chooser")));return Array.from(a)}
function qj(){var a=document.createElement("style");a.setAttribute("type","text/css");a.id="spotlight-zoom-animation";a.appendChild(document.createTextNode("@keyframes zoom {\n to { transform:scale(1); }\n }\n @keyframes pulse {\n 0% { transform:scale(1); }\n 25% { transform:scale(1.1); }\n 100% { transform:scale(1); }\n }"));
return a}
function uj(a,b,c){return new Pa(function e(){var f,g,h,k,l,m,u,x,E,w,n,Za,ya,pc,Ya,sc,tc;return Fa(e,function(H){switch(H.h){case 1:if(c.length){H.A(2);break}f=Ja;g=0;return C(H,new Ja(0,b),3);case 3:return H.return(new f(g,H.i));case 2:return h=z(Array.from(c[0])),k=h.next().value,h.next(),l=h.next().value,m=k,u=l,C(H,new Ja(2,rj(a)),4);case 4:x=H.i,E=z(x.get(u)||[u]),w=E.next();case 5:if(w.done){H.A(0);break}n=w.value;ua(H,8,9);Ya=Ha(uj(a,b,c.slice(1)));case 11:return C(H,new Ja(2,Ya.next()),14);
case 14:ya=H.i;if(ya.done){H.A(9);break}sc=ya.value;return C(H,new Ja(0,sc.replaceAll(m,m.replace(u,n))),11);case 9:xa(H);va(H,16);if(!ya||ya.done||!(pc=Ya.return)){H.A(16);break}return C(H,new Ja(2,pc.call(Ya)),16);case 16:xa(H,0,0,1);if(Za)throw Za.error;za(H,17,1);break;case 17:za(H,6);break;case 8:tc=wa(H);Za={error:tc};H.A(9);break;case 6:w=E.next(),H.A(5)}})}())}function yj(a){return"[instrumentation-id="+a+"],[instrumentationid="+a+"],[spotlightid="+a+"]"};function Gj(a,b){this.j=a;this.key=b;this.i=[]}Gj.prototype.next=function(a){Hj(this,a);Ij(this,a)};Gj.prototype.subscribe=function(a){var b=this;null!=this.h&&a(this.h);this.i.push(a);return{unsubscribe:function(){b.i.splice(b.i.indexOf(a),1)}}};Gj.prototype.sync=function(){null!=this.h&&Hj(this,this.h)};function Ij(a,b){a.h=b;a=z(a.i);for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)}function Hj(a,b){a.j.isOpen&&"string"===typeof b&&$g.send(a.j,{key:a.key,value:b})};function Jj(a){this.i=this.u=this.l="";this.B=null;this.o=this.h="";this.m=!1;var b;a instanceof Jj?(this.m=a.m,Kj(this,a.l),this.u=a.u,this.i=a.i,Lj(this,a.B),this.h=a.h,Mj(this,Nj(a.j)),this.o=a.o):a&&(b=String(a).match(uf))?(this.m=!1,Kj(this,b[1]||"",!0),this.u=Oj(b[2]||""),this.i=Oj(b[3]||"",!0),Lj(this,b[4]),this.h=Oj(b[5]||"",!0),Mj(this,b[6]||"",!0),this.o=Oj(b[7]||"")):(this.m=!1,this.j=new Pj(null,this.m))}
Jj.prototype.toString=function(){var a=[],b=this.l;b&&a.push(Qj(b,Rj,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.u)&&a.push(Qj(b,Rj,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.h)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(Qj(c,"/"==c.charAt(0)?Sj:Tj,!0));(c=this.j.toString())&&a.push("?",c);(c=this.o)&&a.push("#",Qj(c,Uj));return a.join("")};
Jj.prototype.resolve=function(a){var b=new Jj(this),c=!!a.l;c?Kj(b,a.l):c=!!a.u;c?b.u=a.u:c=!!a.i;c?b.i=a.i:c=null!=a.B;var d=a.h;if(c)Lj(b,a.B);else if(c=!!a.h){if("/"!=d.charAt(0))if(this.i&&!this.h)d="/"+d;else{var e=b.h.lastIndexOf("/");-1!=e&&(d=b.h.slice(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?b.h=d:c=""!==a.j.toString();c?Mj(b,Nj(a.j)):c=!!a.o;c&&(b.o=a.o);return b};function Kj(a,b,c){a.l=c?Oj(b,!0):b;a.l&&(a.l=a.l.replace(/:$/,""))}function Lj(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null}function Mj(a,b,c){b instanceof Pj?(a.j=b,Vj(a.j,a.m)):(c||(b=Qj(b,Wj)),a.j=new Pj(b,a.m))}function X(a,b,c){a.j.set(b,c)}function Y(a,b){return a.j.get(b)}
function Oj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Qj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Xj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Xj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Rj=/[#\/\?@]/g,Tj=/[#\?:]/g,Sj=/[#\?]/g,Wj=/[#\?@]/g,Uj=/#/g;function Pj(a,b){this.i=this.h=null;this.j=a||null;this.l=!!b}
function Yj(a){a.h||(a.h=new Map,a.i=0,a.j&&vf(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}t=Pj.prototype;t.add=function(a,b){Yj(this);this.j=null;a=Zj(this,a);var c=this.h.get(a);c||this.h.set(a,c=[]);c.push(b);this.i+=1;return this};t.remove=function(a){Yj(this);a=Zj(this,a);return this.h.has(a)?(this.j=null,this.i-=this.h.get(a).length,this.h.delete(a)):!1};function ak(a,b){Yj(a);b=Zj(a,b);return a.h.has(b)}
t.forEach=function(a,b){Yj(this);this.h.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};function bk(a,b){Yj(a);var c=[];if("string"===typeof b)ak(a,b)&&(c=c.concat(a.h.get(Zj(a,b))));else for(a=Array.from(a.h.values()),b=0;b<a.length;b++)c=c.concat(a[b]);return c}t.set=function(a,b){Yj(this);this.j=null;a=Zj(this,a);ak(this,a)&&(this.i-=this.h.get(a).length);this.h.set(a,[b]);this.i+=1;return this};
t.get=function(a,b){if(!a)return b;a=bk(this,a);return 0<a.length?String(a[0]):b};t.toString=function(){if(this.j)return this.j;if(!this.h)return"";for(var a=[],b=Array.from(this.h.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=bk(this,d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.j=a.join("&")};function Nj(a){var b=new Pj;b.j=a.j;a.h&&(b.h=new Map(a.h),b.i=a.i);return b}
function Zj(a,b){b=String(b);a.l&&(b=b.toLowerCase());return b}function Vj(a,b){b&&!a.l&&(Yj(a),a.j=null,a.h.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),0<c.length)){this.j=null;d=this.h;var f=d.set;e=Zj(this,e);var g=c.length;if(0<g){for(var h=Array(g),k=0;k<g;k++)h[k]=c[k];g=h}else g=[];f.call(d,e,g);this.i+=c.length}},a));a.l=b};function ck(a){if(null!=a.ca){var b={},c;for(c in a.ca)void 0!==a.ca[c]&&(b[c]=a.ca[c]);a.ca=b}};function dk(){};function ek(a,b){if(null==a)return null;a=a.h(b);return null==a?null:a};function fk(a,b){this.i=a;this.h=void 0===b?null:b}A(fk,dk);function gk(a,b,c){var d=ek(a.h,b);if(null==d)return c;d.Bb();return c.then(function(e){d.Db(e);return e},function(e){d.Cb(e);throw e;})};var hk={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",callback:"callback",clNumber:"clNumber",fields:"fields",key:"key",oauth_token:"oauth_token",prettyPrint:"prettyPrint",quotaUser:"quotaUser",tutorialId:"tutorialId",uploadType:"uploadType",upload_protocol:"upload_protocol"};
function jk(){this.h=new fk(new kk("https://neoswalkthroughpreview.corp.googleapis.com","",{"client/xd3":!0,"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0,"googleapis.config/auth/useUberProxyAuth":!0}),null)};function lk(){};/*
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
Copyright The Closure Library Authors.
SPDX-License-Identifier: MIT
*/
function mk(a,b){this.m=[];this.U=a;this.R=b||null;this.l=this.j=!1;this.i=void 0;this.H=this.da=this.u=!1;this.o=0;this.h=null;this.B=0}fb(mk,lk);mk.prototype.cancel=function(a){if(this.j)this.i instanceof mk&&this.i.cancel();else{if(this.h){var b=this.h;delete this.h;a?b.cancel(a):(b.B--,0>=b.B&&b.cancel())}this.U?this.U.call(this.R,this):this.H=!0;this.j||(a=new nk(this),ok(this),pk(this,!1,a))}};mk.prototype.P=function(a,b){this.u=!1;pk(this,a,b)};
function pk(a,b,c){a.j=!0;a.i=c;a.l=!b;qk(a)}function ok(a){if(a.j){if(!a.H)throw new rk(a);a.H=!1}}mk.prototype.callback=function(a){ok(this);pk(this,!0,a)};function sk(a,b,c,d){a.m.push([b,c,d]);a.j&&qk(a)}mk.prototype.then=function(a,b,c){var d,e,f=new od(function(g,h){e=g;d=h});sk(this,e,function(g){g instanceof nk?f.cancel():d(g);return tk},this);return f.then(a,b,c)};mk.prototype.$goog_Thenable=!0;function uk(a){return lb(a.m,function(b){return"function"===typeof b[1]})}var tk={};
function qk(a){if(a.o&&a.j&&uk(a)){var b=a.o,c=vk[b];c&&(J.clearTimeout(c.h),delete vk[b]);a.o=0}a.h&&(a.h.B--,delete a.h);b=a.i;for(var d=c=!1;a.m.length&&!a.u;){var e=a.m.shift(),f=e[0],g=e[1];e=e[2];if(f=a.l?g:f)try{var h=f.call(e||a.R,b);h===tk&&(h=void 0);void 0!==h&&(a.l=a.l&&(h==b||h instanceof Error),a.i=b=h);if(nd(b)||"function"===typeof J.Promise&&b instanceof J.Promise)d=!0,a.u=!0}catch(k){b=k,a.l=!0,uk(a)||(c=!0)}}a.i=b;d&&(h=eb(a.P,a,!0),d=eb(a.P,a,!1),b instanceof mk?(sk(b,h,d),b.da=
!0):b.then(h,d));c&&(b=new wk(b),vk[b.h]=b,a.o=b.h)}function rk(){K.call(this)}fb(rk,K);rk.prototype.message="Deferred has already fired";rk.prototype.name="AlreadyCalledError";function nk(){K.call(this)}fb(nk,K);nk.prototype.message="Deferred was canceled";nk.prototype.name="CanceledError";function wk(a){this.h=J.setTimeout(eb(this.j,this),0);this.i=a}wk.prototype.j=function(){delete vk[this.h];throw this.i;};var vk={};function xk(a,b){var c=b||{};b=c.document||document;var d=Ob(a).toString(),e=vc((new wc(b)).h,"SCRIPT"),f={ab:e,ta:void 0},g=new mk(yk,f),h=null,k=null!=c.timeout?c.timeout:5E3;0<k&&(h=window.setTimeout(function(){zk(e,!0);var l=new Ak(1,"Timeout reached for loading script "+d);ok(g);pk(g,!1,l)},k),f.ta=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(zk(e,c.yb||!1,h),g.callback(null))};e.onerror=function(){zk(e,!0,h);var l=new Ak(0,"Error while loading script "+
d);ok(g);pk(g,!1,l)};f=c.attributes||{};Gb(f,{type:"text/javascript",charset:"UTF-8"});nc(e,f);hc(e,a);Bk(b).appendChild(e);return g}function Bk(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement}function yk(){if(this&&this.ab){var a=this.ab;a&&"SCRIPT"==a.tagName&&zk(a,!0,this.ta)}}
function zk(a,b,c){null!=c&&J.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){a&&a.parentNode&&a.parentNode.removeChild(a)},0)}function Ak(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);K.call(this,c);this.code=a}fb(Ak,K);function Ck(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=Dk?Dk:Dk=Ek(a)}var Dk=null;function Fk(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})}
function Ek(a){a=void 0===a?{}:a;var b;return D(function(c){if(1==c.h)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):C(c,xk(Pb(Lb(new Ib(Jb,"https://apis.google.com/js/api.js"))),a),2);if(3!=c.h){b=window.gapi;if(!b)throw Error("Could not load gapi.client.");return b.client&&b.client.load?c.A(3):C(c,Fk(),3)}return c.return(b)})}var Gk=new WeakMap;
function Hk(a,b){b=void 0===b?0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(Gk.has(a))return Gk.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){Gk.delete(a)});Gk.set(a,b);return b}return Promise.resolve()}function Ik(a,b){var c;return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.zb,hostedDomain:b.Ta,fetchBasicProfile:null!=(c=b.Qa)?c:!0})};function Jk(){}Jk.prototype.send=function(a,b){ck(a);return Kk(this,a).then(function(c){if(b){var d=new b;if(null!=c){if(null==b)throw Error("Cannot deserialize, target constructor was null.");new b;throw Error("Cannot find ClassMetadata.");}c=d}return c})};function kk(a,b,c,d,e){this.m=a;this.l=b;this.i=c||{};this.h=d||{};this.j=e}A(kk,Jk);function Lk(a){return Ck().then(function(b){b=b||window.gapi;Mk(a,b);return Ik(b,{apiKey:a.l,clientId:a.h.clientId,scope:a.h.scope,Ta:a.h.Ta,Qa:a.h.Qa}).then(function(){return b})})}
function Kk(a,b){return Lk(a).then(function(c){return D(function(d){if(1==d.h)return void 0===a.h.ob?d.A(2):C(d,Hk(c,a.h.ob),2);Mk(a,c);return d.return(Nk(c.client.request({root:a.m,path:b.path,method:b.Ga,body:b.body,params:b.ca,headers:b.headers,authType:b.authType,apiId:b.apiId||a.j})))})})}function Nk(a){return new Promise(function(b,c){a.then(function(d){b(!1===d.result&&null!=d.body?{data:d.body}:d.result)},function(d){c(!1===d.result&&null!=d.body?{data:d.body}:d.result)})})}
function Mk(a,b){for(var c in a.i)if(a.i.hasOwnProperty(c)){var d=b,e=a.i[c],f=d.config.get(c);e!==f&&d.config.update(c,e)}}kk.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];function Ok(a,b,c,d,e){var f=this;b=void 0===b?window:b;c=void 0===c?new Map:c;d=void 0===d?new pj(b,c):d;e=void 0===e?Sf:e;this.options=a;this.ga=b;this.Ca=c;this.Ka=d;this.jb=e;this.iframe=new this.jb(this.na);this.N=sh;this.Ba=new Map;this.getSectionTitleHandler=function(){return Promise.resolve("")};this.getSectionIconHandler=function(){return Promise.resolve("")};this.getExperimentHandler=function(){return Promise.resolve(!1)};this.runAutotestHandler=function(){return Promise.resolve("")};U(ah,
this,function(g){var h=g.value;Ij(f.getStringSubject(g.key),h)});U(Cg,this,function(){return Pk(f,"WALKTHROUGH_QUIT")});U(Dg,this,function(g){return f.spotlight(g.id,!1,g.target,g.internalBounds)});U(Eg,this,function(g){return f.spotlight(g.id,!0,g.target,g.internalBounds)});$f(Jg,this,function(g){var h=f.ga;h=void 0===h?window:h;var k=Ie(g,Of);g=Nf(g,h);k&&Mf({productId:P(k,1),locale:P(k,2),authuser:P(k,3),bucket:P(k,4),productVersion:P(k,5)},g);return new Ze});U(Ng,this,function(g){var h=f.ga.location;
var k=void 0===k?Ld:k;a:{k=void 0===k?Ld:k;for(var l=0;l<k.length;++l){var m=k[l];if(m instanceof Jd&&m.lb(g)){g=new M(g,Qb);break a}}g=void 0}g=g||Vb;if(g instanceof M)var u=Rb(g);else{b:if(Hd){try{u=new URL(g)}catch(x){u="https:";break b}u=u.protocol}else c:{u=document.createElement("a");try{u.href=g}catch(x){u=void 0;break c}u=u.protocol;u=":"===u||""===u?"https:":u}u="javascript:"!==u?g:void 0}void 0!==u&&(h.href=u)});$f(Og,this,function(g){void 0!==He(g,zg,!1)&&(g=P(Ie(g,zg),1),Qk(f,{tutorialId:g,
trailheadMode:!1}),Z(f.options.onSubsessionStart,g||""));return new Ze});$f(Pg,this,function(g){(g=Ie(g,zg))?Qk(f,{tutorialId:P(g,1),trailheadMode:Q(g,2)}):f.N=sh;g&&Z(f.options.onSubsessionEnd,P(g,1));return new Ze});$f(Qg,this,function(g){var h={helpPanelOpen:f.isOpen.toString()};Fe(g).forEach(function(k,l){h[l]=k});Z(f.options.onReportEvent,{type:"walkthroughTutorial",name:P(g,1),metadata:h});return new Ze});U(ch,this,function(){Z(f.options.onCreateCloudProject);return!!f.options.onCreateCloudProject});
U(Kg,this,function(){Z(f.options.onSelectCloudProject)});U(eh,this,function(){Z(f.options.onEnableBilling)});U(fh,this,function(g){return f.options.onEnableApis?f.options.onEnableApis(g):!1});$f(gh,this,function(g){Z(f.options.onDesiredApis,Ce(g,1));return new Ze});$f(kh,this,function(g){Z(f.options.onCreateStorageFile,P(g,1),P(g,2));return new Ze});U(lh,this,function(g){Z(f.options.onMenuNavigation,g)});U(mh,this,function(){Z(f.options.onUpgradeFreeTrial)});U(Rg,this,function(g){return f.getSectionTitleHandler(g)});
U(Zg,this,function(g){return f.getSectionIconHandler(g)});U(oh,this,function(g){return f.getExperimentHandler(g)});$f(ph,this,function(g){return D(function(h){return 1==h.h?C(h,f.runAutotestHandler(P(g,1),Ce(g,2)),2):h.return(new Ze)})});U(Yg,this,function(g){var h;return(null==(h=f.options)?0:h.walkthroughCl)?Rk(f.options.walkthroughCl,g):""});a.parseQueryParams&&this.processUrlParams();this.Ca.set("walkthrough_frame",this);this.getStringSubscribable("preload-translations").subscribe(function(){rj(f.Ka)})}
t=Ok.prototype;t.focusElement=function(){};
t.launch=function(a,b){b=void 0===b?!1:b;var c=this,d,e,f;return D(function(g){switch(g.h){case 1:return d=Object.assign({},sh,a),b||(c.isOpen?!d.trailheadMode||c.getWalkthroughSession().trailheadMode:1)?C(g,c.confirmChange(d),2):g.return();case 2:e=g.i;if(!e)return g.return();var h=c.N;h=d.tutorialId===h.tutorialId&&d.tutorialUrl===h.tutorialUrl&&d.tutorialName===h.tutorialName&&d.tutorialContent===h.tutorialContent&&d.layoutId===h.layoutId&&d.authorMode===h.authorMode&&d.oics===h.oics&&d.trailheadMode===
h.trailheadMode;f=!(!c.isOpen&&h);if(!c.isOpen){g.A(3);break}return C(g,c.close(),4);case 4:c.N=sh;case 3:if(d.trailheadMode&&!d.shouldOpenPanel)return Qk(c,d),Z(c.options.onReportEvent,{type:"walkthroughTutorial",name:"tutorialStart",metadata:{helpPanelOpen:"false",authorMode:d.authorMode.toString(),tutorialId:d.layoutId?d.layoutId:d.tutorialId}}),g.return();if(d.layoutId)return C(g,Sk(c,d.layoutId),6);if(d.tutorialId)return C(g,Tk(c,d.tutorialId,d.trailheadMode),6);if(!d.tutorialContent){g.A(6);
break}return C(g,Uk(c,d.tutorialContent),6);case 6:f&&(bh.send(c,"tutorialStart"),Qk(c,d)),g.h=0}})};t.confirmChange=function(){var a=this,b;return D(function(c){switch(c.h){case 1:b=!0;if(!a.isOpen||a.getWalkthroughSession().trailheadMode||!a.options.confirmChange){c.A(2);break}ua(c,3);return C(c,a.options.confirmChange(),5);case 5:b=c.i;c.h=2;c.l=0;break;case 3:return wa(c),c.return(!1);case 2:return c.return(b)}})};
t.open=function(a,b){var c=this;return D(function(d){if(1==d.h)return c.N=sh,a&&Qk(c,{tutorialId:a,tutorialUrl:"",tutorialName:a,tutorialContent:"",trailheadMode:!!b}),C(d,Tk(c,a,b),2);d.i&&bh.send(c,"tutorialStart");d.h=0})};
function Tk(a,b,c){var d;return D(function(e){switch(e.h){case 1:if(!a.options.walkthroughCl){e.A(2);break}ua(e,3);return C(e,Rk(a.options.walkthroughCl,b||a.options.id),5);case 5:return d=e.i,C(e,Uk(a,d,"unsubmitted_content",!0),6);case 6:return e.return(!!d);case 3:wa(e);case 2:return e.return(Vk(a,b,c))}})}
function Rk(a,b){var c,d,e,f;return D(function(g){if(1==g.h){c={clNumber:a,tutorialId:b};d=new jk;var h=c;h=void 0===h?{}:h;var k=void 0===k?{}:k;var l=d.h;k=void 0===k?{}:k;for(var m=z(Object.entries(hk)),u=m.next();!u.done;u=m.next()){var x=z(u.value);u=x.next().value;x=x.next().value;u in h&&(k[x]=h[u])}h={body:null,Ga:"GET",Ya:"corp_neoswalkthroughpreview.preview.fetchTutorial",path:"/v1/preview:fetchTutorial",ca:k};l=gk(l,h,l.i.send({path:h.path,Ga:h.Ga,Ya:h.Ya,body:h.body,ca:h.ca,cb:h.cb&&h.cb},
h.fa||void 0));return C(g,l,2)}e=g.i;l=g.return;h=Td((null==(f=e)?void 0:f.result)||"");k=[];for(u=m=0;m<h.length;)if(x=h[m++],128>x)k[u++]=String.fromCharCode(x);else if(191<x&&224>x){var E=h[m++];k[u++]=String.fromCharCode((x&31)<<6|E&63)}else if(239<x&&365>x){E=h[m++];var w=h[m++],n=h[m++];x=((x&7)<<18|(E&63)<<12|(w&63)<<6|n&63)-65536;k[u++]=String.fromCharCode(55296+(x>>10));k[u++]=String.fromCharCode(56320+(x&1023))}else E=h[m++],w=h[m++],k[u++]=String.fromCharCode((x&15)<<12|(E&63)<<6|w&63);
return l.call(g,k.join(""))})}function Vk(a,b,c){return D(function(d){switch(d.h){case 1:return b&&(Wk(a),a.options.id=b.replaceAll("__","--"),a.options.learnPanel=c,Tf(a.iframe,a.na)),ua(d,2),C(d,a.iframe.open(),4);case 4:d.h=3;d.l=0;break;case 2:return wa(d),d.return(!1);case 3:return Xk(a),Z(a.options.onOpen,a.getWalkthroughSession()),d.return(!0)}})}
t.openLayout=function(a){var b=this,c;return D(function(d){if(1==d.h)return b.N=sh,a&&Qk(b,{layoutId:a,tutorialUrl:"",tutorialName:"",tutorialContent:"",trailheadMode:!0}),C(d,Sk(b,a),2);(c=d.i)&&bh.send(b,"tutorialStart");d.h=0})};
function Sk(a,b){return D(function(c){switch(c.h){case 1:return b&&(Wk(a),a.options.layoutId=b,a.options.learnPanel=!0,Tf(a.iframe,a.na)),ua(c,2),C(c,a.iframe.open(),4);case 4:c.h=3;c.l=0;break;case 2:return wa(c),c.return(!1);case 3:return Xk(a),Z(a.options.onOpen,a.getWalkthroughSession()),c.return(!0)}})}t.openContent=function(a){var b=this;return D(function(c){bh.send(b,"tutorialStart");return C(c,Uk(b,a),0)})};
function Uk(a,b,c,d){c=void 0===c?"host_content":c;d=void 0===d?!1:d;var e;return D(function(f){if(1==f.h){var g=new tg;var h=new sg;h=Ge(h,2,b,"");h=Ge(h,1,c,"");le(g);null==h&&(h=void 0);le(g);for(var k,l=k=0;l<ug.length;l++){var m=ug[l];null!=Be(g,m)&&(0!==k&&O(g,k,void 0,!1),k=m)}k&&2!==k&&null!=h&&O(g,k,void 0,!1);g=O(g,2,h);g=R(g,3,!!a.options.authorMode);e=R(g,5,d);if(a.isOpen)return C(f,eg(Gg,a,e),0);a.options.id="";a.options.url="";Tf(a.iframe,a.na);return C(f,Vk(a),4)}return C(f,eg(Gg,a,
e),0)})}t.close=function(){var a=this;return D(function(b){a.getWalkthroughSession().trailheadMode||bh.send(a,"tutorialCancel");return C(b,Pk(a,"HOST_CLOSE"),0)})};t.closeIfInTrailheadMode=function(){var a=this;return D(function(b){return a.N.trailheadMode?C(b,Pk(a,"HOST_CLOSE"),0):b.A(0)})};
function Pk(a,b){return D(function(c){switch(c.h){case 1:return ua(c,2),C(c,a.iframe.close(),4);case 4:c.h=3;c.l=0;break;case 2:return wa(c),c.return();case 3:Z(a.options.onClose,a.getWalkthroughSession(),b),c.h=0}})}
t.setCloudProject=function(a){var b=this,c,d,e,f,g,h,k,l;return D(function(m){c=a;d=c.projectId;e=c.projectName;f=void 0===c.projectNumber?"":c.projectNumber;g=c.billingEnabled;h=void 0===c.missingPermissions?"":c.missingPermissions;k=void 0===c.isFreeTrialUpgradable?!1:c.isFreeTrialUpgradable;l=void 0===c.gaeUrl?"":c.gaeUrl;var u=Lg.send;var x=(new vg).setProjectId(d);x=Ge(x,2,e,"");x=Ge(x,7,f,"");x=R(x,3,g);x=Ge(x,4,h,"");x=R(x,5,k);x=Ge(x,6,l,"");return C(m,u.call(Lg,b,x),0)})};
t.setCloudShellController=function(a){var b=this;cg(Gg.h,a,this);cg(Hg.h,a,this);U(Ig,a,function(){return b.isOpen});this.Ca.set("cloudshell",a)};t.spotlight=function(a,b,c,d){d=void 0===d?[]:d;return this.Ka.spotlight(a,{bb:void 0===b?!1:b,target:void 0===c?"":c,internalBounds:d}).then(function(e){return 0<e}).catch(function(e){console.error(e);return!1})};t.clearSpotlights=function(){this.Ka.clearSpotlights()};
t.setWatcher=function(a,b){var c=Fg.send,d=new Bg;a=Ge(d,1,a,"");b=Ge(a,2,b,"");c.call(Fg,this,b)};
t.processUrlParams=function(){var a=this,b,c,d,e,f,g,h,k,l,m,u,x;return D(function(E){b=new Jj(a.ga.location);if(c=Y(b,"hl"))a.options.language=c;if(d=Y(b,"author_mode"))a.options.authorMode=!!d&&"false"!==d.toLowerCase();if(e=Y(b,"journey_id"))a.options.journeyId=e;if(f=Y(b,"walkthrough_id")||Y(b,"walkthrough_tutorial_id")||Y(b,"tutorial"))a.options.id=f.replaceAll("__","--");if(g=Y(b,"walkthrough_url")||Y(b,"walkthrough_tutorial_url"))a.options.url=g;if(h=Y(b,"walkthrough_layout"))a.options.layoutId=
h;if(k=Y(b,"autoresume"))a.options.autoresume=!!k&&"false"!==k.toLocaleLowerCase();if(l=Y(b,"learn_panel"))a.options.learnPanel=!!l&&"false"!==l.toLowerCase();m=Number(Y(b,"start_index"));isNaN(m)||(a.options.startIndex=m);if(u=Y(b,"walkthrough_cl"))a.options.walkthroughCl=u;if(x=Y(b,"use_staging"))a.options.useStaging=!!x&&"false"!==x.toLowerCase();Tf(a.iframe,a.na);return f||g||h||u||e?C(E,a.open(),0):E.A(0)})};
function Wk(a){delete a.options.id;delete a.options.url;delete a.options.layoutId;delete a.options.content;delete a.options.autoresume;delete a.options.startIndex;delete a.options.learnPanel;delete a.options.walkthroughCl}t.startScreenSizeListener=function(){function a(){960>(0<b.ga.innerWidth?b.ga.innerWidth:b.ga.screen.width)?dh.send(b,!0):dh.send(b,!1)}var b=this;this.ga.addEventListener("resize",a);a()};t.setFreeTrialStatus=function(a){Mg.send(this,a)};
t.setTutorialFlags=function(a){eg(Hg,this,new xg(a))};t.setDesiredApisResult=function(a){hh.send(this,new rg(a))};t.setTheme=function(a){ih.send(this,a)};t.setContentDir=function(a){jh.send(this,a)};t.focusContainer=function(){nh.send(this)};t.getStringSubject=function(a){this.Ba.has(a)||this.Ba.set(a,new Gj(this,a));return this.Ba.get(a)};t.getStringSubscribable=function(a){return this.getStringSubject(a)};t.registerOnSelectCloudProject=function(a){this.options.onSelectCloudProject=a};
t.registerOnCreateCloudProject=function(a){this.options.onCreateCloudProject=a};t.registerOnEnableBilling=function(a){this.options.onEnableBilling=a};t.registerOnEnableApis=function(a){this.options.onEnableApis=a;a=[];this.options.onEnableApis&&a.push("onEnableApis");this.getStringSubject("capabilities").next(a.join(","))};t.registerOnDesiredApis=function(a){this.options.onDesiredApis=a};t.registerOnCreateStorageFile=function(a){this.options.onCreateStorageFile=a};
t.registerOnMenuNavigation=function(a){this.options.onMenuNavigation=a};t.registerOnUpgradeFreeTrial=function(a){this.options.onUpgradeFreeTrial=a};function Qk(a,b){a.N=Object.assign({},a.N,b)}t.getWalkthroughSession=function(){return this.N};function Xk(a){a=z(a.Ba.values());for(var b=a.next();!b.done;b=a.next())b.value.sync()}
da.Object.defineProperties(Ok.prototype,{boundingBox:{configurable:!0,enumerable:!0,get:function(){return kg(this.options.element)}},isOpen:{configurable:!0,enumerable:!0,get:function(){return this.iframe.isOpen}},na:{configurable:!0,enumerable:!0,get:function(){var a=this.options,b=this.N,c=new Jj("https://walkthroughs.googleusercontent.com/tutorial/iframe-angular.html");a.journeyId&&X(c,"journey_id",a.journeyId);a.id?X(c,"walkthrough_id",a.id):a.url&&X(c,"walkthrough_url",a.url);a.layoutId&&(c.h=
c.h+"/home/"+a.layoutId);a.language&&X(c,"hl",a.language);a.authorMode&&X(c,"author_mode",a.authorMode);a.autoresume&&X(c,"autoresume",a.autoresume);a.learnPanel&&X(c,"learn_panel",a.learnPanel);a.startIndex&&X(c,"start_index",a.startIndex);a.enable3p&&X(c,"enable3p",a.enable3p);a.enableFeedback&&X(c,"enable_feedback",a.enableFeedback);a.hostContentDirectory&&X(c,"host_content_directory",a.hostContentDirectory);a.hostMoreTutorialsId&&X(c,"host_more_tutorials_id",a.hostMoreTutorialsId);a.customContextTitle&&
X(c,"custom_context_title",a.customContextTitle);a.customContextFlavor&&X(c,"custom_context_flavor",a.customContextFlavor);a.customContextSvgIcon&&X(c,"custom_context_icon",a.customContextSvgIcon);a.useStaging&&X(c,"use_staging",a.useStaging);if(null==b?0:b.backButtonTarget)switch(b.backButtonTarget.flavor){case "TUTORIAL":X(c,"back_button_target_tutorial_id",b.backButtonTarget.id);break;case "LAYOUT":X(c,"back_button_target_layout_id",b.backButtonTarget.id)}if(a.additionalParams)for(a=z(Object.entries(a.additionalParams)),
b=a.next();!b.done;b=a.next()){var d=z(b.value);b=d.next().value;d=d.next().value;X(c,b,d)}return{url:c.toString(),where:this.options.element,waitForOnload:!1,attributes:{"class":"walkthrough-frame",title:"Walkthrough Panel",sandbox:"allow-scripts allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-forms",style:{height:"100%","z-index":"11",position:"relative",display:"block"}}}}}});function Z(a){var b=Ua.apply(1,arguments);if(a)try{a.apply(null,ha(b))}catch(c){console.error(c)}}
function Yk(a){if(0===rh(a).length)return new Ok(a);throw Error(rh(a).join("\n"));}$a("google.devops.tools.walkthrough.configure",Yk);$a("google.devops.tools.walkthrough.createController",Yk);}).call(this);