var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(c){var g=0;return function(){return g<c.length?{done:!1,value:c[g++]}:{done:!0}}};$jscomp.arrayIterator=function(c){return{next:$jscomp.arrayIteratorImpl(c)}};$jscomp.makeIterator=function(c){var g="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator];return g?g.call(c):$jscomp.arrayIterator(c)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var g=0;g<c.length;++g){var l=c[g];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,g,l){if(c==Array.prototype||c==Object.prototype)return c;c[g]=l.value;return c};$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";
var $jscomp$lookupPolyfilledValue=function(c,g){var l=$jscomp.propertyToPolyfillSymbol[g];if(null==l)return c[g];l=c[l];return void 0!==l?l:c[g]};$jscomp.polyfill=function(c,g,l,k){g&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(c,g,l,k):$jscomp.polyfillUnisolated(c,g,l,k))};
$jscomp.polyfillUnisolated=function(c,g,l,k){l=$jscomp.global;c=c.split(".");for(k=0;k<c.length-1;k++){var f=c[k];if(!(f in l))return;l=l[f]}c=c[c.length-1];k=l[c];g=g(k);g!=k&&null!=g&&$jscomp.defineProperty(l,c,{configurable:!0,writable:!0,value:g})};
$jscomp.polyfillIsolated=function(c,g,l,k){var f=c.split(".");c=1===f.length;k=f[0];k=!c&&k in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var w=0;w<f.length-1;w++){var b=f[w];if(!(b in k))return;k=k[b]}f=f[f.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?k[f]:null;g=g(l);null!=g&&(c?$jscomp.defineProperty($jscomp.polyfills,f,{configurable:!0,writable:!0,value:g}):g!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[f]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[f]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(f):$jscomp.POLYFILL_PREFIX+l+"$"+f),$jscomp.defineProperty(k,$jscomp.propertyToPolyfillSymbol[f],{configurable:!0,writable:!0,value:g})))};
$jscomp.polyfill("Promise",function(c){function g(){this.batch_=null}function l(b){return b instanceof f?b:new f(function(e,h){e(b)})}if(c&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return c;g.prototype.asyncExecute=function(b){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction(function(){e.executeBatch_()})}this.batch_.push(b)};
var k=$jscomp.global.setTimeout;g.prototype.asyncExecuteFunction=function(b){k(b,0)};g.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var b=this.batch_;this.batch_=[];for(var e=0;e<b.length;++e){var h=b[e];b[e]=null;try{h()}catch(n){this.asyncThrow_(n)}}}this.batch_=null};g.prototype.asyncThrow_=function(b){this.asyncExecuteFunction(function(){throw b;})};var f=function(b){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();
try{b(e.resolve,e.reject)}catch(h){e.reject(h)}};f.prototype.createResolveAndReject_=function(){function b(n){return function(u){h||(h=!0,n.call(e,u))}}var e=this,h=!1;return{resolve:b(this.resolveTo_),reject:b(this.reject_)}};f.prototype.resolveTo_=function(b){if(b===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(b instanceof f)this.settleSameAsPromise_(b);else{a:switch(typeof b){case "object":var e=null!=b;break a;case "function":e=!0;break a;default:e=!1}e?this.resolveToNonPromiseObj_(b):
this.fulfill_(b)}};f.prototype.resolveToNonPromiseObj_=function(b){var e=void 0;try{e=b.then}catch(h){this.reject_(h);return}"function"==typeof e?this.settleSameAsThenable_(e,b):this.fulfill_(b)};f.prototype.reject_=function(b){this.settle_(2,b)};f.prototype.fulfill_=function(b){this.settle_(1,b)};f.prototype.settle_=function(b,e){if(0!=this.state_)throw Error("Cannot settle("+b+", "+e+"): Promise already settled in state"+this.state_);this.state_=b;this.result_=e;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
this.executeOnSettledCallbacks_()};f.prototype.scheduleUnhandledRejectionCheck_=function(){var b=this;k(function(){if(b.notifyUnhandledRejection_()){var e=$jscomp.global.console;"undefined"!==typeof e&&e.error(b.result_)}},1)};f.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var b=$jscomp.global.CustomEvent,e=$jscomp.global.Event,h=$jscomp.global.dispatchEvent;if("undefined"===typeof h)return!0;"function"===typeof b?b=new b("unhandledrejection",{cancelable:!0}):
"function"===typeof e?b=new e("unhandledrejection",{cancelable:!0}):(b=$jscomp.global.document.createEvent("CustomEvent"),b.initCustomEvent("unhandledrejection",!1,!0,b));b.promise=this;b.reason=this.result_;return h(b)};f.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var b=0;b<this.onSettledCallbacks_.length;++b)w.asyncExecute(this.onSettledCallbacks_[b]);this.onSettledCallbacks_=null}};var w=new g;f.prototype.settleSameAsPromise_=function(b){var e=this.createResolveAndReject_();
b.callWhenSettled_(e.resolve,e.reject)};f.prototype.settleSameAsThenable_=function(b,e){var h=this.createResolveAndReject_();try{b.call(e,h.resolve,h.reject)}catch(n){h.reject(n)}};f.prototype.then=function(b,e){function h(r,t){return"function"==typeof r?function(y){try{n(r(y))}catch(z){u(z)}}:t}var n,u,v=new f(function(r,t){n=r;u=t});this.callWhenSettled_(h(b,n),h(e,u));return v};f.prototype.catch=function(b){return this.then(void 0,b)};f.prototype.callWhenSettled_=function(b,e){function h(){switch(n.state_){case 1:b(n.result_);
break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_);}}var n=this;null==this.onSettledCallbacks_?w.asyncExecute(h):this.onSettledCallbacks_.push(h);this.isRejectionHandled_=!0};f.resolve=l;f.reject=function(b){return new f(function(e,h){h(b)})};f.race=function(b){return new f(function(e,h){for(var n=$jscomp.makeIterator(b),u=n.next();!u.done;u=n.next())l(u.value).callWhenSettled_(e,h)})};f.all=function(b){var e=$jscomp.makeIterator(b),h=e.next();return h.done?l([]):new f(function(n,
u){function v(y){return function(z){r[y]=z;t--;0==t&&n(r)}}var r=[],t=0;do r.push(void 0),t++,l(h.value).callWhenSettled_(v(r.length-1),u),h=e.next();while(!h.done)})};return f},"es6","es3");
(function(c){function g(a){"string"!==typeof a&&(a=String(a));if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function l(a){"string"!==typeof a&&(a=String(a));return a}function k(a){this.map={};a instanceof k?a.forEach(function(d,m){this.append(m,d)},this):a&&Object.getOwnPropertyNames(a).forEach(function(d){this.append(d,a[d])},this)}function f(a){if(a.bodyUsed)return Promise.reject(new TypeError("Already read"));a.bodyUsed=
!0}function w(a){return new Promise(function(d,m){a.onload=function(){d(a.result)};a.onerror=function(){m(a.error)}})}function b(a){var d=new FileReader;d.readAsArrayBuffer(a);return w(d)}function e(){this.bodyUsed=!1;this._initBody=function(a){this._bodyInit=a;if("string"===typeof a)this._bodyText=a;else if(t.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(t.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(!a)this._bodyText="";else if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(a))throw Error("unsupported BodyInit type");
this.headers.get("content-type")||("string"===typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))};t.blob?(this.blob=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(b)},
this.text=function(){var a=f(this);if(a)return a;if(this._bodyBlob){a=this._bodyBlob;var d=new FileReader;d.readAsText(a);return w(d)}if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var a=f(this);return a?a:Promise.resolve(this._bodyText)};t.formData&&(this.formData=function(){return this.text().then(n)});this.json=function(){return this.text().then(JSON.parse)};return this}function h(a,d){d=d||{};var m=d.body;
if(h.prototype.isPrototypeOf(a)){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url;this.credentials=a.credentials;d.headers||(this.headers=new k(a.headers));this.method=a.method;this.mode=a.mode;m||(m=a._bodyInit,a.bodyUsed=!0)}else this.url=a;this.credentials=d.credentials||this.credentials||"omit";if(d.headers||!this.headers)this.headers=new k(d.headers);a=d.method||this.method||"GET";var q=a.toUpperCase();this.method=-1<y.indexOf(q)?q:a;this.mode=d.mode||this.mode||null;this.referrer=
null;if(("GET"===this.method||"HEAD"===this.method)&&m)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(m)}function n(a){var d=new FormData;a.trim().split("&").forEach(function(m){if(m){var q=m.split("=");m=q.shift().replace(/\+/g," ");q=q.join("=").replace(/\+/g," ");d.append(decodeURIComponent(m),decodeURIComponent(q))}});return d}function u(a){var d=new k;(a.getAllResponseHeaders()||"").trim().split("\n").forEach(function(m){var q=m.trim().split(":");m=q.shift().trim();
q=q.join(":").trim();d.append(m,q)});return d}function v(a,d){d||(d={});this.type="default";this.status=d.status;this.ok=200<=this.status&&300>this.status;this.statusText=d.statusText;this.headers=d.headers instanceof k?d.headers:new k(d.headers);this.url=d.url||"";this._initBody(a)}if(!c.fetch){k.prototype.append=function(a,d){a=g(a);d=l(d);var m=this.map[a];m||(m=[],this.map[a]=m);m.push(d)};k.prototype["delete"]=function(a){delete this.map[g(a)]};k.prototype.get=function(a){return(a=this.map[g(a)])?
a[0]:null};k.prototype.getAll=function(a){return this.map[g(a)]||[]};k.prototype.has=function(a){return this.map.hasOwnProperty(g(a))};k.prototype.set=function(a,d){this.map[g(a)]=[l(d)]};k.prototype.forEach=function(a,d){Object.getOwnPropertyNames(this.map).forEach(function(m){this.map[m].forEach(function(q){a.call(d,q,m,this)},this)},this)};var r;if(r="FileReader"in c&&"Blob"in c)try{new Blob,r=!0}catch(a){r=!1}var t={blob:r,formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c},y="DELETE GET HEAD OPTIONS POST PUT".split(" ");
h.prototype.clone=function(){return new h(this)};e.call(h.prototype);e.call(v.prototype);v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new k(this.headers),url:this.url})};v.error=function(){var a=new v(null,{status:0,statusText:""});a.type="error";return a};var z=[301,302,303,307,308];v.redirect=function(a,d){if(-1===z.indexOf(d))throw new RangeError("Invalid status code");return new v(null,{status:d,headers:{location:a}})};c.Headers=
k;c.Request=h;c.Response=v;c.fetch=function(a,d){return new Promise(function(m,q){var x=h.prototype.isPrototypeOf(a)&&!d?a:new h(a,d);var p=new XMLHttpRequest;p.onload=function(){var A=1223===p.status?204:p.status;if(100>A||599<A)q(new TypeError("Network request failed"));else{var B=p.statusText,C=u(p);var D="responseURL"in p?p.responseURL:/^X-Request-URL:/m.test(p.getAllResponseHeaders())?p.getResponseHeader("X-Request-URL"):void 0;m(new v("response"in p?p.response:p.responseText,{status:A,statusText:B,
headers:C,url:D}))}};p.onerror=function(){q(new TypeError("Network request failed"))};p.ontimeout=function(){q(new TypeError("Network request failed"))};p.open(x.method,x.url,!0);"include"===x.credentials&&(p.withCredentials=!0);"responseType"in p&&t.blob&&(p.responseType="blob");x.headers.forEach(function(A,B){p.setRequestHeader(B,A)});p.send("undefined"===typeof x._bodyInit?null:x._bodyInit)})};c.fetch.polyfill=!0}})("undefined"!==typeof self?self:this);
